...

Deskclock что это за программа на Андроид

Deskclock что это за программа на Андроид

Desk Clock (часы)
Версия: 13.81.0

Последнее обновление программы в шапке: 30.08.2023

Прикрепленное изображение

Прикрепленное изображение

Краткое описание:
Часы, доступ к будильнику, музыке, галерии и домашнему экрану.

Требуется Android: 7.0 и выше
Русский интерфейс: Да
Имя пакета: com.android.deskclock

Прошлые версии

Сообщение отредактировал iMiKED — 30.08.23, 08:52

Причина редактирования: Обновление: новая версия 13.81.0 Обновление 29.08.2023 Android 7.0+ arm64-v8a + armeabi

08.12.11, 10:08 | #2


Постоянный
Реп: ( 48 )
Я ничего не понимаю. Это же стандартные часы, которые у всех есть
08.12.11, 15:03 | #3


Постоянный
Реп: ( 118 )

=) тоже удивился, зачем стандартные часы выкладывать. Потом вспомнил, что в моей прошивке нет часов и будильника

08.12.11, 20:09 | #4


Почётный форумчанин
Реп: ( 1256 )
Я что-то не понял, почему программа OEM? Может кто объяснит?
09.12.11, 05:57 | #5


Постоянный
Реп: ( 118 )
Благополучно проспал =) программа закрылась с ошибкой в момент срабатывания будильника
12.12.11, 17:44 | #6


Постоянный
Реп: ( 22 )
На 2.1 не пашет.
12.12.11, 19:40 | #7


Постоянный
Реп: ( 69 )

Уважаемый s3ri0us95 тестировалось на 2.3 (Samsung galaxy ace), HTC Desire (2.2, 2.1), Sony Ericsson XPERIA X8, arc(2.1)
А на каком устройстве тестировали вы уважаемый s3ri0us95?

Сообщение отредактировал hulizu — 09.06.13, 21:31

Причина редактирования: Дополнил
12.12.11, 20:31 | #8


Постоянный
Реп: ( 8 )

Бесполезная и совершенно не нужная программа. ИМХО
Сильно жрёт батаерею, и сама по себе не практична

Сообщение отредактировал FyFuK — 12.12.11, 20:32

DeskClock

Deskclock is a core application that comes with Android, shouldering the basic functions related to Android time, providing alarm clock, clock, countdown, and stopwatch services. I believe that the clock and alarm clock are frequently used functions for most users. The author is relying on the mobile phone to watch the time, and the number of alarm clocks is also full. I have seen that Deskclock, as a provider of basic service functions of the Android system, has a great responsibility.

This article will tell you about Deskclock in five modules: clock, alarm clock, countdown, stopwatch, and other minutes. This article is based on the Android Q platform source code.

Overall structure

clock

The clock provides two functions:

  • Digital clock
  • View Add Time in Different Time Zones (World Time)

As shown in FIG.

Class Diagram

The overall function is a master clock and a world clock. The clock can be displayed in a digital clock (TextClock) or an analog real clock (AnalogClock). The world clock is drawn by RecyclerView, and users can add clocks from all over the world.

Alarm clock

Alarm

The reference diagram of the alarm clock is divided into two parts. The upper part is an analog real clock, and the lower part is a list of alarm clocks set by the user.

Class Diagram

As shown above, summarize the following:

  • The drawing of the UI part is done by AlarmClockFragment, where the analog digital clock is handed over by DialPlate, the alarm list is handed over by AlarmRecyclerView, and the user click logic is handed over by AlarmTimeClickHandler.
  • Alarm clock data transmission in the component mainly encapsulates data through Alarm.java.
  • The addition and editing of the alarm clock are done by AlarmSettingsActivity.
  • Load alarm clock data through the Loader mechanism.
  • The alarm clock data is handed over to ClockProvider for solidification and query.
  • Alarm UI, AlarmNotifications and AlarmKlaxon complete the corresponding UI of alarm clock and alarm ringtone.

Create and edit alarm

The process of creating an alarm clock is as shown in the sequence diagram above, and editing the alarm clock also starts from AlarmSettingsActivity. This diagram does not include the parameter editing process of creating and editing alarm clocks (such as time, repeat, ringtone, label, etc.)

Delete alarm

