Discussion Forums  >  Uncategorized

Replies: 4    Views: 195

vlad12
Aspiring developer
Profile
Posts: 91
Reg: Jun 28, 2011
location unknow...
2,960
06/29/11 08:24 AM (14 years ago)

help with the map

hi how can i set my application to see were are others people using my app
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/29/11 10:45 AM (14 years ago)
What buzztouch version? Android or iPhone? Let's assume you're running v1.5. I can think of TONS of ways to do this, all will require a backend server on your part. The idea would be to capture information about your users and the device location. You could do this using the reportToCloudURL in your control panel. Appending device variables to your custom reportToCloudURL would allow you to begin saving data about your users in a database. Next, you could configure a map screeen that was powered by a URL on your server. The script at the URL would query your database then output location information for each user. Pins would drop on the map for each location. Tapping a pin would show details about the device, the user, etc. I realize that this is a technical solution and not suited for everyone. This means you may need to find a developer to help you pull this off...depends on your skill level. It's not a complicated solution for an everyday web-developer. For a non-developer it's probably out-of-reach.
 
vlad12
Aspiring developer
Profile
Posts: 91
Reg: Jun 28, 2011
location unknow...
2,960
like
06/29/11 11:33 AM (14 years ago)
thanks a lot
 
RescueRunner
Aspiring developer
Profile
Posts: 1
Reg: Jun 24, 2011
Mystic
10
like
07/01/11 04:52 AM (14 years ago)
David, I am hoping to do some active monitoring of GPS lat/long like a turn-by-turn gps does but not for that reason. Is there a way to accomplish this without having the user hit a refresh button and send the reportToCloud URL? I'd like this to be automatic and update every minute or so. I have experience in PHP and a very little amount of javascript.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/01/11 09:17 AM (14 years ago)
Hi in Mystic: Totally doable in v1.5, I would... a) have a look at the existing reportToCloud method in the [youappname]_appDelegate.m file. Try to get a feel for how it works. It's calling a method that makes a requiest to a URL. b) Duplicate this method, (literally copy and paste it's fingerprint in in [yourAppName]_appDelelgate.h and it's complete method in .m). Name this method something else, like 'reportStats' or something. c) In this method, hand type a URL to ping on your server. Use merge fields in the URL like you see in the control panel for device id, location, etc. d) Start a timer when the app launhes to repeat this method over and over again every x second. Google UITimer for some tips. If this makes zero sense, re-post. The idea would be to requiest a URL and ignore the results. It's likely that your idea will be store results on your backend and not return any results to the phone each time this happens so you won't have to worry about processing the return results.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.