Welcome to my personal blog!
- This is a place where I share my knowledge about programming on Android.
- I hope you will find here an answer to your questions! đ
Welcome to my personal blog!
These days you will rarely find an app that doesnât have some kind of location-based functionality. Things like navigation, geofencing or location tracking are more and more common. Itâs all good when you can rely on Google Play Services. Sadly, thatâs not always the case. Sometimes the devices that your users are going to use donât have Play Services installed. Such devices can be manufactured by some weird and unknown company, can have a custom ROM installed on them, or be located in a country where Google is not allowed to operate....
Some time ago, I was going through the documentation about the infamous Activity class. All was good and even uneventful until I came across an interesting paragraph stating the following: A question popped up in my head- but why the change in the order? My first idea was to search for any articles on the topic. Sadly, with no result. Then, I decided to go through the source code of the Activity class....
Itâs been a while since my last post! Actually, more than 4 years⊠The Android ecosystem has changed a lot during that time! Some new concepts were introduced, some old programming languages were left behind and we have to make the most out of this situation (as always). So, letâs get down to business! What is a Flow? (briefly) The flow is a ânewâ concept of doing asynchronous tasks. Flows are built on top of coroutines and I am sure you have heard about them....
I am sure that each developer out there have heard the phrase âCheck the logsâ at least once during his or here career! And checking the logs have saved my ass several times this month. But what exactly a log message is and what are the advantages and disadvantages of logging? Letâs try to find out! What is logging? Logging â the cutting, skidding, on-site processing and loading of trees onto trucks....
With Android 6.0 (API 23) users are able to grant app permissions during run time. That new feature made our developer lives a bit more difficult, but gave huge powers to our users. And do you remember that little check box which says âNever ask me againâ? Yep⊠this particular one! So, how can we know that this check box had ever been selected by the user? Actually, itâs not that difficult!...