Author Topic: AGS Stream: AGS Android Market (Super Alpha Version 0.0.3) Bug Fix Edition!  (Read 1995 times)  Share 

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
http://dl.dropbox.com/u/63498272/AGSStream.apk

OK, so I have started a new project for AGS. This is a marketplace for AGS on Android. Packaging Games into the AGS APK is a hassle if not impossible. So I started this project this way it can be a place for those interested in AGS to download games automatically. Also, since many have had trouble in knowing where to extract the game files (including myself), I have made this utility as a way to download the game for you and put the files where they need to be. All you have to do is run AGS and choose the game you want to play.

Now, keep in mind, this is a super Alpha version of the market( Hence version 0.0.1) and was only done in 20 minutes. In the next couple of weeks I will be prettying it up and adding more games to the list. Right now it only has Space Quest -1. Test it out.

Here is a roadmap of what I plan to have done:

Features of Version 0.1.0 (Will be released in the next two weeks:
*Scroll through a list of games to choose from
*Ability to download the latest version of AGS for Android and install it.
*Featured Games page.
*Ability to download and install games automatically.
*Ability to run AGS from within the app.
*The Game page features a description, images, creators, team, etc.. and other features for each game.
*Has the ability to tell you if a game has already been downloaded from the market.

Roadmap (Not Guaranteed):
Version 0.1.1 will have:
*A hopefully nicer UI
*The ability to rate games and add comments.
*Sort by Genre feature - Hopefully.

Version 0.1.2:
*Ability to uninstall a game.
*Ability to search for a game.

Future:
*Stability fixes
*Even Nicer UI
*Ability to sell commercial games.
*Ability for users to upload their own games to the market.
*Have more games listed in the market.

---------------------------------------------

For the time being, this app will not support commercial projects. Its too much of a hassle. However, if you have a commercial game and would like it on the Android Market for download, I will create a special package that will download AGS and the game for you and set it all up for you. I will also walk you through creating a developer account on the android market and teach you how to upload the game so that you can make cash. If you are interested in this, please PM me.

In the meantime, check out version 0.0.1 of the app and be kind in your criticism of it. We just had a baby a couple of months ago and all I could do is 20 minutes of work on it today. Enjoy. Here is the link again:

http://dl.dropbox.com/u/63498272/AGSStream.apk


---------------------------------------------

Version 0.0.2: 2/23/12
*Added the ability to automatically download and install AGS for Android.
http://dl.dropbox.com/u/63498272/AGSStream.apk

Version 0.0.3: 2/23/12
*Fixed a couple of bugs.
« Last Edit: 23 Feb 2012, 12:43 by Joseph DiPerla »
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
New Minor version already released.

Version 0.0.2: 2/23/12
*Added the ability to automatically download and install AGS for Android.
http://dl.dropbox.com/u/63498272/AGSStream.apk
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

JJS

  • AGS Project Admins
Cool stuff!

Some problems though:

- At first I had AGS already on the phone (which was detected by the app) and I downloaded Space Quest. But it showed the "Download complete" notification multiple times (3 times I think) before the download was actually finished and I could start the game. The game was then playable though.

- Then I uninstalled both AGS and AGS Stream and tried the "download AGS" option. The download started and the button immediately changed to "already installed". After some time this error occured (from logcat):
[code]02-23 09:23:54.508: I/B4A(3007): ** Activity (main) Create, isFirst = true **
02-23 09:23:54.999: I/B4A(3007): ** Activity (main) Resume **
02-23 09:24:50.083: E/B4A(3007): main_response_streamfinish (java line: 462)
02-23 09:24:50.083: E/B4A(3007): android.content.ActivityNotFoundExcepti on: No Activity found to handle Intent
 { act=android.intent.action.VIEW dat=file:///mnt/sdcard/AGS_2012-02-14_10-05-58.apk typ=application/apk flg=0x20000 }
02-23 09:24:50.083: E/B4A(3007):    at android.app.Instrumentation.checkStartA ctivityResult(Instrumentation.java:1409)
02-23 09:24:50.083: E/B4A(3007):    at android.app.Instrumentation.execStartAc tivity(Instrumentation.java:1379)
02-23 09:24:50.083: E/B4A(3007):    at android.app.Activity.startActivityForRe sult(Activity.java:2827)
02-23 09:24:50.083: E/B4A(3007):    at android.app.Activity.startActivity(Activity.java:2933)
02-23 09:24:50.083: E/B4A(3007):    at anywheresoftware.b4a.keywords.Common.St artActivity(Common.java:665)
02-23 09:24:50.083: E/B4A(3007):    at com.agsstream.diperla.main._response_st reamfinish(main.java:462)
02-23 09:24:50.083: E/B4A(3007):    at java.lang.reflect.Method.invokeNative(Native Method)
02-23 09:24:50.083: E/B4A(3007):    at java.lang.reflect.Method.invoke(Method.java:507)
02-23 09:24:50.083: E/B4A(3007):    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:113)
02-23 09:24:50.083: E/B4A(3007):    at anywheresoftware.b4a.BA$1.run(BA.java:218)
02-23 09:24:50.083: E/B4A(3007):    at android.os.Handler.handleCallback(Handler.java:587)
02-23 09:24:50.083: E/B4A(3007):    at android.os.Handler.dispatchMessage(Handler.java:92)
02-23 09:24:50.083: E/B4A(3007):    at android.os.Looper.loop(Looper.java:130)
02-23 09:24:50.083: E/B4A(3007):    at android.app.ActivityThread.main(ActivityThread.java:3835)
02-23 09:24:50.083: E/B4A(3007):    at java.lang.reflect.Method.invokeNative(Native Method)
02-23 09:24:50.083: E/B4A(3007):    at java.lang.reflect.Method.invoke(Method.java:507)
02-23 09:24:50.083: E/B4A(3007):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
02-23 09:24:50.083: E/B4A(3007):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
02-23 09:24:50.083: E/B4A(3007):    at dalvik.system.NativeStart.main(Native Method)
02-23 09:24:50.083: E/B4A(3007): android.content.ActivityNotFoundExcepti on: No Activity found to handle Intent
{ act=android.intent.action.VIEW dat=file:///mnt/sdcard/AGS_2012-02-14_10-05-58.apk typ=application/apk flg=0x20000 }
02-23 09:25:19.111: I/B4A(3007): ** Activity (main) Pause, UserClosed = false **
02-23 09:25:19.201: I/B4A(3007): ** Activity (main) Create, isFirst = false **
02-23 09:25:19.762: I/B4A(3007): ** Activity (main) Resume **
02-23 09:25:56.407: I/B4A(3007): ** Activity (main) Pause, UserClosed = true **
02-23 09:27:31.931: I/B4A(3059): ** Activity (main) Create, isFirst = true **
02-23 09:27:32.461: I/B4A(3059): ** Activity (main) Resume **
02-23 09:27:35.244: I/B4A(3059): ** Activity (main) Pause, UserClosed = true **
[/code]
Now I cannot install AGS through the app anymore because the button says it is already installed while it is acutally not.


Edit: Added linebreaks to avoid breaking the forum layout.

Edit2: Maybe I should add, HTC Desire rooted with Android 2.3.7
« Last Edit: 23 Feb 2012, 08:45 by JJS »
Ask me about AGS on PSP, Android and iOS! Source, Bug tracker, Daily builds

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
Oh my... Thats quite the Log file. I will look into it. Thanks JJS.
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
Ok Version 0.0.3 is uploaded now with the bugfixes (I hope). Try re-downloading the APK file and trying again.
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

JJS

  • AGS Project Admins
Still the same error when trying to install the APK. But I did a bit of testing and this works for me:
[code]Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/AGS_2012-02-14_10-05-58.apk")),
    "application/vnd.android.package-archive");
startActivity(intent);[/code]
It is based on information found here: http://stackoverflow.com/questions/4967669/android-install-apk-programmatically
Ask me about AGS on PSP, Android and iOS! Source, Bug tracker, Daily builds

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
I actually had that in there with one difference. Instead of:

application/vnd.android.package-archive

I had:

application/vnd.android.packagearchive

Give it a shot. I uploaded the new package. It should work this time, I hope.
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

JJS

  • AGS Project Admins
It should work this time, I hope.
It does :)

