Toggle navigation
Toggle navigation
This project
Loading...
Sign in
youyu
/
sdk_youyu_android
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
xuguohong
2017-01-09 10:09:58 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
24f9d42509b03c465d361186455bb1e33962ee6d
24f9d425
1 parent
e46c3d32
Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
README.md
README.md
View file @
24f9d42
...
...
@@ -126,7 +126,9 @@ YouaiSDK.init(APP_ID, APP_CLIENT_KEY, WX_ID, context, "sdk_3");
YouaiSDKEventsListener
finishLoginListener
=
newYouaiSDKEventsListener
()
{
@Override
public
voidonEventDispatch
(
int
i
,
Intent
data
)
{
if
(
i
==
YouaiSDK
.
LOGIN_ACTION_CODE
){
if
(
i
==
YouaiSDK
.
INIT_SUCCESS_CODE
)
{
Log
.
i
(
"youaisdk"
,
"init success"
);
// 初始化成功后方可调用其它接口
}
else
if
(
i
==
YouaiSDK
.
LOGIN_ACTION_CODE
){
System
.
out
.
println
(
"........login ok.........."
);
String
token
=
data
.
getStringExtra
(
"token"
);
String
timestamp
=
data
.
getStringExtra
(
"timestamp"
);
...
...
Please
register
or
login
to post a comment