cupcake 1.5 r1 surfaceCreated is not called!!!

by Jon Colverson » Wed, 29 Apr 2009 05:41:23 GMT


Sponsored Links
 


surfaceCreated() is getting called for me in the 1.5r1 emulator. Can
you give a bit more detail about what you're doing? Does waitForScreen
() spawn another thread and return?

--
Jon

--~--~---------~--~----~------------~-------~--~----~



cupcake 1.5 r1 surfaceCreated is not called!!!

by ad » Wed, 29 Apr 2009 18:07:15 GMT


 Thanks for quick response,
The problem was somewhere else:
m_sensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);

it hangs,so the next line wasn't called
setContentView(gameView);

Sorry for the not being precise, but I don't know why getSystemService
(SENSOR_SERVICE) causes the problem now? Is it depreciated?
I would like to know how to make it now compatible to all versions.

AA






--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


cupcake 1.5 r1 surfaceCreated is not called!!!

by jeanguy » Thu, 30 Apr 2009 00:27:48 GMT


 I am experiencing the same issue as well.  I am assuming this is the
case because the emulator doesn't have a sensor service.  However my
understanding of the API is that the method call should return null if
the service is not available.

What should we expect to happen on real devices which do not have the
sensor service?  Unlimited wait (unacceptable, really), return null,
or something else?

Thanks...





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Build time endian issue

Hi,
I have a problem building android for a big-endian mips board.
The .got section in my prelinked elf files gets little endian values
in it during build time.
Can someone tell me the order of tools used by the build environment
when building prelinked libs. Also, does anyone know how to set set
these tools to build with the proper endianness?
Thanks in advance,
 Svetozar

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Help nx1 sudah root tapi banyak ndak jalan

Dear suhu2,

Baru coba2 root nx1. Nampaknya ada yang terlewatkan.

Drocap ngga jalan. Superuser cuman layar item. Market enabler ndak jalan.
Wireless tether juga diem aja.

Mohon petuah lebih lanjut. Ini kudu diapain selanjutnya ya...

:(

Any help will deeply apreciated... Thanks in advance

3. Android ported to dare

4. Android Coverflow widget

5. Hello World / Emulator Problem

6. repo sync problem

7. IRC office hours answers posted