├── LICENSE ├── Quiz └── json │ ├── QuizMath.json │ └── test.json ├── README.md ├── _config.yml └── sqlite.java /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 izal 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Quiz/json/QuizMath.json: -------------------------------------------------------------------------------- 1 | { 2 | "Mathquestion": [ 3 | { 4 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 5 | "Question": "2x2=?", 6 | "Option1": "4", 7 | "Option2": "8", 8 | "Option3": "9", 9 | "Option4": "7", 10 | "Answer_nr": "1", 11 | "Difficulty": "Mudah", 12 | "Category_id": "1" 13 | }, 14 | { 15 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 16 | "Question": "4x4=?", 17 | "Option1": "26", 18 | "Option2": "16", 19 | "Option3": "17", 20 | "Option4": "35", 21 | "Answer_nr": "2", 22 | "Difficulty": "Mudah", 23 | "Category_id": "1" 24 | }, 25 | { 26 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 27 | "Question": "5x5=?", 28 | "Option1": "25", 29 | "Option2": "16", 30 | "Option3": "12", 31 | "Option4": "45", 32 | "Answer_nr": "1", 33 | "Difficulty": "Mudah", 34 | "Category_id": "1" 35 | }, 36 | { 37 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 38 | "Question": "5x5+40=?", 39 | "Option1": "67", 40 | "Option2": "78", 41 | "Option3": "65", 42 | "Option4": "56", 43 | "Answer_nr": "3", 44 | "Difficulty": "Mudah", 45 | "Category_id": "1" 46 | }, 47 | { 48 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 49 | "Question": "4x4-8=?", 50 | "Option1": "8", 51 | "Option2": "6", 52 | "Option3": "5", 53 | "Option4": "7", 54 | "Answer_nr": "1", 55 | "Difficulty": "Mudah", 56 | "Category_id": "1" 57 | }, 58 | { 59 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 60 | "Question": "16+16-8*2=?", 61 | "Option1": "35", 62 | "Option2": "52", 63 | "Option3": "48", 64 | "Option4": "43", 65 | "Answer_nr": "3", 66 | "Difficulty": "Mudah", 67 | "Category_id": "1" 68 | }, 69 | 70 | 71 | { 72 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 73 | "Question": "Pengertian Kimia adalah?", 74 | "Option1": "ilmu alam yang mempelajari kehidupan dan organisme hidup, termasuk struktur fisik, proses kimiawi, interaksi molekuler, mekanisme fisiologis, perkembangan dan evolusi mereka", 75 | "Option2": "disiplin ilmu yang terlibat dengan unsur dan senyawa yang terdiri dari atom, molekul, dan ion: komposisi, struktur, sifat, perilaku, dan perubahan yang mereka alami selama reaksi dengan zat lain.", 76 | "Option3": "ilmu membahas topik seperti bagaimana atom dan molekul berinteraksi melalui ikatan kimia untuk membentuk senyawa kimia baru.", 77 | "Option4": "Kata kimia berasal dari modifikasi kata alkimia, yang mengacu pada serangkaian praktik sebelumnya yang mencakup unsur-unsur kimia, metalurgi, filsafat", 78 | "Answer_nr": "2", 79 | "Difficulty": "Mudah", 80 | "Category_id": "2" 81 | }, 82 | 83 | 84 | { 85 | "ImageQuestion": "https://raw.githubusercontent.com/kelincinegla/85156-v8/master/mathchalkboard.png", 86 | "Question": "Pengertian Fisika adalah?", 87 | "Option1": "ilmu alam yang mempelajari materi, gerak dan perilakunya melalui ruang dan waktu, dan entitas terkait energi dan gaya", 88 | "Option2": "disiplin ilmu yang terlibat dengan unsur dan senyawa yang terdiri dari atom, molekul, dan ion: komposisi, struktur, sifat, perilaku, dan perubahan yang mereka alami selama reaksi dengan zat lain.", 89 | "Option3": "salah satu disiplin ilmu tertua dan, melalui masuknya astronomi, mungkin yang tertua. Selama lebih dari dua milenium terakhir, fisika, kimia, biologi, dan cabang tertentu dari matematika adalah bagian dari filsafat alam, tetapi selama Revolusi Ilmiah di abad ke-17, ilmu alam ini muncul sebagai upaya penelitian unik dalam hak mereka sendiri.", 90 | "Option4": "Kata fisika berasal dari modifikasi kata alkimia, yang mengacu pada serangkaian praktik sebelumnya yang mencakup unsur-unsur kimia, metalurgi, filsafat", 91 | "Answer_nr": "1", 92 | "Difficulty": "Mudah", 93 | "Category_id": "3" 94 | } 95 | 96 | 97 | ] 98 | } 99 | -------------------------------------------------------------------------------- /Quiz/json/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "Kontak" : [ 3 | { 4 | "id": "B001", 5 | "Nama": "Emma angle", 6 | "Email": "Emma@devil.com", 7 | "Alamat": "Bogor, Barang siang", 8 | "Jenis_kelamin": "perempuan", 9 | "Phone": { 10 | "mobile": "+85 0000000000", 11 | "home": "00 000000", 12 | "office": "00 000000" 13 | } 14 | }, 15 | { 16 | "id": "B002", 17 | "Nama": "ido", 18 | "Email": "ido@devil.vom", 19 | "Alamat": "cikarang", 20 | "Jenis_kelamin": "laki-laki", 21 | "Phone": { 22 | "mobile": "+85 0000000000", 23 | "home": "00 000000", 24 | "office": "00 000000" 25 | } 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Android-Studio 2 | Selamat datang di android developer 3 | 4 | keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 5 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-time-machine -------------------------------------------------------------------------------- /sqlite.java: -------------------------------------------------------------------------------- 1 | 2 | public class DbHelper extends SQLiteOpenHelper { 3 | // If you change the database schema, you must increment the database version. 4 | public static final int DATABASE_VERSION = 1; 5 | public static final String DATABASE_NAME = "FeedReader.db"; 6 | private static final String SQL_CREATE_ENTRIES = 7 | "CREATE TABLE " + FeedEntry.TABLE_NAME + " (" + 8 | FeedEntry._ID + " INTEGER PRIMARY KEY," + 9 | FeedEntry.COLUMN_NAME_TITLE + " TEXT," + 10 | FeedEntry.COLUMN_NAME_SUBTITLE + " TEXT)"; 11 | private static final String SQL_DELETE_ENTRIES = 12 | "DROP TABLE IF EXISTS " + FeedEntry.TABLE_NAME; 13 | 14 | public DbHelper(Context context) { 15 | super(context, DATABASE_NAME, null, DATABASE_VERSION); 16 | } 17 | public void onCreate(SQLiteDatabase db) { 18 | db.execSQL(SQL_CREATE_ENTRIES); 19 | } 20 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 21 | // This database is only a cache for online data, so its upgrade policy is 22 | // to simply to discard the data and start over 23 | db.execSQL(SQL_DELETE_ENTRIES); 24 | onCreate(db); 25 | } 26 | public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { 27 | onUpgrade(db, oldVersion, newVersion); 28 | } 29 | } 30 | --------------------------------------------------------------------------------