Posts

Showing posts from 2016

Grails - Introduction

I would like to give you a little introduction of grails in newbie term. If you have decided to start doing web development or learning web development in java then Grails is for sure an good candidate for you to pick and learn Grails provide the framework based on following 1. Hibernate - ORM layer 2. Groovy Server Pages - Presentation/Web layer 3. Spring - Controller layer Why I started to learn grails has a different reason ;) but would suggest techies to just have a look if you choose to go with Java Web Project and would like to reduce some development time

Mobile Application - Change Icon using android Studio

Image
Use below step to change icon of your mobile application using Android Studio. Open your android application project in android studio On res folder right click and select new image asset             3.Select asset type as image and browse to select the new icon file         4.Android studio will warn you of a file override. Click finish to continue

Android studio failed to display design mode

Image
While staring my basic application I was unable to view the layout xml in design mode. Following was my configuration. Android Studio 2.1.3 Created new project with empty activity Clicked on res/layout/activity_main.xml and tried to open and found exception java.lang.NoSuchMethodError: android.graphics.drawable.VectorDrawable_ android studio....... on clicking details I found following detail exception java.lang.NoSuchMethodError: android.graphics.drawable.VectorDrawable_Delegate.nDraw(JJJLandroid/graphics/Rect;ZZ)I at android.graphics.drawable.VectorDrawable.nDraw(VectorDrawable.java) at android.graphics.drawable.VectorDrawable.draw(VectorDrawable.java:304) at android.widget.ImageView.onDraw(ImageView.java:1286) at android.view.View.draw(View.java:17056) at android.view.View.draw(View.java:16964) at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3715) at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61) at android.view.ViewGr

Mobile Development - First Step

As a developer we already know that in order to start any development project. We need to start with the design of an application. Mobile development is not an exception. The question is that we create use case to model our business, wire frames and prototyping to do user interface design then what do we do to plan our mobile application? The answer is simple, First thing is that we need to visualize our application and we start we story boarding of our app. In order to do story boarding you have to take components of your mobile app and define the flow of your application with help of major component. Activities All elememt in android are activities that have an UI definition using xml and a code behind to hadle evenet widget/Views e.g. Button, text box Layout e.g. Linear layout There are may tools available that may assist you in doing story boarding however you may start it on a blank piece of paper

Mobile Development - Android

Before staring I must say that https://developer.android.com/index.html is very nice and can give answers to most of your queries from installation, tools and sample with step by step guides. Android Studio is the essential tools that you will need to install to start mobile development. You may choose other option like eclipse however Android Studio is the quickest to start. In general the tool is very nice and can really help you to quickly pick up pace with mobile development however you may need to do little bit tweaking to make if run faster. In my case, my antivirus may give me hard time to run it quickly. I had to add certain programs (Android Studio, Emulator etc) in my antivirus exception list to make it up and running, If you have an android phone, you may use it for testing and debugging purpose. In fact this will be the fastest way to do testing and debugging of your application. Android SDK contains an emulator software that is very powerful and can build the gr