Check out how to implement runtime permissions for an Audio recorder sample app in this post.
Getting started with developing Android Apps in Kotlin
Kotlin is official language for Android Apps development. Checkout my post about Getting started with developing Android apps in Kotlin.
Scheduling Repeating Local Notifications using Alarm Manager
Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post.
Adding Menu Items in Navigation Drawer Dynamically
Checkout my post about Adding Menu Items in Navigation Drawer Dynamically here.
How did I integrated a launcher screen in an Android App under 5 minutes
Checkout my latest blog post about Android App Launcher Screen here.
Starting and Stopping Jenkins on Mac OS X
Stopping Jenkins on Mac OSX:
Starting Jenkins on Mac OS X:
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
Starting Jenkins on Mac OS X:
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
Why Butterknife doesn't work for Android Libraries
Have you tried using Butterknife library to bind Android's xml views for an Android library ? And ran into dreaded this error message:
You're not alone ! Many people like myself tried using wonderful Butterknife in their Android Libraries like they do in their regular phone and tablet projects. Actually, Butterknife is not intended to be used for Android libraries project because R class in library project is not final.
Here's the explanation from Jake himself:
Recent version of Butterknife library (8.5.1) supports library projects as well. Checkout out this link to configure library projects to start using Butterknife in your library projects as well.
Attribute must be constant
You're not alone ! Many people like myself tried using wonderful Butterknife in their Android Libraries like they do in their regular phone and tablet projects. Actually, Butterknife is not intended to be used for Android libraries project because R class in library project is not final.
Here's the explanation from Jake himself:
Values on the[UPDATE]Rclass are notfinalin library modules which makes this library unusable on those modules. This is a limitation of Java, and something this library has decided not to work around. See #2.
Recent version of Butterknife library (8.5.1) supports library projects as well. Checkout out this link to configure library projects to start using Butterknife in your library projects as well.
Subscribe to:
Posts (Atom)
Scheduling Repeating Local Notifications using Alarm Manager
Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post .
-
Couple of days ago, I started using Google's code projects for Git as well. It required me to setup and use .netrc file. Here are steps...
-
I've been struggling to get this working for about 2 days now. I was able to POST a request directly from sockets, but it took me a whi...
-
Normal structure of build.gradle for an Android library looks like this: apply plugin : 'com.android.library' android { comp...