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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

