Hi !
can you I get your help on the following:
I want to add a login page to ODK- Collect so that, when the application is
opened it will first display the login page. If you have an idea on this pls
share me.
thanks!
hi abdulkadir,
what is the higher level goal you are trying to accomplish?
identification? authentication? branding?
yaw
···
On Fri, May 20, 2011 at 05:05, Abdulkadir Getahun wrote: > Hi ! > can you I get your help on the following: > I want to add a login page to ODK- Collect so that, when the application is > opened it will first display the login page. If you have an idea on this pls > share me. > thanks! > > > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >hello dear,
first thank you for your reply
It is just to authorize the users of the application.
···
On Fri, May 20, 2011 at 4:34 PM, Yaw Anokwa wrote:hi abdulkadir,
what is the higher level goal you are trying to accomplish?
identification? authentication? branding?yaw
On Fri, May 20, 2011 at 05:05, Abdulkadir Getahun alkadirg@gmail.com wrote:
Hi !
can you I get your help on the following:
I want to add a login page to ODK- Collect so that, when the application
is
opened it will first display the login page. If you have an idea on this
pls
share me.
thanks!--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en
you'll have to make code changes in collect.
add a login screen activity that verifies user/pass against collect's
shared preferences (where you'll set user/pass on first run). then
launch that before the main main activity. make sure you handle the
edge cases (rotations, screen offs, back button, etc) or your app
won't be very secure.
if you are looking for code samples, i think commcare-odk
(https://bitbucket.org/ctsims/commcare-odk/) has a login page that
auths against a server.