Archives for: "July 2015"
Jul 14, 2015 Android programming
I found ListView control in Android is very easy to use, that is very good. Even there is a method to set the empty view, it will display it when the list context is empty. You put any view in there. I put a LinearView with a Textview. That is easy!…
Jul 6, 2015 Android programming
If you wish to do some actions, such as auto save, when the user go to other app, therefore the user put your app in a sleep mode at the background You must override the onPause() method like below:
Jul 3, 2015 Android programming
At first, I upgrade my android studio to 1.3 preview from 0.8.6. I have not upgrade for ages, that is good to have the newest version. I have used their beta version for a while, android studio doesn't sound too bad even the version is still in beta.…
Android Studio Error :appcompat-v7:21.0.0': No resource found that matches the given name: attr "adnroid;XXXX"
Jul 2, 2015 Android programming
After I upgraded my android studio from 0.86 and 1.2. I tried to build my project, I got a lot of errors like appcompat-v7:21.0.0': No resource found that matches the given name: attr: android :xxxx" Actually, that is because appcompat-v7:21.0.0'…