[android-beginners] Re: Samsung i7500 skin now available for Android Emulator!
Hi Tea Vui Huang, Thanks for your post. But please let me know How we can run Samsung i7500 with (android-sdk-windows-1.0_r2) ? Thanks in advance. Gulfam On May 7, 1:03 am, Tea Vui Huang tvhuangs...@gmail.com wrote: Samsung i7500 skin now available for Android Emulator!http://teavuihuang.com/android To install, download and unzip HVGA-P-i7500.zip to the Android skin directory, e.g. C:\android-sdk-windows-0.9_beta\tools\lib\images \skins. To run the Android emulator with this HTC skin, enter this on the command line: emulator -skin HVGA-P-i7500. Tea Vui Huang's Android Page [The No.1 website for Google Android Emulator Skins] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Linux Kernel with SDK 1.5
Thanks! :) On 6 Mag, 17:02, Sean Hodges seanhodge...@googlemail.com wrote: The kernel version can be found in the .repo/manifests/default.xml in the corresponding SDK. 1.0 = 2.6.25 1.5 (current) = 2.6.27 Cupcake = 2.6.30-rc4 (pulled from latest kernel/common tree) On May 6, 2009 3:25 PM, ja...@work jamai5...@gmail.com wrote: Hi to everybody :) I didn't understand which version of linux kernel (modified) is it used by Android. I think it was 2.6.25linux kernel for Android 1.0 what about now? sorry if it's a stupid question, but i can't find it in the site... Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Create AVD on a Mac
The ./android dit the trick. Thanks! On May 7, 12:30 am, Josiah josiahlcarl...@gmail.com wrote: Try these commands:http://groups.google.com/group/android-beginners/browse_thread/thread... Turns out that ./android is pretty important. Why the documentation leaves it out (even if it may be obvious to some) I'll never understand. Hope that helps. -Josiah On May 6, 12:21 pm, JArkelen johnvanarke...@gmail.com wrote: Hi, When is send the command android list targets in terminal on the mac (I am in the tools folder), then it returns command not found. Any idea why this happens? Cheers, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Samsung i7500 skin now available for Android Emulator!
Hi, How i can run it form IDE like eclips? Gulfam On May 7, 2:18 pm, Gulfam gulfa...@gmail.com wrote: Hi Tea Vui Huang, Thanks for your post. But please let me know How we can run Samsung i7500 with (android-sdk-windows-1.0_r2) ? Thanks in advance. Gulfam On May 7, 1:03 am, Tea Vui Huang tvhuangs...@gmail.com wrote: Samsung i7500 skin now available for Android Emulator!http://teavuihuang.com/android To install, download and unzip HVGA-P-i7500.zip to the Android skin directory, e.g. C:\android-sdk-windows-0.9_beta\tools\lib\images \skins. To run the Android emulator with this HTC skin, enter this on the command line: emulator -skin HVGA-P-i7500. Tea Vui Huang's Android Page [The No.1 website for Google Android Emulator Skins] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk
Same problem for me. Neither the commandline switch -http-proxy nor changing the sql database. The only thing that worked was Settings - Wireless controls - Mobile networks - Access Point as mentioned on yyour suggested solution. I think the emulator should be fixed, especially as the doc suggests using -htt-proxy. Additionally the dog suggests to use the switch -verbose-proxy , which doesn't work. On May 6, 1:36 pm, Fabien Marchewka fura...@gmail.com wrote: solution here :http://groups.google.com/group/android-developers/browse_thread/threa... work for me. But it will be fine to correct the error with -http-proxy On 5 mai, 18:23, David Turner di...@android.com wrote: 2009/5/5 stevensli stevens...@gmail.com The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't deal very well with certain networking setups at the moment due to changes in its socket code that happened between 1.1 and 1.5. I suspect some interaction with the IPv6 localhost and a few other things. I could be wrong though, but I'll investigate. On May 5, 11:50 pm, David Turner di...@android.com wrote: thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote: The -http-proxy works fine for emulator with 1.1r1 sdk, but not work for emulator with 1.5r1 sdk. I use those emulator on the same development computer. The following is debug info: D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy 127.0.0.1:58 65 -debug-proxy proxy_http_setup: creating http proxy service connecting to: 127.0.0.1:5865 server name '127.0.0.1' resolved to 127.0.0.1:5865 proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): ' ' http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Emulator - android 1.5
Hi to everybody Yesterday I got the source code ($ repo init, $repo sync) and I did a $ make. Now I would like to see what I build. how can I launch an emulator? how does it work? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk
2009/5/7 a druid klausf...@gmail.com I think the emulator should be fixed, especially as the doc suggests using -htt-proxy. Absolutely, and I'm working on it, I was just clarifying that the incorrect TCP checksums cannot be caused by the emulator. Additionally the dog suggests to use the switch -verbose-proxy , which doesn't work. it's -debug-proxy On May 6, 1:36 pm, Fabien Marchewka fura...@gmail.com wrote: solution here : http://groups.google.com/group/android-developers/browse_thread/threa... work for me. But it will be fine to correct the error with -http-proxy On 5 mai, 18:23, David Turner di...@android.com wrote: 2009/5/5 stevensli stevens...@gmail.com The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't deal very well with certain networking setups at the moment due to changes in its socket code that happened between 1.1 and 1.5. I suspect some interaction with the IPv6 localhost and a few other things. I could be wrong though, but I'll investigate. On May 5, 11:50 pm, David Turner di...@android.com wrote: thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote: The -http-proxy works fine for emulator with 1.1r1 sdk, but not work for emulator with 1.5r1 sdk. I use those emulator on the same development computer. The following is debug info: D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy 127.0.0.1:58 65 -debug-proxy proxy_http_setup: creating http proxy service connecting to: 127.0.0.1:5865 server name '127.0.0.1' resolved to 127.0.0.1:5865 proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): ' ' http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error http_service_connect: trying to connect to 64.233.189.104:80 http_service_connect: using HTTP rewriter tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Emulator launch error in HelloAndroid tutorial
I get the following error in attempting to run the HelloAndroid tutorial: Failed to find an AVD compatible with target 'Android 1.5', Launch aborted I have read the documention and the emails in re this problem, and I see the fix is to create an AVD by opening a terminal window and typing android create avd --target 1--name myavd however I cannot figure out how to open a terminal window in Windows Vista -- Dennis Christy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
You want the command prompt in Windows. Try typing cmd into the launch box in the start menu. On Thu, May 7, 2009 at 1:12 PM, Dennis Christy dennischri...@gmail.com wrote: I get the following error in attempting to run the HelloAndroid tutorial: Failed to find an AVD compatible with target 'Android 1.5', Launch aborted I have read the documention and the emails in re this problem, and I see the fix is to create an AVD by opening a terminal window and typing android create avd --target 1--name myavd however I cannot figure out how to open a terminal window in Windows Vista -- Dennis Christy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
Hi, To open a terminal in Windows Vista: Click on Start button and type on the text area next command: cmd The cmd open the terminal Cheers. 2009/5/7 Dennis Christy dennischri...@gmail.com I get the following error in attempting to run the HelloAndroid tutorial: Failed to find an AVD compatible with target 'Android 1.5', Launch aborted I have read the documention and the emails in re this problem, and I see the fix is to create an AVD by opening a terminal window and typing android create avd --target 1--name myavd however I cannot figure out how to open a terminal window in Windows Vista -- Dennis Christy -- Un saludo. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
I'm sorry, I did not explain my problem completely. I just want to create the AVD so I can run the tutorial. Opening the terminal window in Vista does not allow me to type in the create avd command, even though I have changed the directory to the tools directory in the sdk. It tells me it cannot run a Java app. I just want to create the AVD in whatever way I can. How do I do it? On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo mlo...@gmail.com wrote: Hi, To open a terminal in Windows Vista: Click on Start button and type on the text area next command: cmd The cmd open the terminal Cheers. 2009/5/7 Dennis Christy dennischri...@gmail.com I get the following error in attempting to run the HelloAndroid tutorial: Failed to find an AVD compatible with target 'Android 1.5', Launch aborted I have read the documention and the emails in re this problem, and I see the fix is to create an AVD by opening a terminal window and typing android create avd --target 1--name myavd however I cannot figure out how to open a terminal window in Windows Vista -- Dennis Christy -- Un saludo. -- Dennis Christy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
You may need to set your JAVA_HOME environment variable. What is the exact error you're getting? On Thu, May 7, 2009 at 1:40 PM, Dennis Christy dennischri...@gmail.com wrote: I'm sorry, I did not explain my problem completely. I just want to create the AVD so I can run the tutorial. Opening the terminal window in Vista does not allow me to type in the create avd command, even though I have changed the directory to the tools directory in the sdk. It tells me it cannot run a Java app. I just want to create the AVD in whatever way I can. How do I do it? On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo mlo...@gmail.com wrote: Hi, To open a terminal in Windows Vista: Click on Start button and type on the text area next command: cmd The cmd open the terminal Cheers. 2009/5/7 Dennis Christy dennischri...@gmail.com I get the following error in attempting to run the HelloAndroid tutorial: Failed to find an AVD compatible with target 'Android 1.5', Launch aborted I have read the documention and the emails in re this problem, and I see the fix is to create an AVD by opening a terminal window and typing android create avd --target 1--name myavd however I cannot figure out how to open a terminal window in Windows Vista -- Dennis Christy -- Un saludo. -- Dennis Christy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Get alarms from Alarm Clock application
Hi, Is it possible to access the alarms from the Alarm Clock application, so i can use them in my application? And can I create an alarm in my application, which is visible in the Alarm Clock app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
When I type the following into the cmd prompt: c:\...android-sdk-windows-1.5_r1\toolsandroid It gives me the following message: 'java' is not recognized as an internal or external command, operable program or batch file On Thu, May 7, 2009 at 5:49 AM, Sean Hodges seanhodge...@googlemail.comwrote: You may need to set your JAVA_HOME environment variable. What is the exact error you're getting? On Thu, May 7, 2009 at 1:40 PM, Dennis Christy dennischri...@gmail.com wrote: I'm sorry, I did not explain my problem completely. I just want to create the AVD so I can run the tutorial. Opening the terminal window in Vista does not allow me to type in the create avd command, even though I have changed the directory to the tools directory in the sdk. It tells me it cannot run a Java app. I just want to create the AVD in whatever way I can. How do I do it? On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo mlo...@gmail.com wrote: Hi, To open a terminal in Windows Vista: Click on Start button and type on the text area next command: cmd The cmd open the terminal Cheers. 2009/5/7 Dennis Christy dennischri...@gmail.com I get the following error in attempting to run the HelloAndroid tutorial: Failed to find an AVD compatible with target 'Android 1.5', Launch aborted I have read the documention and the emails in re this problem, and I see the fix is to create an AVD by opening a terminal window and typing android create avd --target 1--name myavd however I cannot figure out how to open a terminal window in Windows Vista -- Dennis Christy -- Un saludo. -- Dennis Christy -- Dennis Christy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to I use touch screen to draw a straight line
Something I've wanted to know is if he does as you say and makes the custom view static or it's own java file, how does he access the x and y variables to know where to draw the line? On Apr 15, 4:39 pm, Raphael r...@android.com wrote: Note that if you want you can use your custom view directly in your XML file, without having to manually add it to the layout at runtime. To do that: - declare your view as a static class or in it's separate java file, let's say mypackage.DrawPoints.Mems - write something like this in your XML: LinearLayout ...attributes... mypackage.DrawPoints.Mems android:layout_width=fill_parent android:layout_height=fill_parent / /LinearLayout --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: WebView Issue
Thanks a lot :) On May 6, 4:03 pm, Mark Murphy mmur...@commonsware.com wrote: glory wrote: hi, loadDataWithBaseURL() method was woking well in the previous version i.e 1.1 but when I migrated to 1.5, in webview it showed only blank screen. Download the source code to my introductory book: http://commonsware.com/Android/ The WebKit/Browser3 application shows the use of loadDataWithBaseURL(), and it works fine for me on the Android 1.5 emulator, with the emulator running a target-3 AVD and the project built for either target-1 or target-2. Also in the API doc it is mentioned that WebView is depricated. That's a documentation bug, previously reported. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Problem to show a button below a scrollview
Hi guys and first of all thanks for reading me :) What I want to do is to display a button that is always visible on the bottom of my view. The problem is that my scrollview is going all through the end of the screen. Therefore my button is hiding the last items of my scroll view. Here is my current layout : ?xml version=1.0 encoding=utf-8? RelativeLayout android:id=@+id/RelativeLayout01 android:layout_width=fill_parent android:layout_height=fill_parent xmlns:android=http://schemas.android.com/apk/res/android; LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/ChooseURView android:layout_alignParentTop=true TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=@string/ChooseCriterias android:textColor=@color/White android:gravity=center_horizontal android:layout_gravity=center_horizontal/ View android:layout_width=fill_parent android:layout_height=2dip android:background=#FF / ScrollView android:layout_height=wrap_content android:layout_width=fill_parent android:id=@+id/SearchSV android:scrollbarTrackVertical=@drawable/scrollbar_vertical_track android:scrollbarThumbVertical=@drawable/scrollbar_vertical_thumb/ /LinearLayout RelativeLayout android:id=@+id/footer android:layout_width=fill_parent android:layout_height=wrap_content android:layout_alignParentBottom=true View android:layout_width=fill_parent android:layout_height=2dip android:background=#FF / Button android:id=@+id/searchButton android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/SubmitSearch / /RelativeLayout /RelativeLayout Could someone help me find my mistake ? Thanks a lot ! Geoffrey Chavepeyer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Problem to show a button below a scrollview
Hi Chavepeyer, Try change the android:layout_height=fill_parent of your first RelativeLayout to an value in pixels. Example: android:layout_height= 250px Att, Junior On Thu, May 7, 2009 at 12:09 PM, Chavepeyer Geoffrey gchavepe...@gmail.comwrote: Hi guys and first of all thanks for reading me :) What I want to do is to display a button that is always visible on the bottom of my view. The problem is that my scrollview is going all through the end of the screen. Therefore my button is hiding the last items of my scroll view. Here is my current layout : ?xml version=1.0 encoding=utf-8? RelativeLayout android:id=@+id/RelativeLayout01 android:layout_width=fill_parent android:layout_height=fill_parent xmlns:android=http://schemas.android.com/apk/res/android; LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/ChooseURView android:layout_alignParentTop=true TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=@string/ChooseCriterias android:textColor=@color/White android:gravity=center_horizontal android:layout_gravity=center_horizontal/ View android:layout_width=fill_parent android:layout_height=2dip android:background=#FF / ScrollView android:layout_height=wrap_content android:layout_width=fill_parent android:id=@+id/SearchSV android:scrollbarTrackVertical=@drawable/scrollbar_vertical_track android:scrollbarThumbVertical=@drawable/scrollbar_vertical_thumb/ /LinearLayout RelativeLayout android:id=@+id/footer android:layout_width=fill_parent android:layout_height=wrap_content android:layout_alignParentBottom=true View android:layout_width=fill_parent android:layout_height=2dip android:background=#FF / Button android:id=@+id/searchButton android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/SubmitSearch / /RelativeLayout /RelativeLayout Could someone help me find my mistake ? Thanks a lot ! Geoffrey Chavepeyer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Itens Checked in a ListView
Hi people! What the best form to get the itens checked in a ListView? Tanks a lot! Junior Einsfeld --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Testing on Devices and Networks
In Preparing to Publish in the Dev Guide, it speaks of testing on the device and the network you want your application to work on. Don't I want my application most probably to work on every device and network? And aren't many devices coming out with Android on many different networks both soon and later? And in all sorts of Configurations? So what's the point in testing on a particular device and network? - juan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Get alarms from Alarm Clock application
As far as I know, you are able to do that since the Alarm Clock app doesn't expose those specific intents. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 5:55 am, kaloer mkal...@gmail.com wrote: Hi, Is it possible to access the alarms from the Alarm Clock application, so i can use them in my application? And can I create an alarm in my application, which is visible in the Alarm Clock app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Eclipse Ganymede Sockets issue
Hi, try : http://dl-ssl.google.com/android/eclipse/ On 6 mai, 19:59, dOlOb detresc...@gmail.com wrote: No repository found athttps://dl-ssl.google.com/android/eclipse/ Error reading update sitehttps://dl-ssl.google.com/android/eclipse/. Unconnected sockets not implemented Not able to add Android to Eclipse --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to record audio in wav format?
and how to record audio using channels 2? who could help me? On Wed, Apr 15, 2009 at 5:50 AM, Dave Sparks davidspa...@android.comwrote: There is no way to record in WAVE format with current version of Android. With the Cupcake SDK, you can record and write your own WAVE file. On Apr 14, 2:13 am, dragonksn dragon...@gmail.com wrote: Dear all, I used to record an audio file in 3gp format and AMR audio encoder by using this portion of code: recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); Can anyone tell me if I can record in wav format? Thanks in advance :) dragonksn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Insmod Modules in Emulator
Hi I have emulator kernel built, and I have my code cross compliled with emulator kernel. I have also enabled the Enable loadable modules setting for this. I want to know , whats the next step. ? Where to I place the .ko file and how to test this? Hope I am clear in my question :-) Thank u in advance BR Deepali --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to start Android emulator 1.5?
Hi, I'm absolute begginer. I did the all things that the tutorial said. And when I start the eumulator in the command prompt i've got an error that I didn't provide name of AVD. I know that the command is emulator -avd name, and what that name should be? Thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Android rss reader
Hello, I am currently developing an RSS reader but can't seem to read any google news rss. I was wondering if their servers blocked any android app trying to read the feed. (Yahoo rss work fine) Does anyone know anything about this ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Camera in emulator
Hi together I’m developing an application that reads QR-codes. I would like to use the zxing-framework 1.3. However, I’m not able to capture the input from my USB-camera in the emulator. What do I have to do in order that my camera works? At the moment I'm using android-sdk 1.1, should I use the new SDK 1.5? Thanks for your help Regards, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Libraries for ARM6 board?
Hi, I'm trying to build V8 for an ARM6 board. V8 has build support for Android, but when I use the Android toolchain to build the v8 library, I get a file is not of required architecture. The V8 folks suggested I ask this question here. The V8 folks also suggested that I try to build a simple hello world library first, with the Android toolchain. Here's how I'm doing it: $/Volumes/android/mydroid/prebuilt/darwin-x86/toolchain/arm-eabi-4.2.1/ bin/arm-eabi-gcc -o test.o -c -Wall -Wno-unused -Werror=return-type - Wstrict-aliasing=2 -Werror -Wno-uninitialized -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -mthumb -Os -march=armv6 - mtune=xscale -msoft-float -fpic -mthumb-interwork -funwind-tables - fstack-protector -fno-short-enums -fmessage-length=0 -finline- functions -fno-inline-functions-called-once -fgcse-after-reload - frerun-cse-after-loop -frename-registers -fomit-frame-pointer -fno- strict-aliasing -finline-limit=64 -MD -DV8_ARCH_ARM -I/Volumes/android/ mydroid/bionic/libc/arch-arm/include -I/Volumes/android/mydroid/bionic/ libc/include -I/Volumes/android/mydroid/bionic/libstdc++/include -I/ Volumes/android/mydroid/bionic/libc/kernel/common -I/Volumes/android/ mydroid/bionic/libc/kernel/arch-arm -I/Volumes/android/mydroid/bionic/ libm/include -I/Volumes/android/mydroid/bionic/libm/include/arch/arm test.c $/Volumes/android/mydroid/prebuilt/darwin-x86/toolchain/arm-eabi-4.2.1/ bin/arm-eabi-ar rc tes2.a test.o $/Volumes/android/mydroid/prebuilt/darwin-x86/toolchain/arm-eabi-4.2.1/ bin/arm-eabi-ranlib test.a But this library still gives me a file is not of required architecture when I try to use it. Any suggestions? Thanks! . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] database application with j2me
hi, i m familier with java, but newer in j2me, now i want to know is it possible develope small database application in Sigmatel mobile with j2me, what kind of sdk of software need for that, plz give me guideline for that, Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Trouble with starting The Android emulator 1.5.
Hi, I'm absolute begginer. I've done all the things that the tutorial said for Windows users. When I tried to start the emulator in cmd, I've got an error message to provide AVD name with emulator -avd name. What that name should be? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Eclipse Ganymede Sockets issue
Hi, try : http://dl-ssl.google.com/android/eclipse/ On 6 mai, 19:59, dOlOb detresc...@gmail.com wrote: No repository found athttps://dl-ssl.google.com/android/eclipse/ Error reading update sitehttps://dl-ssl.google.com/android/eclipse/. Unconnected sockets not implemented Not able to add Android to Eclipse --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] AVD
you have this command for AVD android create avd --name nome_do_avd --target 1 Directory Android SDK 1.5 tools Terminal for linux or MacOsx Ex: ./android create avd --name avd11 --target 1 for Android SDK 1.1 ./android create avd --name avd15 --target 2 for Android SDK 1.5 Cmd for windows Ex: android create avd --name avd11 --target 1 for Android SDK 1.1 android create avd --name avd15 --target 2 for Android SDK 1.5 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to run emulator?
Hi, I'm absolute begginer. I put /tools in Enviroment variables and the emulator doesnt work. When I said emulator in cmd it gives me an error that I must provide an Android Virtual Device with emulator -avd name. Is that mean that I mast built the application first and then run with emulator..I try with emulator android 1.1 and it is work. Please help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Problem with SQLite database, accessing the table
Hi all, I am developing an application that need a database (store username and password) and when I try to access to it I obtain those errors in the logCat : 05-07 09:02:17.194: ERROR/AndroidRuntime(520): Uncaught handler: thread main exiting due to uncaught exception 05-07 09:02:17.213: ERROR/AndroidRuntime(520): android.database.sqlite.SQLiteException: no such table: options: , while compiling: SELECT DISTINCT _id, title, body FROM options WHERE _id=0 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteProgram.native_compile(Native Method) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:110) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteProgram.init(SQLiteProgram.java:59) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteQuery.init(SQLiteQuery.java:48) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDirectCursorDriver.query (SQLiteDirectCursorDriver.java:49) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory (SQLiteDatabase.java:1017) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDatabase.queryWithFactory (SQLiteDatabase.java:905) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:863) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.application.MonkeySMS.OptionDb.fetchOption(OptionDb.java: 84) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.application.MonkeySMS.Option$1.onClick(Option.java:70) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.View.performClick(View.java:2129) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.View.onTouchEvent(View.java:3543) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.widget.TextView.onTouchEvent(TextView.java:4664) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.View.dispatchTouchEvent(View.java:3198) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.policy.impl.PhoneWindow $DecorView.superDispatchTouchEvent(PhoneWindow.java:1593) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1089) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.app.Activity.dispatchTouchEvent(Activity.java:1871) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.policy.impl.PhoneWindow $DecorView.dispatchTouchEvent(PhoneWindow.java:1577) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewRoot.handleMessage(ViewRoot.java:1140) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.os.Handler.dispatchMessage(Handler.java:88) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.os.Looper.loop(Looper.java:123) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.app.ActivityThread.main(ActivityThread.java:3739) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at java.lang.reflect.Method.invokeNative(Native Method) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at java.lang.reflect.Method.invoke(Method.java:515) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:739) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at dalvik.system.NativeStart.main(Native Method) The problem appends when the program arrives at this line in my program : if(mOptionDb.fetchOption(0)==null mOptionDb.fetchOption(1)==null){ mOptionDb.createOption(titleDb0, txtUsername.toString ()); mOptionDb.createOption(titleDb1, txtPassword.toString ()); } mOptionDb is an OptionDb. The OptionDb file is the following : public class OptionDb { private Context mCtx; public static final String KEY_TITLE = title; public static final String KEY_BODY = body; public static final String KEY_ROWID = _id; private static final String TAG = OptionDbAdapter; private
[android-beginners] Re: Problem with SQLite database, accessing the table
It looks to me like your program tries to fetch from the options table before it has been created. On May 7, 2:28 am, mic.ger...@gmail.com mic.ger...@gmail.com wrote: Hi all, I am developing an application that need a database (store username and password) and when I try to access to it I obtain those errors in the logCat : 05-07 09:02:17.194: ERROR/AndroidRuntime(520): Uncaught handler: thread main exiting due to uncaught exception 05-07 09:02:17.213: ERROR/AndroidRuntime(520): android.database.sqlite.SQLiteException: no such table: options: , while compiling: SELECT DISTINCT _id, title, body FROM options WHERE _id=0 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteProgram.native_compile(Native Method) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:110) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteProgram.init(SQLiteProgram.java:59) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteQuery.init(SQLiteQuery.java:48) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDirectCursorDriver.query (SQLiteDirectCursorDriver.java:49) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory (SQLiteDatabase.java:1017) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDatabase.queryWithFactory (SQLiteDatabase.java:905) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:863) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.application.MonkeySMS.OptionDb.fetchOption(OptionDb.java: 84) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.application.MonkeySMS.Option$1.onClick(Option.java:70) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.View.performClick(View.java:2129) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.View.onTouchEvent(View.java:3543) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.widget.TextView.onTouchEvent(TextView.java:4664) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.View.dispatchTouchEvent(View.java:3198) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.policy.impl.PhoneWindow $DecorView.superDispatchTouchEvent(PhoneWindow.java:1593) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1089) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.app.Activity.dispatchTouchEvent(Activity.java:1871) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.policy.impl.PhoneWindow $DecorView.dispatchTouchEvent(PhoneWindow.java:1577) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.view.ViewRoot.handleMessage(ViewRoot.java:1140) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.os.Handler.dispatchMessage(Handler.java:88) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.os.Looper.loop(Looper.java:123) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at android.app.ActivityThread.main(ActivityThread.java:3739) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at java.lang.reflect.Method.invokeNative(Native Method) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at java.lang.reflect.Method.invoke(Method.java:515) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:739) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) 05-07 09:02:17.213: ERROR/AndroidRuntime(520): at dalvik.system.NativeStart.main(Native Method) The problem appends when the program arrives at this line in my program : if(mOptionDb.fetchOption(0)==null mOptionDb.fetchOption(1)==null){ mOptionDb.createOption(titleDb0, txtUsername.toString ()); mOptionDb.createOption(titleDb1, txtPassword.toString ()); } mOptionDb is an OptionDb. The OptionDb file is the following : public class OptionDb {
[android-beginners] Re: Get alarms from Alarm Clock application
Okay thank you, I'll look at it .. On 7 Maj, 18:45, Jack Ha (T-Mobile USA) jack...@t-mobile.com wrote: As far as I know, you are able to do that since the Alarm Clock app doesn't expose those specific intents. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 5:55 am, kaloer mkal...@gmail.com wrote: Hi, Is it possible to access the alarms from the Alarm Clock application, so i can use them in my application? And can I create an alarm in my application, which is visible in the Alarm Clock app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Get alarms from Alarm Clock application
Sorry for my typo. What I meant to say was that you are NOT able to that. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 11:01 am, kaloer mkal...@gmail.com wrote: Okay thank you, I'll look at it .. On 7 Maj, 18:45, Jack Ha (T-Mobile USA) jack...@t-mobile.com wrote: As far as I know, you are able to do that since the Alarm Clock app doesn't expose those specific intents. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 5:55 am, kaloer mkal...@gmail.com wrote: Hi, Is it possible to access the alarms from the Alarm Clock application, so i can use them in my application? And can I create an alarm in my application, which is visible in the Alarm Clock app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Get alarms from Alarm Clock application
Sorry for my earlier typo. What I meant was that you are NOT able to do that. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 11:01 am, kaloer mkal...@gmail.com wrote: Okay thank you, I'll look at it .. On 7 Maj, 18:45, Jack Ha (T-Mobile USA) jack...@t-mobile.com wrote: As far as I know, you are able to do that since the Alarm Clock app doesn't expose those specific intents. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 5:55 am, kaloer mkal...@gmail.com wrote: Hi, Is it possible to access the alarms from the Alarm Clock application, so i can use them in my application? And can I create an alarm in my application, which is visible in the Alarm Clock app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install
Are you using Eclipse Classic? It doesn't have all the libraries needed. Please use Eclipse for Java Developers or Eclipse RCP from http://eclipse.org. R/ On Tue, May 5, 2009 at 6:34 PM, J justinssh...@gmail.com wrote: I get this error no matter which of the 3 methods I try. What should I do? An error occurred while collecting items to be installed No repository found containing: org.eclipse.draw2d/osgi.bundle/ 3.4.1.v20080910-1351 No repository found containing: org.eclipse.emf.common/osgi.bundle/ 2.4.0.v200808251517 No repository found containing: org.eclipse.emf.ecore/osgi.bundle/ 2.4.1.v200808251517 No repository found containing: org.eclipse.emf.ecore.change/ osgi.bundle/2.4.0.v200808251517 No repository found containing: org.eclipse.emf.ecore.edit/ osgi.bundle/2.4.1.v200808251517 No repository found containing: org.eclipse.emf.ecore.xmi/ osgi.bundle/2.4.1.v200808251517 No repository found containing: org.eclipse.emf.edit/osgi.bundle/ 2.4.1.v200808251517 No repository found containing: org.eclipse.wst.common.emf/ osgi.bundle/1.1.202.v200809111955 No repository found containing: org.eclipse.wst.common.emfworkbench.integration/osgi.bundle/ 1.1.201.v200808071700 No repository found containing: org.eclipse.wst.common.frameworks/ osgi.bundle/1.1.200.v200805140020 No repository found containing: org.eclipse.wst.common.project.facet.core/osgi.bundle/ 1.3.3.v200809102124 No repository found containing: org.eclipse.wst.common.ui/ osgi.bundle/1.1.301.v200805140415 No repository found containing: org.eclipse.wst.sse.core/osgi.bundle/ 1.1.302.v200808260045 No repository found containing: org.eclipse.wst.sse.ui/osgi.bundle/ 1.1.2.v200809120159 No repository found containing: org.eclipse.wst.validation/ osgi.bundle/1.2.2.v200809050219 No repository found containing: org.eclipse.wst.xml.core/osgi.bundle/ 1.1.305.v200809120354 No repository found containing: org.eclipse.wst.xml.ui/osgi.bundle/ 1.0.410.v200809120143 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Update: new ADT Eclipse plugin 0.9.1 available
Hi all, We just updated the ADT Eclipse plugin to 0.9.1. The new plugin provides the following changes: - Added an AVD creation wizard to ADT. It is automatically displayed during a launch if no compatible AVDs are found. - Fixed issue with libs/ folder where files with no extension would prevent the build from finishing. - Improved error handling during the final steps of the build to mark the project if an unexpected error prevent the build from finishing. - Fixed issue when launching ADT on a clean install would trigger org.eclipse.swt.SWTError: Not implemented [multiple displays]. - Improved error handling when parsing manifest when the uses-sdk node is present with no (valid) minSdkVersion attribute (error shown would say null) To update from Eclipse, simply use Help Software Update as usual or visit the download page at http://developer.android.com/sdk/adt_download.html Hope this helps, Raphael. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Trouble with starting The Android emulator 1.5.
Please read the documentation at http://developer.android.com/guide/developing/tools/avd.html Xav On Thu, May 7, 2009 at 4:51 AM, Straja strahinja.s.bano...@gmail.com wrote: Hi, I'm absolute begginer. I've done all the things that the tutorial said for Windows users. When I tried to start the emulator in cmd, I've got an error message to provide AVD name with emulator -avd name. What that name should be? -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
Have you installed JDK on your machine? If not, you can download it from here: http://java.sun.com/javase/downloads/index.jsp -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 6:07 am, Dennis Christy dennischri...@gmail.com wrote: When I type the following into the cmd prompt: c:\...android-sdk-windows-1.5_r1\toolsandroid It gives me the following message: 'java' is not recognized as an internal or external command, operable program or batch file On Thu, May 7, 2009 at 5:49 AM, Sean Hodges seanhodge...@googlemail.comwrote: You may need to set your JAVA_HOME environment variable. What is the exact error you're getting? On Thu, May 7, 2009 at 1:40 PM, Dennis Christy dennischri...@gmail.com wrote: I'm sorry, I did not explain my problem completely. I just want to create the AVD so I can run the tutorial. Opening the terminal window in Vista does not allow me to type in the create avd command, even though I have changed the directory to the tools directory in the sdk. It tells me it cannot run a Java app. I just want to create the AVD in whatever way I can. How do I do it? On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo mlo...@gmail.com wrote: Hi, To open a terminal in Windows Vista: Click on Start button and type on the text area next command: cmd The cmd open the terminal Cheers. 2009/5/7 Dennis Christy dennischri...@gmail.com I get the following error in attempting to run the HelloAndroid tutorial: Failed to find an AVD compatible with target 'Android 1.5', Launch aborted I have read the documention and the emails in re this problem, and I see the fix is to create an AVD by opening a terminal window and typing android create avd --target 1--name myavd however I cannot figure out how to open a terminal window in Windows Vista -- Dennis Christy -- Un saludo. -- Dennis Christy -- Dennis Christy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How Linux-ey is Android?
How many of the freedoms that we've gotten used to using other Linux frontends (desktops), such as xfce, Gnome, KDE are available with the Android frontend? Is it possible to run ANY simple linux apps from a terminal window in an Android device? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How Linux-ey is Android?
How many of the freedoms that we've gotten used to using other Linux frontends (desktops), such as xfce, Gnome, KDE are available with the Android frontend? As many as there are for TiVo, Linksys routers, or other appliances based on Linux. In other words, none that are officially supported, but you are welcome to try to hack whatever you want. All you need is a device capable of accepting alternative firmware. Is it possible to run ANY simple linux apps from a terminal window in an Android device? What terminal window? -- Mark Murphy (a Commons Guy) http://commonsware.com _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 Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Itens Checked in a ListView
Somebody can help me? On Thu, May 7, 2009 at 1:09 PM, Junior Einsfeld junior.einsf...@gmail.comwrote: Hi people! What the best form to get the itens checked in a ListView? Tanks a lot! Junior Einsfeld --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Itens Checked in a ListView
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List11.html Somebody can help me? On Thu, May 7, 2009 at 1:09 PM, Junior Einsfeld junior.einsf...@gmail.comwrote: Hi people! What the best form to get the itens checked in a ListView? Tanks a lot! If that does not answer your question, write back with more specifics. -- Mark Murphy (a Commons Guy) http://commonsware.com _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 Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Itens Checked in a ListView
What I need is to know how can I get the items marked on my list? http://developer.android.com/reference/android/widget/ListView.html#getCheckedItemPositions() -- Mark Murphy (a Commons Guy) http://commonsware.com _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 Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Itens Checked in a ListView
Hi Mark, What I need is to know how can I get the items marked on my list? Tanks a lot! On Thu, May 7, 2009 at 6:45 PM, Mark Murphy mmur...@commonsware.com wrote: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List11.html Somebody can help me? On Thu, May 7, 2009 at 1:09 PM, Junior Einsfeld junior.einsf...@gmail.comwrote: Hi people! What the best form to get the itens checked in a ListView? Tanks a lot! If that does not answer your question, write back with more specifics. -- Mark Murphy (a Commons Guy) http://commonsware.com _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 Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How Linux-ey is Android?
Although the first part of the answer is perfect :) On Thu, May 7, 2009 at 5:16 PM, Mark Murphy mmur...@commonsware.com wrote: How many of the freedoms that we've gotten used to using other Linux frontends (desktops), such as xfce, Gnome, KDE are available with the Android frontend? As many as there are for TiVo, Linksys routers, or other appliances based on Linux. In other words, none that are officially supported, but you are welcome to try to hack whatever you want. All you need is a device capable of accepting alternative firmware. Is it possible to run ANY simple linux apps from a terminal window in an Android device? What terminal window? The one you get from the market, or as part of the AOSP core android build :) (Sorry, couldn't resist.) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android 1.5 SDK now available
I am not have multiple displays, I only runs the Ubuntu on my vmware. and on the same machind, the eclipse works windows is good. On 5月7日, 上午7时23分, David Turner di...@android.com wrote: From the error: org.eclipse.swt.SWTError: Not implemented [multiple displays] It looks like you have multiple displays and that the SWT implementation on your platform doesn't support them yet. Huhu :-( On Tue, May 5, 2009 at 10:23 PM, icedfusion icedfus...@googlemail.comwrote: I am also having the same problem - wish i hadn't updated now.. I even reinstalled it all to make sure I hadn't done anything wrong and I get the error. From my .log: !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-05-05 21:18:04.826 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.970 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.990 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On May 4, 8:27 pm, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at
[android-beginners] Re: Android 1.5 SDK now available
the new ADT 0.9.1 is updated, Hi all, We just updated the ADT Eclipse plugin to 0.9.1. it have fixed the issue. please update the ADT. The new plugin provides the following changes: - Added an AVD creation wizard to ADT. It is automatically displayed during a launch if no compatible AVDs are found. - Fixed issue with libs/ folder where files with no extension would prevent the build from finishing. - Improved error handling during the final steps of the build to mark the project if an unexpected error prevent the build from finishing. - Fixed issue when launching ADT on a clean install would trigger org.eclipse.swt.SWTError: Not implemented [multiple displays]. - Improved error handling when parsing manifest when the uses-sdk node is present with no (valid) minSdkVersion attribute (error shown would say null) To update from Eclipse, simply use Help Software Update as usual or visit the download page at http://developer.android.com/sdk/adt_download.html On 5月8日, 上午10时51分, dove dove...@gmail.com wrote: I am not have multiple displays, I only runs the Ubuntu on my vmware. and on the same machind, the eclipse works windows is good. On 5月7日, 上午7时23分, David Turner di...@android.com wrote: From the error: org.eclipse.swt.SWTError: Not implemented [multiple displays] It looks like you have multiple displays and that the SWT implementation on your platform doesn't support them yet. Huhu :-( On Tue, May 5, 2009 at 10:23 PM, icedfusion icedfus...@googlemail.comwrote: I am also having the same problem - wish i hadn't updated now.. I even reinstalled it all to make sure I hadn't done anything wrong and I get the error. From my .log: !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-05-05 21:18:04.826 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.970 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.990 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On May 4, 8:27 pm, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION
[android-beginners] Re: Android 1.5 SDK now available
We just released a fix for this problem. Please install ADT 0.9.1 Xav 2009/5/7 dove dove...@gmail.com: I am not have multiple displays, I only runs the Ubuntu on my vmware. and on the same machind, the eclipse works windows is good. On 5月7日, 上午7时23分, David Turner di...@android.com wrote: From the error: org.eclipse.swt.SWTError: Not implemented [multiple displays] It looks like you have multiple displays and that the SWT implementation on your platform doesn't support them yet. Huhu :-( On Tue, May 5, 2009 at 10:23 PM, icedfusion icedfus...@googlemail.comwrote: I am also having the same problem - wish i hadn't updated now.. I even reinstalled it all to make sure I hadn't done anything wrong and I get the error. From my .log: !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-05-05 21:18:04.826 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.970 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.990 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at org.eclipse.swt.widgets.Display.init(Display.java:462) at com.android.sdkstats.SdkStatsService.getUserPermission (SdkStatsService.java:278) at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: 126) at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer (Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On May 4, 8:27 pm, gritty k...@uoregon.edu wrote: I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote: Hi, I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 and eclipse version: 3.4.2. On launching eclipse after installing the Android plugin, I get the following error: Multiple problems have occured: pingUsageServer failed Android sdk ping Does anyone have a solution to this problem? David On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote: I have problems with the new sdk (1.5), A dialog show with a error a and suggest me to exit the workbench. Other dialog appear with a pingUsageServer failed: Android SDK Ping pingUsageServer failed The .log file says: !SESSION 2009-04-27 21:31:38.570 --- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358 !MESSAGE Failed to load properties file for project 'WifiScan' !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330 !MESSAGE pingUsageServer failed !STACK 0 org.eclipse.swt.SWTError: Not implemented [multiple displays] at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) at org.eclipse.swt.widgets.Display.create(Display.java:842) at org.eclipse.swt.graphics.Device.init(Device.java:154) at org.eclipse.swt.widgets.Display.init(Display.java:471) at
[android-beginners] Re: Eclipse Ganymede Sockets issue
It worked. I thought I tried this earlier. Thank you very much. On May 7, 7:15 am, mic.ger...@gmail.com mic.ger...@gmail.com wrote: Hi, try :http://dl-ssl.google.com/android/eclipse/ On 6 mai, 19:59, dOlOb detresc...@gmail.com wrote: No repository found athttps://dl-ssl.google.com/android/eclipse/ Error reading update sitehttps://dl-ssl.google.com/android/eclipse/. Unconnected sockets not implemented Not able to add Android to Eclipse- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to create and open an SQLite database? (Based on NotePad tutorial)
Here's the full onCreate() function. Seems like standard SQL syntax to me? ** public void onCreate(SQLiteDatabase db) { db.execSQL(CREATE TABLE IF NOT EXISTS + DATABASE_TABLE_USER + (userID INT PRIMARY KEY, name VARCHAR(40), + birthdate DATETIME, + weight INT(3), heightInches INT, + smoking BOOLEAN DEFAULT 'FALSE', + school BOOLEAN DEFAULT 'FALSE', + reading BOOLEAN DEFAULT 'FALSE', + religion BOOLEAN DEFAULT 'FALSE', + dating BOOLEAN DEFAULT 'FALSE');); db.execSQL(CREATE TABLE IF NOT EXISTS + DATABASE_TABLE_ACH + (achID INT PRIMARY KEY AUTO-INCREMENT, + category VARCHAR(40), + subCategory VARCHAR(40), + icon VARCHAR(40), + name VARCHAR(40), + description VARCHAR(200), + hasProgress BOOLEAN, + goal INT, + points INT);); db.execSQL(CREATE TABLE IF NOT EXISTS + DATABASE_TABLE_USER_ACH + (achID INT PRIMARY KEY, + hasProgress BOOLEAN, + goal INT, + progress INT, + isCompleted BOOLEAN, + dateCompleted DATETIME, + CONSTRAINT FK_achID FOREIGN KEY (achID) REFERENCES Ach, + CONSTRAINT FK_hasProgress FOREIGN KEY (hasProgress) REFERENCES Ach, + CONSTRAINT FK_goal FOREIGN KEY (goal) REFERENCES Ach);); } ** On May 6, 3:37 am, swarup me.s...@gmail.com wrote: check your table creation statements within onCreate() On May 5, 11:29 pm, AJ warhawk...@charter.net wrote: Hello - our dev team is looking into utilizing an SQLite DB as a means to store data within our application. We've been following the official dev guide's NotePad tutorial (http://d.android.com/guide/ tutorials/notepad/notepad-ex1.html) to accomplish this, but we're stuck on Step 2: the preliminary creation of the database itself. We aren't even concerned with inserting into and retrieving from the DB yet. Basically, we re-purposed the NoteDbAdapter.java file (renamed to simply DbAdapter.java) to work with our main activity, called LifeVault. When an instance of the DbAdapter class created within LifeVault.java calls the open() function within DbAdapter.java, however, the Android emulator just crashes and displays a message along the lines of the process has stopped working and needs to close. The code doesn't have any compilation errors, and it's based on the code from the official dev guide, so we're pretty perplexed as to why this happens. /** DbAdapter.java ***/ package com.android.lifevault; import android.content.Context; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DbAdapter { private static final String TAG = DbAdapter; private DatabaseHelper mDbHelper; private SQLiteDatabase mDb; private static final String DATABASE_NAME = FVDB; private static final String DATABASE_TABLE_USER = User; private static final String DATABASE_TABLE_ACH = Ach; private static final String DATABASE_TABLE_USER_ACH = User_Ach; private static final int DATABASE_VERSION = 1; private final Context mCtx; private static class DatabaseHelper extends SQLiteOpenHelper { DatabaseHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } �...@override public void onCreate(SQLiteDatabase db) { // Our db.execSQL statements for creating the three tables live here } �...@override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { Log.w(TAG, Upgrading database from version + oldVersion + to + newVersion + , which will destroy all old data); db.execSQL(DROP TABLE IF EXISTS User_Ach); db.execSQL(DROP TABLE IF EXISTS Ach); db.execSQL(DROP TABLE IF EXISTS User); onCreate(db); } } /** * Constructor - takes the context to allow