I designed my own project and I want to make the web viewer display the site, but not via a link, but rather via the site files. I also want a free way to place ads for beginner applications.
a link (url) will call an html file from your site ...
If I misunderstand, please explain clearly, with examples, what it is you are attempting.
I will not actually upload the site to a hosting, so I want to make the web viewer display the site through its own files.
You want to host the entire site on the device ? This is possible, but you may not get all the functionality you would get from a web server.
How will you handle updates ?
I am trying to get the information to you, my purpose behind this idea is to make the application work offline without the Internet because my project does not need a connection, and because I could not design my idea completely in mit app inventory because I do not fully understand it, so I designed the idea in the form of a website and now I want to make the application display the website from the device completely so that it is offline and does not need an Internet connection
How many files make up the site?
What is the size of all the files together?
If you put all the files in your assets (media folder) you can go up to @ 26mb on the ai2 server, or 46mb on the code server. If your total files size is bigger than that then you could download the files on first use of the app (or as required), or decompile your apk and add the files you need.
What web technologies will your web site use? html/css/javascript/html5 video and audio/other ?
One file
File size is approximately 2 MB.
html/css/javascript/html5 No sound or video
The user will only be asked to upload a file for the site to process.
Then you should be able to load your file with this:
http://localhost/index.html
If you load you html file into the assets (media folder)
note: that is a big html file, are you sure there are no separate images or other media? These would also need to be loaded in the assets, and any relative links would need to be to the same directory, you cannot have sub directories in the assets.
If you plan to update the file/s then you can consider moving them all from the assets on first use to the app ASD files folder, then these could be updated with a download later. The url for the website would need to change.
Okay, thank you.