Monthly Archive: March 2012

Mar 15

error com.android.email.permission.ACCESS_PROVIDER

I tried to read email from the emailprovider, but from StackOverflow I read that it’s impossible. The error also couldn’t be fix.

here is the code

AND I also add the “permission” which is none of the permission list.

here the url I found from stackOverflow http://stackoverflow.com/questions/5547352/how-can-i-read-inbox-in-android-mobile http://androidbridge.blogspot.com/2011/03/reading-emails-in-android.html I really appreciate for …

Continue reading »

Mar 15

Get SMS from inbox/outbox

Now I want to show you how to show to the screen the SMS from your inbox/outbox. In this tutorial, you should permission to read sms first on your android manifest.

This is the code, we use cursor to get the text.

Mar 09

Get GPS Device Info

Now, I want to tell you about how get GPS Android Device Information. Please notes that this function can be ran on class with activity extended. the code will be like this:

Mar 09

How to use getInstance() ?

getInstance is usually used to help to make just one object and without parse it. for example, we parse parameter Object like this:

Nah, with that situation u MUST parse one by one class that use the target class. How hard your life is. Now, with the simple method, you can reduce it, and …

Continue reading »

Mar 09

How to Change UI inside of thread?

now, I want to let you know how to change UI inside of thread. You know, Android UI cannot be executed by the thread WITHOUT add an explain to execute the UI. because the Thread is the execution program that also run while the main process is run. It would be conflict if the Thread …

Continue reading »

Mar 02

how to read a ‘strange class’

I just wonder how people know how to use the strange class. let’s make an example. This is the class I got from developer.android, I used Telephony Manager, but you know,,, the calling method is different.

and from the forum, the way to call the class is:

Mar 01

Show Android Device Info

Show device info is the basic to make a android interface application. Actually, you should know the data from Android device due to develop your application. For example, if you want to build memory manager application for Android, you must know the memory condition is, the heap size, the free size of memory, the applications …

Continue reading »