Hot to force download Flash lite file from mobile browser? Help!
Hello everyone.
I`m developing a FLite 2.0 application that needs to run on the stand alone player of the phone, not the browser.
People are supposed to access the app downloading the swf file from a mobile browser accessing for example: [url]www.mydomain.com/mobile[/url]
where there will be a link to the swf file.
the thing is, when I click the link to download the swf file, the file opens in the browser (this is, on the mobile device browser), contrary to my need, and that is to download the file to the users phone memory.
I have been looking for a solution and I know it has something to do with the MIME types, right?
Do you know any solution to this?
Any help would be greatly appreciated.
PS. It has to work on S40 devices too, like the 5200, 5300, 5310, so JARPA or JANUS or Kuneri or any of those are not an option. They are all S60 solutions.
Thanks!!
Re: Hot to force download Flash lite file from mobile browser? Help!
hi elintenso,
I m also designing application that requires such thing.
If u have found any solution then plz let me know.
Thanks
Sanat
Re: Hot to force download Flash lite file from mobile browser? Help!
Package it in a *.sisx file for Symbian devices, and have it then installed locally.
That'll do it for S60 based models.
Harder to package it in a *.jar and make it work that way and also with S40. You might have to actually install a MIDlet first, which then goes and gets the *.swf file off the web and saves it somewhere using JSR-75 APIs.
Re: Hot to force download Flash lite file from mobile browser? Help!
Hi
I'm also looking for the same, plz let me know if you people found any solutions, if in case i find i will post.
tnx
Viswa
Re: Hot to force download Flash lite file from mobile browser? Help!
dear petrib,
can u plz elaborate how to package swf in *.sisx file for symbian devices.I m desiging app for both s60 and s40.
Also plz explain that after instaling midlet how it goes and gets the swf file off the web and saves somewhere.
Re: Hot to force download Flash lite file from mobile browser? Help!
[QUOTE=sanatkumarmeher1234;465616]
can u plz elaborate how to package swf in *.sisx file for symbian devices.[/QUOTE]
One way to do it is [URL="http://www.orison.biz/products/swf2go/"]swf2go[/URL]. Find related discussion from [URL="http://developer.symbian.com/forum/thread.jspa?threadID=22162&tstart=0"]here[/URL].
Re: Hot to force download Flash lite file from mobile browser? Help!
Hi elintenso,
I was about to tell you to use the Content-disposition header, but I was not able to make it properly work on S60 browser...
Anyway, something like this (in PHP) should (theoretically) work, but does not :)
[code]
<?
header("Content-disposition: attachment; filename=test.swf");
readfile('Test.swf');
?>
[/code]
Pit
Re: Hot to force download Flash lite file from mobile browser? Help!
Almost correct :-)
[url]http://www.zubrag.com/scripts/download.php[/url]
Mark