How to launch applications on your phone. What is needed to update applications in the Play Market


In four years, Android has transformed from a small but ambitious project into perhaps the most complex and feature-packed mobile OS of our time. Android supports a huge number of technologies and functions, many of which are hidden from the user or hidden in places you wouldn't even think to look at. This article is a collection of tips and tricks that can be applied to any Android device without the need to root.

01. DISABLE THE AUTOMATIC CREATION OF ICONS ON THE DESKTOP

I think I’m not the only one who is annoyed by the way the market behaves when installing an application. For some reason he thinks that for any more or less software or the next game I definitely need an icon on the desktop, and he successfully creates it. And I have to delete it. And then another one. And so every time.

Fortunately, this behavior is easy to disable - just open Google settings Play (in the left panel) and uncheck the “Add icons” option. There you can also disable the forced password request every 30 minutes when purchasing applications, as well as the hated auto-update of applications.

02. DISABLE GOOGLE SEARCH AND OTHER USELESS SOFTWARE

Standard firmware for Android smartphones includes great amount useless software, starting from a bunch of Google applications (do you know that Google requires manufacturing companies to include almost all the software it develops in the firmware of their devices?) and ending with all sorts of junk from the smartphone manufacturer. All of this (or at least most) can be disabled.

Go to “Settings → Applications → All”, tap on the desired software and click “Disable” (of course, you will be warned how “dangerous” this is). By the way, when disconnecting Google search will disappear and Google Now, as well as the search bar from the desktop (after reboot), which will be replaced by an empty area.

03. RESET TO SAFE MODE

Few people know, but Android, like many other operating systems, has a so-called Safe mode. This is a mode in which the operating system boots with disabled third party applications. Malware that is not very skillfully written (one that is not registered in the system partition) then falls off, like any software that interferes with normal operation systems. Safe mode can be used to bypass screen blockers, applications that cause the smartphone to freeze, or, alternatively, to identify who is actually eating up the battery - the next firmware or software update.

The mode is turned on in a rather simple, but not at all obvious way: by holding down the power button and then holding your finger on the “Turn off power” item. After rebooting, the culprit of the problem can be removed through “Settings → Applications”.

04. GET RID OF INSTRUCTIVE NOTIFICATIONS

“The construction of the castle is finished!” - how did you get these notifications? Everyone who is not too lazy is trying to notify me about all possible and impossible events: “Vasya Dzhubga replied to you on Twitter,” “You have 100,500 new messages,” “You won surgery to enlarge your right leg.” You swipe away one notification, and three new ones appear in its place.

How to get rid of all this slag: hold your finger on the notification for a long time and uncheck the “Stop” button. This is the recipe for KitKat. In Lollipop, everything is a little different, but the essence is the same: hold down, then the i button, in the window that opens, put a checkmark on “Block”. There you can also force the notification to be a priority so that it is always at the very top.

05. DON'T FORGET ABOUT THE SERVICE MENU

Another not at all obvious function is service menu. It can be opened by dialing *#*#4636#*#*. Basically there are different Technical information like IMEI number, signal strength, current location or network type. But there is also a very useful function for some situations to force the smartphone to switch to desired type networks (2G, 3G, LTE).

In conditions bad level The device tends to reset its 3G/LTE signal to 2G in order to save battery power and ensure subscriber availability. This behavior can be disabled. Open the service menu and in the “Set up preferred network type” item, select WCDMA only or LTE only. In the same way, you can switch your smartphone to 2G - GSM only. It will help if you need to save battery power and the Internet is rarely used. By the way, you can also disable the radio module there altogether (until the next reboot, of course).

Smartphones based on Chinese MTK chips have their own and much more sophisticated service menu. His number is *#*#3646633#*#*. There are different system information and a huge number of tests, among which you can find several useful settings, such as adjusting the call volume or, for example, changing GPS/AGPS settings. The menu itself is terribly illogical and contains so much varied information that I don’t even dare to describe it, but simply send the reader to three letters - XDA.

06. USE A STANDARD BROWSER

I don't know why users don't like the built-in one so much Android browser. In my opinion, he is wonderful. Lightweight, fast, based on the Chromium engine, can synchronize with Google account(that is, it immediately includes all bookmarks and passwords from Chrome), but most importantly, it has a very convenient and almost ingenious navigation method. This is the so called radial menu, which can be activated in the settings (Android 4.0–4.4 only).

