Tuesday, September 15, 2009

Nokia 5230 and 5530 Cheap TouchScreen phones in India

Nokia 5230 Price and Features




■Entry level touchscreen phone

■3.2 inch Resistive Touchscreen, 360X640 Resolution

■Music player with 33 hrs of playback (via headphones)

■2 Megapixel Camera with VGA 30Fps Video Recording ( no flash)

■Contacts Bar and Media Bar

■111 x 51.7 x 15.5 mm, 115 grams

■70MB Internal Memory, micro-SD Card Slot, 3.5mm Audio Jack

■GPRS, EDGE, HSCSD, 3G, HSDPA, Bluetooth, micro-USB

■GPS with A-GPS Support

■1320mAH Battery, Black/White Colours ( customizable panels)

■Price : Rs.10000 before taxes

Nokia 5530 Price and Features





■Metal finish

■Media bar and contacts bar

■27 hrs of music playback (via headphones)

■3.2 megapixel camera with flash

■Price : Rs.13999 before taxes

■5530 XpressMusic specs and price

Nokia 5800 vs 5530 XpressMusic

The Nokia 5800 XpressMusic, the first touchscreen phone powered by Symbian Series 60 5th Edition was introduced in October 2008 and hit the markets during November 2008. Since it’s release, Nokia has had great success with the phone selling millions of units worldwide.



Initially the 5800 was available in Blue and Red variants which were, in time followed by a Black/Silver variant. A 5800 Navigation Edition was announced recently to celebrate the success of the 5800.

The Nokia 5530 XpressMusic was announced as a variant to the 5800 XpressMusic in June 2009 and is set to release worldwide in August 2009. The Indian release is scheduled for 25th August 2009.

At first glance, both the handsets appear to be the same feature wise. However, these handsets are quite different despite them sharing a lot of similarities.



What are the advantages and disadvantages of each compared to the other? Well thats what will be explained below.



Since the Nokia 5800 XpressMusic was the first handset, let’s have look at it’s features first.



Nokia 5800 XpressMusic Features:



■111 x 51.7 x 15.5 mm, 109 grams

■3.2 inch Resistive Touchscreen, 360*640 Resolution

■81MB Memory, 128MB RAM, micro-SD Card Slot (8GB Card Included)

■GPRS, HSCSD, EDGE, 3G, HSDPA, Wi-Fi, Bluetooth, micro-USB

■3.15 Megapixel Camera, Autofocus, LED Flash, Carl Zeiss Optics

■VGA Video Recording at 30Fps, Secondary Video Call Camera

■S60 5th Edition, 434mhZ Processor

■GPS with A-GPS support

■1320 mAH Battery, 3.5mm Audio Jack

Nokia 5530 XpressMusic Features:



■104 x 49 x 13 mm, 107 grams

■2.9 inch Resistive Touchscreen, 360*640 Resolution

■70MB Memory, 128MB RAM, micro-SD Card Slot (4GB Card Included)

■GPRS, HSCSD, EDGE, Wi-Fi, Bluetooth, micro-USB

■3.15 Megapixel Camera, Autofocus, LED Flash

■VGA Video Recording at 30Fps

■S60 5th Edition, 434mhZ Processor

■1000 mAH Battery, 3.5 mm Audio Jack

By looking at the specifications, we can realise that the Nokia 5800 XpressMusic is more feature packed than the Nokia 5530 XpressMusic.



Things that the Nokia 5800 XpressMusic has but the Nokia 5530 XpressMusic lacks:



■GPS

■3G and HSDPA

■Carl Zeiss Optics

■Video Call Camera

The 5800 XpressMusic also has a bigger screen and a bigger capacity battery.



The 5530 XpressMusic also has some advantages such as being smaller in size and having a more attractive design.



But the main point of introducing a handset with lesser features is to create a cheaper version of the 5800 for the people who can’t afford to purchase the 5800 or even for the people who do not use all the 5800 features. Thus the touchscreen mania helps to reach a wider audience.

Saturday, September 5, 2009

Ajax script resources

Working with Ajax? (Asynchronous Javascript and XML) Especially in web applications? Check out the web applications and scripts, coding secrets, and tips on the following web sites. As Ajax grows, so will these resources, so its highly recommended to bookmark them: (also great sites for HTML codes, CGI, Perl, Javascript, XML, and other coding scripts)

The Javascript Source: http://javascript.internet.com/ajax/

The Javascript Forum: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3

Ajaxed: http://www.ajaxed.com/

Ajax.net: http://www.ajaxpro.info/default.aspx?old=ajax&ref=http%3a%2f%2fwww.google.com%2fsearch%3fhl%3den%26q%3dFree%2bAjax%2bscripts

Open Cube: www.opencube.com

Javascript Kit: www.javascriptkit.com

and don’t forget my Yahoogroups web-design support group at www.yahoogroups.com/ “web-design”


Regex For Creating Usernames

A regular expression (called regex) is a way for a programmer to instruct how a program should look for a specified pattern in text and then what it should do when each pattern match is found. Rather than going through each character of a string and doing matches, regex makes life easier for programmers to do search and matches. This sample regex is a good pattern for use in creating usernames.

The regex below means that only alphanumeric (only lowercase letters) are allowed including an underscore and a dot.

^[a-z0-9_.]$

Email Using JavaMail

avaMail, a technology from Java allows programmers to develop code that can send emails whether in plain text or HTML. Here’s a short easy code to send email to a recipient.



public static boolean send(String replyTo, String from_email, String to_email, String subject, String body, String type) {
boolean sent = false;
try {
Properties prop = new Properties();
prop.setProperty(”mail.smtp.localhost”, “localhost”);
prop.setProperty(”mail.smtp.port”, “25″);
Session session = Session.getDefaultInstance(prop);

Message msg = new MimeMessage(session);
msg.setSubject(subject);

InternetAddress from = new InternetAddress(from_email);
InternetAddress to = new InternetAddress(to_email);
msg.addRecipient(Message.RecipientType.TO, to);
msg.setFrom(from);

Multipart multipart = new MimeMultipart(”related”);

BodyPart htmlPart = new MimeBodyPart();
if (type.equals(”html”)) htmlPart.setContent(body, “text/html”);
else htmlPart.setContent(body, “text/plain”);

multipart.addBodyPart(htmlPart);
msg.setContent(multipart);

Transport transport = session.getTransport(”smtp”);
transport.connect(USERNAME, PASSWORD); // username, password to connect to smtp server
transport.sendMessage(msg, msg.getAllRecipients());
transport.close();

} catch (Exception e) {
System.err.println(”[MailTool] send() : ” + e.getMessage());
e.printStackTrace();
}

return sent;
}





Notice the line that says transport.connect(USERNAME, PASSWORD);

That line is optional in case you have set your SMTP server for authentication before emails are sent out by the mail server. The method also provides the option to let you send the email as plain text or HTML. Just set the value to html if you want it to be sent as HTML.