GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
End call
End call
Iniciado por Nicu BUGALETE, jul., 04 2014 2:17 PM - Sem resposta
Conecte-se…
Nicu BUGALETE
#1
Membro registado
7 mensagems
Publicado em julho, 04 2014 - 2:17 PM
Hello, i hope i will find help here. i searched everywhere but no luck
I wand to end a call after a whyle without pressing end call
I initiate the call useing 2 ways :
tapiDialerCall("+123456...")
or :
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.content.ComponentName;
import android.content.Context;
public static void Apelare()
{
Activity act = getActiviteEnCours();
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:+40723019693"));
act.startActivity(callIntent);
}
1. I tryed to kill all process from background
int pid = android.os.Process.getUidForName("com.android.phone");
android.os.Process.killProcess(pid);
2. i tryed to restart
activity_manager.restartPackage("com.android.phone");
activity_manager.killBackgroundProcesses("com.android.phone");
3. I trued to use TelephonyManager
None of them worked
I know it's possible because i installed an application from Google play
Espier Dialer 7
https://play.google.com/store/apps/details…
And without root it replaces the defaul dialler by placeing its dialler on top of the default one and send keys
Or is there a way that i can send key from my application to the android dialler ?
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto