Skip to content

Instantly share code, notes, and snippets.

View zablon-ke's full-sized avatar

Zablon M zablon-ke

View GitHub Profile
@zablon-ke
zablon-ke / MainActivity.java
Last active October 11, 2022 12:55
mainactivity java file
package autoreply.app;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.core.os.MessageCompat;
@zablon-ke
zablon-ke / Receive_Sms.java
Last active October 11, 2022 12:56
Receive SMS
package autoreply.app;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsManager;
import android.telephony.SmsMessage;
import android.widget.Toast;
import org.json.JSONArray;
@zablon-ke
zablon-ke / AndroidManifest.xml
Last active October 11, 2022 13:01
Androidmanifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="autoreply.app">
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.READ_SMS"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
<application
android:allowBackup="true"
@zablon-ke
zablon-ke / Data_info.json
Last active October 11, 2022 13:02
replies
{
"good morning": ["morning too","good morning too","am fine how a you"],
"i love you": ["i love you too","i luv u too","have unconditional love for you dear","i love you dear"],
"love you": ["love you too","more than anything"],
"i miss you": ["I miss you too","i admire to see you","Wow wonderful i miss you more"],
"hi":["Hi too","too","Hi too how a you"],
"how a you": ["Am wonderful","Am fine","am good and you?"],
"hello": ["Hello too","too","Hello how a you?"],
"how was your night": ["Fabulous","Fanatastic","it was cool","i little bit dream","sweet"],
"how was your day": ["Fabulous","Fanatastic","it was cool","i little bit dream","sweet"]
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="autoreply.app">
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.READ_SMS"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
<application
android:allowBackup="true"
@zablon-ke
zablon-ke / Data_info.json
Last active November 3, 2022 06:46
Json
{
"good morning": ["morning too","good morning too","am fine how a you"],
"i love you": ["i love you too","i luv u too","have unconditional love for you dear","i love you dear"],
"love you": ["love you too","more than anything"],
"i miss you": ["I miss you too","i admire to see you","Wow wonderful i miss you more"],
"hi":["Hi too","too","Hi too how a you"],
"how a you": ["Am wonderful","Am fine","am good and you?"],
"hello": ["Hello too","too","Hello how a you?"],
"how was your night": ["Fabulous","Fanatastic","it was cool","i little bit dream","sweet"],
"how was your day": ["Fabulous","Fanatastic","it was cool","i little bit dream","sweet"]