Discussion Forums  >  Uncategorized

Replies: 12    Views: 382

MEJohnsonJr
Android Fan
Profile
Posts: 4
Reg: Dec 30, 2011
Bloomington
40
12/30/11 09:41 AM (12 years ago)

Multiple Location Map - Ability To Upload Multiple Locations From a File

I'm want to create an app to show the locations of over 400 restaurants that participate in a diners club. Because there are so many locations, I'm wondering if there is/will be a way to upload all locations from a spreadsheet.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
12/30/11 10:26 AM (12 years ago)
Subscribe
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/30/11 10:57 AM (12 years ago)
In my two seconds of research on Google, I think you could do this with PHP. However, it would require you to be able to make a call to a server that's running PHP in order to make it happen, I think. http://code.google.com/p/php-excel-reader/ The other way would be to create a mySQL database and query the locations that way. Either way, the basic here is to extract the data you want and create a JSON file that you feed to the app. Mark
 
jeffb
Lost but trying
Profile
Posts: 40
Reg: Dec 23, 2011
location unknow...
400
like
12/30/11 05:35 PM (12 years ago)
In a test I was just able to add over 1000 locations to a location map, but via a different method. I have a members map on our online forum where members can add themselves. It is only accessible by members. Anyhow, this map feature also provides a download link of the current data in a .kml file that you can open with Google Earth. Well, low and behold, if you upload that file to an accessible webserver, and then take the address of the file to google maps and put it in the search, it will open up all of your locations on a google map. At that point, google maps creates a URL link, or an embed link that you can use. You can also choose the option to have it create a short link for you. Once you do that, you have the ability to take the link and use it in your app. I've tried it with custom url, as well as the customhtml on 1.4 as well as 1.5 and it works good! I think you can create a .kml file using google earth that you can save and use, so, putting those 400 restaurants in a file and into the app should be a snap. ;o)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/30/11 05:47 PM (12 years ago)
Nice! If you get the chance, and wouldn't mind documenting how you did that, could you write something up? Step-by-steps are much appreciated here on the forum! Mark
 
jeffb
Lost but trying
Profile
Posts: 40
Reg: Dec 23, 2011
location unknow...
400
like
12/30/11 06:08 PM (12 years ago)
Sure, tomorrow I'll try and make a video tutorial starting with google earth, and the process to get it on to your app.
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
12/30/11 10:57 PM (12 years ago)
jeffb: that is very cool, looking forward to seeing more...
 
jeffb
Lost but trying
Profile
Posts: 40
Reg: Dec 23, 2011
location unknow...
400
like
12/31/11 08:20 AM (12 years ago)
Here is a short awkward video I put together this morning as promised showing how to easily add a multiple location google map to your app. I used the app I have on 1.4 for the demo. Hope this is of some use. ;o) http://www.youtube.com/watch?v=1g8nuXChUjs
 
MEJohnsonJr
Android Fan
Profile
Posts: 4
Reg: Dec 30, 2011
Bloomington
40
like
01/03/12 11:41 AM (12 years ago)
@jeffb Awesome! Thank you very much! That is exactly what I was looking for.
 
MEJohnsonJr
Android Fan
Profile
Posts: 4
Reg: Dec 30, 2011
Bloomington
40
like
01/03/12 12:50 PM (12 years ago)
I just found this website: http://batchgeo.com/. It will create a multiple location map if you have all the locations in a Tab-delimited spreadsheet. From there you can get the custom URL to the map and use that in BuzzTouch app editor.
 
Lars1
I hate code!
Profile
Posts: 44
Reg: Dec 26, 2011
Stenungsund
440
like
01/21/12 10:32 AM (12 years ago)
Is it possible to link to a screen on the android app when clicking on a location? When using the short URL the page doesn't stop loading. With the long URL it's OK? Any suggestion.
 
Lars1
I hate code!
Profile
Posts: 44
Reg: Dec 26, 2011
Stenungsund
440
like
01/23/12 01:47 PM (12 years ago)
@MEJohnsonJr I have tested Batchgeo and it works well except for a couple of problems. I used Batchgeo map as Custom HTML in BT and it works fine. Have You had the opportunity to test Butchgeo in Buzztouch and what is your experience on this?
 
MEJohnsonJr
Android Fan
Profile
Posts: 4
Reg: Dec 30, 2011
Bloomington
40
like
01/23/12 03:56 PM (12 years ago)
@Lars1 I have not had a chance to test Batchgeo in Buzztouch yet, but I plan to late next week. I'll let you know how things work out.
 

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.