Author Topic: Fire TV  (Read 3434 times)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10708
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Fire TV
« on: 2014-Oct-01 »
It seems the remote control can be polled with KEY ()
https://developer.amazon.com/public/solutions/devices/fire-tv/docs/amazon-fire-tv-remote-input
Did anyone try that, yet?

Gesendet von meinem GT-N7100 mit Tapatalk


Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3626
    • View Profile
    • Space Fractal
Re: Fire TV
« Reply #1 on: 2014-Oct-01 »
The only reason im have not integreated this device to the Android Extras is, they dosent document which device name and type of controller its returns. If they did, its would been an no brainer to add them as known controllers to the GameControllers api im created in the past to Android Extras.

But im do currectly not have plan to get the Fire TV, because its have property no uses in Denmark at all and require me to order one from USA which im wont (other than testing).

Howover its have also a Game Controller too, im should get one of them. If one of you have it, its would been nice to checkout the input its got, which can been checked by Android Sample example. The Game Controller is uses should juts been a regular controller, so its would been easy to remap that one.

The above could also been done with the remote controller (which some of the player buttons could just been remapped to a game button).
« Last Edit: 2014-Oct-01 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: 3626
    • View Profile
    • Space Fractal
Re: Fire TV
« Reply #2 on: 2014-Oct-05 »
im will purchase this controller when its possuble on the UK store:
http://www.amazon.co.uk/gp/product/B00KQE907E/ref=s9_simh_gw_p470_d3_i1?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-2&pf_rd_r=0S5C21FW6STRYXSD3870&pf_rd_t=101&pf_rd_p=455344027&pf_rd_i=468294

Then im will add support for Fire TV when im got it for Android Extras.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10708
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Fire TV
« Reply #3 on: 2014-Oct-05 »
Do you think I could implement AE in the std. GLB distribution? I thnik about shipping Android 4.0 based libs.

Gesendet von meinem GT-N7100 mit Tapatalk


Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3626
    • View Profile
    • Space Fractal
Re: Fire TV
« Reply #4 on: 2014-Oct-06 »
Im uses android sdk 4.3 but added the kitkat full screen (which was just a single number to a config).

I'm in this week update to fix various sound issues and storekit needs update, but that can been a seperate download (which here im dosent need to update the whole sdk api), which would been much less than normal.

But else you are fell free to integrate AE to the std. GLB distribution, which would been greatly simplecity the installation of it and easier it for me to update it.

Here is few noticement, when you do it:

1. Do make sure to update all your LOAD commands. You need to call Check_Asset(File$) (See AndroidSample of course). Property you can uses the compiled version of that function and uses this inside stock glbasic. Then its would been easier to integrate to all LOAD commands and much easier to integrate AE for people (this was the biggest change of AE against stock glbasic). This was to skip the dreadful ... install screens, which sometimes could get stuck forever.

2. Make sure to call something like this for fixing the standard orientation:

   LOCAL ORIENTATION=JavaCall$("screenOrientation:")
       SETORIENTATION ORIENTATION

Again, property this can been done directly in c++ (you can see the compiled verslon about this of course).

3. For a bigger project, you could integreate GameControllers API to the stock API, but im thinks this part can been harder to do, and is not important. Instead its easier to do a wrapper.

4. PLEASE, do NOT change the AndroidIcons.exe, which was done by removing the ugly borders, and also possible to add new iconsizes in the future.

« Last Edit: 2014-Oct-07 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.