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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Contributor
illychsanchez
Posts: 4
Registered: ‎05-01-2012
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

Please use plain text.
Developer
Levion
Posts: 133
Registered: ‎12-22-2010
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?

Please use plain text.
New Contributor
illychsanchez
Posts: 4
Registered: ‎05-01-2012
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

 

Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
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 :smileyhappy:

 

Nuno

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Carrier: TMN

Re: Background Process for geofencing

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

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Developer
Levion
Posts: 133
Registered: ‎12-22-2010
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 :smileysad:

Please use plain text.