iden Content Uploader


iden

http://sprintdevelopersandbox.com/developerSandbox/resources/v1/iden?{params}

A service meant to upload applications to iDen devices.

Authentication

This method requires token based authentication.

Arguments

  • key: The developer API Key, click here to view.
  • ptn: The PTN of the device you would like to send the application to.
  • appLink - Link to the application (Zip file that has Jad and Jar)
  • appSize - Exact Size of the Zip file in bytes.

Instructions

  1. Build your application (jar/jad)
  2. Zip your jar/jad files together
  3. record the size in bytes of the zip file
  4. place the zip file on your server in place where there is a public url to fetch it for example: (www.yoursite.com/some/directory/appname.zip)
  5. send request to Sprint ADP Sandbox service including:
    1. you developer key
    2. the PTN (phone number) of phone to send app to
    3. the url to the zip file
    4. the size of the zip file
  6. User will download/install app from phone using the Download Apps program found in the Java menu.

Additional Instructions

If you are utilizing this service from a website (PC or Mobile)
  1. You will need to get the users phone number
  2. Make the iDEN Content Uploader service call and pass the files into Sprint
  3. Show a message to the user on the screen (PC or Mobile) on how to download the app to their device 'To download your requested application, Please go to Menu -> Java Apps -> Download Apps -> New Purchases to download the Application'

Http Method

Post

Response

  • Message: a message detailing if the application was successfully added to the device.

Example

 
Request

Post:

    http://sprintdevelopersandbox.com/developerSandbox/resources/v1/iden?key=ABCD123XYZ&ptn=8005554679&appLink=http://144.230.114.37/adp6/upload/upload/C2s.zip&appSize=16892


Response
                    
    ASSIGNMENT_COMPLETE
    		
                    

Errors

  • INVALID_KEY: INVALID_KEY The API key sent was invalid.
  • EXPIRED_KEY The API key has expired.
  • PHONE LIST_ERROR: Service Exception on server side.