Apps development for Android step by step

Lesson 0.8: Additional information about project structure in Android Studio: java and resources folders

Let’s look again at the project tree (if you can’t see it, just click Project tab on the left of the screen).  Previously we were navigating directly to activity_main.xml file, but now we try to look also on other folders and files. Don’t worry only on a few of them, most we would never have to touch.

Read More

Lesson 0.7: Running an Android app in a real device (but you don’t need any to create an app)

It’s difficult to test your app on dozens various devices, so described in previous lesson emulators are really helpful. But if you have any real Android device, you could run on it your apps. You don’t need to register anywhere or buy anything to do it (by the way those steps are necessary to create and test iOS apps).  All you need beside your phone or tablet is a USB cable (usually delivered with device) and USB driver (available for free in Internet).

Read More

Lesson 0.6: Running an Android app in a virtual phone or tablet

We have our first app (displaying Hello world!) without coding anything. Before we start developing something more, let’s check how this simple app works. This is very easy  – we will use built in emulator of a mobile device. The emulator is a special application which would simulate a real Android device (including original system behavior and hardware behavior) on a computer.

Read More

Lesson 0.5 Previewing app layout on various devices and screen sizes (without having them)

The previous lesson was finished after we managed to open activity_main.xml file with a layout of our first app. You should see preview of app interface on the screen: app name, Hello word text and system menu at the bottom. This is not working app in which you could click (we would run app in the next lesson), but preview of the app layout.

Read More

Lesson 0.4: Basic information about structure of a project and Android Studio interface: what is what

Ugly gray screen and confusing information “No files are open” – that’s all we can see after establishing the first app (creating a new project). Probably Google should spend more time on User Experience, but we’re here not to complain about the interface. So where to start?

Read More