Thursday, February 23, 2012

How to prepare and submit paid application to Android Market?

Android Market offers licensing services for paid applications and provides java source code for developers.
This License Verification Library (LVL) must be integrated into custom Android applications. It handles all of the licensing-related communication with the Android Market client and the licensing service
An overview on licensin to follow the link
http://developer.android.com/guide/publishing/licensing.html#test-env


Monday, February 6, 2012

Web service Consumption in Android

   It’s about time that we get some real data in our application instead of a boring, static set of data. There are two different types of web services: SOAP (Simple* Object Access Protocol) and REST.


Web Service Types

SOAP services typically have a defined contract associated with all data structures, service methods, and more. This contract is written in WSDL (Web Services Description Language) and published for consumers who use the web service. Also, these types of services heavily use XML for data requests and responses.

REST services are more ad-hoc than SOAP services since they don’t use WSDL and they rely on pre-established standards (ex. XML and HTTP). These types of services are free to return data in any format and communication between them is more “lightweight”.


Sunday, February 5, 2012

Android Webview - Webpage should fit the device screen


WebView browser = (WebView) findViewById(R.id.webview);
    browser.getSettings().setLoadWithOverviewMode(true);
    browser.getSettings().setUseWideViewPort(true);