Gist

Below you will find pages that utilize the term “Gist”
April 9, 2022
Custom Object in UserDefaults : Swift

This particular script will help you to store and retrieve custom class or struct objects in UserDefaults.

For further explaination on how this works, please read the article Custom Object in UserDefaults : Swift.

March 20, 2022
UISwitch Value Change Listener : Swift

This particular script will help you to implement a Value Change listener to all UISwitch and its subclasses in a clean way.

March 9, 2022
UIDatePicker Date Change Listener : Swift

This particular script will help you to implement a Date Change listener to all UIDatePicker and its subclasses in a clean way.

March 8, 2022
UITextField Text Listener : Swift

This particular script will help you to implement a Text listener to all UITextField and its subclasses in a clean way.

May 28, 2021
Typecast Android Object in Untiy

This particular script will help you to typecast one Android/Java object into another in Unity.

For further explaination on how this works, please read the article Native Android in Unity.

May 21, 2021
Custom Android Manifest File in Unity

This particular xml is an example of custom Android Manifest file which can be used in unity.

For further explaination on how this works, please read the article Custom Android Manifest File in Unity.

December 14, 2020
UIView ClickListener : Swift

This particular script will help you to implement a Click listener to all UIView and its subclasses in a clean way.

November 26, 2020
Native Android text sharing to Whatsapp contact in Unity

This particular script will help you to implement a text message sharing directly to a WhatsApp contact in Unity.

For further explaination on how this works, please read the article Native Android text sharing to Whatsapp contact in Unity.

November 23, 2020
Android : Share message directly to whatsapp contact

This particular script will help you to implement a text message sharing directly to a WhatsApp contact in Android.

For further explaination on how this works, please read the article Android : Share message directly to whatsapp contact.

October 15, 2020
Native Android image sharing in Unity using FileProvider

This particular script will help you to implement native Android image sharing using Android’s FileProvider in Unity. This is a fix for “android.os.FileUriExposedException” in Android 8 (Oreo) and above.

October 12, 2020
Native Android text sharing to particular app in Unity

This particular script will help you to implement native Android text sharing to a particular app in Unity.

We use all the native classes of Android in Unity using AndroidJavaClass and AndroidJavaObject and perform the Android’s ACTION_SEND with EXTRA_SUBJECT and EXTRA_TEXT, and share the content to a particular app with package name.

October 11, 2020
Native Android image sharing in Unity

This particular script will help you to implement native Android image sharing in Unity.

We use all the native classes of Android in Unity using AndroidJavaClass and AndroidJavaObject and perform the Android’s ACTION_SEND with EXTRA_SUBJECT, EXTRA_TEXT and EXTRA_STREAM. The content type is set to image/png in the below example but you can change it to any type and share other formats also.

October 10, 2020
Native Android text sharing in Unity

This particular script will help you to implement native Android text sharing in Unity.

We use all the native classes of Android in Unity using AndroidJavaClass and AndroidJavaObject and perform the Android’s ACTION_SEND with EXTRA_SUBJECT and EXTRA_TEXT.

October 9, 2020
Native Android in Unity

This particular script will help you to implement basic native Android in Unity.

This show an example of showing a native Android’s Toast in unity using AndroidJavaClass and AndroidJavaObject.