B4J Tutorial B4J tutorial for Basic4android developers

Discussion in 'B4J Tutorials' started by Erel, Nov 19, 2013.

  1. Doug Johnson

    Doug Johnson Member Licensed User

    I am getting this message from B4J so it is in the right section and your suggestion does not seem to apply......
  2. giga

    giga Well-Known Member Licensed User

    Do you have JavaFX Scene Builder installed?
  3. Doug Johnson

    Doug Johnson Member Licensed User

  4. stevel05

    stevel05 Expert Licensed User

    Out of curiosity, will it run in release Mode?
  5. Erel

    Erel Administrator Staff Member Licensed User

    Your firewall is probably blocking the connection. Try to temporary disable it and see if it connects.
  6. giga

    giga Well-Known Member Licensed User

    "CORRECTION" per Erel there is a rapid debugger in B4J it is the same as B4A.
    In B4A there is a drop down for rapid debug mode I was not aware of this in B4J because its not a drop down. Normally I have seen the above error in B4A. My apologizes for misinforming.
  7. colin van Blommestein

    colin van Blommestein Member Licensed User

    Do B4J apps run on Android smart phones?

    Is there a B4J bridge app (as in B4A) to link an Android smartphone to a PC ?

    How do I import a library into B4J?
  8. Erel

    Erel Administrator Staff Member Licensed User

    See this tutorial: What is B4J?

    In the same way as in Basic4android. You copy the library files to the libraries folder and select it in the libraries tab.
  9. kosay

    kosay Member Licensed User

    is there any way to run B4J application on mobile like Symbian OS ?
  10. Erel

    Erel Administrator Staff Member Licensed User

  11. vinians

    vinians Member Licensed User

    Very nice but as you say B4J creates as Jar file so its is Java, why not use Netbeans and java directly?
  12. Erel

    Erel Administrator Staff Member Licensed User

    Not sure that I understand the logic here. A jar file is similar to an exe file. You can also say "C++ creates an exe file so why not use Assembler".

    B4J allows you to easily create desktop, server and web apps. With the same language as B4A and with very similar libraries.

    If you are an experienced Java developer (with server and websockets experience) then you can use Java instead of B4J. If not then it will be easier to use B4J.
    Mark Turney likes this.
  13. Daestrum

    Daestrum Well-Known Member Licensed User

    To be fair Erel, even as an experienced Java developer with server and websocket experience, it's still easier to use B4J :)
    Mark Turney likes this.
  14. Erel

    Erel Administrator Staff Member Licensed User

    I agree (and I'm experienced in both frameworks ;) ).
  15. tetraHydro

    tetraHydro New Member Licensed User

    thanks Erel and everyone else who has contributed to these b4x projects. As someone who has been stuck on vb6 syntax for years and found it challenging to learn new languages, I now feel like the sky is the limit as I transition away from Windows desktop apps which are so 90s into WebApps and Mobile. All while working with the VB syntax I am very familiar and comfortable with. Thank you Thank you ThankYOU :):):)
    Erel likes this.
  16. oliverm

    oliverm Member Licensed User

    I have to say, I would pay for a "pro" version that somehow brought the two dev environments closer together. The ability to build both Windows, mac, and android apps from the same place would easily add value.

    You see it in the likes of YoYo Game Maker and it makes developing one app for all platforms much more straight forward. Whilst I appreciate it wouldn't be 'straight forward' as such, some how bringing the dev suits together and charging, say, a few hundred dollars...well...you'd get my money.

  17. Mark Zraik

    Mark Zraik Member Licensed User

    Hi Erel,

    Years ago I developed in Java 2 and other languages. This is way easier and as you stated, the B4A and B4J coding is almost identical!
    Porting from B4A to B4j and visa versa is absolutely cool and easy - Hardly any modifications at all. Copy and Paste is MY FRIEND!
    There are other ways, too using the library compilations functions.
    Thank you Erel and all who contributed to B4X. Tooo many to list!

    Erel likes this.
  18. LucaMs

    LucaMs Expert Licensed User

    The first post should be updated (new designer :))
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice