Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Alias Code Sample Added

...

Code Block
languagejava
titleCode Sample for Alias
firstline1
linenumberstrue
new AsyncTask<Void, Void, Void>() { 
 @Override
      protected Void doInBackground(Void... params) {
 		// TODO Auto-generated method stub
       if (Appoxee.setDeviceAlias(str))
       {
        Utils.Debug("setDeviceAlias Success");
       }
       else
       {
        Utils.Debug("setDeviceAlias Failed");
       }
 		return null;
      }
     }.execute();

 

 

...

Note

Since Appoxee.setup() is an Asynchronous Initialisation method, any set action can be performed only after the call Appoxee.isReady()==True. Only after Appoxee.Setup() finished, the flag is set to TRUE value. It is recommended to check the flag before calling setters.

 

...