Using GData and the Google Analytics on Android - android

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

Related

Adyen - What are the disadvantages using Rest APIs instead SDK for mobile app?

Adyen provide both Rest API's and SDK's to integrate in mobile apps. I could not find any strong reason why one should use SDK but API's. Asking here in case I am missing something.
Thanks!
Adyen SDKs are for relatively smaller merchants as the SDKs will take care of the rendering and handling of the request and response. It has all the options such as recurring, payouts etc. The PCI compliancy is also mitigated if you are using checkout API + SDKs.
APIs are for merchants that requires quite some customizations and want to handle almost everything on their side and are generally PCI compliant (raw card data handling) and requires quite some development time as well.
I hope this answer your queries.
Most of the times SDKs are just a simplified or Use Case tailored abstraction to the API.
So if you don’t need the full customizable power provided by the API you can simply use the SDK and you don’t need to handle API Calls,Error Handling, Writing own methods etc. by yourself.

Google-api-client-android and google-http-client-android

I am new in Android. I was trying to make an app using Google place api. All of the tutorial suggest to use api client for android. I downloaded and did everything to use api. I use eclipse and I did what I suggest to do. But there is one problem: I don't know how to use those? What kind of methods they have inside? How to use those methods? Is there any tutorial exist?
Please help..Thank you all in advance.
It would be more helpful if I get any documentation or something like that for those api like we get different methods details of a class.
Google has official documentation for google-http-java-client in this link and for google-api-java-client in this link.
Both are oriented to Android.
If you want to know more about how to access Google Play Services API, see this link

How to integrate bing maps in my android app [duplicate]

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

Using Spreadsheet as Databases for android apps as a centralised database

I have a app which needs a centralised Database.So I am planning to use Google Spread Sheets.
I have gone through this link,
but I really did not understand much in it.
So is there any example codes available please suggest.
Related SO question: Using Google Docs and Google Spreadsheet APIs for Android. There's an answer which links to projects with API docs and examples.
So is there any example codes available please suggest.
I'm still workin on it dono how to use the Google API itself i have
the libraries downloaded
Why not also google for some examples - http://www.google.com/search?q=android+google+spreadsheet+example?

How well does Bing Maps API integrate with Android app?

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

Categories

Resources