This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package example.com.db.nimbuzz_banbot_android_by_db; | |
| import android.app.Service; | |
| import android.content.Intent; | |
| import android.os.AsyncTask; | |
| import android.os.Handler; | |
| import android.os.IBinder; | |
| import android.os.Looper; | |
| import android.util.Log; | |
| import android.widget.Toast; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package example.com.db.nimbuzz_banbot_android_by_db; | |
| import org.jivesoftware.smack.AbstractXMPPConnection; | |
| /** | |
| * Created by DB on 04-02-2016. | |
| */ | |
| public class XMPPLogic { | |
| public static AbstractXMPPConnection connection = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.blogspot.dbh4ck.sqlite_demo_db; | |
| import android.app.Activity; | |
| import android.app.AlertDialog; | |
| import android.content.Context; | |
| import android.content.DialogInterface; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.os.Handler; | |
| import android.util.Log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.blogspot.dbh4ck.sqlite_demo_db; | |
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.text.Editable; | |
| import android.text.TextWatcher; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.EditText; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.blogspot.dbh4ck.sqlite_demo_db; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.database.Cursor; | |
| import android.database.DatabaseErrorHandler; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.database.sqlite.SQLiteOpenHelper; | |
| import android.util.Log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.blogspot.dbh4ck.sqlite_demo_db; | |
| /** | |
| * Created by DB on 08-03-2016. | |
| */ | |
| public class Contact { | |
| // private variables | |
| public int _id; | |
| public String _name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <ScrollView xmlns:tools="http://schemas.android.com/tools" | |
| android:id="@+id/scroll" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:transcriptMode="normal" | |
| android:fillViewport="true" | |
| xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <LinearLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:id="@+id/main_layout" | |
| android:orientation="vertical" | |
| tools:context=".MainActivity" | |
| android:fitsSystemWindows="true"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.blogspot.dbh4ck.avatargrabberdb.Fragments; | |
| import android.app.DownloadManager; | |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.os.Environment; | |
| import android.support.v4.app.Fragment; | |
| import android.view.LayoutInflater; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.blogspot.dbh4ck.avatargrabberdb.Fragments; | |
| import android.app.DownloadManager; | |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.os.Environment; | |
| import android.support.v4.app.Fragment; |