The simplest way to build a decent gui when using java is to use the grid layout.  That way, all your items are automatically configured for you.  I too am visually impaired, and I've written multiple java programs, no issue setting up a gui when grid mode is in use, java handles all the hard work for you.  It's not a pretty as doing it yourself, (assuming you can see the silly thing), but it sure does the trick for those of us who can't see the gui elements.

On 8/1/2021 3:33 PM, Mgr. Janusz Chmiel via fpc-other wrote:
Dear specialists, dear users,

    I have decided to do my best to empower Pandroid package bundle. To empower this project, I will publish source codes in the texts of my messages. It will be fully functioning source codes so everybody can evaluate and extend it. If it will use some Java code, I will always cytate original WEB page and my code will be never come from closed sources apps. I will do my best to take Java codes from some online forums, articles, ETC.

Because I do not see at all, I will not focus on complex GUI. It would only lead to massive criticism, because I can not add position values, so GUI would be always rather ugly than nice. I will use maximum 2 3 GUI elements on my apps to demonstrate some Android APIS.

You will see app to simply set alarm by using voice recognition engine. You will see app to set maximum ringer volume by pressing one button, because as visually impaired user of screen reader and speech engines, I Am suffering because of hardware button. I will also add button to reduce output volume to 25 percentage for The night.


I will also try to use simple voice recognition series of commands to setup an event by using build in Android planning app. My most complex dream is to construct GPS app, which will use openstreet map OSMdroid for Android library  .jar It will be using Gritview. If user will click on AN row or column with A Corresponding name of point, app will try to give user The info about The distance to this point.


I will be using OSMdroidlibrary. My first painfull task will begin, when I will have to compile this library to .jar. Then I will be kindly asking The author of Pandroid if he could generate Pascal headers for this aJava library.

https://github.com/osmdroid/osmdroid



_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other

Reply via email to