百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

Ejecta-X

> 编程语言
开源

快速、可扩展的 开源 JavaScript、Canvas 和音频实现

187 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

快速、可扩展的 开源 JavaScript、Canvas 和音频实现

Important: This repository is no longer maintained

Issues and pull requests will no longer be addressed. However, the doors are always open to add maintainers.

Please have a look at alternatives such as Crosswalk or Cocoon.

Ejecta-X

Ejecta is a fast, open source JavaScript, Canvas & Audio implementation for cross-platform. Think of it as a Browser that can only display a Canvas element.

More info & Documentation: http://impactjs.com/ejecta

Ejecta is published under the MIT Open Source License.

How to use

###Setup and Install for Android:

  1. Install Android NDK first.
  2. Install Android SDK then Eclipse and ADT OR, Android Studio
  3. cd then run /path/to/your/android-ndk-r9/ndk-build to compile libejecta.so and libJavaScriptCore.so
  4. Open in your favourite IDE and build.

Note for Windows users:-

Current branches no longer work on Windows after the OpenGLES update. Please use the older release https://github.com/aogilvie/Ejecta-X/releases/tag/v0.9.9-original

Sample

For an example application in the sample folder, name Ejecta-X.apk.

For XHR, remember to add `````` to the Android Manifest.

Native Events

Register for Java Events

Set an event listener on your activity as follows;

((EjectaGLSurfaceView)mGLView).setEjectaEventListener(new EjectaRenderer.EjectaEventListener() {
    @Override
    public void onCanvasCreated() {
        
	}
});

Native APIs

loadJavaScriptFile(String filename)

Will load a JavaScript file into Ejecta-X. File should be relative from assets/build/.

For example to load a file at assets/build/loadme.js would be;

((EjectaGLSurfaceView)mGLView).loadJavaScriptFile("loadme.js")

Commit to Ejecta-X

Workflow

Any kind of help is welcomed!

We work from develop branch and PR into develop branch. Stable versions are pushed from develop to master and then tagged.

Where to start?

Just pick an enchancement (feature) issue or a bug issue from the open issues list. Thanks for your help!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言