07. MANAGE YOUR CONTACTS FROM YOUR COMPUTER

Google has web services not only for remotely installing software, blocking and searching for a smartphone, but also for managing contacts. All people's contacts ever saved and synchronized when connecting a new smartphone can always be found on the page google.com/contacts. They can be viewed, edited, added and deleted. Moreover, oddly enough, it is essentially part of Gmail.

08. MONITOR YOUR PROCESSOR LOAD

Android has a built-in function to show the current CPU load and active this moment processes on top of the screen. In theory, it is intended for application and firmware developers and is hidden from ordinary users, but no one is stopping us from activating it. But first you will have to reach the “For Developers” settings section, which by default does not exist at all.

Go to settings, then “About phone”, find the line “Build number” and tap on it seven times in a row. The message “You have become a developer!” should appear on the screen. This means that the “For Developers” item is now open, and we go to it. We rewind almost to the very bottom of the screen and in the “Monitoring” section we find the “Show CPU load” switch.

Turn it on and see a list in the upper right part of the screen. The first line is the so-called loadavg, which shows the number of processes that had to run or wait their turn to run in the last minute, five and ten minutes. To put it very roughly: if these values, divided by the number of processor cores, are above one, this means 100% processor load in the last minute, five or ten minutes, respectively. Below is a list of the most power-hungry processes (essentially, an analogue of the top command from Linux).

09. USE ADB TO BACKUP SOFTWARE ON YOUR COMPUTER

We have already written more than once about a wonderful tool called ADB, which can significantly simplify managing a device from a computer for a person who is familiar with the console (here we are mainly talking about Linux, of course). In addition to the ability to install software, transfer files to a smartphone, view logs and other useful things, ADB has recently made it possible to backup all smartphone settings and applications.

To take advantage of this functionality, install the universal ADB driver (goo.gl/AzZrjR), then download ADB itself (goo.gl/3P7klM), install the driver, then expand the archive with ADB, connect the smartphone to the computer with a USB cable, launch the command line and execute the command

A message will appear on the smartphone screen asking you to specify the encryption password for the backup - you can safely press “Next”. The application backup process will begin, which will affect both the APK packages themselves (the -apk flag in the command) and their settings. All applications from the memory card will also be included in the backup. You can restore a backup using the following command:

$ adb restore backup . ab

10. DISABLE BACKGROUND DATA TRANSFER IN APPLICATIONS

Working in the background, applications can actively use the Internet for a variety of purposes, from updating their content to leaking information about your location. In addition, such activity in any case leads to increased battery consumption.

Android has the ability to selectively restrict applications from transferring data in the background, but it is located in a place where most users would hardly ever look. To prevent any application from using the Internet in the background, you need to go to settings, then “Data transfer”, scroll down the screen to the list of applications actively using the network (for some it will be a surprise that it is there at all) and tap on the desired software. At the bottom there will be an option to “Limit background activity”. It is worth keeping in mind that the option will disable data transfer only over the mobile network, so Wi-Fi data will continue to flow.

11. USE THE SEARCH BAR

Often, smartphone owners Android based neglected search bar at the top of the main screen. This is really logical, given the ability to search by typing a query into address bar any mobile browser.

Meanwhile, the desktop search bar does much more than just redirect your request to google.com. It allows you to search contacts, applications, calendar events, bookmarks and web browser history in automatic mode. At normal use smartphone, it may not be so useful, but when connecting an external keyboard it indispensable tool. Just click and enter the name of the application, contact or anything else, and it immediately appears on the screen.

12. USE SMART LOCK

Smart Lock is one of those features that you don’t think about, but once you try it, you can’t live without it. This is one of the most notable new products Android Lollipop and one of the most useful features added to Android in Lately. The idea of ​​Smart Lock is extremely simple - it disables the PIN code or other lock screen protection if there is a specific Bluetooth device or map location nearby.

By default, Smart Lock is “sort of” disabled. That is, it does not light up anywhere, but after pairing with a new Bluetooth device (of any type), it will definitely offer to add it to your White list. After this you will forget about her again. But only until you enable lock screen protection in the “Security” section of the settings. Now it will work as it should.

Sami Smart settings Lock are in the same section, and in addition to adding new Bluetooth buildings, there you can specify “ safe places”, and immediately with a list of options based on Google Now “observations”. By the way, if you disable it, as described in the first tip, then this functionality will also be lost.

