Problem with ActivityGroup app ported to 1.5

by Breno » Wed, 29 Apr 2009 21:02:39 GMT


Sponsored Links
 i,

We have an app almost done, and what is done untill now is
working perfectly. I tried yesterday to use with SDK 1.5 Official, and
after inserted the

<uses-sdk android:minSdkVersion="3"></uses-sdk>

Compiled normally. But, when starts the app, crashes at beginning.
Our app consist in a list of contacts, downloaded from a server.
This contact list have a ImageViewer, an Icon and few text, each
contact. The main Activity is a ActivityGroup, because we use a
TabActivity and a Activity inside. The Activity is just a Combo Box
with a ViewHolder. So, nothing special untill here.
When the app crashes, the output log in logcat is below:

04-29 09:24:36.608: INFO/dalvikvm(1031): Stack overflow, expanding
(0x41048200 to 0x41048000)
04-29 09:24:36.618: INFO/dalvikvm(1031): Shrank stack (to 0x41048200,
curFrame is 0x41049cd8)
04-29 09:24:36.628: DEBUG/AndroidRuntime(1031): Shutting down VM
04-29 09:24:36.641: WARN/dalvikvm(1031): threadid=3: thread exiting
with uncaught exception (group=0x4000fe70)
04-29 09:24:36.648: ERROR/AndroidRuntime(1031): Uncaught handler:
thread main exiting due to uncaught exception
04-29 09:24:36.718: ERROR/AndroidRuntime(1031):
java.lang.StackOverflowError
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.ImageView.onDraw(ImageView.java:842)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.View.draw(View.java:5838)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1486)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.AbsListView.dispatchDraw(AbsListView.java:1319)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.ListView.dispatchDraw(ListView.java:2820)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.View.draw(View.java:5944)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.AbsListView.draw(AbsListView.java:2121)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1486)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.View.draw(View.java:5841)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.FrameLayout.draw(FrameLayout.java:352)
04-29 09:24:36.718: ERROR/AndroidRuntim



Other Threads

1. Froyo FRF72 vs. FRF50

I installed Froyo build FRF72 on my Nexus One yesterday.

Couple of observations:

- SQLite write performance seemed to have increased significantly wrt
FRF50.  It's also possible that the performance of the garbage
collector has increased.  In either case, my app, which is a heavy
database user, benefited greatly.

- The problem with filling it web forms using the on-screen keybaord
is still there.  It seems to involve the word suggestion line.
Frequently, the suggestions won't appear (another bug), but when they
do, the screen jumps around making it very hard to see what you type.
For an example, see the Techcrunch website and try to enter a comment
to any of the articles.  I hope this will be fixed prior to the final
version as this is a very serious problem.

-- 

2. Beautiful widget

Rekans, numpang nanya (lagi)...
Saya install beautiful widgets v2.36, sewaktu di tap aplikasi weather nya,
dia ada minta download file untuk animated nya.
Sudah saya download dan selesai, tiap kali tap aplikasi weather nya, dia
minta download lagi file yang sama dan setelah diulang, terus2an terjadi
lagi (minta download lagi).

Saya pakai Weather & Toggle Widget tidak ada masalah, animated weather nya
jalan lancar.
Gadget saya Samsung Galaxy Spica Eclair 2.1 Non-root.
Apakah rekan2 ada yang mengalami hal yang sama? Mohon pencerahannya.
Terima kasih sebelumnya.

Regards,
William

-- 
"Indonesian Android Community [id-android]" 

3. Guide me to learn about Android

4. Wifi notworking

5. Make hierarchyviewer work with android-x86

6. How to track URL in each landing page in Webview

7. parse local media file to get Mime type