09-26-2013 11:05 AM
Hey guys, I am currently trying to write my first native blackberry 10 app, but I have a question on how to structure the app. To clarify what I want to know, here a small overview about the important parts of my app:
2) List of entries
3) View entry
The user requires to log in before he can access  and . I am currently using  as my first page (NavigationPane) and after the user has logged in successfully, he can access  and . A firend asked, if it isn't better to use  as my first page (NavigationPane) and push  to the front, if the user isn't logged in.
Both ways feel valid, but is there a best practice how to structure the app?
Solved! Go to Solution.
09-26-2013 12:39 PM
No there is no best practice, this question has been asked many times in these forums, do a search on 'password' or 'login' if you fancy reading the discussions.
Personally I used a NavigationPane page as the initial lock screen then also used a sheet to avoid peeks while a user was within the app which also has the advantage of returning to the screen the user left from.
Depending on the complexity of your app and what exactly the password page is for will determine your best practice.
If the login is a one time only then a page is fine.
09-27-2013 05:06 AM
Thank you guys, for your answers. I'll search the forum for more information about how other users have implemented their login pages. The hints on disabling the gestures and using a sheet are great!