返回首页

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, etc. For questions other than development or programming, but related to the Android framework, use this link: http://android.stackexchange.com.

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

How to set up Reside menu library with Android architecture Component?

I have integrated android Reside Menu, In the Main Activity layout, i have a button. If the user click in this button the Reside Menu will appear. <Button android:padding="10dp" ...
0
votes
0answers
2 views

How to get Parcelabe object in Android espresso

I'm trying to test one of my clasess trying to check if my textView is showing the title of the object that I'm passing in an intent, but I can't get it. Always have this error: E/TestRunner: ...
0
votes
0answers
5 views

Insert items into RecyclerView after activity is visible

I have an activity with nested recyclerviews and overall about 100 entries which I get from a SQLite database. On the emulator the activity takes about a half second to open up but on my personal ...
0
votes
0answers
2 views

Connecting android smartphone with zkteco zk9500 by USB

I am trying to connect an android smartphone with a device zkteco zk9500 (for enroll fingerprints ) by USB, but I have not found a library for android, I tried to do it using UsbDeviceConnection ...
0
votes
0answers
2 views

Opening a listPreference in a Dialog, without opening an activity

In my menu item of navigation drawer, I have case R.id.nav_manage: // Handle the tools action (for now display a toast). drawer.closeDrawer(GravityCompat.START); Intent ...
0
votes
0answers
6 views

How to update listview

I am a beginner at android studio and is currently working on an app where you have a listview and a ArrayAdapter containing elements. You can create new elements and delete them. This is my ...
0
votes
0answers
6 views

Generating and playing sound signals

I want to create app to play Morse Code. To do this i find that you can generate sound by writing bytes array to AudoTrack object. However, no matter of configuration, i can't hear any sound, even tho ...
0
votes
0answers
7 views

Fragments without onCreateView

recently i saw some articles about inflating the fragment layout directly from the Fragment() class ExampleFragment: Fragment(R.layout.example_fragment) does this stand only for fragments that dont ...
0
votes
0answers
4 views

How to copy sqlite base to android emulator?

The sqlite base file is stored in path data/data/my-package-name/databases/mybase.db (Where does Android emulator store SQLite database?) Sometimes, i get this file on a remote real device and i ...
0
votes
0answers
7 views

Chip-like feature with firebase recycler adapter

I'm trying to display a horizontal recyclerview. I want the items to behave like the material design chips. I'm able to populate the recyclerview with data from firebase database, but i can't make the ...
0
votes
0answers
4 views

How to Create Customized 2d Map and Import to android studio?

a few months ago I have started android programming with kotlin. I want to add my customized map to my application. I started with indoor map for my app and later indoor/outdoor. I work with BLE and ...
0
votes
1answer
7 views

How Can I get The Child Id Of the Root Node In Firebase Realtime Database?

This is my RealTime Database JSON data. I want to fetch the child id of the root node Assets. but can't seem to figure out as I am not using userid instead I am scanning a barcode and saving the data ...
0
votes
1answer
7 views

Unity IL2CPP Error : section name section has wrong type: 2621440

I'm trying to build my game to android 64 bit with Unity 2018.3.3, but IL2CPP crashes ! every thing works fine when I build with Mono but it only give 32 bit apk ! When I build an Empty Project with ...
0
votes
0answers
13 views

android studio: can't display l'atout in my second activity

I have some trouble with my chonometer layout in my second activity I can't display it. In my second activity I have a .bmp that I can display but I can't display my chronometre. Can you help me ...
0
votes
2answers
13 views

How to get the Spinner value to save in a variable

I know there are several questions around this, but do not quite get how to solve it. The problem is that I am showing some values from local SQlite database, the different options are shown ok and I ...
0
votes
0answers
5 views

React Native : Custom Push Notification Sound when the application is background/killed in Android. How?

I am using React-Native-Firebase's Cloud Messaging module to for Remote/Push Notification. Custom sound works for iOS but doesn't work for Android. I am talking about when the application is closed/...
0
votes
2answers
10 views

Can I retrieve documents of same subcollection in different collections with the same name, using Firestore?

I'm working on an Android app and I use Firestore to store my data. I have a collection of Users, and every user has a subcollection called Posts. Is there any way to retrieve all posts from all users ...
0
votes
1answer
26 views

