Tuesday, September 21, 2010

How to export Address Book from Blackberry to Samsung Vibrant

How to export Address Book from Blackberry to Yahoo Contacts

Using the Blackberry Desktop Manager, I connected my phone to the computer. Once the connection has been established, here's how to do it. I'm not sure if this is the quickest way, but it doesn't take that long and is very easy to do:

Open up a Yahoo account if you don't already have one (it is free). Open up desktop manager, connect to your Blackberry and double click on "Synchronize." Go to the "Configuration" tab, and click on "Configure synch." Click on "Address Book" and then the "Choose" button. Select "Yahoo" and "Export," then back to the main Syncrhonize window. Click the "Syncrhonize" tab, make sure "Syncrhonize Organizer Data" is on, then press "Synchronize now." Now go to address. yahoo. com. In the upper right corner, click "Import/Export." Under Export, click the button next to "vCard, Zip of .VCF files," and save the .zip file. Now save the file into your computer's hard disk. Create a folder in the SD card of the Samsung Vibrant and unzip all the vCard files contained in the zip file into the folder you have created. Now you are set to import the vCards into your Samsung Vibrant.


(URL: http://forums.crackberry.com/f52/how-export-address-book-blackberry-windows-contacts-vista-10566/)



Importing contacts to Vibrant

In Contacts, go to Settings>More>Import/Export

Export the contacts to SD.

Then go Import/Export

and Import them from SD to phone.

Wait for the phone to read the vCards from the SD card. Follow screen instructions.

Then, when you select a Contact, and choose edit, you will see 2 tabs at the top; Your Gmail syncs and Phone. Choose the Phone tab, and you'll see all of the contacts. Then when you choose to edit one, the option to choose a ringtone, group, etc. for each contact will be available to you.

Then, if you so choose, you can choose the View option under settings, and uncheck the gmail contacts, and leave only the Phone contacts viewable (unless you also have facebook, etc. contacts you wish to be viewable as well).

In any case, I think this should work well for you.
(URL: http://androidcommunity.com/forums/f76/importing-contacts-to-vibrant-38552/)

Monday, September 6, 2010

Error: Can't load netbeans when Java after jdk change

If you can not load Netbeans because it can not find Java, just edit this file and put the correct path of java


# ${HOME} will be replaced by JVM user.hit ome system property
netbeans_default_userdir="${HOME}/.netbeans/6.8"

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-Dorg.glassfish.v3ee6.installRoot=\"C:\Program Files (x86)\sges-v3\" -J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"
# Note that a default -Xmx is selected for you automatically.
# You can find this value in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx here
# or on the command line.

# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using --jdkhome :
netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_21"


# Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix):
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

# If you have some problems with detect of proxy settings, you may want to enable
# detect the proxy settings provided by JDK5 or higher.
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.

Wednesday, September 1, 2010

Apache HTTPD daemon script

#!/bin/bash
#
# /etc/rc.d/init.d/apached
# Startup script for the Apache web server
#
# chkconfig: - 85 15
# description: Start up the Apache web server.
# processname: apached
# pidfile: /var/run/apached.pid
# config:
#

# Source function library.
. /etc/init.d/functions


RETVAL=$?
APACHE_HOME="/usr/local/apache"

case "$1" in
start)
if [ -f $APACHE_HOME/bin/apachectl ]; then
echo $"Starting Apache"
$APACHE_HOME/bin/apachectl start
fi
;;
stop)
if [ -f $APACHE_HOME/bin/apachectl ]; then
echo $"Stopping Apache"
$APACHE_HOME/bin/apachectl stop
fi
;;
*)
echo $"Usage: $0 {start|stop}"
exit 1
;;
esac

exit $RETVAL

Profiles for java, ant, tomcat, apache

1. For Java

#!/bin/bash
#
# /etc/profile.d/jdk.sh
#
PATH=/usr/local/java/bin:$PATH
JAVA_HOME=/usr/local/java
export JAVA_HOME PATH

2. For Ant
#!/bin/bash
#
# /etc/profile.d/ant.sh
#
PATH=/usr/local/ant/bin:$PATH
ANT_HOME=/usr/local/ant
export ANT_HOME PATH

3. For Apache Tomcat Servlet Container
#!/bin/bash
#
# /etc/profile.d/tomcat.sh
#
PATH=/usr/local/tomcat/bin:$PATH
TOMCAT_HOME=/usr/local/tomcat
CATALINA_HOME=/usr/local/tomcat
export CATALINA_HOME TOMCAT_HOME PATH

4. For Apache HTTP Server
#!/bin/bash
#
# /etc/profile.d/apache.sh
#
PATH=/usr/local/ant/bin:$PATH
APACHE_HOME=/usr/local/apache
export APACHE_HOME PATH

Tomcat daemon script for chkconfig

#!/bin/sh
#
# Startup script for the Jakarta Tomcat Java Servlets and JSP server
#
# chkconfig: - 85 15
# description: Jakarta Tomcat Java Servlets and JSP server
# processname: tomcat
# pidfile: /var/run/tomcat.pid
# config:
#
# Source function library.
. /etc/init.d/functions


RETVAL=$?
CATALINA_HOME="/usr/local/tomcat"

case "$1" in
start)
if [ -f $CATALINA_HOME/bin/startup.sh ];
then
echo $"Starting Tomcat"
/bin/su tomcat $CATALINA_HOME/bin/startup.sh
fi
;;
stop)
if [ -f $CATALINA_HOME/bin/shutdown.sh ];
then
echo $"Stopping Tomcat"
/bin/su tomcat $CATALINA_HOME/bin/shutdown.sh
fi
;;
*)
echo $"Usage: $0 {start|stop}"
exit 1
;;
esac

exit $RETVAL

Saturday, February 6, 2010

How to unlock Sample HR database in oracle

How to unlock Sample HR database in oracle
For working with tutorial of oracle Introduaction to oracle/sql you need to work on the tables which is locked in oracle. for Unlocking these tables you have to follow these steps

1. Login in sqlplus or sqlplus or isqlplus as a user “system” with respective password.

2. Execute the following command

ALTER USER HR IDENTIFIED BY password ACCOUNT UNLOCK;

here password is your passord which you want to use for your account remember this password for further use.

3. Login in with user HR with password specified above

Now you can use all tables specified in tutorial.

Please leave your comment If you encounter any problem…