Force Close when running AccountManager.get(this).getAccounts()

by PP » Thu, 10 Jun 2010 00:55:52 GMT


Sponsored Links
 Yes you DO need to add
  <uses-permission
        android:name="android.permission.GET_ACCOUNTS" />
in your manifest.
otherwise your application will die with an exception that you can
track in the DDMS perspective of Eclipse

Cheers




--



Other Threads

1. will the device wake up if there is a widget instance on the homepage but the widget provider or receiver is disabled?

Diane,
Perhaps I got my question wrong. But the following url

http://developer.android.com/guide/topics/appwidgets/index.html

indicates that

""Note: If the device is asleep when it is time for an update (as
defined by updatePeriodMillis), then the device will wake up in order
to perform the update. ...."

This is based on 1.5.

Thanks again
Satya






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

2. connect to Google maps API or app to trace routes ...

Hello, 

i'm trying to trace routes thanks to the Google maps API. 
I'm disappointed because i haven't found any informations in docs.

An alternative would be for me to launch the Google maps app embedded in the 
system, with the route.

I succesfully launch the application, but i haven't found how i coul'd specify 
route parameters.

bgrds, 

Philippe 

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

3. Like to look at space?

4. About XML

5. medial calculators and reference

6. 1.6 SDK - OpenGL

7. Adding ability to disable some app's permissions...