[android-developers] Re: why i cant connect to the internet,i have added the permission.

2009-06-17 Thread chen hence
url=http://www.google.com/ig/api?weather=beijing; log shows unknown host www.google.com throw unknow 2009/6/16 Marco Nelissen marc...@android.com what does it say in the log? On Tue, Jun 16, 2009 at 1:57 AM, hencechen...@gmail.com hencechen...@gmail.com wrote: here is my code: it

[android-developers] Re: how to cancle an AlarmManager?

2009-06-16 Thread chen hence
thank you. 2009/6/15 MrChaz mrchazmob...@googlemail.com alarm = (AlarmManager)getSystemService(ALARM_SERVICE); alarm.cancel(alarmIntent); Where alarmIntent is the intent that was previously used in .set() On Jun 15, 3:17 am, hencechen...@gmail.com hencechen...@gmail.com wrote:

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-05-28 Thread chen hence
i got the problem too. but i fixed by use the icon which can hlep you to create the Android XML file,which is is just left of the debug icion. 2009/5/27 Raphael r...@android.com On Mon, May 25, 2009 at 5:10 PM, androg roger.weinhei...@gmail.com wrote: I get this error with all three

[android-developers] Re: getLastKnownLocation() always returns null. What am I doing wrong?

2009-05-28 Thread chen hence
can you send me your full codes? im on a project on gps. Thanks for your help. Hence Chen 2009/5/22 pawpaw17 georgefraz...@yahoo.com I'm having no luck getting getLastKnownLocation to return a non-null value in the Android emulator running in Eclipse. The following call always returns null:

[android-developers] Re: whats wrong with my EditText to int

2009-05-23 Thread chen hence
i entered numbers such 545. but there is nothing but exption happened. 2009/5/23 Jack Ha (T-Mobile USA) jack...@t-mobile.com Can you provide the logcat output that shows the stack trace? What value did you enter for the et2 field? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・

[android-developers] Re: whats wrong with my EditText to int

2009-05-23 Thread chen hence
public void menu_add(){ // setContentView(R.layout.add); Button btnadd=(Button)findViewById(R.id.addtips); Button btnreturn=(Button)findViewById(R.id.return_menu_record); //点击添加备注 btnadd.setOnClickListener(new View.OnClickListener(){ public void onClick(View v) { // TODO Auto-generated method

[android-developers] Re: How to cancle a dialog when touch it?

2009-05-23 Thread chen hence
i found the problem...its function add(); Thank you for your help. 2009/5/23 arnouf arnaud.far...@gmail.com User AlertDialogBuilder to add your buttons...It's simplier On May 23, 4:47 am, hencechen...@gmail.com hencechen...@gmail.com wrote: i have my code Dialog

[android-developers] Re: whats wrong with my EditText to int

2009-05-23 Thread chen hence
i found the problem...its function add(); Thank you for your help. 2009/5/23 chen hence hencechen...@gmail.com public void menu_add(){ // setContentView(R.layout.add); Button btnadd=(Button)findViewById(R.id.addtips); Button btnreturn=(Button)findViewById(R.id.return_menu_record); //点击添加

[android-developers] Re: How to play video file in android.

2009-05-22 Thread chen hence
i just remembered there was no way to play awmv file on g1? 2009/5/22 Marco Nelissen marc...@android.com On Thu, May 21, 2009 at 8:57 PM, Priya priya.b...@gmail.com wrote: Hi, here is my code for playing video through url public class sample extends Activity { private String