Skip to content

Commit

Permalink
cleanup for Play Store release of POC justinjoy#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Cohn committed Jul 19, 2017
1 parent 2a7270d commit d8f2872
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 9 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ in Android N.
This fork is a POC that back ports the native camera2 API to Marshmallow and possibly to Lollipop devices.

It runs live camera preview on 6.0.1 Nexus 5 phone, but more experimental data is needed to understand whether
it is worth anything beyond a little excersise in abuing Android system headers.
it is worth anything beyond a little excercsise in abusing Android system headers.

BTW, the backdoor was [slammed shut](https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndk) in Android N, and same techniques are not relevant anymore for modern platforms.

Expand All @@ -22,3 +22,6 @@ Screenshots
-----------
![screenshot](screenshot.png)

Privacy Policy
==============
This app sends nothing, shares nothing, and will never do anything beyond being an experimental playground for Android Camera API.
Binary file added app/app-release.apk
Binary file not shown.
11 changes: 6 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 24
compileSdkVersion 25
buildToolsVersion "26.0.0"

defaultConfig {
applicationId 'org.freedesktop.nativecamera2'
minSdkVersion 23
targetSdkVersion 21
versionCode 1

externalNativeBuild {
ndkBuild {
Expand All @@ -24,10 +25,10 @@ android {
}

dependencies {
compile "com.android.support:support-v4:24.1.1"
compile "com.android.support:support-v13:24.1.1"
compile "com.android.support:cardview-v7:24.1.1"
compile "com.android.support:appcompat-v7:24.1.1"
compile "com.android.support:support-v4:25.3.1"
compile "com.android.support:support-v13:25.3.1"
compile "com.android.support:cardview-v7:25.3.1"
compile "com.android.support:appcompat-v7:25.3.1"
}

packagingOptions {
Expand Down
3 changes: 0 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.freedesktop.nativecamera2">
<uses-sdk
android:minSdkVersion="24"
android:targetSdkVersion="24" />
<uses-feature android:name="android.hardware.camera2.full" />
<uses-feature android:glEsVersion="0x00020000" />
<uses-permission android:name="android.permission.CAMERA" />
Expand Down
Binary file removed app/src/main/res/drawable-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file added app/src/main/res/mipmap/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d8f2872

Please sign in to comment.