Many thanks for your reply. I actually want the indicated behaviour of 1.7.0 i.e. the natofication/status bar to show - so that the signal strength and wifi connectivity etc is still visible on the screen. Simply by swapping out 1.7.0 with 2.0.0 it hides it and I have even tried explicitly setting the FLAG_FORCE_NOT_FULLSCREEN when using Cordova 2.0.0 in my activity's onCreate method as below and it doesn't help. Any ideas as to why this might be happening?
Rob.
package smilezone.Reporter;
import android.os.Bundle;
import org.apache.cordova.*;
import android.view.WindowManager;
public class SmileZoneReporterActivity extends DroidGap {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
//Show notification bar
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
super.onCreate(savedInstanceState);
super.setBooleanProperty("keepRunning", true);
super.setIntegerProperty("splashscreen", R.drawable.splash);
super.setIntegerProperty("loadUrlTimeoutValue", 60000);
super.loadUrl("file:///android_asset/www/index.html", 8000);
}
}