Hi
I have a project that I've been making on the windows platform, but I think it will be more appropriately based on android. I have no idea how to achieve this; is it a long and tedious, or difficult undertaking ? How would I begin to know what to do ? Has anyone done this before ?
Hope someone can help.
Changing a project from windows to android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Changing a project from windows to android
Hi CAsba,
hm, where to start?
OK, some very basic things to consider:
1. Mobile <> Desktop, so you cannot use:
Drag'n'Drop
Ask/Answer file
Ask/Answer folder
specialfolderpath("desktop") -> There is no "desktop" on mobile!
2. LC does not "re-"layout your app when the user switches from Portrait to Landscape orientation or vice-versa. This needs to be scripted by you!
So maybe ONE of these modes will suffice for your app and you you can "hardcoce" this with: mobileAllowedOrientations()
3. The user cannot resize a window on mobile, so you need to define the stack dimensions in the correct aspect ratio of your targets devices.
The stack will however be scaled to fit the targets screen dimensions.
4. The ONLY folder on mobile where we have write permission is: specialfolderpath("documents")
This is not the same folder as on the desktop, but a small area inside of your app package where we can store things.
So if you add one or more files that your app or your users need to modify (and SAVE) they need to be copied to that folder and then opened from and saved there.
Hope that helps to get you started.
Best
Klaus
hm, where to start?
OK, some very basic things to consider:
1. Mobile <> Desktop, so you cannot use:
Drag'n'Drop
Ask/Answer file
Ask/Answer folder
specialfolderpath("desktop") -> There is no "desktop" on mobile!
2. LC does not "re-"layout your app when the user switches from Portrait to Landscape orientation or vice-versa. This needs to be scripted by you!
So maybe ONE of these modes will suffice for your app and you you can "hardcoce" this with: mobileAllowedOrientations()
3. The user cannot resize a window on mobile, so you need to define the stack dimensions in the correct aspect ratio of your targets devices.
The stack will however be scaled to fit the targets screen dimensions.
4. The ONLY folder on mobile where we have write permission is: specialfolderpath("documents")
This is not the same folder as on the desktop, but a small area inside of your app package where we can store things.
So if you add one or more files that your app or your users need to modify (and SAVE) they need to be copied to that folder and then opened from and saved there.
Hope that helps to get you started.
Best
Klaus