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: https://android.stackexchange.com.

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

Android studio install runs into an error

I've downloaded android-studio-ide-183.5522156-linux.tar.gz. After successful extraction I encounter the following error when running sudo ./studio.sh ... Here is how it looks... Error in Android ...
0
votes
0answers
5 views

how to use location Manager correctly in android studio API level 28

hey so I'm trying to make an app that will show you how fast you are going but there is something that is preventing me from making it work correctly public class MainActivity extends ...
-1
votes
0answers
10 views

Can't retrieve id of last branch in firebase

I am trying to retrieve the id from the last branch of the table order in my firebase. Ass you can see in my screenshot, the results of my logd for orderId is key=(something) and the value is null. I ...
0
votes
0answers
7 views

session not working in webView in android

I'm new to android developing. I just create an android app for my website using android webview. when i open my website from mobile browser first time it ask login details and once i logged in and ...
0
votes
2answers
16 views

how to stop my counter variable from getting overridden from each row?

i have a stepper counter for each row in my recycler view, and as stepper gets touched i want my shopping cart at bottom badge to change, and i achieved this through interface callbacks, but the ...
0
votes
0answers
8 views

ionic 2 build crashes after updating the API level 28 google play policy

ionic info Cordova CLI: 7.1.0 Ionic CLI Version: 2.0.0 Ionic App Lib Version: 2.0.0 OS: Node Version: v6.11.0 plugin list : com.jcjee.plugins.emailcomposer 1.4.6 "Email Composer with Attachments" ...
0
votes
0answers
9 views

Automatic signing using Android Studio and the debug certificate: how to get it working again?

Until today, I was able to automatically (using a normal build, not the Generate Signed Bundle/APK menu item) generate debug and release APKs using Android Studio and its automatically created debug ...
0
votes
0answers
22 views

calling activity from another activity doesn't pause the caller

According to this post, when I call Activity B from Activity A, the caller i.e. Activity A is supposed to be paused. But I just used this code to verify this: ... ...//imports here public class ...
0
votes
1answer
13 views

Flutter build failed in ubuntu 19.10

I have a flutter apps which is building perfectly in another machine(ubuntu 18.04). Now I am using ubuntu 19.10 , when I tried to run this apps using flutter run command, its throws these errors: ...
-1
votes
0answers
14 views

Default FireabseApp is not initialized

I launched a new app recently and haven't had a problem until last night for one specific user who encountered the issue about 10 times yesterday and today. As I don't use Firebase in my application, ...
0
votes
0answers
7 views

How to sync files using iCloud AND dropbox?

I'm developing an application that works on both iOS and Android, and what I want is: User can use iCloud to sync data between Apple products User can use Dropbox to sync data between Android devices ...
0
votes
0answers
5 views

Can't upload files in android webview, Also drop down menu is just freeze not getting even click

This is the webview function that I am trying yo use, but there some issue, 1st one is it doesn't upload files and the second thing the drop down of responsive website is not working in it. on the ...
-3
votes
0answers
11 views

How to get data from recyclerview?

I have recyclerView for notes. Notes have Title and Subtitle. How can i read data from each item? I need to get the value from each element from recyclerView and stuff them into variables / List ...
-1
votes
0answers
9 views

List all symblinks Symbolic Links aka soft links in a directory recursively with full source path on an Android Terminal

This isnt a duplicate question. Its got an added tweak to it. Pl read on Trying to List all symblinks Symbolic Links aka soft links in a directory recursively with full source path on an Android ...
0
votes
1answer
14 views

MVVM architecture in android Using Volley

I'm studying the MVVM to see if it can help me for my upcoming projects. What I understand so far, is that I need to use a ViewModel for holding my UI datas. I also need to use a Repository class to ...
0
votes
0answers
10 views

problem searching sqlite db android, cursor returns , runs two times but no result in table layout

I am trying to do an app in android studio. The user can give his first and last name, age. Id is autoincerement. The data that the user is submitting are being inserted in the databse ! When the user ...
0
votes
0answers
8 views

How to cater for textCapWords and textCapSentences inputTypes in Android custom keyboard / IME?

