Pages

Monday, April 14, 2014

Shredder Chess v1 2 2 Android Game Apk Free Download

Requirements: Android 1.6+
Overview: Shredder, the most successful chess program ever, now for Android. Get the best.

Shredder, the most successful chess program ever, is now also available for Android. You can play against Shredder, analyze with him and solve chess puzzles. It offers the usual Shredder standard for your pocket.


In addition to the outstanding playing strength of the 16 times computer chess world champion, Shredder is also able to mimic the play of a human chess player with any playing strength. He even deliberately makes typical human mistakes in those levels.

Solve 1000 built in chess puzzles. Shredder keeps track of your performance and offers advice if needed.

You can adjust Shredder’s playing strength from beginner to master level. If you like, Shredder automatically adjusts his strength to yours. He even calculates an Elo rating for you. This is how the playing strength of chess players is typically measured.

During the game a coach is watching your moves and warns you if you are about to make a mistake.

See how you are getting better and better the more games you play and the more chess puzzles you solve.

Works fine on mobile phones and large tablets.

* Adjustable playing strength
* Intuitive and very easy to operate
* 1000 built in chess puzzles
* Rates your play
* Outstanding playing strength
* Simulates opponent of any strength
* Analyse your games with Shredder, find your mistakes and improve your play
* Coach shows your mistakes
* Great variety with built-in opening book
* Enter and analyze any position you like
* Load and save games (incl. names, date, etc.)
* Import and export games in PGN format
* Different chess boards and pieces
* Improve your play whenever and wherever you like

v1.2.2
periodic online license checks removed
support for x86 devices
longer time controls
bug fixes

More Info:
http://www.sinfulapplication.com/

Download Instructions:

http://www.sinfulapplication.com/showthread.php?t=10481
http://depositfiles.com/files/w15u37z39

Read More..

Sunday, April 13, 2014

PicShop Photo Editor 2 8 2 Full APK


PicShop - Photo Editor 2.8.2 Full APK.Beautiful design combined with a lot of editing options and its dozens of filters is the first mobile editing software on the market. You'll love this app! With support for high-definition images up to 8 megapixels, picshop is ideal for demanding and casual photographers. Integrate social sharing in law enforcement and you can post to Facebook, Twitter or by email with a single click!

Read More..

Saturday, April 12, 2014

Zynga Poker apk android lounge blogspot com

Zynga Poker apk
Zynga Poker apk

Current Version : Varies with device
Requires Android : Varies with device
Category : Cards And Casino
Size : Varies with device





Recommended Links

  • ebay.com
  • half.com
  • store.apple.com

Description

***** "The largest poker site in the world... Introducing Zynga Poker." - ESPN.com *****

"The world’s largest online poker room…bigger than PokerStars.” - Bluff Magazine

There’s always a table waiting for you in this exciting Texas Hold ‘em Poker game!

Play Zynga Poker LIVE against 6+ million daily users. More than 60 million hands won daily.

***** "The largest poker site in the world... Introducing Zynga Poker." - ESPN.com *****

"The world’s largest online poker room…bigger than PokerStars.” - Bluff Magazine

There’s always a table waiting for you in this exciting Texas Hold ‘em Poker game!

Play Zynga Poker LIVE against 6+ million daily users. More than 60 million hands won daily.

MORE FREE CHIPS:
- Free to Play - Download now and get 20K Chips FREE!
- High Chip Payouts Daily - Win up to 100K chips everyday with Lucky Bonus Slots!
- Gift FREE poker chips, up to 1 million per gift!

COOL FEATURES:
- Faster Poker with NO wait times!
- Play casual Texas Hold ’Em or Tournament play
- Play with friends - join their table with a simple click of a button.
- Buy a round of drinks for everyone at the table
- Full support for Spanish, Turkish, Italian, French, German, Simplified & Traditional Chinese, Portugese, Japanese, Korean, Turkish, and Malay.

Let us know what you'd like to see next by hitting us up on Facebook or Twitter: Facebook: http://zynga.tm/PokerFanPage Twitter: http://zynga.tm/PokerTwitter

Use of this application is governed by the Zynga Terms of Service. Collection and use of personal data are subject to Zynga's Privacy Policy. Both policies are available in the Application License Agreement below as well as at www.zynga.com. Social Networking Service terms may also apply.

Terms of Service: http://m.zynga.com/legal/terms-of-service


