Changeset 4574
- Timestamp:
- Jul 26, 2013 5:54:33 AM (11 years ago)
- Location:
- pjproject/branches/projects/jni/pjsip-apps/src/jni
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/jni/pjsip-apps/src/jni/AndroidManifest.xml
r4571 r4574 9 9 android:targetSdkVersion="17" /> 10 10 11 <uses-permission android:name="android.permission.INTERNET" /> 12 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 13 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 14 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> 15 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 16 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 17 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 18 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 19 <uses-permission android:name="android.permission.WAKE_LOCK" /> 20 <uses-permission android:name="android.permission.VIBRATE" /> 21 <uses-permission android:name="android.permission.READ_LOGS" /> 22 <uses-permission android:name="android.permission.USE_SIP" /> 23 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 24 <uses-permission android:name="android.permission.CAMERA" /> 25 26 <uses-feature 27 android:name="android.hardware.microphone" 28 android:required="true" /> 29 11 30 <application 12 31 android:allowBackup="true" -
pjproject/branches/projects/jni/pjsip-apps/src/jni/jni/Android.mk
r4571 r4574 53 53 54 54 # Android build settings 55 LOCAL_PATH := $(call my-dir)/pjsip-apps/src/jni 55 LOCAL_PATH := $(PJDIR)/pjsip-apps/src/jni 56 include $(CLEAR_VARS) 56 57 LOCAL_MODULE := libpjsua 57 58 LOCAL_MODULE_FILENAME := libpjsua … … 60 61 LOCAL_LDLIBS := $(APP_LDLIBS) 61 62 LOCAL_SRC_FILES := $(MY_SWIG_WRAPPER).cpp $(MY_OUT_DIR)/callbacks.cpp 62 63 MY_JNI_WRAP := $(LOCAL_PATH)/$(MY_SWIG_WRAPPER).cpp64 63 65 64 jni: $(MY_JNI_LIB) java … … 99 98 $(MY_JAVA) -cp $(MY_PACKAGE_BIN) -Djava.library.path="$(MY_PACKAGE_BIN)" hello 100 99 101 $( MY_JNI_WRAP): $(MY_SWIG_WRAPPER).cpp100 $(LOCAL_PATH)/$(MY_SWIG_WRAPPER).cpp: $(MY_SWIG_WRAPPER).cpp 102 101 103 .PHONY: $(MY_JNI_WRAP) 102 $(LOCAL_PATH)/$(MY_OUT_DIR)/callbacks.cpp: $(MY_OUT_DIR)/callbacks.cpp 104 103 105 104 include $(BUILD_SHARED_LIBRARY) -
pjproject/branches/projects/jni/pjsip-apps/src/jni/jni/swig_gen.py
r4570 r4574 22 22 else: 23 23 PYCPARSER_DIR="/Library/Python/2.7/site-packages/pycparser" 24 CPP_PATH='/Users/ming/teluu/android/android-ndk-r 7c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-cpp'24 CPP_PATH='/Users/ming/teluu/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-cpp' 25 25 26 26 # CPP (C preprocessor) settings -
pjproject/branches/projects/jni/pjsip-apps/src/jni/src/org/pjsip/hello/MainActivity.java
r4571 r4574 11 11 super.onCreate(savedInstanceState); 12 12 setContentView(R.layout.activity_main); 13 14 /* Call test app here 15 String [] args = {"sip:192.168.1.49"}; 16 hello.main(args); 17 */ 13 18 } 14 19 -
pjproject/branches/projects/jni/pjsip-apps/src/jni/src/org/pjsip/hello/hello.java
r4570 r4574 1 1 /* $Id: hello.java 4566 2013-07-17 20:20:50Z nanang $ */ 2 3 package org.pjsip.hello; 2 4 3 5 import java.io.BufferedReader;
Note: See TracChangeset
for help on using the changeset viewer.