java - Initiliazing ParseLoginUI? -


where 1 place code launch parseloginui activity?

parseloginbuilder builder = new parseloginbuilder(mainactivity.this); startactivityforresult(builder.build(), 0); 

is in parselogindispatchactivity? not made clear @ within of official documentation:

https://github.com/parseplatform/parseui-android

https://www.parse.com/docs/android/guide#user-interface

i'm importing parseloginui existing app. once i've installed everything, updated manifests, build.gradle , want launch login activity once app launches?

do put in manifest indicate parseloginactivity should launch first? doesn't seem work activity main application required launch initial intent. i'm little lost here... thoughts?

well did find 1 solution, albeit trivial one:

intent loginintent = new intent(mainactivity.this, parseloginactivity.class); startactivity(loginintent); 

i launched above intent options menu item, button or whatever else suits needs.

if you're importing parseloginui existing app, appears can launch parseloginactivity simple intent. wish mentioned on integration tutorial. seems straightforward way running.

this solution launches activity want, doesn't check whether user logged in or not , hence doesn't redirect appropriate pages in log-in flow (which believe has more manifest). does, however, allow register user , log in parse, great start.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -