RE: [android-developers] one time Registration after installation of an application??

2012-03-26 Thread Muhammad UMER
); finish(); } Thanks and regards, umer From: treking...@gmail.com Date: Thu, 22 Mar 2012 15:31:17 -0500 Subject: Re: [android-developers] one time Registration after installation of an application?? To: android-developers@googlegroups.com On Thu, Mar 22, 2012 at 3:07 PM, Muhammad

Re: [android-developers] one time Registration after installation of an application??

2012-03-26 Thread TreKing
On Mon, Mar 26, 2012 at 2:11 PM, Muhammad UMER muhammad.ume...@hotmail.comwrote: I m using this in onCreate method, but it show me error Force to close every time when the activity start, but if i use it at the end of onCreate it executed but also show force to close. what's the resone, You

RE: [android-developers] one time Registration after installation of an application??

2012-03-26 Thread Muhammad UMER
. what's the problem with this. Thanks and Regards, umer From: treking...@gmail.com Date: Mon, 26 Mar 2012 14:44:17 -0500 Subject: Re: [android-developers] one time Registration after installation of an application To: android-developers@googlegroups.com On Mon, Mar 26, 2012 at 2:11 PM, Muhammad

Re: [android-developers] one time Registration after installation of an application??

2012-03-26 Thread TreKing
On Mon, Mar 26, 2012 at 3:12 PM, Muhammad UMER muhammad.ume...@hotmail.comwrote: I resolved the problem of sharedPrefrences, it work's perfect on amulator but when i install it to my device mobile, then i enter the name and phone no. and close the app and then re open it, it show me The

RE: [android-developers] one time Registration after installation of an application??

2012-03-22 Thread Muhammad UMER
. Thanks and Regards, umer From: treking...@gmail.com Date: Wed, 21 Mar 2012 12:37:23 -0500 Subject: Re: [android-developers] one time Registration after installation of an application?? To: android-developers@googlegroups.com On Wed, Mar 21, 2012 at 12:34 PM, muhammad.ume...@hotmail.com

Re: [android-developers] one time Registration after installation of an application??

2012-03-22 Thread TreKing
On Thu, Mar 22, 2012 at 2:58 AM, Muhammad UMER muhammad.ume...@hotmail.comwrote: 1) Can it remove data when the cell is close mean shut down? No, Preferences are saved across sessions. They are removed if the app is uninstalled, along with the rest of the app data. in my case i don't want

RE: [android-developers] one time Registration after installation of an application??

2012-03-22 Thread Muhammad UMER
Subject: Re: [android-developers] one time Registration after installation of an application?? To: android-developers@googlegroups.com On Thu, Mar 22, 2012 at 2:58 AM, Muhammad UMER muhammad.ume...@hotmail.com wrote: 1) Can it remove data when the cell is close mean shut down? No, Preferences

Re: [android-developers] one time Registration after installation of an application??

2012-03-22 Thread TreKing
On Thu, Mar 22, 2012 at 3:07 PM, Muhammad UMER muhammad.ume...@hotmail.comwrote: My registration activity show only one time, how can i hide this activity after when the user registered to the application mean this activity will not show to user. Save a preference to indicate whether to show

Re: [android-developers] one time Registration after installation of an application??

2012-03-21 Thread TreKing
On Wed, Mar 21, 2012 at 12:34 PM, muhammad.ume...@hotmail.com muhammad.ume...@hotmail.com wrote: I want to register the user only one time when he use after installation and save it's name locally on mobile. how can i do this? Check SharedPreferences.