edit:
I don't know how much I should criticize, but if you cancel the installation the app still thinks it is installed till it gets restarted. Also the button doesn't change from "Downloading" to "Downloaded. Click to install" automatically, but also only on restarting the activity. Turning the phone, lets the button text change to the "Downloaded. Click to install" one too but clicking it brings up an error about an invalid APK (obviously since the download is not yet finished).
« Last Edit: 23 Feb 2012, 13:34 by JJS »
Ask me about AGS on PSP, Android and iOS! Source, Bug tracker, Daily builds

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
Haha! Now I can move on to adding some new games and features. Thanks for the input JJS.
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
Very thorough testing JJS. Let me look into it. If worse case scenario, I will just remove orientation switching.
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

WHAM

  • WHAMGAMES
    • I can help with AGS tutoring
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
  • WHAM worked on a game that was nominated for an AGS Award!
Game added, let's hope it works.
EDIT: Also: wrong thread  ;D
« Last Edit: 26 Feb 2012, 00:34 by WHAM »
Quote from: Ghost
My penis still talks to me in the dark of the night but that's okay, he always does that.

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
Awesome! Version 0.0.4 will have the new database loaded automatically from that point forward.
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...

Haggis

  • When you have to shoot, shoot, don't talk.
This is fantastical!!!
The text in Haggis' signature is quite clever and original for an adventure game forum.

Shame no iphone support. Tis all I got lumbered with. :(
BAD WOLF - TORCHWOOD - MR SAXON - THE BEES ARE DISAPPEARING - PANDORICA - RIVER SONG

DazJ

    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
Is there no way to create standalone APKs of AGS games that will perhaps combine the engine itself so people can download and just run your game like a normal app/game?


Calm Waters - A Psychological Mystery

R4L

  • You need me Rick...
    • I can help with AGS tutoring
    •  
    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with proof reading
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
 Idk if it's because I'm on ICS 4.0.3. on a tablet or if you're still updating it, but AGS works fine; this doesn't though. Maybe I'm using it wrong? It's on my home page on my tablet and clicking it just opens a black screen with a white box saying AGS Stream, and under it it says Coming Soon. Am I doing something wrong?

EDIT: also tested on my rooted LG Optimus V running Froyo and this time AGS Stream won't even install.
« Last Edit: 17 Apr 2012, 03:14 by R4L »

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with AGS tutoring
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
    • I can help with web design
    •  
DazJ: Yes, I am planning on trying to make a utility so that anyone who wants to create a commercial game and upload it to the Google play store.

R4L: Its still in Beta so that front page that loads is not complete. That is supposed to be a featured games page and I haven't really implemented too much into it. However, the true form is in the AGS tab which will install AGS if its not already there. Also, there is a games page with one game displayed which will download the necessary files. Its a space quest game. It will take a few minutes to download and install it. Then go to AGS itself and the game should appear there.
Joseph DiPerla--- http://www.adventurestockpile.com
Member in this community since before 1999.
-The oldest member without ever making a full game...