All Questions
Tagged with android javascript
17,876 questions
0
votes
0
answers
34
views
Detect single word text selection using javascript on android
I want to detect when a user finishes making a text selection on android, using cordova and javascript. This is possible for multi-word selections (see the gist by parthibeyond, added at the end of ...
0
votes
0
answers
54
views
How to open chrome forcibly instead of open webview when I click on my url in any app
My problem:
I have a service with web interface. The customers receives a link to the web page and click's on it.
Depends on a customer platform - the link must be opened in a different way:
in case ...
0
votes
0
answers
28
views
DNA Editor App DOM UI Rendering not loading
enter image description here
This is how it's supposed to look and functions perfectly fine in my browser, but I've have had to start over and rebuild it from scratch for Android Webview since it ...
-1
votes
0
answers
51
views
Issue with custom Capacitor Java plugin to work with Javascript app on Android [closed]
We are developping a custom Android app.
The app is coded on Javascript and we coded a plugin in Java who's role is to read the USB port on the Android tablet.
Capacitor is used to bridge between the ...
0
votes
0
answers
22
views
Dev launcher setup that initializes twice on Android React Native app startup causes crash
My app crashes during startup.
When I use logcat I get the error
(reverse domain name deliberately obscured for security):
E FATAL EXCEPTION: main (Ask Gemini)
...
1
vote
0
answers
31
views
Movie Ticket App using SQLite Issue with Login Triggering 'User Already Exists
I am building an Android app with a login screen that stores the username and password in an SQLite database. After a successful login, the user is taken to a Movie Ticket Booking screen where they ...
1
vote
1
answer
74
views
How to get fetch TOWARDS localhost to FUNCTION on CORDOVA Android
My question is simple.
I make a call using fetch in my CORDOVA app like so, from the ./www/js/index.js script:
const response = await fetch('http://localhost:3000/poc3/convert', {
method: 'POST',
...
0
votes
0
answers
20
views
React Native 0.78.1 — Local GIF Not Animating on Android with <Image>, even after adding Fresco dependencies
I'm working with React Native 0.78.1 and trying to display a local animated GIF using the standard component like this:
<Image
source={require('../../assets/images/signup.gif')}
style={styles....
0
votes
0
answers
49
views
Android Camera Permission Denied on MAUI Hybrid App with MediaPipe JS Pose Detection
I'm developing a .NET MAUI Hybrid app that uses a Blazor WebView to run a web interface with MediaPipe JS for pose detection. On Windows everything works fine the camera activates and MediaPipe ...
0
votes
1
answer
98
views
Fixed bottom 0 not working within nested component
I have the following setup
<View>
<Component>
<FlashList>
</FlashList>
<Component2>
</Component2>
</Component>
<View>
(A ...
0
votes
0
answers
49
views
Is it impossible to remove/hide the Android Botton Nav Bar on Modals in React Native With Expo?
Im coding an app for Android using React Native in Expo, and I think I have found an impossible task.
I have succesfully removed/hidden the "Bottom Navigationbar" for Android devices and ...
2
votes
1
answer
48
views
Using Typescript library in a Kotlin project
I have a lib written in typescript that I need to run on an existing Kotlin project for an Android app. How can I use this lib? I read some documentation but I didn't understand it, I need some ...
0
votes
0
answers
28
views
Resolving Javascript Modules with importmap not working on android chrome
I have a symfony project with the assetmapper package active. There is an app.js which imports:
import './styles/app.css';
import Wood from "./wood.js";
The gernerated importmap looks like ...
1
vote
0
answers
36
views
Execute JavaScript in Android Kotlin WebView to find an element's coordinates on the screen
I have an Android app which I am creating with the Kotlin language. I am trying to get a specific <div> element within the webpage I am displaying and then put the coordinates of the element ...
0
votes
0
answers
27
views
How to Auto-Redirect My Website from Android WebView Apps to an External Browser?
Attempt 1: Using googlechrome://
if (/android/i.test(navigator.userAgent)) {
window.location.href = `googlechrome://${window.location.href.replace(/^https?:\/\//, '')}`;
}
Result: The link stays ...