Can working with ArcGIS on android without ArcGIS server? - android

Can I share my ArcGIS map with out ArcGIS Server?
I need to make my project for Android device and use ArcGIS to create map.
I need to use client-server in my project but I don't know how to do?
If possible can anyone please help me how to start with?
Thanks to read it. Any help will be appreciated.

Yes.You can publish your map directly from ArcGIS Desktop. Make use of the File >> Share As >> Service.
You need to publish a map service. You need to enable Mobile Data Access if you need any data synchronization or other advanced things
And finally you need to make use of ArcGIS Android Runtime for developing applications using the ArcGIS tools for Eclipss and build the application of your choice.
Refer to ArcGIS Resource Center for Step by Step Tutorials.

I wouldn't recommend to use ESRI if you are trying to develop an Android Application without ArcGIS Server which means your application is not multi user.
There are bunch of opensource gis framework you can use.
However, I'll draw a path to you to follow:
First of all, If you want to use ESRI on your mobile, you'd need to buy ArcGIS Runtime license.
Or you can use your ArcGIS Online Developer account for Lite account. See:
https://developers.arcgis.com/pricing/licensing/
As #Govindran said, you can publish your map as map service and download into your mobile. But if you use GeoServer, you just paste your WMS/WFS address into your mobile app.

Related

I am developing an Android app with ArcGIS offline map support. For that which one I have to use? MPK or MMPK package? How to download it?

I am developing an Android app with ArcGIS offline map support. To work with an offline map in android what I have to download? MPK or MMPK? By which tool I can generate the corresponding package? Does anyone have previous experience on the same? I am using com.esri.arcgisruntime:arcgis-android:100.7.0 dependancy. The documentation are totally confusing for me. We have already purchased a Development builder starter license too. Any help would be appreciated.
There are two main ways to use a map offline.
Create a Web Map in ArcGIS Online and take that offline. This does not involve an MMPK.
OR: Create a MMPK using ArcGIS Pro (a desktop product for Windows)
I expect you might want to consider option 1?
Create and save a web map in ArcGIS Online.
In the Settings ensure it's enabled for Offline. You should also ensure the layers you're using are offline enabled.
Use the OfflineMapTask to generate and download the offline map.
This is explained here, but you might also find this technical session helpful.
If you need to go the other route of generating an MMPK, you will need ArcGIS Pro.
MPKs are not a format that Runtime supports.

Display with mapBox offline raster from my website

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.

guide/information on building an offline mapping Android application using nutiteq

Does anyone have or know of any guides/tutorials/information on how to build an offline mapping Android application using nutiteq?
It depends what data you want to map. Assuming you use latest Nutiteq Maps SDK 3.x:
For offline base maps part see Nutiteq developer portal offline packages
For offline map overlays there are several options, and you can choose for example between following Data Sources:
For custom app logic use LocalVectorDataSource - add objects with your app
For Shapefiles and other GIS file/DB formats try OGRVectorDataSource
You can implement custom Data Source for more advanced cases
Nutiteq helps you to create own in-house server connection setup

SalesForce with Android?

I want connect sales Force from my Android Program please suggest which one is correct way to achieve this I am new to sales Force I have some knowledge in Android Application Developement.
Thanks in Advance.
You definitely want to use the REST API for mobile apps. The SOAP API is really heavy, and is better for Server-to-Server integrations. The best way to get started building an Android app for Salesforce.com is to take a look at the Salesforce Mobile SDK for Android:
http://wiki.developerforce.com/page/Mobile_SDK
There's a very helpful getting started PDF linked on that page.
However, the SDK is meant mostly for starting new apps, so you'll have some work ahead of you integrating it into an existing application. The main things you want are the oAuth 2.0 User-Agent login and REST wrappers.
You may also find this app useful -- I put it together for a presentation at Dreamforce '11, which was shortly before the Mobile SDK for Android came out, so I wrote the oAuth and REST stuff myself. Might be a simpler starting point for you.
https://github.com/tomgersic/DreamforcengerHunt
Hope that helps!
You can either use the RESTful interface or the SOAP webservices. The latter is a bit easier to deal with IMHO.
Under setup in salesforce, download the partner or enterprise WSDL (partner = generic, enterprise = specific for your SF-instance). Now with wsdl2java you can create Stubs for those wsdl entries. Import those into your android app and use them. See here for a Java Exampe by Salesforce.com.
Be sure your user has the permission to "do API". You might want to look into SSO if you want to make a "production"/commercial app. Also, to login, remember to use the correct password, you might need to add the API key (generate using the Setup tab in SF). Hope this helps.
Try checking out some of the open-source SDK projects the developer evangelists have added to the forcedotcom github
Lots of good examples on different platforms, including android with phonegap/html5 and a native SDK for android (iOS and Android) to get you past authentication and onto building your app.
Salesforce Provides mobile SDK for development on mobile device, here is the link for android SDK:
http://wiki.developerforce.com/page/Getting_Started_with_the_Mobile_SDK_for_Android
You need to:
Download SDK.
Add a sample project included in SDK's native/SampleApps folder(make sure you check include to the workspace while importing the project).
Get your remote access form salesforce and update in your app.
--This should get you started with a sample app form salsforce.
After this you need to modify existing code to your own code.
You can go to trailhead and start browsing on it, while working with your own application you will have to learn a lot about smartStore and smartSync,
I did implemented A smartStore App with using salesforce as database provider, if you want i can upload it to drive and share a link to you and
if you have any doubts about using or understanding the flow be free to ask..

How To Develop LBS app for Android

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.

Categories

Resources