Recent

Author Topic: New bounty for Android.  (Read 7510 times)

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
New bounty for Android.
« on: July 11, 2011, 09:01:31 pm »

I have just added a new bounty for Android.
Here is the bounty link.

http://wiki.lazarus.freepascal.org/Bounties

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: New bounty for Android.
« Reply #1 on: July 13, 2011, 04:44:33 pm »
Implementing a full widgetset is a huge task which takes years .... considering this what do you think about diminishing the task to something smaller and more feasable like getting TForm, TButton and TStaticText working?

Also you should explicit which kind of Android widgetset you would like to have. There are 2 main choices:

1> A widgetset based on the native Android controls. In this case I'm afraid it might be very hard to implement TLabel, OnPaint events, etc ...

or

2> A widgetset which has its own custom drawn controls. In this case the integration with virtual keyboard for example will be problematic. It will also be a lot more work to get the first controls running.

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New bounty for Android.
« Reply #2 on: July 13, 2011, 07:02:24 pm »

Hi Felipe,
I am agree with you implementing a full widgetset is a huge task and time considering. To create the TForm, TButton, TText, TCombobox, TImage, TBitBtn could be the first to see on the first part.
also I have a plan to pay for each Android components as we can see on the Lazarus Roadmap. (depends on the component, $25-50)

So the second question is Which kind of Android widgetset I would like to have is beyond my scope and knowledge, you are the developer one and you have to decide which one is much more effective and much more Pascal side. :)
Thanks

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: New bounty for Android.
« Reply #3 on: August 08, 2011, 10:08:33 pm »
Today I made a major breakthrough and LCL-Android can already show a simple form with a button.

Not much was actually done in the LCL-Android, almost all time was consumed writing the Bindings generator, and now it is quite well advanced.

Maybe we should make a more clear scope for the first 100 dollars and then go from there. Some suggestion of changes to your requirements:

* TForm - ok, but which properties specifically do you need? Android has only full screen windows, nothing else, so BorderIcons, WindowStyle and BorderStyle are unavailable.
* TButton - ok
* TText - Does not exist, maybe you ment TLabel or TStaticText?
* TImage, TBitBtn -> Now, those are *very* hard to implement

I would suggest to change to either:

* TForm, TButton, TStaticText + 1 or 2 other simple controls, like checkbox, combobox
or
* TForm, TButton, TLabel

Because TLabel is very complex and requires a lot of Canvas drawing and control painting to be implemented. TStaticText is very simple.

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New bounty for Android.
« Reply #4 on: August 09, 2011, 05:27:12 pm »

Hi Felipe,
Firstly congratulation for the effort and make this thing real. As you mentioned the first suggestion could be more realistic for now except Can you also add the TEdit to this bet, if you dont bother you.
What is your suggestion?
Thanks.

 

TinyPortal © 2005-2018