Recent

Author Topic: First steps of LCL-Android are ready  (Read 119375 times)

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
First steps of LCL-Android are ready
« on: August 09, 2011, 11:18:40 am »
I am happy to announce that the basic infra-structure for a LCL-Android widgetset is done, and this includes:

* An example LCL-Android application: http://wiki.lazarus.freepascal.org/Android_Interface#Compiling_the_example_LCL-Android_Application
* An application which automatically generates bindings for the Android SDK
* Basic widgetset implementation for TForm and TButton

To create new LCL-Android applications one should first make sure that he can compile the example application and install and run it. Then copy it, modify all the ANT build files to the new project, change the Java files package name, add an icon, application name, etc, and it is should be ready. Of course, not much is implemented in the LCL-Android at this moment, so one will need to send patch for the LCL-Android to get things running =)

The LCL-Android uses native widgets at the moment, but complex widgets without a compatible Android equivalent will be implemented using an OpenGL surface and a control from the Custom Drawn Package.

Basically I just though it would be good to anounce that the LCL-Android achieved a milestone and that at this point it is rather easy for people to contribute to this project because the basic infrastructure is ready. Basically this means that contributors are welcome ;)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: First steps of LCL-Android are ready
« Reply #1 on: August 09, 2011, 11:34:40 am »
Good work, Felipe, and a very subtle invitation  :)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

herux

  • Full Member
  • ***
  • Posts: 102
Re: First steps of LCL-Android are ready
« Reply #2 on: August 09, 2011, 04:21:32 pm »
Thank for your great work felipe.

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
Re: First steps of LCL-Android are ready
« Reply #3 on: August 09, 2011, 04:53:52 pm »
+1 +1 +1  :)
-Michael

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Re: First steps of LCL-Android are ready
« Reply #4 on: August 09, 2011, 08:55:39 pm »
Great show Felipe.  ;D
If the Android connection for Lazarus grows up, it opens a huge market area for Lazarus and free Pascal as Android rules in the phone world now.
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: First steps of LCL-Android are ready
« Reply #5 on: August 09, 2011, 09:16:21 pm »
 :o Amazing Felipe,

Very good news, looks very promising  :)


Regards,

mac.1

  • Newbie
  • Posts: 6
Re: First steps of LCL-Android are ready
« Reply #6 on: August 09, 2011, 09:23:02 pm »
Great.

I've been thinking about whether buy an Samsung Galaxy S2 or not.
But creating own App's would be really cool :D

gropelo

  • Newbie
  • Posts: 1
Re: First steps of LCL-Android are ready
« Reply #7 on: August 09, 2011, 11:47:41 pm »
Very good job Felipe!  :D

nicke85

  • Jr. Member
  • **
  • Posts: 92
  • #13#10
Re: First steps of LCL-Android are ready
« Reply #8 on: August 10, 2011, 12:29:52 am »
This is amazing.Excellent work Felipe :)
ArchLinux X64 (XFCE) & Windows 7 SP1 Ultimate X64
FPC 2.7.1 / Lazarus 1.1 / ZeosDBO / fortes4lazarus -- all svn

kukingdom

  • Newbie
  • Posts: 1
Re: First steps of LCL-Android are ready
« Reply #9 on: August 10, 2011, 11:23:49 am »
Great!    ;D
However,Java still seems to rule in the phone world,
so why not creat a phone system used Pascal??!!! 
debugging... ...

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: First steps of LCL-Android are ready
« Reply #10 on: August 10, 2011, 11:35:36 am »
so why not creat a phone system used Pascal??!!!

Just give me 1 billion dollars and I might ;)

Just joking, but seriously, only a huge company can do that.

Laksen

  • Hero Member
  • *****
  • Posts: 724
    • J-Software
Re: First steps of LCL-Android are ready
« Reply #11 on: August 10, 2011, 06:21:51 pm »
so why not creat a phone system used Pascal??!!!

Just give me 1 billion dollars and I might ;)

Just joking, but seriously, only a huge company can do that.
Just give me some help and I might :)

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: First steps of LCL-Android are ready
« Reply #12 on: August 11, 2011, 12:22:42 am »
C'est formidable Felipe!
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

BlueIcaro

  • Hero Member
  • *****
  • Posts: 791
    • Blog personal
Re: First steps of LCL-Android are ready
« Reply #13 on: August 11, 2011, 12:31:53 am »
Great Work !!!
so why not creat a phone system used Pascal??!!!

Just give me 1 billion dollars and I might ;)

Just joking, but seriously, only a huge company can do that.
Felipe, if you have the 1 billon dollars, call me, I will work for you, only for 250.000 € per year  ;)

/BlueIcaro

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: First steps of LCL-Android are ready
« Reply #14 on: August 11, 2011, 11:25:16 am »
Now TButton, TStaticText, TEdit, TCheckBox and TComboBox have minimal implementations. Button OnClick already works.

 

TinyPortal © 2005-2018