Android Interview Questions Part 1

12 May

Tweet Android:Android is a stack of software for mobile devices which includes an Operating System, middleware and some key applications.The application executes within its own process and its own instance of Dalvik Virtual Machine(DVM) which run Java Byte Code. Activity:A Single screen in an Application,supporting Java Code. Intent:Its kind of Class which describes what Caller [...]

Android List View Example with TOAST

28 Apr

Tweet Listview Android Example with detail explanation: Components used: ImageView TextView Toast – its alert notification way in android application. Download source code here #Layout: #Src: public class ListMobileActivity extends ListActivity { …….extend the ListActivity onCreate Method add : setListAdapter(new MobileArrayAdapter(this, MOBILE_OS)); …call adaptor protected void onListItemClick(ListView l, View v, int position, long id) { [...]

Android Resources – Tutorial Part 2

28 Apr

Tweet Now We get the overview of basic fundamentals of android application, in this i will go through different folder structure and there uses: #AndroidManifest.xml – you can say “its the owner of application” which does the following: 1. it names the java package of the application. something like : 2. It describes the components [...]

Android Fundamentals -Tutorial Part 1

27 Apr

Tweet Android !! Mobile Platform for developers. I started looking around android development. Fundamental Building Blocks for any Android Application consists of: #Activity: Basic Building block of application which renders UI. Every screen in-itself is an Activity.Each Activity work together to make the application. #Services: Background Thread which runs for indefinite period. #Broadcast Receivers: Component [...]

JSON-P – JSON with padding

19 Apr

Tweet JSONP or “JSON with padding” is a complement to the base JSON data format. It provides a method to request data from a server in a different domain, something prohibited by typical web browsers because of the Same origin policy Requests for JSONP retrieve not JSON, but arbitrary JavaScript code. How it Works?? http://server2.example.com/RetrieveUser?UserId=xxx [...]