widget

Configure widgets positions on website

What is the commonly accepted way so an admin can set panels/widgets positions (i.e. from the image below, set "Data Finder" to sit on "top left") ? In other words, the customer/admin would like to be able to configure the widgets/panels positions at startup (and users see that by default), maybe using a JSON configuration file that is ...

Any recommendations for a Web based Daily Schedule event control Toolkit

We have a backend VB based scheduling app which we would like to webify. A key function point is displaying multi-person schedule (with possible multi-events) for a selected day. A sample can be seen at http://flic.kr/p/8rT4aR In VB we've used a non-web custom control SchedOCX to deliver this functionality. Any recommendation for a...

Synchronous AJAX requests in mobile widgets

I'm having troubles with a synchronous AJAX call in a JIL widget. Only the asynchronous version seems to work. What call types do you usually use sync or async? ...

How to set CSS property when developing for the Vodafone MWP ?

I'm working on a widget for the Vodafone Mobile Widget Platform and was trying to change some properties of a DIV using JS. I used document.getElementById('mydiv').style="width: 10px; height: 10px""; I should work, but it doesn't seem to set the right values. Is the widget run-time treating these statements differently than normal? ...

create a widget to retrieve and display data via ajax

I tried the classic ajax approach, but that throws an access denied javascript exception when trying to add a script stored on another domain. Now, I'm sure this is possible since google populates google ads via js only; so does twitter, and the list can continue. How I thought of it so far: <div id="divId"></div> <script type="text/ja...

widget and content alignment

I've added a Wordpress sidebar widget and that caused the content of my blog posts to be shifted downwards, resulting in a large white space where the post used to start. The widget is in the right place but the post content is moved down. Is there a code I can add to restore the post content back to the top? ...

Storing data in mobile (JIL/W3C) widgets

How can I store data in a mobile widget (JIL/W3C). Is Widget.setPreferenceForKey() the only option? ...

Android widget with changing text

I'm attempting to create an incredibly simple widget that changes the text displayed every 5s or so. However I've had major headaches attempting to get this to work. Obviously I can't use the onUpdate call as it's a minimum of every 30min. Currently my solution uses an Timer in an extended Service class, which is as ugly as hell and tend...

How to bind self events in Tkinter Text widget after it will binded by Text widget?

So, I want to bind self events after Text widget bind it and change text in widget. Usual 'bind' is called before the content in Text widget changes. Sorry for my poor English ...

After orientation change buttons on a widget are not responding

I have two buttons on a widget that change some items in a widget, if an orientation is changed on a phone, buttons do nothing. I read http://developer.android.com/guide/topics/resources/runtime-changes.html but this is all about activity not widget. @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, ...

Javascript list widget that resizes to fill viewport with entries

I'm on the lookout for a javascript list widget that expands and contracts to fill as much as possible of the viewport with the entries contained in it, but no more than that they all can be displayed in their entirety. Eg, if you have a list that looks like this (where they dark grey is viewport size), I'd like the list to be re...

Merge two/more image in Android(widget)

Trying to create a widget with custom fonts, but read that widget doesn't support custom font. I thought that I could create 10 png's for every number(0-10, not going to use abc ect). By using that method I need to create several imageviews... that seems a waste of views. So if I want to have the number 1337 I need 4 ImageViews. Isn'...

Can Windows Vista+ Sidebar Gadgets display web pages?

I'm trying to make my Gadget html to navigate to another page, but when I try to do it via window.location = 'http://newurl.com' It opens the address in a default browser new window. All I could do so far is to iframe the page in the gadget html (in the flyout html it didn't work), but the site I'm trying to frame has a frame detecto...

Using a Widgetbox widget in Facebook

I'm trying to take a javascript widget hosted on widgetbox and use it in a standard FBML page. Is there a way this can be done using flash? I've tried to use fb:swf and replace the widget ID in flashvars but it's not pulling in the widget once i do it. <fb:swf imgsrc='http://img36.imageshack.us/img36/2045/playbuttonm.jpg' swfsrc='...

onupdate() is not calling while using analog clock widget.

I have used analogclock widget in XML while running the program onUpdate is not called. Is there any way to get control for drawing a bitmap/text on the widget.? Can I update the widget in onReceive()? My code goes like this... public class ClockWidget extends AppWidgetProvider { @Override public void onUpdate(Context context, Ap...

Failed Binder transaction

Can anybody tell me the reason for !!!failed binder transaction!!! error??? I can see this error message in logcat I am getting this error while trying to put an bitmap dynamically in a widget.. ...

multi field widget - format in symfony backend

How to format fields of multifield widget (widget with many inputs) in backed module? I have widget based on sfWidgetFormSchema and in backend all fields of this widget are displayed in one line (in the same div). How to display them properly? It is possible in generator.yml? ...

android:background hides my text ...

I have a widget layout as follow : <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/widget_bg"> <TextView android:layout_height="fill_parent" androi...

How to add multiple widgets to one application?

I have developed a widget that has certain functionality, but some people have asked me to create a similar widget but with a slight different functionality. Both widgets will look the same but behave slightly different. I tried adding a different receiver for the second widget to my manifest file. I also created a separate widget provid...

How to change the font in Android widgets to user-defined fonts in "assets" folder of the app?

I want to change the font in my widget such that it uses a specific font in "assets" folder of my app. I usually do this in my app to change the font: Typeface tf= Typeface.createFromAsset(getAssets(), "advertising.ttf"); TextView converted = (TextView)findViewById(R.id.TextView03); converted.setTypeFace(tf); ...