Delete the alarm clock as shown in the sequence diagram above, you need to clear the alarm notification, status, ringtone (if it is ringing), etc., delete the alarm_instances and alarm_templates that are solidified to the database, and also revoke through Snackbar for a limited time. The process is basically the process of recreating the alarm clock. More details will not be repeated, and the description of the key nodes in the above sequence diagram is also added.

Alert rings

Alarm clock trigger, as you can see in the «Creating and Editing Alarm Clock» section above, the alarm clock is triggered by the AlarmManager calling the AlarmService of DeskClock.

Alarm instances database table

Alarm database table

AlarmManager data

After setting the alarm, the data on the AlarmManager side is as follows

Batch14894e1 num=1 start=1720413714 end=1720413714 flgs=0x9>: RTC_WAKEUP #0: Alarm tag=*walarm*:com.android.deskclock.change_state type=0 expectedWhenElapsed=+14h22m53s647ms expectedMaxWhenElapsed=+14h22m53s647ms whenElapsed=+14h22m53s647ms maxWhenElapsed=+14h22m53s647ms when=2020-01-09 07:00:00.000 window=0 repeatInterval=0 count=0 flags=0x9 operation=PendingIntenta9ebbef: PendingIntentRecordcb306fc com.android.deskclock startService>> 
Batche87a6f4 num=1 start=1727613714 end=1727613714 flgs=0x3>: RTC_WAKEUP #0: Alarm tag=*walarm*:indicator type=0 expectedWhenElapsed=+16h22m53s647ms expectedMaxWhenElapsed=+16h22m53s647ms whenElapsed=+16h22m53s647ms maxWhenElapsed=+16h22m53s647ms when=2020-01-09 09:00:00.000 window=0 repeatInterval=0 count=0 flags=0x3 Alarm clock: triggerTime=2020-01-09 09:00:00.000 showIntent=PendingIntent2565892: PendingIntentRecordc2fc486 com.android.deskclock startActivity>> operation=PendingIntentac6263: PendingIntentRecordff92a0f com.android.deskclock broadcastIntent>> 
 Next wake from idle: Alarm9589e1d type 0 when 1578531600000 flags 3 windowLength 0 com.android.deskclock 1000> tag=*walarm*:indicator type=0 expectedWhenElapsed=+16h22m53s647ms expectedMaxWhenElapsed=+16h22m53s647ms whenElapsed=+16h22m53s647ms maxWhenElapsed=+16h22m53s647ms when=2020-01-09 09:00:00.000 window=0 repeatInterval=0 count=0 flags=0x3 Alarm clock: triggerTime=2020-01-09 09:00:00.000 showIntent=PendingIntent2565892: PendingIntentRecordc2fc486 com.android.deskclock startActivity>> operation=PendingIntentac6263: PendingIntentRecordff92a0f com.android.deskclock broadcastIntent>> 

Stopwatch

The stopwatch interface is as shown in the figure above. The upper part is a custom timer, the middle part is the stopwatch count data, the bottom is three buttons, the middle button can be tentative, the left button resets the stopwatch, and the right button You can count the times. When the stopwatch is tentative, the right button is the share button.

Class Diagram

The stopwatch interface is simpler than the alarm clock. The custom timer is mainly completed by StopwatchCircleView and AutoSizingTextView, and the middle part is completed by RecyclerView and LapsAdapter. The logical members are mainly Stopwatch, StopwatchService, StopwatchModel, StopwatchDAO, etc.

start the timer

Press the start button to start the stopwatch

The above process includes the process of stopwatch timing, the process of resetting and counting times

Timer

The timer and the stopwatch are basically similar, so I won’t go into details.

other

External Interface

The external interface of DeskClock is handled by HandleApiCalls and receives the following actions:

action android:name="android.intent.action.DISMISS_ALARM" /> action android:name="android.intent.action.SHOW_ALARMS" /> action android:name="android.intent.action.SHOW_TIMERS" /> action android:name="android.intent.action.SNOOZE_ALARM" /> #require permission com.android.alarm.permission.SET_ALARM action android:name="android.intent.action.SET_ALARM" /> action android:name="android.intent.action.SET_TIMER" /> 

For the external interface processing, this article will not expand.

Widget

The Widget is handed over to DigitalAppWidgetProvider and will not be elaborated in this article.

