Laman

Wednesday, July 28, 2010

Six Week old Cute Babies Swimming

This is a set of pictures from London Baby Swim, a school where they teach babies as young as 6 six weeks old to swim and to develop their motor skills. Of course, the parents take part in this process :)

As you can see, babies are natural swimmers and can be underwater without a problem. The thing is that “Up until the age of around nine months babies have a miraculous gag reflex which blocks off their windpipes as soon as they are underwater, allowing them to instinctively hold their breath,” explains Phil Shaw, the founder of London Baby Swim.
So, the sooner you put your baby into the water to learn it to swim the better.
I’ll definitely do it with mine :)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)

Babies Swimming Underwater (14 pics)
READ MORE - Six Week old Cute Babies Swimming

Tuesday, July 27, 2010

Uninstalling installed applications using Intent in Android

To uninstall the install application using Intent, the code snippet is


Intent intent = new Intent(Intent.ACTION_DELETE);
intent.setData(Uri.parse("package:com.example.android.apis"));
startActivity(intent);


The screenshot is,

READ MORE - Uninstalling installed applications using Intent in Android

Getting List of Installed Applications in Android

We can get the list of android applications that is installed in the android device through PacketManager and using the API queryIntentActivities(). To get the list of installed applications in the device,

The complete code snippet is,


public class AppList extends Activity {
private ListView lView;
private ArrayList results = new ArrayList();

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
lView = (ListView) findViewById(R.id.list1);
PackageManager pm = this.getPackageManager();

Intent intent = new Intent(Intent.ACTION_MAIN, null);
intent.addCategory(Intent.CATEGORY_LAUNCHER);

List list = pm.queryIntentActivities(intent, PackageManager.PERMISSION_GRANTED);
for (ResolveInfo rInfo : list) {
results.add(rInfo.activityInfo.applicationInfo
.loadLabel(pm).toString());
Log.w("Installed Applications", rInfo.activityInfo.applicationInfo
.loadLabel(pm).toString());
}
lView.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, results));
}
}


The screenshot is,

READ MORE - Getting List of Installed Applications in Android

Licensing Service Technology Highlights

We’ve just announced the introduction of a licensing server for Android Market. This should address one of the concerns we’ve heard repeatedly from the Android developer community.

The impact and intent, as outlined in the announcement, are straightforward. If you want to enable your app to use the licensing server, there’s no substitute for reading the authoritative documentation: Licensing Your Applications. Here are some technical highlights.

  • This capability has been in the Android Market client app since 1.5, so you don’t have to be running the latest Android flavor to use it.

  • It’s secure, based on a public/private key pair. Your requests to the server are signed with the public key and the responses from the server with the private key. There’s one key pair per publisher account.

  • Your app doesn’t talk directly to the licensing server; it IPCs to the Android Market client, which in turn takes care of talking to the server.

  • There’s a substantial tool-set that will ship with the SDK, the License Verification Library (LVL). It provides straightforward entry points for querying the server and handling results. Also, it includes modules that you can use to implement certain licensing policies that we expect to be popular.

  • LVL is provided in source form as an Android Library project. It also comes with a testing framework.

  • There’s a Web UI on the publisher-facing part of the Market’s Web site for key management; it includes setup for production and testing.

  • Obviously, you can’t call out to the server when the device is off-network. In this situation you have to decide what to do; one option is to cache licensing status, and LVL includes prebuilt modules to support that.

We think this is a major improvement over the copy-protection option we’ve offered up to this point, and look forward to feedback from developers.

READ MORE - Licensing Service Technology Highlights

Licensing Service For Android Applications

[This post is by Eric Chu, Android Developer Ecosystem. — Tim Bray]

In my conversations with Android developers, I often hear that you’d like better protection against unauthorized use of your applications. So today, I’m pleased to announce the release of a licensing service for applications in Android Market.

This simple and free service provides a secure mechanism to manage access to all Android Market paid applications targeting Android 1.5 or higher. At run time, with the inclusion of a set of libraries provided by us, your application can query the Android Market licensing server to determine the license status of your users. It returns information on whether your users are authorized to use the app based on stored sales records.

This licensing service operating real time over the network provides more flexibility in choosing license-enforcement strategies, and a more secure approach in protecting your applications from unauthorized use, than copy protection.

The licensing service is available now; our plan is for it to replace the current Android Market copy-protection mechanism over the next few months. I encourage you to check out the Licensing Your Applications section of our Developer Guide and the Android Market Help Center to learn how you can take advantage of this new service immediately.

READ MORE - Licensing Service For Android Applications

Monday, July 26, 2010

Developing Android application on real phone

In my case, I develope on Eclipse 3.6 under Ubuntu 10.04. A HTC Wildfire have been purchased recently, so I can develope my exercises using real phone.

