Search results

  1. agraham

    Happy 60th birthday Basic!

    https://arstechnica.com/gadgets/2024/05/the-basic-programming-language-turns-60/?comments=1&comments-page=1
  2. agraham

    @Version source attribute RetentionPolicy

    For those of us who poke around in compiled code it might be useful for the RetentionPolicy of @Version to be changed to RUNTIME.
  3. agraham

    Service module name

    Although the compiler will accept a Code module called "Code" it will not accept a Service module called "Service" when it fails to generate a "public service _service = null;" line in the code. Also Process_Globals appears, I assume incorrectly, in the Intellisense for a Code module.
  4. agraham

    Int Double comparison bug?

    Post #5 - http://www.b4x.com/forum/bugs-wishlist/9780-2-2-66-a.html
  5. agraham

    B4A Library BigNumbers library

    If you need to do very accurate claculations using decimal numbers then the normal Java numeric types are not appropriate because, being finite length binary numbers, they cannot accurately represent every possible decimal number. The Java libraries contain a BigDecimal class that is optimised...
  6. agraham

    Attempt to set Sender causes Java error

    Basic4android will accept and compile to Java an attempt to assign to Sender but the resulting Java code causes a Java compiler error. Sub Button1__Click Dim o As Object o = Button1 Sender = o ' or Sender = Button1 ' are both accepted but cause bad Java code to be...
  7. agraham

    B4A Library OpenGL 2.0 library

    Android 2.2 and later support OpenGL 2.0 ES as well as OpenGL 1.0 ES. Having produced an OpenGL library for 1.0 I thought I may as well do one for 2.0 as well so here it is! The included "demo" is not really a demo at all and does little more than test the device OpenGL capability and...
  8. agraham

    Offline OSGB 25k and 50k mapping for Android

    If you are a UK map user you will understand the title. On both my PC and Windows Mobile devices a favourite application was/is Anquet Maps together with, for street names, Microsoft Autoroute and its device counterpart Pocket Streets. I wanted similar off-line capability for Android and found...
  9. agraham

    Capacitive stylus

    If like me you prefer using a stylus to your fingers but have got a capacitive screen on your device so can't use any old sharp stick I can thoroughly recommend a Boxwave stylus which I have been using for the past four weeks. There are some other capacitive styli available but this seems to be...
  10. agraham

    Timer set Interval bug?

    See here http://www.b4x.com/forum/basic4android-updates-questions/9160-timer-problem.html#post50946
  11. agraham

    B4A Library OpenGL library

    Here is a first stab at implementing an OpenGL library. The implementation is a subset of the full Android API but the actual functionality is pretty complete (I think!) as the omitted functions are mainly those that used scaled integer working, I have only implemented the equivalents that use...
  12. agraham

    Beta 1.42 Run Last Deployment

    Only just noticed this, I guess 1.41. did it as well. After running with the debugger attached if I stop then invoke Alt+4, or Project -> Run Last Deployment, the dDebug panels pop up at the bottom of the IDE but are non-functional as the debugger doesn't attach.
  13. agraham

    B4A Library IOIO board library

    The request in this thread here introduced me to a product called IOIO that seems to have been designed by some Google engineers in the 20% of time that Google gives them to pursue their own interests, The blog of the main mover of the project is at Microcontrollers, Electronics & Robotics...
  14. agraham

    B4A Library B4ABridgePlus utility program

    Although not really a library I thought that I would post this here for registered users. B4A-BridgePlus.exe is an Android device File Manager program that runs on the desktop and communicates with an extended version of B4A-Bridge on the device. Using this you can copy files to and from...
  15. agraham

    ExpressionEvaluator library

    I've been meaning to do this for my own use for a while and I have finally got around to producing both Basic4ppc and Basic4android versions. This is the recursive descent parser from my BasicLib library stripped down to deal with arithmetic functions only. Pass it a valid arithmetic...
  16. agraham

    B4A Library ExpressionEvaluator library

    I've been meaning to do this for my own use for a while and I have finally got a round tuit that allowed me to get on with it. Everyone should have a round tuit - they are so useful! :) This is the recursive descent parser from my BasicLib library stripped down to deal with arithmetic...
  17. agraham

    Error in AsyncStreams help

    AsyncStreams.InitializePrefix "Pass Null if you only want to write with this object." should probably refer to "In", not BigEndian!
  18. agraham

    B4A Library CollectionsExtra library

    This library provides a LinkedList object which is an implementation of a doubly linked list that can be used as a stack, queue, or double-ended queue. It also includes an ArraysExtra object that allows arrays to be partially or fully copied, cloned, partially or fully filled with a given...
  19. agraham

    Copy LogCat output

    At the moment it only seems possible to copy a single line from the LogCat tab to the Clipboard. It would be much better to be able to copy a whole block of output at once.
  20. agraham

    B4A Library Gestures (multi-touch) library

    This library allows a View to detect multi-touch gestures. Note that the demo does nothing on the device but logs the multiple touches to LogCat so you will need to be connected to the IDE and viewing filtered LogCat output to see the results of the demo. The quality of multi-touch support...
Top