Videos


Search Result

Android users can now get Zynga Poker for Android (APK) for FREE. Zynga has released one of its popular games Zynga Poker on Android OS.,Name : Zynga Poker v2.3 Apk Android Games Version : 2.3 File Format : apk File Size : 10.6 MB Developer : Zynga Platform : Android Category :,Zynga Poker Apk- Whats New in this version: Zynga Poker Apk, 1.Win big playing the brand new Hi-Lo mini-game!, 2.Bug fixes and stability improvements!, 3.Let u,New 1-on-1 Poker mode! Play turn-based, heads up holdem poker with Facebook friends or random opponents!,Zynga Poker Apk - Ini adalah aplikasi game android poker, game poker ini sekarang bisa kamu mainkan di android kamu, dengan hanya get free apk pokernya,Download Zynga Poker Android apk: Or use the links in widget below to Download Zynga Poker Android Game latest version from Google Play Store. App Name Developer,Zynga Poker .apk Tutorial Blogging,Tutorial Komputer, Tutorial Internet,Informasi Pendidikan,Software,Android app. Home; Business. Internet; Market; Stock; Sitemap ,Do NOT use jgeter or it will make your IP banned.,Play Zynga Poker #1 Texas Holdem Game on Facebook! FREE 10K chips with get ***** "The largest poker site in the world Introducing Zynga Poker.",Tags: Download Zynga Poker v1.7, Poker, Zynga, Zynga Poker, Zynga Poker 1.7 apk, Zynga Poker apk, Zynga Poker v1.7 game for android. September 23rd, 2011

Read More..

ANDROID Magic rampage Apk and Cache all devices qvga wvga hvga wsvga

Download ANDROID Magic rampage





http://androidgamesofworld.blogspot.com/
Magic rampage - a fascinating game, where you will play as a soldier magician, run in the castle and destroy everything on the way.

Features:
  • Control of your character
  • Huge choice of weapon
  • Clear control system
  • Interesting puzzles
  • Many levels
How to install a game with cache?

Way for cache: sdcard/Android/obb/
Read More..

Friday, April 11, 2014

Trouser Trouble v1 49 Apk

Trouser Trouble v1.49 Apk


Requirements: Android 1.6 and up
Overview: Use the touch screen to pull down everyones pants!
Trouser Trouble is a game where you pull down peoples pants with the touchscreen to earn points.

Features:
3D graphics
Revolutionary undressing-technology
Addictive Gameplay
Lots of naked bottoms

Use the demographics slider in the options menu to control the ratio between men and women, if youre more keen on pulling down pants on a specific gender.
*1GHz processor recommended


Download Instructions:
http://www.filesonic.com/file/u0yDUWe/T.T.v1.49.apk

Mirrors :
http://ul.to/9av9ewn0
http://www.embedupload.com/?d=5CEUSAFMQZ
Read More..

Thursday, April 10, 2014

Blast em Elves v1 0 1 Apk

Blast em Elves v1.0.1 Apk


Requirements: Android 2.1
Overview: WARNING HIGHLY ADDICTIVE!
SANTA NEEDS YOUR HELP!

Santas secret experiment went horribly wrong and because of that, all the elves are now mindless zombies. Its your job to em out of ruining Christmas.

Features :
- 60 levels of mind puzzling addictive gameplay
- Beautiful 3D-graphics
- Simple and addictive gameplay

Download Instructions:
http://www.filesonic.com/file/irt6EP...lves_1.0.1.apk 

Mirrors :
http://ul.to/jevhfady
http://www.uploadmirrors.com/get/AB6WZOJ2/
Read More..

Wednesday, April 9, 2014

Next Launcher 3D v3 0 Android Full Apk

Next Launcher 3D

Free Download Next Launcher 3D 3.0 for Android

Best 3D Launcher Ever. + Brand new UI3.0 Just Released!

Next Launcher 3D shows you how 3D dynamic effects and highly customizable Android home screen replacement app could redefine your Android device.

Forget about everything tiling on the flat like dead fish. Forget about the icon showing like a piece of paper. Forget about the dock standing in line like dumb wood. Forget the traditional launcher and embrace REAL 3D Launcher!

