Sign in Join

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

Mailing lists / lazarus / 2013-07

programming for Android

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

duilio foschi

I'd like to wet my feet in Android programming.

I followed the instructions found here
http://wiki.freepascal.org/Custom_Drawn_Interface/Android

and downloaded the "ready Virtual Box Image with FPC and Lazarus" from sourceforge.

After a while, I could happily run Lazarus on a Mandrive distro.

The distro is supposed to contain all the needed files.

Alas! When I try to run
androidlcltest.lpr

I get an error as shown in
http://i44.tinypic.com/2ljnssz.jpg

What is wrong ?

Thank you
Duilio

Reply by email

waldo kitty
to duilio foschi
duilio foschi wrote 7 lines
I'd like to wet my feet in Android programming. I followed the instructions found here http://wiki.freepascal.org/Custom_Drawn_Interface/Android and downloaded the "ready Virtual Box Image with FPC and Lazarus" from sourceforge.

what OS is included in that image? or does it use your existing OS?

After a while, I could happily run Lazarus on a Mandrive distro.

so a virtual box on a linux... ok...

Show quoted text 9 lines
The distro is supposed to contain all the needed files. Alas! When I try to run androidlcltest.lpr I get an error as shown in http://i44.tinypic.com/2ljnssz.jpg What is wrong ?

it tells you directly that it cannot find the xterm binary on your system or the virtual one... xterm is a terminal generally used with a graphical environment... it is trying to open a new xterm window... this is why i ask about what OS is in the image or if it uses your existing OS...

i can only hope that this might point you in the right direction... i do not do virtual anythings... i can only tell you that if i tried it on one of my *nix boxen, the example would not run there either because that box has no GUI environment at all...

NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted.

Reply by email

Anthony Tekatch
to duilio foschi: I'd like to wet my feet in Android programming. I followed the instructions found here…
duilio foschi wrote
I get an error as shown in http://i44.tinypic.com/2ljnssz.jpg What is wrong ?

The error:
"Exception while creating process: Executable not found: "xterm"

I've seen this if the following is set on operating systems that do not have xterm, from the main Lazarus menu:
Run -> Run parameters -> Launching application -> Use launching application

Just uncheck that box and retry.

Reply by email

duilio foschi
to Anthony Tekatch

right.

The problem was exactly what you guessed.

Now I get the following error:
http://i44.tinypic.com/who3g5.jpg

It is frustrating.

It seems that somebody did a sloppy work with this "ready" virtual box image... :)

Thank you
Duilio

2013/7/13 Anthony Tekatch :

Show quoted text 22 lines
On Sat, 13 Jul 2013 19:58:21 +0200, duilio foschi wrote: > I get an error as shown in > http://i44.tinypic.com/2ljnssz.jpg > > What is wrong ? The error: "Exception while creating process: Executable not found: "xterm" I've seen this if the following is set on operating systems that do not have xterm, from the main Lazarus menu: Run -> Run parameters -> Launching application -> Use launching application Just uncheck that box and retry. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Anthony Tekatch
to duilio foschi
duilio foschi wrote
Now I get the following error: http://i44.tinypic.com/who3g5.jpg

From your image, error:
Compiler "/usr/bin/fpc" does not support target arm-linux

I'm not too sure about that one, but you could check and set the following from the main menu first:
Project -> Project options -> Compiler Options -> Code generation -> Target platform: Target CPU family = arm

Reply by email

Samuel Herzog
to Anthony Tekatch

Hi,

I am able now to compile the example-project. (using latest codetyphon 4.41) But I am stuck on building now the final .apk file.

Here are the steps I did: ( on windows)

A) download and install code typhon from here http://www.pilotlogic.com/sitejoom/index.php/wiki/84-wiki/codetyphon-studio/80-codetyphon-download.

B) see my attached screenshots.

C) If you get any further please let me know.

Thanks.

Sam

________________________________
Von: Anthony Tekatch
An:
Gesendet: 0:45 Sonntag, 14.Juli 2013
Betreff: Re: [Lazarus] programming for Android

duilio foschi wrote
Now I get the following error: http://i44.tinypic.com/who3g5.jpg From your image, error:

? Compiler "/usr/bin/fpc" does not support target arm-linux

I'm not too sure about that one, but you could check and set the following from the main menu first:
Project -> Project options -> Compiler Options -> Code generation -> Target platform: ? Target CPU family = arm

Reply by email

duilio foschi
to Anthony Tekatch: From your image, error: Compiler "/usr/bin/fpc" does not support target arm-linux I'm not…

it seems that the project is already configured for ARM:

http://i40.tinypic.com/nz0w28.jpg

:(

Thank you
Duilio

2013/7/14 Anthony Tekatch :

Show quoted text 18 lines
On Sun, 14 Jul 2013 00:24:10 +0200, duilio foschi wrote: > Now I get the following error: > http://i44.tinypic.com/who3g5.jpg >From your image, error: Compiler "/usr/bin/fpc" does not support target arm-linux I'm not too sure about that one, but you could check and set the following from the main menu first: Project -> Project options -> Compiler Options -> Code generation -> Target platform: Target CPU family = arm -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email