android-codes-examples.blogspot.com
Android Codes: Animated customized dialog or popup transparent layout with Button and Linear layout gradient effect in android
http://android-codes-examples.blogspot.com/2011/04/animated-customized-popup-transparent.html
Codes for Android developers with examples. Tuesday, April 5, 2011. Animated customized dialog or popup transparent layout with Button and Linear layout gradient effect in android. The image shown below is an example of animated customized popup with transparent layout for button and linearlayout, and the linearlayout and button is given gradient effect. How to get a transparent layout? For that we need to use a transparent class. Package com.popup.design.layers;. Import android.content.Context;. We need...
android-codes-examples.blogspot.com
Android Codes: July 2011
http://android-codes-examples.blogspot.com/2011_07_01_archive.html
Codes for Android developers with examples. Sunday, July 31, 2011. Creating keystore and google api key for android google maps. Open the command prompt and follow the steps. D: android-sdk-windows-1.6 r1 tools keytool -genkey -v -keystore projectkey.keystore -alias aliasname -keyalg RSA -keysize 2048 -validity 15000. Enter keystore password: - - - - - -. What is your first and last name? Unknown]: - - - - - -. What is the name of your organizational unit? Unknown]: - - - - - -. Unknown]: - - - - - -.
android-codes-examples.blogspot.com
Android Codes: April 2011
http://android-codes-examples.blogspot.com/2011_04_01_archive.html
Codes for Android developers with examples. Thursday, April 21, 2011. Google map example in android with info window (Popup) and multiple markers and zoom controls. Through this application we can populate a google map with the info window, zoom controls and marker features. The image of the running application is shown below. First of all, we can run the application with the google api sdk only, we can use from API level 3, but the Google api sdk should be used to run the application. Overlay = new MapL...
android-codes-examples.blogspot.com
Android Codes: Example code for OnKeyDown listener in Android
http://android-codes-examples.blogspot.com/2011/03/example-code-for-onkeydown-listener-in.html
Codes for Android developers with examples. Tuesday, March 29, 2011. Example code for OnKeyDown listener in Android. In this example Toast is shown for the key presses. The approach is simple, just we need to put this code, thats all. Public boolean onKeyDown(int keyCode, KeyEvent event) {. SuperonKeyDown(keyCode, event);. Case KeyEvent.KEYCODE CAMERA:. ToastmakeText(KeyActions.this, "Pressed Camera Button", Toast.LENGTH SHORT).show();. Case KeyEvent.KEYCODE 1:. Case KeyEvent.KEYCODE HOME:. ListActivity ...
android-codes-examples.blogspot.com
Android Codes: Google map example in android with info window (Popup) and multiple markers and zoom controls
http://android-codes-examples.blogspot.com/2011/04/google-map-example-in-android-with-info.html
Codes for Android developers with examples. Thursday, April 21, 2011. Google map example in android with info window (Popup) and multiple markers and zoom controls. Through this application we can populate a google map with the info window, zoom controls and marker features. The image of the running application is shown below. First of all, we can run the application with the google api sdk only, we can use from API level 3, but the Google api sdk should be used to run the application. Overlay = new MapL...
android-codes-examples.blogspot.com
Android Codes: March 2011
http://android-codes-examples.blogspot.com/2011_03_01_archive.html
Codes for Android developers with examples. Tuesday, March 29, 2011. ListActivity with checkbox using AsyncTask with sleep time example in android. We are going to see about using the ListActivity with checkbox example and we are going to see, how to using the AsyncTask with a good example, here we will be using sleep call, it is optional. The view will be like this. First we can see about using sleep option in android, in our code we used this. For (String item : items) {. For (String item : items) {.
android-codes-examples.blogspot.com
Android Codes: Multiple ListView and custom listview example with click listener functions
http://android-codes-examples.blogspot.com/2011/03/multiple-listview-and-custom-listview.html
Codes for Android developers with examples. Monday, March 21, 2011. Multiple ListView and custom listview example with click listener functions. Multiple listview can be placed inside a Activity. Here i am having two listviews. As shown in the above image, the left side displaying list view is customized listview, it that listview we will be showing a imageview and a textview, On clicking the item of that listview, the second listview will be generated. The xml layout for that page will be like this.
android-codes-examples.blogspot.com
Android Codes: Seek Bar or Progress Bar or Slide Bar or Slider
http://android-codes-examples.blogspot.com/2011/05/seek-bar-or-progress-bar-or-slide-bar.html
Codes for Android developers with examples. Tuesday, August 28, 2012. Seek Bar or Progress Bar or Slide Bar or Slider. This bar will be like this, the name for this bar is seek bar. In the xml file we need to mention like this to call the seek bar. The java class file will be like this. Package com.android.seek;. Import android.app.Activity;. Import android.media.AudioManager;. Import android.os.Bundle;. Import android.widget.SeekBar;. Import android.widget.TextView;. Public class Seek extends Activity {.
android-codes-examples.blogspot.com
Android Codes: November 2011
http://android-codes-examples.blogspot.com/2011_11_01_archive.html
Codes for Android developers with examples. Monday, November 21, 2011. Running a service in background on Android. Here the code is generate to run some process in background through service. For example we are running the time in background and displaying it in the UI. The service coding will be in a seperate class MyService.java. Package com.services.demo; import java.util.Date;. Public void onDestroy() { / Called on service stopped }. Private void DisplayLoggingInfo() { intent.putExtra("time", new...
android-codes-examples.blogspot.com
Android Codes: October 2011
http://android-codes-examples.blogspot.com/2011_10_01_archive.html
Codes for Android developers with examples. Monday, October 24, 2011. Google unveils what's new in Android 4 'Ice Cream Sandwich'. Unified mobile OS for tablets and smartphones clones some iOS features and focuses on a slicker UI and new developer APIs. Google has finally unveiled Android 4.0, the unified version of its mobile OS for smartphones and tablets best known by its "Ice Cream Sandwich" code name. The revised Android, which made its debut on a Samsung Galaxy Nexus smartphone. For business users,...