[android-beginners] Failed to reopen debug port for Selected Client to:
Hi, I am having lots of troubles in Eclipse ADT DDMS. When I start Eclipse IDE and some android project is open, console tab begins to show the following lines: [2009-12-13 03:03:07 - ddms]Failed to reopen debug port for Selected Client to: 8700 [2009-12-13 03:03:07 - ddms]Invalid argument java.net.SocketException: Invalid argument at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind (ServerSocketChannelImpl.java:119) at sun.nio.ch.ServerSocketAdaptor.bind (ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind (ServerSocketAdaptor.java:52) at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort (Unknown Source) at com.android.ddmlib.MonitorThread.run(Unknown Source) [2009-12-13 03:09:41 - DeviceMonitor]Connection attempts: 1 [2009-12-13 03:09:42 - DeviceMonitor]Connection attempts: 2 [2009-12-13 03:09:43 - DeviceMonitor]Connection attempts: 3 [2009-12-13 03:09:44 - DeviceMonitor]Connection attempts: 4 [2009-12-13 03:09:45 - DeviceMonitor]Connection attempts: 5 [2009-12-13 03:09:46 - DeviceMonitor]Connection attempts: 6 [2009-12-13 03:09:47 - DeviceMonitor]Connection attempts: 7 ... [2009-12-13 03:09:42 - DeviceMonitor]Connection attempts: 382 [2009-12-13 03:09:43 - DeviceMonitor]Connection attempts: 383 [2009-12-13 03:09:44 - DeviceMonitor]Connection attempts: 384 [2009-12-13 03:09:45 - DeviceMonitor]Connection attempts: 385 [2009-12-13 03:09:46 - DeviceMonitor]Connection attempts: 386 [2009-12-13 03:09:47 - DeviceMonitor]Connection attempts: 387 --- I am using Linux (Debian) and java-6-sun package. I googled it and I only got results about Windows Vista. I tried to change my /etc/hosts but nothing happens. Anyone is suffering the same problem? Thank you for your time. -- 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] Manage the Wifi connection from an applicacion
Hello, I have some troubles connecting to a wireless network. I enable Wifi, start the scan, and when it is ready I search for the network I am finding. When I have found it, I create a configuration with every parameter and it goes properly but when I try to enable it (disabling the others), it fails. Maybe I have forgeting anything? Any example I could follow? 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: Wifi does not automatically connect after boot
On Nov 3, 8:29 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: Could you be more specific? Are you trying to connect programmatically to the Wifi network or do you have this Wifi network configured in your Wifi settings. Firstly, I try to do that programatically but (as I ask in a different post) I could not achieve that. So, now, I leave this store in the WiFi settings. I noticed that after a reboot the phone automatically connects to a cellular data connectivity. After some time it connects to an already configured wifi network. If you want to force your phone to connect much faster to the Wifi network, try to disable to configured APN in your settings. Yes, you right but in my case I do not have any SIM card so it is impossible to connect to any mobile network. However, it never connects until I touch the phone (menu button for example), then it connects very fast. In general I am missing in the Android SDK an API which supports the preferred radio interface. In my case I dont care about this feature but I think it is very important. Thanks! -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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 Nov 3, 3:20 am, Urizev uri...@gmail.com wrote: Hi, I am developing an application which has to connect to an specific Wifi network. It must to be automatic with no user activity. The phone has the configuration for this network, but it does not connect until I press any key. Then it is a very fast process. What could be happening? -- 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: Upgrading my G1
Cool! It was the perfect help. On 12 jun, 19:51, Balwinder Kaur (T-Mobile) balwinder.k...@t- mobile.com wrote: You may use the official HTC Website instructions and Image files http://www.htc.com/www/support/android/adp.html Hope this helps, Balwinder Kaur 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 Jun 12, 2:17 am, Urizev uri...@gmail.com wrote: Hi, I want to develop an aplication 1.5 compatible for my G1. I received a Devel G1 Phone and it has 1.0 firmware. How can I upgrade it? I found some update in some forums, but I do not trust these kind of update. I am looking for something more official. I found the SDK upgrades but not the firmware ones. I live in Spain and my phone does not depends on any mobile operator. 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: Invokation Exception
Ok. I forgot the permissions. I wrote the code like yours and, however, it throws the following exception when startPreview is called: java.io.IOException: startPreview failed I have no more information and I do not know how to get more. Regards On 14 jun, 21:06, sm1 sergemas...@gmail.com wrote: As MrChaz wrote, you'll definitively need the Camera permission and for checking if you are still getting exceptions, try this: Camera cam = null; try{ cam = Camera.open();}catch(Exception ex){ Log.e(Camera.open(),+ex);} if(cam==null){ return;} //it is very important that the camera be released by the app that opens it. try{//try-finally block to ensure that the camera is released try{ cam.startPreview(); }catch(Exception ex){ Log.e(Camera.startPreview(),+ex); return; } //other work here }finally{ try{ cam.release(); }catch(Exception ex){ Log.e(Camera. release(),+ex); } } serge On Jun 13, 9:51 am, MrChaz mrchazmob...@googlemail.com wrote: Have you added the Camera permission to the manifest? On Jun 12, 11:32 am, Urizev uri...@gmail.com wrote: I am developing an application which uses the camera of my G2. The code using the camera is showed below: Camera cam = Camera.open(); if (cam == null) { return; } cam.startPreview(); It throws and Exception and I do not know why. Someone has any idea? com.sun.jdi.InvocationException occurred invoking Regards --~--~-~--~~~---~--~~ 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] Invokation Exception
I am developing an application which uses the camera of my G2. The code using the camera is showed below: Camera cam = Camera.open(); if (cam == null) { return; } cam.startPreview(); It throws and Exception and I do not know why. Someone has any idea? com.sun.jdi.InvocationException occurred invoking Regards --~--~-~--~~~---~--~~ 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] Upgrading my G1
Hi, I want to develop an aplication 1.5 compatible for my G1. I received a Devel G1 Phone and it has 1.0 firmware. How can I upgrade it? I found some update in some forums, but I do not trust these kind of update. I am looking for something more official. I found the SDK upgrades but not the firmware ones. I live in Spain and my phone does not depends on any mobile operator. 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 -~--~~~~--~~--~--~---