Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Posts: 4
Registered: ‎05-01-2012
My Device: curve 9360
My Carrier: vodafone

Background Process for geofencing

hi all,

 

i have  made a android application which 

tracks user location as a background service

does proximity checks/geofencing and gives alerts

recieves push notifications

connects to a mysql database and updates device

 

now the client has asked to do the same for the blackberry.. is it posible to do the above in webworks?

i have seen a webworks sample for location .. how about the background process other things?

 

can someone plz point me in the right direction...

 

thnx

Developer
Posts: 137
Registered: ‎12-22-2010
My Device: Curve 8520
My Carrier: Software Developer

Re: Background Process for geofencing

I have nearly the same project request. I created background-running apps in Java for blackberry but I can't find a way for Playbook or especially for WebWorks Apps on Playbook.

 

Is there a way to get this job done?

Highlighted
New Contributor
Posts: 4
Registered: ‎05-01-2012
My Device: curve 9360
My Carrier: vodafone

Re: Background Process for geofencing

hello....

 

i have now managed to create a webworks project with a background listener page which updates the location with a setinterval of 12000 .. is this the right way  to get location changes? 

i tried using the watchposition , but doesnt work in the simulator ... how do i test the background listener in the simulator? or does it have to be tested on the device?

 

hey levion... can we have a chat on this? 

 

regards

 

Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha
My Carrier: TMN

Re: Background Process for geofencing

Hey guys

 

I've just recentely added geofencing to my app, and was now in the process of looking for a way to have it checked on the background too.

Please let me know if you take this discussion somewhere else,I'm interested too Smiley Happy

 

Nuno

Nuno
Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha
My Carrier: TMN

Re: Background Process for geofencing

Developer
Posts: 137
Registered: ‎12-22-2010
My Device: Curve 8520
My Carrier: Software Developer

Re: Background Process for geofencing


nunodonato wrote:

did you face this problem? http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Keeping-the-Listener-Running/td-...


<rim:background> in config.xml could be the key. But it's not available on Playbook, yet Smiley Sad