Git Product home page Git Product logo

minimalist's Introduction

Minimalist

A minimal set of file needed to create android project

Purpose

I am tired having to create project in Android Studio, or any other Studios, including Eclipse, they're slow, and eating up my RAM and CPU, and for just testing or exercise with android, these overgrown, gigantic studios are really unnecessary for me, in fact they're just standing my way.

Because I'll be using Android-x86 to compile and test, and thus learn more about android system, I firmly believe I am better off do most of the task manually.

Added a branch - IOTest

Started as a test for reading and writing to files, this one ends up with interesting writing HTML and preview it in a WebView.

With little works we can make a simple HTML editor

Example To Sign APK

My old script build.sh use apksigner, which is only available if you use termux, but I'd like to make this work using simple jarsigner command as follow:

# 1. create new keystore 

keytool -genkey \
        -alias mydomain \
        -keyalg RSA \
        -keystore KeyStore.jks \
        -keysize 2048 

# or

keytool -genkey -v \
        -keystore my-release-key.keystore \
        -alias alias_name \
        -keyalg RSA \
        -keysize 2048 \
        -validity 10000

# Then create cert CSR based on the new keystore
keytool -certreq -alias mydomain -keystore KeyStore.jks -file mydomain.csr


# Finally, sign the APK
jarsigner -verbose -keystore PATH/TO/YOUR_RELEASE_KEY.keystore \
          -storepass YOUR_STORE_PASS \
          -keypass YOUR_KEY_PASS PATH/TO/YOUR_UNSIGNED_PROJECT.apk \
          YOUR_ALIAS_NAME

# Or sign using RSA, which is less common, I guess
jarsigner -verbose -sigalg SHA1withRSA \
          -digestalg SHA1 \
          -keystore my-release-key.keystore \
          my_application.apk alias_name

Using Ace Editor

To conveniently editing text files on Android, we can use Ace Editor, or any WebView based editor, this is more convenient than using hard to use default editor on Android-x86.

minimalist's People

Contributors

adilima avatar fxadilima avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.