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

2011-06-07 Thread Edam
Thanks. I have zipped the files and its on my dropbox here http://dl.dropbox.com/u/7071839/MyApp.zip I added an info.txt file to explain what's going on. Any help you be greatly appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Background services and notifications.

2011-06-06 Thread Edam
Hi, I updated my app to set a repeating alarm that starts the service every 5 mins. I checked this and it fired every 5 mins throughout the day without missing. The service OnStartCommand code runs which calls getLastKnownLocation and triggers the Activity to update through a listener if its

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

2011-06-06 Thread Edam
Mark, If you send you my code would you be able to give some pointers? -- 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

Re: [android-developers] Background services and notifications.

2011-06-05 Thread Edam
Hi, Thanks for the info. I'll update my app to use the alarm manager to wake the service. The service will then get the location, (possibly connect to web service) and check if a notification should be sent. -- You received this message because you are subscribed to the Google Groups Android

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

2011-06-03 Thread Edam
Hi, I was looking at using BT to communicate with the WiiMotes and balance board a while ago. I was having some real issues. 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

[android-developers] Re: Need some help from the experts

2011-06-03 Thread Edam
Might be worth looking at http://developer.android.com/resources/articles/contacts.html On Jun 3, 7:46 am, Mehboob mehboob...@gmail.com wrote: Am new to Android word . I just want to know the procedure to bring all the phone contacts in to my app on clicking a button along with check boxes

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

2011-06-03 Thread Edam
Interesting... un-rooted I assume? What version numbers (Android / Baseband / Kernel) are you running? On Jun 3, 9:21 am, burtoogle burtoo...@gmail.com wrote: 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.

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

2011-06-03 Thread Edam
Even more interesting, same version as mine. I could not get the BT communication to work. I originally thought it was my code but I found a load of stuff about HTC Sense phones not working correctly with BT. I wonder if HTC fixed it at some point? I'll retest and if its still not working I'll

[android-developers] Re: how to exit application

2011-06-03 Thread Edam
What method do you use to exit your app? On Jun 3, 10:41 am, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi,        I developed android application which consists  3 Activities, when i am in 3rd activity and clicked exit in menu options.        The application closed, but again when i

[android-developers] Re: How does one app let another let it draw into its view

2011-06-03 Thread Edam
Have you bound your Activity to your Service? You should be able to get the service to raise an event that tells the Activity to get the video info and play it. Are you talking about streaming from the Service to the Activity? On Jun 2, 5:43 am, Extreme Programming Labs xprol...@gmail.com wrote:

[android-developers] Re: Web application on android

2011-06-03 Thread Edam
Do you mean that you want to create a web app/site that looks good on any mobile device, including android phones? If so, I did the same a while ago, a very simple site in ASP.NET but I suspect you could use any web tech that you are familiar with. The key was in setting up the style sheet

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

2011-06-03 Thread Edam
Hi Mark, Thanks, that might be useful, maybe I'll see that I have gone down the wrong route. I started by looking at the BlueToothChat example. My app can get a list of the available devices but when you try to connect, it fails. That looks like quite a sophisticated app you have there. I was

[android-developers] Re: JSON OR SOAP ?

2011-06-03 Thread Edam
Hi, I'm assuming you want to know what format the webservice should return data in? JSON vs XML. I think there are 3 things to consider. 1. Amount of data being sent over the web. 2. Processing required to de-serialise the data (speed). 3. Programming complexity. I was thinking the same thing

[android-developers] Re: SQLiteDatabase error: SQL logic error or missing database

2011-06-03 Thread Edam
Most of your code looks very similar to mine (which works 100% ok). The bit where you select the data is different, mine looks like:- return db.query(true, table_name, cols, KEY_ROWID + = + rowId, null, null, null, null, null); I'm not sure what the difference is

[android-developers] Background services and notifications.

2011-06-02 Thread Edam
that I should not do any background stuff as it drains the battery. I would give the user the option to turn off the background stuff if they want to and also set the frequency. Any thoughts? Thanks Edam -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Show Text On Screen

2011-06-02 Thread Edam
The method I use for overlaying text on a GL view is:- You have a square texture image that contains all the chars you will need (mine is a 256x256 bmp). You load the texture and write a function that creates polys for each of the chars you pass in to the function. Each poly uses the correct

[android-developers] Re: Beginner, can't figure out why it crashes??!!??

2011-06-02 Thread Edam
Hi, I'm wondering weather you meant to over complicate a very simple task. If you just want to get the input from the 2 boxes you could have done it with much less code. On Jun 2, 3:59 pm, treyb tr...@ufl.edu wrote: I am beginning at creating Android apps and I have been playing with a hello

[android-developers] Re: Snake game

2011-06-02 Thread Edam
If you leave the emulator open and run the app again, do you get the same error? Are you running this from Eclipse? Can you look at the ddms and check the output? On Jun 1, 7:16 pm, GameDev pratyush.sinha2...@gmail.com wrote: Hi I am new to android technology.So i need help to learn the same.