To setup the system, the phone and the code, refer to Google document "Developing on a Device".

If you are going to run/debug a project which have been setup to run on emulator, may be you have to unselect the preferred Android Virtual Device.

- In Eclipse, right click on the project, -> Run As -> Run Configurations...

- Select the configuration under Android Application on left, and Target on Right, un-select the preferred Android Virtual Device, and click Apply.





READ MORE - Developing Android application on real phone

Play mp3 in SD Card, using Android's MediaPlayer

In the exercise "Android MediaPlayer", the application play mp3 file in /res/raw folder. In this exercise, it will be modified to play a mp3 file, named music.mp3, in SD Card.

First of all, copy a mp3 file (music.mp3) to SD Card. Refer to the article "Create SD Card in Android Emulator and copy files into, in Eclipse, Emulator and DDMS" to copy mp3 file to SD Card.

main.xm have no change, refer to the exercise "Android MediaPlayer".

AndroidMediaPlayer.java
package com.exercise.AndroidMediaPlayer;

import java.io.IOException;

import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

public class AndroidMediaPlayer extends Activity {

MediaPlayer mediaPlayer;
Button buttonPlayPause, buttonQuit;
TextView textState;

private int stateMediaPlayer;
private final int stateMP_Error = 0;
private final int stateMP_NotStarter = 1;
private final int stateMP_Playing = 2;
private final int stateMP_Pausing = 3;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

buttonPlayPause = (Button)findViewById(R.id.playpause);
buttonQuit = (Button)findViewById(R.id.quit);
textState = (TextView)findViewById(R.id.state);

buttonPlayPause.setOnClickListener(buttonPlayPauseOnClickListener);
buttonQuit.setOnClickListener(buttonQuitOnClickListener);

initMediaPlayer();

}

private void initMediaPlayer()
{
String PATH_TO_FILE = "/sdcard/music.mp3";
mediaPlayer = new MediaPlayer();

try {
mediaPlayer.setDataSource(PATH_TO_FILE);
mediaPlayer.prepare();
Toast.makeText(this, PATH_TO_FILE, Toast.LENGTH_LONG).show();
stateMediaPlayer = stateMP_NotStarter;
textState.setText("- IDLE -");
} catch (IllegalArgumentException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Toast.makeText(this, e.toString(), Toast.LENGTH_LONG).show();
stateMediaPlayer = stateMP_Error;
textState.setText("- ERROR!!! -");
} catch (IllegalStateException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Toast.makeText(this, e.toString(), Toast.LENGTH_LONG).show();
stateMediaPlayer = stateMP_Error;
textState.setText("- ERROR!!! -");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Toast.makeText(this, e.toString(), Toast.LENGTH_LONG).show();
stateMediaPlayer = stateMP_Error;
textState.setText("- ERROR!!! -");
}
}

Button.OnClickListener buttonPlayPauseOnClickListener
= new Button.OnClickListener(){

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
switch(stateMediaPlayer){
case stateMP_Error:
break;
case stateMP_NotStarter:
mediaPlayer.start();
buttonPlayPause.setText("Pause");
textState.setText("- PLAYING -");
stateMediaPlayer = stateMP_Playing;
break;
case stateMP_Playing:
mediaPlayer.pause();
buttonPlayPause.setText("Play");
textState.setText("- PAUSING -");
stateMediaPlayer = stateMP_Pausing;
break;
case stateMP_Pausing:
mediaPlayer.start();
buttonPlayPause.setText("Pause");
textState.setText("- PLAYING -");
stateMediaPlayer = stateMP_Playing;
break;
}

}
};

Button.OnClickListener buttonQuitOnClickListener
= new Button.OnClickListener(){

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
mediaPlayer.stop();
mediaPlayer.release();
finish();
}
};
}


Download the files.
READ MORE - Play mp3 in SD Card, using Android's MediaPlayer

Sunday, July 25, 2010

Pixel Zombies Live Wallpaper v1.2.2 Update Released!

The latest version of Pixel Zombies is now available on the Android Market! See the list of changes below.

Changes:

  • Fixed jerky zombie movement caused by last update
  • Added setting to turn nukes on and off
  • Population no longer moves under status bar
READ MORE - Pixel Zombies Live Wallpaper v1.2.2 Update Released!

Saturday, July 24, 2010

Taras Bulba Wallpaper

http://4.bp.blogspot.com/_aMqAtZkY7cU/SxHUCaL7t9I/AAAAAAAAAIM/i9YjTXxOVL4/s1600/veer_wallpaper02.jpg
Salman was inspired by Taras Bulba, and has added other elements of ...




