Android

Android Studio 2.0

Amazing build from Android. Thanks a ton for the 2.0, its very fast comparatively from previous build. Lot more features are added up into android studio this time. It has fast build mode and emulator runs so fast.

 

Studio_illustration

 

It helps developers to be super fast in their development process. Earlier, emulator used to be so slow and it was like sloths when they start. But now, we have  a very active and faster emulator.

Continue Reading

145 total views, no views today

AndroidActivity

Android Activity – 2

From the previous tutorial, our Activity is ready for implementing our defined functionalities. Every View that we define inside the layout file will be referred here to perform the required feature with it. Well as there are XML tags present inside the layout, so every XML tag is nothing but a JAVA class of android. It is easy to declare the object for that class and can manage the operations on it.

As we have below four Views inside login layout as XML tags- Continue Reading

236 total views, no views today

AndroidActivity

Android Activity – 1

The primary and important term in android development is ‘Activity’. Android Layout will be backed by Android Activity. Activity is nothing but a JAVA class file which helps in supporting the screen layout in performing all actions. Basically, its all about showcasing inbuilt features of android. Hence, Activity class helps in inheriting the features of android and helps in defining the actions of the layout.

As we created the login screen in the previous tutorial, we shall define the supporting activity class file. All the Activity class files will be under ‘java’ folder inside that projects respective package. To create a new one, right click on the ‘java’ folder..

java -> New -> Java Class

Continue Reading

190 total views, no views today

DesigningLayouts

Designing layouts – 3

We can use Linear and Relative Layouts for defining few set of views under it. When it comes to show many number of views inside the layout, the layout should have scrolling capability to show all the views. ScrollView is such type of layout that helps in defining such functionality. Unlike other layouts, ScrollView helps user to scroll across all the views present inside it.

Below code will show it as parent layout inside the XML file Continue Reading

215 total views, no views today

DesigningLayouts

Designing layouts – 2

Well as in the previous tutorial, LinearLayout helps in designing our Login screen. Here we shall use RelativeLayout for the same. Unlike LinearLayout, RelativeLayout is not bound by the orientation, rather it manages views under it relatively. It means, the views are arranged relative to each other in the direction they are placed. The attribute orientation does not work with RelativeLayout.

We shall use the same set of Views to define our layout:

Continue Reading

228 total views, no views today

DesigningLayouts

Designing layouts – 1

Well its cool that every awesome user interface design of mobile app is made using XML. In android, a good layout design is all about arranging XML tags meaningfully. The more meaningfully placed, the more beautiful the layout design will be. In our daily routine of app usage, we come across many number of app screens. Every screen is nothing but an XML file containing XML tags. Hence, here we shall learn about designing layouts meaningfully.

Every layout is nothing but a single or multiple XML files

Continue Reading

193 total views, no views today

InstantRun

Instant Run – Android

Here is all about “Instant Run”. The most requested feature from android developers is to improve the performance of deploying and running android apps from android studio to phones/ emulators. Finally, Google released a new feature which would almost increases this process 50 times faster than it was and named it “Instant Run”.

Though it has few limitations and known issues, it allows you to make changes in your code and see them running on the emulator or device much more quickly. Google released this feature in Android Studio 2.0 preview release. Start downloading and installing Android Studio 2.0 from Canary Channel.

Continue Reading

299 total views, no views today

ProjectStructure

Project structure

New project in android studio is very well organized into set of modules. Each module represents each form factor (Phone, wear, etc..). We can deal with each form factor individually to build independent features for them. Lets know about android project structure of Android Studio.

You can clearly observe towards the left side of the Android Studio. ‘Project’ window shows the files of the current project. The complete project file structure can be viewed in different perspectives listed below: Continue Reading

201 total views, no views today

NewProject

New Project

Studio, it is a cool interface, which helps us in creating, developing, building, running, publishing our android application. The first key point to remember is that, an android app in your phone is nothing but just an .apk file that is installed and running. So the android project we create will have .apk as final deliverable.

An android project can have more than one .apk deliverables, which support different versions of android and different devices across the globe.

Our aim is to develop an app which displays “Hello Android” text on the screen. Continue Reading

233 total views, no views today

IntoTheStudio

Into the Studio

Here we go deep into details of Android Studio. It provides graphical tools for creating, editing and managing android projects. These projects contain everything that define your android app from source code to build configurations and code for testing. Here we start as a child 😛

Open Android studio by clicking on the icon.

 

 

 

The application opens slowing as it contains lots of libraries and other configuration files to load. Wait a bit after clicking the icon while the below screen shows up.

Continue Reading

129 total views, no views today

  • 1
  • 2