■ Key Features
- Extremely fancy 3D effect with buttery smooth experience
- Real 3D Home Screen Transition Effects (Crystal, Cloth, Folding and more coming soon)
- Stunning 3D screen preview with dazzling animation of screen switching
- Build unique icon style by changing its size, angle, style and label (Icon Editor)
- Combine all good parts from different themes into a single theme you really love (Theme Mix Mode)
- Efficient and powerful batch apps management with gestures
- Up to 8 different gestures available in home screen and app drawer
- See how cool your phone could be by blowing all the icons and the widgets to air space (Floating Mode)
- Enhanced shining border effects for home screen transition
- Up to 7 rows on dock to shortcut all your favorites
- Keep releasing 3D Next widgets, 3D themes and live wallpapers special designed by GO Launcher Dev Team

■ FAQ
1. Why I have to set Next Launcher as default home screen replacement each time after some devices restarted?
A bug in Android system 4.1.x causes the problem. If you happen to encounter this issue, please download Next Launcher Patchin Google Play and follow the tutorials to fix it.
2. How to avoid home screen elements loading problem?
Please do not install Next Launcher 3D into your SDcard. It will help avoiding home screen elements loading problem due to SDcard loading delay if you restart your phone or remove SDCard.
3. How to use icons in GO Launcher themes?
Install a Go Launcher theme -> Click “Next Key”- > Click "Theme Mix" -> Click the shining desktop elements -> Find the GO Launcher theme and apply it.

Screenshto:
Next Launcher 3D apkNext Launcher 3D
Next Launcher 3DNext Launcher 3D

Whats New:
V3.0.1
1. (Fixed) Some bugs with Next Notification
V3.0
1. (New) New Ultimate Next UI
2. (New) New Folder open effect
3. (Improved) Homescreen preview reflection effect(Menu->Preferences ->Effects settings->Homescreen reflection effect)
4. (Improved) Improved) Smoother & faster for the animation effects
5. (3D) Supports notification (Menu->Preferences->Advanced settings->Notification)
6. (3D) Support replace icon base (Menu->Preferences ->Screen settings-> Replace icon base)

Download Next Launcher 3D v3.0 Apk
download now

or


Read More..

New » Apk »Robot Rush for Tango v1 0 4 Unlimited Money Gears

Robot Rush v1.0.4 [Unlimited Money/Gears]

Android Market App: 2.3.3+

Android Market App: **Indie Prize Best Show - Audience Award Winner**

Evil Enslavers from one point. Brave Robots from . Time Rebellion! So, don’t waste any !

Set Rioters free, lead a Run!

With Robot Rush play who messaging app.

*** FEATURES ***

- Atmospheric runner steampunk design

- Customizable robots, offering unique

- Increasing difficulty from easy -breaking

- Diverse daily missions

- Dangerous Saws & Gears

- Highly immersive audio-visual experience

- Leaderboards friends

Download New » Apk »Robot Rush for Tango v1.0.4 [Unlimited Money/Gears] Instructions:

http://unlimitzone.com/p8ynxdp75fyk/...Gears.apk.html

http://ul.to/n7pmnif1

http://www.tusfiles.net/15mtudc3m22k

http://turbobit.net/wpxr5torhc8o.html

Read More..

Monday, April 7, 2014

Monkey Z Theme GO Launcher EX apk android lounge blogspot com

Monkey Z Theme GO Launcher EX apk
Monkey Z Theme GO Launcher EX apk

Current Version : 1.0
Requires Android : 2.0 and up
Category : Comics
Size : 1.6M





Recommended Links

  • ebay.com
  • half.com
  • store.apple.com

Description

===Brief introduction:
Covers icons, wallpaper, folders

interface and app drawer. Get it and have a completely new makeover

of your smartphone with android OS at once!

===Important tips:
***This app only works with GO Launcher EX.
***Install GO Launcher free from the market first.

***How to Apply the Theme:
1.Please Do Not open directly after it's installed.
2.Back to GO Launcher EX: MENU > theme preferences.
3.Choose and apply the theme.

***Change icons:
Some devices may not change the icons automatically.
1.Tab and hold an app in desk screens.(Not available in app list.)
2.Replace > Choose the theme's icons.

***Circle Effect:
1.Only works in App list, MENU > Settings > Icon effect > Chariot

Thanks for your support!



Videos


Search Result

