Am 28.08.2009 um 13:42 schrieb Sasi Kumar:
>
> public static String username;
>
>
> s2.java
>
> private String df;
>
> df=s1.username;
Bad idea. So you have to hardcode the username because it's static and
you can't change it at runtime
Use intents for this
>
> thats all!.
>
> On Aug
public static String username;
s2.java
private String df;
df=s1.username;
thats all!.
On Aug 28, 2:22 pm, ragavendran s wrote:
> Hi ,
>
> I am new to Android development.I want to transfer transfer my
> String(username) to another page.
> i m having some problems on it...s
HI
go throught this link
http://developer.android.com/guide/appendix/faq/commontasks.html#opennewscreen
it vl be hwlpful for u
2009/8/28 Lutz Schönemann
>
> You also can put your string into the intents data bundle object if
> you are using intents to start your next "page":
>
>
> Intent inte
You also can put your string into the intents data bundle object if
you are using intents to start your next "page":
Intent intent = new Intent("YourAction");
intent.setExtras("Username", username);
startActivity(intent);
Am 28.08.2009 um 12:05 schrieb Panut Sunyakorn:
>
> You can use Sh
> I am new to Android development.I want to transfer transfer my
> String(username) to another page.
If by "another page" you mean "another activity", use Intent#putExtra() to
store the String in your Intent that you use to start the second activity,
and use Intent#getStringIntent() in
You can use SharedPreferences or set static variable for solve this problem.
2009/8/28 ragavendran s :
>
> Hi ,
>
> I am new to Android development.I want to transfer transfer my
> String(username) to another page.
> i m having some problems on it...so wil u please tel me the answer
6 matches
Mail list logo