I would like to test a very basic code, only a Window with a form.
To create a web app, there is no problem.
The Android app creation looks like successful, but when I want to install the APK I have the following message (in French) :
Which could be approximately translated with:Erreur d'analyse
Un problème est survenu lors de l'analyse du package.
And I cannot do anything else than taping OK to close it and not install my APK.Check error
A problem occurred while checking the package
I don't see why but this is my code in the case it could be useful:
Code: Select all
Enumeration Fenetre
#Fenetre_Principale
#Fenetre_Resultat
EndEnumeration
Enumeration Elements
#Label_Utilisateur
#Edit_Utilisateur
#Label_Passe
#Edit_Passe
#Bouton_OK
#Bouton_Annuler
#Texte_Resultat
EndEnumeration
Procedure Fermeture()
CloseWindow(EventWindow())
EndProcedure
If OpenWindow(#Fenetre_Principale, #PB_Ignore, #PB_Ignore, 700, 60, "Identification", #PB_Window_Background|#PB_Window_TitleBar)
TextGadget(#Label_Utilisateur, 0, 0, 280, 20, "Nom d'utilisateur :")
StringGadget(#Edit_Utilisateur, 300, 0, 400, 20, "")
GadgetToolTip(#Edit_Utilisateur, "Nom d'utilisateur")
TextGadget(#Label_Passe, 0, 20, 280, 20, "Mot de passe :")
StringGadget(#Edit_Passe, 300, 20, 400, 20, "", #PB_String_Password)
GadgetToolTip(#Edit_Passe, "Mot de passe")
ButtonGadget(#Bouton_OK, 200, 40, 50, 20, "OK")
ButtonGadget(#Bouton_Annuler, 250, 40, 200, 20, "Annuler")
BindEvent(#PB_Event_Gadget, @Fermeture(), #Fenetre_Principale, #Bouton_Annuler)
BindEvent(#PB_Event_CloseWindow, @Fermeture())
EndIf
I hop I provided all needed information.
Thanks.