Start Here !

Welcome to my website. Find articles, presentations, tutorials, experiments on various technologies.

You can get in touch with me anytime at

r o m i n . i r a n i @ m i n d s t o r m s o f t w a r e . c o m

I am also active on Twitter (do follow me) and on Google+.

 

Android Studio Tips

The Android world is split in their choice between Eclipse and Android Studio as the preferred IDE. The momentum is definitely with Android Studio and in most of my talks this year, I have tried to push that message across to the developers that they need to start getting familiar with Android Studio. Yes, there would be bugs in Android Studio but get into the game while it is early.

Having said that, productivity definitely takes a hit if you have been in Eclipse land and coming over to Android Studio. This is because you are familiar with short-cuts (strange key combinations) that help you not just navigate your way, open files/classes, refactor code , be super productive with the editor and much more.

There is a great set of Android Studio tips that have been prepared meticulously with description and video by Philippe Breault. They have been even collected into a Github Repository for your reference. This is a fantastic collection of tips and one you should pick up one by one to get familiar and see the power of Android Studio.

Here are the 2 resources for your reference:

 

Android Wear Talks

In the last month, I have presented on Android Wear on two Google Developer hosted events in India. Android Wear is a popular topic among developers and any talk on this topic brings up curious minds wanting to harness what wearable technology can bring to the table.

  1. Google Developer Group Mumbai : This event was held on 12th October 2015 at IIT Bombay. I covered a 2 hour session that introduced participants to Android Wear and how to get started on Android Wear Development. More than 120+ participants were present at this event. This session was followed up by a session on Material Design by Faiz Malkani. Check out some pics from the event.
  2. Google Developer Group Indore : This event was held on 1st November 2015 (as part of 2-day Devfest Indore) and we had a full day event dedicated to Android Wear. The event had a introduction to Android Wear in the morning following by a Code Lab and a Design Sprint on Android Wear. More than 60+ participants were present for this event.

android-wear-cap

Android Wear – Presentations, Code – everything for you

If you are looking at conducting similar Android Wear events, I have put up the entire material on Github. Feel free to use the material.

The material includes:

  • Presentation Deck on Android Wear Introduction
  • Code Lab PDF and 3 sample Android Wear projects to try out

In addition to the above, do check out official documentation from Google:

I have also created other presentations / blog posts that could be useful to you:

Hope you find it useful. If you have any questions – reach out to me.

Quick Tip : Set Up an Android Wear Emulator

If you are planning on Android Wear Development, chances are that you probably do not have an Android Wear device and wish to setup a Wear Emulator.

So, the scenario is something like this:

  • You want to get started with Android Wear Development
  • You have the Development Tools (Eclipse or Android Studio) and the necessary SDKs in place via the SDK Download Manager
  • You have an Android Phone Device
  • You do not have an Android Wear Device and wish to use the Emulator for that

Continue reading

Google Cloud Monitoring API Tutorial

If you have any projects running on Google Cloud Platform, one of the things that you want to do is to understand various metrics like response times, latencies, database statistics and more. Recently Google released Cloud Monitoring API that allows you to get information on various metrics. These metrics are only expected to grow with time and will help you in numerous ways.These include building dashboards, writing custom alerts, understanding your monthly bills and more.

Screen Shot 2014-09-20 at 3.15.54 pm

I covered a short tutorial from a developer perspective on Google Cloud Monitoring API on ProgrammableWeb recently. Here is the link to the article.

 

Presentation on Kids Workshop

If you plan to conduct a programming workshop for kids, I have written a blog post that goes into those details. Here is a presentation that I recently created that captures the key points. Do refer to the Speaker Notes for a detailed description of the points.

If you have some additional points, do provide them in the comments.

Gradle Tutorial : Part 10 : Consuming Endpoints in Android Code

Welcome to Part 10 of the Gradle Tutorial. In the previous episode i.e. Part 9, we looked at writing Cloud Endpoints using Objectify as the Persistence layer. We wrote a Quote Endpoint class that exposed various methods like list Quotes, add Quotes, remove Quotes and modify Quotes.

This tutorial adds to both Part 8 and Part 9 of the tutorials, where it will show how to consume the Endpoints code inside of your Android application. This would sort of logically complete the step that we set to do earlier in the series, which includes:

  • Generate a Android Project in Android Studio
  • Add an App Engine module with Cloud Endpoints to the Android project, thereby making it a multi-module project. In Part 8 and Part 9, we looked writing Cloud Endpoints and testing them locally via the API Explorer.
  • In this episode, we shall look at consuming that Endpoint in the Android code. This would really make you as an Android developer appreciate the power of Endpoints since within the same dev environment, you can do your client development (Android app) and Server side Code (App Engine + Cloud Endpoints) and then integrate and test it out locally.

Continue reading