background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Start аndroid: Урок 90. AsyncTask. Status -- статусы задачи (программирование под android)"

input logo icon
Video tags
|

Video tags

Android (Software)
Computer Programming (Professional Field)
AsyncTask
doInBackground
Status
onPreExecute
onPostExecute
downloadFile
программирование под android
разработка под android
разработка под андроид
java
eclipse
android sdk
андроид программирование
видео уроки
Андроид
программирование на java
android
как стать программистом
приложения для андроид
asynctask
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:14
Hello everyone This is lesson 90 we continue the series of
00:00:17
lessons he Task in this lesson we read the
00:00:20
statuses of the task we can always
00:00:22
determine in what state the
00:00:24
task is now, statuses are used for this There are
00:00:26
only three nng the task has not yet been
00:00:29
launched Running The task is in progress and the
00:00:31
Finish method onp execute has worked, that
00:00:34
is the task has been successfully completed, in principle,
00:00:37
everything is clear by the names, but let’s look and
00:00:39
see for ourselves; besides, it’s not very clear
00:00:41
What status the task will be if we
00:00:43
cancel it using the cancel method; let’s look at an
00:00:46
example; create a
00:00:48
project fil Strings
00:00:51
xml Activity Main xml using the hundred button;
00:00:55
launch the task using the status button We will
00:00:57
display its status in the
00:01:02
Main
00:01:10
Activity file by pressing the Start button. The
00:01:13
Start Task method is triggered. In it, we
00:01:15
simply create a new task, but for now we do
00:01:17
not launch it. By pressing the button, we
00:01:20
read and enter the status of the task on the screen.
00:01:23
We use the Get status method. The task itself is
00:01:25
simply run in a
00:01:28
pause loop. save everything and
00:01:32
run it, press start, the task has been created,
00:01:35
press the status status is pending That's right,
00:01:38
the task has not yet been
00:01:40
launched, let's rewrite the Start
00:01:51
Task method Now we will create the task and
00:01:53
run it, save it, run it, press
00:01:56
Start, the task has started working, press the status
00:01:59
while the status is running, Running Task in
00:02:02
work After the task has completed
00:02:04
end On the screen, click status status Finish
00:02:08
the task is completed successfully, the onp
00:02:10
execute method has been completed, now let's see
00:02:13
what the status will be if we cancel the task,
00:02:15
rewrite a hundred
00:02:18
Task without thinking twice, cancel the task immediately
00:02:21
after
00:02:23
launch, save, launch the application,
00:02:26
click Start, the task has been canceled, click status, the
00:02:30
status is somehow injured, as if the Task it’s
00:02:32
not particularly logical in operation, of course, but here’s a
00:02:35
feature of the implementation. Why
00:02:37
couldn’t you enter another
00:02:39
cancel status? I don’t know Android developers know
00:02:41
better how to distinguish whether a task is
00:02:43
started or canceled, you can use the
00:02:46
is cancel method, we’ll rewrite the Show status
00:02:49
like
00:02:51
this, we’ll save it, we’ll launch the application zhm
00:02:54
task is canceled zhm status task
00:02:57
cancelled, the cheat returned True and we displayed the
00:03:01
corresponding
00:03:04
message, that's all. And in the next
00:03:06
lesson, we save the sing Task connection when
00:03:09
rotating the screen. Bye everyone

Description:

Мы всегда можем определить, в каком состоянии сейчас находится задача. Для этого используются статусы. Android development tutorial (online courses). In this tutorial: read the status of the task Обсуждение урока на форуме: http://forum.startandroid.ru/viewtopic.php?t=979 Ссылка на источник: https://startandroid.ru/ru/uroki/vse-uroki-spiskom/153-urok-90-asynctask-status-statusy-zadachi.html

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Start аndroid: Урок 90. AsyncTask. Status -- статусы задачи (программирование под android)" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Start аndroid: Урок 90. AsyncTask. Status -- статусы задачи (программирование под android)" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Start аndroid: Урок 90. AsyncTask. Status -- статусы задачи (программирование под android)" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Start аndroid: Урок 90. AsyncTask. Status -- статусы задачи (программирование под android)" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Start аndroid: Урок 90. AsyncTask. Status -- статусы задачи (программирование под android)"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Start аndroid: Урок 90. AsyncTask. Status -- статусы задачи (программирование под android)"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.