android/tutorial3: De-SDKify everything a bit more

TODO: The application icon
This commit is contained in:
Sebastian Dröge 2016-06-22 00:51:31 +03:00
parent 39c4835473
commit 01735c3208
5 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.gst_sdk_tutorials.tutorial_3"
package="org.freedesktop.gstreamer.tutorials.tutorial_3"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>

View file

@ -328,7 +328,7 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) {
__android_log_print (ANDROID_LOG_ERROR, "tutorial-3", "Could not retrieve JNIEnv");
return 0;
}
jclass klass = (*env)->FindClass (env, "com/gst_sdk_tutorials/tutorial_3/Tutorial3");
jclass klass = (*env)->FindClass (env, "org/freedesktop/gstreamer/tutorials/tutorial_3/Tutorial3");
(*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
pthread_key_create (&current_jni_env, detach_current_thread);

View file

@ -36,10 +36,10 @@
android:text="@string/button_stop" />
</LinearLayout>
<com.gst_sdk_tutorials.tutorial_3.GStreamerSurfaceView
<org.freedesktop.gstreamer.tutorial_3.GStreamerSurfaceView
android:id="@+id/surface_video"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal" />
</LinearLayout>
</LinearLayout>

View file

@ -1,4 +1,4 @@
package com.gst_sdk_tutorials.tutorial_3;
package org.freedesktop.gstreamer.tutorials.tutorial_3;
import android.content.Context;
import android.util.AttributeSet;

View file

@ -1,4 +1,4 @@
package com.gst_sdk_tutorials.tutorial_3;
package org.freedesktop.gstreamer.tutorials.tutorial_3;
import android.app.Activity;
import android.os.Bundle;