aidymp Well-Known Member Licensed User Longtime User Mar 5, 2015 #1 Hi, I wrote my App for Android in B4A, And have now made it using B4J, It works as expected on Windows, I am itching to get it working on Apple Mac (But I dont have one) I have 2 VMWare Mac machines that boot and work on my PC fine (But Java will not work) The JAR either refuses to run, or Runs but displays blank Windows... The Problem i have is that I only have to detect the OS (DONE) and change the paths of the XBMC/KODI directories if its a Mac and the App should work exactly as the same as the Windows version! The problem is I don't just want to add the paths and say it now works on Mac! The Path to say the userdata folder on a Mac according to KODI is "/Users/<your_user_name>/Library/Application Support/Kodi/userdata/" So would the command Code: Copy XBMCPath= JO.RunMethod("getProperty",Array As Object("user.home"))&"/Library/Application Support/Kodi/userdata Point to the correct place on a Mac? My App - for Android And As a Windows .exe are here http://aidymatic.co.uk Any tips or pointers are welcome. Thanks Aidy
Hi, I wrote my App for Android in B4A, And have now made it using B4J, It works as expected on Windows, I am itching to get it working on Apple Mac (But I dont have one) I have 2 VMWare Mac machines that boot and work on my PC fine (But Java will not work) The JAR either refuses to run, or Runs but displays blank Windows... The Problem i have is that I only have to detect the OS (DONE) and change the paths of the XBMC/KODI directories if its a Mac and the App should work exactly as the same as the Windows version! The problem is I don't just want to add the paths and say it now works on Mac! The Path to say the userdata folder on a Mac according to KODI is "/Users/<your_user_name>/Library/Application Support/Kodi/userdata/" So would the command Code: Copy XBMCPath= JO.RunMethod("getProperty",Array As Object("user.home"))&"/Library/Application Support/Kodi/userdata Point to the correct place on a Mac? My App - for Android And As a Windows .exe are here http://aidymatic.co.uk Any tips or pointers are welcome. Thanks Aidy
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2015 #2 Please post questions in the correct forum.
aidymp Well-Known Member Licensed User Longtime User Mar 6, 2015 #3 Erel said: Please post questions in the correct forum. Click to expand... I posted here to be safe! as i was told my other post was in the wrong place! I take it its a B4J question?
Erel said: Please post questions in the correct forum. Click to expand... I posted here to be safe! as i was told my other post was in the wrong place! I take it its a B4J question?
Erel B4X founder Staff member Licensed User Longtime User Mar 8, 2015 #4 aidymp said: I take it its a B4J question? Click to expand... Yes.