I am almost 90% there but this only force close, while getting ListFeed is making me pull my hair for the last two days now. I am out of ideas. I hope someone can help me. I have setup a project in eclipse ( withy Android 4.2.2 sdk), the following steps have already been done
1. All libs under "C:\adt-bundle\eclipse\gdata\gdata-src.java-1.47.1\gdata\java\lib" have been added to my "\application\lib" folder. Also in IDE they have been included into Build Path. I have added the guava-11.0.2.jar and jsr305.jar dependencies to libs as well. 2. I added mail.jar (1.4.7) and activation.jar (jaf1.1.1) into libs as in steps above. 3. I have added <uses-permission android:name="android.permission.INTERNET"/>,<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/> and <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> permissions. 4. Manifest file is for API 16 & 17 which is pretty latest. 5. Setup a AsyncTask->*doInBackground* to execute all spreadsheet functions. The code compiles and runs fine in emulator up to a point. I see my spreadsheets being listed in debug log, i select this one spreadsheet called "Inventory" and list its WorkSheet title (Sheet1), its number of rows/column. But my code (link below) crashes in emulator (Android 4.2.2/Google API 17 ) when it reaches the following line of code. ListFeed listFeed = service.getFeed(listFeedUrl, ListFeed.class); *Important:* When i take the almost same source and compile it for regular java app for PC everything runs fine on PC. Can anyone give me any pointer to move forward. I am out of ideas. here is rough java file content of *doInBackground* method in AsyncTask Source: https://dl.dropboxusercontent.com/u/9966680/MainActivity.java LogCat: https://dl.dropboxusercontent.com/u/9966680/logcat.txt Thanks all! -- You received this message because you are subscribed to the Google Groups "Google Spreadsheets API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
