mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
android/tutorial3: De-SDKify everything a bit more
TODO: The application icon
This commit is contained in:
parent
39c4835473
commit
01735c3208
5 changed files with 6 additions and 6 deletions
|
@ -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"/>
|
||||
|
|
|
@ -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 (¤t_jni_env, detach_current_thread);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
|
@ -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;
|
Loading…
Reference in a new issue