cyclic "android.process.acore" failure (1.0r2 and 1.1r1)

by sreten » Fri, 06 Mar 2009 05:19:39 GMT


Sponsored Links
 Hi,

I hope this is the correct area. I have been using the SDK for a while
now. For some reason
only projects I create cause the home screen to go into cyclic lockup
as the force close on
android.process.acore just shortly launches another one that fails.

I can delete userdata-qemu.img to get a running emulator back. I've
tried updating / replacing
everything. I can write a very simple project and that is fine. Copy
that and update it with say
more resource files and it then causes the above problem for no
apparent reaason.

It is hard to believe an appplication can inadvertantly cause such a
major problem. I'm a bit
like a headless chicken, I do not know where to start looking for the
cause in my code.


There is a repeated Android runtime error,
Uncaught handler  : thread application loader exiting due to uncaught
exception
java.lang.ClassCast Exception: android .text.Spanned string
           more AndroidRuntime errors
final one at java.lang.Thread.run(Thread.java:935)

/Sreten.





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



Other Threads

1. Providing EXTRA_AUTHORITIES when showing the ACTION_ADD_ACCOUNTS in order to show restricted account types to the user.

The description for EXTRA_AUTHORITIES in android.provider.Settings
says :

"This can be passed as an extra field in an Activity Intent with one
or more syncable content provider's authorities as a String[]. This
field is used by some intents to alter the behavior of the called
activity.

Example: The ACTION_ADD_ACCOUNT intent restricts the account types
available based on the authority given."

I want to show only the Corporate account type (or the activesync) to
the user. I'm unable to find what String constants need to be passed
as EXTRA_AUTHORITIES for this.

Can anyone point me to account type strings ? Or, provide an example
of restrictively launching the add accounts page ?

-- 

2. rawQuery selection args?

I am unable to find an example of how to use the 'selection args' in the
second argument to rawQuery:

public Cursor rawQuery (String sql, String[] selectionArgs)

Can someone explain what they would be for and how to use them?

Thanks,

Tobiah

--

3. Android and JavaScript classes in Reston, VA

4. Encoding/decoding problem

5. Paging ocu

6. Offline maps

7. Gingerbread dexopt (failed on 'Ljava/lang/NoClassDefFoundError;' 'java.lang.NoClassDefFoundError')