Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

new components for android 9 years 11 months ago #6527

  • Ahmad
  • Ahmad's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 35
  • Thank you received: 2
Hi all

Can you add LazAndriodModuleWizard to Code Typhon?
This is "A wizard for create JNI Android loadable module (.so) in Free Pascal using DataModules "
for more detail here
and a pic from component palette here
and relative topic link in lazarus here
The following user(s) said Thank You: frederico augusto marques, Leslie

Please Log in or Create an account to join the conversation.

new components for android 9 years 11 months ago #6528

  • frederico augusto marques
  • frederico augusto marques's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 1
It will be great ! :)

Please Log in or Create an account to join the conversation.

new components for android 9 years 11 months ago #6529

  • frederico augusto marques
  • frederico augusto marques's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 1
Sternas, I think it should be a great add on for CodeTyphon. Please , consider about it.

Please Log in or Create an account to join the conversation.

new components for android 9 years 9 months ago #6800

  • Ahmad
  • Ahmad's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 35
  • Thank you received: 2
Hi all
How can I use this component in typhon?

Here is a help to install this component on Lazarus and use with laz4android, but I'm use Typhon.
I follow this tutorial but cannot compile any demos.
Because return this error:




Compile Project, OS: android, CPU: arm, Target: C:\lazandroidmodulewizard-master\demos\Eclipse\AppBroadcastReceiverDemo1\libs\armeabi\libcontrols.so: Exit code 1, Errors: 1, Hints: 8
unit1.pas(21,62) Hint: Parameter "intent" not used
unit1.pas(9,31) Hint: Unit "And_jni_Bridge" not used in unit1
unit1.pas(10,5) Hint: Unit "Laz_And_Controls_Events" not used in unit1
controls.lpr(477,37) Hint: Parameter "PEnv" not used
controls.lpr(477,52) Hint: Parameter "this" not used
controls.lpr(477,67) Hint: Parameter "pasobj" not used
controls.lpr(745,34) Hint: Parameter "reserved" not used
controls.lpr(761,37) Hint: Parameter "reserved" not used
C:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-androideabi-ld.bfd.exe: cannot find crtbegin_so.o
C:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-androideabi-ld.bfd.exe: cannot find -ljnigraphics
C:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-androideabi-ld.bfd.exe: cannot find -lc
C:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-androideabi-ld.bfd.exe: cannot find -lc
controls.lpr(850,15) Error: Error while linking

There isn't anybody to help me?

Note: I want upgrade code templates with Tools>Android Module Wizard> Upgrade Code Templates [*.lpr,*.java] menu, but this is show the below error:



and when I copy and replace App.java from C:\lazandroidmodulewizard-master\demos\Eclipse\AppActionBarTabDemo1\src\com\example\appactionbartabdemo1 into c:\program files\java\jdk1.6.0_25 change error window to below:



Any solution, tutorial?

Please Log in or Create an account to join the conversation.

Last edit: by Ahmad.

new components for android 9 years 8 months ago #6918

  • Michal
  • Michal's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 1
These components can be managed to be joined to the Typhon. are free and are working well with Delphi. Full source.

sourceforge.net/projects/dpfdelphiandroid/

Please Log in or Create an account to join the conversation.

Last edit: by Michal.

new components for android 9 years 1 month ago #8372

  • Leslie
  • Leslie's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
+1 one for LazAndriodModuleWizard

Please Log in or Create an account to join the conversation.

new components for android 4 years 4 months ago #14889

  • Ali
  • Ali's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0

Please Log in or Create an account to join the conversation.

Last edit: by Ali.

new components for android 4 years 4 months ago #14890

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
We can't put this library to CT
The BIG problem for us is
REQUIREMENTS:

	1. Java JDK 1.8  
	2. Gradle 4.4.1 [or up] + Internet Connection!
	3. Android SDK "plataforms" 28 + "build-tools" 28.0.3   [Min "target" need by Google Play Store]
	4. Android SDK/Extra  "Support Repository"
	5. Android SDK/Extra  "Support Library"
	6. Android SDK/Extra  "Google Repository"
	7. Android SDK/Extra  "Google Play Services"

Some of the above items break CodeTyphon "Freedom Manifest" and "Security Manifest".
Android use a "Closed Application Distribution Model" and this is a problem for us.

End CT user can use this library,
but my suggestion: it's better to use Android Studio...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1