$1.99 ZAlso GO Launcher Theme v1.0 Apk | 3.2 MB | Mediafire Requires Android:2.0 and up Specially designed for GO Launcher EX, provides delicate app icons,,Free get xperia z theme go launcher ex for Android, latest xperia z theme go launcher ex android apps apk get for free.,minecraft go launcher ex theme apk get free full; z texture go launcher theme apk « Metal GO LauncherEX Theme apk [FULL] Z.Pitch Theme GO Launcher Ex apk »,Search Results for: xperia z go launcher ex theme apk MNML White Theme Go/Nova/Apex APK 2.2 includes 600 beautiful icons to pick and choose from :: ,Z.Pitch Theme GO Launcher Ex apk. admin April 30th, 2013 Comments Off 89 views. Covers icons, wallpaper, folders interface and app drawer. Get it and ,Name : GO Launcher EX 2.82 APK Android Apps Version : 2.82 File Format : apk File Size : 4.7 MB Developer : GO Launcher Dev Team Platform :,Monkey Z Theme GO Launcher EX : Antony.Design ===Brief introduction: Covers icons, wallpaper, folders interface and app drawer. Get it and have a completely ,GO Launcher EX Theme Pink Cute Theme works only with GO Launcher EX, if you dont have it, get for free from Google Play. Some butterflies are yellow and orange.,Monkey Z Theme GO Launcher EXGO Launcher EX UI3.0 theme 2.07,Faenza Theme for Go Launcher 3.0,GO Launcher EX Theme BlackGold 1.1,HTC SENSE GO Launcher EX Theme 1.09 ,Price: Free File size: 1658 kb Version: 1.5.4 Updated: Saturday October-20 2012 Downloads: File os: /.apk Categories: Comics. Click to get

Read More..

Sunday, April 6, 2014

Download Link Sentinel 3 Homeworld apk sd file AndroidgamezZ blogspot com

Sentinel 3 Homeworld apk & sd file AndroidgamezZ blogspot com

Type : rar
Size : 71 MB
Artis :
Apk Mediafire
Rating :






Similar Post




Description


Sentinel 3: Homeworld apk & sd files: Android latest games sd files get free from mediafire!! qvga hvga & wvga supported!,CURRENT VERSION: 1.0.1A. REQUIRES ANDROID: 2.1 and up. SIZE: 35M. V1.0.1A update: * Touch input fixes * Implemented correct behaviour for the hardware back button,Brought to you by origin8 technologies Ltd, Sentinel 3 is another game with Tower Defense genre. This game has been updated to version 1.2.0 with many,Free Android Apps,Games Download From Android Market,Sentinel 3: Homeworld 1.1.3 Apk, Android Game - get software for android apps Aplikasi Android games Applications untuk android, free, best HD Android, apk, QVGA ...,Sentinel 3: Homeworld 1.2.3 (v1.2.3) Fully Unlocked Apk. new update Added a savegame backup to SD Card feature, located in the options menu.,Sentinel 3: Homeworld 1.2.3 (v1.2.3) apk android apps. Changelog: V1.2.3 change Added a savegame backup to SD Card feature, located in the options menu.,Download free Android game Sentinel 3: Homeworld apk. Find tons of the best games for any Android tablet and phone: Sentinel 3: Homeworld and many others at Mob.org ...,Sentinel 3 Homeworld Apk+data Files armv6 game for qvga hvga and wvga mobiles android os 2.2 and up Hd Game,Free Android Apps,Games Download From Android Market


Search Result


Sentinel 3: Homeworld apk - APKTOP
Free Android Apps,Games Download From Android Market

Sentinel 3 Homeworld Apk+data Files - DOWNLOAD ANDROID HD-HVGA ...
Sentinel 3 Homeworld Apk+data Files armv6 game for qvga hvga and wvga mobiles android os 2.2 and up Hd Game

Sentinel 3: Homeworld Android apk game. Sentinel 3: Homeworld free ...
Download free Android game Sentinel 3: Homeworld apk. Find tons of the best games for any Android tablet and phone: Sentinel 3: Homeworld and many others at Mob.org ...

Sentinel 3: Homeworld 1.2.3 (v1.2.3) apk mediafire | Android APK ...
Sentinel 3: Homeworld 1.2.3 (v1.2.3) apk android apps. Changelog: V1.2.3 change Added a savegame backup to SD Card feature, located in the options menu.

