Having completed the android version of my app I'm moving into B4J and have a working prototype.
I've gone heavily down the approach of as much shared code as possible.
Right now I have a working windows prototype in B4J which needs work but the basic functions from the B4A side are in.
I have 808K of shared B4X code, 41.6K B4A only and 76K B4J only.
So basically about 87% shared and 13% device specific.
I don't know if these figures are good or bad, but I am having issues while developing the windows side I break the android side! It's all heavily interlinked code.
I think this approach will pay off in the longer term, and its certainly much quicker building for B4J than B4A because I can reuse most of it. I guess I don't focus on all the code that just worked across platforms from day one.
Interested to hear how others have been dealing with the challenges of cross platform?