http://1.bp.blogspot.com/-2wdSLpKwrQA/TdWtuVAz_BI/AAAAAAAABrM/iqSDnsiJmek/s1600/brad-pitt-wallpapers-3.jpg#%20brad%20pitt%20%201024x768
Who's Got the Sexiest Hair Alive? - Page 6


http://2.bp.blogspot.com/_cewgUlffLHE/TOAa7SIuXiI/AAAAAAAAKxo/kc8SPncsHfQ/s1600/tara-reid-41v.jpg
Petr Taras - Email, Fotos, Telefonnummern zu Petr Taras


yourmotherhadsextomakeyou.xvideosplay.com


http://3.bp.blogspot.com/_Db4r30O4EbI/S7XcyK4Hx2I/AAAAAAAAAAk/WUYXDKV4Tjc/s1600/4.+++salman-khan-film-veer-wallpaper.jpg
Film Veer - reviews and photos.


http://2.bp.blogspot.com/_XzRQRmrUgnU/S_P2Vs2eaPI/AAAAAAAADL4/IyD1gGHu4qs/s1600/mis+jesus-crucified.jpg
fairly long and thoughtful piece on the scholarship of who Jesus was ...


http://1.bp.blogspot.com/-ZdZbUh3bm70/TsLgYZtuNSI/AAAAAAAAAiE/Yqtzb4-Ygbw/s1600/offcinema-01-01.jpg
Proposal for the film festival poster "OFF CINEMA"


http://1.bp.blogspot.com/-plzRlSwtgn4/TnevKrYl0qI/AAAAAAAAAT0/2fuG0oNleCc/s1600/kontra.jpg
Yarko Filevych: POSTERS


http://2.bp.blogspot.com/-Ur4DWqLR_gM/Tm8UKGZcfmI/AAAAAAAAANM/5GPdHvta3sw/s1600/1.jpg
Yarko Filevych: POSTERS


http://4.bp.blogspot.com/-0kV_TS6de_E/To4Y44J2POI/AAAAAAAAAUw/nvq0-5P1VkU/s1600/real_life.jpg
Accessories for real life


http://4.bp.blogspot.com/-XgjN8kSSLr0/Tm86f-bwgUI/AAAAAAAAAOg/5Nlip6ldJEM/s1600/eco5.jpg
Yarko Filevych: POSTERS


http://1.bp.blogspot.com/-2VmIXuFatxY/TsLgawnXBwI/AAAAAAAAAiM/P6E1ncdy_Bg/s1600/offcinema-03.jpg
Proposal for the film festival poster "OFF CINEMA"


http://3.bp.blogspot.com/-cT9s5roOp3A/Tvw3nAN10nI/AAAAAAAAAnI/FszWGb377H4/s1600/shiv2%2Bcopy.jpg
Sketches Of Shiva


READ MORE - Taras Bulba Wallpaper

Instance two object from the same custom view class

In the exercise "Custom View with User Interaction", ONE custom view was instanced to engage the whole screen (Activity). Here, I try to instance two object from the same customer view, in the same screen.





Only change the code in onCreate() of AndroidViewUI.java
package com.exercise.AndroidViewUI;

import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Bundle;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;

public class AndroidViewUI extends Activity {
public class MyView extends View {

private Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG);

private float initX, initY, radius;
private boolean drawing = false;

public MyView(Context context) {
super(context);
// TODO Auto-generated constructor stub
init();
}

public MyView(Context context, AttributeSet attrs) {
super(context, attrs);
// TODO Auto-generated constructor stub
init();
}

public MyView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
// TODO Auto-generated constructor stub
init();
}

private void init(){
paint.setStyle(Paint.Style.STROKE);
paint.setStrokeWidth(3);
paint.setColor(Color.WHITE);
}

@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
// TODO Auto-generated method stub
setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec),
MeasureSpec.getSize(heightMeasureSpec));
}

@Override
protected void onDraw(Canvas canvas) {
// TODO Auto-generated method stub
if(drawing){
canvas.drawCircle(initX, initY, radius, paint);
}
}

@Override
public boolean onTouchEvent(MotionEvent event) {
// TODO Auto-generated method stub

int action = event.getAction();
if (action==MotionEvent.ACTION_MOVE){
float x = event.getX();
float y = event.getY();

radius = (float) Math.sqrt(Math.pow(x-initX, 2) + Math.pow(y-initY, 2));

}
else if (action==MotionEvent.ACTION_DOWN){
initX = event.getX();
initY = event.getY();
radius = 1;
drawing = true;
}
else if (action==MotionEvent.ACTION_UP){
drawing = false;
}
invalidate();
return true;
}

}



/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(R.layout.main);

LinearLayout mainLayout = new LinearLayout(this);
mainLayout.setOrientation(LinearLayout.VERTICAL);

