Questions tagged [android]

Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter, and etc. For questions other than development or programming, but related to the Android framework, use this link: https://android.stackexchange.com.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Why does text shake when using Paint.drawText() to achieve scroll?

I implemented the marquee in SurfaceView using Canvas.drawText(String text, float x, float y, Paint paint).However, I found that when "text" is longer, scrolling is not smooth and is shake. I am ...
0
votes
0answers
2 views

How to start service instead of activity via appium?

I am trying to use appium to test one background application which has no interface on android. I find the following command works: adb shell am startservice -n com.abc.xxx/com.abc.xxx.Service ...
-1
votes
0answers
10 views

How can use multiple inheritance in android activity?

I have an activity that's being injected by Dagger. I want to use RxLifeCycle because use Retrofit2 with Rx. I want use compose(bindToLifeCycle) but I already use DaggerAppCompatActivity. ...
0
votes
0answers
3 views

Speech to text for two edit texts (single button)

I'm new to Android Studio. I have tried Speech to Text with one edit text and it's working fine. But I want to apply Speech to Text for two edit texts with one button. Can anyone help me, please? I ...
0
votes
0answers
4 views

Accessing Azure App Proxy from Intune wrapped IOS and Android applications

We have developed a native mobile LOB application for IOS and Android, successfully wrapped them with the latest Intune wrapping tools and published them through Intune. On devices it can be found and ...
0
votes
0answers
4 views

Android: extra permissions added by AdMob

My app uses Google ads: dependencies { implementation 'com.google.android.gms:play-services-ads:18.2.0' } In the merged Manifest the library com.google.android.gms:play-services-measurement:17....
0
votes
0answers
5 views

Wowza: Is it possible to allow both http and https streaming?

Is it possible to allow both http and https streaming? currently wowza is only running over https, if we try to make requests over http, we get http: Trust anchor for certification path not found. ...
0
votes
0answers
5 views

Programmatically loading native libraries in Xamarin

Our Xamarin app supports some device-specific hardware features for a specific Android device packing an RFID scanner. We don't like to clutter up our basic app with stuff related to this device, so ...
0
votes
0answers
4 views

node-gcm cordova android custom sound push

I have a project on CORDOVA. Connected to it FCM. The instructions indicate that I can set my sound to a notification. https://firebase.google.com/docs/cloud-messaging/http-server-refa On the server ...
0
votes
0answers
13 views

Best practices to convert Firebase database having dynamic values to kotlin data classes