Sentinel 3: Homeworld 1.2.3 (v1.2.3) apk mediafire | Android APK ...
Sentinel 3: Homeworld 1.2.3 (v1.2.3) Fully Unlocked Apk. new update Added a savegame backup to SD Card feature, located in the options menu.

Sentinel 3: Homeworld 1.1.3 Apk, Android Game - software for ...
Sentinel 3: Homeworld 1.1.3 Apk, Android Game - get software for android apps Aplikasi Android games Applications untuk android, free, best HD Android, apk, QVGA ...

Sentinel 3: Homeworld apk - APKTOP - Page 2
Free Android Apps,Games Download From Android Market

Sentinel 3 Homeworld v1.2.0 (1.2.0) Apk Download For Android ...
Brought to you by origin8 technologies Ltd, Sentinel 3 is another game with Tower Defense genre. This game has been updated to version 1.2.0 with many

Sentinel 3: Homeworld 1.0.1A - Apk New
CURRENT VERSION: 1.0.1A. REQUIRES ANDROID: 2.1 and up. SIZE: 35M. V1.0.1A update: * Touch input fixes * Implemented correct behaviour for the hardware back button

Sentinel 3: Homeworld apk & sd files: Android latest games sd ...
Sentinel 3: Homeworld apk & sd files: Android latest games sd files get free from mediafire!! qvga hvga & wvga supported!


Read More..

Basic Android background Service

Running sample program for background service

Step 1 :
Create sample service class

package com.javaorigin.android.sample.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
import android.widget.Toast;

public class MyService extends Service {

String tag="TestService";
@Override
public void onCreate() {
super.onCreate();
Toast.makeText(this, "Service created...", Toast.LENGTH_LONG).show();
Log.i(tag, "Service created...");
}

@Override
public void onStart(Intent intent, int startId) {
super.onStart(intent, startId);
Log.i(tag, "Service started...");
}
@Override
public void onDestroy() {
super.onDestroy();
Toast.makeText(this, "Service destroyed...", Toast.LENGTH_LONG).show();
}

@Override
public IBinder onBind(Intent intent) {
return null;
}
}


Step 2 :
Create sample Activity class

package com.javaorigin.android.sample.service;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
import android.widget.Toast;

public class SampleAction extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView view = new TextView(this);
view.setText("Service Test");
Intent i = new Intent();
i.setClassName( "com.javaorigin.android.sample.service",
"com.javaorigin.android.sample.service.MyService" );
bindService( i, null, Context.BIND_AUTO_CREATE);
this.startService(i);
setContentView(view);
}
}


Step 3:
Configure AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.javaorigin.android.sample.service" android:versionCode="1"
android:versionName="1.0">
<application icon="@drawable/icon" label="@string/app_name">
<service class=".MyService" name=".MyService">
<intent-filter>
<action android:value="com.javaorigin.android.sample.service.MY_SERVICE"
android:name=".MyService" />

</intent-filter>
</service>
<activity android:name=".SampleAction"
android:label="@string/app_name">
<intent-filter>
<action name="android.intent.action.MAIN">
<category name="android.intent.category.LAUNCHER">
</intent-filter>
</activity>

</application>
<uses-sdk minsdkversion="8">

</manifest>
Read More..

Saturday, April 5, 2014

A fast Android Emulator Genymotion

Genymotion is the next generation of the AndroVM open source project, already trusted by 450,000 developers.

It’s even easier to use and has lots more functionalities. To know more: http://www.genymotion.com/

Read More..

Friday, April 4, 2014

Android App Temperature Guard now features Fahrenheit and Celsius Support

android temperatur warning
Temperature Guard Pro
available at the play store
Get Temperature Guard free
at the play store
Temperature Guard Version 1.3 has just been released in google play Store and Amazon App Store.

You can use Temperature Guard to monitor your android devices temperature. The newest version features some small ui improvements and the possibility to change your desired temperature scale from Celsius to Fahrenheit.


Get Temperature Guard free
at amazon app store
To change the temperature scale, click on the preferenes button on the upper right of the app. In the Preferences you can tap on Temperature Scale Celsius to choose another temperature scale. To Download the free app from amazon app store, follow this link: Temperature Guard at the amazon play store.


android temperature scale
Choose your desired temperature scale

Temperature Guard Pro

If you like this app you can buy the pro Version of Temperature Guard for a buck. The pro version does only differ from the free by not loading any ad banners. So if you dont like ads or would like to support a developer, get the pro version at google play or amazon app store.
Buy Temperature Guard Pro
 at amazon app store

