Friday, January 15, 2010
Thursday, December 24, 2009
Motorola System Properties
Important
- Some of these system properties may return null as they may not be supported on early devices.
- Some system properties require the MIDlet to be signed otherwise return null.
"default.timezone",
"microedition.timezone",
"midp_selector_exit",
"midp_alert_done",
"midp_command_menu",
"midp_selector_launch_failed",
"midp_vertical_scroll",
"midp_scrollbar_width",
"midp_screen_background",
"midp_screen_foreground",
"midp_screen_linked_color",
"midp_enhance_create_cropped_image",
"midp_enhance_flush_game_graphics",
"midp_game_flush_compatible_wt_wtk",
"microedition.configuration",
"microedition.platform",
"microedition.locale",
"microedition.encoding",
"microedition.profiles",
"microedition.hostname",
"microedition.jtwi.version",
"microedition.commports",
"commports.maxbaudrate",
"CellID",
"LocAreaCode",
"IMSI",
"IMEI",
"MSISDN",
"batterylevel",
"funlight.product",
"supports.mixing",
"supports.audio.capture",
"supports.video.capture",
"supports.recording",
"microedition.media.version",
"audio.encodings",
"video.encodings",
"video.snapshot.encodings",
"wireless.messaging.sms.smsc",
"wireless.messaging.mms.mmsc",
"com.mot.carrier.URL",
"microedition.io.file.FileConnection.version",
"file.separator",
"com.mot.carrier.URL",
"microedition.m3g.version",
"com.mot.carrier.URL",
"device.software.version",
"device.model",
"microedition.pim.version",
"language.direction",
"location_category_max_length",
"location_landmark_max_length",
"MAType",
"GPRSState",
"microedition.smartcardslots"
Following are applicable only latest Mobile Linux platform devices
(except the MOTORAZR2 V8 and MOTOROKR Z6)
"fileconn.dir.photos"
"fileconn.dir.videos"
"fileconn.dir.graphics"
"fileconn.dir.tones"
"fileconn.dir.music"
"fileconn.dir.recordings"
"fileconn.dir.photos.name"
"fileconn.dir.videos.name"
"fileconn.dir.graphics.name"
"fileconn.dir.tones.name"
"fileconn.dir.music.name"
"fileconn.dir.recordings.name"
Labels:
J2ME
Monday, December 21, 2009
007 Style Clock
Ok Guys, here is my second gadget. Hope you have already used my "Online PDF maker" .
To add this to your blog follow same steps as explained in adding "Online PDF maker" . Search for "007 Clock" and add it.
(Currently this is used in 691 blogs - 21/12/2009)
Labels:
MyGadgets
Sunday, September 6, 2009
Ubuntu-Setting the PATH variable for Java
:~$ sudo gedit /etc/profile
[sudo] password for Admin: // enter admin password
Then Gedit will open with something like
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
# $$$$$$$$$$$$$$$ copy to here $$$$$$$$$$$$$
Append this to end of the file
PATH=/*$$$$full path to bin here (eg:/home/srinath/myJava/jdk1.6.0_03/bin)$$$$$*/ :${PATH}
export PATH
JAVA_HOME=/*$$$$full path to bin here (eg:/home/srinath/myJava/jdk1.6.0_03/bin)$$$$$*/
export JAVA_HOME
Finally it will look like this.
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
PATH=/home/srinath/myJava/jdk1.6.0_03/bin:${PATH}
export PATH
JAVA_HOME=/home/srinath/myJava/jdk1.6.0_03/bin
export JAVA_HOME
umask 022
Now save.This is global, and affect all users.
Logout & Login, then try java -version
Subscribe to:
Posts (Atom)

