android开源codeeditor,GitHub - deadlyjack/code-editor: Acode - powerful text/code editor for android...

Acode editor (Code editor for android)

badge.svg

4c8393be49af394973fec3148ad1594a.png

This is a hybrid app using Apache Cordova. This app is published on play store. Check it out from here.

Note: This project is not organised and it is very hard understand the project structure. I'll try to make it clear as possible.

6dab57e19cd405cd39627ec7d6c38690.png

47bc4ca90abeca028c1dc6197a0ff350.png

Project structure

src (directory) contains all raw codes

www (directory) contains public documents, built javascript and css files, language files and HTML files

utils (directory) contains the cli tool to manipulate or add string to all languages easily

Multi language support

To add new language, create a new file with language code for android (eg. en-us for english) in www/lang/ direcotry. After adding new laguage also add it to src/constants.js -> langList.

Here are few utility tools to add, remove or search a string in all added languages.

yarn lang add

yarn lang remove

yarn lang search

yarn lang update

How to build

In order to build the app you must have Nodejs, NPM and Apache Cordova installed on your device. Use Cordova CLI to build application.

First run npm install to install all dependencies, then run webpack to build src and then run cordova build android.

If you have installed yarn you can simply run yarn build-run to build the apk and run on connect android device or emulator.

Special thanks to

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值