Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 373 results for
edittext
- Page 1
String value retrieval for an EditText in Androids
Programming
Mobile Development
12 Years Ago
by Andyjava
Hello all. public class LoginFragmentActivity extends SherlockFragment {
EditText
e1 = null;
EditText
e2 = null; Button b; @Override public View …layout.login_layout, container, false); e1 = (
EditText
) view.findViewById(R.id.reg_email); e2 = (
EditText
) view.findViewById(R.id.reg_password); b = …
Re: java.lang.NullPointerException when trying to convert EditText to string
Programming
Mobile Development
10 Years Ago
by peter_budo
… `R.layout.add_item`. If that is case then final
EditText
insertValue = (
EditText
)findViewById(R.id.txtInsert); will be null because edit text… it in coresponding view, so it should be like final
EditText
insertValue = (
EditText
) addView.findViewById(R.id.txtInsert);
java.lang.NullPointerException when trying to convert EditText to string
Programming
Mobile Development
10 Years Ago
by monkeybut
…); // Set add_item to alertdialog builder alertDialogBuilder.setView(addView); final
EditText
insertValue = (
EditText
)findViewById(R.id.txtInsert); // Set Dialog Message alertDialogBuilder.setCancelable(false…
Dialog edittext Insert text?
Programming
Software Development
14 Years Ago
by tawes01
I'm making a dialog based text editor, using dev-c++. how can I insert text at the current cursor position? as in get the location of the cursor (not the mouse) and insert text at that point in the
edittext
control
Randomly showing string in two edittext
Programming
Mobile Development
10 Years Ago
by skyyadav
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
Re: String value retrieval for an EditText in Androids
Programming
Mobile Development
12 Years Ago
by Andyjava
I wrote something before posting the written code snippet above but to my surprise,it got cleaned up.The text editor been used here highlights everything on mouse movement. The issue behind the code is this,i'm building an android app which has 2 EditTexts (like Textfields in java) one takes an email address inputted by the user and the other, …
Re: java.lang.NullPointerException when trying to convert EditText to string
Programming
Mobile Development
10 Years Ago
by monkeybut
That cleared up my issue with it bombing on me. Thanks.
Re: Dialog edittext Insert text?
Programming
Software Development
14 Years Ago
by Ancient Dragon
Maybe [URL="http://www.suite101.com/content/using-the-win32-api-edit-control-a23709"]this[/URL] will help you
Re: Dialog edittext Insert text?
Programming
Software Development
14 Years Ago
by tawes01
Thank you, that got me to a point where I can get the text and add text into it (insert). But how do you find where the cursor/typing thingy is? and is there a simpler method of doing this?
Re: Dialog edittext Insert text?
Programming
Software Development
14 Years Ago
by tawes01
Figured it out: [CODE]SendMessage(GetDlgItem(hMainDlg, IDC_EDIT1), EM_REPLACESEL, 0, (LPARAM)text_to_insert);[/CODE]
Re: Randomly showing string in two edittext
Programming
Mobile Development
10 Years Ago
by hericles
If I understand you correctly you need to randomly decide which edit text to display the number in. To decide which one simply generate another random number between 0 and 1. 0 to .49 means first box, .5 - .99 means second text box. If you'd mentioned which language you were using I'd include an example.
Re: Randomly showing string in two edittext
Programming
Mobile Development
10 Years Ago
by skyyadav
I am using Java
SQLite problem
Programming
Mobile Development
13 Years Ago
by Archenemie
…){ ContentValues values = new ContentValues();
EditText
word_one = (
EditText
) findViewById(R.id.idwordone); String …word_three_value); word_three.setText("");
EditText
word_four = (
EditText
) findViewById(R.id.idwordfour); String…
Re: SQLite problem
Programming
Mobile Development
13 Years Ago
by Archenemie
…V){ ContentValues values = new ContentValues();
EditText
word_one = (
EditText
) findViewById(R.id.idwordone); String … word_three_value); word_three.setText("");
EditText
word_four = (
EditText
) findViewById(R.id.idwordfour); String …
Android Native - Creating an Implicit Intent
Programming
Mobile Development
3 Years Ago
by dimitrilc
…os.Bundle import android.widget.Button import android.widget.
EditText
class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState…} private fun bindUrlButton(){ val urlTextInput = findViewById<
EditText
>(R.id.editText_url) //get TextEdit object val button…
heart rate zephyr
Programming
Mobile Development
10 Years Ago
by sash89
…TextView tv1 = (
EditText
)findViewById(R.id.labelHeartRate…
EditText
firstName;
EditText
lastName;
EditText
currentAge; Button calculate; firstName = (
EditText
)findViewById(R.id.text2); lastName =(
EditText
)findViewById(R.id.text4); currentAge =(
EditText
…
Android Program porblems and help needed
Programming
Mobile Development
11 Years Ago
by sXLambo
…; public class MainActivity extends ActionBarActivity { private
EditText
Result; private String Operation; private
EditText
editYear; private
EditText
editCapacity; private Button calc; private RadioButton radioD…
Android Native - How to Create Espresso Tests
Programming
Mobile Development
3 Years Ago
by dimitrilc
…) setContentView(R.layout.activity_main) val
editText
= findViewById<
EditText
>(R.id.editText_plaintTextInput) val button…savedInstanceState) setContentView(R.layout.activity_main) val
editText
= findViewById<
EditText
>(R.id.editText_plaintTextInput) val button…
How to display dialog box items?
Programming
Software Development
18 Years Ago
by Tales
…,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_TRANSPARENT
EDITTEXT
IDC_NOMBRAR6,20,133,84,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER…,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_TRANSPARENT
EDITTEXT
IDC_NOMBRAR10,20,209,84,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER …
Inserting bitmap into dialog box
Programming
Software Development
15 Years Ago
by amarucla
…quot;Aperture Length", IDC_STATIC, 425,178,90,8
EDITTEXT
IDC_AL,425,187,50,14,ES_NUMBER LTEXT "Skip … "Initial CF guess", IDC_STATIC, 425,274,90,8
EDITTEXT
IDC_CF,425,283,50,14,ES_NUMBER END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // …
Android, Eclipse: R cannot be resolved to a variable
Hardware and Software
Hardware
Mobile and Wearables
12 Years Ago
by ms061210
…extends Activity { private SharedPreferences savedSearches; TableLayout queryTableLayout;
EditText
queryEditText, tagEditText; @Override public void onCreate(Bundle …;@color/glaring_blue" > <
EditText
android:id="@+id/taggedSearchesTextView" android…
How to loop with runnable in Android
Hardware and Software
Hardware
Mobile and Wearables
11 Years Ago
by DamianFox
…;Noise" image disappear to make space for an
EditText
. The
EditText
is used to get the user data. Here is my… Screenshot Screenshot Screenshot Screenshot Screenshot Noise Noise Noise Noise Noise
EditText
EditText
EditText
EditText
EditText
What am I doing wrong in this loop? And, how…
Homework Help: Java/Android Chat Client
Programming
Mobile Development
13 Years Ago
by salsashark
… private Socket _socket; private
EditText
_editText; private
EditText
_textArea; private Button _button; ….layout.main); _editText = (
EditText
)findViewById(R.id.
editText
); _textArea = (
EditText
)findViewById(R.id.editText1); _button…
I get a nullpointerexception error but I don't know why
Programming
Software Development
11 Years Ago
by bobrown101
… t; public TextView s; public TextView state; public
EditText
edittext
; public String number; public String notif; public String….button4); buttonOff = (Button)findViewById(R.id.button5);
edittext
= (
EditText
)findViewById(R.id.editText1); buttonStart.setOnClickListener(startListener); // Register…
Android Navigation Drawer
Programming
Mobile Development
10 Years Ago
by haze man
…updateLitres(int value) {
EditText
editLitres = (
EditText
)findViewById(R.id.edit1); //
EditText
myEditText2 = (
EditText
)findViewById(R.id.edit2… } public void updateCost(double value) {
EditText
editCost = (
EditText
)findViewById(R.id.edit2); editCost.setText(String.…
Re: I get a nullpointerexception error but I don't know why
Programming
Software Development
11 Years Ago
by bobrown101
…t; public static TextView s; public TextView state; public
EditText
edittext
; public static String number = ""; public …id.button4); buttonOff = (Button)findViewById(R.id.button5);
edittext
= (
EditText
)findViewById(R.id.editText1); buttonStart.setOnClickListener(startListener); // Register …
.NETframework
Programming
Software Development
19 Years Ago
by Dulaithol
… Sans Serif", 0, 0, 0x0 BEGIN
EDITTEXT
IDC_VI,43,7,64,14,ES_AUTOHSCROLL
EDITTEXT
IDC_ANGLE,144,7,65,14 LTEXT "…;,IDC_STATIC,113,23,14,8
EDITTEXT
IDC_TIME,144,35,65,14
EDITTEXT
IDC_VXI,144,21,65,14
EDITTEXT
IDC_LENGTH,144,49,65,14…
Dialog Box not reading data
Programming
Software Development
13 Years Ago
by alle
… 36, 18, ES_AUTOHSCROLL
EDITTEXT
IDC_EDIT2, 53, 17, 88, 18, ES_AUTOHSCROLL
EDITTEXT
IDC_EDIT3, 147, 17, 57, 18, ES_AUTOHSCROLL
EDITTEXT
IDC_EDIT4, 12, 55, …", IDCANCEL, 166, 26, 50, 14
EDITTEXT
IDC_EDIT7, 14, 20, 71, 16, ES_AUTOHSCROLL
EDITTEXT
IDC_EDIT8, 95, 20, 44, 16, ES_AUTOHSCROLL…
Using achartengine for android, how would I change the X axis to a value (d
Programming
Mobile Development
10 Years Ago
by nyfan68
…; android:layout_alignParentStart="true" /> <
EditText
android:id="@+id/xValue" android:layout_width="…ViewGroup.LayoutParams; import android.widget.Button; import android.widget.
EditText
; import android.widget.LinearLayout; import android.widget.RelativeLayout; …
Help with Win32 API Menu
Programming
Software Development
16 Years Ago
by BruenorBH
… Time: ",IDC_STATIC,10,130,45,12
EDITTEXT
IDC_CURRENT_TIME,80,10,45,12, ES_AUTOHSCROLL
EDITTEXT
IDC_MEETING_TIME,80,30,45,12,ES_RIGHT | ES_AUTOHSCROLL…,80,90,45,12,ES_RIGHT | ES_AUTOHSCROLL
EDITTEXT
IDC_BREAK2,80,110,45,12,ES_RIGHT | ES_AUTOHSCROLL
EDITTEXT
IDC_LEAVE_TIME,80,130,45,12,ES_RIGHT | …
1
2
3
7
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC