[android-developers] Debugging code that cause's a hardware restart of the phone :?
I am working on a fairly complex application. When debugging it over the last few days it occasionally cause's a hardware restart of the phone. I am debugging it on a real phone over usb (Windows/Eclipse for my development). However, I cant seem to figure out what's causing these crashs because nothing appears in the LogCat - the restart clears it, and while I can read for a few seconds whats there before it does that I cant see anything that looks like it would cause a crash - it all seems business as normal. It seems like whatever causes the crash stops the LogCat messages being reported, including those related to the crash. Thing is, I haven't a clear how to go about debugging this :-/ Any ideas ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging code that cause's a hardware restart of the phone :?
Thanks for the replys. I am afraid I am ignorant of how to do that. So far I have just been using the Dalvik Debug Monitor, I can see options to save to a file, but not to log to a file continuously. Googleing around seems to infer I need to put code in my app to send the log to a file on the SD card, or use a Debugging library. Is this correct? Also, where is the bugreport located? Poly - I have nothing in my own code that effects the wifi manager API. However, I am using aSmack lib for XMPP communications that could do that. It doesn't seem too consistent though, as the crashes happen sometimes before I logon to a server. I suspect it might be ram related in some way, as the crashs are very inconsistent. Sometimes it crashes as soon as it loads, other times I can use it for a few minutes before crashing. I also use the JPCT 3D library in my app, as well as using the camera preview as a background, so the app is pretty heavy overall. Thanks again, Thomas On Apr 30, 5:00 pm, Robert Greenwalt rgreenw...@google.com wrote: You can do a logcat before the crash, logging to a file. Perhaps then you'll get a better view of what happened before. A post-crash bugreport may also have a copy of the previous kernel log if it's a kernel issue. R On Mon, Apr 30, 2012 at 7:52 AM, Pent supp...@apps.dinglisch.net wrote: I've only ever (in over two years) seen reboots caused by changes made via the wifi manager API. If you're using it, I would start there. Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging code that cause's a hardware restart of the phone :?
Ok, that seemed to help. Installing the Platform-tools seemed to put the adb.exe where It should be. Dumping the log to a file the last entries I see are: D/dalvikvm( 1241): GC_FOR_MALLOC freed 10098 objects / 483816 bytes in 152ms W/System.err( 1241): java.security.KeyStoreException: KeyStore jks implementation not found W/System.err( 1241):at java.security.KeyStore.getInstance(KeyStore.java:134) W/System.err( 1241):at org.jivesoftware.smack.ServerTrustManager.init(ServerTrustManager.java: 70) W/System.err( 1241):at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java: 824) W/System.err( 1241):at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java: 267) W/System.err( 1241):at org.jivesoftware.smack.PacketReader.access $000(PacketReader.java:43) W/System.err( 1241):at org.jivesoftware.smack.PacketReader $1.run(PacketReader.java:70) V/libgps ( 104): DeferredActionThread pthread_cond_wait returned D/RPC ( 104): written RPC packet size: [24] D/RPC ( 104): read RPC packet D/RPC ( 104): read RPC packet size: [284] V/libgps ( 104): DeferredActionThread pthread_cond_wait returned D/RPC ( 104): written RPC packet size: [24] D/RPC ( 104): read RPC packet D/RPC ( 104): read RPC packet size: [284] V/libgps ( 104): DeferredActionThread pthread_cond_wait returned D/RPC ( 104): written RPC packet size: [24] D/RPC ( 104): read RPC packet D/RPC ( 104): read RPC packet size: [284] V/libgps ( 104): DeferredActionThread pthread_cond_wait returned D/RPC ( 104): written RPC packet size: [24] I am going to try cross referencing this with the Dalvik Debug Monitor a few times too see if I really am getting more out of the saving too file method VS just looking in the GUI. I am a little skeptical I am seeing the real reason, as I would expect the very last messages to be the ones causing the crash, rather then a few more debug/normal stuff and then a hardware restart. On Apr 30, 7:46 pm, Thomas Wrobel darkfl...@gmail.com wrote: I am using XP/eclipse. I see all the normal logs coming from the device just fine, including many,many I put in my apps code. On searching for adb on my system it seems all I found is a polite note from google saying its been moved too platform-tools/ in my android sdk directory. As that directory is not in my sdk directory, it tells me too install Android SDK Platform-tools which I will try now and post back in a bit. This is really odd to me though, as I thought adb was an essential part not a optional addon. Apparently ddsm.bat and logcat seem to be able to run without it though. On 30 April 2012 18:41, Robert Greenwalt rgreenw...@google.com wrote: I don't know your environment, but you should have access to adb. adb logcat starts capturing some of the available debug streams. To write it to a file: adb logcat mylog.txt or to log to file and to screen (on linux): adb lgocat | tee mylog.txt This will only record stuff from some of the log streams, but it defaults to the common ones. If you think your app is strictly to blame you can put in log statements there too, but crashes should be logged for you. adb bugreport mybugreport.txt will capture the last buffers from all the streams and much much more. R On Mon, Apr 30, 2012 at 8:34 AM, ThomasWrobel darkfl...@gmail.com wrote: Thanks for the replys. I am afraid I am ignorant of how to do that. So far I have just been using the Dalvik Debug Monitor, I can see options to save to a file, but not to log to a file continuously. Googleing around seems to infer I need to put code in my app to send the log to a file on the SD card, or use a Debugging library. Is this correct? Also, where is the bugreport located? Poly - I have nothing in my own code that effects the wifi manager API. However, I am using aSmack lib for XMPP communications that could do that. It doesn't seem too consistent though, as the crashes happen sometimes before I logon to a server. I suspect it might be ram related in some way, as the crashs are very inconsistent. Sometimes it crashes as soon as it loads, other times I can use it for a few minutes before crashing. I also use the JPCT 3D library in my app, as well as using the camera preview as a background, so the app is pretty heavy overall. Thanks again, Thomas On Apr 30, 5:00 pm, Robert Greenwalt rgreenw...@google.com wrote: You can do a logcat before the crash, logging to a file. Perhaps then you'll get a better view of what happened before. A post-crash bugreport may also have a copy of the previous kernel log if it's a kernel issue. R On Mon, Apr 30, 2012 at 7:52 AM, Pent supp...@apps.dinglisch.net wrote: I've only ever (in over two years) seen reboots caused by changes made via the wifi manager API. If you're using it, I would start there. Pent -- You received
[android-developers] Re: Debugging code that cause's a hardware restart of the phone :?
Ok, I am using a HTC Legend. The crashes didn't start when I started using the 3D, so I don't think its a specific command thats doing it. Maybe a OpenGL related memory leak. Anyway, using adb pull /proc/uptime I get 65.94 18.30 The phone takes a good 20 seconds to reload, most of the time spent on a HTC logo (first a static one for a long time, then it flashes and then a animated one for a shorter time) If its hardware related I guess there isnt too much I can do about it, but perhaps by figuring out the exact point it happens I can minimize its occurrences. On Apr 30, 8:26 pm, Chris Stratton cs07...@gmail.com wrote: On Apr 30, 11:34 am, ThomasWrobel darkfl...@gmail.com wrote: I also use the JPCT 3D library in my app, as well as using the camera preview as a background, so the app is pretty heavy overall. My first hunch would be issues in the platform openGL implementation that probably uses. It would be worth doing some web searching on the phone model - it's possible others have found the same issue. Also you may want to figure out if you are getting a kernel reboot, or an android runtime framework crash restart while the kernel continues running. Once you get adb working, look in /proc/uptime shortly after a crash - if it's a low number of seconds, your kernel rebooted, if it's a high number likely just the framework crashed and restarted. (You'll probably also see a bootloader splash screen after a power-on or kernel reboot, before the more lengthy startup animation that runs while the android runtime framework gets itself going.) It goes without saying, that if the platform is working as intended, there is nothing an app can do to cause a reboot, so the fact that it is happening means something is broken with the device/android build. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Is it possible to have dynamicly generated keys in a preferance screen?
Sorry I wasn't clear; I did try it and it doesnt work. It always says no value set however, and no changes are remembered in the interface. The changes are being made by the interface too, not programaticly so I shouldn't need that commit. I'm just wondering if something strange happens as soon as I change that keys name :-/ On Feb 6, 9:35 pm, TreKing treking...@gmail.com wrote: On Sat, Feb 5, 2011 at 8:58 PM, ThomasWrobel darkfl...@gmail.com wrote: Do I have to manualy commit? Possibly. Try it, see what happens. or set the persistance to true? (isn't that default). The preferences will save their values automatically when the user makes a selection. If you manually setting the values, you normally do an Editor().commit() call once you're done making changes. ----- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is it possible to have dynamicly generated keys in a preferance screen?
On my PreferenceActivity onCreate I tried adding a ; this.findPreference(WaveID_BillBoard_Scaleing).setKey(value +_BillBoard_Scaleing); ... ... (other similiar lines) ... Where value was a string passed to the intent. My intention was to be able to create an arbitary number of different preferance sets each with a different prefix. However, none of this information seems to be saving. I'm testing it both with; Log.i(wavepref, BillboardScaleing set to +this.getPreferences(MODE_WORLD_READABLE).getString(value +_BillBoard_Scaleing, no value set)); It always says no value set however, and no changes are remembered in the interface. Do I have to manualy commit? or set the persistance to true? (isn't that default). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Rotating a camera view manualy?
Is it possible to rotate the view coming in from the camera, so its, say, upside down? I thought this would be a mater of rotating the surface view its on, but nothing seems to work. I tried the advice in this thread for rotating videos; http://groups.google.com/group/android-developers/browse_thread/thread/3563cf871e45d00f/f82fb328d2c2c4c2?lnk=gstq=rotate+surface#f82fb328d2c2c4c2 But the camera just comes out black if that mode is used. So is it possible to rotate the camera image using surface? I'm aware of setDisplayOrientation(90), but that would break 2.1 compatibility and Id rather not do that unless absolutely needed. Thanks, Thomas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to have a ContextMenu on a GLSurfaceView :?
Having a little trouble working out how to have a context menu working in my GLSurfaceView view. There doesn't seem to be a onCreateOptionsMenu or onOptionsItemSelected to override. I do notice a setOnCreateContextMenuListener but I don't know how to use it. Anyone know? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to have a ContextMenu on a GLSurfaceView :?
Override what? setOnCreateContextMenuListener ? Its parameters are different. On Sep 6, 12:54 pm, Miguel Morales therevolti...@gmail.com wrote: Override those on your Activity class. On Mon, Sep 6, 2010 at 3:52 AM, ThomasWrobel darkfl...@gmail.com wrote: Having a little trouble working out how to have a context menu working in my GLSurfaceView view. There doesn't seem to be a onCreateOptionsMenu or onOptionsItemSelected to override. I do notice a setOnCreateContextMenuListener but I don't know how to use it. Anyone know? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Market alternatives
I love the fact theres loads of markets. While yes, it is, more work for the developer to submit too, its far better in the long run for the consumers and the whole android ecosystem. Markets can experiment with different layouts, styles, ratings, and specialties. This is only just starting really but should become a big thing in the long run. With the huge amount of rubbish submitted, how do you get results relevant to what the consumer is searching for? To me that seems a problem just as big as search ever was, and isn't going to be fully solved by any one company. Google's own market leaves a lot to be desired, but that only highlights how great it is that people can come up with alternatives. Of course, not many of the alternatives are any good, but it is early days still really. On Sep 6, 4:10 pm, Yahel kaye...@gmail.com wrote: My small experience on the matters tells me : It's not worth the trouble :s Posted my app on six or seven alternative stores last week, all different forms, legals, terms, shapes : A good 10 downloads peek from it(all combined) :D This morning, posted an update on the Android Market : 600 downloads in 4 hours ... The only one I might find interesting to try to post to, and I'm going to try it just now is the Archos one...Since just like on our devices, they have the icon right there on the home screen and that there is a lot less apps...Might do some good. I'll keep you posted. Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how often should getRotationMatrix update?
I'm currently just bliting a rotation matrix onto the screen. The source of which is RT from; SensorManager.getRotationMatrix(Rt, I, accels, mags); Where accels and mags are from the sensors. The getRotationMatrix, and its display, are triggered once for every update of the acceleration sensor. Question; How often should getRotationMatrix update? That is, change the values its outputting? It seems to be far too slow to be any use. I mean, once every 2-3 seconds it gives a new matrix out, even though its triggered hundreds of times inbetween (with different accels and mags fed to it) Does anyone successfully use getRotationMatrix from here? What speeds does it update? I'm using a HTC Legend, Android 2.1. I'm sure it can't be meant to be this speed...must be something I'm doing wrong, but I'm running out of options. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is runtime mapview defining possible? (rather then in main.xml)
I've been trying to use a mapView in my app, and have been following the tutorial; http://developer.android.com/resources/tutorials/views/hello-mapview.html However, I'd like to be able to generate the mapView at runtime, and assign it to a widget container. (rather then just having it as the route element in Main.xml as in the example). Is this possible? I tried just extending mapActivity as stated, and implementing the overrides. However, at the moment I'm getting this error; 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at dalvik.system.DexFile.defineClass(Native Method) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.app.Instrumentation.newActivity(Instrumentation.java:1021) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2489) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2621) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.app.ActivityThread.access$2200(ActivityThread.java:126) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.os.Handler.dispatchMessage(Handler.java:99) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.os.Looper.loop(Looper.java:123) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at android.app.ActivityThread.main(ActivityThread.java:4595) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at java.lang.reflect.Method.invokeNative(Native Method) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at java.lang.reflect.Method.invoke(Method.java:521) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:860) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 06-26 21:31:20.946: ERROR/AndroidRuntime(1845): at dalvik.system.NativeStart.main(Native Method) Which I think might be because theres no where in my code or xml at the moment that defines where the mapView actually goes. I can't figure out how to assign it. (in this case to a page in my tabHost) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Orientation sensor problem.
Did you ever get to the bottom of this? I think I'm having a similar problem. On May 31, 10:25 am, Cardy andy.ca...@gmail.com wrote: Hi all! I've been trying to get a simple test app working to show me theorientationof the phone. The code I've used is below: public class Main extends Activity implements SensorEventListener { SensorEventListener listener; TextView mainText; SensorManager sensorMan; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mainText = (TextView)this.findViewById(R.id.mainString); sensorMan = (SensorManager)this.getSystemService(Context.SENSOR_SERVICE); sensorMan.registerListener( this, sensorMan.getDefaultSensor( SensorManager.SENSOR_ORIENTATION), SensorManager.SENSOR_DELAY_NORMAL); } @Override public void onAccuracyChanged(Sensor sensor, int accuracy) { // TODO Auto-generated method stub } @Override public void onSensorChanged(SensorEvent event) { float[] values = event.values; mainText.setText( AngleX: + values[0] + AngleY: + values[1] + AngleZ: + values[2] ); } } So from what I've seen everywhere, the angles should range somewhere between -360 to 360 or -180 to 180. Something like that anyway. But what I'm receiving when testing on my T-Mobile G2 is completely different: AngleX: -10 to 10 AngleY: -10 to 10 AngleZ: -11 to 11 Initially I assumed this was radians but it's outside of -PI to PI (i.e. it'd be 360 degrees which is contrary to all the blog posts I've seen. If anyone else has heard of this or seen this problem I'd love to know what you did! Any information or ideas are welcome! Thanks a lot! Andy. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to load more than one layout file for an activity
I'm also having trouble with this. I can get the View using the Inflator; final View loginpage = factory.inflate(R.layout.loginpage, null); and I can get an object from within it final LinearLayout LoginForm = (LinearLayout)loginpage.findViewById(R.id.MainLoginPage); But I cant seem to use this object in a Tab... spec = tabHost.newTabSpec(LoginTab).setIndicator(Login, res.getDrawable(R.drawable.eye)) .setContent(LoginForm.getId()); tabHost.addTab(spec); Says the ID isn't recognised :-/ any ideas? On Apr 29, 8:43 am, Vo Trung Liem lie...@gmail.com wrote: Hi, You can you LayoutInflater to for setting layout dialog. Here is example code: LayoutInflater factory = LayoutInflater.from(this); final View testview = factory.inflate(R.layou.new_layout, null); // process get all view your new layout your_dialog.setTitle(''); your_dialog.setView(testView); ... On Thu, Apr 29, 2010 at 2:26 PM, karteek22 kartee...@gmail.com wrote: Hi, How can we use more than one layout file. I have implemented a cutom dialog.That means i have created an layout file for dialog. And one layout file for my activity. But whatever the UI items in dialog layout ile if iam using them by findViewById it is giving me null I will explain indetails here @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); applicationContext=getApplicationContext(); Dialog folder=new Dialog(this); folder.setTitle(Creating folder); folder.setContentView(R.layout.create_folder); TextView tv=findViewById(R.id.folder_text); //Here folder_text is in my second layoutfile ie in create_folder.xml //In the above statemet i got the null to tv variable. folder.show(); } Any suggestions please Regards, Karteek -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Do the USB drivers work on XP64?
I have two machines, one a WindowsXP32, and one 64. Both with AMD64 chips. I have eclipse on both, and the SDK on both. I'm using the usb drivers with the HTC Legend (http:// groups.google.com/group/android-developers/browse_thread/thread/ 2b54d2ce1202b04b/dd6f9152cd50d64b?lnk=gstq=usb+#dd6f9152cd50d64b). On the 32bit one things work just peachy. Device recognised, and debugging working fine. However, the 64bit one doesn't seem to recognise the device. Windows recognise's the device, and windows device manage shows it, but adb devices lists nothing, and nothing shows up when trying to manually launch from eclipse. Any ideas? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )
I just got an email from someone that said they got it working and very helpfully explained how; Using your post, I got it working using the following: ;HTC Legend %SingleAdbInterface% = USB_Install, USB\VID_0BB4PID_0C97 %CompositeAdbInterface% = USB_Install, USB\VID_0BB4PID_0C97MI_01 Under the x86 section of the inf file. You needed to change the PID to match the legend. I cant test at the moment, but hope this helps people! On 14 apr, 23:10, Anders Widen anders...@gmail.com wrote: I need the same thing, how do I modify the drivers to work withLegend. I really need the hardware support to do Bluetooth. On 10 Apr, 13:31, ThomasWrobel darkfl...@gmail.com wrote: Just got a HTCLegendand am very keen to get into Android development (having previously been expirenced with eclipse/java/gwt). However, the USB ADB driver on the SDK doesnt support it, so I wondered how I could add it myself. I feebly tried adding; ; HTCLegend %SingleAdbInterface% = USB_Install, USB\VID_0BB4PID_0C01 %CompositeAdbInterface% = USB_Install, USB\VID_0BB4PID_0C97MI_01 %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4PID_0FFF to the inf file. But it didnt help. (mainly because I have no clue what I was doing) Any help to get myLegendworking as a debug device would be most appriciated! :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
[android-developers] USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )
Just got a HTC Legend and am very keen to get into Android development (having previously been expirenced with eclipse/java/gwt). However, the USB ADB driver on the SDK doesnt support it, so I wondered how I could add it myself. I feebly tried adding; ; HTC Legend %SingleAdbInterface%= USB_Install, USB\VID_0BB4PID_0C01 %CompositeAdbInterface% = USB_Install, USB\VID_0BB4PID_0C97MI_01 %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4PID_0FFF to the inf file. But it didnt help. (mainly because I have no clue what I was doing) Any help to get my Legend working as a debug device would be most appriciated! :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.