diff --git a/res/drawable/ic_tab_play.xml b/res/drawable/ic_tab_play.xml index 73af416cdabf377ed1a1b6ce9f94af86c99e517b..2827a703247b8e6e7ee23fceca6002b844681649 100644 --- a/res/drawable/ic_tab_play.xml +++ b/res/drawable/ic_tab_play.xml @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/ic_tab_play_selected" android:state_selected="true" android:state_pressed="false" /> - <item android:drawable="@drawable/ic_tab_play_unselected" /> </selector> diff --git a/res/layout/test_layout.xml b/res/layout/test_layout.xml index 6df0a81850cbbfa4f4747d24d4cf1dea1845c114..3589611515fa6aae4048a4a4e7ce3fa2a9efe5cf 100644 --- a/res/layout/test_layout.xml +++ b/res/layout/test_layout.xml @@ -44,28 +44,12 @@ as that of the covered work. android:layout_alignParentTop="true" android:onClick="onClick" android:text="init" /> - - <Button - android:id="@+id/buttonCall" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_below="@+id/buttonInit" - android:onClick="onClick" - android:text="call" /> - - <Button - android:id="@+id/buttonTest1" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_below="@+id/buttonCall" - android:onClick="onClick" - android:text="test1" /> <TextView android:id="@+id/callVoid_text" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_below="@+id/buttonTest1" + android:layout_below="@+id/buttonInit" android:text="callVoidText" /> <Button diff --git a/src/com/savoirfairelinux/sflphone/client/ManagerImpl.java b/src/com/savoirfairelinux/sflphone/client/ManagerImpl.java index 6683582c73e3cd2709bf4a5c535a4216763cab9e..709a53f45dfd6119870666a2e53d33544c07cc4d 100644 --- a/src/com/savoirfairelinux/sflphone/client/ManagerImpl.java +++ b/src/com/savoirfairelinux/sflphone/client/ManagerImpl.java @@ -27,11 +27,6 @@ public class ManagerImpl { m.sendToTarget(); } - public static boolean outgoingCallJ(String account_id) { - Log.i(TAG, "account_id:" + account_id); - return true; - } - public String getSipLogLevel() { return sipLogLevel; } @@ -42,6 +37,5 @@ public class ManagerImpl { public static native void setSipLogLevel(String level); public static native String getJniString(); - public static native boolean outgoingCallN(String account_id); public static native void initN(String config_file); } diff --git a/src/com/savoirfairelinux/sflphone/client/SFLPhoneHome.java b/src/com/savoirfairelinux/sflphone/client/SFLPhoneHome.java index 880a8eb3e04f625d84133f1ef4ac87744f662d89..c135b0d3cb151865b950556fb2ced1a831eee90d 100644 --- a/src/com/savoirfairelinux/sflphone/client/SFLPhoneHome.java +++ b/src/com/savoirfairelinux/sflphone/client/SFLPhoneHome.java @@ -274,15 +274,9 @@ public class SFLPhoneHome extends Activity implements ActionBar.TabListener, OnC public void onClick(View view) { switch (view.getId()) { - case R.id.buttonCall: - ManagerImpl.outgoingCallJ(""); - break; case R.id.buttonInit: ManagerImpl.initN(""); break; - case R.id.buttonTest1: - Log.i(TAG, "buttonTest1"); - break; case R.id.buttonCallVoid: ManagerImpl.callVoid(); break;