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

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3606
    • View Profile
    • Space Fractal
he should not remove NDK, because its did have some issues, if you just replace any files, so he should include that. That is only 13mb in 7z file, so its will not clutter the file very much anyway.

But more important he should exclude sdk, which is much easier to replace any files. Another thing im dont like, is the templateproj folder, which you only have one of? (annoying to replace Samsung, Ouya and Google API thing, which should been as own templateproj folder). Im more want them have as own platform or possible to change them in Project Options....
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: 3606
    • View Profile
    • Space Fractal
Its seen there is some confuction with the versions number. In the document, its was said v1.1, but in SDLActivity, its was v1.3, before im spotted the issue. Im have fixed that to say v1.1-v.1.3 in the readme file.

So now this is version v1.4 beta, not v.2 beta to avoid the confuction (can you fix that in your first thread too, FiveSprite?).

Im did some work on the lib today to fix some PS3 relative issues as well fixed a crash bug if iCade not found (so a major one). PS3 can also been auto remapped and use same layout as other two controller (except on the phycical one, digital and the analog stick is swapped, but analog stick is still used on LEFT, RIGHT codes of course).

So please, if you dont plan to use the dual controlles on those controllers, then use both analog and digital controls as movements.

PS. Same with triggers, if you dont have planes to use the double triggers. Then uses "b5" and "TriggerLeft" as same button for your game (as well "b6" and "TriggerRight"). Im thinks im add that to the document before final version.
« Last Edit: 2013-Jul-30 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Marmor

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 908
  • 96A285CC
    • View Profile
    • my youtube channel
hmm where is no  sdl_main.cpp in the additional folder from Androidextras1.2 .

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3606
    • View Profile
    • Space Fractal
Opps im have forget to include that, but thatfile has been updated since version 1.0, so just use that from the ealier version, until I'm do include that later today.

PS. to avoid version confuction v1.2 (latest version was 1.3, not 1.1, before im updated it) is actuelly v1.4 now  with the gamecontroller support and im have just fixed that now.
« Last Edit: 2013-Aug-04 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2605
    • View Profile
Thanks Spacefractal!  :good:
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3606
    • View Profile
    • Space Fractal
updated GameControllers.java to beta 3, which added TrackPad support. That was diddent working. Howover im do cant hide the mouse pointer, due a limint on Android (a stupid one actuelly).
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: 3606
    • View Profile
    • Space Fractal
This day im trying to look for a alternative for SETSCREEN for Android Extras. Its is actuelly possible, but can not force it after a internal surface creation.

etc doing directly in java like this:

getHolder().setFixedSize(1280, 720); in SDLSurface(Context context) works, but not doing that in a java call....

This could been a great addiation for example working on OYA and want to use 720p rather than 1080p for better speed. Here im use 1080p screen and did 720p to work. Its much faster than doing the offscreen thing.
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: 3606
    • View Profile
    • Space Fractal
Here is the newest version (v1.4 Beta 3):
https://dl.dropboxusercontent.com/u/3236515/GreedyMouse/AndroidExtras.zip

Hope FiveSprite will update his link to this one.
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
Sorry chaps - really busy with work at the moment and I'm off on holiday for a few days tomorrow.

Updated link to the latest beta in first post - great work spacefractal and thanks for helping out!  :)

//Andy

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3606
    • View Profile
    • Space Fractal
its got confirmed compiled from the OUYA Compiling Help Thread, which was based on Beta 3, which im included in the full SDK in the Bonus section. This is just the separate file.

PS. Im uses more the wired Xbox controller than the OUYA Controller for testing. The issue with OUYA controller is, its  dont allways to reconnect when its have idle out (which happens often here, but in a real game session, that is not a issue).
« Last Edit: 2013-Aug-12 by spacefractal »
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: 3606
    • View Profile
    • Space Fractal
today im finally tested with Android 2.3 combatbile with the new old phone. The game is still running on that without issues, howover there is a little fun remap issue im need to look on. That one with any keypad should not been possible to use, when its only running on a touchscreen without keyboard.

that would hang the game. But rest works and the game only used 6mb internal memory (im delete assests file, when internal memory is too low).

Im look into that one to prevent it.
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: 3606
    • View Profile
    • Space Fractal
- im have now just fixed some bugs, so the game controller api not crashing when pressing on some hard buttons like SEARCH.

- Also remap could also accour with "Keypad" and "Touchscreen" as name. Those are not supported and then filtred off now.

- Menu button can still been used and checked with no game controllers wired.

Also the fixes here also run nice on Android 2.3 now (even USB controllers etc cant been used, but its does not crash anymore).

So SDLActivity.java its updated to 1.4.2 (but for some reason the readme was gone, so used the old one Fivesprites used). Download from same URL in the first post.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Jonás Perusquía

  • Mr. Polyvector
  • ***
  • Posts: 170
    • View Profile
    • Ditrabox
cool! nice work! you are the best!

P.S.
spacefractal, the OUYA IAP is inside the AndroidExtras? thanks in advance!

I'm ready to upload my game :3
<HTML><BASIC><EC>
Be free and do good things

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3606
    • View Profile
    • Space Fractal
Yes, and look in the beta forum how to implemented that.
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: 4144
  • On the shoulders of giants.
    • View Profile
    • My Apps
I have an OUYA now (although I've not had a chance to even plug it in yet), so expect lots and lots of questions from me that require answers as though you are talking to an idiot... ;)
I came. I saw. I played.