1

Value of variable after seekbar changed (Android)

view story
linux-howto

http://stackoverflow.com – i uses seekBar to pass value increase/decrease by user... i put the initial value of barValue=50. when user drag seekbar lesser than current value.. the a,b decreases by 0.00001. Problem i face. its only do the IF condition onced. after seekBar updated.. no changes on a and b. public static double a,b; public static int barValue; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); // Define the criteria how to select the locatioin p (HowTos)