170829Ago - CHAPTER 7. Making a ListView!
Hello, last day we did the checking for have the correct permissions to access to the device storage.
As we can read the file structure of the device we can show that information to the user.
For that we need a UI a little more complex that a simple text on the screen. Too we'll need to programm the user interactivity, when the user to click on folders we must do the navigation into our File Browser.... read more
170825Ago - CHAPTER 6
Here again!!!
Today I go to add to the my app the permissions check. It's because I'll need the convenient permissions from the user to access to the device storage, then I'll can offer to the user the file browser functionality.
I'm developing for a SDK level of 23, that's a Marshmallow Android version 6.0. This is indicated to Android Studio in the file "build.Gradle (Module app)" with:... read more
170822Ago - CHAPTER 5
Hello, today there are good news, the terrorist cell that attacked BCN is completely finished, well for the Mossos!!!
About my app, I found a typical error: The title bar cover other object in the screen, hiding his top area... I always forget this!
To solve it I must simply to use completely the guidelines objects, I used one for a bottom split, now we go to use others for top, left and right guidelines. ... read more
170821Ago - CHAPTER 4
Here again after a hard weekend due to the terrorist attacks in BCN and other places of the world, added to natural disasters and accidents (train in India)... Maybe that's why I had apocalyptic nightmares and I have not rested well.
In this monday morning I go to add input capabilities for the application.
I've thought of a scrolling panel with buttons for the main actions. With this I will practice:... read more
~~~
~~~170818Ago - CHAPTER 3
Last day we recovery the device information to show it in a TextView.
Calling to getSystemAvailableFeatures() method of a instance of PackageManager, but this give us more information than we need.
Perhaps we prefer get only the capabilities that we are searching calling to hasSystemFeature(String name) instead.
PackageManager has defined constants for this names, I go to change MySystemInfo class to do this:... read more
170817Ago - CHAPTER 2
Well, we have the IDE running and a basic app skeleton.
Today I go to add a simple input/output interface to display information easily.
As I commented, an Android app is formed by Activities, this is the memory container for objects, and the basic interface to work with the device, screen, keyboard, file system, etc...
If you look at "MainActivity.java" you can see that this main class extends AppCompatActivity that is a concrete class inherited from Activity. But now is important to understand that this class at the begin of run show and define the screen:... read more
170817Ago - CHAPTER 1
Hello, welcome to my Android Programming Blog.
We are going to develop an example application with several functionalities to learn about this incredible platform... enjoy!!!
This blog is dedicated to:
- My cousin Esther Tejada R.I.P. and her premature daughter.
- My best friend Rocio Sancho.
- My mother Sensi.
I hope it'll useful for you if you are new in Android developing. Note that you must have previous programming experience because is for programmers.... read more