Forum > Android

Preparing my Stack for Android and Blockchain

(1/13) > >>

Webdrifter:
Hello,

I want to make a client program for mobile phones.

I want to start with android as the target OS,
and maybe later when program catches on I want to have it run
on Windows and IOS also.

The clients have to communicate with a server program which I want to run on a windows 7 for now, since that is what I have running on my laptop. But later on it will have to run on Windows server 2019, and when it really catches on it will have to run on Linux or FreeBSD.

On the server I will have to run a PostgreSQL database.

The server will have tot create smartcontracts with the clients,
for this I wish to create a blockchain with Hyperledger Sawtooth.
I want to program this blockchain using DAML (and maybe I will also need to make use of Rosetta ?).

These contract must result in real payments between clients and server.
For this I would like to use Ethereum (and maybe bitcoin).

And as you can guess, I would like to work as much as possible using FreePascal (unless you all advise me it's better to use another language).

I have Freepascal, Lazarus, MS Visual Code and Android Studio installed on my laptop. I also have JRE 8.0.3110.11 (32- and 64-bit) and Gradle 7.2 installed. All of them installed using the free version of Chocolatey (standard install using the GUI).

Can you guys tell me please what for me would be the best way to go forward in preparing my laptop for this project (especially preparing Lazarus for Android)?

(I tried to read up on this in the forum and on the Wiki. But It only confuses me.)

Off course well explained Ideas on changing or improving the stack for this project are always welcome.

But mostly I need step by step plan for installing the needed stack in the best way!

Thanks in  advance. 

engkin:
I would suggest LAMW:
https://github.com/jmpessoa/lazandroidmodulewizard

Read its LAMW_Getting_Started.txt

Webdrifter:
As said i had already installed:

.   Freepascal 3.0.4
.   Lazarus 2.0.12
.   MS Visual Code 1.61.2
.   Android Studio 2020.3.25
.   JRE 8.0.3110.11 (32- and 64-bit)
.   Gradle 7.2

I have now also installed (using Chocolatey):

.   Android SDK 26.1.1
.   Android NDK 21.5
.   Ant 1.10.12
.   NVM 1.1.5

https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/LAMW_Getting_Started.txt

Next speaks of 4 options:

.Option 1) Laz4Android
.Option 2) Fpcupdeluxe
.Option 3) LAMW Manager
.Option 4) Lazarus + FPC 3.2.0

Which should I choose (Considering my previously mentioned wishes and actions)?

Or should I first do something else?






jmpessoa:


--- Quote ---Which should I choose ...

--- End quote ---

Any,  but:

 "LAMW Manager" will do a COMPLETE Laz4Android for you!
installing all necessary dependencies (JDK, SDK, GRADLE, ANT,  LAMW....!



Webdrifter:

--- Quote from: jmpessoa on October 30, 2021, 12:49:54 am ---

--- Quote ---Which should I choose ...

--- End quote ---

Any,  but:

 "LAMW Manager" will do a COMPLETE Laz4Android for you!
installing all necessary dependencies (JDK, SDK, GRADLE, ANT,  LAMW....!

--- End quote ---

OK but as said above, I have most of that already installed through Chocolatey, and I wish to do that as much as possible.
Because this helps me to keep everything up to date more easily.

So from that point off view, what would be best next steps to take?

Navigation

[0] Message Index

[#] Next page

Go to full version