friends,
i am using following property to show image on full screen
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
in manifest file
@Override
public boolean onKeyDown(int keyCode, KeyEvent event)
{
if(keyCode==KeyEvent.KEYCODE_DPAD_LEFT)
{
ShowError.setVisibility(View.GONE);
if(CurrentImageIndex + 1 < mImage_URL.length )
{
CurrentImageIndex = CurrentImageIndex +1 ;
Move();
}
}else if(keyCode==KeyEvent.KEYCODE_DPAD_RIGHT)
{
ShowError.setVisibility(View.GONE);
if(CurrentImageIndex > 0 )
{
CurrentImageIndex = CurrentImageIndex -1 ;
Move();
}
}
return true;
}
}
when image is display on full screen then backbutton(Hardware button on phone) does not work.
any one guide me what is the solution?
any help would be appreciated.