Tuesday, September 16, 2014
Android icon Resizer.
When you want to develop android applications,you need images in different sizes for different device display densities. By using this script you can create all those at one single execution.Place the images and in a directory where you place the script and then run the script.You need to have image magic installed to work this script.
You can install Image Magic by,
sudo apt-get install imagemagick
Sometimes you may not have the permission to execute the script.In that case use
chmod +X converter.sh
Then simply execute by,
sh converter.sh
The images are placed under relevant directories and you can replace them with the to replace the directories which you will find under, res directory in an Android application.
Get the Shell Script From here.
Monday, September 8, 2014
Eclipse (or any other derive IDE) unable to start.
When I wanted to start my development in Spring Suite Tools, I got this message saying that I have not installed my JDK. But when I run,
$ java -version
in my terminal it gives me the current JDK installed in my computer. Even JDK is there I can't use my Eclipse or any derive IDE from it.
A way of getting around this problem is to give argument to the Eclipse at the start. That is by editing the eclipse.ini (STS.in my case) and the following line,
-vm
/path/to/jdk/bin
Ex :
-vm
/home/randika/Programming/jdk1.8.0_11/bin
before the line,
-vmargs
Thats it. Now Eclipse works and back to coding.... WE CODE HARD !!
Read More
$ java -version
in my terminal it gives me the current JDK installed in my computer. Even JDK is there I can't use my Eclipse or any derive IDE from it.
A way of getting around this problem is to give argument to the Eclipse at the start. That is by editing the eclipse.ini (STS.in my case) and the following line,
-vm
/path/to/jdk/bin
Ex :
-vm
/home/randika/Programming/jdk1.8.0_11/bin
before the line,
-vmargs
Thats it. Now Eclipse works and back to coding.... WE CODE HARD !!
Subscribe to:
Posts
(
Atom
)