Hi I have two edittexts and I have to generate random no and randomly show in one of two edittexts. generating random no is ok,but randomly showing in one of the edittext, I donot have any idea. if any one have any hint or any arrticle.,Please help

Member Avatar
Member Avatar
+0 forum 2

I have this array in a page and i want to call it into a listview or textview in another page...how do i do that? [CODE]public class Screen2 extends Activity { public static EditText txt1; public static String player; public static ArrayList<String> playerList = new ArrayList<String>(); /** Called when the activity is first created. **/ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.screen2); // edittext1 or textview1 txt1 = (EditText) findViewById(R.id.editText1); player = txt1.getText().toString(); // add more items button Button more = (Button) findViewById(R.id.button1); more.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { player = txt1.getText().toString(); if (txt1.getText().toString().length() != 0) …

Member Avatar
Member Avatar
+0 forum 10

Hi all! I bought a new HTC desire Z I'm swedish so I wanted Å, Ä and Ö on my QWERTY-keyboard on the mobile but I couldn't get a HTC desire Z with Å, Ä and Ö. So I decided to fix it on my own. I am developing a SMS-sender where you can type Å by pressing AAA, Ä by pressing AE and Ö by pressing OO. It works fine. I can send SMS with it. The next step is to, instead of memorizing and typing the phone number in the number input, make the contacts in my phone …

Member Avatar
Member Avatar
+0 forum 1

Hi i try show layout like image 1 (textView and editText in same line) but my out put shown like image 2 ! i try with this code : [CODE]<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:padding="5px" > <TextView android:id="@+id/label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="URL:" android:layout_alignBaseline="@+id/entry" android:layout_alignParentLeft="true"/> /> <EditText android:id="@+id/entry" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/label" android:layout_alignParentTop="true" /> <Button android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:paddingRight="30px" android:paddingLeft="30px" android:text="Go..." /> </LinearLayout> [/CODE] what should i do ? thanks

Member Avatar
Member Avatar
+0 forum 1

The End.