Skip to main content

Posts

Problems importing Android Source Code into Eclipse

Errors on the project build path when using Eclipse When I debug the framework source using Eclipse, there are some errors on the project build path. Error messages I saw are the following : Project 'Android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates/javalib.jar' Project 'Android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/gsf-client_intermediates/javalib.jar' Solution: Goto Project>Properties and libraries section and edit first one to "out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar"  and remove second one. Missing required library when import the android source 4.0 to Eclipse After this, the build path errors were gone, but I got about 200 errors referring to missing types. This could only be another classpath problem for Eclipse. Here are the extra libraries, that we have to add to the .classpath file: <c...

System running in low graphics mode (nVidia)

This problem can be occurred at two instances. 1. Fresh installation: 1. Download the driver from nVidia website 2. Copy the file to the disk. (It looks like "NVIDIA-Linux-x86_64-319.17.run", depends on your version) 3. Now just type the following command from terminal:     sudo sh ./NVIDIA-Linux-x86_64-319.17.run 4. Follow the on-screen instructions and finally reboot. 2. Problem after upgrade: 1. Login into command prompt 2. Run the following command:     sudo sh ./NVIDIA-Linux-x86_64-319.17.run 3. It will ask to delete previous installation. Accept all the prompts and also the one to edit xconf file. 4. Finally it will reboot and system boots normally. After successful boot, you can configure your driver in the System>Preferences section. Other work-arounds: 1. When prompted the low graphics mode, select the "Restart X" option. This will work in some cases. But every time you boot, perform the same. 2. Also try blacklisting "nou...

Setting JVM Heap size at runtime

To set the JVM heap size, compile the program normally. For example, consider Runtime.java program. Compilation: javac Runtime.java Now, to set minimum heap size(let, 16 MB) required by JVM, run the program as follows : java -Xms16m Runtime  We can also restrict maximum size(let 512 MB) utilized by JVM: java -Xmx512m Runtime  Both these options can also be combined to specify upper and lower bounds of JVM heap size: java -Xms16m -Xmx512m Runtime Now you can run a program that requires huge computational space.

Fotor Windows 8 app - photo editing tool

Looking for a app can do your work better with little/no effort, then here it is. Fotor is the best all-in-one photo editing application! Perfectly combine the windows 8 user experience with cutting-edge tools including Basic Editing Tools, Brilliant Visual Effects, Frames, 1-Tap Enhance, Collage, Text, Tilt Shift and Raw Converter, all bundled together in one powerful package!  Fotor Windows 8 app - photo editing tool Features : Collage :  Enjoy the freedom to arrange your pictures however you want with three different modes of collage: Template Collage, Photo Stitching and Shuffle Collage. Add Text : Input plain text or choose a stylish text template, personalize your photos by adding your own commentary, thoughts and messages for others to see, or just add notes to help you remember.  Raw Converter : RAW converter with tone mapping supports over 100 camera RAW formats. Import the RAW files and Fotor will take care of the rest. Powerful Editing :...

Fresh Paint - Windows 8 app

I recently found this great app, really superb. Give it a try. Here is the official description: Meet Fresh Paint – a delightfully realistic and fun painting application for you and your family. Fresh Paint is an easy-to-use, free app that includes oil paint and all the tools you need to paint. Whether you are an aspiring artist, parent or child (or child at heart), Fresh Paint will help you unleash your inner creativity. We believe that brilliant, creative ideas can come from anyone, anytime. It’s time to set your creativity free. Welcome to Fresh Paint – the canvas for your big ideas. Features Experience highly realistic oil paint. It works just like real oil on a canvas, but just a little easier. Paint without the mess, clean-up and costly supplies. Help your kids be creative and explore their imagination. Blend and mix paints to get just the colour you want. Turn your photos into paintings with Fresh Paint. Import a photo, and then just brush and blend the colour...

Dial-up connection using Command prompt

Connecting to internet using mobile partner or some other program is simple. But it consumes your system resources(around 200 MB of RAM). You can simply save your resources by using command prompt. This method is applicable only on Windows platform. First, install the device driver and create the dial-up connection, or just install the mobile partner(or software that came along with your modem) and connect using it(it will automatically create the dial-up connection). now you can exit that program. Here is the procedure to connect using command prompt: Open command prompt Type the following command rasdial "CONNECTION NAME" Ex: rasdial "TATA DOCOMO INTERNET" To disconnect, rasdial "CONNECTION NAME" /Disconnect You can also automate this process by creating batch file. Connect Open any text editor and copy the following code :Redial rasdial "CONNECTION NAME" if %errorlevel% == 0 exit goto Redial; Replace the CONNECTI...

Keyboard keys not working

Recently I faced an issue with my laptop keyboard. Some of the keys are not working. As it is still under warranty, I thought of replacing the keyboard. When I contacted customer support, after listening to the problem he asked whether I tried DRAINING. Then he explained me the procedure, and guess what - it's working perfectly again. Here is the procedure of DRAINING: First shut down the laptop/notebook Remove the battery Also unplug the adapter Now press and hold the power button for about 25-30 seconds Insert the battery again Now power on the laptop by pressing power button(normal booting) Now your keyboard will work again normally. If the problem still persists, consider replacing the keyboard.