View Single Post
Old December 3rd, 2012, 04:48 PM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Dec 2012
Posts: 12
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Set text hint problem

I'm fairly new to Android development and I've just been going through the android development tutorials for help, but I'm stuck on this.

[HIGH]protected void onCreate(Bundle savedInstanceState) {

Intent intent = getIntent();
String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
EditText editText = (EditText) findViewById(;



My app includes a search bar. In the first activity the user types into it what they are looking for. What I am currently trying to do is try to change the text hint to the message string. This string contains what the user typed in the previous search bar. Any ideas?
KarneeKarnay is offline  
Reply With Quote