I have created a working custom keyboard / IME which I would now like to modify so that it can correctly handle EditTexts that have their inputType set to textCapWords or textCapSentences. None of ...
0
votes
0answers
5 views

Trouble shooting Paho library inclusion: Android Studio

Instructions to include Paho in Android Studio: Returned errors (pastebin link): The blue-highlighted line is the cause of the error message. Remedy Attempt Per the stackoverflow suggestion to add ...
-1
votes
0answers
10 views

Duplicate Issue After Updating to AndroidX

Added firebase to app, and upgraded to AndroidX, and once i did that this appeared: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:...
0
votes
1answer
18 views

How to replace text in my custom Android ListView?

I have a custom ListView with 3 Columns for each item and I wan to replace the text of a specified item by clicking on a button. This is the code : CustomUsersAdapter.java import java.util....
-1
votes
0answers
13 views

why doesn't my banner appear in ConstrainLayout?

i am learning android screen design.I had a similar problem before.I was using LinearLayout.now i'm using ConstrainLayout.I actually have two problems.first, my banner does not appear.I couldn't find ...
-2
votes
0answers
36 views

How to tell users about new updates?

I have a React Native app with firebase for backend, And now I'm in the last part to release it, But I have a question, after releasing my app I will add some updates or something and I want to ...
0
votes
0answers
11 views

Android Emulator Error - Failed to open …/joshuaduong/…/qemu.conf, err: 2

When I executed the following command. emulator -avd Nexus_S_API_28_86 -wipe-data -no-boot-anim I got the following error message. Failed to open /usr/local/google/home/joshuaduong/emu/master/...
0
votes
0answers
8 views

Proguard issue with AndEngine GLES2 in Android-JNI DETECTED ERROR IN APPLICATION

I have developed an app that uses andEngine GLES2 and andEngine's extension Physics2DBox. The application has other functionality that doesn't just focus on the andEngine aspect. I have proguard ...
0
votes
1answer
32 views

Use Companion object in kotlin android is a good practice?

I have ever used Java to programming in android, but a few weeks ago I started to learn kotlin, when I use Java I tried to use object oriented approach and use the less possible static objects or ...
0
votes
0answers
9 views

WorkManager takes dramatically longer on Samsung device than Pixel

I'm using WorkManager version '2.2.0'. I'm using a pixel 3 with OS 10, and also a Samsung Tab S4 with Android OS 9. Both devices are in the same wifi, using the same app, performing the same task. ...
0
votes
0answers
13 views

Zeroconf get txt record

i'm using this nuget package to discover a service on a network. I would like to know if is it possible to access the txt record from: IReadOnlyList<IZeroconfHost> hosts = await ...
0
votes
1answer
14 views

Launching a splash screen activity with deep links

I would like my app to launch a splash screen activity on startup so that I can populate a cache singleton. On normal runs of the application this is trivial as I can set the splash activity as the ...
2
votes
1answer
21 views

Group items in a List and sum all other fields Android, Show the result in recyclerview

