Tuesday, February 28, 2012
How to type in Hindi with an English keyboard
Tuesday, February 21, 2012
Samsung Galaxy Note Review - N7000
I've moved from an HTC Desire S to this phone. Here are some finer points that you will not see on regular reviews (gsmarena).
After upgrading to Android 4.0 (ICS), I found that the battery drains at almost twice the speed. So, what I will do is try the 2 tips mentioned on this page:
http://androidforums.com/samsung-galaxy-s2-international/540699-android-os-battery-drain-since-ics-upgrade.html
Pros:
Cons:

(image courtesy: www.carzone.ie)
After upgrading to Android 4.0 (ICS), I found that the battery drains at almost twice the speed. So, what I will do is try the 2 tips mentioned on this page:
http://androidforums.com/samsung-galaxy-s2-international/540699-android-os-battery-drain-since-ics-upgrade.html
Pros:
- Huge screen: makes excellent web browsing in landscape mode
- Music player: access it even when the screen is locked ;)
- Good quality headphones, with volume control and play/pause buttons
- Ability to decline an incoming call with a text message like, "I'll call you later"
- An excellent radio interface
Cons:
- The Note UI can learn from HTC's Sense, which I find very user friendly!
- Sometimes the tip of the S-pen can become statically-charged, and then the screen starts responding if the pen's tip is near the screen (not actually touching). This can be fun and annoying at the same time.
- I have a front screen cover integrated with the back panel (manufactured by Samsung). Some of the locking bits of the back panel come off once every few days and have to be pushed back in to click into place.
- One shortcoming that (I suppose) is common to all smartphones web-browsers, is that if a webpage has a sliding control, you press your finger (or stylus) on that control and try to move it, the browser starts scrolling the page. This makes the sliding-control unusable.

(image courtesy: www.carzone.ie)
Monday, February 06, 2012
About memory profiling in Java...
First, use the tool jvisualvm that ships with Java SE to connect to your local vm.
For remote VMs, see here
To analyse memory, you will need to generate hprof memory dump files.
I am using Java 1.5.0_14, therefore I do not have the tools available in Java 6 and 7 that allow you generate hprof files on-demand.
For local VMs, firststep is to add -XX:+HeapDumpOnOutOfMemoryError as a VM-arg. This means that when your program runs out of memory, a core dump will be generated.
Once you have a hprof file, install MAT (Memory Analysis Tool) in your Eclipse and open the hprof file using MAT perspective.
See their excellent introduction: http://wiki.eclipse.org/index.php/MemoryAnalyzer
For remote VMs, see here
To analyse memory, you will need to generate hprof memory dump files.
I am using Java 1.5.0_14, therefore I do not have the tools available in Java 6 and 7 that allow you generate hprof files on-demand.
For local VMs, firststep is to add -XX:+HeapDumpOnOutOfMemoryError as a VM-arg. This means that when your program runs out of memory, a core dump will be generated.
Once you have a hprof file, install MAT (Memory Analysis Tool) in your Eclipse and open the hprof file using MAT perspective.
See their excellent introduction: http://wiki.eclipse.org/index.php/MemoryAnalyzer
Subscribe to:
Comments (Atom)