Set up

Deskclock settings are left to SettingsActivity. Personalized words can be set for alarm volume, etc., this article will not expand.

What Is Com.Android.Deskclock and How To Fix It?

What Is com android deskclock

If you have had issues with your alarm, it may be due to a malfunction within the com.android.deskclock. Read below as we delve into the use of a desk clock and how to fix it if it malfunctions.

Com android deskclock in our devices act up due to malware defects often caused by deficient updates. Regular update to the app helps introduce new features, fix bugs, improve security breaches and improve the overall wellbeing of an app.

Most android users complain of bugs that hinder the normal functioning of an app. When an app has bugs, it may crash, stop randomly or slow down. If this is the case with any app on your phone, you can fix the issue in no time.

What Is Com.android.deskclock?

According to Komyshev et al. (2017), android smartphones are available in varying sizes and shapes. However, they all encompass the same operating system enhanced with settings that allow you to customize your phone to your preference.

Com.Android.deskclock is a background app that allows your clock to work efficiently. A clock enables you to access the current time and date based on a time zone.

com.android.deskclock

Since the invention of smartphones, there has been a myriad of complaints from users because often, the device adjusts itself to the incorrect time zone.

Hiccups in time zones are caused due to cell tower malfunctions which may be regulated by adjusting your time zone manually every time you travel.

How To Fix Com.Android.Deskclock App?

Sands and Tseng (2010) stated that android application malfunction is common. However, it may be a cause for concern if it persists even after trying to get rid of com Android deskclock.

Many reasons may cause the desk clock alarm to stop working, and the best way to deal with a malfunction is to fix it immediately rather than waiting for it to trouble you. Below are some of the ways you can fix your com.Android.deskclock.

Reboot Your Phone

Normally, when your android apps are lagging, you should restart your phone by pressing the power button for about 2 seconds.

If your phone does not restart, hold the power button for 5 seconds to bring forth the power menu and tap the reboot option.

Restarting your phone is a temporary solution to your app’s malfunction; if the bugging persists, it is advisable to seek a permanent solution.

Update The Android System WebView App

In 2021, there was a global malware where many android apps started malfunctioning. Later, technical experts brought a report ascertaining that a defective update caused the malware.

However, manufacturers fixed the issue through an android system webview app update. Therefore, if a com android deskclock is not working properly, it is recommended that you update the Android System WebView app immediately.

Here is how to update your Android System WebView app;

  • Go to the play store app.
  • On the top-right corner, click on your profile
  • Click on manage apps and then tap on “updates.”
  • Search for Android System WebView and then tap update.
  • Reboot your phone and then check to see if the malware has been sorted

Clear Cache Data For The App

Sometimes the cache data of com.android.deskclock alaram app slows down the performance for your android. When it happens, you must clear the cache data. To do so, follow the steps below;

  • Go to the malfunctioning app.
  • Long press and then tap on the app info or details
  • Click storage
  • Click on clear cache

Reset Your Device

Resetting your phone should be the last resort, especially if it is only one app such as com.android.deskclock and other apps including com android vending that have malfunctioned.

However, resetting can also benefit other apps that have minimal malware. Before resetting your device, ensure that you have backup your android and all essential documents, and files since you will clear them during the reset. Below is how to efficiently reset your phone;

Turn On Automatic Date And Time Setting

The automatic date and time are based on your location, which means that as long as you have a stable mobile network connection, your phone will align with the time and date of your home country.

To alter the setting on your device;

  • Go to settings
  • System and then scroll to time and date, where you will see the “set time zone automatically” option.

Bottom Line

Application defects occur due to error coding that causes the app program not to meet its requirements. Recently, some Android users have reported some unsettling behaviors with the alarms they set. The alarms either fail or go off at the wrong time. However, there are ways to deal with malfunctioning com android deskclock, as outlined in the article above.

Similar topics:

  • What is com android backupconfirm?
  • What is Com android providers partnerbookmarks?
  • Can i delete com.android.smspush?
  • What is com android settings intelligence?

При подготовке материала использовались источники:
https://4pda.to/forum/index.php?showtopic=289178
https://www.programmersought.com/article/94144353024/

What Is Com.Android.Deskclock and How To Fix It?

Оцените статью