1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hyperion/HyperCon Android Development

Discussion in 'Development' started by BioHaZard1, 8 July 2016.

  1. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    622
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    do you only want a screenshot or do you wonna record the screen?
     
  2. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    i think screen recording would be better choice, but some apps prevent this due to DRM and privacy.
     
  3. Brindosch

    Brindosch Administrator Administrator

    Messages:
    601
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    //push
    Some news? ;)
     
  4. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    Hi, not so much news, I've been away unfortunately, but transforms is almost done. I encountered a bug which I spent far too long trying to figure out what was happening. Turns out it’s a known Android bug which Google has reported fixed and it still isn't. So basically the listener on my 'EditText' box was calling 'afterTextChanged' twice, it is only supposed to happen once. For some reason the last call was reporting the value as '0' which in constantly reset the RGB slider. So essentially I was looking in the wrong place to fix the issue. I only noticed when my debug code was being duplicated in the logs. So far this is what it looks like:

    [​IMG]
     
  5. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    [​IMG]

    Right I have some news, calibration section is practically done. However, I am a little confused to which transform options I should add. I ask because on hyperion-remote some options like 'whitelevel' and 'blacklevel' etc are marked a depreciated.

    Specifically, which transforms options should I provide configuration for?
     
  6. Brindosch

    Brindosch Administrator Administrator

    Messages:
    601
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Sadly i can't. I need further feedback.
    If you like you could start to implement the first alpha features :)
     
  7. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    Which Alpha features? Do you mean the Hyperion.NG features? :)
     
  8. Brindosch

    Brindosch Administrator Administrator

    Messages:
    601
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    For example or other features you might want to see :)
    Oh, translation support would be also nice to have :)
     
  9. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    Right I'll do that, translation support is already there. I made sure from the beginning that all strings are located in the 'Strings.xml' rather than being hardcoded. So basically you just translate the 'Strings.xml' and pop it in the required language folder.
     
  10. willfunhh

    willfunhh New Member

    Messages:
    17
    Hardware:
    RPi3
    Just a comment:

    I LOVE THAT YOU GUYs are working on that.

    Thanks to all developers!!
     
    • Like Like x 2
  11. willfunhh

    willfunhh New Member

    Messages:
    17
    Hardware:
    RPi3
    By the way, do you have any news about the app? I am really intrested, because the app that I bought is not working on Android 6.01
     
  12. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    Sure I'll post some more news either tonight or tomorrow, I'm not at home right now. But yes my app is working perfectly fine on 6.0.1 and I'm currently using it on Nougat 7.1.1 without any issues. The app minimum API is currently set to API 15 which is Android 4.0.3.
     
    • Like Like x 4
  13. iiidefconiii

    iiidefconiii Member

    Messages:
    86
    Hardware:
    32/64bit, +Arduino
    is this an update for the hyperion app?
     
  14. Brindosch

    Brindosch Administrator Administrator

    Messages:
    601
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Supposed to be.
     
  15. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    Right, heres what I've been working on:

    [​IMG]

    I've did quite a lot of code refactoring, mainly in my Hyperion, Connection, Database and Utils classes. I've also added some new features:
    - New icon
    - Device scanner (lists all reachable devices on your network and specifically find Hyperion devices)
    - Connection wizard (Still developing), almost finished so soon we will be able to install, uninstall and update Hyperion via the app
    - Debug viewer, just a basic implementation so far. Much easier than reading through logcats for bugs/issues

    A lot more has been done to improve overall UI/UX, I should have some time tomorrow so I start implementing SSH.
     
    • Like Like x 3
    • Thank you Thank you x 1
  16. Brindosch

    Brindosch Administrator Administrator

    Messages:
    601
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Nice work! You don't like my greyish icon? :)
    Hm, needs much detection stuff. The current way is not as great as it could be (script). It is planned to use .deb files and other packages as much as possible. The build in update system complete this.

    All depends on which Hyperion version you target or a hybrid for both (which means detect version and mod ui depending on result). Using ssh is not really funny for you as developer. But i admit, the current Hyperion JSON RPC is very very limited for fancy application functions.
     
  17. BioHaZard1

    BioHaZard1 Member Developer

    Messages:
    31
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino
    Which greyish icon? I mainly created this one was it adheres to the Android Material guidelines :)

    .deb files would be much easier, so is this planned for Hyperion.ng or the current Hyperion too?

    I was hoping to support both versions, but I'd have to look into this. I've already started work on Hyperion.ng fragments, just need to work on code for JSON RPC when I get Hyperion.ng installed on my pi. I don't mind so much using SSH, I've used it quite a lot in previous projects.
     
  18. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    159
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Very nice! :thumbsup::omg:
     
  19. willfunhh

    willfunhh New Member

    Messages:
    17
    Hardware:
    RPi3
    Looks as if this will become a very good app :) If you need some people for testing it, I would like to help....If you write "all System (not OE/LE)" is there a reason behind?
     
  20. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    622
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    there is an other structure on the OE/LE systems :)