[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-06 Thread burtoogle
Hi, Mark, If you send you my code would you be able to give some pointers? Sure, I'm happy to take a look. Cheers, Mark -- 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] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread burtoogle
Hi, I read that any HTC phone (running sense) will not be able to use BT as the stack was not implemented by HTC correctly. First, is your phone a HTC, second, does anyone know if this is true? I have an app that uses BT SPP to talk to custom hardware and it works perfectly well with my HTC

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread burtoogle
Hi, Interesting... un-rooted I assume? Yes, un-rooted. What version numbers (Android / Baseband / Kernel) are you running? 2.2 / 32.49.00.32U_5.11.05.27 / 2.6.32.15-gf5a401c htc-kernel@and18-2 #1 Cheers, Mark -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread burtoogle
Hi, I can send you some of my BT code if it would be useful. BTW - here's a shameless plug for my app (and the product that it talks to) http://www.smartavionics.com/pb3/pb3.html Cheers, Mark -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How to obtain dimensions of an Activity's top-level view.

2011-05-07 Thread burtoogle
Hi, I want to scale some (fixed length) text so that it nearly fills the view that contains it. The size of that view depends on the screen dimensions but, of course, is not exactly the width/height of the screen due to decorations, action bars, etc. The question is, how can you obtain the

[android-developers] Re: How to obtain dimensions of an Activity's top-level view.

2011-05-07 Thread burtoogle
Hi Dianne, On May 7, 10:48 pm, Dianne Hackborn hack...@android.com wrote: It doesn't have a size yet in onCreate().   You should make a subclass of the view and onSizeChanged() will be called when it gets its initial size or that size changes. Thanks for the quick response - I will do that.

[android-developers] Bluetooth breaks when more than 1 app uses BT SPP?

2010-10-14 Thread burtoogle
Hi, Perhaps someone can shed some light on this: Using HTC Desire + Froyo and the 2.1 API. I have an app that uses BT SPP to talk to some custom hardware. It's normally very reliable, I can start and stop the app many times and it always works as expected. Today, I was working on another app

[android-developers] Re: Bluetooth Serial Port Programming.

2010-09-26 Thread burtoogle
Hi Nathan, I am working on a client app that talks to custom hardware using the BT SPP. The UUID I am using is the well known 1101--1000-8000-00805F9B34FB. The app sends commands (a few bytes) to the HW and that responds with anything up to a few hundred bytes of data. The custom HW uses

[android-developers] Do threads cache instance variables?

2010-07-07 Thread burtoogle
Hi, I am starting to develop an Android App and have noticed the following behaviour in my test code (not yet designed the real app): A thread that loops around doing Bluetooth IO accesses an instance variable that is declared in the enclosing class. That instance variable gets set to null by

[android-developers] Re: Do threads cache instance variables?

2010-07-07 Thread burtoogle
Thanks for responding, that's all interesting stuff. Mark -- 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