Android Question Best practice for developing B4A & B4i at the same time

Discussion in 'Android Questions' started by Scott Bartgis, May 13, 2015.

  1. Scott Bartgis

    Scott Bartgis Member Licensed User

    I'm looking to see if anyone has any steps, ideas, or thoughts when it comes to dual-developing an app in B4A and B4i at the same time. Besides the layout designer differences and some types, what is the best way to layout the folders?

    I typically do B4i apps in one folder and B4A apps in another. It seems to me that if I did the B4A and B4i app in the SAME folder, I would be able to maintain the reusable modules. A lot of the code modules are shared between them, but it is not easy to maintain when they are separate since the Add Existing Module will copy it.

    I have no problem reading through #If B4A and #If B4i where it is needed. Plus, I've abstracted common things like HUD.ToastMessageShow and ToastMessageShow to a Common.ToastMessageShow(message, longduration) which has the #If B4x differences.
    Harris likes this.
  2. Erel

    Erel Administrator Staff Member Licensed User

  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