Archive for the ‘Programming’ Category

Howto: Hide flash

When using flash and lightbox (and lookalikes) it’s a common issue that the flash movie which should be under the lightbox pops out of there (often in weird places and not 100%)
So, an elegant way to solve this in Javascript would be to have the flash moved or disappeared.

Hide it (display none)
Using simple javascript one [...]

Read the rest of this entry »

PHP – dynamic vars in classes

As I’m all about python, and pythonic is the way I speak any coding language, I had a challenge in finding a way to dynamically implement new variables in a class.
Unlike python, in which this is very simply done by:
class MyClass:
def __init__(self):
self.newvar = [...]

Read the rest of this entry »

MySQLdb insert queries not working?

So, you’re here on some quest to solve an issue where you do any amount of insert queries through MySQLdb but it doesn’t appear in the database?
Well, I had exactly that issue. Took me ages to figure out why after moving an app to another server (with by design the same database, except for a [...]

Read the rest of this entry »

[Android] Netbeans plugin in the make

Sorry for the late idleness, I’ve been quite busy elsewhere.
Nonetheless, there’s some nice work going on with the android platform, again. This time someone has published his current work status in creating a Netbeans plugin to emulate the Android OS.
Screenshots are found here: http://picasaweb.google.com/joerg.ruethschilling/AndroidPluginForNetbeans
I’m definitely using that one when it’s out there, I’m a [...]

Read the rest of this entry »

[DroidDraw] A guide to android widgets

The creator of DroidDraw is certainly busy, for he published another tutorial concerning how-to in certain graphical aspects of Android.
This time, it’s about how Android widgets work. Be sure to read it, it’s literally a 2 minute read to knowing the deal with Android widgets, great summary.

Read the rest of this entry »

DroidDraw – tutorial

I’ve mentioned droiddraw earlier in this blog.
Since then, the developer of the only gui building program for android at the moment has been quite busy, and been following “Release early, release often” cycles.
He’s also made a tutorial on how to use the gui builder, certainly worth your time!
I’m expecting a great deal from this gui [...]

Read the rest of this entry »

Android for blind users?

Today I saw a post concerning about the seeing impaired people who could use android for the best, if only there was some sort of screen reader software running on Android. Something was said about not being able to implement that because of certain security reasons, but that probably referred to independent software reading what [...]

Read the rest of this entry »

Another android blog.

As I was reading the digest of this point, I read there is another blog out there willing to become more into android, and putting together info about it.
The blog is found at http://www.wulf-pack.blogspot.com/ and I’m sure It’ll become really nice…

Read the rest of this entry »

DroidDraw: An android GUI design website.

The I’m surprised actually today. To be honest I did not expect the Android OS would be this popular, certainly not this quick. I sure hoped to be amongst those who are actually writing future.
However, for those out there that can invest some time, there is a GUI design site, with the link to the [...]

Read the rest of this entry »

Compile Android kernel from the source

As people might know, there used to be a rumour about google working on a “gphone”. However, in reality this proved to be not a phone on its own, but an operating system working on many phones.
At this point android, the name of the phone os created by google, is still in beta stage, and [...]

Read the rest of this entry »