[android-developers] Unable to open sync connection
The console shows "[2010-10-24 16:37:10 - ChinaSubway] -- [2010-10-24 16:37:10 - ChinaSubway] Android Launch! [2010-10-24 16:37:10 - ChinaSubway] adb is running normally. [2010-10-24 16:37:11 - ChinaSubway] Performing com.com2us.Activity.SubwayMapActivity activity launch [2010-10-24 16:37:11 - ChinaSubway] Automatic Target Mode: using device '04037B8411001012' [2010-10-24 16:37:11 - ChinaSubway] Uploading ChinaSubway.apk onto device '04037B8411001012' [2010-10-24 16:37:11 - ChinaSubway] Failed to upload ChinaSubway.apk on device '04037B8411001012' [2010-10-24 16:37:11 - ChinaSubway] java.io.IOException: Unable to open sync connection! [2010-10-24 16:37:11 - ChinaSubway] Launch canceled!" Any ideas? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to deal with the SQLite resource that is too large?
My project has 3 SQLite database files, and each of them is larger than 2M. You know, the limit is beyond 1M in apk file. So how to make my database files setup when the apk is installing? And I don't want the way of downloading the database file by network. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to destroy an activity immediately?
I try to call finish() in an activity in order to destroy the activity to free resources. But the Logcat shows it doesn't work immediately to call "onDestroy" instead of calling "onPause" and after a few seconds "onDestroy" is called. What I want is destory and finish the activity just after I call finish(). But the problem is that when I press "Back" button or call finish(), it doesn't free bitmap resources and destroy the activity immediately. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to destroy an activity immediately?
The first activity is the welcome activity, which lets users choose a choice to start a new activity. If the second activity go straight to onDestroy, the heap resources that the second activity holds can be so much that causes OUT_OF_MEMORY ERROR when user choose a choice to start a new activity in the first activity.So... On Dec 11, 6:49 pm, Indicator Veritatis wrote: > So what? Why do you need it to go straight to onDestroy? Or rather, I > should ask, why do you THINK you need it to go > straight to onDestroy()? For I doubt your need is genuine. > > On Dec 10, 10:12 pm, Kenny Chang wrote: > > > > > > > > > I try to call finish() in an activity in order to destroy the activity > > to free resources. > > But the Logcat shows it doesn't work immediately to call "onDestroy" > > instead of calling "onPause" and after a few seconds "onDestroy" is > > called. > > What I want is destory and finish the activity just after I call > > finish(). But the problem is that when I press "Back" button or call > > finish(), it doesn't free bitmap resources and destroy the activity > > immediately. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to destroy an activity immediately?
Fwd: How to destroy an activity immediately? -- Forwarded message -- From: Zsolt Vasvari Date: Dec 11, 8:22 pm Subject: How to destroy an activity immediately? To: Android Developers I think the system will try everything to satisfy your memory request and that includes destroying any activities (your first one), still hanging around. So I don't think you need to worry about this stuff at all. On Dec 11, 8:13 pm, Kenny Chang wrote: > The first activity is the welcome activity, which lets users choose a > choice to start a new activity. > If the second activity go straight to onDestroy, the heap resources > that the second activity holds > can be so much that causes OUT_OF_MEMORY ERROR when user choose a > choice to start a new activity in the > first activity.So... > On Dec 11, 6:49 pm, Indicator Veritatis wrote: > > So what? Why do you need it to go straight to onDestroy? Or rather, I > > should ask, why do you THINK you need it to go > > straight to onDestroy()? For I doubt your need is genuine. > > On Dec 10, 10:12 pm, Kenny Chang wrote: > > > I try to call finish() in an activity in order to destroy the activity > > > to free resources. > > > But the Logcat shows it doesn't work immediately to call "onDestroy" > > > instead of calling "onPause" and after a few seconds "onDestroy" is > > > called. > > > What I want is destory and finish the activity just after I call > > > finish(). But the problem is that when I press "Back" button or call > > > finish(), it doesn't free bitmap resources and destroy the activity > > > immediately.- Hide quoted text - > - Show quoted text - Fwd: How to destroy an activity immediately? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to destroy an activity immediately?
The problem is raised by the animations started in onCreate On Dec 11, 8:22 pm, Zsolt Vasvari wrote: > I think the system will try everything to satisfy your memory request > and that includes destroying any activities (your first one), still > hanging around. So I don't think you need to worry about this stuff > at all. > > On Dec 11, 8:13 pm, Kenny Chang wrote: > > > > > > > > > The first activity is the welcome activity, which lets users choose a > > choice to start a new activity. > > If the second activity go straight to onDestroy, the heap resources > > that the second activity holds > > can be so much that causes OUT_OF_MEMORY ERROR when user choose a > > choice to start a new activity in the > > first activity.So... > > > On Dec 11, 6:49 pm, Indicator Veritatis wrote: > > > > So what? Why do you need it to go straight to onDestroy? Or rather, I > > > should ask, why do you THINK you need it to go > > > straight to onDestroy()? For I doubt your need is genuine. > > > > On Dec 10, 10:12 pm, Kenny Chang wrote: > > > > > I try to call finish() in an activity in order to destroy the activity > > > > to free resources. > > > > But the Logcat shows it doesn't work immediately to call "onDestroy" > > > > instead of calling "onPause" and after a few seconds "onDestroy" is > > > > called. > > > > What I want is destory and finish the activity just after I call > > > > finish(). But the problem is that when I press "Back" button or call > > > > finish(), it doesn't free bitmap resources and destroy the activity > > > > immediately.- Hide quoted text - > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to imitate multi-touch by emulator
I want to test my multi-touch program, but I don't know how to do. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can not decode high resolution picture
How to open a high resolution png picture, the picture is 4000x3000,but it crashed when it was decoded. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en