DBDigital / nookapps

Automatically exported from code.google.com/p/nookapps Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

Please add support for installing apps from Google Code Feeds #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I know Trook currently includes XML files for nookdevs apps. However, it 
would be helpful if Trook supported installing apps from the realtime 
Google Code feeds for Downloads (e.g. for nookapps it is 
http://code.google.com/feeds/p/nookapps/downloads/basic).  Trook will 
currently parse the feed and list available downloads, but it won't let 
you actually click on the blue "Download" link to download the apps listed.

Original issue reported on code.google.com by jmc...@gmail.com on 4 Feb 2010 at 4:30

GoogleCodeExporter commented 8 years ago
Yep, it's a good idea.

The difficulty right now is that the mime-type of the download is not provided 
in the
code feed. The simple-minded parser in trook skips over anything that's not
explicitly labelled with the "I'm an android-package" mime-type. [It relies on 
the
mime-type to know whether to download a book/music/html or package.]

Perhaps some heuristics might be needed, and might be worth the occasional
mis-labelling (maybe just look for a ".apk" suffix in addition to the 
mime-type.)
It's an excellent idea, I'll place it in the enhancement bucket and come back 
to it.

Original comment by kbsriram on 4 Feb 2010 at 4:45