This file contains 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
WiFi debugging setup only takes 2 minutes to complete. | |
Step 1 : Enable adb debugging on your device | |
Step 2 : Accept an RSA key if any dialog appears | |
Step 3: Connect your Android device and adb host computer to a common Wi-Fi network accessible to both. | |
Step 4: Connect the device to the host computer with a USB cable. | |
Step 5: Open command prompt and type "adb tcpip 5555" | |
Step 6: Disconnect the USB cable from the target device. | |
Step 7: Find the IP address of the Android device. (Phone Settings > About tablet (or About phone) > Status > IP address) |
This file contains 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
I have mentioned recommeded infrastructure for Native Android Development. The below infra ensures smooth development experience. | |
#Hardware# | |
Intel processor min i5 or above (recommended) | |
RAM 16GB DDR4 or above | |
SSD storage. Min capacity 256GB. | |
LED display of Min 23 inch | |
Wifi enabled modem | |
Real mobile device is recommeded for testing. |
This file contains 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
import android.content.Context; | |
import android.content.SharedPreferences; | |
public class PreferencesUtils { | |
private static final String APPEND_STRING = "_pref"; | |
public static void setData(String name, String value, Context context) { |