On Sun, Jun 26, 2011 at 1:41 PM, Raghav Sood raghavs...@gmail.com wrote:
It works fine. How can a set of 3 more options change the working of the
app so drastically?
It shouldn't and probably isn't. Where the app is crashing, print out the
string value of the preference you're trying to
Hi all,
I have an app, Quaker, in which the preference activity force closes. On the
emulator the activity opens but when you try to use any of the options it
force closes. On my device the app force closes when you select preferences
from the options menu. The device log is:
First, you don't use startActivityForResult() with a
PreferenceActivity, usually. Use
registerOnSharedPreferenceChangeListener(), or simply reload your
preferences in onResume().
Second, it appears as though one of your android:entryValues is not a
string-array, or you are manually setting one of
This is what you look for ...Cause by ... in your LogCat.
On Sun, Jun 26, 2011 at 1:18 PM, Raghav Sood raghavs...@gmail.com wrote:
Caused by: java.lang.ClassCastException: java.lang.Integer
at
android.app.ContextImpl$SharedPreferencesImpl.getString(ContextImpl.java:2754)
This tells you you
Hi,
Your answers helped fix the problem but the solution is a little weird, at
least according to me.
Apparently the app force closes when arrays.xml is:
?xml version=1.0 encoding=utf-8?
resources
string-array name=update_freq_options
itemEvery Minute/item
item5 minutes/item
5 matches
Mail list logo