My database(firebase-realtime) has dynamic values for nodes(under services such as Beard - Trim, Facial, Hair coloring etc.). What would be the best practices to convert it to Kotlin data class(Java ...
0
votes
3answers
22 views

How to use setState method for only one widget in flutter?

On clicking on any point in the below graph, I want to show some information related to that point. But when I use setState method to update the below information on click event, the graph is getting ...
0
votes
0answers
7 views

JavaCV Face Training for Recognition

I have created a face detection app where opencv JavaCam captures the face in frame and crop it, how can i modify the code below to train my detected face once the face is detected and store the ...
0
votes
0answers
7 views

Got Noisy Log From Glide

Running the app in Android Q Emulator, there is no error in the code bu i got this log from glide. is this a bug? if it is, can i hide this log? thanks Invalid image: ExifInterface got an ...
0
votes
0answers
7 views

Keypress on xamarin form not entry

I have a Xamarin Android form (content page) and I want when the user presses the F1, or F2 or F3 keys to take a certain action, like calling a method. I can not find anywhere any solution to that. ...
0
votes
0answers
12 views

Android App for how to apply deep-linking

how to create deep-linking URL and how to apply in my android app to open specific activity in android app. i am new in this field please help me.
0
votes
0answers
17 views

I'm having a problem populating a RecyclerView using Firebase [duplicate]

I used a Firebasew ith firebaseRecyclerAdapter in a fragment to populate a recyclerView, it just doesnt work, i need help. When I run the code i get an error that says: setter/fields not found ...
0
votes
0answers
7 views

light luminosity change with 8-bit sounds

I am trying to build an android app which can change a 8 bit sound along side with the luminosity i get from the light sensor? Anybody know about that? thanks
0
votes
2answers
21 views

How do I remove .0 from Float

Here is the code: private fun setData(playerData: TreeMap<String, String>) { val values = ArrayList<Entry>() val graphData = java.util.ArrayList<Float>() for (value in ...
0
votes
0answers
6 views

React Native Could not find com.android.support:appcompat-v7:${supportVersion}

I have a React Native app I'm trying to deploy to an Android Studio's Android emulator, on Windows 10. I run the app from an elevated Power Shell, using react-native run-android The Metro Bundler ...
0
votes
0answers
7 views

Storing a JWT on device to keep user logged in

I'm developing an android banking app and want users to stay logged in even after app is shut down. My idea to make this as secure as possible was to store a unique device id in the JWT and then ...
0
votes
0answers
7 views

flutter first app error ( error running gradle processexception process exited abnormally )

I recently download Android Studio and flutter SDK from here. I didn't download 'Git for Windows' option yet. When I try to run main.dart from the example code I get this error code: Error ...
0
votes
0answers
6 views

Add Apptentive Survey for Android

From the Android Apptentive documentation, only get a callback when a Survey is finished: Apptentive.setOnSurveyFinishedListener(new OnSurveyFinishedListener() { @Override public void ...
0
votes
0answers
22 views

Save data on github programmatically

I am programming a small app which needs to save / read and write information. My task is to save this data as a text file in the local app storage, in the downloads directory of a phone and on the ...
0
votes
0answers
7 views

Google analytics for mobile apps deprecation

Google analytics for mobile apps will be deprecated. I have google analytics in my android application. Is there any way to continue see my analytics in google analytics instead of firebase? I found ...
0
votes
2answers
29 views

On a button, text and drawable are too far away

when I make a button width match parent, the drawable start and text are too far away, and they don't seem to respect android:drawablePadding setting. I tried as well with android:gravity="center" and ...
0
votes
0answers
4 views

Sketchware how to make multiple bar charts in Sketchware

I have begun a long time waited career in Android application programming. I'm doing this with my smartphone and on the Sketchware app. This issue is that I am trying to create a bar chart app with ...
0
votes
0answers
5 views

Lottie loopOut(“cycle”) not working in android

I have an animation exported from After effects to be shown in android using Lottie. The animation uses the loopOut("cycle") function to repeat parts of the animation during one loop of the main ...
0
votes
0answers
18 views

RealmList with Android

Items upon inserting Items upon retrieving So here is the thing: I have an Object Product which extends RealmObject. Inside the Product object, there is an attribute: RealmList. Bundle also ...
0
votes
0answers
12 views

Kotlin-Kapt Annotation Processor not working with gradle 4.10.1

In my project, I use a processor in a lib to process annotations. Here's my app's build.gradle (gradle 4.10.1) apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: '...
0
votes
0answers
12 views

Change Android app language with out restarting the app using Restring library

I am using Restring library to load localized strings on my app. And I am able to load localized strings from the api and display it on the app, with out any issues. But the pitfall is every time the ...
0
votes
0answers
9 views

How to share common actions (or activities) between multiple navigation graphs?

I am using navigation library in my android application with multiple activites and I would like to know, whether there is a way to share some actions (which do open certain page with predefined ...
0
votes
0answers
10 views

How to change chromecast button drawable

I need to replace chromecast button drawable to match new design of the app. I tried to use the solution from this answer but it doesn't work for me, when I added drawables to the project, nothing ...
0
votes
0answers
9 views

Modifying Android UI through linux kernel

My goal is to show a popup window in the Android UI using linux kernel. Is it possible to do so? I checked the SDM driver(DRM driver for QCOM/adreno devices) but I couldn't find an API which does so. ...
0
votes
0answers
11 views

Want to integrate dictionary in react native app

I want to integrate the dictionary which supports Gujarati, Hindi, English languages When the user press on some word of my application it should display meaning for the same.
0
votes
0answers
6 views

How to get subscription id / account id from CallLog.Calls & SubscriptionManager

I have been trying to get subscription id/account id from CallLog: //Fetches the complete call log in descending order. i.e recent calls appear first. Cursor c = context.getContentResolver().query(...
0
votes
1answer
14 views

debug directory does not exist error running React-native's AwsomeProject

I'm trying to create a react-native android app following react-native "Getting started" here but when I try to run it both through CLI and with Android studio it gives me this error: A failure ...
0
votes
0answers
9 views

Use WebRTC camera in AR-session Android

I'm trying to replace the frames from the device camera (which is normaly used in an AR session) with frames from a streamed camera via webrtc. To render the webrtc stream I'm using webrtc....
1
vote
0answers
15 views

Cloud Vision - Your app contains exposed Google Cloud Platform (GCP) API keys

I am using Cloud Vision API in my application where I have the API key in my code and I got this warning in the Google Play Console : Your app contains exposed Google Cloud Platform (GCP) API keys So ...
0
votes
0answers
22 views

OkHttp not posting to mysql

i have a problem here ..my code is supposed to send 3 values to the daatabase, from text box etName,etEmailand etPassword but instead oes not send anything ...im new in android and i dont now some of ...
-2
votes
0answers
10 views

how to install android on odroid c1

I have a odroid c1 and I can't install android on it. I tried several SD cards and I tried with DiskImage and Etcher. I tried https://wiki.odroid.com/odroid-c1/os_im ... droid/v4.4 I plug in a power ...
0
votes
3answers
35 views

No ActivityNotFoundException when device with no csv viewer installed in it

I want to show csv file in a viewer when a csv viewer installed in phone. otherwise I need to show a toast message "There is no CSV viewer installed". In my case, when I test below code in a device ...
0
votes
0answers
8 views

Android - view rotate animation blinks

I'm programming a simple app on Android where there is a map that rotates so that it always points North. I use the sensors to obtain the device orientation and then pass the old and new orientations (...
0
votes
0answers
8 views

ExoPlayer live stream freezes on Askey Android TV box, audio continues

On play-out of some of our own DASH+widevine protected live streams, the video freezes after just a few seconds on an Askey Android TV box while audio continues. I also see video chunks still being ...
-1
votes
0answers
18 views

increase subscribers of telegram in android/php

I want to increase a telegram channel subscribers in my application. there is an app regrading this https://apkpure.com/membersgram-boost-telegram-channel-member-group/com.membersgram.android || which ...
0
votes
0answers
10 views

How to add print support to my android webview app

I have created one android application using webview. In the website that i have loaded in webview has some print options in it. The problem is when i click the print button nothing is happen. so ...
0
votes
0answers
9 views

SoftInput Keybaord with Adjust Pan Causes RecyclerView to spread out children/breaks the layout

I am having an issue with a Recycler View and its children. I currently have the Activity set to AdjustPan (also tried AdjustResize). A have a fragment (shown in the GIF) that is loaded inside a ...
0
votes
0answers
19 views

How to keep image in it's original form when dark mode enabled

I just created a media application for android. When user play a song it shows title and image in a notification. I have a problem when user play a song in android built in dark theme (android 10) ...
0
votes
0answers
8 views

Running pipelines with an android build environment image and ruby

I'm using the following yml file image: uber/android-build-environment:latest pipelines: default: - step: caches: - bundler script: # Modify the commands below to ...
2
votes
1answer
43 views

Android - ImageView with rounded only one corner

I want to create ImageView like this (right side of the image): I have it in CardView layout so I have rounded corners of the card but I need to create rounded left bottom corner of the image alone (...
-3
votes
3answers
54 views

Do I really need to learn xml for android development?

I am a Python programmer and I want to learn android app development. My million dollar question is, do I really need to learn xml? Can't I just use the design tab in android studio and drag n drop ...