Dear All,
I have just started trying to create my first Android app using Spiderbasid 2.0. The following works on my Pc:
Enumeration
#WinMain
#EdSec
EndEnumeration
Procedure main ()
OpenWindow(#WinMain, 100, 100, 200, 200, "My Window")
EditorGadget(#EdSec, 0,0,200,200,#PB_Editor_WordWrap)
SetGadgetText(#EdSec,"This is my first editorgadget in a window")
EndProcedure
main()
and I can create an apk ok without any problems. But when I try installing it on my phone it says "App not installed. The package appears to be corrupt."
Any thoughts on why it doesn't work?
All the best,
Björn
Newbie question on Android App
-
- Posts: 143
- Joined: Tue Feb 25, 2014 1:27 pm
Re: Newbie question on Android App
Hi Björn
Could be anything, starting with the Create App settings. I have created an APK of your code and it runs on my phone.
Settings I used:
Could be anything, starting with the Create App settings. I have created an APK of your code and it runs on my phone.
Settings I used:
Re: Newbie question on Android App
Very strange. All right, I'll try and play around with the settings. Thank you for trying it out.
All the best,
Björn
All the best,
Björn
Re: Newbie question on Android App
If I use the settings in "Create app" like you show here then the apk is created and runs as expected. If I however remove the "Enable debugger" tick then the crated apk does not run.
May be a bug?
All the best / Björn
May be a bug?
All the best / Björn
Re: Newbie question on Android App
Not a bug.BjornF wrote:May be a bug?
If you are testing your apk, check the box "Enabled debugguer" and insert CloseDebugOutput () in your code.
If you publish your code on Android Store read this link. http://forums.spiderbasic.com/viewtopic.php?f=9&t=883
➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
➽ http://falsam.com
Sorry for my poor english
Re: Newbie question on Android App
Thank you for the clarifying that.
Björn
Björn