GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - theleancoder/android-runtime: Android runtime for NativeScript (based on V8)

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

589 Commits
589 Commits

Folders and files

NameName
Last commit message
Last commit date
android-metadata-generator @ af196e4
android-metadata-generator @ af196e4
 
 
binding-generator
binding-generator
 
 
build
build
 
 
src
src
 
 
test-app
test-app
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CodingStyle.Cpp.xml
CodingStyle.Cpp.xml
 
 
CodingStyle.Java.xml
CodingStyle.Java.xml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
package.json
package.json
 
 

Repository files navigation

Android-Runtime

Contains the source code for the NativeScript's Android runtime.

Main Projects

The repo is structured in the following projects (ordered by dependencies):

  • android-metadata-generator - generates metadata necessary for the Android Runtime.
  • android-binding-generator - enables Java & Android types to be dynamically created at runtime. Needed by the extend routine.
  • android-runtime - contains the core logic behind the NativeScript's Android Runtime. This project contains native C++ code and needs the Android NDK to build properly.
  • android-runtime-testapp - this is a vanilla Android Application, which contains the tests for the runtime project.

Helper Projects

  • android-static-binding-generator - build tool that generates bindings based on the user's javascript code
  • android-binding-generator-tester - contains the tests for the binding-generator project.
  • build/project-template - this is an empty placeholder Android Application project, used by the NativeScript CLI when building an Android project.

Build Prerequisites

The source in this repo is organized in Eclipse projects, using the ADT plugin. Following are the needed software if you need to build the project locally.

  • Install the latest Android SDK. Set path sdk.
  • Install the ADT Plugin and the supported Eclipse version as described on the plugin page.
  • Download Android API Level 22 through the SDK Manager.
  • Download and install the Android NDK. Set path to ndk.
  • Download and install Gradle (min version 2.3) Set path to gradle.
  • Download Android Support Repository through the Android SDK Manager (needed by gradle)
  • Download Build Tools 22 through the Android SDK Manager.

How to build

  • Get the widgets jar, either from here or you can build it yourself from android-widgets repo
  • Copy the android-widgets.jar in the root directory of the runtime.
  • Run command
gradle packar -PwidgetsPath=./android-widgets.jar

or

gradle packar -PwidgetsPath=./widgets.jar

depending on the jar you use.

  • The result of the build will be in the dist folder.

How to run tests

  • Go to subfolder test-app

  • Start an emulator or connect a device.

    Note: Keep in mind the device or emulator needs to have an sdcard mounted.

  • Run command

gradle runtest

About

Android runtime for NativeScript (based on V8)

docs.nativescript.org/runtimes/android

Resources

Readme
License

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.