Opportunities for mobile internet and Android

Source: Internet
Author: User
Opportunities for mobile internet and Android

One thing we know recently is that the spring of the mobile Internet is getting old. It's not long before the summer. You don't have to worry about it in the winter, because it's enough to wait for the Chinese New Year in the summer. From Lee Kai-fu's innovative factory, which fully aimed at the application of the mobile Internet to the Supplement and growth of the mobile Internet Development power of other major companies, we can feel the arrival and approaching of new opportunities. As a young generation, we should also seize the opportunity.

Mobile Internet is developing rapidly. The biggest influence and driver is the application on the mobile Internet. You can think of moving everything on the current network to the mobile Internet, and the benefits are often unimaginable. Currently, mobile-based Android systems are in full swing, and it is easy for students who want to learn JAVA to get started and build platforms conveniently. This is basically one of the areas of interest for undergraduates in the school, as the development platform is convenient, it is no longer difficult to make a decent product. What are you waiting?

Android does have its own great advantages. Many users have many differences between Android and iOS platforms:

1. Development costs. To develop an iPhone or iPad, you need a computer running Mac OS. For Windows, you cannot run Xcode IDE. You cannot use VS or notepad to complete normal syntax highlighting. Of course, apple's devices are expensive.

2. Registration Fees: Apple development and registration fees are much more expensive than Android, and $99 is much more than $25. It also requires release review, and the release cycle is very long.

3. API openness. Android APIs are much richer and less restrictive than iPhone APIs. Many functions must be jailbroken when the iPhone is released, and many functions cannot be implemented normally on the iPhone.

4. difficulty level: Android uses Java and iOS uses Objective-C. I believe most people may have learned C, C ++, however, many things have been defined by Apple. Just like Symbian, typedef or a new perfect class makes it look awkward, compared with mainstream java, c #, c, and c ++, the syntax of smalltalk is not as good as that of pascal.

5. device costs: Android mobile phones are relatively low. Currently, some low-end and cost-effective development devices named Acer A1 have sold 1500 yuan, while iPhone development requires at least one iPhone 3GS for good testing, 2500 or more for second-hand users.

6. for Android, there is a larger user group. iOS is a niche group in China at least. Its various restrictions and positioning cannot confront hundreds of Google mobile phones on the market.

As a mobile Internet that is currently in full swing, do not ignore it as you want to start a business. As an internet entrepreneur, you must consider it. You have a vision, you are ready, and you have a team. Maybe you will be the next lightweight millionaire!

---- By the way, I recorded an article titled "Android development journey: Environment Building and HelloWorld" by Wu Qin ----

1. Install jdk and eclipse. skip this step.

1.3 Android SDK Installation

Download android-sdk_r05-windows.zip from Android codecs and decompress it to any path.

  • Run SDK Setup.exe and click Available Packages. If no package is available, click Settings and select "Force https: //…" in Misc ://..." Click "Available Packages.
  • Select the SDK you want to Install and its documentation or other packages. Click Installation Selected, Accept All, and Install Accepted to download and Install the Selected packages.
  • In the user variable, create the absolute PATH (D: \ AndroidDevelop \ Android-SDK-windows \ tools) in the path value of android sdk ).

Figure 2. Set the environment variables of the Android SDK

After "OK", restart the computer. After restarting the computer, enter the cmd command window and check whether the SDK is successfully installed.
If android-h has the following output, the installation is successful:

Figure 3. Verify that the Android SDK is successfully installed

1.4 ADT Installation
  • Open Eclipse IDE and choose "Help"> "Install New Software" from the menu"
  • Click Add... In the dialog box that appears, enter Name and Location: Name, and enter http://dl-ssl.google.com/android/eclipse. As shown in:

  • After the return result is confirmed, select the ADT we just added from the drop-down list after work with. We will see the Developer Tools below, which will show Android DDMS and Android Development Tools, select them. As shown in:

  • Next, follow the prompts to proceed to the next step.

After completion:

  • Select Window> Preferences...
  • Select Android on the left-side panel, and then click Browse... And select the SDK path. The local machine is:
    D: \ AndroidDevelop \ android-sdk-windows
  • Click Apply and OK. Configuration complete.
1.5 create AVD

To enable the Android Application to run on the simulator, you must create an AVD.

  • 1. In Eclipse. Choose Windows> Android SDK and AVD Manager
  • 2. Click Virtual Devices in the left-side pane, and then click New on the right side.
  • 3. Fill in the Name and select the Target API. the SD Card is of any size and the Skin option is selected. Currently, the default value of Hardware is used.
  • 4. Click Create AVD to Create an AVD.

Note:If you click Virtual Devices in the left-side pane, and then click New on the right side, but the target drop-down list does not have any options, then you:

  • Click Available Packages in the left-side pane, and check https://dl-ssl.google.com/android/repository/repository.xmlon the right, as shown in:

    • Click the Install Selected button and then follow the prompts.

The reason for these two steps is that some necessary Available Packages (Available Packages) are not installed in 1.3 and Android SDK installation ).

2. HelloWorld
  • Use the File-> New-> Project menu to create a New Project "Android Project"
  • Then fill in the necessary parameters, as shown in: (Note that Google APIs is selected here. You can select what you like, but you need to create the corresponding AVD)

Description of related parameters:

  1. Project Name: Name of the folder containing the Project.
  2. Package Name: the Package Name follows the JAVA specification. It is important to use the Package Name to distinguish different classes. I use helloworld. test.
  3. Activity Name: this is the main class Name of the project. This class will be a subclass of the Android Activity class. An Activity class is a simple class for starting and controlling programs. It can create an interface as needed, but not required.
  4. Application Name: a readable title on your Application.
  5. In the "Select column", select an existing project by using the "Use default location" option.
  • Click "Finish" and select "Run deployments" from the "Run" menu of Eclipse...
  • Select "Android Application" and click "+" in the upper left corner (the button is like a piece of paper) or double-click "Android Application". A new option "New_configuration "(You can change it to our favorite name.).
  • On the right Android panel, Click Browse ..., Select HelloWorld
  • Select AVD in the Target IC of the Target panel,If no AVD is available, click Manager in the lower right corner ..., Then create the corresponding AVD. As shown in:

  • Click the Run button. If the operation succeeds, the Android Simulator Interface is displayed, as shown in:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.