Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

databubble

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

text
Tutorial: How to get your Android Application [Apk] using "Ant":
 
   NEW! Go to Lazarus IDE menu "Run--> [LAMW] Build and Run"! Thanks to Anton!!!
 
1. Double click "ant-build-debug.bat [.sh]" to build Apk
 
2. If Android Virtual Device[AVD]/Emulator [or real device] is running then:
   2.1 double click "install-debug.bat" to install the Apk on the Emulator [or real device]
   2.2 look for the App "databubble" in the Emulator [or real device] and click it!
 
3. If AVD/Emulator is NOT running:
   3.1 If AVD/Emulator NOT exist:
        3.1.1 double click "paused_create-avd-default.bat" to create the AVD [\utils folder]
   3.2 double click "launch-avd-default.bat" to launch the Emulator [\utils  folder]
   3.3 look for the App "databubble" in the Emulator and click it!
 
4. Log/Debug
   4.1 double click "logcat*.bat" to read logs and bugs! [\utils folder]
 
5. Uninstall Apk
   5.1 double click "uninstall.bat" to remove Apk from the Emulator [or real device]!
 
6. To find your Apk look for the "databubble-debug.apk" in \bin folder!
 
7. Android Asset Packaging Tool: to know which files were packed in "databubble-debug.apk"
   7.1 double click "aapt.bat" [\utils folder]
 
8. To see all available Android targets in your system [\utils folder]
   8.1 double click "paused_list_target.bat" 
 
9. Hint 1: you can edit "*.bat" to extend/modify some command or to fix some incorrect info/path!
 
10.Hint 2: you can edit "build.xml" to set another Android target. ex. "android-18" or "android-19" etc.
   WARNING: Yes, if after run  "ant-build-debug.*" the folder "...\bin" is still empty then try another target!
   WARNING: If you changed the target in "build.xml" change it in "AndroidManifest.xml" too!
 
11.WARNING: After a new [Lazarus IDE]-> "run->build" do not forget to run again: "ant-build-debug.bat" and "install.bat" !
 
12. Linux users: use "ant-build-debug.sh" , "install-debug.sh" , "uninstall.sh" and "logcat.sh" [thanks to Stephano!]
    WARNING: All demos Apps was generate on my windows system! So, please,  edit its to correct paths...!
 
13. WARNING, before to execute "ant-build-release.bat" [.sh]  you need execute "release-keystore.bat" [.sh] !
    Please, read "How_To_Get_Your_Signed_Release_Apk.txt"
 
14. Please, for more info, look for "How to use the Demos" in "LAMW: Lazarus Android Module Wizard" readme.txt!!
 
....  Thank you!
 
....  by jmpessoa_hotmail_com