Discussion Forums  >  Suggestions, Ideas, Wish List

Replies: 3    Views: 68

SAJEEB
Aspiring developer
Profile
Posts: 1
Reg: Feb 17, 2014
Kathmandu
10
02/18/14 06:13 AM (11 years ago)

Preference for user

Hey Guys Can you please help me on this? Case: I have 5 screens defined. I want to create one preference option where user will select one screen out of 5 as default. The selected screen will be the default screen for that user. Anybody has any idea how I can do this? Thanks in advance.
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
02/18/14 10:33 AM (11 years ago)
Cool idea, I'd be interested in this as well. A lot of applications for this. Question would be how to track and save the users preference once exited from the app. is this for ios or android you are looking to build for or both?
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
02/18/14 03:06 PM (11 years ago)
Basically, you would have to save the preferences outside of the app. That can be locally, in the phone or tablet, or to the cloud, that is, to an Internet server. For saving the parameters locally, you would have to use some kind of files and folder API. For Android, you can have a look here: http://developer.android.com/training/basics/data-storage/files.html In case of Android, you can save internally and externally (SD card), both of which are "local" to the machine. The other solution would be to save to the cloud. In that scenario, the app would have to talk to the server and be able to receive and interpret the data back. Most likely, you would use the Screen Data URL field available at various menus. The "cloud" solution is preferable if you wanted to work both with Android and iOS, however, you would still have to code somewhat for each particular type of machine, albeit not that much.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/18/14 07:18 PM (11 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.