× CodeTyphon Cross-Build Development, discussions and problems

Question Create apk FPC JVM project

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 5 months ago #9753 by zeljko
Replied by zeljko on topic Create apk FPC JVM project
@Sternas Stefanos
When you plan to integrate the Pandroid to CodeTyphon
For which time ?

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 5 months ago #9754 by Sternas Stefanos
Replied by Sternas Stefanos on topic Create apk FPC JVM project
Sir
we make tests now
no ETA yet

PilotLogic Architect and Core Programmer
The following user(s) said Thank You: zeljko

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago #9793 by zeljko
Replied by zeljko on topic Create apk FPC JVM project
New units AZCToolBar.pas and DemoToolbar for Pandroid
works when you rotate the device
source and apk

github.com/zeljkoc/pandroid/tree/master/example/DemoToolBar
DemoToolBar.apk

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago #9794 by zeljko
Replied by zeljko on topic Create apk FPC JVM project
DemoToolBar2 for Pandroid,
ToolBar work scroll and EditText to list
source and apk

github.com/zeljkoc/pandroid/tree/master/example/DemoToolBar2
DemoToolBar2.apk

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 3 months ago #9857 by zeljko
Replied by zeljko on topic Create apk FPC JVM project
Change source Pandroid work to CodeTyphon and GetLazarus
youtube




Add source and apk example SecondActivity

github.com/zeljkoc/pandroid/tree/master/example/SecondActivity
SecondActivity.apk

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 1 month ago #10228 by zeljko

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #10353 by zeljko
Replied by zeljko on topic Create apk FPC JVM project
mixed jvm-android and arm-android

example:
github.com/zeljkoc/pandroid/tree/master/example/DemoPModule

jvm-android: github.com/zeljkoc/pandroid/blob/master/...dule/DemoPModule.lpr
arm-android: github.com/zeljkoc/pandroid/blob/master/...src/jni/project1.lpr
PandroidModule
List Objects, Comunicaton: SetPropertyValue, GetPropertyValue, SetObjectProp

example create DataM = class(TDataModule)

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 8 months ago #10627 by zeljko
Replied by zeljko on topic Create apk FPC JVM project
jvm-android visula and
arm-android not visual

sqlite database to tablet and remote firebird server
youTube:
The following user(s) said Thank You: usbdoo

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

  • usbdoo
  • Visitor
  • Visitor
4 years 8 months ago - 4 years 8 months ago #10628 by usbdoo
Replied by usbdoo on topic Create apk FPC JVM project
jvm-android visual and
arm-android not visual


The idea is simple.
The arm Pascal can do lib for everything that is not visually.
The JVM-android use the visual components.

In the video is to show how build lib and make .jni automatically.
Through .jni JVM-android use the functions in ARM lib pascal

have fun...
Last edit: 4 years 8 months ago by usbdoo.

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

More
4 years 7 months ago #10688 by Fer Castro
Replied by Fer Castro on topic Create apk FPC JVM project
Hello

I am working with CT 6.10 (Lab) on Windows 10-64. I have been trying to create apk files using several tools (Android, Gradle, LaztoApk) but nothing until now.

Is Pandroid for CT-Windows? is it posible create APK's using thi tool running on windows?

Regards

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 7 months ago #10690 by zeljko
Replied by zeljko on topic Create apk FPC JVM project
For now only works on Linux.
The following user(s) said Thank You: Fer Castro

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

  • usbdoo
  • Visitor
  • Visitor
4 years 7 months ago #10691 by usbdoo
Replied by usbdoo on topic Create apk FPC JVM project
Fer Castro

Sir Sternas Stefanos is promised that the pandroid added CT.
It remains that we are waiting.

So when added pandroid get Lazarus can easily be added to the ct.


We can add pandroid in CT.
It is enough, to use tools to compile already in CT

However, waiting for a decision that CT pandroid added in CT.


Pandroida add support for Windows is not a lot of work

The difference is only in the procedures, to compile.

Until then, I suggest
Pandroid use in getLazarusu in linux.
Here is the use of fully automated and easy to use.
Please try, and we will help you to use you without any problems.

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

More
4 years 7 months ago #10692 by Fer Castro
Replied by Fer Castro on topic Create apk FPC JVM project
usbdoo, I really appreciate your reply.

Actualy I am using CT running in Win-10 and Mac-Yosemite. What Linux distro do You suggest I can use in order to work wwith Laz-Pandroiod? I'd like test Android cappabilities.

Thnks iin advance and best regards.

FerCastro

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

  • usbdoo
  • Visitor
  • Visitor
4 years 7 months ago - 4 years 7 months ago #10693 by usbdoo
Last edit: 4 years 7 months ago by usbdoo.

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

  • usbdoo
  • Visitor
  • Visitor
4 years 7 months ago - 4 years 7 months ago #10694 by usbdoo
Last edit: 4 years 7 months ago by usbdoo.

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

  • usbdoo
  • Visitor
  • Visitor
4 years 7 months ago #10695 by usbdoo

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

  • usbdoo
  • Visitor
  • Visitor
4 years 7 months ago - 4 years 7 months ago #10696 by usbdoo
Replied by usbdoo on topic Create apk FPC JVM project
1 step install
www.virtualbox.org/wiki/Downloads

2) Run VirtulaBox
drive.google.com/file/d/0B1xEOHsMTietekZ...U/view?usp=drive_web

with
(Debian32 pandroid Mashina)

user= usb
passw =1


user= root
passw=1



(Debian64 pandroid Mashina)
drive.google.com/file/d/0B1xEOHsMTietYnB...U/view?usp=drive_web


a lot of fun with writing android apk
Last edit: 4 years 7 months ago by usbdoo.

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

More
4 years 7 months ago #10710 by Fer Castro
Replied by Fer Castro on topic Create apk FPC JVM project
Dear usbdoo

I already have the virtual machine and I can see it is configurad with lazarus and pandroid, thank You so much.

I will try to compile and create apk files. I guess everything is in your videos, but is there an extra document where are all the configurations described? Does the virtual machine has already all the java/android packages , sdk/ndk configured?

Thanks again for the files.

Fer

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

  • usbdoo
  • Visitor
  • Visitor
4 years 7 months ago #10713 by usbdoo
Replied by usbdoo on topic Create apk FPC JVM project
yes True
Here is everything you need for programming Android.
lots of fun

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

More
4 years 7 months ago #10716 by Fer Castro
Replied by Fer Castro on topic Create apk FPC JVM project
usbdoo

I am trying to understand pandroid. I compiled 2 examples but, do You use Lazarus IDE to crete Your apps? because I can not open any form from Your projects. If You use Lazarus IDE in order to to create the base projects, I guess there is a middle step using pandroid.

To be honest I have not seen all the videos but I will soon.

Thanks again.

Fer Castro

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