MyView myView1 = new MyView(this);
LayoutParams myView1Params = new LayoutParams(200, 200);
myView1.setLayoutParams(myView1Params);
myView1.setBackgroundColor(Color.GREEN);

MyView myView2 = new MyView(this);
LayoutParams myView2Params = new LayoutParams(300, 200);
myView2.setLayoutParams(myView2Params);
myView2.setBackgroundColor(Color.BLUE);

mainLayout.addView(myView1);
mainLayout.addView(myView2);
setContentView(mainLayout);
}
}


Download the files.



READ MORE - Instance two object from the same custom view class

Friday, July 23, 2010

Adjustment to Market Legals

Please note that we have updated the Android Market Developer Distribution Agreement (DDA). This is in preparation for some work we’re doing on introducing new payment options, which we think developers will like.

In the spirit of transparency, we wanted to highlight the changes:

  • In Section 13.1, “authorized carriers” have been added as an indemnified party.

  • Section 13.2 is new in its entirety, covering indemnity for payment processors for claims related to tax accrual.

These new terms apply immediately to anyone joining Android Market as a new publisher. Existing publishers have been notified of this change via email; they have up to 30 days to sign into the Android Market developer console to accept the new terms.

READ MORE - Adjustment to Market Legals

Android MediaPlayer

The exercise play, pause and stop a mp3 file in /res/raw folder, using android.media.MediaPlayer.

Android MediaPlayer

First of all, copy a mp3 file in /res/raw folder.
(You have to create the folder "raw" under "res", and copy a mp3 file named "music.mp3" into it.)

main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<Button
android:id="@+id/playpause"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Play"
/>
<Button
android:id="@+id/quit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Quit!"
/>
<TextView
android:id="@+id/state"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>



AndroidMediaPlayer.java

package com.exercise.AndroidMediaPlayer;

import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class AndroidMediaPlayer extends Activity {

MediaPlayer mediaPlayer;
Button buttonPlayPause, buttonQuit;
TextView textState;

private int stateMediaPlayer;
private final int stateMP_NotStarter = 0;
private final int stateMP_Playing = 1;
private final int stateMP_Pausing = 2;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

buttonPlayPause = (Button)findViewById(R.id.playpause);
buttonQuit = (Button)findViewById(R.id.quit);
textState = (TextView)findViewById(R.id.state);

buttonPlayPause.setOnClickListener(buttonPlayPauseOnClickListener);
buttonQuit.setOnClickListener(buttonQuitOnClickListener);

initMediaPlayer();

}

private void initMediaPlayer()
{
mediaPlayer = new MediaPlayer();
mediaPlayer = MediaPlayer.create(AndroidMediaPlayer.this, R.raw.music);
stateMediaPlayer = stateMP_NotStarter;
textState.setText("- IDLE -");
}

Button.OnClickListener buttonPlayPauseOnClickListener
= new Button.OnClickListener(){

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
switch(stateMediaPlayer){
case stateMP_NotStarter:
mediaPlayer.start();
buttonPlayPause.setText("Pause");
textState.setText("- PLAYING -");
stateMediaPlayer = stateMP_Playing;
break;
case stateMP_Playing:
mediaPlayer.pause();
buttonPlayPause.setText("Play");
textState.setText("- PAUSING -");
stateMediaPlayer = stateMP_Pausing;
break;
case stateMP_Pausing:
mediaPlayer.start();
buttonPlayPause.setText("Pause");
textState.setText("- PLAYING -");
stateMediaPlayer = stateMP_Playing;
break;
}

}
};

Button.OnClickListener buttonQuitOnClickListener
= new Button.OnClickListener(){

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
mediaPlayer.stop();
mediaPlayer.release();
finish();
}
};
}


Download the files.

next: Play mp3 in SD Card, using Android's MediaPlayer
READ MORE - Android MediaPlayer

Thursday, July 22, 2010

Pixel Zombies Live Wallpaper v1.2.1 Update Released!

The latest version of Pixel Zombies Live Wallpaper, v1.2.1, is now available on the Android Market! This update brings a much needed improvement to the suicidal tendencies of the hunters, who are now much smarter and deadlier. See the full list of changes below:

Changes:

  • Improved for smoother performance
  • Smarter hunter AI: Hunters now run away from approaching zombie hordes and follow to hunt hordes that aren’t currently after them.
  • Increased hunter’s laser range by 9%
  • Tweaked hunter’s shooting algorithm
  • New fading hunter laser animation

pixel zombies qr

READ MORE - Pixel Zombies Live Wallpaper v1.2.1 Update Released!

More on Generate a mirror image using Matrix.postConcat()

More function of mirror image, such as mirror about X axis, mirror about center, will be as in this exercise; base on the last exercise "Generate a mirror image using Matrix.postConcat()".

