- On-Device Machine Learning In Android: Frameworks and Ecosystem
- Using C/C++ in Android: A Comprehensive Guide For Beginners
- Chaquopy: Using Python In Android Apps
- Deploying Scikit-Learn Models In Android Apps With ONNX ( GitHub )
- Deploying TF models on Heroku for Android ( GitHub )
- Realtime Depth Estimation In Android ( [GitHub](https://github.com/shubham0204/Realtime_MiDaS
| Context myContext = getApplicationContext().createPackageContext | |
| ("com.cr.sharedprefexampleone", Context.MODE_WORLD_WRITEABLE); | |
| SharedPreferences testPrefs = myContext.getSharedPreferences | |
| ("sharedprefone", Context.MODE_WORLD_READABLE); | |
| String prefString = testPrefs.getString("time", "Couldn't find"); |
| ... | |
| <!-- Handles App Widget Lifecycle events as well as resizing the widget to 2 months if enough room exists. --> | |
| <receiver | |
| android:name=".appwidget.receiver.ConsolidatorWidgetReceiver" | |
| android:label="@string/app_name" | |
| android:enabled="@bool/glance_appwidget_available" | |
| android:exported="false"> | |
| <intent-filter> | |
| <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> | |
| </intent-filter> |
| import tkinter as tk | |
| from tkinter import scrolledtext | |
| from tkinter import filedialog | |
| class TextViewer: | |
| def __init__(self, root): | |
| self.root = root | |
| self.root.title("Text Viewer") | |
| self.line_numbers = tk.Text(root, width=4, height=30, bg="lightgray", state="disabled", padx=5) |
Guide on how to extract a boot image from any Android phone without needing to root using Magisk and without a custom recovery.
Most of the time when individuals buy a new phone, they encounter challenges when attempting to root their phone because they need a boot image first to patch, and most phones don't have a custom recovery available specifically designed for their device. Sometimes finding their firmware on the internet becomes difficult. Consequently, rooting such phones becomes a formidable task. So in this guide, I will provide a comprehensive solution for users who want to extract the boot image from their phone without needing to root it first or download firmware from the internet and also without custom recovery.
Before diving into the guide, please thoroughly review the [Frequently Asked Questions (FAQ)](https://github.com/phhusson/treble_experimentations/wiki/Frequently-Asked-Questions-%28FAQ%29
Logs of building custom SDK
I want to modify the setWifiEnabled function in WifiManager class in framework. actually I want to add new function with same name but with different input variables to get password string too.
default signature of function is:
public boolean setWifiEnabled(boolean enabled);| apply plugin: 'com.android.application' | |
| android { | |
| compileSdkVersion 23 | |
| buildToolsVersion "23.0.2" | |
| defaultConfig { | |
| applicationId "application.yourcompany.domain" | |
| versionCode 100 | |
| versionName "1.0.0" |
