FORUMS

Do You Rock Two Phones?

A few people in the comments were surprised to find out that a number of the XDA staff actually use two phones … more

Brand Loyalty: OEMs Giveth and Then Taketh Away

The majority of users here at XDA will feel fierce brand loyalty for a company, whether … more

T-Mo OTA to Lock Bootloaders? No, Don’t Panic Yet

You might have recently heard that an XDA user got hands on a T-Mobile update … more

128Gb Zenfone 2 Coming! LG G4 Unveiled – XDA TV

The LG G4 has been unveiled. That and much more news is covered by Jordan when he … more
Post Reply Subscribe to Thread Email Thread

[APP] AlternativeOuyaStore

31st July 2013, 01:47 AM |#1  
professorpoptart's Avatar
OP Senior Member
Thanks Meter: 108
 
More
This app is currently in an alpha release, the AlternateOuyaStore app. This will basically do the same thing that the windows version does, except this one you can run right on the Ouya itself. Like I said this is fairly early, it doesn't look nice, but it does give you a list of all the games with game images (just like the windows one) and you can download the game apks. The download shows up in the notification area and you install it just like side loading any other app, except these ones are recognized by official Ouya Store! I tested and basically developed this thing on cm10 and it seems stable there. Had issues running it on my old HTC one x though...

So if you run into any issues please post below so they can make it into the next commit!


Usage:
1) Tap/click the "Get List" button. (this will load the list)
2) Select a game from the list. (this will put the game title in the textbox next to the download button)
3) Tap/click the "Download" button. (this will start the download for the apk file) Due to the game changing as you thumb-stick through the games though I find it easiest to just use the touch pad to tap download. Annoying... so this is on my list.
4) Either tap the completed apk download in your notification or go to you default download location and tap the apk file.
5) Play the game! You can also play through the official Ouya Store Play menu( as the biggest issue was getting the Discover area to load on CM10)

For now the download is basically done by sending the download url as an intent, which then launches whatever you have as your default browser. This saves me from having to have extra permission like saving to storage and progress bars and a whole mess of stuff that I will get to later but don't want to worry about right now.

To Do list:
- Better GUI
- Sort list functions
- Generalize functions to reduce coupling with the main activity.
- Add internal download and install functionality

I'm releasing this under the GNU GPL so have at'er!

Github-
https://github.com/ProfessorPopTart/...yaStoreProject
(This is my first android app so go easy on the code sloppiness! lol)

For the non-coders that just want to try it out, the install apk can also be found in the AlternateOuyaStore folder in the link above.

Irc FreeNode #ouya-dev
Last edited by professorpoptart; 31st July 2013 at 01:50 AM.
The Following 12 Users Say Thank You to professorpoptart For This Useful Post: [ View ]
 
 
31st July 2013, 02:35 AM |#2  
wyllem's Avatar
Member
Thanks Meter: 7
 
More
Sounds Kool will give a try
31st July 2013, 10:06 AM |#3  
Asadullah's Avatar
Senior Member
Flag casselberry
Thanks Meter: 301
 
More
you know what really sucks is that I saw this at 5oclock this morning an hour before I gotta go to work. I WANNA PLAY
1st August 2013, 02:58 AM |#4  
Senior Member
Thanks Meter: 13
 
More
Just downloaded, Checking this out now! The Ouya store needed this type of sorting VERY badly! thanks for the efforts
4th August 2013, 12:30 AM |#5  
Asadullah's Avatar
Senior Member
Flag casselberry
Thanks Meter: 301
 
More
I'll try again later tonight but I was having issues downloading apps with this? So I got an issue the source is built with the odk I feel like an a$$ for saying this. But I ain't touching the odk with a ten foot stick for a couple months. Honestly I've done a bit of theming, hacking and phone flashing but all of that was either hacking apks, building them from android source or with the android sdk. Right now I'm learning how to straight up code android and don't want to mess up my machine with the odk (some old school themers know what I'm talking about).
11th September 2013, 10:42 AM |#6  
Asadullah's Avatar
Senior Member
Flag casselberry
Thanks Meter: 301
 
More
So about a half an hour ago I set this up on eclipse and got it up and running made a few changes so far. I haven't tested on my ouya yet but ran it on my phone (htc evo 4g lte) to make sure that the array list would work. It does but it doesn't download. I changed the screenorientation in the manifest because on screen orientation it resets. It's a temp fix that does work but later we'll have to do something about handling runtime changes a little bit better.


On a side note I made a webview that goes to the ouya update site. Eventually I want it to go to the site download the text as a string checks it against our build.prop and if different then it downoads the url (update zip) to your device to install. I can't give a time frame right now on how fast this will take right now I'm working six days a week 10 hrs a day at universal building project 722. But this stuff isn't on the shelf.
3rd August 2014, 05:10 PM |#7  
Asadullah's Avatar
Senior Member
Flag casselberry
Thanks Meter: 301
 
More
Expect a new release around 9pm eastern.
The Following User Says Thank You to Asadullah For This Useful Post: [ View ]
4th August 2014, 01:47 AM |#8  
Asadullah's Avatar
Senior Member
Flag casselberry
Thanks Meter: 301
 
More
Here we go
update 1
added a sort function so that the list is alphabetical
changed name to simply "the store"
added icon to appear in ouya launcher ( I hope it works)
no more clicking buttons to download list it starts automatically
added a counter in top of screen that displays the number of apps available
when you click the list it automatically downloads the app
think thats it

problems
the only problem I have is that it doesn't display the icons a custom adapter is required for that.
Ui needs some more work but it takes time

source code here https://github.com/asadullahibnrob/AlternateOuyaStore
Attached Files
File Type: apk ouyaz.apk - [Click for QR Code] (542.2 KB, 86 views)
The Following User Says Thank You to Asadullah For This Useful Post: [ View ]
11th August 2014, 09:17 PM |#9  
Asadullah's Avatar
Senior Member
Flag casselberry
Thanks Meter: 301
 
More
Alright this update is a little back and forth.
I removed the counter and lost the the ability to sort the apps (temporarily).
But gained a nice big picture but need to add a cache to get to run smooth.
Not really excited LOL.
Source code here https://github.com/asadullahibnrob/theStore. Any questions comments or complaints let me have em.
Last edited by Asadullah; 12th August 2014 at 02:57 AM.
The Following 2 Users Say Thank You to Asadullah For This Useful Post: [ View ]
16th August 2014, 12:45 AM |#10  
Junior Member
Thanks Meter: 2
 
More
Hey guys,

I have tried both apps. I appreciate the effort you are putting to this. Both application are in very early development, but in the right track!

A note to both apps
When you click a paid app (with no free trial) i.e. Towerfall, the app crashes. I believe this is because when you request the data for that app, it won't return a download URL as expected, and i assume you guys are not validating this .
I recommend that you mark which apps aren't free for download, and either do nothing when clicked or redirect to app's official entry on the original app store.

Keep up the good work
Post Reply Subscribe to Thread
Previous Thread Next Thread