More on Generate a mirror image using Matrix.postConcat()

main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<Spinner
android:id="@+id/mirrorselection"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
<ImageView
android:id="@+id/imageview"
android:layout_gravity="center"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="center"
/>
</LinearLayout>


AndroidMirrorImage.java
package com.exercise.AndroidMirrorImage;

import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.Spinner;

public class AndroidMirrorImage extends Activity {

private final String imageInSD = "/sdcard/google.png";

private static final String[] optionMirror =
{"Normal", "Mirror about X", "Mirror about Y", "Mirror about Center"};
private ArrayAdapter<String> adapter;

Spinner mirrorSelection;
ImageView myImageView;

Bitmap bitmap;
int bmpWidth, bmpHeight;

Matrix matrixMirrorNormal, matrixMirrorX, matrixMirrorY, matrixMirrorC;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

myImageView = (ImageView)findViewById(R.id.imageview);
mirrorSelection = (Spinner)findViewById(R.id.mirrorselection);

adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_spinner_item, optionMirror);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
mirrorSelection.setAdapter(adapter);

mirrorSelection.setSelection(0);

mirrorSelection.setOnItemSelectedListener(new Spinner.OnItemSelectedListener(){

@Override
public void onItemSelected(AdapterView<?> arg0, View arg1,
int arg2, long arg3) {
// TODO Auto-generated method stub
drawMatrix();
}

@Override
public void onNothingSelected(AdapterView<?> arg0) {
// TODO Auto-generated method stub
mirrorSelection.setSelection(0);
}});

bitmap = BitmapFactory.decodeFile(imageInSD);
bmpWidth = bitmap.getWidth();
bmpHeight = bitmap.getHeight();

initMirrorMatrix();

drawMatrix();
}

private void initMirrorMatrix()
{
float[] mirrorNormal =
{ 1, 0, 0,
0, 1, 0,
0, 0, 1
};

float[] mirrorX =
{ 1, 0, 0,
0, -1, 0,
0, 0, 1
};

float[] mirrorY =
{ -1, 0, 0,
0, 1, 0,
0, 0, 1
};

float[] mirrorC =
{ -1, 0, 0,
0, -1, 0,
0, 0, 1
};
matrixMirrorNormal = new Matrix();
matrixMirrorNormal.setValues(mirrorNormal);
matrixMirrorX = new Matrix();
matrixMirrorX.setValues(mirrorX);
matrixMirrorY = new Matrix();
matrixMirrorY.setValues(mirrorY);
matrixMirrorC = new Matrix();
matrixMirrorC.setValues(mirrorC);
}

private void drawMatrix()
{
Matrix matrix = new Matrix();
switch (mirrorSelection.getSelectedItemPosition()){
case 0: //Normal
matrix.postConcat(matrixMirrorNormal);
break;
case 1: //Mirror about X
matrix.postConcat(matrixMirrorX);
break;
case 2: //Mirror about Y
matrix.postConcat(matrixMirrorY);
break;
case 3: //Mirror about Center
matrix.postConcat(matrixMirrorC);
break;
}
Bitmap mirrorBitmap = Bitmap.createBitmap(bitmap, 0, 0, bmpWidth, bmpHeight, matrix, true);
myImageView.setImageBitmap(mirrorBitmap);
}
}


Download the files.
READ MORE - More on Generate a mirror image using Matrix.postConcat()

Wednesday, July 21, 2010

Jennifer Lopez Hd Wallpaper Free Download

http://4.bp.blogspot.com/-6u1gRtGKk14/T-Sdm6iFUlI/AAAAAAAAD20/ppcQRLjhw6E/s1600/Free-Jennifer-Lopez-Wallpapers-.jpg
- Download free 3d funny Jennifer Lopez Latest HD Wallpapers 2012 HD ...




http://4.bp.blogspot.com/-97t78gDDaTE/TnIvtQW-BTI/AAAAAAAAAw8/TEfzg1_pLVk/s1600/Jennifer-Lopez-Wallpapers-HD-4.jpg
Jennifer Lopez Wallpapers: Jennifer Lopez Wallpapers HD


http://4.bp.blogspot.com/-HFa-5k-EGWU/UXv-2IZ0t1I/AAAAAAAAAW4/1Fv8le_Gvcs/s1600/Jennifer+Lopez+hd+wallpapers.jpeg
Free HD Wallpapers: Jennifer Lopez hd wallpapers widscreen


torrixxxstaystrongxxxcaesar.xvideosmix.com


