This notebook is a collection of code snippets and technical "how to" instructions.
Search This Blog
Google IO - major trends: Google Wave, GWT, HTML5
by: Uki D. LucasGoogle IO - free HTC "Magic" G2 phone
by: Uki D. LucasThis year's all of the attendees of Google IO conference in San Francisco were nicely suprised by a generous gift of the newest HTC "Magic" (AKA G2, currently on ebay for $405) UNLOCKED Android phone, along with the T-mobile unlimited 3G 1 month SIM card.
The new handset has a very beautiful design similar and on par with iPhone, no external keyboard.
The Android operating system, in my opinion, does not come close to the user experience provided by almost 2 year old iPhone, as if Google did not learn anything during this time, but the situation for Android is now that simple...
Couple of the challenges Android team faces are the patents Apple has on some of their cool solutions (hand gestures) as well as not knowing on what hardware configuration the Android will run: keyboard, or now, trackball, or not, flip screen, or not, screen size, etc.
I see a bright future for Android even if it may not be able to match iPhone in it's user experience.
Android is open source and written in Java which automatically enables thousands more developers to improve it, and write applications comparing to relative handful Objective-C developers for iPhone.
With time many manufacturers will be releasing phones with Android as their operating system, I am sure that trend will increase and Android will "graduate" from it's current status of "geeky, Linux-like mobile OS" to the "Microsoft of mobile OS" as far as number of users goes and hopefully close to the Mac's user experience.
Enable JavaScript on Internet Explorer (IE8)
by: Zainab AzizEnable JavaScript on FireFox (All versions)
by: Zainab AzizEnable JavaScript on Internet Explorer (IE6)
by: Zainab AzizProduct design & focus groups
by: Uki D. Lucasin mind. If a new user can use it, the power user will find it a bliss.
"Less is more" -- try to avoid the feature creep, or hanging bells and
whistles just because it is possible, or just because you think they
might be useful. The iPod originally was supposed to have FM radio and
a voice recorder, yet Apple decided against that, despite user feedback.
Have a concise, clear definition of the product, from the
beginning. Make 100% sure user understands it intuitively.
The hardest thing in product development is to determine what NOT to
include, how to simplify the user experience. An average customer who
returns a gadget, does so not because it did not work, but because
they could not figure it out in first 20 minutes.
"Creativity in art and technology is about individual expression. Just
as an artist couldn't produce a painting by conducting a focus group,
Apple doesn't use them either. Jobs can't innovate by asking a focus
group what they want -- they don't know what they want."
Henry Ford once said: "If I'd asked my customers what they wanted,
they'd have said a faster horse."
Observe new users and find out what needs to be refined in the
product, but they cannot tell you what they want, you have to discover
it yourself. All Sony's market research indicated that a Walkman was
going to fail, yet Akio Marita pushed on with his vision and it became
one of the most popular products ever sold. Customers usually don't
know what they want unless it has been already created, and if it was
already created you should not be in this business.
Spend time and effort refining the basic functionality before adding
the next feature. Original, pre-Steve Jobs OS X team had 1 designer on
staff doing ugly gray boxes, after Steve took over they would spent 2
weeks on a single scroll bar until they made it perfect.
As a leader, be strong about these principles, don't give in to the
"design by comitee", or your product will fail.
When the design is good enough?
by: Uki D. Lucasworking on it", be it user interface, or functionality. After a few
iterations you may start asking yourself -- am I just unreasonably
annoying? Is this good enough?
I found the answer from Apple's Steve Jobs:
"We made the buttons on the screen look so good you'll want to lick
them."
Fourtune, January 24, 2000
Browser URL encoding for &
by: Zainab Azizprivate String replaceSpecialChar(String originalImagePath)
{
int indexAmp = originalImagePath.indexOf("&");
if (indexAmp > -1)
originalImagePath = originalImagePath.replaceAll("&", "%26");
int indexSpace = originalImagePath.indexOf(" ");
if (indexSpace > -1)
originalImagePath = originalImagePath.replaceAll(" ", "%20");
return originalImagePath;
}
Printing in GWT
by: PhilThis worked for me!
Internet Explorer 8 compatibility issues
by: Philequiv="X-UA-Compatible" content="IE=EmulateIE7"
Also another issue with GWT/IE is that in the html we assign class="hidden" to our page, but in order to make our page visible again we can't use:
RootPanel.get("page").addStyleName("visible");
We must use the code below for IE:
RootPanel.get("page").getElement().getStyle().setProperty("visibility", "visible");
Reflections of a frustrated programmer & IEx
by: Zainab AzizHow to clear browser cache for CSS files
by: Zainab Aziz<link rel="stylesheet" href="css/html_tags.css?version=xx.xx.xx" type="text/css">
NOT caching
<link rel="stylesheet" href="css/html_tags.css" type="text/css">:
Email to SMS
by: Philhttp://www.makeuseof.com/tag/email-to-sms/