[android-developers] EditTextPreference: Cannot edit text

2009-07-14 Thread Naveen K
Hi, I am writing an app which extends PreferenceActivity. One of the elements of the PreferenceScreen is a EditTextPreference. I have overridden OnPreferenceChange and OnPreferenceTreeClick methods in my class. When I select my EditTextPreference Item, the EditText box pops up. I can do OK and

[android-developers] Re: PhoneFactory.getDefaultPhone from apps other than PhoneApp

2009-07-14 Thread Naveen K
PhoneFactory methods are only for PhoneApp. For any other apps to access services provided by Phone App or RIL, they need to post intents to TelephonyManager. Any functionality not exposed by TelephonyManager through intents are private to the Phone App. On Jul 4, 4:54 am, Thomas Baumgartner

[android-developers] PhoneFactory.getDefaultPhone from apps other than PhoneApp

2009-06-24 Thread Naveen K
Hi, I am trying to call PhoneFactory.getDefaultPhone from a new application so that I can access its invokeOemRilRaw* functions. But it gives me a java.lang.RuntimeException: PhoneFactory.getDefaultPhone must be called from Looper thread error. Is this possible ? Or is this function dedicated