Pages

Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Tuesday, 20 March 2012

Map api key for android

Step:1 Go to Run and Type cmd

Step:2 Go to Path at (.android) folder.

Step:3 Now type command
             kaytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass  android

Friday, 2 March 2012

Current Location on map in Android

Step1:Create new android project.
File/new project/android project/showmapactivity.

Step2:Create main.xml file with map api key.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mainlayout"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"    >

WaveLayout in Android

Step 1:Create new android project in eclips.
File/new project/android project/waveLayoutActivity.

Step 2:Create wave_layout.xml and wave_scale.xml in @res/anim
wave_layout.xml:
<?xml version="1.0" encoding="utf-8"?>
<gridLayoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
       android:rowDelay="75%"
       android:columnDelay="0%"
       android:directionPriority="none"
       android:animation="@anim/wave_scale" />