android sdk, java и gradle устанавливаются автоматически. Нужные компоненты sdk устанавливаются автоматически. Кажется, мы близки к тому чтобы иметь нормальную разработку под андроид
https://github.com/lunardoesdev/lampo
https://github.com/lunardoesdev/lampo
GitHub
GitHub - lunardoesdev/lampo
Contribute to lunardoesdev/lampo development by creating an account on GitHub.
не помню упоминал ли но очень полезная штука byedroid, хочу попробовать в деле когда-нибудь https://github.com/cesarferreira/byedroid
GitHub
GitHub - cesarferreira/byedroid: Terminal UI for Android development — build, install, run, and stream logcat without leaving your…
Terminal UI for Android development — build, install, run, and stream logcat without leaving your keyboard - cesarferreira/byedroid
А вы знали, что mise может устанавливать из github releases?
mise use -g github:Genymobile/scrcpy
мощная js библиотека для отрисовки текста в canvas https://pretextjs.net/
PretextJS
Pretext — JavaScript Text Measurement Without DOM Reflow
Pretext is a pure TypeScript text layout library by ex-React core member Cheng Lou. It bypasses browser layout reflow and measures text 300-600x faster than DOM methods.
Devlog 2 - generating android signing key
To upload my app, i need to generate signing key:
And upload certificate using my signing key:
build aab:
sign aab:
now this aab is signed.
we can verify that:
there are some warnings, but it’s good.
weird additions
store requires to pack keystore and certificate and send to them, which by the way breaks any sense since we are basically sending our private key to the store. Anyways, lets pack our keystore for uploading:
key password is same as store password
do note I used $HOME instead of ~ because otherwise java thinks it’s just ~ symbol, not home path, and command breaks.
To upload my app, i need to generate signing key:
keytool -genkey -v -keystore ~/lunatic-release-key.jks \
-alias lunatic-alias \
-keyalg EC \
-groupname secp256r1 \
-validity 109500 \
-dname "CN=Lunatic, O=Lunatic, C=US"
And upload certificate using my signing key:
keytool -export -rfc -keystore ~/lunatic-release-key.jks \
-alias lunatic-alias \
-file ~/upload_certificate.pem
build aab:
gradle bundleRelease
sign aab:
jarsigner -keystore ~/lunatic-release-key.jks /path/to/release.aab lunatic-alias
now this aab is signed.
we can verify that:
jarsigner -verify /path/to/file.aab
there are some warnings, but it’s good.
weird additions
store requires to pack keystore and certificate and send to them, which by the way breaks any sense since we are basically sending our private key to the store. Anyways, lets pack our keystore for uploading:
java -jar pepk.jar \
--keystore=$HOME/lunatic-release-key.jks \
--alias=lunatic-alias \
--output=$HOME/pepk_out.zip \
--encryptionkey=encryption-key-provided-by-store \
--include-cert
key password is same as store password
do note I used $HOME instead of ~ because otherwise java thinks it’s just ~ symbol, not home path, and command breaks.
devlog 3 f-droid preparations
My next task is to publish my flashlight app to f-droid to become popular and finally get my job sometime.
https://f-droid.org/docs/Submitting_to_F-Droid_Quick_Start_Guide/
So they want you to clone https://gitlab.com/fdroid/fdroidserver
then pass it as a volume to their registry.gitlab.com/fdroid/fdroidserver:buildserver container… as a cache probably?
and also clone https://gitlab.com/fdroid/fdroiddataand pass it as volume as well, this is where you will create your app description and recipe and then send a merge request so it will be added to f-droid
This is interactive container where you want to run the build stricltly as documented:
If any command, such as
After successful build:
They really want “New App: something“ label and [com.example] branch depending on id of your app.
My next task is to publish my flashlight app to f-droid to become popular and finally get my job sometime.
https://f-droid.org/docs/Submitting_to_F-Droid_Quick_Start_Guide/
So they want you to clone https://gitlab.com/fdroid/fdroidserver
then pass it as a volume to their registry.gitlab.com/fdroid/fdroidserver:buildserver container… as a cache probably?
and also clone https://gitlab.com/fdroid/fdroiddataand pass it as volume as well, this is where you will create your app description and recipe and then send a merge request so it will be added to f-droid
docker run --rm -itu vagrant --entrypoint /bin/bash \
-v ~/fdroiddata:/build:z \
-v ~/fdroidserver:/home/vagrant/fdroidserver:Z \
registry.gitlab.com/fdroid/fdroidserver:buildserver
This is interactive container where you want to run the build stricltly as documented:
. /etc/profile
export PATH="$fdroidserver:$PATH" PYTHONPATH="$fdroidserver"
export JAVA_HOME=$(java -XshowSettings:properties -version 2>&1 > /dev/null | grep 'java.home' | awk -F'=' '{print $2}' | tr -d ' ')
cd /build
fdroid readmeta
fdroid rewritemeta com.example
fdroid checkupdates --allow-dirty com.example
fdroid lint com.example
fdroid build com.example
If any command, such as
fdroid readmeta, returns an error, edit ~/fdroiddata/metadata/com.example.ymlaccordingly and try running the command again.After successful build:
exit # (from container)
cd ~/fdroiddata
git add metadata/com.example.yml
git commit -m "New App: com.example"
git push origin com.example
They really want “New App: something“ label and [com.example] branch depending on id of your app.
f-droid.org
Submitting to F-Droid Quick Start Guide | F-Droid - Free and Open Source Android App Repository
This is a step-by-step guide for packaging an app for F-Droid. It is apparently the best way to get an app into the repository, since you can provide a direc...
👍1
по всем гайдам собрал и оформил мерж реквест в f-droid https://gitlab.com/fdroid/fdroiddata/-/merge_requests/40959
❤1
https://izzyondroid.org/docs/general/Fastlane/ у izzyondroid лучше документация, попробую когда-нибудь к ним опубликоваться раз f-droid больше не нужны разработчики
izzyondroid.org
Fastlane - IzzyOnDroid
Fastlane Documentation
https://codeberg.org/IzzyOnDroid/repodata/issues/303 пробую публиковаться в IzzyOnDroid
Codeberg.org
[AppRequest] <App Name>
### Guidelines
- [x] I am the developer of the app. (If not, please explain the developer's stance on this inclusion request in the Further Notices section.)
- [x] The app complies with the [App Inclusion Policy](https://izzyondroid.org/docs/general/App…
- [x] I am the developer of the app. (If not, please explain the developer's stance on this inclusion request in the Further Notices section.)
- [x] The app complies with the [App Inclusion Policy](https://izzyondroid.org/docs/general/App…
можно добавить мой фонарик через obtainium: добавьте в него https://github.com/lunardoesdev/lampo
https://codeberg.org/IzzyOnDroid/repodata/issues/303#issuecomment-17937140 не приняли меня в izzyOnDroid тоже, не хочу пытаться врать и догадываться а какой уровень использования ИИ допустим и высчитывать на сколько процентов я следую их правилам
Codeberg.org
[AppRequest] <App Name>
### Guidelines
- [x] I am the developer of the app. (If not, please explain the developer's stance on this inclusion request in the Further Notices section.)
- [x] The app complies with the [App Inclusion Policy](https://izzyondroid.org/docs/general/App…
- [x] I am the developer of the app. (If not, please explain the developer's stance on this inclusion request in the Further Notices section.)
- [x] The app complies with the [App Inclusion Policy](https://izzyondroid.org/docs/general/App…
создал тему на 4pda для своего приложения https://4pda.to/forum/index.php?showtopic=1123392
4pda.to
Lampo - 4PDA
Lampo, Фонарик
если вы хотели использовать zig как компилятор в вашем cmake, есть замечательный проект https://github.com/tayne3/zig-toolchain.cmake
GitHub
GitHub - tayne3/zig-toolchain.cmake: ⚡ Use Zig compiler in CMake projects. Simplify cross-compilation.
⚡ Use Zig compiler in CMake projects. Simplify cross-compilation. - tayne3/zig-toolchain.cmake
понятный пример как делать портативные линукс бинарники https://github.com/pkgforge-dev/Anylinux-AppImages/blob/main/HOW-TO-MAKE-THESE.md#step-by-step-example
GitHub
Anylinux-AppImages/HOW-TO-MAKE-THESE.md at main · pkgforge-dev/Anylinux-AppImages
AppImages That Truly Work On Any Linux System (Even musl-libc and non-FHS systems) - pkgforge-dev/Anylinux-AppImages