13. SAVE ENERGY RIGHT

Another notable innovation from Lollipop is its power saving mode. IN standard Android it migrated from the firmware of smartphone manufacturers, who previously sold it independently. Now the function is in pure Android- you use your smartphone to the fullest, and when you reach 15% of the battery charge, the system suggests turning on the power saving mode, which turns off background data transfer, reduces the brightness to a minimum, turns off some sensors and reduces the screen rendering FPS to a couple of tens of frames per second. For clarity, the status bar and on-screen buttons at the bottom of the screen turn red - so you don’t forget.

To save battery life on a smartphone with an AMOLED screen, you can set black wallpapers and use apps with black backgrounds.

The energy saving mode is customizable. Go to “Settings → Battery → menu → Power saving mode.” Here you can specify a condition automatic switching on mode (though the choice is meager: 5%, 15% or never) and, most importantly, turn on the mode right now. Very convenient if you have a long trip ahead without the possibility of recharging.

14. MONITOR TRAFFIC

Most likely, smartphone manufacturers, as usual, will shovel the standard Android interface 5.0 and everything will change (hello Samsung - the biggest fan of breaking interfaces), but in the standard Lollipop curtain, or rather, in the “second curtain” with
flasks quick settings There is one highlight. The data transfer button in the center does not switch data transfer at all, but expands into an interface that allows you not only to view the current traffic consumption, but also to disable data transfer using the switch on top.

15. SHARE NOT YOUR PHONE, BUT THE APPLICATION

Especially for those who like to give their phone to other people, Lollipop has Screen function pinning, which allows you to lock your smartphone on one application without the ability to close it or switch to another. Like many other useful features, it is completely invisible and hidden quite deep in the settings. To activate, go to “Settings → Security”, scroll almost to the very end and turn on the “Block in application” option.

Now if you click the view button running applications(“Review”), at the bottom of the thumbnail current application A pushpin will appear. Once you tap the icon, the screen will be locked on the selected app and you will need to hold the Back and Overview buttons simultaneously to go back. In this case, you will have to enter a PIN code if it is set for the lock screen.

XX. USE ACITIVITY LAUNCHER

Any graphical Android application includes one or more so-called “activities”. Each of them is an application window (screen), for example main screen or a settings screen, maybe even a file selection window. By default, you can open directly (from the desktop) only those activities that the application developer marks as main; the rest are accessible only through the application itself and only if the developer himself allows this.

However, having at hand the right tool, you can reach any other activity of any application and even create a shortcut for it on the desktop. Activity Launcher does just that. Just install the application, select “All actions” in the menu at the top and find the software you need. All of her activities will appear on the screen, and any of them can be opened with a simple tap or placed on the desktop by holding your finger for a long time.

An example of useful “internal” activities is the Chrome bookmarks window (Chrome →Bookmark), access to the hidden AppOps mechanism in Android< 4.4.2 (Настройки → AppOps), запуск поиска в TuneIn Radio (tunein.ui.activities.TuneInSearchActivity). Очень много активностей имеет в себе ES Проводник, включая редактор, музыкальный плеер, просмотрщик изображений и многое другое. Любую из них можно запустить напрямую с рабочего стола. Таким же образом можно открыть любой раздел настроек и получить доступ к некоторым функциям ОС, достучаться до которых проблематично. Это абсолютно легальная функцио нальность, и она не требует root.

Android has a large set of hotkeys for connected keyboards. You can use Arrow, Tab, and Enter to navigate the desktop and various menus. In addition, the following key combinations are available:

Esc - “Back” button;
Win + Esc - Home button;
Ctrl + Esc - “Menu” button;
Alt + Tab - switch between applications;
Ctrl + Space - switch layout;
Ctrl + P - open settings;
Ctrl + M - control installed applications;
Ctrl + W - change wallpaper;
Win + E - write a letter;
Win + P - music player;
Win + A - calculator;
Win + S - write SMS;
Win + L - calendar;
Win + C - contacts;
Win + B - browser;
Win + M - google maps;
Win + Space - search;

To find out your MAC and IP address, go to “Settings → Wi-Fi → menu → Advanced
new functions.” MAC and IP will be at the very bottom.

Lollipop has a built-in Flappy Bird style game. Go to “Settings → About phone”,
Tap on the “Android Version” item several times, then hold your finger on the “Lollipop” that appears. Let's play.