I have a Firebase database which has this structure { "foo" : { "data" : { "2019-12-01" : [ { "item1" : 8, "item2" : 16, "name" : "user1" }, { "item1"...
0
votes
0answers
7 views

Some problems in daimajia AndroidImageSlider

I am using daimajia AndroidImageSlider in my android app to show some images according to following codes : Activity_main.xml : <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:...
0
votes
0answers
8 views

How to resume download file using PRDownloader in android?

i have a recycler view and i want to control of downloading using buttons in my card view. i use PRDownloader library but i have issue i can't resume download after finish the app and open it again it ...
-2
votes
0answers
19 views

Issue On GooglePlay [closed]

Does Google Play reject apps that include images from public domains like IMDB like this , oog
0
votes
0answers
22 views

Kotlin Coroutine not executing second suspend function when deleting and inserting into a Room database (Android/Kotlin/Room/Retrofit)

I have a Room table where I store "User" objects. In my UserRepository, I have a suspend function that calls a Retrofit call to get a User object back. I then check if the response is successful and ...
-1
votes
0answers
16 views

Call again after KEYCODE_BACK, onActivityResult no called again

I have read a lot,But nothing worked at recyclerView adapter,I want to startActivity ,and i want onActivityResult at new Activity When I first started , my new Activity can called onActivityResult, ...
0
votes
0answers
6 views

How to override library's png drawable by app's vector drawable (xml)?

I am using a Library in my Android Project. The Library has ic_sample.png in drawable/ (hdpi,xhdpi,xxhdpi,xxhdpi) directories. I want to replace that icon with my own icon. Option 1 (using Multiple ...
0
votes
1answer
12 views

Why is there an error loading a PDF using Intent on Android 7

I have a TextView with an onClick event handler to download an open a PDF file I have the following code in the response handler. startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(pdfUrl))) I can ...
0
votes
0answers
10 views

Live Memory forensics android phone

I was thinking, by default when you get a notification on your android phone you can see it on the notification view (top bar) the app and short content of the notification. When it's a message from ...
0
votes
0answers
12 views

How to intercept all onClick events in Android?

I am using Frida to intercept my Android application events. Let's say I have an Activity called MainActivity and in there I have a function called sendMessage: public void sendMessage(View view) { ...
0
votes
0answers
4 views

Why am I getting a Droid build error with Visual Studio for Mac?

I recently updated to Visual Studio For Mac Professional 8.3.11 (build 1) and XCode 11.3. After that, I couldn't build for Android without an error. I tried the suggestions in this post: Don't ...
0
votes
1answer
12 views

How to Run a Kotlin Task from Android Project's build.gradle?

My project's build.gradle is in Groovy but I'd like to run as a gradle task the main function of a Kotlin class in a root directory kt file. I don't know where to begin in terms of syntax. something ...
0
votes
0answers
4 views

Unable to play some stream urls in exoplayer

I'm trying to create a app that has some live m3u8 urls in it to be played, I thought it was better to use exoplayer for the app i did add exoplayer to my app, it is working fine but with some of the ...
0
votes
1answer
10 views

How to test if a web page was successfully opened via intent (Robolectric)

I wrote the following bit of code to open a url on the phone's browser on a button click val intent = Intent(Intent.ACTION_VIEW, Uri.parse(uriString)) startActivity(intent) I am trying to write a ...
0
votes
1answer
13 views

Fragment Interface Null Pointer Exception in Kotlin with Parent and Child Fragments

Having issues working with a few fragments. Writing all this kotlin. I have a MainActivity (Single Activity App). I'm trying to get the parent fragment to communicate a string to the child ...
0
votes
1answer
19 views

Unable To click Button after switch activity in AndroidStudio

Hi i am switching activity from SurfaceView (inside game Activity) to MenuActivity. After i switched my listeners not working on my button. My menu activity public class MenuActivity extends ...
-1
votes
0answers
8 views

How to take data from internal service to android tablet connected via cat6? [closed]

Hello guys, I want to take data from internal server to android tablets. Actually im not able to that i think but i want to learn process and then i can start to try. Thanks!
0
votes
1answer
15 views

android studio data fragments

hello my public void onViewCreated function gives me error cant findviewbyid its red also the getsystemservice and the sensor_service is not recognized im sure i've done something wrong when adding ...
0
votes
0answers
9 views

Sdkmanager not installed

I want to compile .py to .apk on Windows 10. I installed ubuntu and buildozer and this error appers when I want to compile file. sdkmanager path "/home/lukasmatrix/.buildozer/android/platform/android-...
0
votes
0answers
21 views

Android App do not receive push notification trough Firebase FCM

I'm trying to implement a push notification service for my app trough the Firebase FCM service, but unfortunately, it doesn't work. What happens, well nothing in the app, it doesn't crash but also it ...
0
votes
0answers
7 views

Adding and debugging external project

I am developing an android app. I have added a new project to my gradle build as follows.... In the build.gradle I have added... android { dependencies { implementation project(':code-...
0
votes
1answer
17 views

Using room for only one user object?

I'm writing an Android app that allows user to login and logout. When logged in the User object should be stored in Room database. And when logged out the User object should be deleted from the db. ...