How to launch a 'selection dialog' on Android

by Lucius Fox » Tue, 16 Jun 2009 00:23:30 GMT


Sponsored Links
 Hi,

When I click the home screen, android pops up a 'selection dialog' (i
am not sure what is the technical term) to ask me to add 'Widget',
'Shortcut', 'Folder', etc. etc.
Can you please tell me how to pop up those kind of  selection dialog?
Where can I find example for that?

Thank you.

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



How to launch a 'selection dialog' on Android

by MrChaz » Tue, 16 Jun 2009 18:16:37 GMT


 I've used the AlertDialog for doing that kind of thing, you can pass a
String array to the setItems() method for your options.



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


Sponsored Links


Other Threads

1. Android productivity with multi core processor

Hi,

Is it need additional api to work with multi core processor, or
functionality is already embedded into OS?

I know that for Java VM is no matter how many cores there, but what
about dalvik VM?

-- 

2. Location database

Hi,
i have a sql server containing coordinates.
I have to make a sql query giving another coordinate and a radius so
the server gives me the corrdinates inside the giver circunference.

The Android part is done but... how to make that query? how to compute
distance between 2 coordinates in a query. And how to make it fast.

Thanks in advance. regards and sorry for my bad english

-- 

3. Is it possible to monitor the web traffic of each application?

4. Resized Widgets

5. SocketException : The operation timed out

6. create mutable Bitmap directly from file/stream?

7. Java Developer