I can't create an instance of JSONObject

Here is my code: public String prepareParam(HashMap<String, String> params) { JSONObject json = new JSONObject(params); return json.toString(); } According to Android developer ...
0
votes
0answers
3 views

Why does NetBeans Gradle Plugin only shows the src Folder when the java Plugin is applied?

i was importing a new Android-Studio project to NetBeans 11.2. My Problem is, there is no src Folder showed in my project tab (look at my screenshot). When i apply the java Plugin to my app Project, ...
1
vote
0answers
10 views

Google Vision visual search in local database

i want to create a visual search for my app and my Redis database. Redis is caching products from an external api, which contains products like Nike sneakers, hoodies, hats and so on. So now i want ...
0
votes
0answers
6 views

How to add a Recycler View to a Drawer in a Kotlin fragment

I, uh, tried to put a Recycler View in a Drawer, inside a normal fragment, but I'm having few problems in how to start doing it since it's another xml and it'd lead to having two fragments in the same ...
0
votes
0answers
10 views

Retrieving Firebase Data with Conditions?

i want to retrieve data from my Prt Ss (image upload) This problem is, how to get value from this child condition? (more user phone number) random phone number and push id? FirebaseDatabase....
0
votes
0answers
20 views

Method never returns when thread join

I'm creating an Android application where I've a login system using MySql. I'm using a Thread for the login. private static boolean isValid = false; public static boolean login(final String username, ...
0
votes
0answers
5 views

Text Recognizer from image to find the date

In my app i need a help to find the date from image using Text Recognizer. But in Image Date can be in any format such as:- dd/mm/yyyy, dd-mm-yyyy, dd mm yyyy, dd mmm yyyy, dd-mmm-yyyy, dd/mmm/yyyy ...
0
votes
0answers
7 views

Experiencing explainable issues using Permission Request in Xamarin Forms on Android 10

This issue I am currently experiencing only appears to be apparent on Android 10, older versions of Android work perfectly fine. I've tested this on a physical and emulated devices and I get the same ...
-1
votes
0answers
7 views

Google Maps Application ideas

I have to do a little software project but I am not that skilled with Android Studio and programming in general. My tasks are: Show a map (works) and the current location via GPS (don't know how to ...
-1
votes
0answers
16 views

Android app wakes up automatically after closing

1) I've closed my application by pressing home button and I used android different apps. 2) I've closed my application and left my phone for a day. In first scenario app wakes up automatically while ...
0
votes
0answers
7 views

Getting “Unfortunately, GluonMobile” stopped working

I am getting "Unfortunately, GluonMobile stopped working" every time I try to run my application on android. First of all, I am using gluon-mobile to make android apps that is writted in javafx (java) ...
0
votes
2answers
20 views

How to programically trigger notify on MutableLiveData change

I have a LiveData property for login form state like this private val _authFormState = MutableLiveData<AuthFormState>(AuthFormState()) val authFormState: LiveData<AuthFormState> get() ...
0
votes
0answers
7 views

Is it possible to stop the Notification Chronometer after it reaches a certain value (0:00)?

I'm using NotificationCompat.Builder with .setUsesChronometer(true).setWhen(Instant.now().toEpochMilli() + timeDifference.toMillis());. The setWhen()-timestamp is in the future, so the Chronometer ...
0
votes
2answers
33 views

How to use a variable for running count down timer?

I was creating a timer app and I wanted to use CountdownTimer on Android Studio with a variable . It was showing no error , but on run-time it is (CountdownTimer) running only one time. int set=1; ...
0
votes
1answer
34 views

is it safe to use static inteface in application class?

