Saturday, November 17, 2012

Android Services

Android Services

A Service is an application component that can perform long-running operations in the background and does not provide a user interface. 
  • Another application component can start a service and it will continue to run in the background even if the user switches to another application. 
  • Additionally, a component can bind to a service to interact with it and even perform interprocess communication (IPC). 
  • For example, a service might handle network transactions, play music, perform file I/O, or interact with a content provider, all from the background
Detailed documentation on services can be found from Google Android Services Documentation

Other examples and articles on Android Services:

Android Data Storage

Android Data Storage

Android provides several ways to store the data. More details can be found from http://developer.android.com/guide/topics/data/data-storage.html


Saturday, November 10, 2012

Android Intents

Android Basics

Android Basics

In this blog, I am trying to list some android basics including the details about the android architecture
  • What is android
  • Android Architecture

Android Devp

Developing Android Applications


When I started learning android development a couple of years ago, the web resources like blogs and youtube videos were the most handy resources for me to quickly find answers to my howtos! However, I still had to spend great amount of time to pick and choose what is more relavant. In this always work-in-progress blog, I am trying to list as many howtos as I can - which could come handy while working on android development

Refer to my another blog on how to setup the android app devp env to start with HelloAndroid app: http://myz2sky.blogspot.com/2012/06/android-development-using-eclipse.html

Check my github for the example apps and some useful links on it's wiki - https://github.com/ddesai/


Saturday, June 23, 2012

howtos


I would like to use this page to keep it populated with tons of useful howtos


  • Virtual Machine and infrastructure

Android Development using Eclipse


  • Setting up Android Development Env on Window system
    • Tips
      • When you setup the Android Emulator - AVD as described in the steps given in build your first app, you might run into a problem below when you create the AVD
        • "Unable to find a 'userdata.img" file for ABI armeabi to copy into the AVD folder" 
        • To solve this, you would need to install the package "ARM EABI * System Image" from Eclipse-->Window-->Android SDK Manager ; Basically this sets up your system target CPU ISA to ARM, letting you run your app on ARM target for android.
        • When you do that, it would also give you an option to install "Intel x86 Atom System Image". Doing so would let you run your emulator for Intel Atom target for Android
      • Since I have Android 2.1 phone where I want to test my app, I am also downloading Android 2.1 (API7) which I can use to develop an app that runs on Android 2.1