android Programming Glossary: documentrootdirectory
Android webserver shows html pages as text http://stackoverflow.com/questions/18055743/android-webserver-shows-html-pages-as-text R.layout.server try String IndexFileName index.htm File documentRootDirectory new File Environment.getExternalStorageDirectory .getAbsolutePath.. .getAbsolutePath JHTTP j new JHTTP documentRootDirectory 9001 IndexFileName j.start Toast.makeText getApplicationContext.. Server Started 5 .show Log.d Server Rooot documentRootDirectory catch IOException e TODO Auto generated catch block e.printStackTrace..
Android webserver shows html pages as text http://stackoverflow.com/questions/18055743/android-webserver-shows-html-pages-as-text method stub super.onCreate savedInstanceState setContentView R.layout.server try String IndexFileName index.htm File documentRootDirectory new File Environment.getExternalStorageDirectory .getAbsolutePath JHTTP j new JHTTP documentRootDirectory 9001 IndexFileName.. File documentRootDirectory new File Environment.getExternalStorageDirectory .getAbsolutePath JHTTP j new JHTTP documentRootDirectory 9001 IndexFileName j.start Toast.makeText getApplicationContext Server Started 5 .show Log.d Server Rooot documentRootDirectory.. 9001 IndexFileName j.start Toast.makeText getApplicationContext Server Started 5 .show Log.d Server Rooot documentRootDirectory catch IOException e TODO Auto generated catch block e.printStackTrace Jhttp class package dolphin.developers.com import..
|