Recent

Author Topic: Problems with Android Module Wizard  (Read 2852 times)

imbert

  • Newbie
  • Posts: 3
Problems with Android Module Wizard
« on: November 28, 2015, 06:19:14 pm »
Hello
i'm a old Delphi user. And i try to programm my tablet under lazarus.
i install all the files to do so. After in stalling this component, the android bridge and Android bridges extra appears in Lazarus.

When i put in my code parts coming from android bridge, the application is compiled, builded, installed and it works perfectly.
But when i put parts coming from android bridge extra, the application is compiled, builded, installed and launched and closed diectly without working.

I try to find something looking like in the forum but without success.

And a second question, is it exist demos for using bluetooth and Wifi from Android bridge extra.

Lazarus, and Android Module Wizard are a very good job. Thanks for writing it ang giving it.

Thanks for your answer (sorry for my poor level in english, i'm french).

Bye.

Moby.


jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Problems with Android Module Wizard
« Reply #1 on: November 28, 2015, 07:33:59 pm »
Hello imbert!

1. Please, put your project in some open drive and I will try fix it!

2. Yes, there is many  bluetooth and Wifi  demos app [..\demos\Eclipse]
-->>"eclipse compatible projects"

you can go to "..\jni" and open the demo project in Lazarus...but before build
you need change the project paths... please see "readme.txt" how to use demos... 
 
« Last Edit: November 28, 2015, 07:35:31 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

imbert

  • Newbie
  • Posts: 3
Re: Problems with Android Module Wizard
« Reply #2 on: November 29, 2015, 01:44:34 pm »
Hi jmpessoa

thanks for your quick reply.

      2. Yes, there is many  bluetooth and Wifi  demos app [..\demos\Eclipse]
      -->>"eclipse compatible projects"

OK, I found it but i had a problem to open it. With your answer, I solve it and i see now the form and the unit.pas and i can compile a program.

      1. Please, put your project in some open drive and I will try fix it!

Now the project i try to install is one of yours without modifications and i have the same problem : the application is compiled, builded, installed, launched and closed diectly without working.

Nice to read your answer.

May be tomorrow, i try another complete install and i see the result.

Bye.

Moby.



jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Problems with Android Module Wizard
« Reply #3 on: November 29, 2015, 02:24:49 pm »

Quote
...Now the project i try to install is one of yours without modifications

Ok, the demo project can be outdated... so, you can try:

Lazarus IDE menu: Tools --->> [Lamw] Android Module Wizard --->> Upgrade Code Templates...

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

imbert

  • Newbie
  • Posts: 3
Re: Problems with Android Module Wizard
« Reply #4 on: December 06, 2015, 12:16:13 pm »
Hi jmpessoa

i remove completely the installation (android, java, lazarus, etc...), reinstall all and Upgrade Code Templates.

And now it works perfectly.

Thanks.

Moby

 

TinyPortal © 2005-2018