An introduction to App shortcuts feature of android 7.1 (static and dynamic)

App shortcuts feature of android 7.1

The Android 7.1 update introduces a variety of new features and capabilities for users and developers. App shortcuts feature of Android 7.1 introduced after fantastic feature of Android 7.0 is multi-tasking. I have recently written a blog for multitasking is available here & Myself Imtiyaz Khalani (Sr, Android Developer) here for your help. You can use the new shortcuts feature to bring users from the launcher directly to key actions within your app. Users simply long-press your app’s launcher icon to reveal the app’s shortcuts, then tap on a shortcut…

How To Deal with AsyncTask With Screen Orientation

AsyncTask With Screen Orientation

Manage AsyncTask With Screen Orientation Changes? or AsyncTask execute twice when screen orientation chaged? Manage AsyncTask while screen orientation if you don’t manage then might be¬†AsyncTask called twice when orientation changed Manage AsyncTask while Screen Orientation changes android. I’ve follow below seps STEP 1 – Lock Orientation by calling setRequestedOrientation() method STEP2 – Once you task over set default orientation that you required STEP 3 – add android:configChanges=”orientation” in AndroidManifest file