Friday 17 May 2013

Paypal integration in android




http://androiddevelopement.blogspot.in/2011/04/adding-paypal-payment-in-android.html 

http://tutorials-android.blogspot.in/2012/05/paypal-intigration-in-android.html 


I will be happy if you will provide your feedback or follow this blog. Any suggestion and help will be appreciated.
Thank you :)

Pagination of screen in Android

There are different Pagination is available in android. you can used as per your requirements.

CIrcle Flow indicator.
 
Title Flow indicator.
Different view Flow.
AsyncDataLoading.

Download Code here...


i will be happy if you will provide your feedback or follow this blog. Any suggesion and help will be appreciated.
Thank you :)

Open wifi settings in android

main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="How to open Wifi Settings Demo" />

    <Button
        android:id="@+id/open"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="Open Wifi settings" />

</LinearLayout>



OpenWifiSettingsDemo.class

public class OpenWifiSettingsDemo extends Activity {
      @Override
      public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
            Button open = (Button)findViewById(R.id.open);
            open.setOnClickListener(new OnClickListener() {
                  @Override
                  public void onClick(View v) {
                        openWifiSettings();
                  }
            });
      }

      public void openWifiSettings(){

            final Intent intent = new Intent(Intent.ACTION_MAIN, null);
            intent.addCategory(Intent.CATEGORY_LAUNCHER);
            final ComponentName cn = newComponentName("com.android.settings","com.android.settings.wifi.WifiSettings");
            intent.setComponent(cn);
            intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            startActivity( intent);
      }
}


I will be happy if you will provide your feedback or follow this blog. Any suggestion and help will be appreciated.
Thank you :)

Menu in android

http://www.androidhive.info/2011/09/how-to-create-android-menus/ 


I will be happy if you will provide your feedback or follow this blog. Any suggestion and help will be appreciated.
Thank you :)

Map in android

These are the important link for using map in android.

Display current location on Google Map:

http://wptrafficanalyzer.in/blog/showing-current-location-in-google-maps-with-gps-and-locationmanager-in-android/

http://www.androidhive.info/2012/01/android-working-with-google-maps/ 

http://android-er.blogspot.in/2009/11/display-marker-on-mapview-using.html 

http://android-codes-examples.blogspot.in/2011/04/google-map-example-in-android-with-info.html 

http://android-er.blogspot.in/2012/06/add-mylocationoverlay-on-openstreetmap.html 

http://android-er.blogspot.in/2012/05/create-multi-marker-openstreetmap-for.html 

Map with Map overlay: 
http://androidcodesnips.blogspot.in/2011/08/gooogle-maps-for-android.html 
http://android-coding.blogspot.in/2011/08/detect-touch-on-marker-in-mapview.html

Route Map in Android: 

Uri uri = Uri.parse("http://maps.google.com/maps?&saddr=slat,slon&daddr=dlat,dlon"); 

Here saddr -> source address 
daddr -> destination address 
slat -> source latitude 
slon -> source longitude 
dlat -> destination latitude 
dlon -> destination longitude 
Intent intent = new Intent(Intent.ACTION_VIEW, uri); 
startActivity(intent); 

Google MapV2:
http://ramsandroid4all.blogspot.in/2013/03/google-maps-android-api-v2.html
http://patesush.blogspot.in/2012/12/how-to-create-app-for-google-map-v2-in.html

http://www.solutionanalysts.com/blog/android-custom-marker-icon-google-map-android-api-v2
http://wptrafficanalyzer.in/blog/custom-marker-icon-for-google-maps-android-api-v2/
http://wptrafficanalyzer.in/blog/gps-and-google-map-in-android-applications-series/