Posts

Showing posts from April, 2014

How to integrate new Admob ad Banner in Android Project using Google Play Services Library.

Image
As we know On August 1, 2014, Google Play will stop accepting new or updated apps that use the old standalone Google Mobile Ads SDK v6.4.1 or lower. So you must upgrade to the Google Play version of the Mobile Ads SDK.
Here are the simple steps to integrate it.

Click Here to Download Source file of this project.

Required steps before you start:

1. Get admob ad unit Publisher id from your admob account.
2. Import "google-play-services_lib" Library to your eclipse.

You will find "google-play-services_lib" Library in "..\adt-bundle-windows-x86_64-20130917\sdk\extras\google\google_play_services\libproject" Path.
Copy this "google-play-services_lib" Library to your Eclipse workspace then Import it to eclipse.

Step 1:

Right click on your project then go to properties. Click on "Android". In that window under library click on "Add" button then Select "google-play-services_lib" and click on ok.

Step 2:

Open "AndroidMen…

How to clear all activity stack in Android

Normally when we launch new activity, it’s previous activities will be kept in a queue like a stack of activities. So if you want to kill all the previous activities, just follow these methods.

In API level 11 or greater, use FLAG_ACTIVITY_CLEAR_TASK and FLAG_ACTIVITY_NEW_TASKflag on Intent to clear all the activity stack.

Intent i = new Intent(OldActivity.this, NewActivity.class); // set the new task and clear flags i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) startActivity(i);

Sony Xperia T2 Ultra

Image
KEY FEATURES OF SONY XPERIA T2 ULTRA (PURPLE) Expandable Storage Capacity of 32 GBAndroid v4.3 (Jelly Bean) OS6-inch TFT Capacitive Touchscreen1.4 GHz Qualcomm Snapdragon MSM8928 Quad Core ProcessorFull HD RecordingWi-Fi Enabled1.1 MP Secondary Camera13 MP Primary Camera
SPECIFICATIONS OF SONY XPERIA T2 ULTRA (PURPLE)GENERAL FEATURESBrandSonyModel IDXperia T2 UltraFormBarSIM SizeMicro SIM