Results 1 to 2 of 2
  1.    #1  
    Hi,
    I am trying to launch Youtube app from my app that I am working on.
    I use Application services to launch it, but still can't figure how.

    I always get this error message:
    {LunaSysMgrJS} com.palm.app.youtube: Error: Youtube: did not create History table: table History already exists, file:///usr/palm/applications/com.palm.app.youtube/index.html:0

    this is how I did:

    Code:
    this.controller.serviceRequest('palm://com.palm.applicationManager', {
        method:'launch',
        parameters: {
    		id: 'com.palm.app.youtube', 
    		target: videoId}
    	});
    where the "videoId" above is the YouTube video Id, such as "SW3n_F1tZMk".
    I also tried a whole Url, "http...youtube.com/watch?v=SW3n_F1tZMk". (I actually used the real URL that this forum doesn't allow me to post) but failed.

    By the way, I am using an emulator, cuz I don't own a Pre yet!
    I know I can't play the actual video on emulator, but I can't make it that far yet!

    Thanks!!!
    Tomomi
  2.    #2  
    You know what, I decided to use a youtube link with a plain old <a>.
    It still launches YouTube app to play video!

Posting Permissions