Android Extras (Micro Game Consoles/GPS/Keyboard/Audio)

Previous topic - Next topic

spacefractal

#195
look like the GameStick controller did have the same issue when connected to the Android TV, so im must confirm the standard controller diddent work. That is just fixed in AE.

onGenericMotionEvent() was newer called. Now im uses dispatchGenericMotionEvent() instead, which is more recommered in the Activity (but still using onGenericMotionEvent(), if Ouya is detected).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#196
Because Android Extras is now a integreated part of Glbasic since v14, then im dont thinks this thread should been in code snippet, but changing it to been a news and help thread instead in the general forum. Im will still link to this thread from the sticky news thread (that one im have locked, but im still update it of course).

Anyway.

Android Extras v3.0.0 is released (im are going to reupload now).

- Since its now v3.0.0 is simply because its the first release after glbasic v14, but im do still do full folder zip, because its based on v12, but is usable for v14. The reason im still waiting to the latest fixes from Gernot (there is a SVN, im have uploaded all my fixes). So PRESCALER is not included in this release. Sorry for that.

- This version do now support Android TV devices (Greedy Mouse got finally approved), which in workload is pretty much same as with Ouya, but its does using a another icon (icon_TV_AndroidExtras.png).

- If Ouya is not a target, the icon is now automatic deleted. This is checked if its can fine the icon_ouya_AndroidExtras.png file or not.

- There is some optimizing and fixes to the GameInput.API, which is required for gamepad support (since im wont using the old Android.GameController$() anymore, its was too compliced.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#197
Now im taking a look into Razer TV (succesor for Ouya), which should been straigt away after got it working on Android TV. Its the same system, except its also can uses ouya storefront and games its have.

So glbasic is expanding for Android TV as well the new Apple TV. Greedy Mouse got approvede for Amazon Fire TV as well.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Ian Price

I came. I saw. I played.

Kitty Hello

I updated source and platform packages now.

UBERmonkeybot

Excellent News.
Will Camera access make it onto AE at some point?

spacefractal

#201
Currently this month would been getting Apple TV support. This is treated as a new platform. Hopefully I'm get it work before official release (I'm are one of the lucky winner of a Apple TV Dev Kit, and is currently waiting for the postage).

For Android wise, the focus was set also on TV too, here Android TV, Forge TV and Fire TV. All those is quite similar.

I'm will update my source too as well. Then eventually send you eventually changes I'm have done.

Please note: I'm want DEBUG command deprecated for IOS and tvOS. It's impossible to use that command due compiler conflict. STDOUT should been used instead..
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kitty Hello

I'll see about that debug command. Can you zip me an xcode project?

spacefractal

I'm doing that later today or this week, when I'm have updated it. I'm do means I'm earlier have send one.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#204
Im can still not update Android Extras, because that what the source code files have been uploade is impossible to download, because they was not zipped down. Im dont want to click 10000 files one after one. Its would been nice if its was  using the FTP protocol instead of HTTP, then its would been much easier.

Hence im can also not send the xCode and the iOS project based on the newer source code as well.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

msx

Thank you for your job.

It is possible to know the GPS precision?. I need to know when the GPS is prepared for working.

fivesprites

I don't think the GPS code has been updated since I wrote it a long time ago.  However, it should still work correctly, but it does not report the accuracy of the GPS link.

You have access to lat, lon, speed, bearing and altitude.  It's not hard to update AndroidExtras to include the Accuracy.  Unfortunately, I don't have time to do that these days, but Spacefractal may be able to.

Simply add a new function to AndroidGPS.java called getAccuracy and return location.getAccuracy();  Then update SDLActivity.java and add a new entry for "getGPSAccuracy" and return andreoidGPS.getAccuracy().  The final thing to do is add a new function in AndroidExtras.gbas - call it getGPSAccuracy and fire off a JAVACALL as per the other getGPS functions to "("getGPSAccuracy:");

Again, Spacefractal may be able to help more here as I've not looked at the more recent code in a long time.

Note: You won't start getting valid values back from any getGPS... call until a satellite fix has been made. 

//Andy

msx