[android-developers] Matrix.orthoM - How to use it

2012-09-14 Thread Steven Bruce
I have a very simple application which draws a triangle at zero on the z axis. I want an orthographics view but for the life of me this function won't work. It just shows a black screen with no triangle. How exactly do you use this function? I did the obvious thing which is: Matrix.orthoM(projecti

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-26 Thread Steven Bruce
nning Android 2.3.3. Kristopher Micinski wrote: > On Tue, Sep 20, 2011 at 12:34 PM, Steven Bruce wrote: > > Hi Kris > > > > Yes there is a bunch of stuff in the logcat outpu window. I will try > > and post a copy of it on here later on. I have a feeling it maybe >

Re: [android-developers] Is this a joke??

2011-09-20 Thread Steven Bruce
Oh ok then. I'll let them off. lol. Thanks! :) Daniel Drozdzewski wrote: > On 20 September 2011 17:42, Steven Bruce wrote: > > http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() > > > > What is this supposed to do? Looks lik

[android-developers] Re: Is this a joke??

2011-09-20 Thread Steven Bruce
public static boolean isUserAMonkey() Since: API Level 8 Returns "true" if the user interface is currently being messed with by a monkey. Steven Bruce wrote: > http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() > > What is this suppose

[android-developers] Is this a joke??

2011-09-20 Thread Steven Bruce
http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() What is this supposed to do? Looks like Google having a laugh or something?? :p -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-20 Thread Steven Bruce
wouldn't be an exception thrown, but I spose > weirder things have happened. > > Kris > > On Mon, Sep 19, 2011 at 6:04 AM, Steven Bruce wrote: > > Hi > > > > I have been following the Bluetooth guide on the Android developer > > site and have got everything wor

[android-developers] App force closes when Bluetooth connection occurs

2011-09-19 Thread Steven Bruce
Hi I have been following the Bluetooth guide on the Android developer site and have got everything working so far but now I am really stuck. Despite my code looking virtually identical to the one in the Bluetooth page it just doesn't work. Is that code wrong or something? I have my two thread, co

[android-developers] Re: Threads

2011-09-02 Thread Steven Bruce
same thread twice? This may raise an > > exception. > > Thanks > > > On Fri, Sep 2, 2011 at 6:07 PM, Steven Bruce wrote: > > >> I mean they both start a new thread called 'ConectedThread'. Is this > >> ok or should I not be doing this? > &g

[android-developers] Re: Threads

2011-09-02 Thread Steven Bruce
t; run wouldn't you be starting the same thread twice? This may raise an > exception. > > Thanks > > > > > > > > > > On Fri, Sep 2, 2011 at 6:07 PM, Steven Bruce wrote: > > I mean they both start a new thread called 'ConectedThread'. Is

[android-developers] Re: Threads

2011-09-02 Thread Steven Bruce
I mean they both start a new thread called 'ConectedThread'. Is this ok or should I not be doing this? On Sep 2, 1:28 pm, Steven Bruce wrote: > I have thee threads in my bluetooth program. Both my AcceptThread and > ConnectThread create a newConnectThread from within their Threa

[android-developers] Threads

2011-09-02 Thread Steven Bruce
I have thee threads in my bluetooth program. Both my AcceptThread and ConnectThread create a newConnectThread from within their Thread class but my program seems to crash at this point. Are you not allowed to start a new thread from within a thread class? -- You received this message because you

[android-developers] How come extending ListActivity results in a crash

2011-07-13 Thread Steven Bruce
I have changed my Bluetooth class from extends Activity to extends ListActivity. Now everytime I run the program BOOM!! It bombs out! What the hell is going on?? Steve -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] Is there a way to read the 'Discoverable' timer countdown

2011-07-12 Thread Steven Bruce
Hi I want to be able to display the seconds left before 'Discoverable Mode' ends. Is there a way to get the counter used by disoverable mode or do you have to perform the count manually? Steve -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Trying to listen for SCAN_MODE_CONNECTABLE_DISCOVERABLE

2011-07-11 Thread Steven Bruce
Hi Im my Bluetooth calss I am trying to see when the device has finished being 'Discoverable' When I listen for the ACTION_FOUND intent I get the extra details by doing this: BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); This gives me information about the dev

[android-developers] Re: How to implement a Broadcast Receiver

2011-07-08 Thread Steven Bruce
oid/bluetooth/BluetoothAda... > > > > > > > > > > On Fri, Jul 8, 2011 at 6:28 AM, Steven Bruce wrote: > > Hi > > > I am trying to add a broadcast receiver to my program. In my manifest > > file I h

[android-developers] How to implement a Broadcast Receiver

2011-07-08 Thread Steven Bruce
Hi I am trying to add a broadcast receiver to my program. In my manifest file I have set up the receiver correctly (I think) in my manifest file like this: I have setup my class 'BluetoothReceiver' which should print a message to the d

[android-developers] Post about Broadcast Receiver

2011-07-08 Thread Steven Bruce
Hi I posted on yours group about a problem I am having with a broadcast receiver. That was about four hours ago and I still haven't seen it appear on the group yet? Is this normal or was it rejected for some reason? Steve -- You received this message because you are subscribed to the Google Gro

[android-developers] How to use broadcast receiver. It won't pick up the DISCOVERY_STARTED message??

2011-07-08 Thread Steven Bruce
Ok I am totally stuck. I am trying to scan for bluetooth devices but it needs a broadcast receiver and I've never used them before. I set up my receiver correctly in the manifest: I have a class called BluetoothReceiver which i