Questions tagged [dashclock]

DashClock is a replacement lock screen clock widget for Android 4.2+. It also exposes additional status items called extensions.

The widget comes bundled with extensions that give you instant access to:

  • Your current local weather
  • Missed calls and unread text messages
  • Your next calendar appointment
  • Unread Gmail inbox or priority inbox conversations
  • Your next scheduled alarm

Project Home Page: https://code.google.com/p/dashclock/

15 questions
6
votes
3 answers

Dashclock Widget extension not updating

I have a DashClockExtension that sometimes doesn't update. It's using a LocalBroadcastReceiver to update the extension similar to http://bit.ly/1e4uMl0. The receiver is registered in the onInitialize() method: @Override protected void…
Emanuel Moecklin
  • 28,488
  • 11
  • 69
  • 85
2
votes
1 answer

How can I maintain a persistent BroadcastReceiver in a Dashclock extension?

Here's the scaffolding code of my Dashclock extention. It receives messages from GCM and displays the information. public class ComputerWidget extends DashClockExtension { private MessageReceiver objMessageReceiver; private class…
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
1
vote
1 answer

Android DashClock Extension setup for CM Home (CyanogenMod 11)

today I coded a DashClock Extension in Java for DashClock Widget by Roman Nurik (https://play.google.com/store/apps/details?id=net.nurik.roman.dashclock&hl=de). Everthing works fine but the extension doesn't show up in CM Home. I have googled much…
Warren. Ty.
  • 11
  • 1
  • 5
1
vote
1 answer

I'm making a simple Dashclock Calendar extension, and it stopped updating

I'm making a basic Dashclock extension that polls CalendarContract.Events for a list of all calendar events synced to the user's device, retrieve the one that's scheduled to happen the soonest, and post the time, title, location, and desctiption.…
MowDownJoe
  • 728
  • 1
  • 11
  • 29
1
vote
1 answer

How do I publish an update to Dashclock when my application receives an Intent?

I have added a location proximity later using Android's addProximityAlert method in the LocationManager class. When the user's phone is a particular area, the LocationManager sends an Intent to my application's BroadcastReciver and here is the class…
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
1
vote
2 answers

Dashclock widget example-extension Unable to instantiate service

I'm trying to write dashclock extension, so I started with the example-extension but I can't get it work properly. I can see this example extension in dashclock settings in extensions list but it is not on the actual dashclock widget. It crashes in…
Semanticer
  • 1,962
  • 1
  • 18
  • 29
0
votes
1 answer

DashClockExtension services always run

According to the ProcStats screen DashClockExtension services are never stopped. Isn't it wasteful? Is there a way to implement an extension so that the system can kill it? Thanks
jakk
  • 1,193
  • 2
  • 12
  • 28
0
votes
0 answers

DashClock worldReadable metadata has no effect

This is my manifest, it works fine in the official dashclock app but not in any other plugin host (i tested sidebar plus and a few similar apps). i always get the same error in logcat: caller is not official dashclock app and extension is not…
joe1806772
  • 506
  • 6
  • 20
0
votes
2 answers

LocationListener onLocationChanged is not always called in DashClock extension

I have a DashClock extension that can be refreshed by clicking on it or by time interval so I'm using an AsyncTask. I also use a LocationListener since I need the user's location. Sometimes, onLocationChanged does not trigger causing my extension to…
0
votes
1 answer

How to get Data from an activity periodically?

I am trying to make a dashclock extension for my app. Basically my app's main activity reads data from the sensor and shows it. Now the dashclock extends DashClockExntension which extends Service. My doubt is, how should i make this service to ask…
0
votes
1 answer

Dashclock extension: Aligning expanded body text to form a table

I am unable to align text in a table format in my dashclock extension's body. Following is the format I want (first column left aligned, rest columns right aligned): A 2 3 BC 5 10 DEF …
Prasanna
  • 3,703
  • 9
  • 46
  • 74
0
votes
0 answers

Does DashClock Widget update its extensions when device shuts down?

I am building a DashClock extension in which i need to store some values in SharedPrefs just before the device shuts down. So, does the DashClock widget calls onUpdateData() method before device shuts down? Or, whether it calls onDestroy()? Or else,…
Amit Jayant
  • 2,501
  • 2
  • 29
  • 38
0
votes
1 answer

Android Service get data from database on specific time

I have an app show my school timetable, now i trying to write a DashClock widget. I need to get current day subject from database on specific time like everyday 12am so i can publish the update to DashClock. I check AlarmManager, but have no idea…
crossRT
  • 616
  • 4
  • 12
  • 26
0
votes
2 answers

My dashclock notification disappears

I am building an app to help you keep track of tv-shows. When i first add my "widget" to dashclock the notification appear if there is any, but after a while they disappear again. The code for my activity extending…
Jonathan Andersson
  • 1,057
  • 1
  • 10
  • 19
0
votes
0 answers

DashClock preferences

I try to build a small extension for dash clock, and I want to be able to configure a couple of settings, but as I am doing it now, it doesnt work. In a prefs.xml file I have a checkbox like so:
user1008467