I'm developing an Android app but I have a problem. When I try to get a saved preference from my Activity and use it in a BroadcastReceiver , it tells me that string I'm looking for doesn't exist.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label android-preferences. Show all posts
Showing posts with label android-preferences. Show all posts
Wednesday, January 18, 2012
Android - Get preference from activity to broadcast receiver
Tuesday, January 17, 2012
PreferenceActivity has missing icon on Honeycomb
I've created a simple PreferenceActivity containing a ListActivity. (code added at the end for completeness) but it shows up differently on a 2.3 device and on a Galaxy Tab 10.1" (Android 3.2) (see images below).
Subscribe to:
Posts (Atom)