Request information on: APK Expansion Files

Previous topic - Next topic

spacefractal

im guess the music take the whole? How much do you use of them? they are property in 320kbit? Im normally uses 128 or 96kbit for music. Howover Karma Miwa will uses 320kbit music (3 tunes + 2 small jingles), due im still have comply of size left (around 25mb), so im do not have that issue. Howover im did need to rgb 565 dither the scenes for Android, which uses much more size than they diddent do that.

Yes Android is a complicered affiar, that why they often release to Ios first.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kyo

Quote from: spacefractal on 2013-Dec-22
im guess the music take the whole? How much do you use of them? they are property in 320kbit? Im normally uses 128 or 96kbit for music. Howover Karma Miwa will uses 320kbit music (3 tunes + 2 small jingles), due im still have comply of size left (around 25mb), so im do not have that issue. Howover im did need to rgb 565 dither the scenes for Android, which uses much more size than they diddent do that.

Yes Android is a complicered affiar, that why they often release to Ios first.

No the Music it's not big, The sprites are so many!
I do not want  to renounce at quality of the game!
I wanted to make a  high level game!
I have worked 3 months at sprite editor and level editor and 4 month to the games (and I still have not finished  :'( ) ....



spacefractal

#32
you dont have plans to release it to Ios and OUYA first? For Greedy Mouse im still got 10x more sale on Ios rather than Google Play, which is hard to got noticed there. Some also complian you will get more sale on Amazon AppStore than Google Play.

You would do need to shoebox your sprites and load them from that file. Its a zip like compressed format.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kyo

Yes I want to release first on iOS!
I would like to release it for free but with ADV! but I do not know if it works on glb with the new version of iOS!

Yes I know the command setshoebox!
I have to learn how to use the commands NET!

spacefractal

#34
Im have not got a ads service to work correctly. Im looked shortly on LeadBolt, but some crappy antivirus dont want them and got 1 star reviews instead (even im was not used that other the sdk was included)..... Another issue to  deal with.

Expainsion Files would only works greatly with shoebox files (im trying to look on that one, howover the release day would been around end in jan/start feb). That due its platform compatible, and you only would need to change the pointer where the file is. That will cause easier to implement it really, without breaking compatible.

Also Glbasic 12 works nice with iOS7 with only few remaining issues, which all is fixable in xcode (like icon setup, remove the battery status on the top). Eventuelly if you want, im could mightbeen release it only my name, but if you have a Apple acoount, you should of course release that by your self.

Im uses Mountian Lion, xcode 5, and got Greedy Mouse accepted twice times im have updated it. You should have no issues, not even after february 2014, which force you to do that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kyo

So for ads there are problems! mmmmmm ..... stress ....
The only solution is to put at payment??? ..... really  stress .....

What I liked about mobile media (smartphones and tablets) was the ability to release a game for free and earn from ads ..... really really  stress  ......

I have an iTunes account as developer!  :good:

spacefractal

people still buying games, so you could still just go the Premium route or do inapp purchases. people do still buying more on Ios than on Google Play (but heard they sell very well on Amazon AppStore as well, which got the most success full on that term).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kyo

Yes you are right! But the ads it's the best way to promote the game!  =D

spacefractal

#38
I'm do not have planning integrate ads to android extras/iOS soon. I'm did have trouble with that last year with intent issues (etc glbasic coud close down on a new intent last time). So don't hope about at soon.

So better safe do premium to been safe or uses inapp purchases.

By now go after Apple Apppstore as well Ouya first (its a cool Android based console), and then Google Play when possible. Alternative you should not skips the alternative shops as well (Samsung and Amazon). So you do have some options, until the limit have been fixed.

PS. Im are currectly looking for both downloads as well supports Expansion, howover the finished version is property a release somewhere in January. Android v2.2 would not been supported at all (v2.3+ is required). As im wrote previous, except its only would do the shoebox way.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#39
Today im got external file download from own server, which is important first, before trying to get the urls from the APK Expansion Files.

A least those two commands will been added to AndroidExtras after Christmas:

Destinationfile$=DownloadExternalFile$: HTTPFileName$, AndroidFileName$, Title$, Description$
DownloadStatus$: BYREF Status$, BYREF Procent$

Howver im have in Java make sure DownloadExternalFile$ fails, if only 3g Network exists. That because its mostly larger files that need to been downloaded, here 3d is not that good to doing that. Howover people do can a possible cheat around it. But howover, that is how Ios works anyway.

Ýou do not have control over the Download Manager, which is a app included with Android (its  not possible), howover you can checks status of the current downloadt, so you eventuelly can let redownload it Again if DownloadStatus$ should "Failed".

- Also this is not secure too, so its download to the public Download folder.
- Android v2.3 and up is required for users (so set minimum api to 9 instead of 8 ). This due Download Manager does not exists in v2.2 at all, which those commands uses.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kyo

Quote from: spacefractal on 2013-Dec-23
Today im got external file download from own server, which is important first, before trying to get the urls from the APK Expansion Files.

A least those two commands will been added to AndroidExtras after Christmas:

Destinationfile$=DownloadExternalFile$: HTTPFileName$, AndroidFileName$, Title$, Description$
DownloadStatus$: BYREF Status$, BYREF Procent$

Howver im have in Java make sure DownloadExternalFile$ fails, if only 3g Network exists. That because its mostly larger files that need to been downloaded, here 3d is not that good to doing that. Howover people do can a possible cheat around it. But howover, that is how Ios works anyway.

Ýou do not have control over the Download Manager, which is a app included with Android (its  not possible), howover you can checks status of the current downloadt, so you eventuelly can let redownload it Again if DownloadStatus$ should "Failed".

- Also this is not secure too, so its download to the public Download folder.
- Android v2.3 and up is required for users (so set minimum api to 9 instead of 8 ). This due Download Manager does not exists in v2.2 at all, which those commands uses.

It's a great news!   :nw:

Ian Price

Android Extras just gets better and better :)
I came. I saw. I played.

