With following steps we can add a variable directory to Mac Os X PATH permanently, so it will be there for always.
First, Lets find out your current PATH value.
To do that, Within the terminal, Fire this command:
//add (( android:autoLink="web" )) to your textView attrs and it's automatically clickable all your links | |
<TextView | |
android:id="@+id/textView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:autoLink="all" | |
android:text="@string/text_with_link" | |
/> |
android.permission.ACCESS_ALL_DOWNLOADS | |
android.permission.ACCESS_BLUETOOTH_SHARE | |
android.permission.ACCESS_CACHE_FILESYSTEM | |
android.permission.ACCESS_CHECKIN_PROPERTIES | |
android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY | |
android.permission.ACCESS_DOWNLOAD_MANAGER | |
android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED | |
android.permission.ACCESS_DRM_CERTIFICATES | |
android.permission.ACCESS_EPHEMERAL_APPS | |
android.permission.ACCESS_FM_RADIO |
org.gradle.jvmargs=-Xmx8192M | |
org.gradle.daemon=true | |
org.gradle.parallel=true | |
org.gradle.configureondemand=true | |
org.gradle.caching=true |
replace enums with StringDef
Enum Sample:
public enum WeekDays {
SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
}
View view = activity.getCurrentFocus(); | |
if (view != null) { | |
InputMethodManager inputMethodManager = (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); | |
inputMethodManager.hideSoftInputFromWindow(view.getWindowToken(), 0); | |
} |
first of all connect to the same local network that your pc is connected. then get your phone ip in your local network and create a .bat file with the following commands. start that bat file to connect to your phonr over tcp with wifi. now you can unplug your device cable. no cable needed any more.