Skip to content

Instantly share code, notes, and snippets.

View jayakrishnan-pm's full-sized avatar
🎯
Focusing

Jayakrishnan PM jayakrishnan-pm

🎯
Focusing
View GitHub Profile
@jayakrishnan-pm
jayakrishnan-pm / gist:b764c082323096ec8c185fdf765b13e6
Created October 5, 2019 05:31
WiFi Debugging in Android Application Development Using ADB Tool
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)
@jayakrishnan-pm
jayakrishnan-pm / Android_Development_Infra.txt
Last active July 21, 2019 09:01
Android Development Infrastructure
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.
@jayakrishnan-pm
jayakrishnan-pm / PreferencesUtils.java
Created November 20, 2016 10:53
Shared Preference Utility Class
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) {