[android-developers] The method onOptionsItemSelected(MenuItem) of type AndroidViews must override or implement a supertype method

2008-10-27 Thread disappearedng
Hi everyone, I am encountering the following error from eclipse: The method onOptionsItemSelected(MenuItem) of type AndroidViews must override or implement a supertype method import android.app.Activity; import android.os.Bundle; import android.view.Menu; public class AndroidViews extends Acti

[android-developers] Re: Menu

2008-10-27 Thread disappearedng
I actually realized that my code will work for the following: public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add("AutoComplete"); menu.add("Button"); menu.add("CheckBox"); menu.add("EditText"); menu.

[android-developers] Re: AlertDialog Question

2008-10-27 Thread disappearedng
I have tried using "this" and it didn't work for me. Could you give me an example in my context? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Menu

2008-10-27 Thread disappearedng
Hi everyone, I am currently using a book that was published using Android SDK 0.8(or something earlier). I am trying to create a sample menu, but then my eclipse complains about the menu.add function. Under all the add, eclipse underlines in red with the following error: "The method add(int, int,

[android-developers] Re: AlertDialog Question

2008-10-27 Thread disappearedng
Anyone? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTE

[android-developers] AlertDialog Question

2008-10-27 Thread disappearedng
Hi everyone, I have written the following code public class AndroidPhoneDialer extends Activity { final EditText phoneNumber = (EditText) findViewById(R.id.phoneNumber); final Button callButton = (Button) findViewById(R.id.callButton); callButton.setOnClickListener(new B

[android-developers] Re: FTP?

2008-10-23 Thread disappearedng
Sockets doesn't say anything about the protocol, does it? If I am not wrong, sockets could be used by any protocol. (quote from wikipedia) An Internet socket (or commonly, a network socket or socket), is an end-point of a bidirectional process-to-process communication flow across an IP based net

[android-developers] FTP?

2008-10-22 Thread disappearedng
Hi everyone, 1) Does android have its own FTP client? 2) Does android use TCP by default to establish a connection? 3) Does Android have its own TCP library? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De