Home > Mobile >  For the 101th time trying to learn Android Studio programming records.
For the 101th time trying to learn Android Studio programming records.

Time:02-15

N many times before trying to learn c due to all kinds of questions are failed,

I was playing with VB.NET, haven't played with Java, although can use VB.NET to write what you want to program, but the level is general,

The last two years start plaything networking, on this side of the computer software written in VB.NET without any problem, MCU written in Arduino IDE there is no problem, but need a lot of time and human interaction, the interaction of the best equipment is mobile phone, I understand, but not in English, and some other lazy thinking, there has been no Android Studio, which studied E4A problem but also a lot of, is all some wild west, had to learn the wild west time, might as well to you together with the regular forces, solve the problem is more easy,

So this time determined to get the Android Studio,

Today or have a receiving, get now is 4 o 'clock in the morning, can't be download gradle - 5.4.1 - all. Zip this problem done,

Today's question is: after installing the Android open Studio couldn't layout/activity_main XML this page, that is can't see my most familiar Windows interface, access to a large number of posts, behind the confirmation is gradle - 5.4.1 - all. No download zip, with Android download the Studio itself slowly slowly, sometimes they make mistakes, behind looked at https://jingyan.baidu.com/article/597a06430710ca312b52430b.html I done

Step 1: check the need to download the gradle version of the second step: to use thunderbolt download step 3: in a specified directory in the fourth step: to open the Android Studio and create a new project, waiting for the completion,

Learn this today and have time to continue to reply all my questions and solutions are recorded in the post, has seen a great god can help a little help, thank you,


CodePudding user response:

Just saw moderator mentioned four components, on the Internet, respectively is: 1, the activity of this easy to understand, is an interface or the equivalent of a window of VB.NET, 2, a service that there are two ways to look at the introduction for the next, one kind is launched, one is the binding of its life cycle and is easy to understand, the first is to start no matter, can reside indefinitely background, it is clear that the second binding, but its main program exits, the service will follow with destruction of service can be understood as VB.NET service program, 3, content provider this understanding, public statement of total solid is equivalent to VB.NET, is a few window to share data, the Android Studio is Shared, different APP 4, broadcast receiver the understanding, is the so-called event in the VB.NET, here to call radio, need to register this event, this way is used in the VB.NET, here to register points two kinds, one kind is dynamic registered one is static, dynamic registration as main program exit will fail, and static registration, as long as the phone open, the event will be activated, if the condition is reached can trigger, communication between these components, is mainly completed by Intent to assist, also is to understand in addition to the four components, there is an Intent of coupling agent,

CodePudding user response:

Can be quite difficult, when I started just configuration environment, version, get gradle all make for a week, and mostly I haven't seen a book, directly on the,

CodePudding user response:

refer to the second floor coolestingx response:
is also quite difficult at the beginning, I just configuration environment, version, get gradle all make for a week, and mostly I haven't seen a book, directly on the,


Adhere to do in the first half, will be able to get started, this is my study N software is a basic concept, is slower, more, more, more than test, that's when it all,
  • Related