Monday, April 18, 2011

Bungee Jumping in Korea


Last month I visited Cheung Pung Land for the bunugee. I know place name sounds very strange and funny, but it has loads of excitement in it. So here I am with another blog about this thrilling place.
How to reach there???
As I was in Suwon, so I will describe you according to that. This place Cheung Pung Land is nearest to Jae Cheon city. So go to Suwon bus Terminal and take bus to Jae Cheon bus express terminal. It’s a 2.5 hrs journey. Then you have to take local bus to go to the Cheung Pung Land, there are few buses like 982, 954 and 960. And be patient while waiting for these buses, as frequency is very less. This is also 1 hr journey.

What to do??
I can understand that it’s very long journey but believe this pain worth it. So there are mainly three rides: Bungee Jumping, Big Swing and Ejection seat. Although these are main attractions but apart from it there are Artificial mountaineering, Artificial ground, Trekking and Cruise. So it is complete day entertainment package.

When to go???
I will suggest you take bus, which leave 8 ‘O’ clock from Suwon bus terminal. So you can reach at the place by 12. Then you can start riding these rides. And Return bus timings are 15pm/16.45/18.30/20.00 pm. Try to go in summer, as it will be favorable time.

Etc:
If you need any other details like rates and others, you can refer the site http://www.riverland.co.kr/

Han(hangang) River


I have been planning to write this blog about my trips in Korea. Although it is not very big country like India, but it has very rich tourism experience. Here I would like to share some knowledge how to reach there and what to do.

How to reach there???
Although it was my second time when I went there but every time I get confused. Nearest metro station to the river is Yeouinaru which is on Subway line number 5. So if you are coming from Suwon, get down at Singil station and then change the line to 5. Take exit 2, and here you are.

What to do???
Lots of activity you have there to do. Cycling, specially double seater and triple seater( who haven’t tried these cycles, I know how attractive they are). You can try paddle-boating, speed boat and in last Cruise.
If you have enough time left then you can also go for 63 building which is just near to Han river. It has Wax Museum, Sea world and of-course view of Han River and city from the 63rd floor.

When to go????
I will suggest you go on Sunday and try to take Cruise in the slot of 7:30. Because by that time it will be almost night, and you can take the night view of Han River which is really good. And I think they have some fireworks and all that day. And try to be there by 4 'o' Clock, otherwise you will surely miss few things.

Etc.
There you will have enough shops for eatables, if you are hungry. KFC , GS25 and one coffee shop is there. So food won’t be issue.

Wednesday, February 16, 2011

some useful commands

little endian to big endian or vice-versa


temp = ( ( ((temp) & 0x000000FF) << 24) | (((temp) & 0x0000FF00) << 8 ) | (((temp) & 0x00FF0000)>>8) |(((temp)&0xFF000000)>>24));


Mount or unmount
mount -o remount rw /system 


Grep command
grep "" -rni --include=*.{java,} *


adb reboot download


logcat -f /dev/kmsg &

Tuesday, January 25, 2011

Android:R can not resolved.

Hi guys,
If you are facing this problem, it means there is some problem in the gen folder in your project. So the best solution to remove this error is to Clean build your project. So just go to Project -> Clean. It will clean the project and now build the project. If it doesn’t work then its better you delete gen folder and do the above steps again.
And Still if it doesn’t work I will suggest you to take back-up of your project and create a new project and now copy the content from old folder to new one. It will work.

Thursday, December 16, 2010

Window fluctuation in case of AlertDialog

Hi Guys,
Today I was facing following problem
Problem:
In Gallery,if you view any image and in that if you select Menu-> Details.
At the time of display image it shows annunciator bar for a moment and just disappear. I dont want this. After analyzing this I found that this is not visible when the items in the dialog is limited to 2-3 items. So suggest me the solution. It is in the Google Froyo code.
So here is the solution for it
Solution:
 AlertDialog alert = builder.create();
Window dwindow = alert.getWindow(); 

dwindow.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,   WindowManager.LayoutParams.FLAG_FULLSCREEN);
alert.show();
Hope this will be useful for you.

Tuesday, December 14, 2010

Android : Pop-up Disappear when configuration changed

If you are facing this problem in your android application, then here is the solution
1. Override onConfigurationChanged() method in your activity.
2. And also add android:configChanges=”orientation|keyboardHidden” in the activity, in AndroidManifest file of that application.
And thats it. Your problem will be resolved.

Thursday, September 2, 2010

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

Hi guys,
if you are facing this problem then it is problem with your context which you are passing in the AlertDialog, so make sure you are passing the Context which is initialized by
Context context = this;

And some times in case of Service, you can face this problem while you are using the correct Context. In that case use the following code before show() method.

AlertDialog ad;
// code for creating. .create();
ad.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
ad.show();

It will work.