[android-beginners] Android keyevent keycodes and scancodes

2009-11-11 Thread Android_n00b
Hi I am writing a program which captures the keys pressed by user in android and displays it in Ubuntu. According to what I read, Android's input event device is structured around an interrupt or polling routine that captures the device-specific scancode and converts it to a standard form

[android-beginners] Socket client does not work with emulator

2009-10-08 Thread Android_n00b
Hi, I am trying to create a connection between a server socket program written in C and an android client socket program. Now when I write a regular java client program such as: try { Socket socket = new Socket(localhost, 5554); PrintWriter out = new

[android-beginners] Re: Socket client does not work with emulator

2009-10-08 Thread Android_n00b
/browse_thread/threa... http://groups.google.com/group/android-developers/browse_thread/threa... Cheers, James On Thu, Oct 8, 2009 at 12:57 PM, Android_n00b nikhil...@gmail.com wrote: Hi, I am trying to create a connection between a server socket program written in C and an android

[android-beginners] Sockets with Android.

2009-10-02 Thread Android_n00b
Hi I'm implementing a program which uses sockets to communicate between the client and server. I am getting this to work fine with just a message. However, I want to have an EditText field in my application, which when I hit a 'Send' button, sends the text from the field to my server and logs it.

[android-beginners] Re: Help with error in Android code

2009-10-02 Thread Android_n00b
Try this and let me know if it works: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button loginButton = (Button) findViewById(R.id.login); EditText usernameView = (EditText)

[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-24 Thread Android_n00b
in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 23, 1:10 pm, Android_n00b nikhil...@gmail.com wrote: I apologize about the last part of that message. I meant that I read online about KeyboardView.OnKeyboardActionListener, but do not know how it works

[android-beginners] Re: name of the event which gets trigger when i push/pull the file in FS

2009-09-24 Thread Android_n00b
What's with hijacking this thread? On Sep 24, 11:20 am, Sriniamul Senthil srinia...@yahoo.com wrote: Hi,     Media Scanner doesn't get activate when i push/pull the file using DDMS. Media Scanner gets called only when the phone boots up and also when SD card is removed / inserted.    

[android-beginners] Re: How to launch android emulator

2009-09-24 Thread Android_n00b
You have to be more specific. Did you create an avd? On Sep 24, 12:31 pm, Androidbeginner phitr...@gmail.com wrote: I followed the instruction to load Android in  (http:// source.android.com/download). I am using Ubuntu ver9.03. I am having trouble to launch emulator. Message I got:

[android-beginners] onKeyboardActionListener vs onKeylistener

2009-09-23 Thread Android_n00b
Hi, I am new to Android, and am writing an app which has 2 EditTexts (Let's call them A and B) and whenever I hit any key in A, it is automatically copied to B. For example, if I type HELLO in A, it will copy each letter into B. I managed to get this to work perfectly with the setOnKeyListener().

[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-23 Thread Android_n00b
in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 23, 11:13 am, Android_n00b nikhil...@gmail.com wrote: Hi, I am new to Android, and am writing an app which has 2 EditTexts (Let's call them A and B) and whenever I hit any key

[android-beginners] Arayadapter only shows text when highlighted

2009-09-17 Thread Android_n00b
I have an arrayadapter which stores the names of the 12 months of the year: final String[] Months = new String[] {January,February,March,April,May,June,July,August, September,October,November,December}; ArrayAdapterString monthArray = new ArrayAdapterString(this,