PDA

View Full Version : Second! (And an easy question)


arkum
06-18-2007, 09:40 PM
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

hangalot
06-25-2007, 02:40 PM
that sounds like an idea

abeall
06-25-2007, 06:35 PM
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.

hangalot
06-26-2007, 02:49 PM
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.

arkum
06-26-2007, 03:24 PM
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

mojito
06-29-2007, 03:17 PM
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.

CyanBlue
06-29-2007, 03:28 PM
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...