It is currently Mon May 22, 2017 2:27 pm



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: SMS tracking app using gps (with major problem!)
Unread postPosted: Sat Jan 28, 2017 1:15 pm 
Offline

Joined: Sat Jan 28, 2017 5:23 am
Posts: 3
Wrote a tracking app will reply to an SMS message containing a codeword (Waldo) with a link to Google Maps. The app works perfectly well on Android 4, but on Android 5 or 6 the app fails to respond unless the phone is awake and the app has focus. WAKELOCK 1, which should allow it to process in the background, doesn't work on the later operating systems. Any advice would be appreciated.


Last edited by BikerRay on Sun Jan 29, 2017 8:03 am, edited 1 time in total.

Report this post
Top
 Profile  
 
 Post subject: Re: SMS tracking app using gps (with major problem!)
Unread postPosted: Sun Jan 29, 2017 1:03 am 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1336
Hi BikerRay

You could try changing all the gr.render to:

Code:
if ! background() then gr.render


See if that helps

Regards Roy


Report this post
Top
 Profile  
 
 Post subject: Re: SMS tracking app using gps (with major problem!)
Unread postPosted: Sun Jan 29, 2017 4:55 am 
Offline

Joined: Sat Jan 28, 2017 5:23 am
Posts: 3
Wow! That worked perfectly. Thanks a bunch, I would never have been able to figure that out. I just need to make sure the gps has lock before I send the reply, and the app will be useful for finding my wife in the shopping center!


Report this post
Top
 Profile  
 
 Post subject: Re: SMS tracking app using gps (with major problem!)
Unread postPosted: Sun Jan 29, 2017 7:08 am 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1336
BikerRay wrote:
Wow! That worked perfectly. Thanks a bunch, I would never have been able to figure that out. I just need to make sure the gps has lock before I send the reply, and the app will be useful for finding my wife in the shopping center!

Assuming you can get GPS in the shopping center :lol: :lol:


Report this post
Top
 Profile  
 
 Post subject: Re: SMS tracking app using gps (with major problem!)
Unread postPosted: Sun Jan 29, 2017 7:55 am 
Offline
User avatar

Joined: Sat Dec 08, 2012 2:14 am
Posts: 1135
Location: From Blighty
Quite easy to find women in a mall. You don't need GPS. Just look in shoe shops.

Mog


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
suspicion-preferred