the new Android Studio Preview Steps

ptjqatar
the new Android Studio Preview Steps

At the Google I / O already completed this year, Google introduced Android Studio , anew IDE or "program to program" Green Operating System Android. At the moment, advanced programmers are pricing very well Android Studio, and even though it is an incomplete version, have stopped using Eclipse in favor. Today in Free Android will help you make your first steps with him.

Download File

At the risk of writing something obvious, the first thing you should do is download the application to install. You can do it at the following link:
Android Studio - Download Link

Installing on Windows

On the same page of the download link you can find the installation instructions. It's as simple as double clicking on the executable and follow the installer.
In some Windows 7 and Windows 8, problems may arise during installation (Setup can not find Java) or at startup (pinchais the executable and does not open once installed). To solve them, gone to Start menu, Equipment, System Properties on the top, Advanced System Setup on the left and on the Advanced Options tab, the button, Environment Variables.
In the window that will open, go to the box below System Variables. Just click on new and added:
  • JDK_HOME in the "Name of the variable"
  • The directory where you have Java installed. If you have installed a 64-bit version will be in: "C: \ Program Files \ Java \ jdk_version_de_java" and if you have a 32 bit or x86 is in "C: \ Program Files (x86) \ Java \ jdk_version_de_java".
Accept and Try again. If you are not installed, now you will recognize Java and if not I started, now if you will.
Untitled

Installation on MAC

Once downloaded, open the DMG file extension and move the folder to be created in the Applications folder. Once done, you are ready to run.

Installing on Linux

First the file is downloaded and the file is decompressed with TGZ extension to your chosen location. Android Open Studio id to "android-studio / bin / studio.sh" You can add an environment variable to this directory for easy access.

Starting the application

Well, we've installed Android Studio, now, let's try it. Nothing more start the program, will tell us whether we want to import data from another IDE, such as Eclipse, for example. For this we have to select the folder where we have our projects and import.
Once this is done, a window where we have certain options open. Among them, open or create a new project.
New Project
Suppose we want to create a new one. We click on New Project. If we get as friendly as you see the following message, nothing happens. Has arrangement.

Error SDK
You press down on Configure, then Project Defaults, and then on Project Structure.Inside you can select the SDK you have. For example, in the folder with Eclipse ADT or Users / "tuperfil" / Appdata / Local / Android /. Those are two of the places where it is installed by default, but can that you have decided to save the SDK anywhere else when you instalasteis. Be sure to hit "Apply" before aceptar.Una Once done (you may only have to close and open Android Stuido) can now begin.

Initiation
You see, you must add a name to the application in the first box. Then, the module name, which usually bear the same name, although of course you can change it, and followed, the name of the application package, important for ID when uploading to the Play Store.
We were also, will choose the minimum version of the SDK you want to use for the application. If we want an application reaches the maximum number of users possible,we must choose the oldest, but also keep in mind that we will solve all problems of compatibility with all versions in which our application is available. We know that versions prior to Froyo have errors and incompatibilities. Therefore, ideally choose at least SDK 2.2 Froyo or Gingerbread 2.3.x.
Then, we should choose the version which is directed our application, ideal in this case is to choose that version in which there are more devices, but without giving up the improvements that occur in the most current. Therefore it would be good idea to opt for ICS 4.04 or 4.1.2 Jelly Bean.
Then we can choose the version of the SDK with which our application is compiled.Here, we can only choose the most reciente.Por now, Jelly Bean 4.2.2, but will soon be 4.3.
Now we can choose which of the Holo styles we like. Dark, light, or light with the new dark side menu.
Of the three options below to mark the first states that want to use a custom icon for the application. Second, create an Activity for your application in the terminal (or emulator). The third indicates that you want to create a library for an applicationalready created or you want to use in your terminal outside of an application, therefore, it will not be an application to use.
Icon
If you checked the option of custom icon, you see a window like the one above will appear. Here is all that you need to create the icon.
In Image, you can upload an image to use as application launcher. In Clipart, you can choose between different symbols and icons. And Text, you can put make an icon for the application with more or less ornate letters.
In line with this, I must say that every time our Smartphones screens are larger and have greater resolution, therefore it is convenient to use an icon that looks good in HD or Full-HD resolutions. If we correct the icon without appearing pixelated XXHDPI, we can be sure that will correctly on any device, including tablets.
Shape
Once this is done, we can move to the next window. Here you can choose the type of main window will our application. Our choice will depend, to some extent, the remainder of the application.
  • Namely, we have the usual window or Blank, in which we have a top bar where the menu, title and "back" will be included. Underneath all the window belong to the contents of the application.
  • Then, Fullscreen, ideal for games and other types of application. In this case, the status bar and buttons (if any) will be covered by the entire window of our application, where will the content.
  • Then login for applications similar to the first, but start with a record that is needed to fill in.
  • The fourth is Master / Detail. Here we split a menu on the left, and content for each menu item to the right window. This seems the ideal for tablets and phones with large screen to rotate horizontally.
  • The last Settings, it seems that it is designed as a list of settings.
Activitys
After selecting a type of window, you can choose a name for the activity and the main layer of the window. We may also choose which style we want for our application tabs. No tabs, Fixed, movable or cascade.

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Accept !