- simplified user interface by using same layout row for incoming and

outgoing calls
- dtmf digits can now be send also during incoming calls
- removed unused function uag_current()
- removed soft keyboard when call button is clicked and when call is closed
- increased version numbers
This commit is contained in:
Juha Heinanen
2018-09-02 09:27:16 +03:00
parent 098e71925b
commit bca33c3556
5 changed files with 299 additions and 482 deletions

View File

@ -801,7 +801,6 @@ JNIEXPORT void JNICALL
Java_com_tutpro_baresip_MainActivity_uag_1current_1set(JNIEnv *env, jobject thiz,
jstring javaUA)
{
struct ua *new_current_ua;
const char *native_ua = (*env)->GetStringUTFChars(env, javaUA, 0);
struct ua *ua = (struct ua *)strtoul(native_ua, NULL, 10);
(*env)->ReleaseStringUTFChars(env, javaUA, native_ua);
@ -810,18 +809,6 @@ Java_com_tutpro_baresip_MainActivity_uag_1current_1set(JNIEnv *env, jobject thiz
return;
}
JNIEXPORT jstring JNICALL
Java_com_tutpro_baresip_MainActivity_uag_1current(JNIEnv *env, jobject thiz)
{
struct ua *current_ua = uag_current();
char ua_buf[256];
if (current_ua == NULL)
ua_buf[0] = '\0';
else
sprintf(ua_buf, "%lu", (unsigned long)current_ua);
return (*env)->NewStringUTF(env, ua_buf);
}
JNIEXPORT jstring JNICALL
Java_com_tutpro_baresip_Api_call_1peeruri(JNIEnv *env, jobject thiz, jstring javaCall)
{