Re: [Lazarus] Hints for Android

2013-04-12 Thread Felipe Monteiro de Carvalho
On Thu, Apr 11, 2013 at 5:42 PM, Sven Barth pascaldra...@googlemail.com wrote: To solve 2) basically a rewrite of the Android CustomDrawn Widgetset will be necessary... You can start your own widgetset in another directory if you don't like CustomDrawn, but in my oppinion my design is 100%

Re: [Lazarus] Hints for Android

2013-04-12 Thread Sven Barth
Am 12.04.2013 09:31, schrieb Felipe Monteiro de Carvalho: On Thu, Apr 11, 2013 at 5:42 PM, Sven Barth pascaldra...@googlemail.com wrote: To solve 2) basically a rewrite of the Android CustomDrawn Widgetset will be necessary... You can start your own widgetset in another directory if you don't

Re: [Lazarus] Hints for Android

2013-04-12 Thread Felipe Monteiro de Carvalho
On Fri, Apr 12, 2013 at 10:18 AM, Sven Barth pascaldra...@googlemail.com wrote: Every form should have it's own Activity and the global state should be mapped through an extension of the android.app.Application class. Do you have any link to the docs that say that every window should have a

Re: [Lazarus] Hints for Android

2013-04-12 Thread Graeme Geldenhuys
On 2013-04-11 20:06, Sven Barth wrote: It's Eclipse... that is enough reason for me to avoid it... You should take a look at IntelliJ IDEA - simply the best IDE I have seen. The codetools features are unbelievable. Fantastic refactoring support, excellent repository integration and loads of

Re: [Lazarus] Hints for Android

2013-04-12 Thread Felipe Monteiro de Carvalho
On Fri, Apr 12, 2013 at 10:46 AM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Do you have any link to the docs that say that every window should have a new Activity? Window does not descend from Activity. It does not look correct to me... but I will study the issue. So

Re: [Lazarus] Hints for Android

2013-04-12 Thread Sven Barth
Am 12.04.2013 10:46, schrieb Felipe Monteiro de Carvalho: On Fri, Apr 12, 2013 at 10:18 AM, Sven Barth pascaldra...@googlemail.com wrote: Every form should have it's own Activity and the global state should be mapped through an extension of the android.app.Application class. Do you have any

Re: [Lazarus] Hints for Android

2013-04-12 Thread dev . dliw
Hi, It's Eclipse... that is enough reason for me to avoid it... Hm, it's not that bad - but you love Lazarus more afterwards :) Also at least the outer cast shouldn't be necessary in my opinion. I don't know about the inner one... The expression was inside an AWTextView.setText(), I assume I

Re: [Lazarus] Hints for Android

2013-04-12 Thread José Mejuto
El 12/04/2013 11:22, Felipe Monteiro de Carvalho escribió: On Fri, Apr 12, 2013 at 10:46 AM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Do you have any link to the docs that say that every window should have a new Activity? Window does not descend from Activity. It

[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 --

Re: [Lazarus] Hints for Android

2013-04-11 Thread leledumbo
://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Hints-for-Android-tp4030495p4030498.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

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.

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

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] 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] 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] 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] 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?