I want to develop a LBS app for Android,but I do not know how to begin the project.
I want to use the Google Map API to use the map data of Google.The user can also add information on map,and the information can show on the map.
(For example,an user find one street is not safe,then the street will be red on the map.)
And I use the MSSQL SERVER or Oracle to store the information,but I don`t know how to get and use the data when I need it,should I use a GIS Engine(like ArcGIS)?
How can I show the information on Google Map?And Which GIS Engine I should use?
I also have another idea to use the Google Maps Data API.
Anybody can give me some suggestions?Thank you very much:)
One of the solutions could be following:
You can use MSSQL Server 2008 or Oracle to store data. PostGIS is even better because it's free and has a solid spatial capabilities.
As GIS engine you could use Geoserver. It works with all databases mentioned above. From my own experience it works really good with PostGIS.
If you want a native Android app you can go ahead and use native Google Maps APIs and manually construct WFS requests in order to communicate with Geoserver when storing data in the database.
Another option is to built it as a webpage and use coming OpenLayers 2.11 javascript library which has great support for mobile devices. It's also great at constructing WFS requests so you won't need to handle this stuff manually. If you still want an Android map, you can use Phonegap to wrap you OpenLayers webpage into an app.
Related
I'm looking for a library to display a raster, host on my website, on an Android device.
I'm trying to do that with MapBox but I just read that:
At this time, the offline database format is private. In the future, we may publicly document the format and implement Mapbox Mobile APIs for consuming pre-built databases.
Does it mean I can only display the raster online?
Is there anyway to just point tiles' source to a internal folder?
Should I use OSMDroid instead of MapBox?
Thank you
You can use 4.2.0-beta.5 of our SDK and work off this example to add a raster layer from a web map service. I'm not sure what you mean by offline when you are requesting to add a web map hosted on your website.
I'm new to android ,the app i'm building will do some computation on some lat,long values retrieved from a database and plot it on a map and also make some API calls.It will also store the user profiles .I am familiar with python so I'm planning to Build the back-end using Google App Engine.I was wondering if that is the right choice or are there any better choices available
Use any back-end, in which you feel comfortable, your just have to provide web services for Android. Google App Engine & python is as good as any other. Only thing which matter is your comfort or experience (in a particular platform).
Some other options are:
PHP, MySql
Java (see Spark Framework)
Scala/Java Playframework
& Many other
I have to make a project for android tablets, But i don't know if I can use Phonegap instead of learning Java. My application has to:
Talk with SQL server: update, delete, etc (using web-services) if there is no connection with server application has to store data in local then has to update to remote
Show current location of user in map (like navigation)
User can add location or information on the map, (like tracking objects on locations)
Application will use Internet, so application has to be secure, application doesn't have a lot of users maximum users will be 50.
So what do you think? If you work in Phonegap can you suggest me to use it or I have to learn Java?
Short Answer is No You don't Have to , You can use PhoneGap or if you are a .NET Fan-boy then use Mono For Android instead
PhoneGap
when you start your new application project you will just need to load your html page to the app and this is all you need to know about java , and from this point you will start implementing in your HTML document using javascript , html , css , phonegap to access mobile APIs , jquery mobile etc
The best way to Access a remote server data from you "Web based app " is to make ajax calls to the remote server so keep in your mind that you will use Jquery Mobile (or any other UI frame work that support this functionality )
PhoneGap Storage Provides access to the devices storage options.
PhoneGap Geolocation The geolocation object provides access to the device's GPS sensor.
if you will use PhoneGap and looking to have a native look app recommended is kendo ui it is a little pricey $200 but worth it
plus what Ridcully said in his answer "If you want to program for Android in earnest, you will have to learn Java and the Android API."
If you want to program for Android in earnest, you will have to learn Java and the Android API.
If this is just a one time task, I think all of the required issues might be doable with Javascript/Phonegap.
this is just for personal knowledge, I will really appreciate your comments. I wanna build an Android/iOS app in phonegap, basically it's a business listing app, each business listing will have this data:
Name
Picture
Address
Phone
Map Location [latitud,longitude] so I can use a Map API.
I want to have all the directory listings inside the app, so you can use it "offline" not the maps of course, for using the maps you must be online.
So my questions are:
Suggestions about how saving the data, which topics do you recommend me to read
Is there any way to buy/download maps of countries and put them on my app, so the user don't need to be online to check where is located the business listing.
Do you think it's a good idea to develop this idea with phonegap? or do you recommend another methods/frameworks ?
I hope it's clear, sorry for my broken english! :-)
You can use Sqlite Database to store the data. Please read the document provided in the link :http://docs.phonegap.com/en/1.7.0/cordova_storage_storage.md.html#Storage.
You can use Google Maps API during offline. But during online, you can use the PhoneGapAPI provided in the link :http://docs.phonegap.com/en/1.7.0/cordova_geolocation_geolocation.md.html#Geolocation
Yes, you can use phonegap as it is the bestway for your Application. For more information please go through the PhoneGap Documentation link:http://docs.phonegap.com/en/1.7.0/index.html
1.Save data in SharePreferences or sqllite.
2. Use google or bing maps api is more easy. It's expensive to get the local map data and update it.
I am an iphone developer. I create many mobile applications. Some of them need a server side backend to store data and then my iphone applications access them.
Usually, I need to create a backend web application myself using PHP or RoR. However, they are very straight forward web application with some cruds (create, update, delete, edit, ..etc)
There are some troubles with this work:
I need to create very simple application and deploy it myself to the
server
If I am only iphone developer and don't know PHP or RoR, I
ask for some other web developer help.
Is there any existing web application that enables me to build my database schema and just give me API access to my data?
I'd like to recommend Appacitive - Its an awesome tool with many innovative features. One of the biggest advantage it has is that you can create your data model diagrammatically, and all the corresponding APIs are automatically generated for you.
They have relationship managers both in diagrammatic designer and via code. You can also filter data by using their visual tools. Test drive the APIs via their Test Harness tool.
Other great features include a data explorer, inbuilt Social Integration and Geo Location. Have a look at their features.
Try out their free package, they have all sorts of SDKs for Javascript, Android, iOS etc.
You should take a look at parse.com, it provides you the facility to add back-end to your mobile applications in minutes. Here is a tour of their services and android guide.
Look at QuickBlox. There is Custom Objects module, it allows to to build any data structure you want. There are a lot of iOS samples