Create your first app - Steemit

in #create8 years ago

How to create your first app?

It is a mobile, free and free platform.

Within the android platform we have the Linux kernel and java vm.

Oracle used on your computer, the other is the composite by Google on the network.

Diagram Android has many levels of abstraction. This is what I do not care what is hidden and what if I show.

The lowest level belongs to the Linux kernel. Android itself a framework.

We went up a notch in the diagram.

Librerita the same level as the runtime: in the library we have entries video as is. The good news is that many of them are going to use without knowing its composition (as a tool).

Android is a hybrid that seeks exemplary performance for the user.
Above the Application Framework which will use components levels below to locate the user for example.

In applications it is where we will work: these are our tools and útlimo level course.

How do I create my app? basic blocks:

1- Activity: an activity is a screen, the app work for screens and we to see one at a time.

2- Services: they are something that has a screen, but is running in the background. Deneter can start or finish, but to interact with them need a screen.

3- Content Providers: Allows access to data. They are the abstraction of these data to put in function, taking services and exposed on the screen.

4- broadcast receivers: are the events that are transmitted as a broadcast to all, an app you can capture and do something with them.

5- Intents: to activate the main blocks. It is the intention to do something, ie any action within the system.

6- activities with activities for resoul start.

7- services: Step 6 and 7 by intents.

8- Start diffusion also by intents.

9- With solve perform content sending data.

10- Everything we do is through consultations, but this is not jsquery. Otherwise it does it is the method Query. With the content solve.

11- Manifest: is an XML file to configure the application.

12- Project Structure: We spent the eclipse.

Let's see the elements:

  • src. This is where we think the example.

  • gene: the folder generated respects the generated name and modifies the system. This class will be the

  • link between the code and the views.

  • Android version and support library.

  • Assets: Here we are not what images and introduce a JS file.

  • Bin: where the ouput is generated.

  • Libs: This is where data iran our projects.

  • res: where are the resources of the lists. In it we see the resolutions.

  • in mdpi we add things.

  • In xhdpi we put a language identifier for example to change.

  • layout: it can be a contenedo or my view, what you see on the mobile.

  • menu: The program you self-generated.

  • Values: are constants of sizes and styles. When we want to change something we do
    there.

They can change depending on the lower values ​​as the definition or resolution. Finally the androidmanifes. Proguar accumulated data, project is the project.

To solve problems we go to the X on the line, right click to leave us alone and our solution solves eclipse, keep, we clean our console and to restart shooting, if you do not, let us look options and the system will roll on the version ordered.

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 60035.79
ETH 3187.54
USDT 1.00
SBD 2.45