Google Now supports a large number of Russian-language voice commands. All of them can be divided into two groups: voice search and the voice commands themselves. Voice search allows you to perform an intelligent search on Google, when the system displays a specific answer on the screen instead of a list of links, and voice commands allow you to perform certain actions, for example, send an SMS or set an alarm. The list of commands is shown in the image “Voice Google Teams Now." Voice search includes more than a dozen various types questions:
Weather. What will the weather be like tomorrow morning?
Addresses. Where is the nearest pharmacy?
Flight information. When does Aeroflot flight number 2336 depart?
Time. What time is it in London?
Events. When is sunset today?
Computing. What is the square root of 2209?
Translation. How do you say "cucumber" in Spanish?
Sport. When does Spartak play?
Finance. What is the S&P 500 index today?
Data. What is the height of the tallest building in the world?
Exchange Rates. Convert 2600 rupees to US dollars.
Images. Show photos of the Golden Gate Bridge.
Interestingly, Google Now understands a large number of much less obvious questions in English. As an example we can give:
Should I wear a jacket today?
How much tip for 420 rubles?
Where is my parcel?

This, of course, is not all that could be talked about, but it will not be possible to lengthen the article, and many of the other possibilities are already known. Don't forget about these tricks, and your smartphone will become
a little more convenient. at January 26, 2017.

Many users of branded MIUI shell complain about incorrect operation applications, which is often associated with the lack of automatic updates and the inability to synchronize. In order to get rid of all these problems, you need to properly configure the background operation of the necessary applications.

The Xiaomi company approaches security issues very competently, so everyone’s work background applications limited by default. The user must independently provide necessary permissions installed programs. At first this process is scary and repulsive, but what can you do?! Safety personal information should come first.

The whole setup comes down to performing two actions: assign required application autostart and allow it to work in background. Very important point, it is necessary to perform both actions, otherwise the desired effect will not occur.

Autorun applications

So, find it on the desktop and launch the Security program. Press the right one in it bottom button Permissions and select the section (Autostart). In this section, you need to mark the application that will launch after loading the OS. The first step is to select those programs that update data by time interval or perform synchronization. It can be different email clients, instant messengers, cloud and weather services and much more. But remember, the more applications you check, the slower the smartphone will start after a reboot. Choose only what is necessary and without fanaticism.

Once you've made your selection, the marked apps appear at the top of the screen.

Now after a reboot, the selected applications will automatically launch in the background.

Setting up background processes

However, it is not enough to put the application into autorun; you must additionally allow it to run in the background. Since the Android OS is designed in such a way that unused running programs are unloaded from memory as needed.

You can select three restriction levels: Off, Standard and Advanced. I don’t recommend choosing the first and last points unless necessary. Since this will significantly affect either the duration battery life or programs will completely stop working in the background. For myself, I chose the second option, which allows you to manually set application restrictions.

Select Standard and click Choose apps.

A list will appear installed programs, in which you need to select applications from our autorun.

Click on the application we need and assign it No restrictions. There is also an option to allow the program to detect location in the background.

We can not only allow background work, but also limit it. This may be necessary in cases where the application is very active in the background.

Do not forget that each autostart of the application and its further background work will ultimately impact battery life. You should set a priority for yourself: to receive a message on time or not to be left without communication at the end of the day. Therefore, all actions must be performed thoughtfully, weighing the pros and cons.

That's all for today. Send your questions related to the operation of the proprietary MIUI interface, configuration Xiaomi smartphones and others mobile devices on Android OS to me or PM me Telegram. I will publish answers to the best of them in the section. And also subscribe to my channel on Telegram, and you will be the first to know about new posts on my website.

Any Android smartphone comes pre-installed with a large number of applications, many of which we never use. Initially, they do not take up space in application memory, but after automatic update sometimes it even goes so far as to update pre-installed applications They fill up all the memory and prevent you from installing any new applications. In addition, most pre-installed applications have a permanently running resident part, which slows down the smartphone and consumes battery power.

Today I will tell you how to quickly and easily get rid of unnecessary applications and free up memory.


Pre-installed apps cannot be removed standard means, but you can disable them without forgetting to uninstall the updates. Once disabled, applications will disappear from the menu and will not consume system resources.

So, go to “Settings-Applications” and look for candidates for removal. The "downloaded" tab will contain those pre-installed applications for which Android has installed updates.

Click on the application. First of all, click the “uninstall updates” button.

