[android-developers] Re: How to access Phone Book

2009-03-03 Thread dileep singh
Use something like this.modify this code according to your requirement. * public* *void* onCreate(Bundle icicle) { *super*.onCreate(icicle); Cursor c = getContentResolver().query(People.*CONTENT_URI*, *null*, *null*, *null*, *null*); startManagingCursor(c); String[] columns = *new*

[android-developers] Re: Interesting Question

2009-02-24 Thread dileep singh
Intent startActivity = new Intent(); startActivity.setAction(android.intent.action.MAIN); startActivity.addCategory(android.intent.category.HOME); startActivity(startActivity); On Wed, Feb 25, 2009 at 1:04 PM, ipeg.stud...@gmail.com wrote:

[android-developers] Re: How to use check box in list view?

2009-02-17 Thread dileep singh
Thanks a lot.I will try the aboce code. On Tue, Feb 17, 2009 at 10:24 PM, Kirk kirk.mora...@gmail.com wrote: Hi Dileep, The following code will loop through all items in the ListView 'lv' and, if the checkbox is checked, will extract the email at that position. It could take a bit longer

[android-developers] Re: How to get lists of email from contact application?

2009-02-05 Thread dileep singh
change the linearLayout to a ListView in layout file and give it an attribute of android:id=@+id/list On Feb 5, 12:42 am, dileep singh discover.dile...@gmail.com wrote: Hi Mark, As suggested by u ,i am using the same code.this is my code:- But its returning blank screen,eventhough in conatct

[android-developers] Re: How to get lists of email from contact application?

2009-02-04 Thread dileep singh
Hi Mark, Can u give me some sample code?I am not able to get email with the above code. please provide me somple code On Wed, Feb 4, 2009 at 12:53 AM, dileep singh discover.dile...@gmail.comwrote: Thanks a lot mark.I will try the above code. On Tue, Feb 3, 2009 at 10:46 PM, Mark Roberts

[android-developers] Re: How to get lists of email from contact application?

2009-02-04 Thread dileep singh
= getContentResolver().query (methodsUri,METHODS_PROJECTION, kind=1, null, null); Log.i(Cursor, Count = + methodsCursor.getCount()); } } On Feb 4, 4:44 am, dileep singh discover.dile...@gmail.com wrote: Hi Mark, Can u give me some sample code?I am not able to get email with the above code

[android-developers] Re: How to get lists of email from contact application?

2009-02-04 Thread dileep singh
); Cursor methodsCursor = getContentResolver().query (methodsUri,METHODS_PROJECTION, kind=1, null, null); Log.i(Cursor, Count = + methodsCursor.getCount()); } } On Feb 4, 4:44 am, dileep singh discover.dile...@gmail.com wrote: Hi Mark, Can u give me some sample code?I am not able

[android-developers] Re: How to get lists of email from contact application?

2009-02-03 Thread dileep singh
Thanks a lot mark.I will try the above code. On Tue, Feb 3, 2009 at 10:46 PM, Mark Roberts snappe...@gmail.com wrote: If you are looking for the emails for a specific contact then you could do it like this where id is the id of the contact for which you are trying to get the data: public

[android-developers] Re: Web Service

2008-12-21 Thread dileep singh
Thanks a lot Mark.Sorry for late reply.I was out of station so i didnt reply u.I will check all suggestions suggested by u and let u know. Thanks. dileep. HAPPY XMAS NEW YEAR IN ADVANCE. On Sat, Dec 20, 2008 at 2:28 AM, Mark Murphy mmur...@commonsware.comwrote: Mark K wrote: Since

[android-developers] Re: Web Service

2008-12-19 Thread dileep singh
Thanks Mark. Actually i want to call a web service which should return xml thing. Please reply. On Fri, Dec 19, 2008 at 6:33 PM, Mark Murphy mmur...@commonsware.comwrote: dilu wrote: Hi Plz tell me that what is the best way to work on web services in android.I dont want to use third

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread dileep singh
Hi Peli, Is sending email stuff is supporting in android emulator sdk1.0 r2?:Email application is dere but when i am executing that code , message is appearing that no application can perform this action.A lot of people are having this problem.So,please tell whats the reason ,eventhough email

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread dileep singh
and suggest to support the SEND intent for other MIME types as well. I've written to the K9-mail team here: http://groups.google.com/group/k-9-mail/browse_frm/thread/2621f0a54b0bf03e Please add your comments and wishes there as well! Peli www.openintents.org On Dec 17, 12:41 pm, dileep singh

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread dileep singh
/ - Android OS Tutorials On Wed, Dec 17, 2008 at 9:56 PM, dileep singh discover.dile...@gmail.com wrote: Thanks a lot Sunit.U have done a good job.But in my emulator(ver1.0,r2) email client is dere.But then also when I am trying to send email message is appearing no application can perform

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-13 Thread dileep singh
hey please check this link.http://androidguys.com/?p=3100#comment-5168 once again mark has proved himself that he is always dere to help android guys. Thanks mark On Sat, Dec 13, 2008 at 1:38 AM, Peli peli0...@googlemail.com wrote: I'd love to see that one extra line in your example that

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread dileep singh
to manually compose the e- mail and figure out which snapshot from what folder to attach. Thanks On Dec 12, 11:33 am, dileep singh discover.dile...@gmail.com wrote: Thanks peli Do u have some sample code?tht will of great help for me. I am complete fresher. Waiting for ur reply Thanks

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread dileep singh
Thanks peli Do u have some sample code?tht will of great help for me. I am complete fresher. Waiting for ur reply Thanks DILU On Fri, Dec 12, 2008 at 3:56 PM, Peli peli0...@googlemail.com wrote: http://www.openintents.org/en/node/121 Peli www.openintents.org On Dec 12, 7:43 am, dilu

[android-developers] Re: sending email

2008-12-04 Thread dileep singh
Thanks Bill Napier On Fri, Dec 5, 2008 at 3:53 AM, Bill Napier [EMAIL PROTECTED] wrote: Searching this forum for the term send email gave me this mail:

[android-developers] Re: PLEASE TROUBLESHHOT MY ERROR

2008-10-23 Thread dileep singh
HI ludwig, i am already having loginscreen.xml file in my layout file.but still i am getting same error.xml file is: ?xml version=*1.0* encoding=*utf-8* ? RelativeLayout xmlns:android=*http://schemas.android.com/apk/res/android* android:layout_width=*fill_parent*

[android-developers] Re: Error coming while creating a login page

2008-10-21 Thread dileep singh
HI PELI, THIS IS MINE login_screen.xml file ?xml version=*1.0* encoding=*utf-8*? RelativeLayout xmlns:android=*http://schemas.android.com/apk/res/android; * android:layout_width=*fill_parent* android:layout_height=*wrap_content * android:padding=*5dp* ImageView android:id=*@+id/imgAtrexis *