http://2.bp.blogspot.com/--332rePRE6k/T-2h_Sw3TZI/AAAAAAAADbQ/fs-m7uzdwAc/s1600/Jennifer+Lopez+hd+Wallpapers+2012_3.jpg
Jennifer Lopez Latest HD Wallpapers 2012 | Free Wallpaper Backgrounds


http://3.bp.blogspot.com/-Uzjo--GFF50/TcbE-ico8EI/AAAAAAAACJo/drc2xUR6TNA/s1600/keira_knightley_HD_hot_wallpaper_37.jpg
jennifer lopez hot y 50 hd wallpaper biography kajal agarwal ...


http://1.bp.blogspot.com/-X6FTu0m6GEM/UD_XVrI7C9I/AAAAAAAAJUQ/VftXiz-nhrc/s1600/fond-ecran-41660,jennifer-lopez.jpg
Download free Jennifer lopez 2012 2013 Jennifer lopez Wallpapers HD ...


http://3.bp.blogspot.com/-bAtLdi3jsjA/T-2iI1vCtjI/AAAAAAAADbw/NOV1syu3qqo/s1600/Jennifer+Lopez+hd+Wallpapers+2012_7.jpg
Jennifer Lopez Latest HD Wallpapers 2012 | Free Wallpaper Backgrounds


http://3.bp.blogspot.com/-VAbyvD5KhSI/TWz-s6hpdUI/AAAAAAAAEv4/wX5VSXXNrtw/s1600/actress_jennifer_lopez_hot_wallpapers_in_bikini_sweetangelonly_22.jpg
Download free jennifer lopez bikini Hot Wallpapers Jennifer Lopez HD ...


http://1.bp.blogspot.com/-oQljh0ai2Zk/UYjrxiLDcRI/AAAAAAAAAak/GfgDK2IUmvA/s1600/Jennifer+Lopez+Enrique+Iglesias+Tour+Hd+Wallpaper.jpg
Jennifer Lopez Enrique Iglesias Tour Hd Wallpaper - Pixel Wallpapers ...


http://2.bp.blogspot.com/-wGjhzDd5AkM/TWzxu15k-AI/AAAAAAAAEtQ/n8bfTphxasI/s1600/actress_jennifer_lopez_hot_wallpapers_in_bikini_sweetangelonly_03.jpg
Download Free Wallpapers Backgrounds - Celebrities Wallpapers Jennifer ...


http://4.bp.blogspot.com/-PecSMcLh73o/TmNoN1pqglI/AAAAAAAAEJ8/V7FswddgAA0/s1600/Jennifer%20Aniston%20New%20HD%20Wallpapers%2003.jpg
images of modelings jennifer aniston hd wallpapers wallpaper


http://2.bp.blogspot.com/_XzowhY7dAPc/TTJYhm3bjtI/AAAAAAAAEGU/_oRWPVZq5pE/s1600/jennifer-lopez-9%255B1%255D.jpg
... Jennifer Lopez Wallpapers Posted pranavikha 6 25 PM HD Wallpapers


http://3.bp.blogspot.com/--RnyuE-OTH8/Tw1XJp2kVsI/AAAAAAAACPo/Gq7s82QSEx8/s1600/30.jpg
jennifer lopez full hd wallpapers 1920 x 1080 jennifer lopez full hd ...


http://2.bp.blogspot.com/-9R7_rjzw-AU/UIve0m8LkzI/AAAAAAAANCY/JYOJBbHnaEc/s0/jennifer-lopez-gipsy-1920x1080.jpg
Jennifer Lopez Gipsy - High Definition Wallpapers - HD wallpapers


http://3.bp.blogspot.com/-0GRCyrGVTd4/T7NWH44FmNI/AAAAAAAABxo/zCtZ9FrH3sk/s1600/New+Jennifer+Lopez+Hot+HD+Wallpapers+Collection+2012-002+www.rqwallpapers.blogspot.com.jpg
... free Jennifer Lynn Lopez Hot Jennifer Lynn Lopez Hot HD Wallpaper HD


http://2.bp.blogspot.com/-Zq-dsp1ycnk/UKzt4M8GArI/AAAAAAAAERA/-i6P5tbAR8Y/s1600/jennifer+lopez+wallpapers+hd+fg.jpg
... on this picture jennifer lopez wallpaper jennifer lopez wallpaper


http://3.bp.blogspot.com/-twwqQv2jRb4/T-2hr4hWilI/AAAAAAAADbA/Ny9c8MSJCyk/s1600/Jennifer+Lopez+hd+Wallpapers+2012_1.jpg
Jennifer Lopez Latest HD Wallpapers 2012 | Free Wallpaper Backgrounds


http://2.bp.blogspot.com/-E0sBnn_rrfA/TtzUXvVt1nI/AAAAAAAABRY/JGPjrthj9vc/s1600/jennifer-lopez-background-5-734149.jpg
images of just wallpaper jennifer lopez hd wallpaper


