Android Tutorial

How To Resolve Android Studio SDK Platform-Tools Version Is Too Old Error

When you update your android SDK version to a higher version, you may encounter the below errors when you edit exist java files in android studio. The SDK platform-tools version (26.0.1) is too old to check APIs compiled with API 27; please update To resolve this error, you just need to follow the below steps. […]

How To Resolve Android Studio SDK Platform-Tools Version Is Too Old Error Read More »

How To Copy / Paste Clipboard Data In Android

This article will show you how to copy data to android system clipboard and how to paste android system clipboard data to target text view. 1. Copy Data To System Clipboard Steps. Get system android.content.ClipboardManager object. final android.content.ClipboardManager clipboardManager = (ClipboardManager)getSystemService(CLIPBOARD_SERVICE); Create a android.content.ClipData object and set source data in it ClipData clipData = ClipData.newPlainText(“Source Text”,

How To Copy / Paste Clipboard Data In Android Read More »

Android Display Data In Table Layout Statically And Programmatically Example

If you want to display data in table format just like the Html table in the android application, you can use TableLayout and TableRow. TableLayout behaves like an Html tag table and TableRow behaves like tag tr. Each TableRow can contain multiple android UI components, each UI component is displayed in a table row column.

Android Display Data In Table Layout Statically And Programmatically Example Read More »

How To Change Android SwipeRefreshLayout Refresh Behavior To Pulling From Left

This example will tell you how to create a subclass of SwipeRefreshLayout to change the default refresh behavior from the pull-down to pull to left or right. This example will also use RecyclerView. And the RecyclerView should be the direct child of the custom SwipeRefreshLayout object.

How To Change Android SwipeRefreshLayout Refresh Behavior To Pulling From Left Read More »