Welcome to iPadForums.net Guest - Click Here to Register

Apps Close

This is a discussion on Apps Close within the iPad Apps forums, part of the iPad App Store category; Hi, I am developing a ipad apps.All are working fine but when i played a video the apps getting closed. Please help me. Thank u....

Register with iPad Forums
+ Reply to Thread
Results 1 to 4 of 4

Thread: Apps Close

  1. #1
    iPF Noob
    Member #
    103266
    Join Date
    Sep 2011
    Location
    Chennai
    Posts
    2

    Thumbs down Apps Close

    Hi,

    I am developing a ipad apps.All are working fine but when i played a video the apps getting closed. Please help me. Thank u.

  2. Ads


  3. #2
    iPF Super Guru
    Member #
    40746
    Liked
    93 times
    Join Date
    Mar 2011
    Location
    NW Left Coast
    Posts
    3,504
    Welcome to the forum! There are a lot of great people here willing to lend a hand anytime. Often using the Advanced Search box (at the top of every page) will lead you to the answers you're looking for. If not, feel free to post a question in the appropriate area.


    Please take a moment to view the information linked below my signature to get the most out of your iPad as well as our forum.

    With respect to your question, generally video supersedes anything else the iPad is doing. However any open apps should go into a wait state. When you close the video, tap the home button twice and the apps should be there. Tap on any one of them to reactivate it...it should reopen in the same state it was in prior to playing the video (or running another app). Is that not the case? If not, perhaps some others will chime in.

    Welcome again and enjoy!

  4. #3
    Supporting Vendor
    Member #
    103945
    Join Date
    Sep 2011
    Posts
    54
    k2b, what are you using to play the video? MPMoviePlayerController?

    If the app crashes, it's probably a memory access problem. Like calling release on something that has been released before.

    Anyway, if you post that part of the code here, maybe I can give you more help!

  5. #4
    iPF Noob
    Member #
    103266
    Join Date
    Sep 2011
    Location
    Chennai
    Posts
    2

    Apps Close

    Thank you bro.
    Here is my code.
    var movieHtml='';
    var movieDiv = document.getElementById('video_div');
    var movie_src='';var movie_time='';
    switch(nid){
    case 'div_point1':
    movieHtml = '<video width="1024" height="576" style=" opacity:10; background:#fff;" id="movie_mp4"></video>';
    movie_src='hantel.mp4';
    movie_time=22000;
    break;
    case 'div_point2':
    movieHtml = '<video width="1024" height="576" style=" opacity:10; background:#fff;" id="movie_mp4"></video>';
    movie_src='scribble.mp4';
    movie_time=18000;
    break;
    case 'div_point3':
    movieHtml = '<video width="1024" height="576" style=" opacity:10; background:#fff;" id="movie_mp4"></video>';
    movie_src='race.mp4';
    movie_time=28000;
    break;
    case 'div_point4':
    movieHtml = '<video width="1024" height="576" style=" opacity:10; background:#fff;" id="movie_mp4"></video>';
    movie_src='foto.mp4';
    movie_time=31000;
    break;
    case 'div_point5':
    movieHtml = '<video width="1024" height="576" style=" opacity:10; background:#fff;" id="movie_mp4"></video>';
    movie_src='rugby.mp4';
    movie_time=26000;
    break;
    case 'div_point6':
    movieHtml = '<video width="1024" height="576" style=" opacity:10; background:#fff;" id="movie_mp4"></video>';
    movie_src='platte.mp4';
    movie_time=23000;
    break;

    }
    movieDiv.innerHTML = movieHtml;
    var movie = document.getElementById('movie_mp4');
    movie.src = 'f20_lines_mp4/'+movie_src;
    movie.load();
    movie.play();

    After Played video i called this

    movieDiv.innerHTML='';
    movie.src = '';
    movie.load();
    delete movie;


Advertisements

Posting Permissions

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

Similar Threads

  1. How do you close your apps?
    By SweetPoison in forum iPad General Discussions
    Replies: 38
    Last Post: 09-19-2012, 04:44 PM
  2. Apps close by itself, need help, must...stop...this
    By sololist_ipad in forum iPad Help
    Replies: 2
    Last Post: 09-26-2011, 07:23 AM
  3. Reboot does not close apps?
    By NYHorsewoman in forum iPad 2 Forum
    Replies: 16
    Last Post: 08-21-2011, 01:04 AM
  4. Can't close apps
    By felixapproach in forum iPad Help
    Replies: 4
    Last Post: 07-09-2011, 02:45 AM
  5. How to close apps running in the Background
    By Al Rogers in forum iPad General Discussions
    Replies: 15
    Last Post: 02-19-2011, 10:55 PM

Search tags for this page

apps close by themselves
,
apps close themselves
,
apps closing by themseleves on ipad
,
close ipad apps background
,
how often should i close apps on ipad?
,
ipad apps are closing by themselves
,

ipad apps close by themselves

,
ipad apps close themselves
,
programs closing by themselves ipad
Click on a term to search for related topics.

Tags for this Thread