Posts

Showing posts from July, 2013

INVOKE JSON WEB SERVICE IN ANDROID

Image
WEB SERVICES: By using web services, we can transfer data between the electronic devices. If we create web services for one platform and it can be accessible from any of the platform. There are many t ypes of web services.  Some of them are, JSON SOAP JSON web service is best suitable for Android platform. JSON WEB SERVICES: JSON - JavaScript Object Notation.  JSON is a light weight web service. We can obtain the response from JSON in the following ways, JSON array, JSON object. STEPS TO CREATE JSON CALL Create Android project with name as "JSONCall". Set Main Activity name as "JSONService". This is the code for JSONService. package com.json.jsoncall; import org.json.JSONArray; import org.json.JSONObject; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.os.AsyncTask; import

SVN

Image
SVN: SVN(subversion) is a version control. It is used to maintain a source code. It can be accessible(i.e., modify, update) by everyone in the team. Ways to access SVN, In case of Local file system or network file system, it uses the file///path access scheme. In case of WEBDAV/Delta-V, it uses the http://host/path access scheme or https://host/path access scheme. In case of SVN protocol, it uses the svn://host/path access scheme for unencrypted transport. SVN INSTALLATION STEPS: These are the steps for install your SVN for android. Download your SVN Subversive-1.0.0.I20130122-1700.zip from the below link. http://www.eclipse.org/subversive/previous-releases.php . Extract the Zip file to get the original source file.  Go to Eclipse IDE and Click on Help->Install New Software . You will obtain the below screen.         Click on the add Button which result in the below screen called  Add Repository screen.            Click on the Local but

ANDROID HELLO WORLD PROGRAM

Image
Create New Android Application. Go to File --> New --> Android Application project.  Set Application name as HelloWorldApplication. Click on NEXT button to go for next step. Click on Finish button to open the project window. Below Screen will appear on your project window. Click on the red marked button to create an ( AVD ) android virtual device manager. Click on New Button to create new Android Virtual Device. Enter AVD name and click on OK . Now Right Click on your project folder to run your project. Now you get your output on Android Emulator.

STEPS TO CREATE AN ANDROID ENVIRONMENTAL SETUP

Image
STEP-1: DOWNLOAD AND INSTALL JDK Download JDK from the below link         http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Click on License agreement to download your jdk. Now double click on your jdk.exe to complete your installation process. STEP-2:  ANDROID INSTALLATION Click on below url to download your sdk ADT bundle.   http://developer.android.com/sdk/index.html   Extract sdk ADT bundle files. STEP-3:   Click on Eclipse folder. Right click the eclipse.exe and Click on Desktop (Create shortcut) option. Now go to desktop and double click the eclipse to open. Change your work space otherwise use default one.

Android

Image
ANDROID INTRODUCTION OVERVIEW Android is an open-source and Linux-based operating system where we can use it in smart phones,Tablet, Net book, smart watches, car computers etc. Android is platform-independent language that enables you to compile an application on one platform and execute it on any platform. This saves your effort to write and compile the same applications for different platform. ANDROID-VERSION Version Code Name API Level Android 4.2 Jelly Bean (API level 17) Android 4.1 Jelly Bean (API level 16) Android 4.0.3-4.0.4 Ice Cream Sandwich (API level 15) Android 4.0-4.0.2 Ice Cream Sandwich (API level 14) Android 3.2 Honey Comb (API level 13) Android 3.1 Honey Comb (API level 12) Android 3.0 Honey Comb (API level 11) Android 2.3.3-2.3.7 Ginger Bread (API level 10) Android 2.3-2.3.2 Ginger Bread (API level 9) Android 2.2-2.2.3 Froyo (API level 8) Android 2.1 Eclair (API level 7) Android 2.0.1 Eclair (API level