http://2.bp.blogspot.com/-cgGVvDSfmls/TswJpN3WkaI/AAAAAAAACzk/B66ayooJVio/s1600/jennifer-lopez-wallpaper-hd.JPG
images of jennifer lopez wallpaper wallpaper


http://3.bp.blogspot.com/_BtOFHhnpj5U/TTKtfgvYmPI/AAAAAAAAAEQ/qrxHXENtxMs/s1600/www.etweets.blogspot.com%2B%252810%2529.jpg
Celebrity Wallpapers: Jennifer Lopez HD Wallpapers


http://4.bp.blogspot.com/-k8b5jBAC-Rk/T14qQ_9h2EI/AAAAAAAAWPg/sa-XNb8ojd4/s1600/Jennifer-Lopez_03.jpg
... of jlo jennifer lopez fondos de pantalla hd wallpapers wallpaper


http://1.bp.blogspot.com/-0Z4kJrwfL4M/UPgsL3zTB3I/AAAAAAAAHCI/Dr9ThLSp3E8/s2000/Parker-Movie-HD-Wallpaper_Vvallpaper.Net.jpg
... HD Wallpapers and Posters Download Free Wallpapers in HD for your


http://4.bp.blogspot.com/-oczIqb4BJB0/UKOVKkPuFwI/AAAAAAAAA8w/GS5B81qYqh8/s1600/Jennifer+Lopez+HD+2012+Wallpapers+1600+X+1200+(5).jpg
HD wallpapers: Jennifer Lopez Hottest HD 2012 Wallpapers 1600 X 1200


http://1.bp.blogspot.com/-GKYRkJTqRK8/TtzUXtJ4LUI/AAAAAAAAA_M/Mt_fitShb24/s1600/jennifer-lopez-wallpaper-hd-8-734451.jpg
2012 jennifer lopez hot jennifer lopez oscars jennifer lopez nnip


http://1.bp.blogspot.com/-OMDOP6tmkbo/TnIvqWotewI/AAAAAAAAAw4/Za021DNmc2Y/s1600/Jennifer-Lopez-Wallpapers-HD-3.jpeg
Jennifer Lopez Wallpapers: Jennifer Lopez Wallpapers HD


http://2.bp.blogspot.com/-2OVernQ-AwE/TtzUXJWjiNI/AAAAAAAABRI/CO_1MQGluQA/s1600/jennifer-lopez-wallpaper-hd-1-732343.jpg
Just Wallpaper: jennifer lopez wallpaper hd


http://3.bp.blogspot.com/-loizD8j108c/TxANRRtIpZI/AAAAAAAACWE/wUrTDjhv1Uk/s1600/Jennifer+Lopez+Wallpaper+08.jpg
Celebrity Modeling: Jennifer Lopez Full HD Desktop Wallpaper


http://4.bp.blogspot.com/-r_HErELoWSw/TnIuRmKrKuI/AAAAAAAAAvE/Y5W2d8fYS_w/s1600/Free-Jennifer-Lopez-Wallpapers-5.jpg
Free Jennifer Lopez Wallpapers ~ Wallpapers HD for You


http://4.bp.blogspot.com/-FpDm-78FXq4/UKOVNbNBcFI/AAAAAAAAA84/IKY5kCkdWWw/s1600/Jennifer+Lopez+HD+2012+Wallpapers+1600+X+1200+(6).jpg
HD wallpapers: Jennifer Lopez Hottest HD 2012 Wallpapers 1600 X 1200


http://1.bp.blogspot.com/-KmHyCLiu0Uc/UKOVF1Eqk3I/AAAAAAAAA8g/DT-322kdGck/s1600/Jennifer+Lopez+HD+2012+Wallpapers+1600+X+1200+(3).jpg
HD wallpapers: Jennifer Lopez Hottest HD 2012 Wallpapers 1600 X 1200


http://2.bp.blogspot.com/--VYPtmsD6BY/TnIvpcrRbzI/AAAAAAAAAw0/jz9kq_7DuDI/s1600/Jennifer-Lopez-Wallpapers-HD-2.jpg
Jennifer Lopez Wallpapers: Jennifer Lopez Wallpapers HD


http://2.bp.blogspot.com/-PIWWRJ5SyhM/T1GrUu3E5pI/AAAAAAAAGyI/-NBCPQZ3dZQ/s1600/Jennifer-Lopez-hd-wallpapers.jpg
hollywood actress high definition wallpapers posted 17 mar 2012 08 08 ...


