Author Topic: Android Extras (Micro Game Consoles/GPS/Keyboard/Audio)  (Read 54899 times)

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4143
  • On the shoulders of giants.
    • View Profile
    • My Apps
Yep, looks like the last update fixed the problem (clicking the screen in BlueStacks no longer crashes - I can't test on my OUYA at the moment, although I'm sure it'll be fine)

:)
I came. I saw. I played.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3604
    • View Profile
    • Space Fractal
its seen people is a bit upset/confuctions about version number and when im update it.

Im which im could edit the first thead when I or FiveSprite update the file. This would been much more clean when the AndroidExtas have been updated.....
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4143
  • On the shoulders of giants.
    • View Profile
    • My Apps
Yeah, confusion reigns, but to be fair to you and FiveSprites there is an awful lot of processes to jump through and you've both done a lot of work getting GLB apps to work on unsupported platforms.

I can close the thread and you could start afresh, or you can PM me info and I can add it into the first post. It would be a shame for that thread to die, as there is some valuable info in there, but a new thread could help clear up a lot of confusion.
I came. I saw. I played.

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3357
  • Integrated Brain
    • View Profile
Hey guys!!! Only a question I want buy the OUYA, but I don't follow too much the thread... For when this will be implemented into GLBasic... I preffer buy and all goes fine than make test and test, I have enough with 3 or 4 mobiles...

Thanks a lot. and thanks for this work, I think this have to be complex to done. :booze:

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3604
    • View Profile
    • Space Fractal
My game is out for Ouya for some month ago, so its fully implemented, but its does require AndroidExtras and uses its api to get GameController support as well inapp purchases.

Im not known when Gernot implemented it as a native trought (even he can uses any api im have done if he want).

Ian or FiveSprites, please change the AndroidLinks to this one:
http://www.dropbox.com/s/c1s7dxmf4r8806g/AndroidExtras_update.zip

Im wont change the link after that at all to prevent any link breaks.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4143
  • On the shoulders of giants.
    • View Profile
    • My Apps
Updated the first post with current version as per request :)

This thread has now been un-stickied.

Please continue to ask questions and report bugs here, rather than the other thread.

All updates will now be included in this (non-discussion) thread - http://www.glbasic.com/forum/index.php?topic=9644.new;topicseen#new

« Last Edit: 2013-Nov-28 by Ian Price »
I came. I saw. I played.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3604
    • View Profile
    • Space Fractal
yep, there was no reason to have two sticky threads about AndroidExtras. Fell free to post any issues here or in your own thread. Links & News is only for info and tutorials.

Im might have missing something to that? Then im will update that.

Im hope that sticky thread tell anything about it, so you dont need to leap and find various threads.

Im have a very large dropbox (im have purchased version of it), and have created a folder to that, so eventuelly shareable can been easier (im thinking to FiveSprites eventuelly could been interesed).
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline fivesprites

  • Mr. Polyvector
  • ***
  • Posts: 101
    • View Profile
    • FiveSprites
Hi Chaps,

Apologies for the absence and lack of updates - I've been crazy busy with work lately :(

Enormous thanks to Spacefractal for keeping this little project alive and for all of the additions.

I'll get an update from Alan as to what has changed and I'll make sure that's reflected in the first post.

//Andy

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3604
    • View Profile
    • Space Fractal
Please Note:

if your app crash after init, this is property a missing permission in your androidmanifest.xml.

Its can been fixed by adding this permission to it:
<uses-permission android:name="android.permission.BLUETOOTH" />

This is used for detect names for the bluetooth game/keyboard controllers. But due a bug in the GameControllers.Java, that permission is not checked and then gracefull continue running the app, but just withouth the gamecontroller support.

Im fix that in one of the next versions.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1435
    • View Profile
Great thanks Spacefractal ! I will try tomorrow ...
Thanks for the help .... I wish could get my debugging working to give logcat output but my PC doesn't like my new phone

Until tomorrow
Cheers,
Gary
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3604
    • View Profile
    • Space Fractal
Lg dosent have all sync software? It's property a driver issue and also you should enable USB debugger. It's just much easier to checkout what happens when I'm can see the log (like the permission issue).
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3604
    • View Profile
    • Space Fractal
AndroidExtras updated to v1.5.4:

- Added OnResume() and OnPause() back. Seen Works on OUYA, but not tested on other device. MultiTaskning might Works much better with newer sdk (which im rembmer they diddet Work very well).
- Fixed the BLUETOOTH permission crash if not set (which just happens keyboard based controller not supported, but OUYA is still supported without it).

Happy Christmas. See you after that.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1435
    • View Profile
Guys,

on the Virtual Keyboard ... It looks and works a treat! Great stuff, however...

When used vertically on android phone (acer liquid Z3) the Dialog buttons "Done" etc are almost hidden by the keys...I was looking for a way to make the keys vanish but didnt figure it out...Is it me or my phone thats the issue?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4143
  • On the shoulders of giants.
    • View Profile
    • My Apps
SpaceFractal - silly, and simple question - how do you access the right analogue stick on OUYA?

"GameControllers("Left", 0)" etc is left analogue

"Lpad_Left" etc is for D-Pad

The source mentions a "Rpad_Left" etc., which I assumed to be for the right stick, but this doesn't seem to work and there are no controllers with a right D-pad that I'm aware of. I'm using v1.6 of Android Extras (I think).

So am I doing something wrong or is Android Extras not set up for dual sticks?
I came. I saw. I played.

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
I'm just implementing AndroidExtras into an existing game to be submitted on the Samsung App Store. I need to make use of this function EnableBackButton(FALSE), however the app has been rejected due to a "familiar" UI experience with customers of pressing the back button and it going to a previous screen (say a menu).

Is there a way to implement a BackButtonPressed() so I can determine if it's been pressed and account for the action taken myself? I'm guessing others would need this too if they play on using 100%Indie and the Samsung Initiative.

TIA Marcus.
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.