Buy Temperature Guard Pro
at google play store






Read More..

Thursday, April 3, 2014

Google Maps Android API v2 example detect long click on map and add marker

TO detect onMapLongClick, implement OnMapLongClickListener and call myMap.setOnMapLongClickListener(this) to register. Override onMapLongClick(LatLng point) to add marker by calling myMap.addMarker(new MarkerOptions().position(point).title("title")).

Detect long click on map and add marker


package com.example.androidmapsv2;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.GoogleMap.OnMapLongClickListener;
import com.google.android.gms.maps.MapFragment;
//import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.GoogleMap.OnMapClickListener;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.FragmentManager;
import android.location.Location;
import android.os.Bundle;
//import android.support.v4.app.FragmentActivity;
//import android.support.v4.app.FragmentManager;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends Activity
implements OnMapClickListener, OnMapLongClickListener{

final int RQS_GooglePlayServices = 1;
private GoogleMap myMap;

Location myLocation;
TextView tvLocInfo;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

tvLocInfo = (TextView)findViewById(R.id.locinfo);

FragmentManager myFragmentManager = getFragmentManager();
MapFragment myMapFragment
= (MapFragment)myFragmentManager.findFragmentById(R.id.map);
myMap = myMapFragment.getMap();

myMap.setMyLocationEnabled(true);

myMap.setMapType(GoogleMap.MAP_TYPE_HYBRID);
//myMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
//myMap.setMapType(GoogleMap.MAP_TYPE_SATELLITE);
//myMap.setMapType(GoogleMap.MAP_TYPE_TERRAIN);

myMap.setOnMapClickListener(this);
myMap.setOnMapLongClickListener(this);

}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.activity_main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.menu_legalnotices:
String LicenseInfo = GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo(
getApplicationContext());
AlertDialog.Builder LicenseDialog = new AlertDialog.Builder(MainActivity.this);
LicenseDialog.setTitle("Legal Notices");
LicenseDialog.setMessage(LicenseInfo);
LicenseDialog.show();
return true;
}
return super.onOptionsItemSelected(item);
}

@Override
protected void onResume() {
// TODO Auto-generated method stub
super.onResume();

int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext());

if (resultCode == ConnectionResult.SUCCESS){
Toast.makeText(getApplicationContext(),
"isGooglePlayServicesAvailable SUCCESS",
Toast.LENGTH_LONG).show();
}else{
GooglePlayServicesUtil.getErrorDialog(resultCode, this, RQS_GooglePlayServices);
}

}

@Override
public void onMapClick(LatLng point) {
tvLocInfo.setText(point.toString());
myMap.animateCamera(CameraUpdateFactory.newLatLng(point));
}

@Override
public void onMapLongClick(LatLng point) {
tvLocInfo.setText("New marker added@" + point.toString());
myMap.addMarker(new MarkerOptions().position(point).title(point.toString()));
}

}


download filesDownload the files.

Next:
- Detect MarkerClick and add Polyline


The series:
A simple example using Google Maps Android API v2, step by step.

Read More..

Android Progress Bar Example


Open “res/layout/main.xml” file, just add normal button for demonstration.
File : res/layout/main.xml
<?xml version="1.0" encoding="utf-8"?>
<?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" >
 
<Button
android:id="@+id/btnStartProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Download File" />
 
</LinearLayout>


File : MyAndroidAppActivity.java



package com.mkyong.android;
 
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.os.Handler;
import android.widget.Button;
import android.view.View;
import android.view.View.OnClickListener;
 
public class MyAndroidAppActivity extends Activity {
 
Button btnStartProgress;
ProgressDialog progressBar;
private int progressBarStatus = 0;
private Handler progressBarHandler = new Handler();
 
private long fileSize = 0;
 
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
 
addListenerOnButton();
 
}
 
