Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Since Appoxee SDK V2.0 you have the ability to set custom fields 

...

Each Method is called through "Appoxee.methodName()".

 

new AsyncTask<Void, Void, Void>() {

 

 @Override

...

.

...

         // TODO Auto-generated method stub

        Appoxee.setCustomField(fieldName,objField); //objField must be final.

        return null;

      }

  }.execute();


Custom Fields Getters/Setters API :

------------------------------------------------------------------------

//Universal Value Getter, List of Attributes as incoming parameter, List of Values as returning values

public static ArrayList<String> getFromAttributeList(ArrayList<String> listOfAttributes)

 

//Set Custom Field, Return TRUE on success

// aValue - Can be String containing text / number representation (Long,Int,Float,Double) / Date in the following pattern : yyyy-mm-hhThh:mm:ss

public static boolean setCustomField(String aName,Object aValue)


Sample of Usage : 

new AsyncTask<Void, Void, Void>() {

 @Override

        protected Void doInBackground(Void... params) {

         // TODO Auto-generated method stub

        Appoxee.setCustomField(fieldName,objField); //objField must be final.

        return null;

      }

  }.execute();