How to translate Help files

These instructions are based on running the Chrome browser, with the Google Translate extension, on several different devices. You may use any Android device and almost any browser; the steps will be similar to these. Some recommended browsers to use for translating with Google Translate are Chrome, Edge, Safari, Firefox and Opera; perhaps others.

Within HTMLSpyII...
  1. tap on any of Help, Deep Scrapping, Lesson1, Lesson2, Lesson3
    Note: Some devices default to loading the Chrome browser. In my limited experience Chrome could not be uninstalled from these devices so it is the only choice. Otherwise the device displays a list of browsers that are installed on the device, and allows you to choose one. For Chrome on the above list of devices...
  2. at top right corner of screen tap on the vertical ellipsis [3 dots]
  3. from the list that appears tap Translate
  4. at bottom of screen tap on the vertical ellipsis [3 dots]
  5. from the list that appears tap More Languages
  6. from the list that appears select your language

How To HTMLSpy
Version 10.8


Type a URL into the EditText; then from the Spinner drop down menu choose one of: Notes: Additional Notes:

File Storage on Your Device

With Android versions 10+ the location in the device for storage of app related data has changed. All files downloaded into this device by HTMLSpyII are by default, stored in Internal Storage, in this path...
/storage/emulated/0/Android/data/com.webs.mdawdy.htmlspyii/files/HTMLSpyII/
In addition to that data folder there are media and obb which you can use. Within the data folder of that path the HTMLSpyII section [com.webs.mdawdy.htmlspyii/file] is near the end of the very long list thanks to the webs being late in the alphabet. In one of my devices it appears as com....lspyiiin the directory structure because there is not sufficient screen space for the whole thing. Some devices have it scrolling across the top of the screen. In any case always start at Internal Storage, which is /storage/emulated/0/


  • You can manage downloaded files using the Local File Manager options within HTMLSpyII to access any file manager App in your device, or by connecting to a computer with a USB cable in Media mode

    example.com

    The domain names example.com, example.net, example.org, and example.edu are second-level domain names in the Domain Name System of the Internet. They are reserved by the Internet Assigned Numbers Authority (IANA) at the direction of the Internet Engineering Task Force (IETF) as special-use domain names for documentation purposes.

    The domain names are used widely in books, tutorials, sample network configurations, and generally as examples for the use of domain names. The Internet Corporation for Assigned Names and Numbers (ICANN) operates web sites for these domains with content that reflects their purpose.

    Connectivity

    Connectivity has 6 choices, plus Clear and Help

    Mobile/Wifi indicates if Mobile data or WiFi is connected. Note that if WiFi is connected, Android always reports Mobile Data as not connected, even if it is in fact connected.
    ping Google pings Google at IP address 8.8.8.8 five times and displays the results.
    ping URL pings the URL from the EditText 5 times and displays the results.
    Get Header Fields returns the Response Header Fields.
    Get Host Names and Get Connection State return a variety of technical information about the HTTP connection to the WebSite.

    Note:

    CodeView

    CodeView has 6 choices, plus Clear and Help

    Choose Load to view the HTML code from the URL in the EditText, plus the number of lines and the number of characters. Find First and Find Next function the same as in the JsoupView activity.

    Toggle Redirect [T/F] toggles the value between true and false. Get Redirect Location displays the URL of any Redirect which may occur, or NULL if none is set. Copy Redirect Location copies the redirect location into the URL EditText.

    Notes: Additional Note: An example of ReDirect
    1. Load a website
    2. Get Redirect Location
    3. If there is a redirect location, compare it with the http in the URL EditText
    4. If they are different [perhaps https rather than http] then choose Copy Redirect Location. It will be copied to the URL EditText and you can go to it :)

    JsoupView

    JsoupView has about a dozen choices, plus Clear and Help

    This section is based on jsoup, a Java library for working with real-world HTML. Technical information is available at this link: Jsoup Open Document loads the WebSite code into memory and parses it but does not display it.
    View has Display Document plus choices to Toggle PrettyPrint and Toggle Redirects between true and false.
    Info allows access to the website icon, title, description and keywords.
    Data allows access to links, imports, media, forms, meta and download of image files. When downloading image files, optionally put the file extension into the token field; then only files with that extension will be downloaded. Otherwise all files with an img tag in the html code are downloaded.

    Type a token into the EditText. Choose Find First to get the first occurrence and the number of occurrences, then Find Next to get subsequent occurrences. Choose Find First again to return to the top. This Find: Notes:

    Linkage to A Browser

    HTMLSpyII offers linkage to three browser programs: Chrome, FireFox, Opera. If you wish to use any of these just download your choice to your device from the Google Play store.

    If you prefer to use a different browser you can download OS Monitor from Google Play store to help make the linkage. Run OS Monitor to discover the Android Package Name of your browser. If the Tasks list does not immediately appear on the screen tap the Tasks icon at the bottom of the screen. The apps are listed in alphabetical order by Application Name which is not the same as the Package Name. You will see the Package Name once you find the Application Name. Note that the Application Name that you find may not be the same as the program name, so you must search carefully.

    If OS Monitor does not function you must set the Permissions. Permissions for this app are in Settings | Apps | All Apps | OS Monitor [depending on your brand of device, Android version, etc].

    Technically the package name can be anything, but the standard is a Reverse Domain Name format. If the developers website were mick.software.com the Package Name could be com.software.appname.
    Examples:
    Chrome: com.android.chrome
    FireFox: org.mozilla.firefox
    FtpCafe: com.opera.browser


    Enter the package name where indicated and tap the Radio Button for Run Package Name.

    Linkage to An FtpClient

    HTMLSpyII offers linkage to three free Ftp clients: PowerFtp, AndFtp, FtpCafe. If you wish to use any of these just download your choice to your device from the Google Play store.

    If you prefer to use a different Ftp client you can download OS Monitor from Google Play store to help make the linkage. Run OS Monitor to discover the Android Package Name of your Ftp client. If the Tasks list does not immediately appear on the screen tap the Tasks icon at the bottom of the screen. The apps are listed in alphabetical order by Application Name which is not the same as the Package Name. You will see the Package Name once you find the Application Name. Note that the Application Name that you find may not be the same as the program name, so you must search carefully.

    If OS Monitor does not function you must set the Permissions. Permissions for this app are in Settings | Apps | All Apps | OS Monitor [depending on your brand of device, Android version, etc].

    Technically the package name can be anything, but the standard is a Reverse Domain Name format. If the developers website were mick.software.com the Package Name could be com.software.appname.
    Examples:
    PowerFtp: de.medialux.powerftp
    AndFtp: lysesoft.andftp
    FtpCafe: com.ftpcafe.trial


    Enter the package name where indicated and tap the Radio Button for Run Package Name.

    Linkage to A File Manager

    HTMLSpyII offers linkage to four Android File Manager programs. These are included in all devices, and are usually named either Files or MyFiles. The ones that I have included are the ones for the four devices that I have. One of them is probably compatible with your device.

    If you prefer to use a different File Manager you can download OS Monitor from Google Play store to help make the linkage. Run OS Monitor to discover the Android Package Name of your File Manager. If the Tasks list does not immediately appear on the screen tap the Tasks icon at the bottom of the screen. The apps are listed in alphabetical order by Application Name which is not the same as the Package Name. You will see the Package Name once you find the Application Name. Note that the Application Name that you find may not be the same as the program name, so you must search carefully.

    If OS Monitor does not function you must set the Permissions. Permissions for this app are in Settings | Apps | All Apps | OS Monitor [depending on your brand of device, Android version, etc].

    Technically the package name can be anything, but the standard is a Reverse Domain Name format. If the developers website were mick.software.com the Package Name could be com.software.appname.
    Examples:
    Android 4.4.2: com.sec.android.app.myfiles
    Android 7.1.1: com.sec.android.app.myfiles
    Android 10: com.huawei.hidisk
    Android 10: com.google.android.apps.nbu.files