You are here

Determining SDK Version

This topic shows how to obtain the SDK version number.

SDK version string

The Android SDK provides a Version class which contains a single public static string representing the version number.

To use the string, import the Version class

          import org.alfresco.mobile.android.api.Version 
        

Then you can use it as shown in the following example:

        Log.d(Tag, "SDK Version: "+Version.SDK);