Shaun Mccran

My digital playground
 
23
J
U
L
2010

Flex webservices security error accessing url

I've been working with some client side flash developers recently and we came across an unusual error that was being thrown in a Flex application when we were sending a webservice request to a Coldfusion server.

The error was "Security error accessing URL". I thought I'd overcome this a long time ago by using the cross-domain.xml file to allow server access to services.

It appears that there is a security issue with Flash 9 that requires the following line to be added to the CrossDomain.xml file:

view plain print about
1<allow-http-request-headers-from domain="*" headers="SOAPAction"/>

I'm guessing that it is enabling access for SOAP requests to any remote services on that server.

 
19
J
U
L
2010

Cross site AJAX HttpRequest problems and how to create a Proxy handler

Most of us are familiar with the AJAX post() and getJSON() methods of remotely calling and passing around data, I use them with abundance when building applications. One thing I had not considered until recently is that all my AJAX Http requests are usually internal to that application, which also means they are on the same server and domain.

I recently jumped into a project where the application spanned 24 domains, and had been developed to use a core component library to help code re use. The problem with this arose when you are on one domain (www.domain1.com) and you want to make a request to a different domain (www.domain2.com). You encounter something called the 'same-Origin' policy.

This article deals with how to create a proxy to handle cross site AJAX http Requests.

[More]

 
18
J
U
L
2010

How to sync your Android phone with iTunes

I've recently convinced a colleague at work to switch from his iPhone to the Android platform. His one caveat was that you could get hold of the same Applications, or at least Applications that would provide the same functionality.

Almost all the Applications he used we available on both platforms, the most process to replicate is synchronising your phone with iTunes. Obviously the iPhone does this out of the box, but how can you do this on the Android platform?

The answer is DoubleTwist a free Application that can manage synchronising removable disks with iTunes and Windows Media player.

[More]

 
15
J
U
L
2010

How to change or move your profile files in windows 7

Whilst being technical support for a family member I found the cause of one of his pc issues to be that he had used all the space on his primary hard drive, but had Gigs of free space on a secondary hard drive. All the space was pretty much used by photos and music within his 'users' profile directory.

This article deals with how to move your profile files to another drive other than the default C partition.

[More]

 
08
J
U
L
2010

CSS 3 Rounded Corners Example

My curiosity into CSS 3 was piqued at Scotch on the Rocks 2010 this year. There was a very good presentation from Chris Mills from Opera http://twitter.com/chrisdavidmills where he touched on some of the new CSS 3 and HTML 5 functionality that some of the modern browsers are taking advantage of. I particularly liked some of the really simple, but visual CSS 3 changes, in this case rounded corners.

This article is a quick example of how to add rounded corner styling to your designs.

Here is a demo of CSS 3 rounded corners in action.

[More]

 
07
J
U
L
2010

Twitter client roundup for Android phones

I've had my HTC Desire for a few months now, and I've been using half a dozen Twitter clients for most of that time. I've been switching between them periodically to compare the features sets. I'm running out of running system memory now, so I have to delete some of them (Where is Froyo!)

Here is my roundup of some of the Twitter clients I've been testing for the Android platform. I'm going to update this with more Apps as time passes. Seesmic, Peep and a few others will be added later. Similarly if there are any you know of that aren't listen please comment below!

[More]

 
05
J
U
L
2010

Using the JQuery Cookie plugin to emulate server side forms

A project request recently came up where we needed to track some users responses to a series of questions, then build an account 'home' page based on those responses. Pretty straight forward you'll agree. The problem here arose from the clients using a bespoke online solution that blocked any kind of server side interaction.

I've played with JavaScript cookies in the past to remember display states in JQuery functions, so I thought they would be a great solution to this. This article deals with how to use JavaScript cookies to emulate a normal form submission.

There is a demo of using the JQuery Cookie plugin to emulate forms here.

[More]

 
04
J
U
L
2010

Swype 1.47 for Android phones

I've never found typing on the Android graphic keyboard to be all that difficult, so when people started mentioning a way of typing that involved simply dragging your finger around, rather than tapping the keyboard, and how it was much quicker, I was a little sceptical.

The Application is called Swype, and it literally allows you to drag you finger over the keyboard to type. I've only just installed it, so I'm reserving judgement until I've used it for a while.

It is not the easiest of installs, as it is not available through the Android Marketplace, and you need a specific version based on your handset (I love the Android platform, but how fragmented can the handset market get?).

Go here and download the version for your phone.

http://www.gamestrikes.com/swype-1-47-24-6826-for-nexus1htc-desire-480x800

More Entries


This content is purely my opinon, any offence or errors are unintentional, please comment your views appropriately
Site Credits
Aggregated by ColdfusionBloggers.org Powered by Coldfusion

Technology & Science Blogs - BlogCatalog Blog Directory Blog Directory & Search engine