Results 1 to 6 of 6

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Really Really Basic Application App Help

  1. #1
    What's Jailbreak? glendoor's Avatar
    Join Date
    Aug 2008
    Location
    Flo Rida
    Posts
    16
    Thanks
    1
    Thanked 1 Time in 1 Post
    Default Really Really Basic Application App Help
    Hi so I was wondering if anyone could help me with an application. Basically all I want it to do is have an icon and when they open it up they get rickrolld. It should be really basic right? Could someone please tell me how to make this. I have absolutely no experience in coding. Thanks,
    Glendoor

  2. #2
    What is rickrolld??

  3. #3
    What's Jailbreak? glendoor's Avatar
    Join Date
    Aug 2008
    Location
    Flo Rida
    Posts
    16
    Thanks
    1
    Thanked 1 Time in 1 Post
    It's when someone does something like open an application and expect it to be something but instead it plays Rick Astley's Never Gunna Give You Up music video. I can't believe you haven't hear of it. Any help?

  4. #4
    Green Apple
    Join Date
    Jun 2008
    Location
    Depends on the day
    Posts
    56
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Just make the first thing to run is a command to play the video. But with a vista you wont be able to do much. My recomendation is to lose the Vista and buy a mac.

  5. #5
    What's Jailbreak? glendoor's Avatar
    Join Date
    Aug 2008
    Location
    Flo Rida
    Posts
    16
    Thanks
    1
    Thanked 1 Time in 1 Post
    I hate macs but my roommate has one so I can use his. Could you please add more detail like what to add and what program? Thanks

  6. #6
    Green Apple
    Join Date
    Jun 2008
    Location
    Depends on the day
    Posts
    56
    Thanks
    3
    Thanked 3 Times in 3 Posts

    (This is straight off Apple's Developer web site) Listing 6: Initiating video playback

    -(void)playMovieAtURLNSURL*)theURL

    {
    MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL];
    theMovie.scalingMode=MPMovieScalingModeAspectFill;
    theMovie.userCanShowTransportControls=NO;

    // Register for the playback finished notification.

    [[NSNotificationCenter defaultCenter] addObserver:self
    selector:@selector(myMovieFinishedCallback
    name:MPMoviePlayerPlaybackDidFinishNotification
    object:theMovie];

    // Movie playback is asynchronous, so this method returns immediately.
    [theMovie play];
    }

    // When the movie is done,release the controller.
    -(void)myMovieFinishedCallbackNSNotification*)aNotification
    {
    MPMoviePlayerController* theMovie=[aNotification object];
    [[NSNotificationCenter defaultCenter] removeObserver:self
    name:MPMoviePlayerPlaybackDidFinishNotification
    object:theMovie];

    // Release the movie instance created in playMovieAtURL
    [theMovie release];
    }

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •