Browse Tag: Android

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

296 total views, 1 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

249 total views, 1 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

276 total views, 1 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

291 total views, 1 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

240 total views, 2 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

365 total views, 1 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

241 total views, 1 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

287 total views, 1 views today

android_banner

Android Now!

Android had helped create more choice and innovation on mobile than ever before! Today, it is more difficult not to know android than it is to know the most popular operating system in the smartphone world. Google has brought the operating system a long way to make it the market leader in a very tight market which has surpassed the feature phones. Currently it has around 1.4 billion active android devices running across the globe and that is amazing.

Getting in to android flavors and tasting it is more interesting. Developing things for android and letting them used by millions and billions of users our there is really amazing. The stuff build on android can change the lives out there and make many impossibilities to become possible. Here we go with this fantastic blog to beat the heat of android development. That’s about Tasting Android.

Get this writeup

141 total views, no views today