[Lazarus] Hints for Android

2013-04-11 Thread Santiago A.
Hello: I'm trying to start my first program in Android, due I am a pascal guy :-) , I will try it with lazarus and windows. I have found several links about, this one looks the most recent: http://wiki.freepascal.org/Android Is this the last howto or are there more interesting links in the

Re: [Lazarus] Hints for Android

2013-04-11 Thread Felipe Monteiro de Carvalho
It depends on what you want to do. When it comes to native apps, you can either make a JNI application or using the LCL. For using the LCL in Android see http://wiki.freepascal.org/Android_Interface instead of the link that you have. -- Felipe Monteiro de Carvalho --

[Lazarus] FYI: error message when building useride with non-existing package

2013-04-11 Thread Reinier Olislagers
This might be useful in case it impinges on the recent Lazarus package management changes... if not, no problem ;) Running fpcup trying to get some updates, I forgot synapse has switched repository and I had deleted the entire synapse directory - so the package is not available (and it had been

Re: [Lazarus] Hints for Android

2013-04-11 Thread leledumbo
For using the LCL in Android see http://wiki.freepascal.org/Android_Interface instead of the link that you have. The link above also applies to LCL, since quite recent 2.7.1 has pure Android support (and I've been able to build my Android apps with it) -- View this message in context:

Re: [Lazarus] Hints for Android

2013-04-11 Thread Sven Barth
Am 11.04.2013 13:54, schrieb Felipe Monteiro de Carvalho: It depends on what you want to do. When it comes to native apps, you can either make a JNI application or using the LCL. For using the LCL in Android see http://wiki.freepascal.org/Android_Interface instead of the link that you have.

[Lazarus] SQLDB, Firebird, milliseconds

2013-04-11 Thread Gabor Boros
Hi, When insert record to a Firebird database with SQLDB the millisecond part of a TIMESTAMP field is sometimes 0 sometimes 999. I use Windows XP 32bit, Firebird 2.5.2 Embedded, fixes_1_0 branch and FPC 2.6.2. Tried with a snapshot (Lazarus-1.1-40778-fpc-2.7.1-20130410-win32.exe) too but the

Re: [Lazarus] Hints for Android

2013-04-11 Thread Graeme Geldenhuys
On 2013-04-11 12:35, Santiago A. wrote: I'm trying to start my first program in Android, due I am a pascal guy :-) , I will try it with lazarus and windows. I'm about to embark in the Android world too - never done it before. I'll take a look at the FPC support, but I might just take the road

Re: [Lazarus] Hints for Android

2013-04-11 Thread Michael Schnell
On 04/11/2013 05:08 PM, Graeme Geldenhuys wrote: I'm about to embark in the Android world too - never done it before. Please let us hear about your findings. Thanks, -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Hints for Android

2013-04-11 Thread Paul Breneman
Graeme Geldenhuys wrote: On 2013-04-11 12:35, Santiago A. wrote: I'm trying to start my first program in Android, due I am a pascal guy :-) , I will try it with lazarus and windows. I'm about to embark in the Android world too - never done it before. I'll take a look at the FPC support, but I

Re: [Lazarus] Hints for Android

2013-04-11 Thread Sven Barth
Am 11.04.2013 17:38 schrieb Michael Van Canneyt mich...@freepascal.org: On Thu, 11 Apr 2013, Sven Barth wrote: Am 11.04.2013 17:08 schrieb Graeme Geldenhuys gra...@geldenhuys.co.uk : On 2013-04-11 12:35, Santiago A. wrote: I'm trying to start my first program in Android, due I am

[Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Lubos Pintes
Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SQLDB, Firebird, milliseconds

2013-04-11 Thread José Mejuto
El 11/04/2013 17:06, Gabor Boros escribió: Hi, When insert record to a Firebird database with SQLDB the millisecond part of a TIMESTAMP field is sometimes 0 sometimes 999. I use Windows XP 32bit, Firebird 2.5.2 Embedded, fixes_1_0 branch and FPC 2.6.2. Tried with a snapshot

Re: [Lazarus] Hints for Android

2013-04-11 Thread José Mejuto
El 11/04/2013 17:08, Graeme Geldenhuys escribió: Also, do you know if one needs to pay Google to develop and publish Android apps... eg: like the $99 per year per developer for iOS and Apps Store privileges? Hello, You must pay $25 for your developer account in the Google Play Store and it

Re: [Lazarus] Hints for Android

2013-04-11 Thread dev . dliw
Hi, 1. Google Playstore http://support.google.com/googleplay/android-developer/answer/113468?hl=en You must register to be able to distribute your products through Google Play. There is a one time $25 registration fee charged for a Google Play Developer Console account. 2. Android

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. If you have a selection it goes to the end of that selection. Of course in order for that to do something you need to go away from the end of the selection

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:41, Martin wrote: On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. If you have a selection it goes to the end of that selection. Of course in order for that to do something you need to go

Re: [Lazarus] Hints for Android

2013-04-11 Thread Graeme Geldenhuys
On 2013-04-11 16:35, Sven Barth wrote: With FPC 2.7.1 you can use native and JVM based development. I guess I have lots to learn. :) I thought all Android apps are Java (JVM) based? What is the difference between Native and JVM Android apps? Does Android have a X11 server? The

Re: [Lazarus] Hints for Android

2013-04-11 Thread Graeme Geldenhuys
On 2013-04-11 17:15, José Mejuto wrote: You must pay $25 for your developer account in the Google Play Store and it is permanent. Thanks. What a bargain compared to Apple! But then, did we expect anything else from Apple... no! Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. Note that in 1.1 (trunk) this key combo is broken: http://bugs.freepascal.org/view.php?id=24008 But the feature can be used by changing either of the

Re: [Lazarus] SQLDB, Firebird, milliseconds

2013-04-11 Thread Gabor Boros
Hello, Maybe related to: http://bugs.freepascal.org/view.php?id=17199 Fixed in 2.7.1. I see that bug in the Bug Tracker but my problem appear with snapshot from yesterday. Gabor -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Hints for Android

2013-04-11 Thread Reimar Grabowski
On Thu, 11 Apr 2013 17:48:40 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Does Android have a X11 server? No. There is a project in beta stage implementing one in Java on Google play, but it does not look like it is ready for serious work. Still not really sure the difference

Re: [Lazarus] Hints for Android

2013-04-11 Thread Santiago A.
El 11/04/2013 18:22, dev.d...@gmail.com escribió: 2. Android development I myself used fpc-jvm, its really great to see it working on a real device - really good job.. ... but for starters it's really the best thing to start with java as there are much more information / samples / docs

Re: [Lazarus] SQLDB, Firebird, milliseconds

2013-04-11 Thread Ludo Brands
On 04/11/2013 07:04 PM, Gabor Boros wrote: Hello, Maybe related to: http://bugs.freepascal.org/view.php?id=17199 Fixed in 2.7.1. I see that bug in the Bug Tracker but my problem appear with snapshot from yesterday. Gabor Could you test revision 24225? This should be fixed. Ludo

Re: [Lazarus] Hints for Android

2013-04-11 Thread dev . dliw
Learn to program Android with Java, and later, if you want, give a try with FPC Yes, that's IMHO the easiest way to go - if you want to learn Android and create classical apps. For other use cases (porting from WinCE, low level task with almost no GUI, 3D,...) native activity or LCL-Android

Re: [Lazarus] Hints for Android

2013-04-11 Thread dev . dliw
Just to clarify: I wrote: Eclipse with google's adb Sorry, of course ADT was meant... http://developer.android.com/tools/sdk/eclipse-adt.html d.l.i.w -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Lubos Pintes
Thank you for clarifying this. One of my ideas was that it could be a bug. Dňa 11. 4. 2013 19:01 Martin wrote / napísal(a): On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. Note that in 1.1 (trunk) this

Re: [Lazarus] Hints for Android

2013-04-11 Thread Sven Barth
On 11.04.2013 18:22, dev.d...@gmail.com wrote: Hi, 1. Google Playstore http://support.google.com/googleplay/android-developer/answer/113468?hl=en You must register to be able to distribute your products through Google Play. There is a one time $25 registration fee charged for a Google Play

Re: [Lazarus] Hints for Android

2013-04-11 Thread Sven Barth
On 11.04.2013 18:48, Graeme Geldenhuys wrote: On 2013-04-11 16:35, Sven Barth wrote: With FPC 2.7.1 you can use native and JVM based development. I guess I have lots to learn. :) I thought all Android apps are Java (JVM) based? What is the difference between Native and JVM Android apps?

Re: [Lazarus] SQLDB, Firebird, milliseconds

2013-04-11 Thread Gabor Boros
2013.04.11. 19:45 keltezéssel, Ludo Brands írta: Could you test revision 24225? This should be fixed. Ludo Working properly. Thank You! Gabor -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org