Looking for an example of using state with a custom control

by dm1973 » Sat, 14 Mar 2009 15:55:52 GMT

Sponsored Links
 I am writing a custom widget and would like to use   setState and the
like to handle the focus and pressed states. Is there any sample code
explaining how to do this?

Other Threads

1. Using Preferences to Select a value in a spinner

I have an "List Id" from a database stored in my Shared preferences.
I have made a spinner with a SimpleCursorAdaptor that selects all my
Lists from the database and allows you to select them from the

My problem is that I can't figure out how to set the selected item to
be my preferred list from my preferences.  All the methods I can see
seem to use position instead of the _id value from the DB.

Any ideas?

2. simple game development

Hi all,

I am new to development with android. I am a beginner.
I have to develop games using android and opengl es. Please send me a
simple game with step by step approach.

please help me in this

thanks & regards,


3. Verizon attacks iPh one with new 鈥楧roid鈥?campaign

4. How can I detect when outgoing call has been accepted

5. Place an icon in status bar (not notification)

6. android.provider.Settings.System.AUTO_TIME