spacefractal

#42
Later this week, im will release a v1.6 with the two above commands as well possible to checks the license from the Google server (etc you dont download file, if its unlicensed). Howover license part could been more security, but its does Works (etc its does fails correctly here, due im have not setup the sample correct on Google Play Console). Those is required before can working on the Expansion File system (which uses a similar license check, but for the url). All required is really to just change from DownloadExternalFile$ to DownloadExpansionFile$ and setshoebox to that file returned.

Howover Im have do nothing to do if file have failed download, howover you would do get a status about that if happens, so the user can send it to redownload eventuelly. You do else wise not have any control over the Download Manager, apart checking a file download status. Im guess the most seamless without breaking for much compatible is simply uses a single shoebox, but im have do no idea glbasic want to open the required "obb" file, which is just a renamed version of the uploaded file (Google does not do anything with that, except rename on a strict filename, which must not been changed). So im dont hope glbasic strict sbx to been sbx, but more try to open the file regaardless of filetype.

Im have also added OnPause() and OnResume() back (which was missing for some reasons, even they are imperfect, but seen working better with sdk 4.x), so no SUB calls to that was called. That also Means the BACK button would quit the app, which is normal on Android. Howover you can also disable that if you want by a function (etc practical you can enable it on pause/menus, but disabled in gameplay).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kyo


spacefractal

#44
im are uploading AndroidExtras v1.6 with 5 new functions. SDK-14-16_for_glbasic.zip is still uploading, but AndroidExtras_update.zip have been uploaded.

While this not adding Expansion, you can still uses this for testing from a external server. Code changes to when Expansion files supports would been pretty much small and easy. Property only one function.

Im have not tested shoebox, so im hope some of you can test how glbasic take with obb files as shoebox. Im really hope that.

Checkout the sticky Android Extras news in the glbasic forum (its a chatter free thread, and im sometimes even delete my own message to keep it clean).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/