‘new Fragment()’ vs ‘Fragment.getInstance()’ in Android?

Published on

What is difference between ‘new Fragment()’ and ‘Fragment.getInstance()’ in Android? ‘new Fragment()’ vs ‘Fragment.getInstance()’ in Android? getInstance() for Fragment instantiation is a familiar design pattern, which encapsulate the creation of the fragment and its arguments. It means basically that the Fragment is responsible on creating its own instance and should be cleaner and safer than … Continue reading ‘new Fragment()’ vs ‘Fragment.getInstance()’ in Android?

How to backup SMS and contacts data from a device with a broken screen?

Published on

How to backup SMS and contacts data from a device with a broken screen? How to Recover Contacts from Android Phone with Broken Screen?How to Recover Contacts from Broken Android Phone? All of the solutions above require USB Debugging to be on. If it is not and you are using Android 4.0 then you can press … Continue reading How to backup SMS and contacts data from a device with a broken screen?

Why are there multiple versions of “Phone” installed under ALL apps on my Android Lollipop 5.1.1 phone?

Published on

Why are there multiple versions of “Phone” installed under ALL apps on my Android Lollipop 5.1.1 phone? Menu = Settings → Apps → ALL There are three versions of “Phone”: Phone – com.android.server.telecom Phone – com.android.phone Phone/Messaging Storage – com.android.providers.telephon These are not different versions, these are different apps. An app can have any name … Continue reading Why are there multiple versions of “Phone” installed under ALL apps on my Android Lollipop 5.1.1 phone?

PlayStore error code -11, parsing error when trying to install Whatsapp on android device

Published on

PlayStore error code -11, parsing error when trying to install Whatsapp on android device. Whatsapp on android device: PlayStore error code -11, parsing error when trying manual install. The actual WhatsApp 2.16.382 version is not running anymore on devices with Android version lower than 4.0 (officially 2.1 and 2.2) since they launched the video call feature. … Continue reading PlayStore error code -11, parsing error when trying to install Whatsapp on android device

flex-wrap: wrap not working in ipad and android phones

Published on

flex-wrap: wrap not working in ipad and android phones,mobiles also in Safari. flex-wrap not working as expected in Safari Just need to add more explicitness to your flex declaration. In fact, I think only one line needs to change like so div.flex { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-flex-direction: row; flex-direction: row;} div.flex. item … Continue reading flex-wrap: wrap not working in ipad and android phones

How to Automatically accept all Android SDK licences?

Published on

Encountered this with the alpha5 preview. Jake Wharton pointed out to me that you can currently use mkdir “$ANDROID_SDK/licenses” || true echo -e “\n8933bad161af4178b1185d1a37fbf41ea5269c55” > “$ANDROID_SDK/licenses/android-sdk-license” echo -e “\n84831b9409646a918e30573bab4c9c91346d8abd” > “$ANDROID_SDK/licenses/android-sdk-preview-license” to recreate the current $ANDROID_HOME/license folder on you machine. This would have the same result as the process outlined in the link of the … Continue reading How to Automatically accept all Android SDK licences?

How to accept the license agreement of Android SDK Platform 24

Published on

Error occurs when executing the following: $ cordova platform add android –save A problem occurred configuring root project ‘android’. You have not accepted the license agreements of the following SDK components: [Android SDK Platform 24]. Once the licenses are accepted it creates a file. You could create that file manually. It is described on this … Continue reading How to accept the license agreement of Android SDK Platform 24