Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > AIR (Apollo)

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-18-2007, 09:40 PM   #1
arkum
Senior Member
 
Join Date: Nov 2005
Posts: 314
Default Second! (And an easy question)

Hi,

A very general question expecting a general answer...

If for example your Apollo app consisted of a simple FLV player. If you wanted to push one new flv a week to everyone with that player, how would this be done? Does the app check a url every time it senses an internet connection and check an xml file to see if it needs to download aything(or something similar)?

Thanks
arkum is offline   Reply With Quote
Old 06-25-2007, 02:40 PM   #2
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

that sounds like an idea
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 06-25-2007, 06:35 PM   #3
abeall
Senior Member
 
Join Date: Feb 2006
Posts: 819
Default

Quote:
Originally Posted by arkum View Post
Hi,

A very general question expecting a general answer...

If for example your Apollo app consisted of a simple FLV player. If you wanted to push one new flv a week to everyone with that player, how would this be done? Does the app check a url every time it senses an internet connection and check an xml file to see if it needs to download aything(or something similar)?

Thanks
I'm not sure what's built in, there is some sort of versioning to allow auto(prompted) updates of your apps, but you probably wouldn't want to use that. The app has internet connectivity so you would simply poll your servers every week for new content.
abeall is offline   Reply With Quote
Old 06-26-2007, 02:49 PM   #4
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

yeah the appollo app itself can update, but what he is after is just a normal http request sending a file id and asking if its the latest one.
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 06-26-2007, 03:24 PM   #5
arkum
Senior Member
 
Join Date: Nov 2005
Posts: 314
Default

Hi,

I'm really just trying to get an overview of how the above example might work. So asuming the App has checked a file on a server and the file has told it that there is a new flv clip to download, does it then complete the download silently. If the download is interupted by a loss of conectivity midway through, can it then pick up from where it left off or is it back to square one?

I can't find any documentation about this end of things which is the part that I'm most interested in.

Thanks
arkum is offline   Reply With Quote
Old 06-29-2007, 03:17 PM   #6
mojito
Senior Member
 
mojito's Avatar
 
Join Date: Jun 2001
Location: London
Posts: 420
Default

well its really up to you, the key is to not think that it works any differently from browser based flash. Its up to you how you check, you could do an onEnterFrame and hang your machine possibly ?? lol ohhhh worms trojans viruses im a little scared.
__________________
Style Review
mojito is offline   Reply With Quote
Old 06-29-2007, 03:28 PM   #7
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

Last time I heard, you've got to build your own routine to check the updates, but there is a possiblitiy that it can be a built-in procedure as a part of the AIR platform... I guess that means an additional class or something similar to that aspect... But that's only something they are tinkering with as far as I have heard...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.