apache / apache/felix-atomos

Add Example for Android auto loading on sdcard directory.

Open
#82 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
44
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Thanks for the OSGi Connect idea and implementation. Which make it possible to run bundle on android.
We are looking for a solution for common plugin framework, runing both on jvm and Android Runtime. After several hours searching I finally get to Atomos and get Android example running.

The Android Example works fine. I can see the web console page using chrome browser on Android.

But the example only demostrate, we have to put all bundles, and atomos framework, into app/lib of Android Project, **before** we can compile and get a apk.

Would anyone please share a way to make an ordinary bundle to be transformed into a Android readable zip package or aar? Inside the package, there shall be the Manifest and classex.dex which ART could read.

Contributor guide

Open the contributing guide

Research direction

Start with the existing Android Example and trace how bundles and the Atomos framework are currently placed in the Android app/lib directory before compilation. Define the packaging and loading flow for bundles from an sdcard directory, including an Android-readable package with its Manifest and classes.dex, then verify the resulting APK on Android and confirm the web console still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.