Would you like to contribute to the Titanium docs? To get started, sign up for an account on the Appcelerator Wiki and sign our CLA.

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed link


Alternatively, you can use the generic APSCloud.sendRequest() method to make REST calls directly against the Cloud APIs. For more information, see Making Generic REST API Calls.


All Cloud API calls must be made on the UI (main) thread, and callbacks are executed on the UI thread.


  • REST API method endpoint relative to "api.cloud.appcelerator.com/v1". Method endpoints are listed in the corresponding entries in the REST API documentation.
  • The HTTP method to use.
  • Data to send with the request.


Android Project Requirements for using APSCloud Push


  1. In Eclipse, select File > Import > General > Existing Projects into Workspace and click Browse.
  2. Navigate to the appcelerator-sdk-android-<VERSION>/examples/APSCloudPushExample folder and click Open.
  3. Click Finish to import the project.
  4. Add the Google Play services to your project (see Android Project Requirements for instructions).
  5. In MainActivity.java, locate the following line and replace << YOUR APP KEY >> with the application key generated by Dashboard (see instructions):

    Table Cell (td)
    Code Block
    String appKey = "<< YOUR APP KEY >>";
  6. Run the application in an Android device or emulator.