In an Android application, we usually got the “Force Closed” error if we didn’t get the exceptions right. Everyone has question about “How can I restart my application automatically if it force closed?”.
In this tutorial, we will learn how to handle exception manually and how to restart/auto launch your application after crash/force close.
In Android, there are two constants for providing height and width of any view. But if you provide any specific height to any view, it won’t be change until you change it dynamically or statically in layout file.
What if you want to provide MAX height to any view? Max height means, your view must not exceed the limit of provided height.
When we are doing some important operation or work on activity and it may possible that by mistake we pressed “back” button. Then what?? This will simply stop all your important work and you are redirect to previous activity. Continue reading
If you are using NFC (Near Field Communication) Mifare in your application, you should be careful while using NFC Mifare UID
(Unique IDentification also know as Card Serial Number) of NFC card. Continue reading