How to build an Android App for continuously transmitting mobile's gps sensor data?

faizi_968

New member
Jul 6, 2018
2
0
0
Visit site
Hello Everyone,
I am very new to android app development. I wanted to know how to build an app which is not only able to display current location on GUI but also able to transmit the gps co-ordinates obtained from mobile's own gps sensor over bluetooth to any other bluetooth based module or chip. Please help me with this.
 

Rukbat

Retired Moderator
Feb 12, 2012
44,529
26
0
Visit site
In a loop, read the data, display the data, transmit the data.

It could be as simple as Do {} Until False. Since "do until" waits for the condition to be true, and false is never true, it runs until the user stops the app (or the battery dies). Make sure you kill all processes on closing.

(If "I am very new to android app development" actually means "I am very new to computer programming", you first need to learn programming [something like CS50: Introduction to Computer Science or Teach Yourself Computer Science], then you have to learn Java, then you have to learn the Android environment. Programming isn't something you can "pick up in a week". For a program of the type you're looking at, figure about 2 years of full-time study until you're ready to tackle it if you aren't already a programmer. Install the Android SDK and look at one of the samples [they're all simple programs]. If you can't follow them easily, start learning programming.)
 

faizi_968

New member
Jul 6, 2018
2
0
0
Visit site
Thank You so much for your response. I am not actually new to programming, only new to android programming and java ( i know c,c++,c#). And yes i shall start studying the sample codes. Also, thankyou so much for providing the solution for tackling this code.
 

Forum statistics

Threads
942,989
Messages
6,916,766
Members
3,158,763
Latest member
zif835