Hi,
I'm looking a way to have a window on the Adroid platform that will show all the DebugPrint().
Thanks
Pierre.
How to get a Debug Output window on Android
Re: How to get a Debug Output window on Android
If you have a RapaGUI display open, you could use something like this:
Code: Select all
Function p_DebugOutput(DebugStr$)
moai.CreateDialog([[<dialog id="DebugOutput" title="Debug Output:">
<vgroup>
<label>]]..DebugStr$..[[</label>
</vgroup>
</dialog>]])
moai.DoMethod("DebugOutput", "showmodal")
EndFunction
Re: How to get a Debug Output window on Android
Hi,
Thank you... but If I don't have a RapaGUI open can you tell me how to open one?
Bye!
Thank you... but If I don't have a RapaGUI open can you tell me how to open one?
Bye!
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to get a Debug Output window on Android
The best way to debug on Android is to open LogCat on a desktop PC and then use DebugPrint() to send data to LogCat.
Re: How to get a Debug Output window on Android
That look easier.... LogCat is it part of an Android Emulator like BlueStacks?
BTW what Android Emulator is best to test Hollywood script ?
Thank you.
Pierre.
BTW what Android Emulator is best to test Hollywood script ?
Thank you.
Pierre.
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to get a Debug Output window on Android
I never test on emulators but only on real devices. You can start LogCat from ADB like this:
This allows you to capture all debug output from your device...
Code: Select all
adb logcat