XtifySDK.getXidKey() returns null -


i'm following instructions getting started section xtify notifications doing following:

context myappcontext = getapplicationcontext();  xtifysdk.start(myappcontext , myapp.xtify_app_key, myapp.sender_id); string xid = xtifysdk.getxidkey(myappcontext);  if(!"".equals(xid) && xid != null) { ... } 

and realised when register first time, returned xid, if uninstall , deploy again using eclipse returns null in xtifysdk.getxidkey() instruction.

the app target build using google apis 4.0 (level 14).

i'd thank , appreciate in guys.

perhaps you're asking quickly. better place request xid in onregistered callback method within xtifynotifier class.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -