I saved the complete html application under android Assets folder.
I am not able to run the html file in the external browser using the path of assets folder directly, Following is the code I used
Using java Syntax Highlighting
- Intent browserIntent = new Intent("android.intent.action.VIEW",
- Uri.parse("file:///android_assets/mobile/index.html"));
- startActivity(browserIntent);
Parsed in 0.029 seconds, using GeSHi 1.0.8.4
An exception is thrown.
Using java Syntax Highlighting
- java.lang.RuntimeException: Unable to start activity ComponentInfo android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat= file:///android_assets/mobile/index.html }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
So now I want to send this folder to phone’s internal memory and From there I want to run it.
Qn 1. How can I send a file into phone memory?
Qn 2. And can I run that html file from phone memory?
Is it possible to do so??


