Re: [Lazarus] Android build without ant

2012-03-29 Thread Sven Barth
Am 27.03.2012 10:42, schrieb Felipe Monteiro de Carvalho: The next issues: 1 How to add more files to the apk. aapt tool seams to have no way for me to specify where the file will be inside the package and here it simply strips all of the paths, not even keeping the relative dir =/

Re: [Lazarus] Android build without ant

2012-03-27 Thread Felipe Monteiro de Carvalho
Hello, Thanks, call seams to do the trick. The next issues: 1 How to add more files to the apk. aapt tool seams to have no way for me to specify where the file will be inside the package and here it simply strips all of the paths, not even keeping the relative dir =/

Re: [Lazarus] Android build without ant

2012-03-27 Thread Sven Barth
Am 27.03.2012 10:42, schrieb Felipe Monteiro de Carvalho: Hello, Thanks, call seams to do the trick. The next issues: 1 How to add more files to the apk. aapt tool seams to have no way for me to specify where the file will be inside the package and here it simply strips all of the paths, not

Re: [Lazarus] Android build without ant

2012-03-27 Thread Kjow
2012/3/26 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com: Hello, I see that some people that follow this list have been doing this with the FPC Java port, so I though: Does anyone have a script which does the calls to build an APK (right from beginning, that is, building Java

Re: [Lazarus] Android build without ant

2012-03-27 Thread Felipe Monteiro de Carvalho
On Tue, Mar 27, 2012 at 11:00 AM, Sven Barth pascaldra...@googlemail.com wrote: ant debug uses a predefined debug key. You need to create your own one as outlined here: http://wiki.freepascal.org/FPC_JVM_Android_Development#Generate_a_Key_Store I think I managed to get it somewhat working, at

[Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Hello, I see that some people that follow this list have been doing this with the FPC Java port, so I though: Does anyone have a script which does the calls to build an APK (right from beginning, that is, building Java code, till the APK signing for debug). I'm not interrested in FPC Java, but I

Re: [Lazarus] Android build without ant

2012-03-26 Thread michael . vancanneyt
On Mon, 26 Mar 2012, Felipe Monteiro de Carvalho wrote: Hello, I see that some people that follow this list have been doing this with the FPC Java port, so I though: Does anyone have a script which does the calls to build an APK (right from beginning, that is, building Java code, till the

Re: [Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Ok, I reviewed old threads and found a download link: http://web390.server-drome.com/files/trainlog.zip thanks =) -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Android build without ant

2012-03-26 Thread Sven Barth
Am 26.03.2012 16:47, schrieb Felipe Monteiro de Carvalho: Ok, I reviewed old threads and found a download link: http://web390.server-drome.com/files/trainlog.zip thanks =) Bingo ;) If you need help, please feel free to ask. PS: One of the tools is considered deprecated (and will print

Re: [Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Hello, Ok, so far I have this script: = cmd SET PATH=C:\Programas\android-sdk\tools;C:\Programas\android-sdk\platform-tools\;C:\Progra~1\Java\jdk1.6.0_20\bin mkdir bin mkdir bin\classes javac -classpath C:\Programas\android-sdk\platforms\android-8\android.jar -d bin\classes

Re: [Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Hello, Ok, now I advanced a lot =) = REM Adjust these paths to yours SET PATH=C:\Programas\android-sdk\tools;C:\Programas\android-sdk\platform-tools\;C:\Progra~1\Java\jdk1.6.0_20\bin SET ANDROID_HOME=C:\Programas\android-sdk SET

Re: [Lazarus] Android build without ant

2012-03-26 Thread Sven Barth
Am 26.03.2012 17:19, schrieb Felipe Monteiro de Carvalho: Hello, Ok, so far I have this script: = cmd SET PATH=C:\Programas\android-sdk\tools;C:\Programas\android-sdk\platform-tools\;C:\Progra~1\Java\jdk1.6.0_20\bin mkdir bin mkdir bin\classes javac -classpath