Android Code/Apps

All files and code on this page were written by me. I give you permission to use them as you wish. But if I added something that helped you over a hurdle or made your Market sales skyrocket then by all means feel free to Donate. ^_^


30 CLOCK PACK W/ LIVE WALLPAPER BUNDLE

DOWNLOAD SOURCE 

DOWNLOAD APK









--------------------------------------


FULL SCREEN
To make an app full screen its quite simple really. Whichever activity you want to be full screen just add these lines of code in the Java file in the SRC folder corresponding to the page you want to run full screen.

requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
       

If you want the whole app to run in full then you need to add this to each Java file in the SRC folder. On the contrary if you only want the Splash Screen to run in full screen then you would only add this to the Java file that controls the Splash Screen.
--------------------------------------

NO SCROLL BAR IN SCROLLVIEW
This code makes the ScrollView have no scrollbar.

ScrollView sView = (ScrollView)findViewById(R.id.ScrollView02);
        //Hide the Scrollbar
sView.setVerticalScrollBarEnabled(false);
sView.setHorizontalScrollBarEnabled(false);

You need to add this to every SRC file that contains the scroll bar you want removed. And in the code where it says "R.id.ScrollView02" you need to replace the "scrollview02" with the id of your scrollview.