I have develop an application that need nearest place.It uses google api for place search.
my question is how to develop a wrapper that abstarct our application and underlying webservice.
It uses features from library (google-http-client,google-http-client-android)
For Example :AndroidJsonParsor can use only android 3.0 version and above.We can use JsonHttpParser for compatibilty.
thanks in advace for your advice
What you want actually, because google developers says Json support is added in API level 1. Means any Android Version will support Json.
Here is the link http://developer.android.com/reference/org/json/package-summary.html
Related
First of all, I would like to ask, CAN YOU integrate Bing Maps within an Android app?
Secondly, if possible, what are the advantages Bing has over Google Maps API and vice versa?
Updates
This Android SDK v1.5is now deprecated
see this link for proper use of BingMap using AJAX controller
Open Source Bing Maps SDK of course it's not official so there is a con right off the top, looks a bit dated but then again the google map api for android in my opinion is a bit dated, but you can work around most limitations.
Seems like both of them want to keep the really "good stuff" to themselves, built in competitive advantage for them.
As far as pro's and con's it depends on what you are trying to do. I don't think there is any perfect solution out there, Decarta which is a bit more free in it's usage restrictions than Google or Bing Decarta Dev Zone and they have a broader range of use API's in my opinion, for instance I like their POI Api vs. using places or yelp etc.
I'm currently working on migrate the legacy Android SDK v1.5 to modern Android platforms, also I'm trying to port the capabilities of Android SDK 1.5 to Bing Maps SDK v8 (v1.5 uses Bing Maps SDK V7).
Please see my Github repository, the master branch is only used for compacibility of Android SDK v1.5, if you want use Bing Maps v8, check out the V8WebControl branch
https://github.com/pengan1987/BingMapsAndroidSDK
Also you can see the video shows how the SDK v8 working
https://www.youtube.com/watch?v=wfMLfyjMTuw
In addition to the Open Source Bing Maps SDK you can use the Bing Maps V7 AJAX control in Android apps. This is the recommended approach as the open source app is old and designed for older versions of Android. Also it is basically just a wrapper of the AJAX control anyways. If you are using PhoneGap then take a look at these blog posts:
http://www.bing.com/blogs/site_blogs/b/maps/archive/2013/06/28/cross-platform-development-with-bing-maps-and-phonegap.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/797/Getting-the-shortest-route-directions-to-items-using-the-Directions-Module.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/795/Showing-GPS-position-on-Bing-Maps-with-PhoneGap-Apache-Cordova.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/794/Bing-Maps-on-IPhone-with-Phone-Gap-Apache-Cordova.aspx
First of all, I would like to ask, CAN YOU integrate Bing Maps within an Android app?
Secondly, if possible, what are the advantages Bing has over Google Maps API and vice versa?
Updates
This Android SDK v1.5is now deprecated
see this link for proper use of BingMap using AJAX controller
Open Source Bing Maps SDK of course it's not official so there is a con right off the top, looks a bit dated but then again the google map api for android in my opinion is a bit dated, but you can work around most limitations.
Seems like both of them want to keep the really "good stuff" to themselves, built in competitive advantage for them.
As far as pro's and con's it depends on what you are trying to do. I don't think there is any perfect solution out there, Decarta which is a bit more free in it's usage restrictions than Google or Bing Decarta Dev Zone and they have a broader range of use API's in my opinion, for instance I like their POI Api vs. using places or yelp etc.
I'm currently working on migrate the legacy Android SDK v1.5 to modern Android platforms, also I'm trying to port the capabilities of Android SDK 1.5 to Bing Maps SDK v8 (v1.5 uses Bing Maps SDK V7).
Please see my Github repository, the master branch is only used for compacibility of Android SDK v1.5, if you want use Bing Maps v8, check out the V8WebControl branch
https://github.com/pengan1987/BingMapsAndroidSDK
Also you can see the video shows how the SDK v8 working
https://www.youtube.com/watch?v=wfMLfyjMTuw
In addition to the Open Source Bing Maps SDK you can use the Bing Maps V7 AJAX control in Android apps. This is the recommended approach as the open source app is old and designed for older versions of Android. Also it is basically just a wrapper of the AJAX control anyways. If you are using PhoneGap then take a look at these blog posts:
http://www.bing.com/blogs/site_blogs/b/maps/archive/2013/06/28/cross-platform-development-with-bing-maps-and-phonegap.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/797/Getting-the-shortest-route-directions-to-items-using-the-Directions-Module.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/795/Showing-GPS-position-on-Bing-Maps-with-PhoneGap-Apache-Cordova.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/794/Bing-Maps-on-IPhone-with-Phone-Gap-Apache-Cordova.aspx
We need a graphical component (view) for rendering maps from any WMS services for Android andn iOS. My researches only show that there is basically only the Google Maps API available as Android/iOS library (MapView).
Before programming a WMS view lib by ourselves, are there any (free or licensed) WMS view libraries for those OSses available, which can be used in own apps? We tried using OpenLayers in a WebView, which is not really satisfying from a performance point of view.
thanks for your help
I think this will fit your requirements:
https://confluence.prodevelop.es/display/GVMN/Home
From their homepage:
gvSIG Mini is a free viewer of free access maps based on tiles
(OpenStreetMap, YahooMaps, Microsoft Bing, ...), with a WMS, WMS-C
client, address and POI search, routes, hybrid location and many more
things. It runs with both on/off-line modes.
While it is packaged as an application rather than a library, the source is available (GPL) so you should be able to extract what you need:
https://confluence.prodevelop.es/display/GVMN/Android+Download
https://svn.prodevelop.es/public/gvsigmini/
I have tried using Osmdroid API for this, but still without success. This requires modifying several java classes as XYTileSource and BitmapTileSourceBase.
osmdroid - OpenStreetMap-Tools for Android
There are applications in the Android Market that can make this work perfectly as OruxMaps but not have an API for development. : (
Nutiteq SDK can do this. WMS sample works with EPSG:4326, but SDK supports also other projections and you can modify the map class to use those. Disclaimer: I'm the developer of it.
Update in 2016: updated links, removed obsolete 3 year old references
Look at OpenStreetMap. It provides maps for both iOS and Android
http://wiki.openstreetmap.org/wiki/Apple_iOS
http://wiki.openstreetmap.org/wiki/Android
Api - http://wiki.openstreetmap.org/wiki/API_v0.6
Hope, this helps you.
We are using the openlayers client. Yes I know it's a Web Client but you can use it in your WebView.
http://openlayers.org/
https://openlayersbook.github.io/ch10-openlayers-goes-mobile/example-01.html
I have a few apps with openlayers maps. Some of these uses online map servers and some uses tiles stored inside the app (offline maps).
For interactions with webView, we use JavaScriptInjections
How can we get extensive API support for all Orkut features on Android.
or orkut integration with android
There's an article on Orkut Developer Home on accessing orkut from an Android application.
It mainly gives an introduction to Orkroid, an Android library project based on the Orkut Client Library.
This should be enough to get you started, but there are more articles more or less relevant to the point on the first link.
You can develop an android application extending android features like sharing photos or showing multiple agendas.
You have to make use of android points of extension, mainly providers and intent listeners, and use the Orkut API (based on OpenSocial) to implement the funcionality you want to integrate.
I am wondering what my options are for using GData and specifically the analytics api on android to build a small widget. After searching around for a while I couldnt come up with any libraries with decent examples.
Are there any dedicated libraries with some decent examples / doco to do this sort of thing? I would like to target 1.5 but if the are 2.0 only I guess that is fine too.
Here is a Google API library that supports Android. It supports all Google API's (including gdata). I don't think it has GData abstractions specifically for Analytics yet, so you might have to familiarize yourself with how the data feed looks, which you can do here.
Please try google-spreadsheet-lib-android
Though its written for SpreadSheet, but you can follow this approach to access Google's other service API. At present it support SpreadSheet and Document List API and based on need I am planning to add more API support.
GData API doesn't work on Android, so no straight forward solution.
Hope it helps.
Cheers,
Prasanta