[android-developers] Re: ISSUE about get phone number and background process is killed.

2011-06-06 Thread harsh chandel
put this line of code to open deafult phone nos
Intent intent = new Intent(android.content.Intent.ACTION_SEND);
to open phone book

On Jun 4, 9:26 pm, amnart asayavachira smartboy...@gmail.com wrote:
 To Android Developer

 Hello.

 I am new android developer and a litte english . I has one project
 that have two issues.

 1. getLine1Number() isn't work.
      I want to get a phone number from device but get null. i try to
 solve this problem and l get
      some detail that is telephone card has problem cause androidOS
 can't to get a Phone Number.
     Unfortunately, device can't edit a phone number. i see no way out.

 2. Background process is killed
      My app have activity A and Service B. when my app is
 launch ,activity A will start Service B and give Service B run my
 background process long-lived. But i don't know when it is killed.

      My background process work on pulling data from CallLog and
 MmssmsLog on device when
      has a new row of CallLog or MmssmsLog  for save to my database .

       anyone have idea for solving my problems.

 Thank you so much

 AUM

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ISSUE about get phone number and background process is killed.

2011-06-06 Thread amnart asayavachira

hello  harsh chandel

 Thank for answer me.

  Has phone book have SIM card phone number ?  i would like to
pull sim card phone number but i wouldn't like to pull
  contact phone number of user.

  Please recommended me.

Thank you so much

AUM

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en