Retrieving the current method name in Java.
public String getCurrentMethodName(int depth) {
StackTraceElement stackTraceElements[] = (new Throwable()).getStackTrace();
return stackTraceElements[depth].toString();
}
Let’s Share Information
Retrieving the current method name in Java.
public String getCurrentMethodName(int depth) {
StackTraceElement stackTraceElements[] = (new Throwable()).getStackTrace();
return stackTraceElements[depth].toString();
}
Couple of days ago I decided to go with android with my HTC HD2. At the time I thought I may have to revert it back to Windows 6.5, But every thing is working 3G, WIFI, GPS…. and battery holds up to a day. I recommend, you should also flash your HTC HD2 phone to Android.
Sinhala interface language pack for Windows 7.
Please note that the Sinhala Windows 7 LIP can only be installed on a system that runs an English client version of Windows 7. It is in available in both 32-bit and 64-bit versions.
Download the Sinhala Windows 7 LIP via the Microsoft.com Download Center.
Can the HTC HD2 run Android?
1. Your HTC HD2 can run Android as well as Windows mobile!
2. You can have them both and switch back and forward between them.
3. No hard reset is needed to run Android, no windows mobile data is lost.
Files you need are in:
http://cid-365c10250ea436f4.office.live.com/browse.aspx/.Public/Android%20For%20HTC%20HD2
How to install Android on HTC HD2?
1. Install HSPL (Hard SPL)
If you have done this before, skip to the step 2.
For T-mobile users only, Read this first:
http://forum.xda-developers.com/showthread.php?p=6004271
And install this version:
HSPL3_PKG.exe
For Euro/International HTC HD2 only, Read this first:
http://forum.xda-developers.com/showthread.php?t=611433
And install this version:
HSPL2_RUN.exe
2. Upgrade your Radio.
If your radio version is 2.08 or higher, you can skip to step 3.
Don't know what is your radio version?
Go to settings tab; slide all the way down to "About phone"
click on "Software information".
To upgrade to version 2.12.50.02_2 download this:
CustomRUU.exe
3. Download the Android OS files:
Android.7z.001 to 004
(you can try any other version you like... http://gamesquare.co.uk/froyostone.htm )
After downloading, copy the "Android" folder to the root folder of your storage card.
(Root folder = top level, main folder...)
it should look like this: Storage card/Android
You are done!
To run android you should first disable "Automatic adjust backlight". (And set the backlight to 100%).
You will find this on windows mobile settings here: settings tab. click on "Sound and display", scroll down to "backlight" and click on it.
Every time you want to start using Android do this:
Go to the android folder on the storage card.
Click on the "CLRCAD.EXE" file, (you will get no action on the screen but its normal).
Click the "HARET.EXE" file to launch Android! (The first time may take up to 10 minutes to run)
When you want to go back to windows mobile:
Soft reset the phone or turn off the phone (long press the power button and choose to turn off) or remove the battery.
Read more: HD2 Apps: HD2 Apps http://hd2apps.blogspot.com/search/label/HD2%20Apps#ixzz10cGEn49t