We agree to the proposal to replace the updated application with the original version.

Then click “Turn off” and confirm your action.

Click "Stop" to unload the application from memory (if this is not done, it will work until rebooted).

We do this to everyone unnecessary applications. Next, go to the “All” tab.

Here you can see those applications that have not been updated. You just need to turn off and stop everything you don't need. This tab contains, among other things, important system applications, so disable only what you are absolutely sure of.

I always disable the following applications:

Drive (Google Drive)
Maps (Google maps)
News and weather
Google Calendar Sync
Movies (Google movies)
Email
Gmail
Google Keep
Google Play Press
Google Play Movies
Google+
Hangouts
Play Books
Play Music

Of course, if you use any applications from this list, you do not need to disable them.

To prevent Android from installing updates on everything, it is better to turn off auto-update: run " Play Store" and click on the three stripes in the upper left corner.

Let's go to settings. "Auto-update applications - never"

At the same time, turn off “Notifications about updates”.

This is how you can easily, quickly and using standard means make your smartphone work faster, keep application memory running longer, and have enough battery life for a longer time.

First of all, my blog is about technology: I write reviews, share experiences, talk about all sorts of interesting things. I also make reports from interesting places, publish notes about music, cinema and interesting events.
Add me to your friend list

Android users often notice that their devices become slower over time. There can be many reasons for this phenomenon, but one of the most common is the running of currently unused applications in the background. Here we will look at how you can disable automatic start and what to do if the application persistently tries to start again and again.

Why disable automatic start?

Everything running on your device affects the available memory, processor, and battery power. For the most part, this is not a problem since Android is designed to random access memory there have always been applications to enable them quick use. If performance begins to decline, the system itself begins to close the least used ones in order to maintain speed. For this reason, it may be counterproductive to close applications with third-party task killers ( task killer), since Android prefers to run in its own environment.

But if one of your installed apps insists on launching even when you don't need it, and then sits in the background, you may find that your device starts to feel sluggish or the battery drains noticeably faster. In this case, it is necessary to check the operation of all unauthorized applications. Sometimes the problem arises due to poor coding or obvious software “bugs”. Battery life may be reduced if the application uses GPS or other location-based features.

A good rule of thumb is to keep only what Google provides on your device. The exception is various applications from Google Play (Books, Movies and TV, Press and Music), each of which can be stopped without causing any disruption to the system. Android protects itself quite well, so even if you carelessly try to terminate some important process on your device, the system itself will correct you, preventing catastrophic consequences. This is useful to know.

The sad truth is that if an application has an auto-run feature, it can be quite difficult to rein it in. Let's look at the different options.

How to disable auto-start applications: if you have Marshmallow installed

If you notice problems with your device's performance, you need to look at what apps are running. The procedure is slightly different depending on which version of Android you are using. If you upgraded to (Android 6.0.1), you need to enable developer mode before you can access the information.

To do this, go to “Settings> About Phone” and click on the “Build Number” section several times until the message “You are now a developer!” appears. (You are now a Developer!). After that, return to “Settings”, where a new section “Developer options” will appear.

Open this section and select " Running services» (Running services). You will see an expanded list active applications indicating the duration of their operation from the moment of launch and the impact on the operation of the system.

Select any of them and you will be given the option to stop the application or get a report. If you click Stop, the program should close. In some cases it is necessary to stop several various processes launched by one application, after which the program will safely close.

Sometimes it happens that after closing the application automatically starts again. Therefore, it is worth checking this section periodically. If this happens, it may be best to remove it completely, as preventing AutoPlay apps from restarting can be a challenge.

How to disable auto-start applications: Doze function

Doze function Android Marshmallow allows you to minimize the impact of background applications. Essentially, it “freezes” the launch of applications when the smartphone is in your pocket, lying on a table or in a bag, and, in general, when it is not connected anywhere and the screen is off.

To check if Doze is enabled for your smart apps, go to Settings > Battery and tap the three dots in the top right corner. After this there will be additional options, including "Battery Saver" ( Battery Saver) and “Battery Optimization”. Select the latter and you'll see a list of apps that haven't been optimized. If you find your “naughty” application there, tap on it, select “Optimize” and click “Done”. Now Android will control it more tightly throughout the day.

