Thursday, August 2, 2007
mp3 on W54T’s LISMO
The LISMO software that came with W54T is said to be unable to handle mp3 files. Here is the patch to enable mp3 handling.
Monday, July 2, 2007
Binary contents download via SMS
In Japan contents download is always via browser, but this seems to be simply not the norm in GMS world, where SMS is used for almost everything. I wanted to know how to download some binary data (like a Flash file) to the handset in GSM world. It seems that the keywords are "WAP push sms". In fact, MMS which is the medium operator's email is transported, is actually an SMS with WAP push function. For MMS deliver, the mmsc delivers the sms with URL pointing to the actual MMS message, and the handset will use GPRS to fetch the message via WAP.
References:
How MMS works
Send an SMS to a Java app/MIDlet
References:
How MMS works
Send an SMS to a Java app/MIDlet
Friday, June 8, 2007
Poor man’s blackberry
Almost any recent cellular phone in Japan has all that Blackberry has and much more, minus one (i.e., integration with corporate Exchange server, but this is available as optional service). But when traveling outside Japan while needing to read and responds in Japanese, all I have is poor man's Blackberry, and it took me years to come to this point. Here is how to "make" one:1. Make sure GPRS settings are correct and GPRS is activated by the operator for your subscription.2. You need to be able to use procmail to forward your emails, and has web-based sms sending service subscription that is cheap enough to warrant the name "poor";)3. Use a standard Japanese-capable handset (assuming that, like me, you need to deal with Japanese mails).4. Get Gmail account.5. Download mobile Gmail application from the following URL and install.http://gmail.com/appNow you are set to receive and send email like with any cell phone in Japan.6. Get real time notification of email arrival using SMS, by setting up a procmail recipe and perl script as follows:
:0 c* ^From:*\/.* |./sendsms.pl $MATCHThe "sendsms.pl" called above could be like this:#!/usr/bin/perluse LWP::UserAgent;my $ua = LWP::UserAgent->new;$ua->timeout(10);$ua->agent('Mozilla');my $argc = @ARGV;my $from;my $subject;if ($argc>0) { $from = $ARGV[0]; } else { $from = "uknown"; }#if ($argc>1) { $subject = $ARGV[1]; }my $smsbody = "Mail from $from: $subject";my $posturl = "https://theurltowebbasedsms";my $req = HTTP::Request->new(POST => $posturl);my $res = $ua->request($req);So whenever an email arrived, the procmail recipe above will get the sender's information (From: field) and pass it to the perl script, which will send it as sms via web interface to my cell phone7. Voila, the poor man's blackberry is now ready to tell you in real time that an email has arrived (at Gmail's email server) and ready to be read (via Gmail's Java application;).Monday, May 21, 2007
Setting up MediaWiki
A default install of MediaWiki will allow anyone to read and edit.
Adding these lines into LocalSettings.php will allow only logged in users to read/edit:
Furthermore, adding the following will allow only sysop to create accounts:
See http://ericsantiago.typepad.com/eric_santiago/mediawiki/index.html
Adding these lines into LocalSettings.php will allow only logged in users to read/edit:
$wgGroupPermissions['*' ]['read'] = false;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['*' ]['createpage'] = false;
$wgGroupPermissions['*' ]['createtalk'] = false;Furthermore, adding the following will allow only sysop to create accounts:
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" );See http://ericsantiago.typepad.com/eric_santiago/mediawiki/index.html
Tuesday, May 15, 2007
Developing add-on for Thunderbird
Introductory document
http://developer.mozilla.org/en/docs/Extensions
Find info regarding developing Mozilla extension here:
http://kb.mozillazine.org/Getting_started_with_extension_development
(e.g., install "Console2" extension to view Jscript errors)
<a href="DOM
The XML User Interface Language (XUL)
Thunderbird: DOMming Around
XMLHTTP notes: abort() and Mozilla bug
Traditional Ways of Tree Traversal
Thunderbird extension development hell
Firefox Extension Development Tutorial :: Overview
http://developer.mozilla.org/en/docs/Extensions
Find info regarding developing Mozilla extension here:
http://kb.mozillazine.org/Getting_started_with_extension_development
(e.g., install "Console2" extension to view Jscript errors)
<a href="DOM
The XML User Interface Language (XUL)
Thunderbird: DOMming Around
XMLHTTP notes: abort() and Mozilla bug
Traditional Ways of Tree Traversal
Thunderbird extension development hell
Firefox Extension Development Tutorial :: Overview
Indonesia dan Tagalog
Ini kata2 yang sama antara bahasa Indonesia dan bahasa Tagalog.
Indonesia Tagalog
minum inum
gunting gunting
nangka nangka/langka
kambing kambing
balik balik
dinding dinding
kanan kanan
sayang sayang
mahal mahal
murah murah
takut takut
aku ako
simpan simpan
Thursday, May 10, 2007
OpenWorkBench troubles
I have not been able to run OpenWorkBench on my WinXP Home.
I just saw a new post in the forum saying that in WinXP Pro the problem can be solved by running it as Administrator. Unfortunately it still does not work on my WinXP Home.
I tried on Vista Ultimate, even the install failed with "Internal Error 2739". Some googling revealed that doing "regsvr32 c:\windows\system32\jscript.dll" may solve the problem. The info was not specifically for OpenWorkBench but it solved installation problem. But then OpenWorkBench could not start, giving error message regarding JRE not present. I installed "Java Runtime Environment Version 6 Update 1" from java.com, this solved the problem.
Now OpenWorkBench runs on my Vista machine, but not on my main machine, i.e., WinXP.
And for the first time I saw it running: it's not that impressive...
I just saw a new post in the forum saying that in WinXP Pro the problem can be solved by running it as Administrator. Unfortunately it still does not work on my WinXP Home.
I tried on Vista Ultimate, even the install failed with "Internal Error 2739". Some googling revealed that doing "regsvr32 c:\windows\system32\jscript.dll" may solve the problem. The info was not specifically for OpenWorkBench but it solved installation problem. But then OpenWorkBench could not start, giving error message regarding JRE not present. I installed "Java Runtime Environment Version 6 Update 1" from java.com, this solved the problem.
Now OpenWorkBench runs on my Vista machine, but not on my main machine, i.e., WinXP.
And for the first time I saw it running: it's not that impressive...
Subscribe to:
Posts (Atom)
