Re: [android-developers] Re: Simulating USB connection

2010-10-07 Thread Kostya Vasilyev
Sometimes the charger can be seen by a phone as a computer connection. My Galaxy S sometimes does this - I guess it depends on the angle at which the usb cable is inserted. -- Kostya 07.10.2010 16:26, DanH пишет: You sure the problem doesn't only occur when the USB is attached in SD sharing

Re: [android-developers] Re: Simulating USB connection

2010-10-07 Thread { Devdroid }
On 7 October 2010 14:26, DanH wrote: > You sure the problem doesn't only occur when the USB is attached in SD > sharing mode? No. Plug the cable - boom :) That's why I wonder how can I debug this w/o doing extensive logging and hoping it got written to the log. Unfortunately, for obvious reason I

Re: [android-developers] Re: Simulating USB connection

2010-10-07 Thread { Devdroid }
I managed to narow down the problem and it seems some combinations of Table Layout can hurt when using with RemoteViews? Did not yet found the exact culprit -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

Re: [android-developers] Re: Simulating USB connection

2010-10-07 Thread Kostya Vasilyev
RemoteViews are used by home screen widgets. The guide on creating those has this warning: http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout A RemoteViews object (and, consequently, an App Widget) can support the following layout classes: Frame

Re: [android-developers] Re: Simulating USB connection

2010-10-08 Thread { Devdroid }
On 8 October 2010 13:31, DanH wrote: > Maybe you can think of some other way to cause the equivalent juggling > of the notification area. The problem is that anny other juggling just works. USB connection crashes each time, so that would be perfect to have this simulated. I may check android sour