http://4.bp.blogspot.com/-FmCzkxI8SL0/UKOVH_RQROI/AAAAAAAAA8o/lXlW9sFXUpI/s1600/Jennifer+Lopez+HD+2012+Wallpapers+1600+X+1200+(4).jpg
HD wallpapers: Jennifer Lopez Hottest HD 2012 Wallpapers 1600 X 1200


http://2.bp.blogspot.com/-wGH7HH-pmm8/TnIutf0p24I/AAAAAAAAAwA/V9PymH-fm7A/s1600/Jennifer-Lopez-Hot-Wallpapers-5.jpg
images of jennifer lopez hot wallpapers latin dance wallpaper neha ...


http://2.bp.blogspot.com/_sRGU_JXOz6E/TRO4Hl5VbgI/AAAAAAAAAQo/JRGrINyHwaI/s1600/39.jpg
free wallpapers for download


http://3.bp.blogspot.com/-YVrI67TBaxE/T-2h4e32YbI/AAAAAAAADbI/UhB7vb7C5_g/s1600/Jennifer+Lopez+hd+Wallpapers+2012_2.jpg
Jennifer Lopez Latest HD Wallpapers 2012 | Free Wallpaper Backgrounds


http://1.bp.blogspot.com/-rBevubnvq6U/UEXIr0-dnXI/AAAAAAAAA2k/py5wygMkNfs/s1600/Jennifer+Lopez+Wallpapers+-+10.JPG
Jennifer Lopez Hot Wallpapers 2013 | Jennifer Lopez HD Wallpapers 2013 ...


http://1.bp.blogspot.com/-uTphXoKGAt4/TfGfHX4j11I/AAAAAAAAKp4/ZAIWoixcA1g/s1600/Jennifer_Lopez_top_10_hd_wallpaper+%25288%2529.jpg
hd wallpaper 5 top 10 jennifer lopez hd wallpaper 6


http://3.bp.blogspot.com/-gh0_o-WqzEs/TbiBSRpSKWI/AAAAAAAACKc/fjJ7o03wlVA/s1600/Jennifer%20Lopez%20wallpaper%20by%20cool%20images786.jpg
como se vestir como uma pin up , estilo pin up fotos , roupas pin ...


http://3.bp.blogspot.com/-nF4kpK-SIZE/T-Seglhn60I/AAAAAAAAD44/R0PrhvC22p8/s1600/Jennifer-Lopez-Wallpapers+_2012.jpg
Singers Wallpapes: Jennifer Lopez Latest HD Wallpapers 2012


http://24.media.tumblr.com/tumblr_m2zxwgjOxg1r1u5fyo3_1280.jpg
Hd Wallpapers For Tumblr


http://25.media.tumblr.com/tumblr_lobovwxhKl1qzv218o1_1280.jpg
Hd Wallpapers For Tumblr


http://25.media.tumblr.com/tumblr_loqd9xDyhT1qzv218o1_1280.jpg
Hd Wallpapers For Tumblr


http://25.media.tumblr.com/tumblr_m707eh4Bra1rpgs4co1_1280.jpg
rida by shota lopezs filmography actor bio upcoming movie release


http://24.media.tumblr.com/tumblr_m6v5ty8n3z1qiqp1co3_r1_1280.jpg
Including the. Where a set with julianne moore on this post has been ...


http://24.media.tumblr.com/tumblr_mapj49kcAv1qjfsubo1_1280.jpg
Free Download Ashanti Douglas Bikini Photos Choco Celeb


http://25.media.tumblr.com/tumblr_llwpfrDvbG1qhb07po1_1280.png
http://25.media.tumblr.com/tumblr_llwpfrDvbG1qhb07po1_1280.png


http://24.media.tumblr.com/tumblr_lm36ymbDDo1qjclkho1_1280.jpg
Powered by Rotlichtadresse


http://24.media.tumblr.com/tumblr_m4xqceHbkI1rpfztqo1_1280.jpg
Free Download Inspirating Tumblr


http://24.media.tumblr.com/tumblr_m4x7molxxh1ru14lzo1_1280.jpg
http://24.media.tumblr.com/tumblr_m4x7molxxh1ru14lzo1_1280.jpg


http://25.media.tumblr.com/b941fd429a1ed3342a591da2e704cf86/tumblr_meuibo9SwU1qcc0p8o1_1280.jpg
http://25.media.tumblr.com/b941fd429a1ed3342a591da2e704cf86/tumblr ...


http://24.media.tumblr.com/tumblr_m039vqJOBl1qkf6rvo1_1280.jpg
Cool+psychedelic+pictures


http://25.media.tumblr.com/tumblr_ltzrp5Em2g1qc7enho1_1280.png
Download Photoshop Cs5 Gratis Em Portugues Serial


READ MORE - Jennifer Lopez Hd Wallpaper Free Download
Related Posts Plugin for WordPress, Blogger...