Showing posts with label Android Development. Show all posts
Showing posts with label Android Development. Show all posts

Monday, November 21, 2011

Mobile Payments Library for Android

The PayPal Mobile Payments Library lets you accept PayPal payments within your mobile app. A buyer stays in your app while logging in to PayPal, reviewing a purchase, and completing a payment. The library provides the buyer's shipping, billing, and payment information to your app.

Please click here  for library and source code .

Thursday, November 3, 2011

Get SIM card number

 TelephonyManager teleManager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
 String simNo = teleManager .getSimSerialNumber();

You also need to provide android.permission.READ_PHONE_STATE permission in android manifest file.

Saturday, October 22, 2011

Uninstall Apps from device using Intent.

You can uninstall App from device using following code.

Uri packageURI = Uri.parse("package:com.any.app");
startActivity(new Intent(Intent.ACTION_DELETE, packageURI));



Monday, October 17, 2011

Android Screencast for displaying device screen on computer

Android screen cast can display my Android device (phone or tablet) on a computer screen . It works on my HTC Legend running Android 2.2 .

The screencast will display the device screen on the computer. For rooted ROM, you can also use the computer keyboard and mouse to control the device.It doesn’t handle device screen rotation at all. So phone will display in portrait mode only and tablet in landscape mode only.

Apart from the above, it is a great tool when doing presentation with Android devices. Plug and USB cable and run the software and your audience will be able to see your device screen. No more messy setup of a separate overhead projection unit. And the display quality is way better.

You can Download the Screen Cast from Here.