Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App bundling #137

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions aosp_bundler.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# example applications
mkdir -p ../aosp/packages/apps/DappExample
cp examples/DappExample/app/Android.bp ../aosp/packages/apps/DappExample/
cp -r examples/DappExample/app/src ../aosp/packages/apps/DappExample/

8 changes: 8 additions & 0 deletions examples/DappExample/app/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
android_app {
name: "DappExample",
certificate: "platform",
manifest: "src/main/AndroidManifest.xml",
srcs: ["src/main/java/**/*.java", "src/main/java/**/*.kt"],
android_resource_dirs: ["src/main/res"],
enabled: true,
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.serviceexample
package com.example.ServiceExample

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.serviceexample
package com.example.ServiceExample

import android.content.Intent
import android.os.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.serviceexample
package com.example.ServiceExample

import android.app.Service
import android.content.Intent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<fragment
android:id="@+id/FirstFragment"
android:name="com.example.serviceexample.FirstFragment"
android:name="com.example.ServiceExample.FirstFragment"
android:label="@string/first_fragment_label"
tools:layout="@layout/fragment_first">

Expand All @@ -17,7 +17,7 @@
</fragment>
<fragment
android:id="@+id/SecondFragment"
android:name="com.example.serviceexample.SecondFragment"
android:name="com.example.ServiceExample.SecondFragment"
android:label="@string/second_fragment_label"
tools:layout="@layout/fragment_second">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.serviceexample
package com.example.ServiceExample

import org.junit.Test

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.

This file was deleted.

Binary file not shown.
2 changes: 0 additions & 2 deletions examples/rust-example/android/.gradle/config.properties

This file was deleted.

Binary file not shown.
Empty file.
3 changes: 0 additions & 3 deletions examples/rust-example/android/.idea/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/rust-example/android/.idea/.name

This file was deleted.

6 changes: 0 additions & 6 deletions examples/rust-example/android/.idea/compiler.xml

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions examples/rust-example/android/.idea/gradle.xml

This file was deleted.

6 changes: 0 additions & 6 deletions examples/rust-example/android/.idea/kotlinc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions examples/rust-example/android/.idea/migrations.xml

This file was deleted.

9 changes: 0 additions & 9 deletions examples/rust-example/android/.idea/misc.xml

This file was deleted.

Loading
Loading