Re: [android-developers] Re: SIGSEGV in system_server
How did you decoded that stack :D ? On Sat, May 29, 2010 at 3:33 AM, fadden fad...@android.com wrote: On May 28, 10:13 am, Dmitriy dmitriy.kostyuche...@gmail.com wrote: The application I wrote HTTP POSTs a file to a remote web server. If, during this upload the phone is going through a lot of other activity - applications being opened, closed, switched; notification drawer being opened and closed - the whole phone shuts off with this error. It seems to me that this could be a bug in the Android OS. The decoded stack trace is below. I expect google groups will mangle it badly. :-| Looks like the Dalvik heap allocator is aborting after finding something it didn't like. Could be something trashing memory. Stack Trace: RELADDR FUNCTION FILE:LINE 000109e0 __libc_android_abort/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ bionic/libc/unistd/abort.c:82 6f78 mspace_free / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ system/core/libcutils/../../../bionic/libc/bionic/dlmalloc.c:4842 00044878 dvmHeapSourceFreeList / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/HeapSource.c:847 000170d8 sweepBitmapCallback / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/MarkSweep.c:1282 00015a98 dvmHeapBitmapXorWalk/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/HeapBitmap.c:268 00015d94 dvmHeapBitmapXorWalkLists / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/HeapBitmap.c:359 00016ff4 dvmHeapSweepUnmarkedObjects / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/MarkSweep.c:1337 000163a4 dvmCollectGarbageInternal / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/Heap.c:981 v-- gcForMalloc / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/Heap.c:329 00016b60 tryMalloc / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/Heap.c:329 00016ce0 dvmMalloc / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/alloc/Heap.c:553 00057b64 dvmAllocArray / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/oo/Array.c:62 00057cc0 dvmAllocPrimitiveArray / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/oo/Array.c:220 000430c2 dvmCreateStringFromCstrAndLength/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/UtfString.c:280 00043160 dvmCreateStringFromCstr / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/UtfString.c:238 00055c42 Dalvik_java_lang_Class_getName / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/native/java_lang_Class.c:366 000139b8 dalvik_mterp/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/mterp/out/InterpAsm-armv7-a.S:9381 00019338 dvmMterpStd / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/mterp/Mterp.c:107 00018804 dvmInterpret/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/interp/Interp.c:987 0004eed0 dvmCallMethodV / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/interp/Stack.c:534 0004eef8 dvmCallMethod / usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/interp/Stack.c:435 0005c478 processEncodedAnnotation/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/reflect/Annotation.c:856 v-- processAnnotationSet/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/reflect/Annotation.c:922 0005d116 processAnnotationSet.clone.1/ usr/local/google/buildbot/repo_clients/git_eclair-sholes-release/ dalvik/vm/reflect/Annotation.c:922 0005d17c dvmGetMethodAnnotations /
[android-developers] [Eclair] Exception from setupwizard(android.setupwizard.AccountIntroActivity)
Hello All, Sometimes when i try to use login am gettign the below exception, but kinda clue less, have any one faced this? *just happens with setupwizard.. 06-01 12:07:01.923 E/Checkin ( 1996): Error reporting crash 06-01 12:07:01.923 E/Checkin ( 1996): Crash logging skipped, too soon after logging failure 06-01 12:07:01.958 E/AndroidRuntime( 3990): java.lang.RuntimeException: Unable to resume activity {com.android.setupwizard/com.android.setupwizard.AccountIntroActivity}: android.database.sqlite.SQLiteException: no such table: events 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2950) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2516) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.ActivityThread.access$2200(ActivityThread.java:119) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.os.Handler.dispatchMessage(Handler.java:99) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.os.Looper.loop(Looper.java:123) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.ActivityThread.main(ActivityThread.java:4363) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at java.lang.reflect.Method.invokeNative(Native Method) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at java.lang.reflect.Method.invoke(Method.java:521) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at dalvik.system.NativeStart.main(Native Method) 06-01 12:07:01.958 E/AndroidRuntime( 3990): Caused by: android.database.sqlite.SQLiteException: no such table: events 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:158) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.database.BulkCursorProxy.count(BulkCursorNative.java:255) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.database.BulkCursorToCursorAdaptor.set(BulkCursorToCursorAdaptor.java:44) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.content.ContentProviderProxy.query(ContentProviderNative.java:351) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.content.ContentResolver.query(ContentResolver.java:203) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at com.android.setupwizard.NetworkMonitor$2.onChange(NetworkMonitor.java:181) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at com.android.setupwizard.NetworkMonitor.init(NetworkMonitor.java:105) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at com.android.setupwizard.NetworkMonitoringActivity.onResume(NetworkMonitoringActivity.java:111) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.Activity.performResume(Activity.java:3772) 06-01 12:07:01.958 E/AndroidRuntime( 3990): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937) 06-01 12:07:01.958 E/AndroidRuntime( 3990): ... 12 more Any help appreciated Thanks Steve -- 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
Re: [android-developers] WAP Push SI or SL support in Android
Its not supported in Android i believe, however its supported in some specific devices as an add on by device manufacturer. On Wed, Jun 2, 2010 at 8:42 AM, ALD adavid...@simworks.com wrote: Hi, I'm scoping an app and haven't been able to find anything definitive online regarding Android's support for WAP Push SI or SL messages. We've used these very effectively in the past to pass url's to other devices. Does anyone know if Android actually supports these messages? Thanks, Aaron. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] CTS Failure in
Hi All, Was playing with CTS ,and came across a failure like below testAnimation fail junit.framework.AssertionFailedError: unexpected timeout at android.view.animation.cts.DelayedCheck.run DelayedCheck.java:51) Can anyone pass me some light on , how to fix this issue? or what should be the approach in cases like this? Any information will be appreciated. Thanks Binish -- 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] CTS Failure in View.
Hi All, Was playing with CTS ,and came across a failure like below testAnimation fail junit.framework.AssertionFailedError: unexpected timeout at android.view.animation.cts.DelayedCheck.run DelayedCheck.java:51) Can anyone pass me some light on , how to fix this issue? or what should be the approach in cases like this? Any information will be appreciated. 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
Re: [android-developers] Animated GIFs?
As per issue tracker, this will be fixed in FroYo and will work on high memory devices. On Tue, Apr 20, 2010 at 5:13 AM, Eric Hekler ehek...@gmail.com wrote: Hi, all. We are doing some prototyping for an Android app and we wanted to use Animated GIFs via webpages to get a sense of animation. Unfortunately, we have found that we can't do that on the Android's browser (or Opera for that matter). I've read some posting saying that this might get fixed but there were never any specific dates. Does anyone have some news on when we might be able to use Animated GIFs in webpages? If not, does anyone have any suggestions on good ways to develop quick animated visual prototypes of apps for Android? In particular, our design folks (who are handling the visual stuff) know HTML, Javascript, J-query but don't know Java and we would prefer to NOT have them learn another language, if possible as this is really just for rapid prototyping. Any help would be most appreciated! Thanks, Eric -- Eric Hekler, Ph.D. Post Doctoral Research Fellow Stanford Prevention Research Center Medical School Office Building: Mail Code 5411 251 Campus Drive Stanford, CA 94305-5411 Office # (650) 721-2516 Fax: 650-725-6247 Email: ehek...@stanford.edu -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
Re: [android-developers] Multi-APN Support
Not yet , i see some latest communication here. On Mon, Feb 8, 2010 at 12:18 PM, tushus tushusi...@gmail.com wrote: Hi, is Multi-APN (where different apps use different APNs simultaneously) supported in Android 2.1 (Eclairs)? -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
Re: [android-developers] Re: Forcibly using 3G or CDMA network even though wi-fi is available.
-- MMS cannot be sent over wi-fi.Carriers network is mandatory to send/recv. The MMSC need to identify from/to the message coming going and it wont be possible while using wi-fi. So its required to switch to 3g or CDMA even if wi-fi is available. 2010/2/3 Dongjoon Lee sky...@gmail.com The application needs to get some information from operator's server. And operator want us to make use operator's network, not wifi, even though wifi is available. It's very difficult to find solution. May I need to search alternative way. Anyway, thanks for your advice. Best regards, Dongjoon. On 1월15일, 오후7시17분, Jens dunkingbikk...@gmail.com wrote: For the same reason you added the feature that allows the MMS application to switch to a specific APN even when WiFi is available. lots of mobile apps require you to go through a specific APN - for billing purposes amongst other things. Dongjoon: You could check if the same crazed hack that allows the MMS application to work can be used by you? Br Jens On 14 Jan, 19:07, Dianne Hackborn hack...@android.com wrote: Sorry, I don't believe you can. Why do you want to do this? On Thu, Jan 14, 2010 at 12:39 AM, Dongjoon Lee sky...@gmail.com wrote: Hello. My question is, as you can see the title, can i use3gnetwork even though wi-fi is available? i heard wi-fi priority is higher than3gor cdma. can i change that priority in specific application? this is one of requirement of the project. if anybody has an answer, plz help me. thanks in advance. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubs-cr...@googlegroups.comandroid-developers%252bunsubs-cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- 원본 텍스트 숨기기 - - 원본 텍스트 보기 - -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
Re: [android-developers] anyone meet anonymous mms/sms?
This is fixed/changed flow in Eclair. On Thu, Feb 4, 2010 at 12:56 PM, Andrew Ding dingwei...@gmail.com wrote: Hi, all, We sometimes receive mms/sms whose from field is anonymous. After check the mmssms.db, all the fields are correct. If it shows anonymous, only after we power cycle radio can it be recovered with correct sender name. Our platform is cupcake1.5. The issue is not easy to reproduce but happens often. When issue happens, I exit from Message App and launch it again, the issue still exists. slect that message and longclick at it and view its detail info, we can find that the from and to fields all all empty. The screen shows that the from is hidden sender. From the code and db, we know PDU_CACHE_INSTANCE is not correct but DB is correct. Does anyone the issue and the root cause? Thank you very much. BR, Andrew -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
Re: [android-developers] Re: [IME]avoiding softinput in one activity
Hello - Dianne, I just saw your post Story 2: Embracing long press , Thank you very much and highly appreciated. Thanks On Tue, Sep 29, 2009 at 12:52 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: :( i dotn want to change the frameworks behavior , can i override someway !! just only for my super nasty activity :D On Tue, Sep 29, 2009 at 12:47 PM, Dianne Hackborn hack...@android.comwrote: Again it's really not intended to be. Consider long press on menu to be the same as the user opening the lid on a device with a hardware keyboard. On Mon, Sep 28, 2009 at 11:48 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi Dianne, I understand, i have many activities and just for one i need remove it. i was able to remove as well by returning true on KEYCODE_MENU. But i do have an options menu (without long press). :( Thanks On Tue, Sep 29, 2009 at 12:03 PM, Dianne Hackborn hack...@android.comwrote: Long press is a back-door for the user to bring up the keyboard outside of the app's control. It isn't really intended to be turned off. On Mon, Sep 28, 2009 at 9:22 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi All, I want to avoid softinput specifically in one activty in a very specific case. When i *long press menu button *softkeypad is coming irrespective of the activty. How can i avoid this? i have tried stateAlwaysHidden etc for that activity. But didit work. Al other cases ok. Just this case* long press menu button*. Thanks -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- -- 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: [IME]avoiding softinput in one activity
Hi Dianne, I understand, i have many activities and just for one i need remove it. i was able to remove as well by returning true on KEYCODE_MENU. But i do have an options menu (without long press). :( Thanks On Tue, Sep 29, 2009 at 12:03 PM, Dianne Hackborn hack...@android.comwrote: Long press is a back-door for the user to bring up the keyboard outside of the app's control. It isn't really intended to be turned off. On Mon, Sep 28, 2009 at 9:22 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi All, I want to avoid softinput specifically in one activty in a very specific case. When i *long press menu button *softkeypad is coming irrespective of the activty. How can i avoid this? i have tried stateAlwaysHidden etc for that activity. But didit work. Al other cases ok. Just this case* long press menu button*. Thanks -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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: [IME]avoiding softinput in one activity
:( i dotn want to change the frameworks behavior , can i override someway !! just only for my super nasty activity :D On Tue, Sep 29, 2009 at 12:47 PM, Dianne Hackborn hack...@android.comwrote: Again it's really not intended to be. Consider long press on menu to be the same as the user opening the lid on a device with a hardware keyboard. On Mon, Sep 28, 2009 at 11:48 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi Dianne, I understand, i have many activities and just for one i need remove it. i was able to remove as well by returning true on KEYCODE_MENU. But i do have an options menu (without long press). :( Thanks On Tue, Sep 29, 2009 at 12:03 PM, Dianne Hackborn hack...@android.comwrote: Long press is a back-door for the user to bring up the keyboard outside of the app's control. It isn't really intended to be turned off. On Mon, Sep 28, 2009 at 9:22 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi All, I want to avoid softinput specifically in one activty in a very specific case. When i *long press menu button *softkeypad is coming irrespective of the activty. How can i avoid this? i have tried stateAlwaysHidden etc for that activity. But didit work. Al other cases ok. Just this case* long press menu button*. Thanks -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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 make an activity destory when user presses 'Back button?
finish(); On Sun, Sep 27, 2009 at 1:24 PM, Mark Murphy mmur...@commonsware.comwrote: hap 497 wrote: When I currently have my activity on the font of the screen, how can I make Android to 'destory' my activity when user clicks 'back' button? (i.e. onDestory of my Activity gets called)? It does that automatically. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help for your Android OSS project? http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ 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 know software keyboard is on screen or not?
Same exception..! On Sat, Sep 5, 2009 at 2:32 PM, Agus agus.sant...@gmail.com wrote: InputMethodService ims = (InputMethodService) (mActivity.getSystemService(Activity.INPUT_METHOD_SERVICE)); ims.isInputViewShown(); On Thu, Sep 3, 2009 at 6:00 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: classcast exception !! will this work trying to convert to InputMethodService ! On Thu, Sep 3, 2009 at 7:51 AM, Agus agus.sant...@gmail.com wrote: Have you tried this? InputMethodService ims = (InputMethodService) mActivity.getSystemService(Activity.INPUT_METHOD_SERVICE); ims.isInputViewShown(); Agus. On Wed, Sep 2, 2009 at 6:48 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: I doubt this is possible. On Tue, Aug 25, 2009 at 6:24 PM, for android forandr...@gmail.comwrote: probably this(i have not tried it though) android-sdk-windows-1.5_r1/docs/reference/android/view/inputmethod/InputMethodManager.html#isActive(android.view.View) On Tue, Aug 25, 2009 at 1:33 PM, aby orz0...@gmail.com wrote: Hi, Does anyone knows how to know current software keyboard is on screen or not in program? 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] Re: How to know software keyboard is on screen or not?
classcast exception !! will this work trying to convert to InputMethodService ! On Thu, Sep 3, 2009 at 7:51 AM, Agus agus.sant...@gmail.com wrote: Have you tried this? InputMethodService ims = (InputMethodService) mActivity.getSystemService(Activity.INPUT_METHOD_SERVICE); ims.isInputViewShown(); Agus. On Wed, Sep 2, 2009 at 6:48 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: I doubt this is possible. On Tue, Aug 25, 2009 at 6:24 PM, for android forandr...@gmail.comwrote: probably this(i have not tried it though) android-sdk-windows-1.5_r1/docs/reference/android/view/inputmethod/InputMethodManager.html#isActive(android.view.View) On Tue, Aug 25, 2009 at 1:33 PM, aby orz0...@gmail.com wrote: Hi, Does anyone knows how to know current software keyboard is on screen or not in program? 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] Re: How to know software keyboard is on screen or not?
I doubt this is possible. On Tue, Aug 25, 2009 at 6:24 PM, for android forandr...@gmail.com wrote: probably this(i have not tried it though) android-sdk-windows-1.5_r1/docs/reference/android/view/inputmethod/InputMethodManager.html#isActive(android.view.View) On Tue, Aug 25, 2009 at 1:33 PM, aby orz0...@gmail.com wrote: Hi, Does anyone knows how to know current software keyboard is on screen or not in program? 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] Re: How to wake up the device by Code?
http://developer.android.com/reference/android/os/PowerManager.html On Thu, Aug 6, 2009 at 2:24 PM, peter heywoodpres...@gmail.com wrote: I guess AlarmManager could do it for your requirement On Aug 6, 3:29 pm, guishenl...@gmail.com guishenl...@gmail.com wrote: Hi all, I have an application with notification. I want my notification can wake the device up when it goes off but the device is asleep. Could anybody tell me how to do by some code? Thank you in advance! --~--~-~--~~~---~--~~ 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] GestureDetector in Textarea
Hi All, How can i use GestureDetector in textarea? now when i do some flick cursor is moving and its getting handled in input area. Is there any way i can intercept the or movement ,so that it will come to my application? *for me it works with imageview and other controls , only problem with textarea :( 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] Fwd: GestureDetector in Textarea
I have tried some combination's, now am getting s strong feeling like this is not possible !!! Anyone already tried this? Thanks in advance -- Forwarded message -- From: Anonymous Anonymous firewallbr...@googlemail.com Date: Thu, Aug 6, 2009 at 8:20 PM Subject: GestureDetector in Textarea To: android-developers@googlegroups.com Hi All, How can i use GestureDetector in textarea? now when i do some flick cursor is moving and its getting handled in input area. Is there any way i can intercept the or movement ,so that it will come to my application? *for me it works with imageview and other controls , only problem with textarea :( 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] Re: Is there Galaxy simulator?
No simulator as far as i know,what is the app? On Thu, Jul 30, 2009 at 10:31 AM, amiz aarn...@gmail.com wrote: A Galaxy user emailed us to report that one of our apps crashes when he perfoms a function, we had over 10k downloads of this app with no similar report. Since the Galaxy is not yet available in the US,is there a simulator to help resolve issues like this? Alain --~--~-~--~~~---~--~~ 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 play video file in android.
G1 supports wmv http://developer.android.com/guide/appendix/media-formats.html On Sat, May 23, 2009 at 8:28 AM, chen hence hencechen...@gmail.com wrote: i just remembered there was no way to play awmv file on g1? 2009/5/22 Marco Nelissen marc...@android.com On Thu, May 21, 2009 at 8:57 PM, Priya priya.b...@gmail.com wrote: Hi, here is my code for playing video through url public class sample extends Activity { private String _videoPath; private MediaPlayer _mp; private static final String TAG = Video; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); _videoPath = http://16.181.151.159/video/funnydog.wmv;; Only local wmv playback is supported, not streaming. --~--~-~--~~~---~--~~ 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: Fwd: can't access http://developer.android.com/
Are u from china? use a proxy On Tue, May 19, 2009 at 6:03 PM, show summer showshowsum...@gmail.comwrote: Please give me response! -- Forwarded message -- From: show summer showshowsum...@gmail.com Date: Tue, May 19, 2009 at 6:11 AM Subject: can't access http://developer.android.com/ To: android-developers@googlegroups.com hi, why i can't access http://developer.android.com/ recently?? Please check it thanks Ning --~--~-~--~~~---~--~~ 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: Does Android Messaging support EMS ?
EMS not supported On Fri, Apr 24, 2009 at 4:34 PM, lightchen0...@gmail.com light_c...@seed.net.tw wrote: Hi All : I'm studying Android and will start to develop some message related AP after I familiar with Android , but when I play G1, I don't know how to send a EMS , I do read 3GPP TS 23.040 and really understand about SMS and EMS but still don't know how to send a EMS to other MS , Does that mean Android phone don't support EMS ? Your suggestion will be appreciated. B.R Light --~--~-~--~~~---~--~~ 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: animated GIF support in android
Is there anything in the roadmap(internal) to support this by default :D ? Thanks On Thu, Apr 23, 2009 at 11:52 PM, mathiastck mathias...@gmail.com wrote: In BitmapDecode.java APIDemos shows how you can use Movie to display an animated GIF. I had partial success with it in the past. (I sometimes got a movie back with zero duration). On Apr 23, 4:33 am, Mark Murphy mmur...@commonsware.com wrote: Nasam wrote: Is animated GIF supported in android through SKIA library. I am not able to play animated GIF which is partially updated about each frame. I do not believe anything built into Android plays animated GIFs. -- Mark Murphy (a Commons Guy)http://commonsware.com| http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ 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 config G1 to make both browser and MMS work?
Settings seems to be correct,please keep only the below information and see the browser works apn: cmnet proxy: 10.0.0.172 port:80 username: blank password: blank server: blank mmsc:blank mms proxy: blank mms port: blank mcc: 460 mnc:02 apn type: default and i think Pinyin input is not supported(not sure) On Tue, Apr 21, 2009 at 8:39 PM, shimsim shim@gmail.com wrote: I got the same problem in China with my Dev G1. I'm using the M-Zone Sim card and with the settings below everything works except the browser. name: china mobile apn: cmnet proxy: 10.0.0.172 port:80 username: blank password: blank server: blank mmsc: http://mmsc.monternet.com mms proxy: 10.0.0.172 mms port: 9201 mcc: 460 mnc:02 apn type: default I have not tried sending any mms, but with these setting i can collect and send mail, use maps, see the market but NO browser. Any ideas? ps how do i get pinyin input, is there a way and to still have english as default? Thanks! On Apr 21, 7:48 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: for the mms apn make the apntype to mms, it shud work On Fri, Apr 17, 2009 at 11:44 PM, kilroy238 kilroy...@gmail.com wrote: Which one of the 3 China mobile SIMS do you have? On Mar 18, 3:38 pm, FayGU gqm...@gmail.com wrote: I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For browser, I use following APN config: --- name:cmnet apn: cmnet proxy:blank port:blank username:blank password:blank server:blank mmsc:blank mms proxy:blank mms port:blank mcc:460 mnc:00 apn type:blank -- For MMS, I use following APN config: -- name:cmwap apn: cmwap proxy:blank port:blank username:blank password:blank server:blank mmsc:http://mmsc.monternet.com mms proxy:010.000.000.172 mms port:80 mcc:460 mnc:00 apn type:blank --- When above two APNs both exists, only browser can work. MMS doesn't work any more. Does any google export know that how to config G1 to make both browser and MMS work? If it's a known issue, is there any roadmap to fix it? 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] Re: How to config G1 to make both browser and MMS work?
give a try with cmwap as apn On Wed, Apr 22, 2009 at 6:41 AM, shimsim shim@gmail.com wrote: Just tried the settings above and get exactly the same results, email works, maps work, etc ... but not the browser What else could it be? thanks On Apr 22, 8:08 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: Settings seems to be correct,please keep only the below information and see the browser works apn: cmnet proxy: 10.0.0.172 port:80 username: blank password: blank server: blank mmsc:blank mms proxy: blank mms port: blank mcc: 460 mnc:02 apn type: default and i think Pinyin input is not supported(not sure) On Tue, Apr 21, 2009 at 8:39 PM, shimsim shim@gmail.com wrote: I got the same problem in China with my Dev G1. I'm using the M-Zone Sim card and with the settings below everything works except the browser. name: china mobile apn: cmnet proxy: 10.0.0.172 port:80 username: blank password: blank server: blank mmsc:http://mmsc.monternet.com mms proxy: 10.0.0.172 mms port: 9201 mcc: 460 mnc:02 apn type: default I have not tried sending any mms, but with these setting i can collect and send mail, use maps, see the market but NO browser. Any ideas? ps how do i get pinyin input, is there a way and to still have english as default? Thanks! On Apr 21, 7:48 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: for the mms apn make the apntype to mms, it shud work On Fri, Apr 17, 2009 at 11:44 PM, kilroy238 kilroy...@gmail.com wrote: Which one of the 3 China mobile SIMS do you have? On Mar 18, 3:38 pm, FayGU gqm...@gmail.com wrote: I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For browser, I use following APN config: --- name:cmnet apn: cmnet proxy:blank port:blank username:blank password:blank server:blank mmsc:blank mms proxy:blank mms port:blank mcc:460 mnc:00 apn type:blank -- For MMS, I use following APN config: -- name:cmwap apn: cmwap proxy:blank port:blank username:blank password:blank server:blank mmsc:http://mmsc.monternet.com mms proxy:010.000.000.172 mms port:80 mcc:460 mnc:00 apn type:blank --- When above two APNs both exists, only browser can work. MMS doesn't work any more. Does any google export know that how to config G1 to make both browser and MMS work? If it's a known issue, is there any roadmap to fix it? 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] Re: How to config G1 to make both browser and MMS work?
have u tried differnt urls with cmnet? say www.cnn.com etc, soemthing the home configured may not work On Wed, Apr 22, 2009 at 7:30 AM, shimsim shim@gmail.com wrote: if i change from cmnet to cmwap i dont even get a data connection (no edge icon in the notification bar) On Apr 22, 9:16 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: give a try with cmwap as apn On Wed, Apr 22, 2009 at 6:41 AM, shimsim shim@gmail.com wrote: Just tried the settings above and get exactly the same results, email works, maps work, etc ... but not the browser What else could it be? thanks On Apr 22, 8:08 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: Settings seems to be correct,please keep only the below information and see the browser works apn: cmnet proxy: 10.0.0.172 port:80 username: blank password: blank server: blank mmsc:blank mms proxy: blank mms port: blank mcc: 460 mnc:02 apn type: default and i think Pinyin input is not supported(not sure) On Tue, Apr 21, 2009 at 8:39 PM, shimsim shim@gmail.com wrote: I got the same problem in China with my Dev G1. I'm using the M-Zone Sim card and with the settings below everything works except the browser. name: china mobile apn: cmnet proxy: 10.0.0.172 port:80 username: blank password: blank server: blank mmsc:http://mmsc.monternet.com mms proxy: 10.0.0.172 mms port: 9201 mcc: 460 mnc:02 apn type: default I have not tried sending any mms, but with these setting i can collect and send mail, use maps, see the market but NO browser. Any ideas? ps how do i get pinyin input, is there a way and to still have english as default? Thanks! On Apr 21, 7:48 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: for the mms apn make the apntype to mms, it shud work On Fri, Apr 17, 2009 at 11:44 PM, kilroy238 kilroy...@gmail.com wrote: Which one of the 3 China mobile SIMS do you have? On Mar 18, 3:38 pm, FayGU gqm...@gmail.com wrote: I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For browser, I use following APN config: --- name:cmnet apn: cmnet proxy:blank port:blank username:blank password:blank server:blank mmsc:blank mms proxy:blank mms port:blank mcc:460 mnc:00 apn type:blank -- For MMS, I use following APN config: -- name:cmwap apn: cmwap proxy:blank port:blank username:blank password:blank server:blank mmsc:http://mmsc.monternet.com mms proxy:010.000.000.172 mms port:80 mcc:460 mnc:00 apn type:blank --- When above two APNs both exists, only browser can work. MMS doesn't work any more. Does any google export know that how to config G1 to make both browser and MMS work? If it's a known issue, is there any roadmap to fix it? 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] Re: How to config G1 to make both browser and MMS work?
for the mms apn make the apntype to mms, it shud work On Fri, Apr 17, 2009 at 11:44 PM, kilroy238 kilroy...@gmail.com wrote: Which one of the 3 China mobile SIMS do you have? On Mar 18, 3:38 pm, FayGU gqm...@gmail.com wrote: I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For browser, I use following APN config: --- name:cmnet apn: cmnet proxy:blank port:blank username:blank password:blank server:blank mmsc:blank mms proxy:blank mms port:blank mcc:460 mnc:00 apn type:blank -- For MMS, I use following APN config: -- name:cmwap apn: cmwap proxy:blank port:blank username:blank password:blank server:blank mmsc:http://mmsc.monternet.com mms proxy:010.000.000.172 mms port:80 mcc:460 mnc:00 apn type:blank --- When above two APNs both exists, only browser can work. MMS doesn't work any more. Does any google export know that how to config G1 to make both browser and MMS work? If it's a known issue, is there any roadmap to fix it? 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] Re: Picture supported in Android
http://developer.android.com/guide/appendix/media-formats.html On Tue, Apr 21, 2009 at 8:02 AM, guishenl...@gmail.com guishenl...@gmail.com wrote: Hi all, I'm doing an application of showing picture with ImageView.I want to know how many kinds of picture are supported in Android, and what are they.Could anyone give a list of these files?Thank you in advance! --~--~-~--~~~---~--~~ 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: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows
ADT 0.9 On Tue, Apr 14, 2009 at 10:00 AM, for android forandr...@gmail.com wrote: When I give the path in Eclipse for the SDK 1.5,it gives the error message no android.jar found. When i gave the path as the ~\android-sdk-windows-1.5_pre\platforms\android-1.5 then i get the error message tools\adb.exe not found. How to solve this? 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] Re: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows
http://dl-ssl.google.com/android/ADT-0.9_pre.zip On Tue, Apr 14, 2009 at 10:10 AM, for android forandr...@gmail.com wrote: When I do a click on update on my previous version of ADT,I get a message that there are no updates On Tue, Apr 14, 2009 at 10:04 AM, Xavier Ducrohet x...@android.com wrote: You are still using ADT 0.8 which is not compatible with Android 1.5 SDK. Please install ADT 0.9 Xav On Mon, Apr 13, 2009 at 9:30 PM, for android forandr...@gmail.com wrote: When I give the path in Eclipse for the SDK 1.5,it gives the error message no android.jar found. When i gave the path as the ~\android-sdk-windows-1.5_pre\platforms\android-1.5 then i get the error message tools\adb.exe not found. How to solve this? Thanks -- Xavier Ducrohet Android Engineer, Google. --~--~-~--~~~---~--~~ 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] Email Configuration - Compose activity
Hi All, Is there anyway i can know is the email application configured correctly, before i fire the intent? 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] Re: Cupcake coming in April? Where is the SDK?
For me too the sdcard problem ...The file is missing(vold.conf) :( , but i checked another old sourcebase..where sdcard work.. there also that file missing !! Any clues? Thanks On Wed, Mar 25, 2009 at 10:55 PM, David Turner di...@android.com wrote: I fear it's a packaging problem. Is there a file named vold.conf in /system/etc ?I.e. what is the output of adb shell /system/etc/vold.conf If the file is missing, the SDCard cannot be mounted even if it is recognized by the kernel. On Wed, Mar 25, 2009 at 12:40 PM, Victor vkrugli...@gmail.com wrote: I'm also expirienced some problem with a today build of cupcake I just download a cupcake branch of source code and build it. I configured Eclipse for a new SDK, and appear the things is works great, EXCEPT emulator. 1. I configured a new AVD as parameter i pointed my old sdcard.img then loaded and do not see my sdcard 2. then I back and configure another AVD with a parameter to create a new sdcard.img, when the emulator loaded I still not seen sdcard in emulator. 3. then I try to something like: emulator -avd myavd -sdcard mysdcard.img and there is still no sd card. How can I restore my sd card in emulator. --~--~-~--~~~---~--~~ 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: Cupcake coming in April? Where is the SDK?
Hi JBQ, Thanks for the reply.. i do see mountd.conf in my older version and no mountd.conf or vold.conf in my current working version.. i do have a valid sdcard image.. by any chance can i mount it? On Thu, Mar 26, 2009 at 6:16 AM, Jean-Baptiste Queru j...@android.comwrote: Code drops before the one that was done about 2 weeks ago had another mechanism for the management of the SD card (mountd vs vold), so that vold.conf wouldn't be necessary there. JBQ On Wed, Mar 25, 2009 at 5:27 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: For me too the sdcard problem ...The file is missing(vold.conf) :( , but i checked another old sourcebase..where sdcard work.. there also that file missing !! Any clues? Thanks On Wed, Mar 25, 2009 at 10:55 PM, David Turner di...@android.com wrote: I fear it's a packaging problem. Is there a file named vold.conf in /system/etc ? I.e. what is the output of adb shell /system/etc/vold.conf If the file is missing, the SDCard cannot be mounted even if it is recognized by the kernel. On Wed, Mar 25, 2009 at 12:40 PM, Victor vkrugli...@gmail.com wrote: I'm also expirienced some problem with a today build of cupcake I just download a cupcake branch of source code and build it. I configured Eclipse for a new SDK, and appear the things is works great, EXCEPT emulator. 1. I configured a new AVD as parameter i pointed my old sdcard.img then loaded and do not see my sdcard 2. then I back and configure another AVD with a parameter to create a new sdcard.img, when the emulator loaded I still not seen sdcard in emulator. 3. then I try to something like: emulator -avd myavd -sdcard mysdcard.img and there is still no sd card. How can I restore my sd card in emulator. -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning. --~--~-~--~~~---~--~~ 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: Cupcake coming in April? Where is the SDK?
Sorry i coundt find mmcblk0 but i can see mtdblock0 mtdblock1 and mtdblock2 *and btw this will not help much :( as i need it inside application to browse data Thanks everyone On Thu, Mar 26, 2009 at 6:26 AM, Victor vkrugli...@gmail.com wrote: you may try: 1. adb shell 2. mount -t vfat /dev/block/mmcblk0 /sdcard but Gallery and Camera do not recognize the SD card even it's mounted, but you may brows sd card by adb shell and Eclipse On Mar 26, 9:48 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi JBQ, Thanks for the reply.. i do see mountd.conf in my older version and no mountd.conf or vold.conf in my current working version.. i do have a valid sdcard image.. by any chance can i mount it? On Thu, Mar 26, 2009 at 6:16 AM, Jean-Baptiste Queru j...@android.com wrote: Code drops before the one that was done about 2 weeks ago had another mechanism for the management of the SD card (mountd vs vold), so that vold.conf wouldn't be necessary there. JBQ On Wed, Mar 25, 2009 at 5:27 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: For me too the sdcard problem ...The file is missing(vold.conf) :( , but i checked another old sourcebase..where sdcard work.. there also that file missing !! Any clues? Thanks On Wed, Mar 25, 2009 at 10:55 PM, David Turner di...@android.com wrote: I fear it's a packaging problem. Is there a file named vold.conf in /system/etc ? I.e. what is the output of adb shell /system/etc/vold.conf If the file is missing, the SDCard cannot be mounted even if it is recognized by the kernel. On Wed, Mar 25, 2009 at 12:40 PM, Victor vkrugli...@gmail.com wrote: I'm also expirienced some problem with a today build of cupcake I just download a cupcake branch of source code and build it. I configured Eclipse for a new SDK, and appear the things is works great, EXCEPT emulator. 1. I configured a new AVD as parameter i pointed my old sdcard.img then loaded and do not see my sdcard 2. then I back and configure another AVD with a parameter to create a new sdcard.img, when the emulator loaded I still not seen sdcard in emulator. 3. then I try to something like: emulator -avd myavd -sdcard mysdcard.img and there is still no sd card. How can I restore my sd card in emulator. -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning. --~--~-~--~~~---~--~~ 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: Cupcake coming in April? Where is the SDK?
Someone from Google? makes it official i guess :D On Tue, Mar 24, 2009 at 12:47 AM, AndroidApp zl25dre...@gmail.com wrote: Can someone capable just compile the SDK and post it online for everyone? Someone from Google? I dont really care if it's not official, i just dont want to download the source tree just to build the SDK, plus i need to do the tricks you mentioned to make it work on windows. On Mar 23, 1:11 pm, Marco Nelissen marc...@android.com wrote: I certainly hope there aren't a lot of applications that use reflection and private APIs. On Mon, Mar 23, 2009 at 6:59 AM, zl25drexel zl25dre...@gmail.com wrote: Cupcake is coming, and as you know it will break a lot of apps in the market, those that use reflection private api. So where is the Cupcake SDK/emulator for us to try our apps? I know we can download the source codes and build it, and I know apps wont break if they dont use undocumented api, blah blah blah, but we should get an official SDK/emulator for cupcake, dont you think, google? --~--~-~--~~~---~--~~ 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: Enabling LOGD messages in Webkit
Sometime back i see a mail liek this, you can give a try ( you can search) --- (1) Include the header file utils/Log.h #include utils/Log.h (2) Define the logger tag LOG_TAG #undef LOG_TAG #define LOG_TAG MyWebKitLog (3) Write the log statement LOGE(This is my log statement on line %d,__LINE__); (4) If not already done, add libutils and libcutils to the list of LOCAL_SHARED_LIBRARIES in the webkit Android.mk. Note: Similar to LOGE, there are other logger definitions as well, like, LOGV, LOGI, LOGW, LOGF, LOGS, etc. For details about the implementation and usage, please refer the logcat module at http://android.git.kernel.org/?p=platform/system/core.git;a=blob;f=logcat/logcat.cpp;h=d9ca131b64fcc3d1774068dcf6a5e34d05782a3f;hb=master On Sat, Mar 21, 2009 at 2:13 AM, Ravi Ramachandra androido...@gmail.comwrote: All, How can we enable LOG messages in Webkit. I wanted to enable some debug prints using log utility of Android in Webkit I added the following statements in my code. #define LOG_TAG webkit include utils/Log.h And the following line to test LOGV(Constructor CachedImage.cpp); I am unable to get the logs. Should I enable with the following define. I even added liblog as one of the shared libraries during compilation. #define LOG_NDEBUG 0 /* Is this required to get logs??? */ regards, Ravi Texas Instruments --~--~-~--~~~---~--~~ 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: Android Developer Challenge II Cancelled?
http://developer.android.com/ try in here.. its moved i guess On Thu, Mar 19, 2009 at 12:10 PM, Eelke Folmer eelke.fol...@gmail.comwrote: This ( http://code.google.com/android/adc.html ) gives a 404 which is weird for a google site. Is this challenge cancelled? I hope not.. --~--~-~--~~~---~--~~ 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: is there an andriod simulator?
Check the tools folder in SDK On Wed, Mar 18, 2009 at 10:42 AM, Marco Nelissen marc...@android.comwrote: The emulator is included in the SDK. On Tue, Mar 17, 2009 at 3:09 PM, ytbryan ytbr...@gmail.com wrote: hi all, may i know is there an andriod simulator ? like how the iphone simulator works? thank you regards bryan --~--~-~--~~~---~--~~ 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: General Question to Google Team - Pin favourite threads
I think You can use the feature Labels if you use gmail :) , i use the same .. On Wed, Mar 18, 2009 at 2:19 PM, Tommaso nuccio.tomm...@gmail.com wrote: Hi Google-Team, I was wondering, why there is no functionality to pin threads a user is interested in. As there is such a high traffic on these groups, it takes time to find the threads I answered to or some I am interested to see how the problem is solved. Sometimes you don't remember the naming of the subject or the user that wrote it and then searching becomes annoying. An easy way would be to pin some threads! I mean the right side is nearly empty an everybody is authenticated when she uses the group, not to just read. Many thanks in advance for reading. Ciao, Tommaso --~--~-~--~~~---~--~~ 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: Built-in Activity for sending text messages
No i guess On Wed, Mar 11, 2009 at 10:21 AM, ivan istas...@gmail.com wrote: Is there a built in activity for sending picture text messages? If so, what does the intent look like that fires it off? --~--~-~--~~~---~--~~ 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: Make a button from an image (PNG)
Something like this? ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent Button android:layout_width=wrap_content android:layout_height=wrap_content android:text=Hello android:background=@drawable/u_r_png / /LinearLayout On Mon, Mar 9, 2009 at 9:33 AM, xspotlivin dmbrown2...@gmail.com wrote: I'd like to know how to make a button out of a PNG and display it on my canvas (using drawBitmap?). When I click on this button, it will take me to a new activity. All this will be in the onClickListener. So, how do I take a PNG, make a button with it, and draw it on my canvas? I looked at ImageButton, but I'm unsure how it works or how to draw it on the canvas. Thanks for your help. A code sample would also be greatly appreciated. --~--~-~--~~~---~--~~ 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: When is SDK based on cupcake getting released
Hi David I also have a similar problem and using a pure ubuntu laptop (no vmplayer), but attaching via DDMS taking much time (.. i mean ...the launching activity step), is there any tweak for this? btw am working on cupcake branch. Thanks On Tue, Mar 3, 2009 at 8:39 PM, David Turner di...@android.com wrote: On Tue, Mar 3, 2009 at 2:54 PM, Shadakshari Hiremath shad...@gmail.comwrote: I have core 2 duo processor at 2.8GHz and 2GB RAM. Ubuntu is running in VM Player under windows XP. In ubuntu DDMS is needed to be run manually and attached for debugging. Why is that ? The Eclipse plugin should work just fine under Ubuntu. This attach takes time. Step and step into using F5 and F6 keys takes longer. In windows SDK debugging is integrated in ADT plugin and no need to start DDMS manually. Step and step into are very quick to respond. Build is also very quick in windows SDK. However I am not sure whether the sluggishness is due to running ubuntu inside VM player. It certainly is. And what amount of RAM/disk space did you allocate to your virtual machine. A reasonable explanation might be that there isn't enough RAM for the VM to run everything appropriately. On 03/03/2009, David Turner di...@android.com wrote: While I can't tell when the Cupcake SDK will be publicly available, I'm very surprised by your statement that debugging and make are very slow on ubuntu. What is exactly your setup, and what kind of slowness do you experience ? On Tue, Mar 3, 2009 at 8:25 AM, Shadakshari Hiremath shad...@gmail.comwrote: Hello Android, We are developing some applications on cupcake which depend on packages not available in 1.1 version of SDK and will not build on it. Debugging and make are very slow on ubuntu open source. So, we are eagerly waiting for a windows SDK based on cupcake. Is there a timeframe defined for it by Google? BR Shaddu --~--~-~--~~~---~--~~ 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] Apntype - Question
Hi All, *Sorry for posting this here, trying to reach a bigger audience ^ ^ In the APN settings i can see an entry called apntype, what exactly this is used for, what all are the accepted values for it? When i enter something on this field.Already attached GPRS is getting detached. Any information will be appreciated. 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] Re: Apntype - Question
Hi Joe, Thank a lot Regards On Thu, Feb 26, 2009 at 10:48 AM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi Different APN can be used by different applications such as browser or mms. APN Type tells the association of the applications with the APN. Currently as per the cupcake release you can have the APN Type as default or mms. If the APN Type is blank then the APN is supposed to be supporting all the PS based applications. Regarding the Detach happening, whenever there is a change in APN database the connection is cleaned up and new connection is established with the new APN details. So every time a change is performed in the APN details a detach will happen followed by attach. Bye Joe On Thu, Feb 26, 2009 at 7:07 AM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi All, *Sorry for posting this here, trying to reach a bigger audience ^ ^ In the APN settings i can see an entry called apntype, what exactly this is used for, what all are the accepted values for it? When i enter something on this field.Already attached GPRS is getting detached. Any information will be appreciated. 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] ListView issue- getchildat()
Hi All, I m having problem in setting soem items in list. getChildAt() returns null if its not in the visible area :(, is there any workaround for this? for (int i = 1; i getListView().getCount(); i++) { mCheckBox = getListView().getChildAt(i).findViewById(R.id.check); mCheckBox.setVisibility(View.VISIBLE); Flag = true; } Assume my list is having 8 items, it works fine for 6 items, but anything more 6 is a fail. Any help is appreciated... 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] Re: ListView issue- getchildat()
Thanks Romain,But is there anyway i can set for those items which are outside the screen? or while scrolling down or something? On Mon, Feb 23, 2009 at 10:57 AM, Romain Guy romain...@google.com wrote: This is working correctly. ListView contains only the number of views needed to fill the screen. Therefore you cannot access the views outside of the screen since they do not exist. On Sun, Feb 22, 2009 at 9:16 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi All, I m having problem in setting soem items in list. getChildAt() returns null if its not in the visible area :(, is there any workaround for this? for (int i = 1; i getListView().getCount(); i++) { mCheckBox = getListView().getChildAt(i).findViewById(R.id.check); mCheckBox.setVisibility(View.VISIBLE); Flag = true; } Assume my list is having 8 items, it works fine for 6 items, but anything more 6 is a fail. Any help is appreciated... Thanks -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ 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: Where can I put some media files(image or video) into emulator or real device
Hi max, create one sdcard image(sdcard.iso) using mksdcard , mount the image and copy teh files you want and launch emulator using option -sdcard ursdcardimg.iso On Fri, Feb 20, 2009 at 10:15 PM, max max.xi...@gmail.com wrote: Hi All, Really very urgent! I am using the latest git code to play with. I wanna know how can I play with GALLERY, it always complain NO MEDIA FOUND, I do wanna know where and how can I put some JPG, BMP or something other media stuff into the emulator/Real device to make the GALLERY app display them. Thanks a lot in advance! Max --~--~-~--~~~---~--~~ 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: When will Android support Multiple PDP?
yes, so we do have a new road map? On Sat, Feb 21, 2009 at 6:51 AM, Jon Colverson jjc1...@gmail.com wrote: On Feb 20, 9:06 pm, David Hu vistoda...@gmail.com wrote: Thanks, Jon. It seems the same, but why I can't open this pagehttp:// source.android.com/roadmap, which always report can't find the server? Is it public acess? Would you please tell me when and which release will support this feature? Thanks again. Yes, it is a public server. It's working for me. Perhaps it's a geographic problem. Anyway, here's what the page says: Support for multiple APNs - This feature will enable the different applications to connect to different Access Point Nodes (APNs). For example, a web browser can connect to an Internet APN connection while the MMS can connect to a separate MMS APN. That's listed under the section for Q4 2008, so obviously that's already passed. Does anyone know if this feature has made it into the open source project yet? -- Jon --~--~-~--~~~---~--~~ 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: Gradient Questions
have a try if you can make use of some GradientDrawable.Orientation w.r.t endColor, sorry not tried though On Thu, Feb 19, 2009 at 2:42 PM, fouldsc chris.fou...@gmail.com wrote: Hi, I am wanting to do a gradient fill on some buttons and have some questions on how to do some more advanced fills so far I have this : shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=rectangle gradient android:startColor=#FF44 android:endColor=#FFFF android:angle=180 / padding android:left=7dp android:top=7dp android:right=7dp android:bottom=7dp / corners android:radius=8dp / /shape What I want to do , is set the background colour for the button to #FF44 , and then only start the gradient 50% down (Y-Axis) of the button regardless of size How would I do this ?? --~--~-~--~~~---~--~~ 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 know checkbox present in listview or not
Hi All, Is there any way i can find out like , is there any checkbox present in the listview. Basically i wanted to change options menu if there any checkbox present in list. can i use any methods from getListView() ? 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] Re: How to re-install sign android built-in applications
Hi Romain, How this can be achieved using intent filter? Can you please show an example assuming IM.apk? Thanks in Advance Steve On Thu, Jan 22, 2009 at 1:34 AM, Romain Guy romain...@google.com wrote: Replacing a core application is achieved using intent filters. This is how you can replace Home with your own application or replace Browser with your own web browser, et. On Wed, Jan 21, 2009 at 11:58 AM, Disconnect dc.disconn...@gmail.com wrote: I thought one of the core tenants of Android was that developers could write, and end users could install, apps that replaced the default apps. (Such as k9 and k9sms.) Is this not, in fact, true? (And please don't try to claim that sms/mms isn't a core feature of a mobile phone OS. And both of those projects are, from the start, forks of the AOSP applications.) Looking at the Android page (http://code.google.com/android/) I see: Any app on the mobile device can be replaced or extended -- even core components such as the dialer or home. ..the dialer has already been hashed over (at best, you can make non-emergency calls, but you cannot in fact replace or extend the dialer completely.) Are you now saying that the entire statement is false? On Wed, Jan 21, 2009 at 2:41 PM, Dianne Hackborn hack...@android.com wrote: Yes in this case probably what is desired is changing the package name, though that wasn't explicitly requested. But in Android that is how you install an alternative version of an app -- by installing a -different- app with the same public capabilities (handling the same intents etc) as the built-in app. Then the user is free to decide when and where they want to use that new app, if at all. For the desire to just install a custom version of a built-in app that has the same name, and is thus treated as a new version, of the built-in app, the basic answer is: - In the current platform, it is not possible to install an UPDATE (key word) to a built-in application in to the data partition; updates can only be done by replacing the app in /system. - In Cupcake we will have this facility, HOWEVER: 1. You still must be able to sign the app with the same certificate as the version in the system partition. If you can't, you can't update it. Only the original author of an application can create new versions of their own applications. You won't be able to do this with any of the built-in apps, because HTC and Google own the various certificates. 2. It simply is not correct to install a your own update to one of the system apps (contacts, calendar, etc) because those are part of the open source platform and the company who made the phone you are installing it on could have customized that app in significant ways. Your update could actually be a regression, or completely incompatible with how the built-in app stores its data. On Wed, Jan 21, 2009 at 9:42 AM, Disconnect dc.disconn...@gmail.com wrote: ..android-platform covers building apps with the sdk? Thats new. I think he's looking for info on changing package names so that he can replace the default apps. (I don't have that info handy, sorry..) On Wed, Jan 21, 2009 at 12:14 PM, Andrew Stadler stad...@gmail.com wrote: Wrong list. Please see android-platform, which covers topics such as this. http://source.android.com/discuss for more information. On Tue, Jan 20, 2009 at 12:24 AM, Gerald myq...@gmail.com wrote: Hi, I want to customize some built-in applications on android, for example Launcher or Contacts, etc. I've downloaded the source code and compile it by eclipse successfully. But when I tried to run it, a signing error comes: [2009-01-20 16:17:27 - Launcher] Installing Launcher.apk... [2009-01-20 16:17:35 - Launcher] Application already exists. Attempting to re-install instead... [2009-01-20 16:17:43 - Launcher] Re-installation failed due to different application signatures. [2009-01-20 16:17:43 - Launcher] You must perform a full uninstall of the application. WARNING: This will remove the application data! [2009-01-20 16:17:43 - Launcher] Please execute 'adb uninstall com.android.launcher' in a shell. I followed above instruction: adb uninstall com.android.launcher, but it failed (Can't remove the application). The official document only provides How to sign a new application, but it's not usable in my case. Does anyone know how to do it? Thank you very much Gerald -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. -- Romain Guy Android framework engineer romain...@android.com Note: please don't
[android-developers] Re: pls Help me to restore my dial on the desktop for my G1.
Open the main menu - drag the dial(long press- then drag)to same way to desktop :) On Fri, Jan 23, 2009 at 9:01 AM, mawei1981 mawei...@gmail.com wrote: Hi,All pls Help me to restore my dial on the desktop for my G1. last night I show the drag the icon function on my G1 to my wife, then, she has very interested on that, so she drag the dial,as fast, she drag the dial to the bottom of the screen, the dial has been red, then the dial missed. how can I restore the dial to my G1 desktop? who can tell me? --~--~-~--~~~---~--~~ 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 know which element of my list is selected when long click
Hi All, Me too have the same problem,whenever i uses getSelectedItemId(), its returning some weired value,however getcount() and other things works fine. Thanks Steve On Fri, Jan 23, 2009 at 6:05 AM, polo777 marcodr...@gmail.com wrote: Hi everyone, I have a list using a customized BaseAdapter. When one element of the list is hit during a long time, a contextual menu appears. I want to use this one to delete or edit the selected item but I don't know how to get id or anything else that could help me. I tried getListView.getSelectedItem() thinking that it will give me the object returned by the method getItem(int position) inherited in my customized BaseAdapter. I got null. When I tried getSelectedItemId(), I got -1. Does someone have a solution? Thanks a lot, Polo --~--~-~--~~~---~--~~ 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: Deployment of native C library
adb remount then try again On Sun, Jan 4, 2009 at 12:45 PM, shimo...@gmail.com shimo...@gmail.comwrote: Hi, Did as you suggested from my Windows PC (using adb shell). The 'mount' command did not yield any error. But - saw no change in the \system attributes (using ls -l). And - when I try to do adb push MySans.ttf \system\fonts\MySans.ttf I get an error message: failed to copy ...: read-only file system Any ideas ? Thanks ! On Jan 2, 5:27 pm, Joel Knighton joel.knigh...@gmail.com wrote: Issue the commands in this order (from a terminal on the device, otherwise change to use adb shell). $su #mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system Add/change anything you need, then revert to read only. $su #mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system On Fri, Jan 2, 2009 at 12:31 AM, Margaret mawei...@gmail.com wrote: add sudo where you do mount . mawei...@gmail.com 13585201588 2009/1/2 shimo...@gmail.com shimo...@gmail.com: Hi, Thanks ! Where do I issue this command from ? When I do this from PTerminal on my Android device it hangs, then issues a warning box saying: Activity pTerminal (in application pTerminal) is not responding Do you have a Dev Phone ? Thanks. On Jan 2, 3:39 am, Joel joel.knigh...@gmail.com wrote: Sounds as if you don't have root. Did you issue a su command first? On Jan 1, 6:11 pm, shimo...@gmail.com shimo...@gmail.com wrote: Hi, Tried that on my Dev Phone, and got mount: operation not permitted Can you tell me why ? TIA On Nov 17 2008, 11:48 am, li chen freep...@gmail.com wrote: You can use adb shell toremount/system and try again: mount -oremountrw /system -freepine -- Joel Knighton --~--~-~--~~~---~--~~ 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: Eclipse Error while adding ddms
hi Jeff, i was having open jdk and later i have gone for sun-java6-jdk and got it solved. Thanks Binish On Sun, Dec 28, 2008 at 6:06 AM, jeff ssapu...@gmail.com wrote: Hi, what is the problem with the JDK if you dont mind sharing..I have the same problem recently... Thanks, On Dec 7, 1:08 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi Xav, Ralf, Now am able to launch DDMS and debug built in apps, pblm was with my JDK. Thanks a lot for your help Steve On Sun, Dec 7, 2008 at 8:13 AM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi Xav, in trouble :( *I am trying to debug existing application. Am usign the full source code downloaded from source.android.com...(not this onehttp://code.google.com/android/download_list.html-Linux one). I assume ADT plugin is used in such case , where we debug as Android Application?? Here i try to debug the full source tree running DDMS on another terminal (standalone!) So i assumed adding the com.**.ddms in workspace will solve the problem !! * If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700* On the other side i have tried this as well, but it needs to set SDKtools location and all So am kinda lost now - (debugging IM application).. My workspace looks like this now FYR ( http://i35.tinypic.com/5d1ehi.png) or me again wrong? Thanks and sorry for the trouble Steve On Sat, Dec 6, 2008 at 11:01 PM, Xavier Ducrohet x...@google.com wrote: I want to debug an android application built with the SDK say (IM).. I think my understanding also wrong (sorry for being noobish),let me summarize the steps needed for debugging... 1.Latest source code compiled succesfully with a working emulator. 2.ddms plugin added in eclipse. 3.lauch DDMS and emulator in separate terminals !! ? 4.connect using 8700 port (*considering my break point is in ImApp.java !!!) There is a big confusion on what step 2 is. From the beginning we helped you open and compile the _source_code_ for the adt/ddms plug-ins. What you needed was to _install_ the plugin (which is called ADT but includes DDMS as well). See instruction here: http://code.google.com/android/intro/installing.html#installingplugin If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700. Now, I do not know why you can't seem to run the standalone DDMS. It looks like your linux installation is weird. Xav --~--~-~--~~~---~--~~ 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: Eclipse Error while adding ddms
Yes,Ralf, actually i got confused with documentation at 2 different places. Thanks Steve On Sun, Dec 7, 2008 at 11:39 PM, Ralf [EMAIL PROTECTED] wrote: The bottom line for all this if that you never really needed to build the Eclipse plugin or DDMS yourself. You could just have used the one from the Android 1.0 SDK r1 or r2 (in the tools directory). As it is right now, the SDK tools work the same as the ones from git. As Xav stated, the only reason one would want to rebuild the plugin or the standalone DDMS is to make changes to them. R/ On Sat, Dec 6, 2008 at 11:48 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote: Glad to hear you solved your JDK issue. The only reason you would want to add the ddms plugin source code to Eclipse is if you want to work on the plugin itself. To develop/debug application, using the standalone DDMS or _installing_ the plugin inside eclipse is enough. Xav On Sat, Dec 6, 2008 at 11:08 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, Ralf, Now am able to launch DDMS and debug built in apps, pblm was with my JDK. Thanks a lot for your help Steve On Sun, Dec 7, 2008 at 8:13 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, in trouble :( *I am trying to debug existing application. Am usign the full source code downloaded from source.android.com...(not this one http://code.google.com/android/download_list.html -Linux one). I assume ADT plugin is used in such case , where we debug as Android Application?? Here i try to debug the full source tree running DDMS on another terminal (standalone!) So i assumed adding the com.**.ddms in workspace will solve the problem !! If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700 On the other side i have tried this as well, but it needs to set SDKtools location and all So am kinda lost now - (debugging IM application).. My workspace looks like this now FYR ( http://i35.tinypic.com/5d1ehi.png) or me again wrong? Thanks and sorry for the trouble Steve On Sat, Dec 6, 2008 at 11:01 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote: I want to debug an android application built with the SDK say (IM).. I think my understanding also wrong (sorry for being noobish),let me summarize the steps needed for debugging... 1.Latest source code compiled succesfully with a working emulator. 2.ddms plugin added in eclipse. 3.lauch DDMS and emulator in separate terminals !! ? 4.connect using 8700 port (*considering my break point is in ImApp.java !!!) There is a big confusion on what step 2 is. From the beginning we helped you open and compile the _source_code_ for the adt/ddms plug-ins. What you needed was to _install_ the plugin (which is called ADT but includes DDMS as well). See instruction here: http://code.google.com/android/intro/installing.html#installingplugin If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700. Now, I do not know why you can't seem to run the standalone DDMS. It looks like your linux installation is weird. Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
i have downlaoded swt(swt-3.2.2-gtk-linux-x86.ziphttp://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/download.php?dropFile=swt-3.2.2-gtk-linux-x86.zip ) again and replaced libs and jars in lib and framework folder and it seems the error reamins same !!! --- 13:55 E/ddms: shutting down due to uncaught exception 13:55 E/ddms: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.JavaBridge at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874) at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:131) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599) at javax.swing.UIManager.setLookAndFeel(UIManager.java:545) at javax.swing.UIManager.setLookAndFeel(UIManager.java:585) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1334) at javax.swing.UIManager.initialize(UIManager.java:1421) at javax.swing.UIManager.maybeInitialize(UIManager.java:1409) at javax.swing.UIManager.getDefaults(UIManager.java:659) at javax.swing.UIManager.getColor(UIManager.java:701) at org.jfree.chart.JFreeChart.clinit(JFreeChart.java:252) at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:826) at com.android.ddmuilib.HeapPanel.createChart(HeapPanel.java:599) at com.android.ddmuilib.HeapPanel.createControl(HeapPanel.java:371) at com.android.ddmuilib.Panel.createPanel(Panel.java:29) at com.android.ddms.UIThread.createRightPanel(UIThread.java:1227) at com.android.ddms.UIThread.createTopPanel(UIThread.java:982) at com.android.ddms.UIThread.createWidgets(UIThread.java:831) at com.android.ddms.UIThread.runUI(UIThread.java:377) at com.android.ddms.Main.main(Main.java:97) thanks steve On Sat, Dec 6, 2008 at 11:43 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: I am trying to debug IM application.Just to understand the current code flow.. Thanks Steve On Sat, Dec 6, 2008 at 11:28 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: What are you trying to debug? an android application built with the SDK or the ddms plugin? Xav On Fri, Dec 5, 2008 at 7:31 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, Sorry for the confusion let me explain once again. 1.using repo get full source 2.Add project in Eclipse say Myandroid 2.Now add the ddms plugin as we discussed earlier. (i have copied 3 jar files to /libs folder to resolve errors in eclipse) Now am thinking to attach ( mission debug) as per the document (http://source.android.com/using-eclipse) 1. Lauch ddms (/out/host/linux-x86/bin) is this not correct? *throws exception *or is there any other way i can debug !! thanks steve On Sat, Dec 6, 2008 at 8:53 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: I'm a bit confused here. After making the ddms _plugin_ compile in Eclipse, you are launching the standalone version from the sdk... On Fri, Dec 5, 2008 at 7:10 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi guys, Now no erros :) btw now ddms fails to load... :( i have created com.android.ide. eclipse.ddms/libs/ folder and copied the required *.jar files from /out/host/linux-x86/framework/ .. You probably shouldn't have copied them. btw we fixed the scripts so running them will do the proper thing (ie make symlinks so that if you modify them, Eclipse will build the plugin with the newer version). 2. now goto /out/host/linux-x86/bin and ran ./ddms gettign the below exception ! am i missing something again ... - (ddms:12939): Gdk-WARNING **: gdk_window_set_icon_list: icons too large 45:45 E/ddms: shutting down due to uncaught exception 45:45 E/ddms: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.JavaBridge at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788) This is quite surprising. In prebuilt/Linux/swt there is the Linux version of SWT. we selectively take some of those files during the build and put them in out/host/Linux/lib (for the native libs) and out/host/Linux/framework for the jar files. You may want to see what native library/jar you are missing by experiment. For information SWT comes from here: http://archive.eclipse.org/eclipse
[android-developers] Re: Eclipse Error while adding ddms
*I'm a bit confused here. After making the ddms _plugin_ compile in Eclipse, you are launching the standalone version from the sdk...* You mean to say no need to start DDMS separately ! ( if not cannot connect to VM: connection refused error !) *You probably shouldn't have copied them. btw we fixed the scripts so running them will do the proper thing (ie make symlinks so that if you modify them, Eclipse will build the plugin with the newer version).* i have no errors in eclipse now, either with jar files or with compiler compliance. *You may want to see what native library/jar you are missing by experiment. For information SWT comes from here: http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/index.php#swt * i have tried SWT from there(replace- error remains same) .. may i know what else lib/jar need to be tried? *What are you trying to debug? an android application built with the SDK or the ddms plugin?* I want to debug an android application built with the SDK say (IM).. I think my understanding also wrong (sorry for being noobish),let me summarize the steps needed for debugging... 1.Latest source code compiled succesfully with a working emulator. 2.ddms plugin added in eclipse. 3.lauch DDMS and emulator in separate terminals !! ? 4.connect using 8700 port (*considering my break point is in ImApp.java !!!) Please help to correct the steps if am going in wrong direction. Thanks in Advance Steve On Sat, Dec 6, 2008 at 3:48 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: i have downlaoded swt(swt-3.2.2-gtk-linux-x86.ziphttp://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/download.php?dropFile=swt-3.2.2-gtk-linux-x86.zip ) again and replaced libs and jars in lib and framework folder and it seems the error reamins same !!! --- 13:55 E/ddms: shutting down due to uncaught exception 13:55 E/ddms: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.JavaBridge at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874) at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:131) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599) at javax.swing.UIManager.setLookAndFeel(UIManager.java:545) at javax.swing.UIManager.setLookAndFeel(UIManager.java:585) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1334) at javax.swing.UIManager.initialize(UIManager.java:1421) at javax.swing.UIManager.maybeInitialize(UIManager.java:1409) at javax.swing.UIManager.getDefaults(UIManager.java:659) at javax.swing.UIManager.getColor(UIManager.java:701) at org.jfree.chart.JFreeChart.clinit(JFreeChart.java:252) at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:826) at com.android.ddmuilib.HeapPanel.createChart(HeapPanel.java:599) at com.android.ddmuilib.HeapPanel.createControl(HeapPanel.java:371) at com.android.ddmuilib.Panel.createPanel(Panel.java:29) at com.android.ddms.UIThread.createRightPanel(UIThread.java:1227) at com.android.ddms.UIThread.createTopPanel(UIThread.java:982) at com.android.ddms.UIThread.createWidgets(UIThread.java:831) at com.android.ddms.UIThread.runUI(UIThread.java:377) at com.android.ddms.Main.main(Main.java:97) thanks steve On Sat, Dec 6, 2008 at 11:43 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: I am trying to debug IM application.Just to understand the current code flow.. Thanks Steve On Sat, Dec 6, 2008 at 11:28 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: What are you trying to debug? an android application built with the SDK or the ddms plugin? Xav On Fri, Dec 5, 2008 at 7:31 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, Sorry for the confusion let me explain once again. 1.using repo get full source 2.Add project in Eclipse say Myandroid 2.Now add the ddms plugin as we discussed earlier. (i have copied 3 jar files to /libs folder to resolve errors in eclipse) Now am thinking to attach ( mission debug) as per the document (http://source.android.com/using-eclipse) 1. Lauch ddms (/out/host/linux-x86/bin) is this not correct? *throws exception *or is there any other way i can debug !! thanks steve On Sat, Dec 6, 2008 at 8:53 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: I'm a bit confused here. After making the ddms _plugin_ compile
[android-developers] Re: Eclipse Error while adding ddms
Hi Xav, in trouble :( *I am trying to debug existing application. Am usign the full source code downloaded from source.android.com ...(not this one http://code.google.com/android/download_list.html -Linux one). I assume ADT plugin is used in such case , where we debug as Android Application?? Here i try to debug the full source tree running DDMS on another terminal (standalone!) So i assumed adding the com.**.ddms in workspace will solve the problem !! * If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700* On the other side i have tried this as well, but it needs to set SDKtools location and all So am kinda lost now - (debugging IM application).. My workspace looks like this now FYR (http://i35.tinypic.com/5d1ehi.png) or me again wrong? Thanks and sorry for the trouble Steve On Sat, Dec 6, 2008 at 11:01 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote: I want to debug an android application built with the SDK say (IM).. I think my understanding also wrong (sorry for being noobish),let me summarize the steps needed for debugging... 1.Latest source code compiled succesfully with a working emulator. 2.ddms plugin added in eclipse. 3.lauch DDMS and emulator in separate terminals !! ? 4.connect using 8700 port (*considering my break point is in ImApp.java !!!) There is a big confusion on what step 2 is. From the beginning we helped you open and compile the _source_code_ for the adt/ddms plug-ins. What you needed was to _install_ the plugin (which is called ADT but includes DDMS as well). See instruction here: http://code.google.com/android/intro/installing.html#installingplugin If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700. Now, I do not know why you can't seem to run the standalone DDMS. It looks like your linux installation is weird. Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
Hi Xav, Ralf, Now am able to launch DDMS and debug built in apps, pblm was with my JDK. Thanks a lot for your help Steve On Sun, Dec 7, 2008 at 8:13 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, in trouble :( *I am trying to debug existing application. Am usign the full source code downloaded from source.android.com ...(not this one http://code.google.com/android/download_list.html -Linux one). I assume ADT plugin is used in such case , where we debug as Android Application?? Here i try to debug the full source tree running DDMS on another terminal (standalone!) So i assumed adding the com.**.ddms in workspace will solve the problem !! * If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700* On the other side i have tried this as well, but it needs to set SDKtools location and all So am kinda lost now - (debugging IM application).. My workspace looks like this now FYR (http://i35.tinypic.com/5d1ehi.png) or me again wrong? Thanks and sorry for the trouble Steve On Sat, Dec 6, 2008 at 11:01 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote: I want to debug an android application built with the SDK say (IM).. I think my understanding also wrong (sorry for being noobish),let me summarize the steps needed for debugging... 1.Latest source code compiled succesfully with a working emulator. 2.ddms plugin added in eclipse. 3.lauch DDMS and emulator in separate terminals !! ? 4.connect using 8700 port (*considering my break point is in ImApp.java !!!) There is a big confusion on what step 2 is. From the beginning we helped you open and compile the _source_code_ for the adt/ddms plug-ins. What you needed was to _install_ the plugin (which is called ADT but includes DDMS as well). See instruction here: http://code.google.com/android/intro/installing.html#installingplugin If you can run Eclipse with the ADT plugin, you don't need to run the standalone DDMS. Go to the DDMS perspective in Eclipse, and select your running application in the Device view, and then select to port 8700. Now, I do not know why you can't seem to run the standalone DDMS. It looks like your linux installation is weird. Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
Hi Ralf, Thanks again.. 1. Ran create_ddms_symlink.sh 2.In eclipse File - import-plugins and fragments -plugin location .../development/tools/eclipse/plugins..ide.eclipse.ddms 3.Added plugin succesfully 4.gettign the below error... :( am i doing something really stupid !! :( (*in the doc says add 3 project(ddmlib,ddmulib,app) for ddms y is it so ?) Severity and DescriptionPathResourceLocationCreation Time Id Project com.android.ide.eclipse.ddms is missing required library: 'libs/jcommon-1.0.12.jar'com.android.ide.eclipse.ddmsBuild path122846629620265174 Project com.android.ide.eclipse.ddms is missing required library: 'libs/jfreechart-1.0.9-swt.jar'com.android.ide.eclipse.ddmsBuild path122846629620365175 Project com.android.ide.eclipse.ddms is missing required library: 'libs/jfreechart-1.0.9.jar'com.android.ide.eclipse.ddmsBuild path122846629620265173 -- On Fri, Dec 5, 2008 at 12:53 PM, Ralf [EMAIL PROTECTED] wrote: Make sure to run development/tools/eclipse/script/create_ddms_symlink.sh and then only import the ddms-plugin project (from dev/tools/eclipse/plugins/com.android.blah.ddms) in Eclipse. You don't need the ddmlib and ddmuilib projects in Eclipse for ADT because they are symlinked under the plugin/ddmsdirectory. R/ On Thu, Dec 4, 2008 at 11:18 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, Thank you, Now am clear with few of the errors(compiler compliance). I have synced to latest source, and for ddms i have added 3 projects(ddmlib,dddmuilib and app) by new project-new java project- browse to development/tools/ddms now remained with Button/clipboard/color/composite/combo cannot be resolved !! How can i add SWT in the dependencies? and this is a ddmuilib project (/development/tools/ddms/lib..) can you help me to resolve the above? regards steve On Thu, Dec 4, 2008 at 11:59 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 8:46 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi , That error gone, i separately executed all the scripts... Now few more errors are like assert cannot be resolved client.java ddmlib/src/com/android/ddmlib Can you make sure you are setup with compiler compliance level 5.0? I looks like you're building in 1.4 or lower... Button cannot be resolved to a type AllocationPanel.java ddmuilib/src/com/android/ddmuilib This would mean you don't have SWT in the dependencies. Is this in the ddms plugin project or in the ddmuilib project? Can only iterate over an array or an instance of java.lang.iterable AndroidDebugBrigde.javaddmlib/src/com/android/ddmlib This is probably a compiler level issue too. Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
Hi guys, Now no erros :) btw now ddms fails to load... :( i have created com.android.ide. eclipse.ddms/libs/ folder and copied the required *.jar files from /out/host/linux-x86/framework/ .. 2. now goto /out/host/linux-x86/bin and ran ./ddms gettign the below exception ! am i missing something again ... - (ddms:12939): Gdk-WARNING **: gdk_window_set_icon_list: icons too large 45:45 E/ddms: shutting down due to uncaught exception 45:45 E/ddms: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.JavaBridge at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874) at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:131) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599) at javax.swing.UIManager.setLookAndFeel(UIManager.java:545) at javax.swing.UIManager.setLookAndFeel(UIManager.java:585) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1334) at javax.swing.UIManager.initialize(UIManager.java:1421) at javax.swing.UIManager.maybeInitialize(UIManager.java:1409) at javax.swing.UIManager.getDefaults(UIManager.java:659) at javax.swing.UIManager.getColor(UIManager.java:701) at org.jfree.chart.JFreeChart.clinit(JFreeChart.java:252) at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:826) at com.android.ddmuilib.HeapPanel.createChart(HeapPanel.java:599) at com.android.ddmuilib.HeapPanel.createControl(HeapPanel.java:371) at com.android.ddmuilib.Panel.createPanel(Panel.java:29) at com.android.ddms.UIThread.createRightPanel(UIThread.java:1227) at com.android.ddms.UIThread.createTopPanel(UIThread.java:982) at com.android.ddms.UIThread.createWidgets(UIThread.java:831) at com.android.ddms.UIThread.runUI(UIThread.java:377) at com.android.ddms.Main.main(Main.java:97) thanks steve On Fri, Dec 5, 2008 at 11:59 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote: Hello, First, you do not need to open the ddmlib, ddmuilib, ddms projects that are in development/tools/ddms. Those are the libraries and standalone ddms application. The create_ddms_symlinks mentioned by Ralf will link the libraries to the real plugin project. It looks like the symlinks creation fails if development/tools/eclipse/plugins/com.android.ide.eclipse.ddms/libs/ does not exists. This is where your missing libraries should be located. We'll fix the script shortly. In the mean time create the libs directory manually and reren create_ddms_symlinks.sh. thanks Xav On Fri, Dec 5, 2008 at 12:47 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Ralf, Thanks again.. 1. Ran create_ddms_symlink.sh 2.In eclipse File - import-plugins and fragments -plugin location .../development/tools/eclipse/plugins..ide.eclipse.ddms 3.Added plugin succesfully 4.gettign the below error... :( am i doing something really stupid !! :( (*in the doc says add 3 project(ddmlib,ddmulib,app) for ddms y is it so ?) Severity and DescriptionPathResourceLocationCreation Time Id Project com.android.ide.eclipse.ddms is missing required library: 'libs/jcommon-1.0.12.jar'com.android.ide.eclipse.ddmsBuild path122846629620265174 Project com.android.ide.eclipse.ddms is missing required library: 'libs/jfreechart-1.0.9-swt.jar'com.android.ide.eclipse.ddms Build path122846629620365175 Project com.android.ide.eclipse.ddms is missing required library: 'libs/jfreechart-1.0.9.jar'com.android.ide.eclipse.ddmsBuild path122846629620265173 -- On Fri, Dec 5, 2008 at 12:53 PM, Ralf [EMAIL PROTECTED] wrote: Make sure to run development/tools/eclipse/script/create_ddms_symlink.sh and then only import the ddms-plugin project (from dev/tools/eclipse/plugins/com.android.blah.ddms) in Eclipse. You don't need the ddmlib and ddmuilib projects in Eclipse for ADT because they are symlinked under the plugin/ddmsdirectory. R/ On Thu, Dec 4, 2008 at 11:18 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, Thank you, Now am clear with few of the errors(compiler compliance). I have synced to latest source, and for ddms i have added 3 projects(ddmlib,dddmuilib and app) by new project-new java project- browse to development/tools/ddms
[android-developers] Re: Eclipse Error while adding ddms
I am trying to debug IM application.Just to understand the current code flow.. Thanks Steve On Sat, Dec 6, 2008 at 11:28 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: What are you trying to debug? an android application built with the SDK or the ddms plugin? Xav On Fri, Dec 5, 2008 at 7:31 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, Sorry for the confusion let me explain once again. 1.using repo get full source 2.Add project in Eclipse say Myandroid 2.Now add the ddms plugin as we discussed earlier. (i have copied 3 jar files to /libs folder to resolve errors in eclipse) Now am thinking to attach ( mission debug) as per the document (http://source.android.com/using-eclipse) 1. Lauch ddms (/out/host/linux-x86/bin) is this not correct? *throws exception *or is there any other way i can debug !! thanks steve On Sat, Dec 6, 2008 at 8:53 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: I'm a bit confused here. After making the ddms _plugin_ compile in Eclipse, you are launching the standalone version from the sdk... On Fri, Dec 5, 2008 at 7:10 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi guys, Now no erros :) btw now ddms fails to load... :( i have created com.android.ide. eclipse.ddms/libs/ folder and copied the required *.jar files from /out/host/linux-x86/framework/ .. You probably shouldn't have copied them. btw we fixed the scripts so running them will do the proper thing (ie make symlinks so that if you modify them, Eclipse will build the plugin with the newer version). 2. now goto /out/host/linux-x86/bin and ran ./ddms gettign the below exception ! am i missing something again ... - (ddms:12939): Gdk-WARNING **: gdk_window_set_icon_list: icons too large 45:45 E/ddms: shutting down due to uncaught exception 45:45 E/ddms: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.JavaBridge at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788) This is quite surprising. In prebuilt/Linux/swt there is the Linux version of SWT. we selectively take some of those files during the build and put them in out/host/Linux/lib (for the native libs) and out/host/Linux/framework for the jar files. You may want to see what native library/jar you are missing by experiment. For information SWT comes from here: http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/index.php#swt Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
Hi Xav, Thank you, Now am clear with few of the errors(compiler compliance). I have synced to latest source, and for ddms i have added 3 projects(ddmlib,dddmuilib and app) by new project-new java project- browse to development/tools/ddms now remained with Button/clipboard/color/composite/combo cannot be resolved !! How can i add SWT in the dependencies? and this is a ddmuilib project (/development/tools/ddms/lib..) can you help me to resolve the above? regards steve On Thu, Dec 4, 2008 at 11:59 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 8:46 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi , That error gone, i separately executed all the scripts... Now few more errors are like assert cannot be resolved client.java ddmlib/src/com/android/ddmlib Can you make sure you are setup with compiler compliance level 5.0? I looks like you're building in 1.4 or lower... Button cannot be resolved to a type AllocationPanel.java ddmuilib/src/com/android/ddmuilib This would mean you don't have SWT in the dependencies. Is this in the ddms plugin project or in the ddmuilib project? Can only iterate over an array or an instance of java.lang.iterable AndroidDebugBrigde.javaddmlib/src/com/android/ddmlib This is probably a compiler level issue too. Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how can i detect my g-phone on the PC via USB?
if its 32 bit you can try this http://dl.google.com/android/android_usb_windows.zip On Tue, Dec 2, 2008 at 4:35 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everybody... ...thanks for the great job you are doing lately I have a question that is driving me crazy. .how can i detect my g-phone on the PC via USB?... By the way, i have Windows Vista.and i saw some answers on other forums answering like i had XPbut i don't. Please help me out soon as you can Angelo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Eclipse Error while adding ddms
Hi All, When ever i try to add ddms projects(app,ddmlib and ddmuilib) to eclipse am getting the many errors, eg : project app missing required java project : 'AndroidPrefs' project app missing required java project : 'PingService' and hence ending with lots errors everywhere, am i need to edit something in .classpath file? Any help appreciated. Thanks Steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
Thank you Xav, When i try to execute create_all_symlinks.sh gives Error: Please execute this from the device/tools/eclipse/script directory which couldn't find :( *create_ddms_symlinks.sh and couple of others works fine , any thoughts? regards steve On Thu, Dec 4, 2008 at 7:52 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: Actually, you need to go into development/tools/eclipse/scripts and run ./create_all_symlinks.sh This will prebuild some libraries (like androidprefs.jar ping.jar, as well as others), and make them available to the plugin projects. Adding the projects to your plugin projects will not work as the jar will be missing when the plugin is packaged. Unfortunately we just realized that this is broken in the git repository. We'll be fixing this shortly. Xav On Wed, Dec 3, 2008 at 6:14 PM, Ralf [EMAIL PROTECTED] wrote: You need to add the AndroidPrefs and PingService as projects to your workspace or add their source to your classpath. You can find them in git under development/tools/. R/ On Wed, Dec 3, 2008 at 5:51 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi All, When ever i try to add ddms projects(app,ddmlib and ddmuilib) to eclipse am getting the many errors, eg : project app missing required java project : 'AndroidPrefs' project app missing required java project : 'PingService' and hence ending with lots errors everywhere, am i need to edit something in .classpath file? Any help appreciated. Thanks Steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
Hi , That error gone, i separately executed all the scripts... Now few more errors are like assert cannot be resolved client.java ddmlib/src/com/android/ddmlib Button cannot be resolved to a type AllocationPanel.java ddmuilib/src/com/android/ddmuilib Can only iterate over an array or an instance of java.lang.iterable AndroidDebugBrigde.javaddmlib/src/com/android/ddmlib Anyone faced? Thanks Steve On Thu, Dec 4, 2008 at 9:22 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Thank you Xav, When i try to execute create_all_symlinks.sh gives Error: Please execute this from the device/tools/eclipse/script directory which couldn't find :( *create_ddms_symlinks.sh and couple of others works fine , any thoughts? regards steve On Thu, Dec 4, 2008 at 7:52 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: Actually, you need to go into development/tools/eclipse/scripts and run ./create_all_symlinks.sh This will prebuild some libraries (like androidprefs.jar ping.jar, as well as others), and make them available to the plugin projects. Adding the projects to your plugin projects will not work as the jar will be missing when the plugin is packaged. Unfortunately we just realized that this is broken in the git repository. We'll be fixing this shortly. Xav On Wed, Dec 3, 2008 at 6:14 PM, Ralf [EMAIL PROTECTED] wrote: You need to add the AndroidPrefs and PingService as projects to your workspace or add their source to your classpath. You can find them in git under development/tools/. R/ On Wed, Dec 3, 2008 at 5:51 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi All, When ever i try to add ddms projects(app,ddmlib and ddmuilib) to eclipse am getting the many errors, eg : project app missing required java project : 'AndroidPrefs' project app missing required java project : 'PingService' and hence ending with lots errors everywhere, am i need to edit something in .classpath file? Any help appreciated. Thanks Steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse Error while adding ddms
Hi Ralf, A running ubuntu on virtual machine.. ubuntu 8.04 Eclipse 3.4(ganymede) Java - sun-java6-jdk Thanks again steve On Thu, Dec 4, 2008 at 10:52 AM, Ralf [EMAIL PROTECTED] wrote: Hmm interesting, would you please be able to indicate: - Your host platform: linux, mac, windows - Your version of Eclispe and java? I'll see if I can reproduce it. Thanks in advance, R/ On Wed, Dec 3, 2008 at 8:46 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi , That error gone, i separately executed all the scripts... Now few more errors are like assert cannot be resolved client.java ddmlib/src/com/android/ddmlib Button cannot be resolved to a type AllocationPanel.java ddmuilib/src/com/android/ddmuilib Can only iterate over an array or an instance of java.lang.iterable AndroidDebugBrigde.javaddmlib/src/com/android/ddmlib Anyone faced? Thanks Steve On Thu, Dec 4, 2008 at 9:22 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Thank you Xav, When i try to execute create_all_symlinks.sh gives Error: Please execute this from the device/tools/eclipse/script directory which couldn't find :( *create_ddms_symlinks.sh and couple of others works fine , any thoughts? regards steve On Thu, Dec 4, 2008 at 7:52 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: Actually, you need to go into development/tools/eclipse/scripts and run ./create_all_symlinks.sh This will prebuild some libraries (like androidprefs.jar ping.jar, as well as others), and make them available to the plugin projects. Adding the projects to your plugin projects will not work as the jar will be missing when the plugin is packaged. Unfortunately we just realized that this is broken in the git repository. We'll be fixing this shortly. Xav On Wed, Dec 3, 2008 at 6:14 PM, Ralf [EMAIL PROTECTED] wrote: You need to add the AndroidPrefs and PingService as projects to your workspace or add their source to your classpath. You can find them in git under development/tools/. R/ On Wed, Dec 3, 2008 at 5:51 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi All, When ever i try to add ddms projects(app,ddmlib and ddmuilib) to eclipse am getting the many errors, eg : project app missing required java project : 'AndroidPrefs' project app missing required java project : 'PingService' and hence ending with lots errors everywhere, am i need to edit something in .classpath file? Any help appreciated. Thanks Steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Plz help me getting solution for the below problem
http://groups.google.com/group/android-beginners/browse_thread/thread/0ababd5e40398e49/fbdd321643bf48e1?pli=1 On Wed, Nov 26, 2008 at 11:08 AM, suhail ahmed [EMAIL PROTECTED] wrote: Hi Micheal, Thanks for your concern, #1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it would be better if you could point me to some example of such an application written in java which works on android #2 browser doesnot connect to internet by default, i am getting network error when i am trying to access www.google.com through android browser. (for your information , my host is within a firewall protected by proxy server) . is there any way to connect android emulator to internet in this scenario. regards Suhail On Tue, Nov 25, 2008 at 11:22 PM, Michael [EMAIL PROTECTED] wrote: #2 happens by default, there's no special configuration. As for #1, what is chunk data? Most networking operations in Android are done the same as in Java, with the Socket library. For displaying data, why not look at the example applications included in the source code, as well as the tutorial? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Maximum Size of Libs Can be loaded
Moved and apologies. On Thu, Nov 20, 2008 at 1:53 PM, Dianne Hackborn [EMAIL PROTECTED]wrote: Could you please take non-SDK discussion over to one of the platform groups such as android-platform? Thanks. On Wed, Nov 19, 2008 at 9:11 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi All, I am still on with some experiments with JNI, Now i have an *.so like 200kb in size, but it fails to load, but upto some 15kb its loading. Is there any size limitaions(as of now) for the *.so's ?? Any clues Thanks in Advance Steve -- Dianne Hackborn [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Maximum Size of Libs Can be loaded
Hi All, I am still on with some experiments with JNI, Now i have an *.so like 200kb in size, but it fails to load, but upto some 15kb its loading. Is there any size limitaions(as of now) for the *.so's ?? Any clues Thanks in Advance Steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Deployment of native C library
tried adb remount ? This also will not work? oops that will be sad :(,coz i also have one to go not yet ready :D On Mon, Nov 17, 2008 at 2:38 PM, hackbod [EMAIL PROTECTED] wrote: Sorry, currently native code is not supported in the SDK. On Nov 16, 8:05 pm, adlaiti [EMAIL PROTECTED] wrote: I have a Java application that uses JNI to call a native C library (.so). This application works fine with an older version of the SDK and emulator. The library was copied to folder /system/lib on the emulator. With the current version of the emulator, that comes with Android 1.0 SDK, the folder /system/lib appears to be read-only. The message Read- only file system appears when attempting to copy the library to /system/lib. Placing a folder location in System.loadLibrary does not work; for example, System.loadLibrary(/data/misc/myCLib). Here are my questions: Is there a way to deploy my native C library to /system/lib? If not, is there some other folder that I can deploy to where loadLibrary will see it? I am using Eclipse and Ubuntu. -Aaron --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Nested UI
Hi All, Is it possible for to implement a nested layout(like explore (+E) in windows)? Eg:I have a button in my application , when i click that button it should open 2 child's to bottom +--+ | + + something like above :D If yes any clues? Thanks steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: [EMAIL PROTECTED]
I think you have to copy the one previously present (backup) On Thu, Nov 13, 2008 at 5:13 PM, sush [EMAIL PROTECTED] wrote: Hi, I want to test applications using the Instrumentation class that is provided by Android Framework itself. I tried with the sample Tests that are in the SDK following the steps in the following link : http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html But I am stuck in the step ( while copying the AndroidManifest.xml ) whether we have to copy the AndroidManifest.xml of the original ApiDemos Project or the AndroidManifest.xml file that is in the test folder of the samples folder in the SDK. If I copy the ManifestFile of the test folder from the samples of the SDK I see an error in ApiDemosTests project but no indication as what is that error and I am not able to run the project as well from the package explorer of my Eclipse. Please help in this. Thanks in advance. Susama --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to open the keyboard in emulator?
Great ! That works Thanks Shadow On Sat, Nov 8, 2008 at 7:33 PM, Android Shadow [EMAIL PROTECTED] wrote: Hi firewallbreak, I think I find the answer. the emulator can only support sms input when the phone lying down. you can use CTRL + F11 or num pad 7 to do it. B.R. Shadow On Nov 8, 12:39 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, Am also facing the same problem, how to make the keyboard working for composing an sms? Thanks steve On Nov 7, 12:28 pm, Android Shadow [EMAIL PROTECTED] wrote: Hi all, when I trying to use the short message feature in emulator, I found I cannot input anything. openkeyboardto compose message is shown on the display. It looks like thekeyboardhas not been enabled. Could you help me to know how to enable thekeyboard? Thanks B.R. Shadow --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---