Skip to content
Snippets Groups Projects
Commit f4571d98 authored by alision's avatar alision
Browse files

* #26799 Modified jenkins script to build apk.

parent 465ceba1
Branches
Tags
No related merge requests found
......@@ -25,7 +25,8 @@ Check that following files are executable:
Compile pjsip-android
$ pushd jni/pjproject-android/android
$ ./configure-android --disable-sound
$ ./configure-android --disable-sound --disable-oss --disable-video --enable-ext-sound --disable-speex-aec --disable-g711-codec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-sdl --disable-ffmpeg --disable-v4l
$ make dep && make
$ popd
......
......@@ -106,17 +106,24 @@ launch_emulator() {
build_sflphone_android() {
# android update project --target $VIRTUAL_DEVICE_ID --path $ANDROID_PROJECT_PATH
echo "Compile pjandroid stack"
pushd jni/pjproject-android/android
./configure-android --disable-sound --disable-oss --disable-video --enable-ext-sound --disable-speex-aec --disable-g711-codec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-sdl --disable-ffmpeg --disable-v4l
make dep && make
popd
./make-swig.h
echo "Build JNI related libraries"
# ndk-build clean
ndk-build -j4
ndk-build
echo "Build Java application"
ant clean
ant debug
echo "Upload sflphone on the virtual device"
adb install -r $ANDROID_SFLPHONE_BIN
# echo "Upload sflphone on the virtual device"
#adb install -r $ANDROID_SFLPHONE_BIN
# ./adb-push-sflphone.sh
}
......
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/home/lisional/Dev/ADT/sdk
......@@ -172,7 +172,7 @@ public class ContactListFragment extends Fragment implements OnQueryTextListener
@Override
public void onItemClick(AdapterView<?> arg0, View v, int pos, long arg3) {
mCallbacks.onContactSelected(mListAdapter.getItem(pos));
mCallbacks.onContactSelected(mListAdapter.getItem(pos-1));
// ((SearchView) mHandle.findViewById(R.id.contact_search_text)).setIconified(true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment