Recent

Author Topic: Android Module Wizard  (Read 566614 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #180 on: October 12, 2014, 03:10:35 pm »
Hello guys, I'm trying to follow this video guide

when I install the package lazandroidwizardpack me this error

C: \ laz4android \ components \ LazAndroidWizard \ androidwizard_intf.pas (166.15) Error: There is no method in an ancestor class to be overridden: "GetObjInspNodeImageIndex (TPersistent; LongInt var);"

I'm on windows xp
How can I fix?

thanks
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

greenzyzyzy

  • Full Member
  • ***
  • Posts: 234
Re: Android Module Wizard
« Reply #181 on: October 12, 2014, 05:05:27 pm »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1596
Re: Android Module Wizard
« Reply #182 on: October 12, 2014, 06:12:35 pm »
Hi xinyiman, please, read this:  ;D


-->> Windows Users: Get LiteZarus4Android [Lazarus 1.3 + x2nie patch [No LCLform design] + TrueTom fpc 2.7.1 cross Arm/x86/android/]



                        ::To Install, please, read the "LiteZarus4Android_readme.txt"

      Download from: [EDITED!]

                https://onedrive.live.com/redir?resid=78D6F726E8F0C522%21236

                        :: right click to download!
         
-->> Linux Users: Get Lazarus 1.3 rev >= 45216,45217 ... and fpc 2.7.1 cross /arm/x86/android ... etc

Thank you!
« Last Edit: October 12, 2014, 07:31:13 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #183 on: October 12, 2014, 07:19:10 pm »
Hi xinyiman, please, read this:  ;D


-->> Windows Users: Get LiteZarus4Android [Lazarus 1.3 + x2nie patch [No LCLform design] + TrueTom fpc 2.7.1 cross Arm/x86/android/]

                        ::To Install, please, read the "LiteZarus4Android_readme.txt"

      Download from: [EDITED!]

                https://onedrive.live.com/redir?resid=78D6F726E8F0C522%21236
         
-->> Linux Users: Get Lazarus 1.3 rev >= 45216,45217 ... and fpc 2.7.1 cross /arm/x86/android ... etc

Thank you!

Thank you!  :)
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #184 on: October 12, 2014, 09:21:34 pm »
A curiosity, if I have a project already created how can I bring up the configuration wizard for android?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

jmpessoa

  • Hero Member
  • *****
  • Posts: 1596
Re: Android Module Wizard
« Reply #185 on: October 12, 2014, 10:03:17 pm »
@xinyiman, sorry, I do Not understand! :-\

An old Eclipse project?

An old Eclipse project + LazWizardModule project?
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #186 on: October 13, 2014, 03:03:22 pm »
For example, if I want to change the setting of '"Android Module Wizard" to one of the examples that you make available to learn. How can I do?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

jmpessoa

  • Hero Member
  • *****
  • Posts: 1596
Re: Android Module Wizard
« Reply #187 on: October 13, 2014, 07:17:13 pm »
Hi xinyiman,

The example projects do not depends of the "Android Module Wizard" configuration [paths etc..]... if you install is ok, then just open the lazarus project in "\jni" folder ["controls.lpi"] .... now you can modify it!

To produce new modified android Apk

1. Just use eclipse to import the example project .... after do  "->refresh"  and "->run" it!

2. Or just use java "ant"  utility.....

Thank you!

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

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #188 on: October 14, 2014, 12:48:21 pm »
ok, but when I go to "Build" tells me that there is no output folder

C:\adt32\eclipse\workspace\AppSqliteDemo1\jni

Where do I go to change the destination folder?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

jmpessoa

  • Hero Member
  • *****
  • Posts: 1596
Re: Android Module Wizard
« Reply #189 on: October 14, 2014, 07:53:17 pm »
Hi  xinyiman,

1. Is you using eclipse?

2. You imported the project to eclipse?

3. If  (1 and 2) = yes, then open the lazarus project and "save all" to the new \jni path....

4. Go to Lazarus IDE

->Project

->Project -> Option

->Path

Change this information for correct one!

"C:\adt32\ndk7"

"C:\adt32\eclipse\workspace"

Thank You!

PS.

 
Quote
"C:\adt32\eclipse\workspace"
Is my "eclipse workspace" with I have set in  Android Module Wizard  config path dialog....
 
Quote
"C:\adt32\ndk7"
Is my "NDK" path with I have set in  Android Module Wizard  config path dialog....

What is your eclipse workspace path...?
What is your NDK path...?



« Last Edit: October 14, 2014, 08:50:45 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #190 on: October 15, 2014, 03:03:59 pm »
Ok change, but other error. Why?


Error: Path "C:\adt32\eclipse\workspace\AppSqliteDemo1\libs\armeabi\" does not exist
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Leledumbo

  • Hero Member
  • *****
  • Posts: 8262
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Android Module Wizard
« Reply #191 on: October 15, 2014, 03:08:13 pm »
Ok change, but other error. Why?


Error: Path "C:\adt32\eclipse\workspace\AppSqliteDemo1\libs\armeabi\" does not exist
Adjust those paths to YOUR installation.

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #192 on: October 15, 2014, 03:09:39 pm »
where?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Leledumbo

  • Hero Member
  • *****
  • Posts: 8262
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Android Module Wizard
« Reply #193 on: October 15, 2014, 03:34:29 pm »
where?
I don't know, it's your computer, not mine. You should know by yourself despite the hardcoded paths in the examples.

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #194 on: October 15, 2014, 03:49:43 pm »
But I have changed the paths That I have said jmpessoa but WHEN do you build tells me this.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018