Menu

The most absolutely lowest priority issue imagineable.

Android
2019-06-05
2019-06-07
  • Yet Another Troll

    If I leave xbasic in the background and Android shuts it down, when I eventually switch back to it, xbasic's file selector finds no files to load. Out of 1..5, please assign a priority of 0xDEAFBEEF. The workaround is to quit and relaunch xbasic.

    Maybe slightly higher priority, 0xDEADBEEF, should be Android's love of shutting down actual xbasic programs running in the background, but that could be because they tend to use so-called "dynamic programming" aggressive memoization algorithms that churn through hundreds of megabytes of strings at the first excuse, and I'd much rather have Android shut it down than see "panic: out of swap."

     

    Last edit: Yet Another Troll 2019-06-05
  • Markus Hoffmann

    Markus Hoffmann - 2019-06-05

    I have seen this, too. But I have no clue how to avoid it. Need help by an Android expert. This issue should be adressed here: https://gitlab.com/kollo/X11-Basic/issues

    However, It has never happened on old Android devices < 4.1.0

     

    Last edit: Markus Hoffmann 2019-06-05
  • Yet Another Troll

    Another 0xDEADBEEF priority issue, again related to the file selection GUI. Is it easy to have it be able to navigate into subdirectories? My bas directory is getting cluttered, and I'm already resorting to prefixing the names of my own program files with "0x", "1 ", and the like to put them at the top of the list. There also appears to be some issue with launching xbasic from a file manager app when the name of the bas file or subdirectory contains spaces.

     
  • Markus Hoffmann

    Markus Hoffmann - 2019-06-06

    Yes good point, but programming a good File navigator with subdirectories is a big issue. Like FILESELECT, but only for the Android GUI. It is not my personal priority. Maybe some time someone else can take over this part.

    -- have you used XRUN so far?

     
  • Yet Another Troll

    I just tried it. Interesting. The project loads up and runs, but afterwards, launching the editor brings up new.bas. There must be some internal variable that the "Select file to load" box sets that XRUN does not.

     
  • Markus Hoffmann

    Markus Hoffmann - 2019-06-07

    Yes, XRUN does not interface with Android. However, XRUN is not really usable for loading a Program under Android. But it handles subdirectories.

     

    Last edit: Markus Hoffmann 2019-06-07
    • Yet Another Troll

      It certainly looks 80-90% of the way there to me. A back/parent/up/.. button would be nice to have for those who go nuts with individual project toolchain subdirectories like moi.

       
  • Markus Hoffmann

    Markus Hoffmann - 2019-06-07

    The FILESELECT (which is used by XRUN) works like the same as on ATARI-ST. So the UP/parent button is the "<". It only works, if there is a full path in the Directory line. To get this, press "HOME". Ich you want to change the selection mast, just do it in the Directory-Line (.bas --> .) and then press on the title (".bas") to refresh.

    The charming thing is, that this fileselector works exacly the same on WINDOWS LINUX Android, ATARI-ST etc... But the concept ist already 30 years old and not up to date anymore. Works best with a mouse and not with touchscreen. etc...

    see also: FILESELECT command.

     
  • Markus Hoffmann

    Markus Hoffmann - 2019-06-07

    If you want to use XRUN by default, you could make a littel program (just XRUN) and create a desktop-shortcut for this.

     
    • Yet Another Troll

      I might give it a try, but none of my programs are ready for deployment or for being made cumbersome to stop and edit and try again. I did try using My Files as well as third party file managers to launch xbasic with .BAS files from other directories, but xbasic always looks in the bas directory, and if the file name contains spaces or other characters the file manager decides to escape with a %xx hex code, xbasic gets understandably confused.

      There does seem to be a way to give xbasic read/write access to the SD card slot on recent Android versions, but the APK needs to be set up to allow that somehow, and it involves user intervention and Android moving some components to the SD card and allowing Android to erase user data off the card if anything hiccoughs.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.