widget

Amazon widget and SSL

Hi, I'm trying to embed an Amazon "Recommended Product" widget into a website. We use SSL across all pages on the site. Unfortunately, the Amazon widget by default is embedded using a simple IFrame and although the source for the IFrame can be https://, the images and links within the IFrame are always http:// IFrame sample code <ifr...

Custom Android Widget and Eclipse Intellisense

I am in the process of putting together a little Android app. I have created a couple of widgets by extending the ImageView and ScrollView widgets. The problem that I am having is not with the code itself (i.e. everything runs wonderfully) but rather with the Eclipse "intellisense" in an XML layout. If I am using the native android wi...

Widget button setBackgroundResource

Hi, i have a widget and i personalized my buttons with a personal layout using a resource layout. At a certain moment i want to change this type of button (that now is green), with another style (that is red), so a tried in my onReceive method this code: remoteViews.setInt(R.id.ButtonAddOne,"setBackgroundResource",R.drawable.buttonlayo...

Where is Permission Denied Location.toString occurring

I am getting an error when my app is being embedded in an iframe that reads Permission denied for https://myapp.com to call method Location.toString on http://otherhost.com I am not getting a stack trace, line number, or file where this occurring in any of the browsers. How could I figure out where this problem is coming from? ...

How can I catch mouse drag events in a Dashcode widget?

I have an OSX widget written using Dashcode. Currently any mouse drag event causes the entire widget to move on the desktop. I wish to be able to click and drag within a canvas on that widget, but I don't seem to be able to prevent the OSX dashboard from moving the entire widget instead. I'm already capturing mouse movements quite ha...

Maximum Refresh Rate of A Widget

I know that the default is 30 minutes, however I am looking at making a game in a widget This would require millisecond responses.... has anyone messed with the AlarmClock Timing that is described to use instead to achieve this? does it work well? I haven't finished the Software Arc for the project yet because I see a lot of complaint...

How to add widget configuration activity to launcher?

Hi, I have a widget with a configuration activity. Currently the configuration launches when you click on the widget. I want to add the configuration as an app icon to the launcher. The problem is that when the configuration launches on click, I get a specific widget id , so each widget instance can have a different configuration. W...

TouchEvent on Widget without creating an activity

I want to do some calculating after touch-Event on my widget. Is there a possibility to do this without starting an activity? My problem is that i have to register an onClickPendingIntent to the touch-action.... There is an annoying visual response with my solution: screen flashes to black and reappears to homescreen. this is in the wi...

How can I modify a widget's attributes in a ModelForm's __init__() method?

I want to programatically modify the widget attributes of a field in a Django ModelForm's init() method. Thus far, I've tried the following def __init__(self, *args, **kwargs): super(MyForm, self).__init__(*args, **kwargs) self.fields['my_checkbox'].widget_attrs(forms.CheckboxInput(attrs={'onclick':'return false;'})) Unfortun...

Best practices for providing dynamic content 'drop in' widgets for third party websites?

I am wondering what best practices are for providing dynamic content in lightweight, 'drop in' widget style that can be used by third party content editors. To elaborate, we would like to give third parties the ability to show dynamic content from us on their website without a back end system integration where they would have to call ...

How to get wordpress plugin "Twitter hash" to show on page

Hey everyone! I cannot for my life figure out how to get the downloaded plugin Twitter hash (http://wordpress.org/extend/plugins/twitter-hash-tag-widget/) to show on my index.php page. Read about it and this HTML code was given as an example in many places: <li id=”twitter"> <ul> <li><a href=”http://www.site1.com/”&gt;Site One Name</a>...

Dynamically changing gxt/Sencha widgets

Hi everyobodyI was trying hands on Gxt/Sencha and bumped on this issue of adding widgets into HorizontalPanel etc to change widgets dynamically but not got it to worked as I assumed it is gwt in base may be applicable to it too. I tried repaint() and adding widgets at runtime also but had not luck there too. Kindly suggest some solution/...

A more efficient approach to attach components to panel and render them on screen

His, I am using UiBinder whenever possible to improve application performance when possible. However, as far as I understand, UiBinder is at its best when corresponding template contains losts of static information. In my case, mobile app, most of the screen areas contain dynamic information. For instance, there is a panel with butto...

How to use combination of Layouts to get widgets at desired position

we are confused with designing interface file for android,we have made user interface with Absolute layout and used "dip" instead of "px" (for different screen size issue) ,but it looks like,Absolute layout has been depreciated,and developer.android, recommends not to use Absolute layout So other option we have is to use 1.Linear layou...

cant find the create custom widget in the new project

hello, i am new to vaadin and i have installed vaadin eclipse plugin and i cannot find the create custom widget in the File->New project->vaadin and i cant find create themes etc ..as i see these things in the tutorial video and i cant find the visual editor also in the eclipse and i am using linux (operating system) ...

jquery widget, _create or _init

Some jquery plugin extend widget use _create method, while others use _init method, can someone explain the differences between the two? Also any guidance on when it is better to extend widget or directly extend jquery.fn? ...

google analytics - multiple trackers on one page (traditional and asynchronous)

I'm writing a widget that will be embedded in other people's websites. I'm using Google Analytics to track all the people that visit all instances of my script on the embedding websites. I understand that the new asynchronous tracking code resolves this problem so that there's no interference with those websites' own Google Analytics acc...

Why does Google Analytics cross-domain tracking across an iframe require tracking snippets in both domains?

I'm creating a shareable widget, for anyone to copy onto their website. The shareable piece of code is an frame that points to the actual widget that lives on our hosted site (i.e. ourdomain.com). If we ever want to tweak the actual widget, we can do so in one place, with no effect on the iframes pointing to it from other sites we have n...

How to make a javascript like Disqus or IntenseDebate

Hello, I want to make an app that can display on any webpage, just like how Disqus or IntenseDebate render on articles & web pages. It will display a mini-ecommerce store front. I'm not sure how to get started. Is there any sample code, framework, or design pattern for these "widgets"? For example, I'd like to display products. Should...

Private javascript widget

Hey all, I'm considering embarking on a new project. The premise of the project is generate a widget on my site, then copy a piece of javascript into your site and viola you have your widget. It's a new spin on existing services such as polldady.com, twiig.com and addthis.com. Many of these such services are designed to be publicly ac...