Is there a problem with using these classes? Does this static interface make the application class any problem later? public class App extends Application { private static KareezAPI apiService; ...
0
votes
0answers
6 views

Android accessibility focus listener

Is there a way to have a listener that alert you when a certain view receive the accessibility focus from the TalkBack screen reader? Something like miView.BecomeAccessibilityFocused() I have ...
0
votes
0answers
12 views

Mapbox removing symbol from map not working

I am working on an AndroidApp using the Mapbox integration. The Issue is, that I call the symbolManager.delete() after onResume() in a Fragment without any error but the symbol is still shown on the ...
0
votes
0answers
13 views

How to wake up my app (using service) WHEN another app launches?

It's a project for university that bewildered my team. We're creating an alternative voice control for android for disabled, that will launch when some specific apps launch. When app destroyed, ...
0
votes
0answers
6 views

Detect Android React Native app running under Detox context in MainActivity.java

I wish to take screenshots of my React Native app from a Detox e2e run when a test fails. This works fine on iOS, but on Android due to the use of FLAG_SECURE in my MainActivity.java, the screenshots ...
0
votes
0answers
13 views

App bundle language split doesn't seem to handle regions

I have the following error message when uploading the bundle of my app on the play store : The most heavy part of the APK is the raw folder, it contains a lot of .mp3 files. All files are localized ...
0
votes
2answers
19 views

Android RecyclerView Compare the data and update ui acording to it

Hello I am New to Programming i just created an application that get the data from server every second i just wants to changethe background of my RecyclerViews holder's bid and ask position if the ...
0
votes
0answers
9 views

Finish FlutterActivity from Flutter when integrating Flutter to native host app [Add2App]

When integrating Flutter to a host app (docs) there is a few ways to do it, one of them (simplest) is open Flutter in a new Activity via FlutterActivity class. Like this: // Java hostActivity....
0
votes
0answers
3 views

FAILED (remote: Error calling AvbLoadAndVerifyBootImages Load Error)

I am trying to flash custom ROM on Google Pixel 3. I followed the instructions here: http://www.youtube.com/watch?v=FcK4yIoror8 Since I am trying to flash custom ROM on Pixel 3, the TWRP version ...
0
votes
0answers
9 views

How to bind a service to multiple activities without it being stopped while navigating between activities?

I was wondering, in Android, I have a service that holds a timer since connecting to a BLE device. I would like the service to stay bound until either the device disconnects or until the entire app ...
-1
votes
0answers
9 views

Does Android Jetpack Compose support Toolbar widget?

I'd like to use Toolbar with Jetpack Compose. Does it have such a Composable component?
0
votes
0answers
4 views

WebSearch API speech recognition not working on Android Mobile

I'm trying to create a Progressive Web App and I need to implement a continuous speech recognition function in it. So far it works fine on Chrome Desktop application but it's not working on my mobile. ...
0
votes
0answers
15 views

Is there a way to install a driver through an app?

So I have this mission: to develop a driver for Android, so the system won't be able to change files at this specific sd card (WORM - write once, read many). I was researching online but there's ...
0
votes
0answers
8 views

Is `store` a restricted word in Android Gradle DSL?

Working on my product flavors, we're modifying the list to include a "store" productFlavor. Given that the list was: productFlavors { sales qa } I'd like the new list to be productFlavors { ...
0
votes
0answers
25 views

Observer in Fragment works but not in Activity

I created an Observer in a Fragment which works fine (it fires a toast when an Int increases), but when I tried to move this into the Activity, it calls through to my ViewModel, but does not update ...
-2
votes
0answers
39 views

My app is crashing when I am trying to debug [duplicate]

I tried to debug via Virtual Device and from my phone but nothing happen. I don't know where is my mistake but I can't open my app. Keeps stopping everytime that I am trying to opened It. If you need ...
0
votes
0answers
15 views

The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant)

i am new to Android and i might have a silly / dumb Question. I have got an Activity where i want to dynamically create Multiple Input Fields. The amount of Input Fields is defined by the User. ...
0
votes
0answers
13 views

Three.JS Rotate Camera around object by moving the device

I’ve asked in another forum but I thought I would like to be more clear on my problem. Whats my intention? Currently I am using three.js within WebView on my android device and created a scene which ...
-1
votes
0answers
15 views

How can I get the information of all the cameras on any device?

I need an app to show the resolution of the cameras on every device, I have tried this code, but it shows only 2 of the cameras, when I add mores camerasIds, it works on some devices but no on all of ...

返回首页
杏彩计划 杏彩官网 杏彩APP 杏彩走势图 杏彩下载 杏彩官方 杏彩网站 杏彩怎么玩 杏彩官方 杏彩靠谱吗 杏彩代理 杏彩骗局 杏彩投注 杏彩倍率 杏彩开奖 杏彩漏洞