내 앱에서 메시지와 전화 번호를 가져 와서 그 번호로 메시지를 보내려고합니다.이 메시지를 Viber 애플리케이션을 통해 보내려고합니다. 다음 코드로 메시지를 보낼 수 있습니다 :메시지 본문과 전화 번호를 Viber에 보냅니다
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(android.content.Intent.EXTRA_TEXT, "test test test");
intent.setpackage("com.viber.voip");
startActivity(intent);
어떻게 전화 번호를 Viber로 보낼 수 있습니까?
참조 링크 : http://stackoverflow.com/를 질문/21387355/시작 방법 viber-call-from-an-anroid-app-new-version – VVB
@RIT 전화를 걸지 만 메시지를 보내려고합니다. – mahdi
@ mahdi 당신은 어떤 해결책을 찾을 수 있습니까? –