Apart from the settings described, there are practically no other ways to stop applications from automatically launching, unless you use solutions from third party developers(task killer). However, this is far from The best decision, as these programs interfere with Android in many ways. Therefore, if the application does not want to obey you, you should delete it and find a more acceptable alternative. Fortunately, their choice is huge.

How to disable autorun applications: if you are using outdated versions of Android

In Android 4.0 and above, there are a couple of different options for killing an application. To find out which ones are sucking up your resources, go to Settings > Applications and scroll down to the Running section. Find the application you are looking for there, select it and simply click the “Force Stop” button. The same result can be achieved by “tapping” on home screen Recent Apps button (the square usually located to the right of Home buttons) and then with a movement of your finger (“swipe”) remove the unnecessary program.

Unfortunately, none of these methods will prevent the application from restarting on its own. Therefore, if you really need it and want to keep it on your smartphone, you will have to use a third-party task manager to disable autorun.

How to disable autorun applications: third-party solutions

The most popular task managers/killers are Greenify, Purify and Doze, each of which works on the same principle as the Doze function in Android Marshmallow, i.e. Pauses applications when you are not using the device. Each of the programs listed has many additional features, but they usually require root access, which is an additional headache. Rooting your smartphone gives you a deeper level of control over it, but it comes with risks. Therefore, if you are not confident in your technical abilities, it is better not to resort to this option.

If you followed the previous tutorial to create a "Hello World" Android project, which included a set of source files allowing you to run the application right away.

How you run your application depends on two things: whether you have a real Android device and whether you are using Eclipse. This tutorial will show you how to install and run your app on a real device and on an Android emulator, both using Eclipse or command line tools.

Before running your application, you should be aware of several directories and files in an Android project:

The AndroidManifest.xml manifest file describes the main characteristics of the application and defines each of its components. You will learn about the various declarations in this file as you progress through the tutorials. One of the most important elements that your manifest should include is element. It states that your application is compatible with different versions Android, using the android:minSdkVersion and android:targetSdkVersion attributes. For your first application, it should look like this: ...

You should always set android:targetSdkVersion as high as possible and test the application on the appropriate platform version. For getting additional information, read. src/ The directory for your application's main source files. By default, it includes an Activity class that is launched when your application is launched using the application icon. res/ Contains several subdirectories that contain . Here are just a few of them:

Drawable-hdpi/ Directory for drawable objects (for example, raster images), which are intended for high density(hdpi) screens. Other drawable directories contain sets designed for other screen densities. layout/ Directory for files that define user interface your application. values/ A directory for various other XML files that contain a collection of resources such as strings and color definitions.

When you build and run Android application by default, the default Activity class created starts and loads a layout file that says "Hello World". The result is nothing exciting, but it's important that you understand how to run applications before you start developing.

Run on a real device

If you have a real Android device, here's how you can install and run the app:

  1. Connect your smartphone to your computer using USB cable. If you are developing on Windows, you may need to install the appropriate USB driver for your device. For help installing drivers, see OEM USB Drivers.
  2. Turn on USB Debugging on your device.
    • On most devices Android control 3.2 or older, you can find the option in Settings > Applications > Development.
    • On Android 4.0 and later, this is in Settings > For Developers.

      Note: On Android 4.2 and later, For developers hidden by default. To make it available, go to Settings > About phone and press Build number seven times. Return to the previous screen to find For developers.

Android Studio :

Open one of your project files and click Run app on the toolbar. Or press the key combination Shift+F10.

A window will open to select the connected real device or emulator. Android Studio installs the application on the selected device and launches it.

To launch the application from Eclipse:

Eclipse installs the application on the connected device and launches it.

Or to run the application from the command line:

  1. On your device, find MyFirstActivity and open it.

Here's how to build and run an Android application on your device! To start developing, read.

Run on emulator

Whether you use Android Studio, Eclipse or the command line, to run your application on the emulator you must first create virtual device Android (AVD from English Android Virtual Device). AVD is the device configuration for Android emulator, which allows you to simulate various devices.

To create an AVD:

To run an application from Eclipse:

Eclipse installs the application on the AVD and runs it.

Or run the application from the command line:

  1. Go to the root directory of your Android project and run: ant debug
  2. Make sure that Android SDK platform-tools/ directory is included in your PATH environment variable, then do: adb install bin/MyFirstApp-debug.apk
  3. In the emulator, find MyFirstActivity and open it.

Here's how to build and run an Android application on an emulator! To start developing, read the next lesson.







2024 gtavrl.ru.