widget

Android: Widget updating a clock with custom images as numbers

What way is most efficient for updating an widget that will be a clock(Timer/Alarm), but for a clock to really works, like a clock it would be needed to update at least twice in a minute (30 sec period or less). But that can't be effective? Have looked at some of the "threads/topics" here at StackOverFlow but haven't found any informat...

Print raw data when using the Curses development kit (Cdk)

My perl program needs to jump between ncurses and a raw console as it executes a system call in a loop, like this (simplified for problem emphasis): init Cdk present menu deinit Cdk run system call Unfortunately Cdk appears to initialize ncurses at the use Cdk import and not instantiation (Cdk::init()) and so I don't know how to di...

LinkedIn Company Insider Widget

Anyone got the Company Insider LinkedIn widget to work. http://developer.linkedin.com/community/widgets The examples on the above page only the Microsoft and IBM works - the Apple one appears to have the same issues that I am having - this is without being logged in. The issues being: It shows 0 people The link to the company doesn'...

RuntimeException on widget that has a Bitmap (Android)

Hi, my app has widgets that have an ImageView and a TextView. On the onUpdate() method of the WidgetProvider, I put a Bitmap inside the ImageView this way: Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.widget_btn); Bitmap bitmap2 = BitmapManager.setColor(bitmap, red, green, blue); views.setImageViewBit...

Loading javascript asynchronously - How to do callbacks?

I am building a javascript widget that should load asynchronously. Problem is that there can be more than 1 of these widgets on the page and that the widget should be initialized by sending it an option array via {}. What is the best way to accomplish this? I heard that simply setting onload or onreadystatechange does not work in all b...

Examples of multiple instance javascript widgets (on same page)?

Apologies for the quick question, but I'd like to see some sample widgets that allow multiple instances in the same page. (Articles about this technique would also be good!) Digg's widget allows this (http://about.digg.com/downloads/widgets) but I don't know of any others. Do you? Thanks. ...

Highlighting days in calendar widget

I'm using the django admin calendar widget and would like to do highlight specific dates within the widget for display. Is there a way to do this with the built-in django calendar widget? Or, is there recommended widget that could be incorporated into a django project for this purpose? ...

Groupbox borders

I am using Ubuntu 10.04 64 bit and QT 4.6.3. QGroupBox borders in any Qt Application are not visible. I changed Ubuntu themes but borders are still not visible. I want them to be visible. How can I solve this? ...

Reverse-engineering a Dashboard Widget?

Is it possible? I understand that Dashboard widgets are simply Javascript packaged up nicely, but is it possible to view the source of that Javascript? I realise this might be a silly question, but before I create a Dashboard widget for my site accessing an API URL I don't want to be public yet, I'd just like to check. And yes, I know...

jQuery: How to use the same widget multiple times on a single page

jQuery UI seems to be sensitive to the attributes of the elements that compose a widget. How then can I use the same widget mutiple times in a single page\form? Example - the radio select widget, which comes in the demo index.html file that downloads with jQuery-ui: <!DOCTYPE html> <html> <head> ... $(function(){ ...

Widgets doubling up in Wordpress Thesis Theme

Hi, Whenever I add a widget to the sidebar in Thesis v1.6, it seems to double up. For example, I will add a picture to the sidebar or text and they will appear twice one above the other. This happens for any widget on the sidebar. Cheers ...

Create Widget in QMainWindow and load to ScrollArea

Hey, I tried to create a Mainwindow with an slot, which creates a Widget and loads it to the ScrollArea in the Mainwindow. This doesn't work, so I tired to create the Widget in the constructor of the mainwindow and I always get errors and don't know why.. so what's the right declaration of the Widget? #include <QtGui> class Mainwindo...

How to copy text to clipboard using an intent on Android ?

I have a widget with a button and a text field. when the user clicks on the button I'd like to copy the text from the textfield to the cliboard. As this is a widget I have to used remoteviews and pending intent. Does anybody has a simple way to do it ? ...

How to use QT 4.6.3 Binding with Lazarus

Is there a way to use QT 4.6.3 visual controls with Lazarus 0.9.28.2 Beta? How I can install the QT widgets and have them in my Controls pallete? ...

Android Gallery Widget onScrollStateChanged

How can i set the onScrollStateChanged method for the Android Gallery Widget? I would like to do something if the scrolling is finished. ...

jquery odd behaviour of collapsible/moveable panels with drag/drop within them

First of all, huge kudos to 'Web Developer Plus' for writing most of the initial code! I have a list of 'items' which I can drag into any one of the blue boxes inside the widgets, and then sort them. This works fine. It's only when I start toggling these widgets (showing/hiding), or moving their positions, that things start going weird....

Home screen widget interacting with existing activity

How to write a home screen widget that should interact with an existing activity class without actually launching the activity? E.i. Is it possible to reuse logic in the activity class from the widget? Do you need to modify the activity in some way to communicate between the widget and the App? ...

Android: Passing AppWidgetId to a Service

Hi there I got a Widget on my HomeScreen on which i add an click to a Button. I pass the widget id from the Widget to a Service, but when im reading the WidgetId at the Service it's always 3. Widget: @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { for (int appWidgetId : ap...

Wordpress plugin returning site name.

http://codex.wordpress.org/WPMU_Functions/get_current_site#Examples In Wordpress, I am trying to retrieve the site name inside a plugin using the above function: echo 'You are viewing '.get_current_site()->site_name; echo '<br/>Domain '.get_current_site()->domain; echo '<br/>id '.get_current_site()->id ; echo '<br/>path '.get_current_...

how to control selecttouislider control programmatically?

a question regarding the programmatic control of the SelectToUISlider: 'http://www.filamentgroup.com/lab/update_jquery_ui_slider_from_a_select_element_now_with_aria_support/' I want to have a play/pause button control this specialized jquery slider widget. normal use seems for the user to slide the control, but I'd like to provide both...