public void addListenerOnButton() {
 
btnStartProgress = (Button) findViewById(R.id.btnStartProgress);
btnStartProgress.setOnClickListener(
new OnClickListener() {
 
@Override
public void onClick(View v) {
 
// prepare for a progress bar dialog
progressBar = new ProgressDialog(v.getContext());
progressBar.setCancelable(true);
progressBar.setMessage("File downloading ...");
progressBar.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progressBar.setProgress(0);
progressBar.setMax(100);
progressBar.show();
 
//reset progress bar status
progressBarStatus = 0;
 
//reset filesize
fileSize = 0;
 
new Thread(new Runnable() {
public void run() {
while (progressBarStatus < 100) {
 
// process some tasks
progressBarStatus = doSomeTasks();
 
// your computer is too fast, sleep 1 second
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
 
// Update the progress bar
progressBarHandler.post(new Runnable() {
public void run() {
progressBar.setProgress(progressBarStatus);
}
});
}
 
// ok, file is downloaded,
if (progressBarStatus >= 100) {
 
// sleep 2 seconds, so that you can see the 100%
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
e.printStackTrace();
}
 
// close the progress bar dialog
progressBar.dismiss();
}
}
}).start();
 
}
 
});
 
}
 
// file download simulator... a really simple
public int doSomeTasks() {
 
while (fileSize <= 1000000) {
 
fileSize++;
 
if (fileSize == 100000) {
return 10;
} else if (fileSize == 200000) {
return 20;
} else if (fileSize == 300000) {
return 30;
}
// ...add your own
 
}
 
return 100;
 
}
 
}


1. Result, a single button.


android progress bar demo1


2. Click on the button, it will prompt a “progress bar dialog” to show the current download progress.


android progress bar demo2


3. Task is completed, progress bar will show 100%, and close automatically.


android progress bar demo3

Read More..

Wednesday, April 2, 2014

PDF From Server Example In Android

Description:
This example shows you how to download a pdf file from server and display its contents.
Algorithm:
1.) Create a new project by File-> New -> Android Project name it PDFFromServerExample.
2.) Write following code into your manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     android:versionCode="1"

     android:versionName="1.0" package="com.pdftest">
    <uses-sdk android:minSdkVersion="7" />
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    <uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
    <application android:icon="@drawable/icon" android:label="@string/app_name"android:debuggable="true">
        <activity android:name=".PDFFromServerActivity"
                 android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>
3.) Create Downloader.java file into your package and write following code:
package com.pdftest;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
public class Downloader {
        public static void DownloadFile(String fileURL, File directory) {
                try {
                     
                        FileOutputStream f = new FileOutputStream(directory);
                        URL u = new URL(fileURL);
                        HttpURLConnection c = (HttpURLConnection)u.openConnection();
                        c.setRequestMethod("GET");
                        c.setDoOutput(true);
                        c.connect();
                        InputStream in = c.getInputStream();
                        byte[] buffer = new byte[1024];
                        int len1 = 0;
                        while ((len1 = in.read(buffer)) > 0) {
                                f.write(buffer, 0, len1);
                        }
                        f.close();
                } catch (Exception e) {
                        e.printStackTrace();
                }
        }
}
4.) Run for output.
Steps:
1.) Create a project named PDFFromServerExample and set the information as stated in the image.
Build Target: Android 2.2
Application Name: PDFFromServerExample
Package Name: com.pdftest
Activity Name: PDFFromServerExample
Min SDK Version: 8
2.) Open PDFFromServerActivity.java file and write following code there:
package com.pdftest;
import java.io.File;
import java.io.IOException;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
public class PDFFromServerActivity extends Activity {
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
                String extStorageDirectory =Environment.getExternalStorageDirectory()
                .toString();
                File folder = new File(extStorageDirectory, "pdf");
                folder.mkdir();
                File file = new File(folder, "Read.pdf");
                try {
                        file.createNewFile();
                } catch (IOException e1) {
                        e1.printStackTrace();
                }
                Downloader.DownloadFile("http://www.nmu.ac.in/ejournals/aspx/courselist.pdf", file);
     
                showPdf();
        }
        public void showPdf()
            {
                File file = newFile(Environment.getExternalStorageDirectory()+"/pdf/Read.pdf");
                PackageManager packageManager = getPackageManager();
                        Intent testIntent = new Intent(Intent.ACTION_VIEW);
                        testIntent.setType("application/pdf");
                        List list =packageManager.queryIntentActivities(testIntent, PackageManager.MATCH_DEFAULT_ONLY);
                        Intent intent = new Intent();
                        intent.setAction(Intent.ACTION_VIEW);
                        Uri uri = Uri.fromFile(file);
                        intent.setDataAndType(uri, "application/pdf");
                        startActivity(intent);
            }
}
3.) Compile and build the project.
Output
Read More..