Results 1 to 2 of 2
  1.    #1  
    How do you save an image onto a device through the SDK?

    Doesn't have to be a documented API, because my app won't be submitted to the catalog for a while...

    I think the download manager might work, but I will have to look into it.
    Last edited by TIWizard; 09/10/2009 at 11:20 PM.
    Sprint Palm Pre - WebOS 2.1 > Sprint HTC Arrive
  2.    #2  
    Ok, so the download manager is sort-of working...

    Code:
    this.controller.serviceRequest('palm://com.palm.downloadmanager/', {
    				method: "download",
    				onSuccess: function(event){
    					Mojo.Error.errorDialog("DONE!");
    				},
    				onFailure: this.fail("Failed to download"),
    				parameters: {"target": "http://forums.precentral.net/images/precentral/precentral-logo.png",
    					     "targetDir": "/media/internal/WizardApps",
    					     "targetFilename": "logo.png",
    					     "keepFilenameOnRedirect": false}});
    Basically, it should download the PreCentral logo and put it into the WizardApps folder, but I don't know if I have the parameters right... Can anyone help?
    Sprint Palm Pre - WebOS 2.1 > Sprint HTC Arrive

Posting Permissions