Using Activity.openOptionsMenu()

by Mark Wyszomierski » Mon, 03 Nov 2008 14:29:19 GMT

Sponsored Links

Just wondering how one is supposed to use:


I'm calling it in my Activity, but it has no effect. I was expecting:

    onPrepareOptionsMenu(Menu menu) ;

to be called afterwards, but no luck.


Other Threads

1. Do services run in their own processes

I have a services that registers itself for boot completed event and
when started by the phone creates two new services in a thread using
startService function. My question is wthere the two newly created
services run in the same process as the servivce that created them or
in separate processes. When I run "ps" command on the ADB shell I see
separatre entries for each of the three services.

I am confused because I found this text in the descrption of Service
"Note that a new thread is not created for each Activity,
BroadcastReceiver, Service, or ContentProvider instance: these
application components are instantiated in the desired process (all in
the same process unless otherwise specified), in the main thread of
that process"

Please help me undretsand the concept.


2. Test SMS app with 2 emulaters

I was wondering how to test an app that listens for SMS messages from
another phone.  I know the DDMS can send messages to an emulator but
they are unordered SMSMessages and thus my app can't supress them.  My
thought was to run 2 emulators and have each send an ordered sms
message to the other....but how do you do this?

any thoughts would be great.


3. Sql et android sdk 1.0

4. Waht is adb.exe ?

5. What happened to SMS Inbox/Outbox in Android 1.0?

6. Important ToS Notice for all Map-Applications !!!

7. Funambol Open Source Mobile Sync App