Lahiru, a Java Tech lead with over 8 years of experience in enterprise software development, currently is working as a lead Android Developer at Exilesoft.
More info is accessible here.
Stay tuned with the Live Blog for detailed and Live updates.
Lahiru Concludes. Thats about it with this session. We wrap it up now.
Thanks for tuning in.
Good Night everyone.
PMD, FindBugs, Jenkins and CheckStyles are the some of the tools Lahiru uses for Quality test.
Measuring the quality of you source code continuously with some quality tools is important as well. – Lahiru
You should unit test you products.
test APK should be build to test the app under testing the Android instrumentation framework. – Lahiru
2 more use cases to go.
Lahiru was able to add a toast to the free version of the app where the user will be notified that this feature is not for free.
Lahiru is back with the mic and he makes some alterations to his free and commercial app.
The crew here will assist the participants to compile their project.
Lahiru, who is about to demonstrate build variants.
Gradle allows build variants.
Free package with less features and the commercial package with more features.
Lahiru, engaging with the crowd, guiding them throughout the activity.
Android system will not install or run an app that is not signed appropriately.
To sign an APK, use signingConfig DSL. – Lahiru
Build types can contribute to the build with code and resources. – Lahiru
Gradle offers a buildType DSl which allows you to build a signed and secure app. – Lahiru
Lahiru prefers using Sonatype Nexus repositories.
Lahiru just ran an app build and says it built faster this time because he has already built this before and his repositories are up to date.
Lahiru is having a demonstration now where he demos how to share repositories among projects.
It is all about how you manage your dependencies.
Everything added to the compile configuration get packed in to the final apk.
Gradle expects your source code to be in a particular way, to whicj you can use’source set’ tool via which Gradle will be able to understand your conventional source code. – Lahiru
A Gradle wrapper will setup an environment to execute your app even if you havent setup Gradle. – Lahiru
In a java build, you get very few tasks but here in Gradle, it has to be sign and compile and lot more complex stuff. – Lahiru
You can assemble, make a bundle of you apk file to make it executable in Android devices. And some such tasks as these are enabled as well.
Lahiru now runs Gradle tool and while explaining it to everyone, he demonstrates it as well.
There are many other tasks which you can perform from the cmd if you have set it up. – Lahiru
Lahiru instructs everyone here to download the Gradle tool and the to configure the environment.
Gradle is a build automation tool that build upon concepts of Apache. – Lahiru
Lahiru gives away the link for downloadable source code file, which will help the participants with the practical session throughout the course.
What is Gradle.
Getting started with Gradle.
This is the agenda for today.
Before starting, Lahiru introduces himself and says that he got into Android development very recently.
We now start the event.
This Mobile Community event is planned to happen every other month.
We are awaiting till the event takes off. Stay tuned.
Hey everyone. We are Live from Exilesoft, for Colombo Mobile Meetup.