android - LoginUtils gwt-syncproxy -


i've been trying connect android app appenging, following page https://code.google.com/p/gwt-syncproxy/.

according page, should :

cookiemanager usersession = loginutils.loginappengine("https://example.appspot.com", "http://example.appspot.com/helloapp/greet", "emailaddress@gmail.com", "password"); 

when call loginutils.loginappengine suggest me different method, loginappengine(activiyy parent,cookiemanageravailablelistener listener,account account).

that can't find in project sources.

any possible solution?

first project sources available @ google code site. click on source tab @ top , click browse below that. specifically, can @ sample activity , application provided example (https://code.google.com/p/gwt-syncproxy/source/browse/trunk/spaapptest/src/com/gdevelop/gwt/syncrpc/spaapptest/mainactivity.java#146).

second, i'm not sure mean "it suggest me different method...". use in android, second method specified 1 must used in order android context. please review android wiki syncproxy , see if can clarify issue.

update: reviewed saying, , believe understand issue. method called use in java standalone library. in android, provide account (retrievable android's account manager system). way don't directly handle user's credentials, handled account system. mainactivity class shows example of utilizing library code automatically user select requested account.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

sql - Duplicate Column name error while executing mysql query? -