* * *

Author Topic: Android Module Wizard  (Read 394925 times)

ocloma

  • Newbie
  • Posts: 4
Re: Android Module Wizard
« Reply #1020 on: April 02, 2018, 07:07:42 pm »
Very nice work! Thanks!

jmpessoa

  • Hero Member
  • *****
  • Posts: 1081
Re: Android Module Wizard
« Reply #1021 on: April 02, 2018, 10:09:40 pm »

Hi All!

There is new major LAMW 0.8 version!

ref.   https://github.com/jmpessoa/lazandroidmodulewizard

   NEW! "AppCompat" material theme support!
   NEW! "Android Bridges Support" component palete to support "AppCompat" material theme!
      NEW! jsDrawerLayout component
      NEW! jsNavigationView component
      NEW! jsCoordinatorLayout component
      NEW! jsAppBarLayout component
      NEW! jsCollapsingToolbarLayout component
      NEW! jsToolbar component
      NEW! jsTabLayout component
      NEW! jsNestedScrollView component
      NEW! jsRecyclerView component
      NEW! jsViewPager component
      NEW! jsCardView component
      NEW! jsFloatingButton component
      NEW! jsBottomNavigationView component
      NEW! jsTextInput component

   NEW! demo AppCompatFloatingButtonDemo1
   NEW! demo AppCompatViewPagerDemo1
   NEW! demo AppCompatNavigationDrawerDemo1
   NEW! demo AppCompatCollapsingToolbarDemo1
   NEW! demo AppCompatTabLayoutDemo1
   NEW! demo AppCompatTabLayoutDemo2

   NEW! jDBListView component by Martin Lowry [Thanks!]
   NEW! demo AppDBGridViewDemo1  by Martin Lowry [Thanks!]

   REQUIREMENTS:

      [LAMW 0.8] "AppCompat" [material] theme need:

      1. Java JDK 1.8

      2. Gradle 4.1 + Internet Connection!
      https://gradle.org/next-steps/?version=4.1&format=bin
      Simply extract the zip file to a convenient location...

      3. Android SDK "plataforms" 25 + "build-tools" 25.0.3 [or]
      3. Android SDK "plataforms" 26 + "build-tools" 26.0.3 [or]
      3. Android SDK "plataforms" 27 + "build-tools" 27.0.3
      4. Android SDK/Extra  "Support Repository"
      5. Android SDK/Extra  "Support Library"
      
      Hint. [Gradle] If your connection has a proxy, edit the "gradle.properties" file content. Example:
 
         systemProp.http.proxyHost=10.0.16.1
         systemProp.http.proxyPort=3128
         systemProp.https.proxyHost=10.0.16.1
         systemProp.https.proxyPort=3128

Thanks to All!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

arirod

  • New member
  • *
  • Posts: 12
Re: Android Module Wizard
« Reply #1022 on: April 04, 2018, 07:36:40 am »
srs. sobre a release 0.8...instalacao WayneSherman
crio um projeto novo GUI, com apenas um botao sem eventos
quando executo "Build Android APK and Run"...retorna erros que nao consegui resolver...peço orientacoes!
//------------------
Messages, Hints: 2
Verbose: Selected chip architecture: armeabi-v7a
Verbose: Taking libraries from folder: /home/aeondc/lamw-projetos/proj2/libs/armeabi-v7a
Verbose: Found library: libcontrols.so
Note: Duplicate unit "controls" in "controls", orphaned ppu "/home/aeondc/lamw-projetos/proj2/obj/controls/controls.o"
Note: Duplicate unit "controls" in "LCLBase 1.9", ppu="/home/aeondc/fpcupdeluxe/lazarus/lcl/units/arm-android/controls.ppu", source="/home/aeondc/fpcupdeluxe/lazarus/lcl/controls.pp"
Compile Project, OS: android, CPU: arm, Target: /home/aeondc/lamw-projetos/proj2/libs/armeabi-v7a/libcontrols.so: Success
Building APK (Gradle)... : Exit code 256, Errors: 2
Panic: xfce4-terminal: Opção desconhecida "clean"
Panic: tool stopped with exit code 256. Use context menu to get more information.
Exception, Errors: 1
Fatal: [Exception] Failed: Cannot build APK!
//------------------
obrigado!

WayneSherman

  • New member
  • *
  • Posts: 24
Re: Android Module Wizard
« Reply #1023 on: April 05, 2018, 01:26:11 am »
Quote
Building APK (Gradle)... : Exit code 256, Errors: 2
Panic: xfce4-terminal: Opção desconhecida "clean"
Panic: tool stopped with exit code 256. Use context menu to get more information.
Exception, Errors: 1
Fatal: [Exception] Failed: Cannot build APK!

Some things to check and try:
1) Make sure you have gradle installed according to the instructions (see section 3.4. Environment variables)
2) Edit gradle_local_build.sh to correct errors. (possibly all you need is one line:  gradle clean build --info)
3) Give gradle_local_build.sh execute permission
4) Try running gradle_local_build.sh from a command line.


« Last Edit: April 05, 2018, 01:29:54 am by WayneSherman »

arirod

  • New member
  • *
  • Posts: 12
Re: Android Module Wizard
« Reply #1024 on: April 05, 2018, 07:57:41 pm »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1081
Re: Android Module Wizard
« Reply #1025 on: April 05, 2018, 11:21:55 pm »

Muito Bom, Ari!

Obrigado!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

WayneSherman

  • New member
  • *
  • Posts: 24
Re: Android Module Wizard
« Reply #1026 on: April 06, 2018, 01:08:17 am »
I didn't understand everything, but good job on the tutorial.

mr-highball

  • Newbie
  • Posts: 2
Re: Android Module Wizard
« Reply #1027 on: April 16, 2018, 07:47:33 pm »
First, this is a wonderful project, and I appreciate all the work you have put into it.

I'd like to see if there has been any thoughts/progress on background services?
Last year you mentioned there was no support for services, but I figured things can change in a year :)
https://forum.lazarus.freepascal.org/index.php/topic,36201.msg240997.html#msg240997

Embarcadero's approach to android services
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Android_Service
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Creating_Android_Services

I recently just stumbled upon LAMW so pardon if this has been asked/answered before.
Thanks for your time,
« Last Edit: April 16, 2018, 07:50:00 pm by mr-highball »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1081
Re: Android Module Wizard
« Reply #1028 on: April 17, 2018, 01:53:57 am »
Hello, Mr-Highball!

Sorry...  but  LAMW  do not support  custom user defined service, yet ...

[The LAMW 0.8    development focus  was "material design" and "support libraries" ....]

Now,  I will can try some approach to support "custom user defined service" ....

Until there, if you have some need for a specific service, I can try help you!

Thank you!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

mr-highball

  • Newbie
  • Posts: 2
Re: Android Module Wizard
« Reply #1029 on: April 17, 2018, 06:03:34 pm »
Thank you for the reply! I thought as such, but I figured I would ask. I don't have a specific need now, but I like to tinker, so something may come up in the future.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus