What is getString for?

Put your problem here if it does not fit any of the other categories.

What is getString for?

Postby patrick91 » Thu Jul 02, 2009 9:03 am

Hi, i found this line in the android examples:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. String tickerText = getString(R.string.imcoming_message_ticker_text, message);
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


but I don't know what is getString for? What does it do?

Thanks :D
patrick91
Freshman
Freshman
 
Posts: 5
Joined: Thu Jul 02, 2009 8:58 am

Top

Postby rakesh_mehta » Fri Jul 03, 2009 11:26 am

Hi patrick91,

getString just works like property file.. It wil take string from the file ....
Rakesh
User avatar
rakesh_mehta
Experienced Developer
Experienced Developer
 
Posts: 73
Joined: Tue Oct 14, 2008 6:46 am
Location: Ahmedabad(India)

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 36 guests