Standalone works on Windows but not on Android
Posted: Sat Mar 26, 2022 12:59 pm
Hi
I have a puzzle app which performs entirely as expected in the IDE and as a Windows standalone but not on Android. I have the Android SDK installed correctly.
When I deploy the app to my phone (Android 9) for testing it behaves as it should until the puzzle completes and I use the option to screenshot the completed board.
The screen is locked, the board prepared, screenshot taken, the board is reset and the screen unlocked. This should place the screenshot on the clipboard and save an image to internal storage (Documents/MPW/Solutions). This doesn’t happen.
The board is preped but the preped board can be seen and doesn’t reset.
There is no MPW folder in my Documents folder. (There is in Windows)
This process works flawlessly on Windows
The app is set to display in portrait mode only, resizes to full screen on mobile and has access to both internal and external memory.
Any help would be greatly appreciated
Many thanks
Ian McK
--------------------------------------------------------------------------------
I’m using LiveCode 9.6.6 Indy on a PC
using Win 10 Home 64 bit with 16 Gb Ram.
LiveCode is installed on the C: drive which is a SSD.
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Platform Tools v 33.0.0
Emulator v 31.2.8
Build Tools v 33 rc2
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true
--------------------------------------------------------------------------------
I have a puzzle app which performs entirely as expected in the IDE and as a Windows standalone but not on Android. I have the Android SDK installed correctly.
When I deploy the app to my phone (Android 9) for testing it behaves as it should until the puzzle completes and I use the option to screenshot the completed board.
The screen is locked, the board prepared, screenshot taken, the board is reset and the screen unlocked. This should place the screenshot on the clipboard and save an image to internal storage (Documents/MPW/Solutions). This doesn’t happen.
The board is preped but the preped board can be seen and doesn’t reset.
There is no MPW folder in my Documents folder. (There is in Windows)
This process works flawlessly on Windows
The app is set to display in portrait mode only, resizes to full screen on mobile and has access to both internal and external memory.
Any help would be greatly appreciated
Many thanks
Ian McK
--------------------------------------------------------------------------------
I’m using LiveCode 9.6.6 Indy on a PC
using Win 10 Home 64 bit with 16 Gb Ram.
LiveCode is installed on the C: drive which is a SSD.
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Platform Tools v 33.0.0
Emulator v 31.2.8
Build Tools v 33 rc2
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true
--------------------------------------------------------------------------------