[android-developers] Please help me

2009-12-11 Thread IPEG Student
Hello, I want to capture the phone number of any android device. am using this code TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); sim = mTelephonyMgr.getLine1Number(); in emulator it returns a value. But when i c

Re: [android-developers] Re: Please help me !!

2009-12-07 Thread IPEG Student
On Tue, Dec 8, 2009 at 12:29 AM, Phil V wrote: > Do you mean like an android exclusive chatroom? > > On Dec 7, 1:44 pm, IPEG Student wrote: > > Hi > > > > Can any one tell me is group messaging is possible in android > > or not. If yes then please

[android-developers] Please help me !!

2009-12-07 Thread IPEG Student
Hi Can any one tell me is group messaging is possible in android or not. If yes then please tell me something like how can i implement this? Thanks, Suman -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] connecting server problems

2009-11-16 Thread IPEG Student
Hello How can i send information to external server database by android coding ? Thanks and Regs Suman -- 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

[android-developers] Interesting and urgent

2009-11-13 Thread IPEG Student
Hello I post a code by which i can call any one from contact list . protected void onListItemClick(ListView l, View v, int position, long id){ super.onListItemClick(l, v, position, id); Intent i = new Intent(Intent.ACTION_CALL); Cursor c = (Cursor) myAdapter.getI

[android-developers] Very Urgent

2009-11-10 Thread IPEG Student
Hello The MapActivity class is not resolving. The code is :: import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import android.os.Bundle; public class testandroid extends MapActivity { /** Called when the activity is first created. */ public void

[android-developers] Very Urgent

2009-11-10 Thread IPEG Student
Hello btn.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { String _lat=lat.getText().toString(); String _lon=lon.getText().toString(); Uri uri=Uri.parse("geo:"+_lat+","+_lon); //Uri smsuri = Uri.parse("content://sms/inbox/12"); st

[android-developers] Re: Very urgent

2009-10-21 Thread IPEG Student
On Wed, Oct 21, 2009 at 7:45 AM, kevin.hooke wrote: > > If you tell us a bit more about what you're trying to do then someone > might be able to help you? > > On Oct 20, 2:50 pm, IPEG Student wrote: > > Hello > > > > can any body tell me how can

[android-developers] Very urgent

2009-10-20 Thread IPEG Student
Hello can any body tell me how can i delete this string. I have used this coding. temp = temp1.replace(temp1.substring(temp1.indexOf("Address2=" ),temp1.indexOf("Address2=") + temp1.indexOf("; ")), ""); //*temp* = temp1. //*temp* = temp1.replace(temp1.substring(temp1.indexOf("Address2=")

[android-developers] Re: Go to the home screen.

2009-02-26 Thread IPEG Student
On 2/27/09, Dianne Hackborn wrote: > > And for heaven's sake don't call System.exit()! > > On Thu, Feb 26, 2009 at 10:50 AM, Marco Nelissen wrote: > >> >> On Thu, Feb 26, 2009 at 5:26 AM, Zack wrote: >> > >> > Hi, >> > >> > I'm trying to do something similar. I have a few activities in my app. >>

[android-developers] Access one activity from another one in the same package.

2009-02-25 Thread ipeg . student
Hello Thanks for the reply. I want to say I have 5 activities. In activity 2 i have made some change and save the change by getPreferences(); method ok. Now i want to check this settings from activity4. Cn i do this? If yes, then please tell me how? Am waiting for t

[android-developers] How can i access one activity from another in the same package?

2009-02-25 Thread ipeg . student
Hi Android Developers.. Thanks for the greate replies. Now my question is I have 5 activities in my project. How can i check the condition of 2nd activity from 4th activity? Based upon this condition i want to do something. If anybody know this please tell me.

[android-developers] Interesting Question

2009-02-24 Thread ipeg . student
Hello... Can any one tel me what is the method behind Home button? Am waiting for the correct answer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Go to the home screen

2009-02-24 Thread ipeg . student
Hello Thanks. But my problem is not solved. actually i have many activities. So when i go to the 2nd activity and return to the first one then System.exit(1); is working just as a back button. But i want to go the home screen. Please tell me what can i do? Thanks in advance. --~-

[android-developers] Go to the home screen.

2009-02-24 Thread ipeg . student
Hello Thanks for the reply. But my question is i have a exit button. I want to go to the home screen by clicking the button. I know the onClick() method. Please tell me the method by which i can go to the home page of android. ///

[android-developers] Go to the home screen.

2009-02-24 Thread ipeg . student
Hi All Android Developers... Thanks for the replaies. I want to go to the home page of android from my activity. Can anybody tell me how can i do this? I have tried a lot. Thanks in advance. --~--~-~--~~~---~--~~ You received this m

[android-developers] Button Problem

2009-02-05 Thread ipeg . student
Hello Thanks for the reply. But i am facing the same problem. How can i put the button in this page? private static class SampleView extends View { private Canvas mCanvas; pri

[android-developers] Inserting button in a difficult position

2009-02-05 Thread ipeg . student
Hi all Thanks for the greate replies. I have a porgram by which i draw a rectengle. The code is written below. // public class Hellobye2 extends Activ

[android-developers] Difficult Button

2009-02-05 Thread ipeg . student
Hi all Thanks for the greate replies. I have a porgram by which i draw a rectengle. The code is written below. // public class Hellobye2 extends Activ

[android-developers] Tough Problem

2009-02-04 Thread ipeg . student
Hi all Thanks for the greate replies. I have a porgram by which i draw a rectengle. The code is written below. // public class Hellobye2 extends Act

[android-developers] Android Challenge!! Can you correct this 1 line ?????

2009-01-26 Thread ipeg . student
Please help Me!!! I am stuck with a small problem for several days, I am unable to delete any SMS. The error is in just 1 line. Look at the code below and the associated XML . If I run the code, it shows the list of all SMS in my inbox. There is an SMS whose _ID is equal to

[android-developers] 1 line to correct! Only for the best Programmers

2009-01-26 Thread ipeg . student
Hi Developers, I am stuck with a small problem for several days, I am unable to delete any SMS. Look at the code below and the associated XML . If I run the code, it shows the list of all SMS in my inbox. There is an SMS whose _ID is equal to 7 . If I enable the line getConte

[android-developers] Just one line program that will make you crazy.

2009-01-26 Thread ipeg . student
Hi, I am stuck with a small problem for several days, I am unable to delete any SMS. The error is in just 1 line. Look at the code below and the associated XML . If I run the code, it shows the list of all SMS in my inbox. There is an SMS whose _ID is equal to 7 . If I en

[android-developers] Interesting problem

2009-01-26 Thread ipeg . student
Hi developers. Thanks for the replies. I have a problem from last few days. I want to delete sms from my inbox. I have used this code for deletion. //

[android-developers] unable to delete sms from inbox

2009-01-23 Thread ipeg . student
Hi, I am trying to delete sms from inbox getContentResolver().delete(Uri.parse("content://sms/conversations/ 9"), null, null); the above statement does not work. gives error. Please help me --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] Help!!!! How do I delete sms from inbox?

2009-01-23 Thread ipeg . student
I need to know the code for deleting an SMS from the inbox. Please help! --~--~-~--~~~---~--~~ 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@googlegro

[android-developers] How can i close my project?

2009-01-22 Thread ipeg . student
Hi developers I have a problem. I have a project which has 5 activities. All the activities are connected through intent. I have a exit button to exit the whole project . I have used finish() function but it just close the current activity. It works like back. Please g

[android-developers] Strange and interesting problem (For Really ANDROID Lovers)

2009-01-15 Thread ipeg . student
Hi developers... First of all thanks for the greate replies. Now i have a very strange problem. Now i can access all the sms those have "hello" in their body. I want to send the content of each sms to another program. But the problem is i can able to s

[android-developers] Not a big problem.

2009-01-14 Thread ipeg . student
Hi Developers. Now i have a small problem. I want to create a global variable in my program. Please give me the coding of create a global variable. Thanks in advance. Suman. --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Display problem 2

2009-01-12 Thread ipeg . student
Hello!!! surfaceView is not working. But thanks for reply. Am facing the same problem still now. I want to display the specific list of string.ma again posting the code. ///

[android-developers] Moving screen

2009-01-11 Thread ipeg . student
Hi developers ... I want to create a moving background in my application. Can anyone help me. Thanks in advance. please help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Display problem.

2009-01-11 Thread ipeg . student
Thanks for the greate help. But now i want to display list of strings. This code is helpful for converting the sms to string insteade of adapter. import android

[android-developers] Re: Unique problem only for the EXPERTS.

2009-01-05 Thread IPEG Student
Hi, Thanks a lot for the problem, but I'm still unfortunately at square one. Here is what I need: Read an SMS into a string variable, then do some string operations. For example, how can I find the first character of an SMS? Thanks in advance for helping me out. #

[android-developers] Unique problem only for the EXPERTS.

2009-01-05 Thread ipeg . student
Hi! am Suman. I have a code by which i can access all the sms from inbox. The code is written below. import android.app.ListActivity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import androi

[android-developers] SMS Inbox: 2008's toughest problem ( At least for me)

2008-12-30 Thread ipeg . student
### Please help me access the list of sms in the inbox. I am using this code, please let me know what is wrong, it always gives a n unexpected error popup in the emulator. I used a similar code for accessing the contacts list ( Peop

[android-developers] Please help: Need to access SMS inbox

2008-12-21 Thread ipeg . student
my name is Suman. i can notify a incoming sms. the code is written belowimport android.content.BroadcastReceiver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telep