Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9014249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:27:47+00:00 2026-06-16T03:27:47+00:00

My company uses Android apps built within WebViews with a little native code that

  • 0

My company uses Android apps built within WebViews with a little native code that is accessible via a JavaScript interface.

webView.addJavascriptInterface(new JavaScriptInterface(this), "jsInt");

Where members of the class JavaScriptInterface are accessible through JavaScript within the WebView.

<script> jsInt.nativeMethodCall(); </script>

I’m wondering if Windows 8 has the same functionality. If so, could someone point me in the correct direction?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:27:48+00:00Added an answer on June 16, 2026 at 3:27 am

    Not precisely the same functionality, but there is a mechanism to communicate back and forth from JavaScript to C# within a WebView.

    Also keep in mind that HTML 5/JavaScript is a native development option for Windows 8, so your code might not need to run in a WebView at all. You could potentially port the application to an HTML5/JS target, and then interact with other Windows Runtime Components, which can indeed be written in C#.

    That said, for the WebView, which would be hosted inside of a C#/XAML application and host HTML/JS (like in Android):

    InvokeScript will allow you to invoke a JavaScript method from C# in the currently loaded WebView document

    In your C# code you can listen for ScriptNotify events to respond to payloads passed via windows.external.notify.

    Both of these are part of the XAML Web View Control example, and could form the basis of something a bit more like the Android functionality.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My company uses a lot of legacy cookies that contain '=' and ',' in
So my company uses Castle Windsor IoC container , but in a way that
I have an old project at our company that uses shell scripting a lot.
I'm working on a project for my company that uses a socket server (php)
My company uses Vertica . We have Python applications that connect to it with
I have an issue whereby the company uses a business tracking system that captures
There is a website that my company uses that updates information about 3 specific
I've been assigned to upgrade/rewrite a webapp that my company uses to schedule conference
Our company uses Sophos Anti-Virus with a default configuration that performs on-access scanning on
My company uses ASHX files to serve some dynamic images. Being it that the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.