id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
60,088,910
UncaughtException in Thread.IUncaughtExceptionHandler - Not Triggering
<p>I have a very simple <code>Thread.IUncaughtExceptionHandler</code> as following </p> <pre><code>public class AirExceptionHandler : Java.Lang.Object, Thread.IUncaughtExceptionHandler { public static readonly string TAG = "AirExHandler"; private MainActivity activity; private Thread.IUnca...
I have a very simple Thread.IUncaughtExceptionHandler as following [CODE] In my Mainactivity , I am doing the following to initialise it in OnCreate [CODE] I can see Log.Info(TAG, "Initialised"); triggered but when I force close my app, the UncaughtException does not get trigger What am I doing wrong?
android|xamarin.android
1
2020-02-06T06:27:58.613Z
2,020
2
6
3
108
0
302
70
2
2
true
true
false
false
false
false
low
60,088,940
How to get focus at 0th position always in HorizontalGridView?
<p>I am creating android tv application and requirement is inside horizontal grid view i have many card views. I want that all my cards get focused at 0 position of horizontal gridview. That is when I click right button on remote cards should get shift to left so that my card shows the focused position at 0 always. </p...
I am creating android tv application and requirement is inside horizontal grid view i have many card views. I want that all my cards get focused at 0 position of horizontal gridview. That is when I click right button on remote cards should get shift to left so that my card shows the focused position at 0 always.
android|android-recyclerview|android-tv|leanback
0
2020-02-06T06:29:54.747Z
2,020
2
6
3
338
1
313
62
4
0
false
false
false
false
false
false
zero
60,088,946
Tagging certain views to behave alike
<p><strong>Scenario</strong> I am integrating in-app payments in my Android app for some of the features that will be unlocked once a user pays and becomes a Pro user. The idea is to show the views leading to Pro functionality throughout the app to both free and paid users. But,</p> <ul> <li>for free users, the app sh...
Scenario I am integrating in-app payments in my Android app for some of the features that will be unlocked once a user pays and becomes a Pro user. The idea is to show the views leading to Pro functionality throughout the app to both free and paid users. But, for free users, the app shows a Pro badge with these views. ...
android|view|onclicklistener|android-view
0
2020-02-06T06:30:08.113Z
2,020
2
6
3
25
1
1,236
37
4
0
false
false
false
false
false
false
zero
60,089,077
Stop adjusting size of ListView when keyboard is Active.[with images]. Android studio
<p><a href="https://i.stack.imgur.com/dx7BA.jpg" rel="nofollow noreferrer">View without keyboard</a></p> <p><a href="https://i.stack.imgur.com/xfZaE.jpg" rel="nofollow noreferrer">View with keyboard. The keyboard is on the background of the search view. It irritates user.</a></p> <p>I don't want to come up listview e...
View without keyboard View with keyboard. The keyboard is on the background of the search view. It irritates user. I don't want to come up listview every time I open the keyboard. As you see from the second image, listview under search view is annoying for the user. When keyboard is not active, all is ok. I tried andro...
java|android-studio|android-layout|android-listview|android-softkeyboard
0
2020-02-06T06:40:25.060Z
2,020
2
6
3
41
1
443
85
5
0
false
false
false
false
false
false
zero
60,089,107
Textview background color is not changing in android adapter
<p>Hi in the below getting the response from server win_probs getting value 30%,50%,80%.Based on the text percentage changing the background color.</p> <p>but it is not working with my below code</p> <p>can any one help me</p> <p>layout:</p> <pre><code>&lt;TextView android:id="@+id/win_prob" android:layout_...
Hi in the below getting the response from server win_probs getting value 30%,50%,80%.Based on the text percentage changing the background color. but it is not working with my below code can any one help me layout: [CODE] Code: [CODE]
android
0
2020-02-06T06:42:49.287Z
2,020
2
6
3
322
4
233
60
1
2
true
false
false
false
false
false
zero
60,089,111
Error while reading json from pdf file using iText
<p>I have been trying to read JSON from pdf file. I am able to write the JSON string into pdf but when I read the pdf I am getting the error as below.</p> <blockquote> <p>Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 60 column 3 path $.All_Routes[0].route_data</p> </blockquo...
I have been trying to read JSON from pdf file. I am able to write the JSON string into pdf but when I read the pdf I am getting the error as below. Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 60 column 3 path $.All_Routes[0].route_data I printed the JSON before writing into a f...
android|json|itext|gson
1
2020-02-06T06:43:00.097Z
2,020
2
6
3
647
1
696
50
4
2
true
false
false
false
false
false
low
60,089,170
Ionic 3 camera plugin not working in Asus and some samsung mobile in android
<p>I am facing an issue of <code>Ionic 3</code> camera plugin , which is not working in Some <code>ASUS</code> and <code>SAMSUNG</code> Android mobile. I am using this ionic plugin: -</p> <pre><code>import { Camera, CameraOptions } from '@ionic-native/camera'; const options: CameraOptions = { quality: 50, ...
I am facing an issue of Ionic 3 camera plugin , which is not working in Some ASUS and SAMSUNG Android mobile. I am using this ionic plugin: - [CODE] please guide me if any solution for these problem.
android|ionic-framework|ionic3|asus
1
2020-02-06T06:48:01.140Z
2,020
2
6
3
70
0
199
76
4
1
true
true
false
false
false
false
low
60,089,245
Can someone help me with this message? I tried to make a list view but this errors pop out when I run the code
<p>Can anyone solve this error? I have tried to make a list view but this errors come out when I run the code.</p> <p>Error message:</p> <blockquote> <p>2020-02-06 13:40:23.483 16037-16037/com.example.submissionexpert1 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.submissionexpert1, PID: 16037 ...
Can anyone solve this error? I have tried to make a list view but this errors come out when I run the code. Error message: 2020-02-06 13:40:23.483 16037-16037/com.example.submissionexpert1 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.submissionexpert1, PID: 16037 java.lang.NullPointerException: Attempt ...
java|android|listview|adapter
0
2020-02-06T06:53:38.230Z
2,020
2
6
3
36
1
606
110
4
1
true
false
false
false
false
false
zero
60,089,293
Web2App problem using Chrome browser on Android
<p>In our project I needed a deeplink URL for web to mobile redirection. My aim is to redirect someone on the website to a specific mobile application. Unfortunately I can not make an automatic redirection to mobile app using Chrome on Android phones. iOS works just fine. If I click on a hyperlink to redirect to mobile...
In our project I needed a deeplink URL for web to mobile redirection. My aim is to redirect someone on the website to a specific mobile application. Unfortunately I can not make an automatic redirection to mobile app using Chrome on Android phones. iOS works just fine. If I click on a hyperlink to redirect to mobile ap...
javascript|android|jquery|mobile|deep-linking
1
2020-02-06T06:57:17.677Z
2,020
2
6
3
144
0
706
47
5
1
true
true
false
false
false
false
low
60,089,530
How can I grantPermission on iroha with android?
<p>I got some code for grantPermission from iOS in iroha as below:</p> <pre><code>func getGrantPermission(publicKey :String,priKey:String, transaction: IRTransaction, reducedRecoveryHash: Data, reducedAdminGrantHash: Data) throws -&gt; IRTransaction { let publicKeyData = NSData(hexString: publicKey)!...
I got some code for grantPermission from iOS in iroha as below: [CODE] How can I write this function in android. I am very struggle with this case.
android|hyperledger
0
2020-02-06T07:15:02.240Z
2,020
2
7
3
39
0
147
48
2
1
true
true
false
false
false
false
zero
60,089,551
Custom Notification RemoteView dismiss on swipe Left or Right
<p>I used custom audio player notification with custom layout like.</p> <pre><code>simpleContentView = new RemoteViews(getApplicationContext().getPackageName(), R.layout.custom_notification); expandedView = new RemoteViews(getApplicationContext().getPackageName(), R.layout.big_notification); </code></pre> <p>and crea...
I used custom audio player notification with custom layout like. [CODE] and create notification [CODE] and add listener of custom view [CODE] Now how can i remove or dismiss this notification swipe left or right when player id pause not on when player in on play mode? i used setDeleteIntent() but did't work like. [CODE...
android|notifications|dismiss
0
2020-02-06T07:16:27.070Z
2,020
2
7
3
376
2
321
61
3
4
true
false
false
false
false
false
zero
60,089,596
SMS retriever api android not working in vivo v15 pro, redmi note 4
<p>I have successfully implemented SMS retriever in my application using the guideline <a href="https://developers.google.com/identity/sms-retriever/request" rel="noreferrer">here</a> . My Code is working fine and otp is auto populated in many devices but some of the devices like vivo v15 pro, redmi note 4 it is not wo...
I have successfully implemented SMS retriever in my application using the guideline here . My Code is working fine and otp is auto populated in many devices but some of the devices like vivo v15 pro, redmi note 4 it is not working (BroadcastReceiver's onReceive() not get triggered) . i have attached my code here. check...
android|kotlin|sms-retriever-api
23
2020-02-06T07:20:34.770Z
2,020
2
7
3
1,253
2
461
67
3
3
true
false
false
false
true
false
high
60,089,599
Unsupported attachment
<pre><code> private void sendPdf(String file) { // Uri uri = Uri.fromFile(new File(file)); Uri uri = FileProvider.getUriForFile(getContext(), BuildConfig.APPLICATION_ID + ".fileprovider", new File(String.valueOf(file))); intent = new Intent(Intent.ACTION_SEND); // intent.setFlags(Intent.FL...
[CODE] I trying to share pdf using WhatsApp/Telegram but when I try to share the file, but it say unsupported attachment(Telegram). Can anyone help me? EDIT: I got this issue only for Android 10. Anyone facing same problem?
android|android-intent
1
2020-02-06T07:20:59.973Z
2,020
2
7
3
1,569
3
223
22
2
1
true
false
false
false
false
false
low
60,089,710
Android Emulator always crashes
<p>I'm a newbie trying to learn React Native. My Android Studio emulator crashes every now and then, and I need to restart my PC to use it again (to kill the qemu-system-x86_64.exe doesn't work) </p> <p>I expanded the memory 16gb internal storage (now I try to 32gb and 8gb) but nothing really improved.</p> <p>Does a...
I'm a newbie trying to learn React Native. My Android Studio emulator crashes every now and then, and I need to restart my PC to use it again (to kill the qemu-system-x86_64.exe doesn't work) I expanded the memory 16gb internal storage (now I try to 32gb and 8gb) but nothing really improved. Does anybody have a solutio...
android-emulator
0
2020-02-06T07:28:59.700Z
2,020
2
7
3
62
0
330
31
1
0
false
true
false
false
false
false
zero
60,089,735
After Watching Rewarded Video, how to stop showing all ads in the android app for 1 day?
<p>I am trying to implement stop showing all ads in my android app for 1 day when a user watches rewarded video. Is it possible and how? Should I use a counter with stored variables locally or something is possible through subscriptions on play console?</p>
I am trying to implement stop showing all ads in my android app for 1 day when a user watches rewarded video. Is it possible and how? Should I use a counter with stored variables locally or something is possible through subscriptions on play console?
java|android|admob|admob-rewardedvideoad
0
2020-02-06T07:30:31.680Z
2,020
2
7
3
936
1
250
88
4
0
false
false
false
false
false
false
zero
60,089,747
How to use Liferay Mobile SDK 6.2.18 to generate jar libraries now that http is deprecated by both Gradle and Maven?
<p>In my current project we're working on mantaining/developing mobile (android/iOS) apps that use the services of the client's website (liferay 6.2). Whenever the guys in Backend generate new services (or just update an existing service to a new version with new features) we need to use the Liferay Mobile SDK 6.2.18,...
In my current project we're working on mantaining/developing mobile (android/iOS) apps that use the services of the client's website (liferay 6.2). Whenever the guys in Backend generate new services (or just update an existing service to a new version with new features) we need to use the Liferay Mobile SDK 6.2.18, whi...
android|ios|mobile|liferay-6|liferay-6.2
4
2020-02-06T07:31:08.163Z
2,020
2
7
3
140
0
1,007
116
5
0
false
true
false
false
false
false
low
60,089,819
Android 10 (api 29) how to enable HDR and Nigh Mode
<p>I'm building a camera up designed to work exclusively on Pixel 3 XL. I'm using camera2 API and would like to take a picture using front facing camera with HDR and/or Night Mode enabled. This is a code snipped where I setup my capture request:</p> <pre><code> final CaptureRequest.Builder captureBuilder = mCameraDevi...
I'm building a camera up designed to work exclusively on Pixel 3 XL. I'm using camera2 API and would like to take a picture using front facing camera with HDR and/or Night Mode enabled. This is a code snipped where I setup my capture request: [CODE] I was hoping to get something close to what Android's native camera ap...
android|android-camera
2
2020-02-06T07:35:55.763Z
2,020
2
7
3
2,288
2
487
51
2
1
true
false
false
false
false
false
low
60,089,857
Updating OneSignal dependency getting Dependency failing error
<p>I am getting this Error while updating one signal Dependency. how can I rectify this??</p> <pre><code> Dependency failing: com.onesignal:OneSignal:3.12.6 -&gt; com.google.android.gms:play-services-base@[10.2.1, 16.1.99], but play-services-base version was 17.1.0. </code></pre>
I am getting this Error while updating one signal Dependency. how can I rectify this?? [CODE]
android|onesignal
0
2020-02-06T07:38:27.180Z
2,020
2
7
3
149
2
93
62
2
1
true
false
false
false
false
false
zero
60,089,859
Gson failed to parse date
<p>In some of the users in my application throws Fatal Exception: com.google.gson.JsonSyntaxException. I use gson to write and read data to disk LRU cache. How I understand this exception happens when I read data from cache.</p> <p>This is how I created json instance:</p> <pre><code>Gson gson = new Gson(); </code></p...
In some of the users in my application throws Fatal Exception: com.google.gson.JsonSyntaxException. I use gson to write and read data to disk LRU cache. How I understand this exception happens when I read data from cache. This is how I created json instance: [CODE] This exception happens in Android 5,6,7,8. This is sta...
android|gson
8
2020-02-06T07:38:31.057Z
2,020
2
7
3
4,606
2
400
25
2
2
true
false
true
false
false
false
medium
60,089,864
Is there an API to programmatically configure or start focus mode on Android
<p>Android 10 introduced Focus Mode that can be used to temporarily block certain apps. I was wondering if there is an official android API to configure and/or turn on Focus Mode. I searched the forums and also checked the Android developers website but I could not find anything for this.</p>
Android 10 introduced Focus Mode that can be used to temporarily block certain apps. I was wondering if there is an official android API to configure and/or turn on Focus Mode. I searched the forums and also checked the Android developers website but I could not find anything for this.
android
8
2020-02-06T07:38:45.920Z
2,020
2
7
3
415
1
286
76
1
0
false
false
false
false
false
false
medium
60,090,055
How are files overwritten in Android?
<p>I have an app that works with big lists of keymap values. Those lists change dynamically as new values are added and old values could be deleted, changed or just remain unchanged. To preserve the changes, I need to save the lists in files. If for example, I change only 1 value, what will Android do with the file to ...
I have an app that works with big lists of keymap values. Those lists change dynamically as new values are added and old values could be deleted, changed or just remain unchanged. To preserve the changes, I need to save the lists in files. If for example, I change only 1 value, what will Android do with the file to be ...
android|file|keymaps
0
2020-02-06T07:52:35.653Z
2,020
2
7
3
111
0
934
37
3
0
false
true
false
false
false
false
zero
60,090,154
why the notification doesn't show if I send using data message through firebase cloud function?
<p>I send FCM using cloud function like this </p> <pre><code>const payload = { data: { imagePath: imagePath, priority: priority, title: title, body: body } } await admin.messaging().sendToDevice(token,payload) </code></pre> <p>here is the code on my Android app, in <...
I send FCM using cloud function like this [CODE] here is the code on my Android app, in onMessageReceived , this onMessageReceived code below is actually getting called, but I don't know why the notification doesn't show in my device [CODE] and to show notification to device [CODE] but if I add notification message (no...
android|firebase|google-cloud-functions|firebase-cloud-messaging
0
2020-02-06T08:00:02.960Z
2,020
2
8
3
116
2
417
95
4
4
true
false
false
false
false
false
zero
60,090,255
android - Dagger 2 injecting multiple interface and the implementation class
<p>So i want to build multi modular android project and have a problem with injecting the interface and the implementation.</p> <p>I have two interface for navigation between fragment</p> <p>first interface</p> <pre><code>interface Fragment1Navigation { fun navigateToFragment1() fun navigateToFragment2() }...
So i want to build multi modular android project and have a problem with injecting the interface and the implementation. I have two interface for navigation between fragment first interface [CODE] second interface [CODE] then i have the class that implement those two interfaces [CODE] i want to inject this Navigator cl...
android|kotlin|module|interface|dagger-2
5
2020-02-06T08:06:43.157Z
2,020
2
8
3
1,772
1
760
76
5
4
true
false
false
false
false
false
low
60,090,304
Android create folder in internal root directory
<p>I need to create a folder in internal memory root directory and create a file inside it, but cannot find the below code working. </p> <pre><code> String path = Environment.getRootDirectory().toString(); File mFolder = new File(path,"Folder"); if (!mFolder.exists()) { boolean res ...
I need to create a folder in internal memory root directory and create a file inside it, but cannot find the below code working. [CODE] And mkdir always return false. I already found getDataDirectory() and getFilesDir() but that I doesn't required. I need to create a directory where the internal memory root location(lo...
java|android
0
2020-02-06T08:10:36.040Z
2,020
2
8
3
5,003
4
516
48
2
1
true
false
true
false
false
false
zero
60,090,305
RecyclerView onitemClickListener in Kotlin
<p>I am new on kotlin .Getting error on click listner on line <code>holder.initilise(chapterlist.get(position),clickListener)</code> Error shows on word clickListener . Kindly help me to resolve my issue. i want to click on one view and transfer on another recyclerView. These list shows chapters i want to go on topics ...
I am new on kotlin .Getting error on click listner on line holder.initilise(chapterlist.get(position),clickListener) Error shows on word clickListener . Kindly help me to resolve my issue. i want to click on one view and transfer on another recyclerView. These list shows chapters i want to go on topics list and every c...
android|kotlin|android-recyclerview
-1
2020-02-06T08:10:37.970Z
2,020
2
8
3
2,078
2
498
42
3
1
true
false
false
false
false
true
negative
60,090,359
android overriding onCreate method
<p>When creating an <code>Activity</code> to android we must override the <code>onCreate</code> method and the new method MUST call the <code>super.onCreate</code></p> <p>My question is does it need to be the <strong>first</strong> statement of the new onCreate?</p> <p>I've a small framework that inject some code in ...
When creating an Activity to android we must override the onCreate method and the new method MUST call the super.onCreate My question is does it need to be the first statement of the new onCreate? I've a small framework that inject some code in my activities... it was working fine without major problems then i made som...
android|oncreate
0
2020-02-06T08:14:12.320Z
2,020
2
8
3
376
4
600
34
2
1
true
false
false
false
false
false
zero
60,090,399
How to setup animation with device to device with the help of firebase database or other?
<p>I built a chat android app using firebase database. Now i want to update with some animation feature. The concept is , animation will animate whenever user click on animation button in current user device and receiver device.</p> <p>for this current user set the values in firebase</p> <pre><code>"isAnimate":true ...
I built a chat android app using firebase database. Now i want to update with some animation feature. The concept is , animation will animate whenever user click on animation button in current user device and receiver device. for this current user set the values in firebase [CODE] otherwise it already set [CODE] Now re...
android|firebase|firebase-realtime-database|android-animation
0
2020-02-06T08:16:42.960Z
2,020
2
8
3
34
0
961
89
4
2
true
true
false
false
false
false
zero
60,090,417
Cleartext HTTP traffic to my localhost is not permitted
<p>I'm using Volley for a GET request to an address on my localhost, but it fails with the error:</p> <pre><code>Cleartext HTTP traffic to 192.168.1.45 not permitted </code></pre> <p>I followed the guide here: <a href="https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted">Androi...
I'm using Volley for a GET request to an address on my localhost, but it fails with the error: [CODE] I followed the guide here: Android 8: Cleartext HTTP traffic not permitted And did the following: Created the network security xml file: [CODE] Added it in my manifest and also allowed cleartext traffic: [CODE] I'm sti...
android|http|android-volley
1
2020-02-06T08:18:10.223Z
2,020
2
8
3
2,768
3
455
55
3
5
true
false
true
false
false
false
low
60,090,421
wso2 Error 'within' is neither a function extension nor an aggregated attribute extension Android
<p>I am doing an android app and embedding with Wso2 (Siddhi). I have imported the geo-gpl-extension as a jar file but when I run the app the following error occur:</p> <pre><code>2020-02-05 13:38:45.141 26382-26382/uca.es.geofencingsiddhi E/AndroidRuntime: FATAL EXCEPTION: main Process: uca.es.geofencingsiddhi, PID: ...
I am doing an android app and embedding with Wso2 (Siddhi). I have imported the geo-gpl-extension as a jar file but when I run the app the following error occur: [CODE] It seems that it doesn't read or detect the jar file but if I do for example in MainActivity.java "import ort.wso2.siddhi.gpl.distanceFunction" it dete...
java|android|wso2|siddhi
1
2020-02-06T08:18:23.523Z
2,020
2
8
3
129
1
494
97
4
3
true
false
false
false
false
false
low
60,090,627
Ionic - how to add certificate into Network security config?
<p>after my latest Ionic app publish, the Android version cannot connect to my API, which is on https (but iOS version of the app is fine). I tried to change API calls to http, but store refused it as unsecured user data transfer. Changing targetSdk to 27 helped, but again, after uploding on store it was refused right...
after my latest Ionic app publish, the Android version cannot connect to my API, which is on https (but iOS version of the app is fine). I tried to change API calls to http, but store refused it as unsecured user data transfer. Changing targetSdk to 27 helped, but again, after uploding on store it was refused right awa...
android|ionic-framework
1
2020-02-06T08:31:13.290Z
2,020
2
8
3
2,073
2
2,574
60
2
1
true
false
false
false
false
false
low
60,090,787
Uninstall tracking iOS and Android apps with inactive device token and silent push
<p>There are several posts and discussions about uninstall tracking of iOS and Android apps. We would like to achieve this as well and tried the suggested solutions, but we found out, that this does not work as expected.</p> <p>The way this should be done is to send a silent push to the device token and then checking ...
There are several posts and discussions about uninstall tracking of iOS and Android apps. We would like to achieve this as well and tried the suggested solutions, but we found out, that this does not work as expected. The way this should be done is to send a silent push to the device token and then checking the respons...
android|ios|push-notification|apple-push-notifications|android-push-notification
2
2020-02-06T08:41:21.793Z
2,020
2
8
3
463
0
1,612
82
5
2
true
true
false
false
false
false
low
60,090,813
How to find user coordinates in Yandex Map kit?
<p>How to find user coordinates in YandexMapkit?</p> <p>I use the Location class and prescribe </p> <pre><code>private Location location; location.getPosition(); </code></pre> <p>but it is empty.</p>
How to find user coordinates in YandexMapkit? I use the Location class and prescribe [CODE] but it is empty.
android|yandex|yandex-mapkit
0
2020-02-06T08:43:01.997Z
2,020
2
8
3
1,017
1
108
47
3
1
true
false
false
false
false
false
zero
60,090,819
replace fragment happens just after program finish
<p>I have main activity with list fragment on click item it replaces to a 'A fragment'. In 'A fragment' there is start button, on click it, it has to be replaced with 'B fragment' and then exec functions but it doesn't happen and on click start button, 'A fragment' got stuck till all the function of 'B fragment' is exe...
I have main activity with list fragment on click item it replaces to a 'A fragment'. In 'A fragment' there is start button, on click it, it has to be replaced with 'B fragment' and then exec functions but it doesn't happen and on click start button, 'A fragment' got stuck till all the function of 'B fragment' is execut...
android|android-fragments
1
2020-02-06T08:43:43.273Z
2,020
2
8
3
37
1
431
50
2
1
true
false
false
false
false
false
low
60,090,854
Android Canvas - restrict draw area
<p>So on my canvas I have few rectangular areas where I draw different bitmaps. Sometimes bitmaps get outside of their respective areas. I want these bitmaps to be cut off, so only the portion of bitmap inside of it's area is drawn.</p> <p>I sure can calculate it manually (srcRect and dstRect)... But isn't there a sim...
So on my canvas I have few rectangular areas where I draw different bitmaps. Sometimes bitmaps get outside of their respective areas. I want these bitmaps to be cut off, so only the portion of bitmap inside of it's area is drawn. I sure can calculate it manually (srcRect and dstRect)... But isn't there a simpler soluti...
android|canvas
1
2020-02-06T08:45:47.343Z
2,020
2
8
3
410
1
400
35
2
0
false
false
false
false
false
false
low
60,090,855
how to keep button disable any editText Empty?
<p>how to keep button disable any editText Empty ?</p> <p>i've try with <code>implementation 'androidx.core:core-ktx:1.1.0'</code>:</p> <pre><code>txtEmailOrNoPhone.doOnTextChanged { text, start, count, after -&gt; if (text.toString().isEmpty()) { buttonLogin.isEnabled = false ...
how to keep button disable any editText Empty ? i've try with implementation 'androidx.core:core-ktx:1.1.0' : [CODE] but, not work. because, if i run app (button enable). if i type and delete all (button disable). so, i must type first and delete to (button disable) i want : if start app
android|kotlin|android-edittext|android-textinputedittext|android-textwatcher
1
2020-02-06T08:45:48.637Z
2,020
2
8
3
88
1
288
46
5
1
true
false
false
false
false
false
low
60,090,968
Retrieve Location Information only from GPS Sensor in Xamarin Android
<p>Is there anyway I can configure my android app to take the location information only from GPS sensor. I am using <strong>Xamarin.Essentials</strong> package for getting the location information. And in my manifest I have added the following permissions based on the documentation.</p> <pre><code>&lt;uses-permission ...
Is there anyway I can configure my android app to take the location information only from GPS sensor. I am using Xamarin.Essentials package for getting the location information. And in my manifest I have added the following permissions based on the documentation. [CODE] Can anyone please let me know which all permissio...
android|xamarin.android|android-manifest|android-gps|xamarin.essentials
1
2020-02-06T08:52:21.110Z
2,020
2
8
3
522
1
463
69
5
1
true
false
false
false
false
false
low
60,091,008
android:background with Drawable in AndroidX
<p>I have searched SO for an answer for my question and didn't found, please let me know if it has been answered elsewhere.</p> <p>I had some buttons in my app:</p> <pre><code>&lt;Button android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/scaninbutton" android:lay...
I have searched SO for an answer for my question and didn't found, please let me know if it has been answered elsewhere. I had some buttons in my app: [CODE] Beeing buttonshape2 as follows: [CODE] It was working fine, but since I migrated my app to Androidx it is not working anymore. How can I set my drawable as a back...
android|androidx|classcastexception
1
2020-02-06T08:54:37.607Z
2,020
2
8
3
169
0
671
44
3
5
true
true
false
false
false
false
low
60,091,085
Is it possible to connect xamarin form to online database?
<p>i have xamarin form and i want to connect it to the online database(postgresql)(digitalocean)</p> <pre><code>string ConnectionString = "Server=******; Port=5432;User Id=postgres; Password=******; Database=Accounting"; </code></pre> <p>Do you have a documentation (step by step) for deployment? (xamarin.form(IOS and...
i have xamarin form and i want to connect it to the online database(postgresql)(digitalocean) [CODE] Do you have a documentation (step by step) for deployment? (xamarin.form(IOS and android)) database is postgresql
xamarin|xamarin.forms|xamarin.android
0
2020-02-06T08:59:03.067Z
2,020
2
8
3
783
1
214
58
3
1
true
false
false
false
false
false
zero
60,091,090
Is it advisable to run Lint on "file bases" when speeding up the build time is the main goal?
<p>We're trying to speed up our build time on the CI so we're considering only run static analytical tools on those files that actually contain changes. We know that there is a Lint CLI that allows passing single files as input, but we don't know if there are side effects on doing this. For example, it seems that it wi...
We're trying to speed up our build time on the CI so we're considering only run static analytical tools on those files that actually contain changes. We know that there is a Lint CLI that allows passing single files as input, but we don't know if there are side effects on doing this. For example, it seems that it will ...
android|android-lint
2
2020-02-06T08:59:15.650Z
2,020
2
8
3
27
0
665
93
2
0
false
true
false
false
false
false
low
60,091,135
cameraX TextureView preview height is stretched in real device
<p>I'm trying to unstrech the height of the preview that cameraX TextureView is showing.</p> <pre><code>PreviewConfig previewConfig = new PreviewConfig.Builder() .setTargetRotation(getWindowManager().getDefaultDisplay().getRotation()) .setTargetResolution(new Size(1280, 720)) ...
I'm trying to unstrech the height of the preview that cameraX TextureView is showing. [CODE] [CODE] my configuration was very simple as given above. Whatever resolution i set it's not working at all in any way. Can anyone tell me how to fix this look at this image How bottle got shrink. But i'm getting the output was p...
android|android-camerax
4
2020-02-06T09:02:38.707Z
2,020
2
9
3
1,567
2
353
62
2
2
true
false
false
false
false
false
low
60,091,210
What is the default value in GetStringExtras of the Intent in ANDROID?
<pre><code>final int intent = getIntent().getIntExtra(&quot;string name&quot;,default_value); </code></pre> <p>While online search, says that this value should be 0, but let's say you are making a simple android game and tracking the score of the user using the Intent method. Then what should be the default value of th...
[CODE] While online search, says that this value should be 0, but let's say you are making a simple android game and tracking the score of the user using the Intent method. Then what should be the default value of the other activities?
java|android|android-intent
0
2020-02-06T09:06:51.070Z
2,020
2
9
3
1,161
1
235
70
3
1
true
false
false
false
false
false
zero
60,091,274
Google pay through stripe
<p>I have implemented Google pay with stripe. Set up all things mentioned in documentation provided by stripe.[<a href="https://stripe.com/docs/google-pay]" rel="nofollow noreferrer">https://stripe.com/docs/google-pay]</a> Google pay is success, after success in onActivityResult the intent is passed to PaymentMethod of...
I have implemented Google pay with stripe. Set up all things mentioned in documentation provided by stripe.[ https://stripe.com/docs/google-pay] Google pay is success, after success in onActivityResult the intent is passed to PaymentMethod of stripe and it is also successful. Currently this is as TEST MODE. I am doing ...
android|stripe-payments|google-pay
2
2020-02-06T09:10:58.310Z
2,020
2
9
3
953
0
821
25
3
0
false
true
false
false
false
false
low
60,091,288
App Action not running with App Actions Test Tool
<p>I'm trying to run the sample <a href="https://github.com/actions-on-google/appactions-fitness-kotlin" rel="nofollow noreferrer">App Actions Fitness project</a> but I can't get the AATT to execute any actions on my Samsung S8 device (or Emulator Pixel 3 with Android 10 &amp; Google Assistant). I've tried with AATT ve...
I'm trying to run the sample App Actions Fitness project but I can't get the AATT to execute any actions on my Samsung S8 device (or Emulator Pixel 3 with Android 10 & Google Assistant). I've tried with AATT versions (3.1.1 & 3.1.2). These are the steps i followed: Uploaded a signed draft application to my internal tes...
android|google-assistant-sdk|app-actions
2
2020-02-06T09:11:20.623Z
2,020
2
9
3
1,048
1
1,173
49
3
1
true
false
false
false
false
false
low
60,091,295
Prevent Video screen capture in VideoView Activity - Android
<p>I want to Prevent Video screen capture (screen graving) in my PlayerActivity, I use VideoView.</p> <p>I already tried this </p> <pre><code> getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE); </code></pre> <p>But it works only on some activity.</p>
I want to Prevent Video screen capture (screen graving) in my PlayerActivity, I use VideoView. I already tried this [CODE] But it works only on some activity.
android|screenshot|screen-grab
1
2020-02-06T09:11:41.303Z
2,020
2
9
3
210
1
158
60
3
1
true
false
false
false
false
false
low
60,091,309
How can I implement onActivityResult and onNewIntent on FlutterActivity
<p>I would like to implement onActivityResult and onNewIntent on my Android native side of flutter app.</p> <p>For example, I would like to be able to run "startActivityForResult", and open my app using a deep link.</p> <p>My main activity is flutter, but I have some work I need to do on the native part.</p> <p>Is t...
I would like to implement onActivityResult and onNewIntent on my Android native side of flutter app. For example, I would like to be able to run "startActivityForResult", and open my app using a deep link. My main activity is flutter, but I have some work I need to do on the native part. Is there a way to accomplish th...
android|flutter
8
2020-02-06T09:12:42.277Z
2,020
2
9
3
7,851
5
564
71
2
1
true
false
true
false
false
false
medium
60,091,346
Firebase Snapshot Listener: Glide Illegal Argument Exception on Activity Destroyed (Java)
<p>I'm using firebase snapshot listener on my adapter. And, whenever the value updates the adapter is updated. But the problem is it tries to update even when the activity is destroyed.<br> It is crashing at <code>Glide.with(holder.itemView.getContext())</code> and the error is <em>You cannot start a load for a destroy...
I'm using firebase snapshot listener on my adapter. And, whenever the value updates the adapter is updated. But the problem is it tries to update even when the activity is destroyed. It is crashing at Glide.with(holder.itemView.getContext()) and the error is You cannot start a load for a destroyed activity Yes, there a...
java|android|firebase|android-recyclerview|google-cloud-firestore
0
2020-02-06T09:14:34Z
-1
-1
-1
-1
137
2
633
89
5
2
true
false
false
false
false
false
zero
60,091,359
java.lang.SecurityException: Unsupported path path/path/JPEG_5e3bbe8ed6c75_24741_.jpg
<p>This is not working on Some Devices. In Samsung Device they not allow to download file using Download manager. I have already define permission in the manifest and also get RunTime Permission.</p> <pre><code>DownloadManager downloadManager = (DownloadManager) getActivity().getSystemService(Context.DOWNLOAD_SERVICE...
This is not working on Some Devices. In Samsung Device they not allow to download file using Download manager. I have already define permission in the manifest and also get RunTime Permission. [CODE]
android|download|android-download-manager
6
2020-02-06T09:15:41.667Z
2,020
2
9
3
5,182
2
199
85
3
1
true
false
true
false
false
false
medium
60,091,385
How to get child from Firebase?
<p>I want to get data from all the "id" from Posts -> Firebase, namely the line is just that, I got one to get. My code only gets the last date from the last id.</p> <p>The program works like this if the current date and date match from the one received from Firebase, it removes the id.</p> <pre><code>package com.aa...
I want to get data from all the "id" from Posts -> Firebase, namely the line is just that, I got one to get. My code only gets the last date from the last id. The program works like this if the current date and date match from the one received from Firebase, it removes the id. [CODE]
java|android|firebase|firebase-realtime-database
-1
2020-02-06T09:17:03.400Z
2,020
2
9
3
50
2
284
31
4
1
true
false
false
false
false
true
negative
60,091,437
IONIC 4 View Documents inside App, works on WEB but not on ANDROID and iOS
<p>I have an IONIC 4 APP that i need to load document files from storage using API. </p> <p>I have managed to open IMAGES, WORD Documents, PDFs on WEB, but I am Struggling on iOS and Android.</p> <p>On iOS files are opened but only the first page, can’t scroll on different pages, while on Android it shows blank page....
I have an IONIC 4 APP that i need to load document files from storage using API. I have managed to open IMAGES, WORD Documents, PDFs on WEB, but I am Struggling on iOS and Android. On iOS files are opened but only the first page, can’t scroll on different pages, while on Android it shows blank page. this goes with word...
android|ios|angular|ionic-framework|iframe
0
2020-02-06T09:20:11.907Z
2,020
2
9
3
233
0
887
74
5
2
true
true
false
false
false
false
zero
60,091,456
How to check if a Viewpoint exist in a particular Geometry/Envelope in ArcGIS Runtime Mobile SDK
<p>I have a ArcGIS runtime map setup in my mobile app for both android and ios. Now, I have some viewpoints listing which I want to check if exist on some particular map area i.e. some specific Map Extent/Envelope/Geometry.</p> <p>Is there any way we can implement this functionality?</p> <p>Please help me out!!!</p>
I have a ArcGIS runtime map setup in my mobile app for both android and ios. Now, I have some viewpoints listing which I want to check if exist on some particular map area i.e. some specific Map Extent/Envelope/Geometry. Is there any way we can implement this functionality? Please help me out!!!
android|ios|geometry|arcgis-runtime|viewpoint
0
2020-02-06T09:20:52.507Z
2,020
2
9
3
50
1
296
96
5
0
false
false
false
false
false
false
zero
60,091,669
Problems with contraint layout
<p>I'm having some issues trying to design a layout for a fragment in my Android app. I've placed my UI controls into the design view and added contstraints but when I run my application, each control sits at the bottom of the screen on top of each other.</p> <p>Please can someone take a look at my xml design code and...
I'm having some issues trying to design a layout for a fragment in my Android app. I've placed my UI controls into the design view and added contstraints but when I run my application, each control sits at the bottom of the screen on top of each other. Please can someone take a look at my xml design code and tell me wh...
android|android-layout|android-constraintlayout
0
2020-02-06T09:32:18.470Z
2,020
2
9
3
59
1
430
30
3
2
true
false
false
false
false
false
zero
60,091,700
Set saved network settings
<p>In my Android application, I used to do following steps: </p> <p>1) Turn on wifi, if it is turned off;<br> 2) Connect to specific wifi, if it is found;<br> 3) Do something in new wifi network;<br> 4) Return to network state that was before first step; </p> <p>How can I save network state and set it up again?</p>
In my Android application, I used to do following steps: 1) Turn on wifi, if it is turned off; 2) Connect to specific wifi, if it is found; 3) Do something in new wifi network; 4) Return to network state that was before first step; How can I save network state and set it up again?
java|android|networking
1
2020-02-06T09:34:00.870Z
2,020
2
9
3
125
1
281
26
3
0
false
false
false
false
false
false
low
60,091,746
How to set different cropped images in different imageviews
<p>When I add 1st image it gets cropped and get displayed into 1st Image View, but when I add 2nd image it override 1st image present in 1st Image View instead it should display in 2nd Image View. </p> <p><a href="https://filebin.net/ev0c8tih9drjt9vz/WhatsApp_Video_2020-02-06_at_2.59.11_PM.mp4?t=moyg7bjk" rel="nofo...
When I add 1st image it gets cropped and get displayed into 1st Image View, but when I add 2nd image it override 1st image present in 1st Image View instead it should display in 2nd Image View. Problem is shown here [CODE] [CODE]
java|android|android-studio
0
2020-02-06T09:36:29.640Z
2,020
2
9
3
26
1
229
59
3
2
true
false
false
false
false
false
zero
60,091,833
How to remove the rotation of Ar object in Sceneform Arcore
<p>I am working on augmented reality application where I have place an 3d object,but I have a requirement that it should not be rotated but should be scalable . How to disable roation of object?</p>
I am working on augmented reality application where I have place an 3d object,but I have a requirement that it should not be rotated but should be scalable . How to disable roation of object?
android|arcore|sceneform
-1
2020-02-06T09:40:50.853Z
2,020
2
9
3
141
1
191
59
3
0
false
false
false
false
false
true
negative
60,091,869
Are regex treated differently between regular java app and android app?
<p>I just tried using picocli in one of my android projects (android 9). See <a href="https://picocli.info/" rel="nofollow noreferrer">here</a> for more information about picocli. I tried picocli before in a local project (just with a main method, not using android) and it worked well.</p> <p>But then I adapted the co...
I just tried using picocli in one of my android projects (android 9). See here for more information about picocli. I tried picocli before in a local project (just with a main method, not using android) and it worked well. But then I adapted the code to get it works in android app, and a got an exception inside picocli ...
java|regex|android-9.0-pie
0
2020-02-06T09:42:10.057Z
2,020
2
9
3
21
0
587
71
3
2
true
true
false
false
false
false
zero
60,092,009
Java : call child class method from parent class using interface
<p>I don't know if this question is valid or I am doing something wrong with defining the parent class structure. </p> <p>But the following are the formation of the classes and interface are.</p> <pre><code>public interface Test { public void print(); public void write(); } class Parent implements Test{ ...
I don't know if this question is valid or I am doing something wrong with defining the parent class structure. But the following are the formation of the classes and interface are. [CODE] Expected output when I call method using the interface [CODE] It should call print method from the Child class. And when I call meth...
java|android|parent-child
2
2020-02-06T09:48:11.747Z
2,020
2
9
3
682
3
544
64
3
3
true
false
false
false
false
false
low
60,092,024
Getting JSON data into HashMap
<p>I get data from json like : "B11,B12,B22,F11,F22,F1,F2,F3" </p> <p>then I have 50 icon in on layout , when I get data like " B11,B12,B22,F11,F22,F1,F2,F3 "</p> <p>I hope 8 icons are VISIBLE , and 42 icons are INVISIBLE.</p> <p>All I think is use HashMap , but actually , I really don't know how to do ?</p> <p>Thi...
I get data from json like : "B11,B12,B22,F11,F22,F1,F2,F3" then I have 50 icon in on layout , when I get data like " B11,B12,B22,F11,F22,F1,F2,F3 " I hope 8 icons are VISIBLE , and 42 icons are INVISIBLE. All I think is use HashMap , but actually , I really don't know how to do ? This photo have 49 circles , every circ...
android|arrays|json|hashmap
1
2020-02-06T09:48:53.943Z
2,020
2
9
3
81
2
582
30
4
1
true
false
false
false
false
false
low
60,092,045
Filter In Expandable ReyclerView in Kotlin
<p>I am am trying to put filter in expandable recylerview but not able to achieve: Please find the code below:</p> <pre><code>class adapter1(internal var context: Context, internal var mData: MutableList&lt;faqBody?&gt;,val fragmentInterface: FragmentInterface) : RecyclerView.Adapter&lt;adapter1.myViewHolder&gt;() ...
I am am trying to put filter in expandable recylerview but not able to achieve: Please find the code below: [CODE] Can anyone help on the above. mData is the list of faqBody that contains chilitems of the same. [CODE]
android|kotlin|android-recyclerview
1
2020-02-06T09:49:55.603Z
2,020
2
9
3
168
0
217
42
3
2
true
true
false
false
false
false
low
60,092,082
Scraping data with jsoup
<p>So I am scraping some data with jsoup library. Data is organized in html element table. I want to show relevant data in textView or in a listView. For starters, it needs to be in textView. When I try to display information from more than one table, textView just shows me the first one. I can't get my mind wrapped ab...
So I am scraping some data with jsoup library. Data is organized in html element table. I want to show relevant data in textView or in a listView. For starters, it needs to be in textView. When I try to display information from more than one table, textView just shows me the first one. I can't get my mind wrapped about...
java|android|jsoup
0
2020-02-06T09:51:45.273Z
2,020
2
9
3
54
1
409
24
3
1
true
false
false
false
false
false
zero
60,092,171
My app runs the first time then crashes every time I try to reopen
<p>I am building an app that reads SMS's by converting them to speech. After installing the apk it runs but when I close it and try to open it again it crashes. It gives an error message saying the app keeps closing. When I set it to only read after a button click it was working fine but after I changed it to read on i...
I am building an app that reads SMS's by converting them to speech. After installing the apk it runs but when I close it and try to open it again it crashes. It gives an error message saying the app keeps closing. When I set it to only read after a button click it was working fine but after I changed it to read on init...
android
0
2020-02-06T09:56:27.917Z
2,020
2
9
3
62
1
375
66
1
1
true
false
false
false
false
false
zero
60,092,173
Control Button Visibility From Firebase
<p>This Is My Code</p> <pre><code>@Override protected void onStart() { super.onStart(); control.addValueEventListener(new ValueEventListener() { @Override public void onDataChange(@NonNull DataSnapshot dataSnapshot) { s2=dataSnapshot.getValue(String.class); } @Overr...
This Is My Code [CODE] } when trying to control visibility from Firebase above code does not work. If I try same without use of Firebase it works. Would appreciate any advice
android|firebase
0
2020-02-06T09:56:32.600Z
2,020
2
9
3
65
2
174
39
2
1
true
false
false
false
false
false
zero
60,092,179
Layout problems in a resource file
<p>I have installed Java SDK and Android Studio 3.5.3 - set The target device and the Android OS as Pie. I have a simple form with some constrained controls but no code behind at present. When I run the project - I get the warning shown attached and when the form is rendered in the emulator the formatting of the contro...
I have installed Java SDK and Android Studio 3.5.3 - set The target device and the Android OS as Pie. I have a simple form with some constrained controls but no code behind at present. When I run the project - I get the warning shown attached and when the form is rendered in the emulator the formatting of the controls ...
android|formatting|rendering|adapter|display
0
2020-02-06T09:56:40.883Z
2,020
2
9
3
50
2
563
34
5
1
true
false
false
false
false
false
zero
60,092,320
I have problem witch rotate screen I want save my array “cards” and var index for next activity
<p>My problem is that I have created arrayof images and always randomly let the screen to display 2 of these images and after pressing next_button and next show 2 images but when I turn the screen so it all resets. I know the activity will change and it has to be saved "onsaveinstancestate" but I don't know anymore cou...
My problem is that I have created arrayof images and always randomly let the screen to display 2 of these images and after pressing next_button and next show 2 images but when I turn the screen so it all resets. I know the activity will change and it has to be saved "onsaveinstancestate" but I don't know anymore could ...
android|kotlin
0
2020-02-06T10:03:45.390Z
2,020
2
10
3
63
2
433
95
2
1
true
false
false
false
false
false
zero
60,092,405
Untrusted Server Certificate in Intellij
<p>I don't understand why Android Studio behaving weird, sending this Untrusted Server Certificate request again and again. Please suggest how to avoid this?</p> <p><a href="https://i.stack.imgur.com/R1ikK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/R1ikK.png" alt="Pop up for accept or reject" /></a></p>
I don't understand why Android Studio behaving weird, sending this Untrusted Server Certificate request again and again. Please suggest how to avoid this?
android|intellij-idea
20
2020-02-06T10:08:12.400Z
2,020
2
10
3
20,307
4
154
40
2
0
false
false
true
true
true
false
medium
60,092,414
DataBinding: Pass resource id to custom view string attribute?
<p>I have a custom view with a styleable attribute defined as:</p> <pre><code>&lt;declare-styleable name="CustomView"&gt; &lt;attr name="stringAttribute" format="string"/&gt; &lt;/declare-styleable&gt; </code></pre> <p>I'd like to pass a string resource to this view when it is initialized, so I can grab it via <c...
I have a custom view with a styleable attribute defined as: [CODE] I'd like to pass a string resource to this view when it is initialized, so I can grab it via obtainStyledAttributes and apply it to the view right away. However, since the string resource is dynamic, I can't seem to find a way to pass it to the view wit...
android|android-databinding
2
2020-02-06T10:08:29.247Z
2,020
2
10
3
2,348
1
594
62
2
1
true
false
false
false
false
false
low
60,092,519
Update Layout Parameters for existing object
<p>I use setLayoutParams to set layout parameters for an object of a custom view I made like below:</p> <pre><code>MyCustomView object = new ObjectView(getApplicationContext()); object.setLayoutParams(new ViewGroup.LayoutParams( ViewGroup.LayoutParams.WRAP_CONTENT, ...
I use setLayoutParams to set layout parameters for an object of a custom view I made like below: [CODE] How can I change or update this LayoutParams for the same object programmatically at run time ?
android|view
0
2020-02-06T10:14:22.497Z
2,020
2
10
3
229
2
199
44
2
1
true
false
false
false
false
false
zero
60,092,533
Espresso : My Second scenario in 1 .feature files not relaunch the apps
<p>I just try Espresso for android with cucumber but I found an issue. I have 2 activities (HomeActivity and ResultActivity) in this scenario. This 2 scenario located on 1 .feature files.</p> <pre><code>Feature : Click button in home screen. Scenario: Open result page. Given user in home screen &lt;-- HomeActivit...
I just try Espresso for android with cucumber but I found an issue. I have 2 activities (HomeActivity and ResultActivity) in this scenario. This 2 scenario located on 1 .feature files. [CODE] My question is why second scenario homeActivity not opened and @before not working ? Or the issue occur in @after first scenario...
cucumber|android-espresso|ui-automation|barista
1
2020-02-06T10:14:57.110Z
2,020
2
10
3
42
0
433
71
4
2
true
true
false
false
false
false
low
60,092,546
the client running on android closes and exit application without exception or any message in function “connect (socket)” if the server is unreachable
<p>I want to connect client TCP from android8/9/10 phone to PC windows 10 server application. If the server is running all works fine, but the client running on android closes and exits application without exception or any message in function “connect (socket)” if the server is unreachable. This happens in C++ ( andr...
I want to connect client TCP from android8/9/10 phone to PC windows 10 server application. If the server is running all works fine, but the client running on android closes and exits application without exception or any message in function “connect (socket)” if the server is unreachable. This happens in C++ ( android N...
android|sockets|connect
0
2020-02-06T10:15:23.353Z
2,020
2
10
3
43
1
522
150
3
2
true
false
false
false
false
false
zero
60,092,572
java.text.parseException: Unparseable date : 2020-02-06T08:00:00
<p>Getting parse exception when I'm applying a particular format to the date.</p> <pre><code>SimpleDateFormat df = new SimpleDateFormat("hh:mm a"); try { String s=timeSlotsArrayList.get(position).getScheduledStartTime(); Date d = df.parse(s); times.setText(df.format(d)); } catch (ParseException e) { e....
Getting parse exception when I'm applying a particular format to the date. [CODE] AM is getting instead of PM issue image
android|time|format|simpledateformat|parseexception
6
2020-02-06T10:16:45.900Z
2,020
2
10
3
3,697
1
121
64
5
1
true
false
true
false
false
false
medium
60,092,581
smsManager.sendMultipartTextMessage not working properly
<p>Here I am trying to Send message using <code>SmsManager.getDefault()</code> as </p> <pre><code> val smsManager = SmsManager.getDefault() val parts: ArrayList&lt;String&gt; = smsManager.divideMessage(msg+"") smsManager.sendMultipartTextMessage("+9198****91", null, parts, null, null); </code></pre> <p>...
Here I am trying to Send message using SmsManager.getDefault() as [CODE] It works fine on Samsung A50, OnePlus 3T etc. except OnePlus GM1911 (OnePlus 7 pro) permissions in manifest [CODE] so anyone have idea or suggestion to resolve this.
android|kotlin|sms|smsmanager
0
2020-02-06T10:17:13.327Z
2,020
2
10
3
276
1
238
56
4
2
true
false
false
false
false
false
zero
60,092,627
Application lock using device lock
<p>I am working on Xamarin Forms application App lock as i need to secure my app so the app should ask the permission of the device lock when ever we open the application as it can be face lock, pattern, pin, fingerprint.</p>
I am working on Xamarin Forms application App lock as i need to secure my app so the app should ask the permission of the device lock when ever we open the application as it can be face lock, pattern, pin, fingerprint.
xamarin|xamarin.forms|xamarin.android|xamarin.ios
0
2020-02-06T10:19:25.770Z
2,020
2
10
3
477
1
218
34
4
0
false
false
false
false
false
false
zero
60,092,648
Samsung Galaxy S10e w/ Android 10: App crashes when keyboard is shown
<p>I have several devices with Android 9, and some now with Android 10.</p> <p>On a Samsung Galaxy S10e with Android 10 the app crashes, after I edit an EditText and move to the next control, <em>with my keyboard still open</em>. It doesn't matter whether I enter text or leave it empty.</p> <p>On older versions (from...
I have several devices with Android 9, and some now with Android 10. On a Samsung Galaxy S10e with Android 10 the app crashes, after I edit an EditText and move to the next control, with my keyboard still open . It doesn't matter whether I enter text or leave it empty. On older versions (from 4 to 9), the app works jus...
android|android-edittext|android-10.0|samsung-galaxy
2
2020-02-06T10:20:23.297Z
2,020
2
10
3
267
0
521
69
4
2
true
true
false
false
false
false
low
60,092,778
Why does not direct where I want to be when I clicked notification?
<p><strong>I want put textview header and text of the notification.</strong></p> <p>I send push notification with firebase and always comes and see header and text of the notifictaion on notification panel.(This is no problem) My app consist of:MainActivity,Main2Activity and FirebaseMessaginService class. I have butto...
I want put textview header and text of the notification. I send push notification with firebase and always comes and see header and text of the notifictaion on notification panel.(This is no problem) My app consist of:MainActivity,Main2Activity and FirebaseMessaginService class. I have button on the MainActivity. When ...
android|firebase-cloud-messaging|android-notifications|android-push-notification
0
2020-02-06T10:26:06.587Z
2,020
2
10
3
32
0
966
67
4
1
true
true
false
false
false
false
zero
60,092,813
Fastlane timed publishing in Google Play Store
<p>I´m trying to enable Timed Publishing option for my fastlane production upload to the Google Play Store.</p> <p>My actual Fastfile looks like this:</p> <pre><code> lane :production do |options| desc "Increment build number" android_set_version_code(version_code: google_play_track_version_codes(track: "pro...
I´m trying to enable Timed Publishing option for my fastlane production upload to the Google Play Store. My actual Fastfile looks like this: [CODE] As far as I know, the supply command can provide the automatic_release parámeter but upload_to_play_store doesn't. Is validate_only the equivalent to automatic_release on t...
android|google-play|fastlane
3
2020-02-06T10:27:33.937Z
2,020
2
10
3
441
0
475
46
3
1
true
true
false
false
false
false
low
60,092,856
Assertion Error while running inference in tensorflow lite
<p>I am trying to run an inpainting model that takes image as and input and gives image in the form of output. When I run the android application I get the following error:</p> <pre><code>2020-02-06 15:01:39.308 2143-2143/com.example.inpainting A/libc: /usr/local/google/buildbot/src/android/ndk-release-r17/external/li...
I am trying to run an inpainting model that takes image as and input and gives image in the form of output. When I run the android application I get the following error: [CODE] Please advise a suitable solution.
java|android|tensorflow|tensorflow-lite
1
2020-02-06T10:29:31.353Z
2,020
2
10
3
136
0
211
58
4
1
true
true
false
false
false
false
low
60,092,966
Is there any way for implementing multiple interfaces in kotlin?
<p>In <strong>java</strong> we implement <em>multiple interfaces</em> separated by comma, but in <strong>kotlin</strong> nothing as such was found. So, can we do it in case of kotlin, or we need to add in particular at every places?</p> <p>Edit: class A : A,B was in some of the answers below. So the <strong>extends</s...
In java we implement multiple interfaces separated by comma, but in kotlin nothing as such was found. So, can we do it in case of kotlin, or we need to add in particular at every places? Edit: class A : A,B was in some of the answers below. So the extends and implements are done with same syntax in kotlin
java|android|kotlin
5
2020-02-06T10:35:23.577Z
2,020
2
10
3
5,973
1
306
64
3
0
false
false
true
false
false
false
low
60,093,088
Background color theme problems
<p>I have a problem with background on activities and fragments when I use background in App theme:</p> <pre><code>&lt;item name="android:colorBackground"&gt;@android:color/white&lt;/item&gt; &lt;item name="android:windowBackground"&gt;@android:color/white&lt;/item&gt; </code></pre> <p>When I put this on my theme and...
I have a problem with background on activities and fragments when I use background in App theme: [CODE] When I put this on my theme and navigate between fragments with animation make a strange shadow: This is normal? I have a transaction animation between fragments: [CODE] If I remove the animation fragment, shadow ove...
android|background-color|android-theme
4
2020-02-06T10:41:52.230Z
2,020
2
10
3
354
2
500
31
3
3
true
false
false
false
false
false
low
60,093,189
I want to automate the Android Hybrid app in JavaScript. But not able to open it in webview
<p>I have added all the required capabilities but nothing happens.</p> <p><code>autoWebview: true, setWebContentsDebuggingEnabled: true,</code></p> <p>When I use this one in the capabilities, it gives me an error that deriver is not defined.</p> <p><code>driver.getContexts().then(function (contexts) { // get list of...
I have added all the required capabilities but nothing happens. autoWebview: true, setWebContentsDebuggingEnabled: true, When I use this one in the capabilities, it gives me an error that deriver is not defined. driver.getContexts().then(function (contexts) { // get list of available views. Returns array: [“NATIVE_APP”...
node.js|webdriver|appium|webdriver-io|appium-android
0
2020-02-06T10:47:29.650Z
2,020
2
10
3
71
0
537
91
5
0
false
true
false
false
false
false
zero
60,093,309
How to enable background notification in flutter?
<p>I'm using <a href="https://pub.dev/packages/firebase_messaging" rel="nofollow noreferrer">firebase_messaging</a> plugin to handle notifications in my project.</p> <p>I'm trying to turn on <strong>background notifications</strong>, I followed those steps: <a href="https://pub.dev/packages/firebase_messaging#optional...
I'm using firebase_messaging plugin to handle notifications in my project. I'm trying to turn on background notifications , I followed those steps: Optionally handle background messages from plugin documentation. But it didn't work. I searched for a solution and found this: Adding the plugin dependencies in app/build.g...
android|firebase|flutter|android-notifications
2
2020-02-06T10:53:29.127Z
2,020
2
10
3
154
0
382
49
4
2
true
true
false
false
false
false
low
60,093,320
How to parse error response to Throwable?
<p>I am using <code>Retrofit</code> and <code>RxJava</code> to make network requests like this: </p> <p>How I am declaring request: </p> <pre><code>@POST("auth/profile/edit/") fun updateProfile(@Body body: ProfileUpdateBody): Single&lt;Response&lt;Void&gt;&gt; </code></pre> <p>How I am calling:</p> <pre><code>api.u...
I am using Retrofit and RxJava to make network requests like this: How I am declaring request: [CODE] How I am calling: [CODE] Some code have been dropped for readability. The probem is even though I get responses back with 401 or 400 statuses, doOnSuccess is being called. Should not the doOnError be called here? I am ...
android|parsing|retrofit|response|rx-java2
0
2020-02-06T10:53:52.223Z
2,020
2
10
3
453
3
563
41
5
2
true
false
false
false
false
false
zero
60,093,460
Android studio keeps showing red line on flutter code
<p>Just this week i noticed my android studio keeps showing red line underneath my flutter code</p> <p><a href="https://i.stack.imgur.com/DuGfd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DuGfd.png" alt="enter image description here"></a></p> <p><a href="https://i.stack.imgur.com/bBHr0.png" rel...
Just this week i noticed my android studio keeps showing red line underneath my flutter code My Logcat
android-studio|flutter|dart
-3
2020-02-06T11:01:04.697Z
2,020
2
11
3
1,055
1
102
53
3
0
false
false
false
false
false
true
negative
60,093,462
Rendering a float buffer on screen with OpenGL ES
<p>I have a FloatBuffer as an output from the neural network, where the RGB channels are encoded with [-1 .. +1] values. I would like to render them on-screen, using GLSurfaceView. What is the best way to handle it?</p> <p>I can dump the buffer into SSBO and write a compute shader, which maps it to ByteBuffer of [0 .....
I have a FloatBuffer as an output from the neural network, where the RGB channels are encoded with [-1 .. +1] values. I would like to render them on-screen, using GLSurfaceView. What is the best way to handle it? I can dump the buffer into SSBO and write a compute shader, which maps it to ByteBuffer of [0 .. 255] range...
android|opengl-es|rendering|ssbo
1
2020-02-06T11:01:12.697Z
2,020
2
11
3
223
1
634
49
4
0
false
false
false
false
false
false
low
60,093,471
React native viewPager how to disable edge to edge
<p>I'm using the react native viewPager from react native community : <a href="https://github.com/react-native-community/react-native-viewpager" rel="nofollow noreferrer">https://github.com/react-native-community/react-native-viewpager</a></p> <p>And I would like to render something like the logo displayed on the main...
I'm using the react native viewPager from react native community : https://github.com/react-native-community/react-native-viewpager And I would like to render something like the logo displayed on the main page : But it looks like the childrens item of the viewPager must be stretch, So we can't see the part of the secon...
react-native|android-viewpager|viewpage
1
2020-02-06T11:01:43.443Z
2,020
2
11
3
786
1
526
50
3
1
true
false
false
false
false
false
low
60,093,503
Running an Activity that requires permission to access the gallery
<p>I have this activity that is supposed to access the gallery and choose an image. It run with zero errors but when pressing the "choose " button I got a Permission Denied response in accessing the gallery. What is the problem?</p>
I have this activity that is supposed to access the gallery and choose an image. It run with zero errors but when pressing the "choose " button I got a Permission Denied response in accessing the gallery. What is the problem?
android
-1
2020-02-06T11:03:33.127Z
2,020
2
11
3
58
1
225
66
1
0
false
false
false
false
false
true
negative
60,093,578
RxJava2 - How to know when all concatMapSingle operations finished on iterating Observable
<p>I have the method below:</p> <pre><code>private fun bindUploadPhotos(uploadPhotoCommands: List&lt;UploadPhotoCommand&gt;): Disposable { return Observable.fromIterable(uploadPhotoCommands) .concatMapSingle { param -&gt; requestUploadPhoto.getSingle(param) } .do...
I have the method below: [CODE] I upload photos sequentially. I expect doFinally to execute after all photos are uploaded successfully. However, it executes immediately. I am not a RxJava2 master, so I gladly take your different approaches to achieve my purpose.
android|rx-java|rx-java2
0
2020-02-06T11:08:36.770Z
2,020
2
11
3
275
1
262
90
3
1
true
false
false
false
false
false
zero
60,093,683
How to show all login users data to admin using Firebase?
<p>I want to show data of all users from firebase without users id in firebase <code>RecyclerView</code>. How can it be possible? I am working on my first firebase project and I am new in Firebase. Here is my code but it shows just login user data. </p> <blockquote> <p>java </p> </blockquote> <pre><code> @Ov...
I want to show data of all users from firebase without users id in firebase RecyclerView . How can it be possible? I am working on my first firebase project and I am new in Firebase. Here is my code but it shows just login user data. java [CODE] firebase
java|android|firebase|firebase-realtime-database|android-recyclerview
0
2020-02-06T11:14:08.580Z
2,020
2
11
3
281
2
254
57
5
1
true
false
false
false
false
false
zero
60,093,737
Supporting Dark & Light Theme in AndroidX
<p>I currently use the following parent theme <code>Theme.MaterialComponents.Light.NoActionBar</code> and just updated my material design library to</p> <p><code>implementation 'com.google.android.material:material:1.1.0'</code> </p> <p>which messed up some colors in my app </p> <p>So i am deciding to update it to s...
I currently use the following parent theme Theme.MaterialComponents.Light.NoActionBar and just updated my material design library to implementation 'com.google.android.material:material:1.1.0' which messed up some colors in my app So i am deciding to update it to support both light and dark themes. I will post what i d...
android|android-dark-theme
2
2020-02-06T11:16:52.233Z
2,020
2
11
3
874
2
377
41
2
0
false
false
false
false
false
false
low
60,093,872
Not able to add implementation 'com.google.android.libraries.places:places:2.2.0'
<p>I am trying to add Places SDK for android. </p> <p>I am following the following documentation <a href="https://developers.google.com/places/android-sdk/start" rel="nofollow noreferrer">https://developers.google.com/places/android-sdk/start</a> and <a href="https://developers.google.com/places/android-sdk/client-mig...
I am trying to add Places SDK for android. I am following the following documentation https://developers.google.com/places/android-sdk/start and https://developers.google.com/places/android-sdk/client-migration Unfortunately i am not able to add dependency "implementation 'com.google.android.libraries.places:places:2.2...
kotlin|google-places-api|androidx
0
2020-02-06T11:24:52.443Z
2,020
2
11
3
493
1
577
81
3
0
false
false
false
false
false
false
zero
60,093,939
unable to post array into server using retrofit
<p>i am trying to post multiple images with array but i am not able to send it into server because its shows some error</p> <p>when i am trying to send images converted into bitmap it goes into <code>onFailure</code> method and shows error like below</p> <p><strong>error returns bitmap</strong></p> <pre><code>D/Onfa...
i am trying to post multiple images with array but i am not able to send it into server because its shows some error when i am trying to send images converted into bitmap it goes into onFailure method and shows error like below error returns bitmap [CODE] this is my post method [CODE] this is my Info Post model class [...
java|android|retrofit
1
2020-02-06T11:28:34.880Z
2,020
2
11
3
120
3
325
47
3
3
true
false
false
false
false
false
low
60,094,029
How to use @media (prefers-color-scheme) in responsive email in Gmail?
<p>Following <code>CSS</code> is in <code>head</code> of HTML email to change email body color when the device in dark mode. </p> <pre><code>@media (prefers-color-scheme: dark) { .white-cont { background: red !important; } } </code></pre> <p>It turns body of email only in apple mail app. Gmail app does nothin...
Following CSS is in head of HTML email to change email body color when the device in dark mode. [CODE] It turns body of email only in apple mail app. Gmail app does nothing the entire mail is converted to dark color scheme automatically which is not so good. How to make dark-mode-responsive a gmail email? Why the above...
css|gmail|html-email|android-dark-theme
5
2020-02-06T11:33:08.637Z
2,020
2
11
3
8,727
1
363
70
4
1
true
false
true
false
false
false
low
60,094,101
how to give dynamic android.permission.WRITE_SETTINGS permission on a board non UserInterface
<p>I have installed application as a user mode and not rooted. Hence some of the android.permissions like write permission are ignored and not set. was able to identify from packages.xml and also from the command "adb shell dumpsys package "</p> <p>I want to set write permission to the application that I installed to ...
I have installed application as a user mode and not rooted. Hence some of the android.permissions like write permission are ignored and not set. was able to identify from packages.xml and also from the command "adb shell dumpsys package " I want to set write permission to the application that I installed to the device....
android|selinux
2
2020-02-06T11:37:38.993Z
2,020
2
11
3
2,684
2
503
93
2
1
true
false
true
false
false
false
low
60,094,287
Intellij android project unable to launch with databinding enabled
<p>I was following the android lessons on <a href="https://codelabs.developers.google.com/codelabs/kotlin-android-training-data-binding-basics/index.html?index=..%2F..android-kotlin-fundamentals#5" rel="nofollow noreferrer">codelabs</a> and they were introducing <code>databinding</code>. According to the code, all i ne...
I was following the android lessons on codelabs and they were introducing databinding . According to the code, all i needed to do was to enable databinding within the build.gradle file as below: [CODE] However, the project fails to build into the emulator, and I am presented with the error code: Unable to load class 'j...
android|kotlin|intellij-idea|android-databinding
1
2020-02-06T11:48:19.083Z
2,020
2
11
3
292
1
937
66
4
1
true
false
false
false
false
false
low
60,094,299
Array or other solution
<p>I have this code to generate a file, </p> <pre><code>et_nombre = (EditText) findViewById(R.id.txt_nombre); // name file automatic et_tienda = (EditText) findViewById(R.id.txt_tienda); // Store Out et_destino = (EditText) findViewById(R.id.etDestino); // Store In et_contenido = (EditText) findViewById(R.id.txt_cont...
I have this code to generate a file, [CODE] [CODE] [CODE] [CODE] [CODE] But I would like to read several barcodes in a row and save them in the same file and respecting the format by changing only the value of the barcode. which option is correct create an array and a for or change the edittext to multiple lines and lo...
android
-1
2020-02-06T11:48:56.283Z
2,020
2
11
3
64
1
346
23
1
5
true
false
false
false
false
true
negative
60,094,307
All webview content printed in one page
<p><strong>Case</strong>: User should be able to view and print pdf</p> <p><strong>My solution</strong>: I am opening PDF inside <code>Webview</code> with the help of <code>docs.google.com/gview</code>. Below is my code</p> <p>Set up Webview</p> <pre><code> string url = "http://www.africau.edu/images/default/samp...
Case : User should be able to view and print pdf My solution : I am opening PDF inside Webview with the help of docs.google.com/gview . Below is my code Set up Webview [CODE] Print PDF [CODE] Below is the screenshot. As you can see PDF loads just fine Problem When I want to print PDF, all the PDF pages are printed in o...
android|pdf|xamarin|xamarin.android
0
2020-02-06T11:49:21.957Z
2,020
2
11
3
285
1
502
39
4
2
true
false
false
false
false
false
zero
60,094,360
How to access IMEI number on Android 10?
<p>Google has restricted the old way to get IMEI number on Android devices starting from Android 10, but my app has always relied on it to validate users and make sure they are unique without bothering them with Username stuff.</p> <p>Other alternatives like advertising id and Android id did not work for me, as they m...
Google has restricted the old way to get IMEI number on Android devices starting from Android 10, but my app has always relied on it to validate users and make sure they are unique without bothering them with Username stuff. Other alternatives like advertising id and Android id did not work for me, as they might change...
android|android-10.0|imei
1
2020-02-06T11:52:10.330Z
2,020
2
11
3
3,951
1
557
40
3
0
false
false
true
false
false
false
low
60,094,425
Is it possible to install developing app to another android device by sharing the apk file?
<p>I have been trying to install my app into another android device. I am developing the app using Android Studio in java where I used user location access permission. During development, build the app in my phone and it is working fine. When I share my apk file to another device by ShareIt and then try to install it s...
I have been trying to install my app into another android device. I am developing the app using Android Studio in java where I used user location access permission. During development, build the app in my phone and it is working fine. When I share my apk file to another device by ShareIt and then try to install it says...
android|android-install-apk
0
2020-02-06T11:55:17.883Z
2,020
2
11
3
717
2
561
91
2
0
false
false
false
false
false
false
zero
60,094,470
Implement Instagram like swipe right to view camera
<p>Basically this is the structure of my app.</p> <p><a href="https://i.stack.imgur.com/6rEg2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6rEg2.png" alt=""></a></p> <p>In Activity, there is a container which hosts fragments and on the bottom there is Bottom Navigation View. I want to implement ...
Basically this is the structure of my app. In Activity, there is a container which hosts fragments and on the bottom there is Bottom Navigation View. I want to implement something like this: I know this is possible by using ViewPager but the app is already much complex that I wouldn't want to rewrite all the flows to m...
android|android-viewpager|instagram
2
2020-02-06T11:57:58.340Z
2,020
2
11
3
214
0
530
51
3
0
false
true
false
false
false
false
low
60,094,526
handle fcm display messages and data messages by using laravel rest api in android java
<p><em>how to handle it in android fcm please share any suitable solution i want to resolve issue of fcm on background and on foreground</em></p> <pre><code>$payload = [ 'to' =&gt; $user-&gt;device_token, 'collapse_key' =&gt;'test message', 'data' =&gt; [ 'title' =&gt; '', 'message' =&gt; $push_mes...
how to handle it in android fcm please share any suitable solution i want to resolve issue of fcm on background and on foreground [CODE] How to handle it in android fcm please share any suitable solution i want to resolve issue of fcm on background and on foreground ?
laravel-5|firebase-cloud-messaging|android-push-notification
1
2020-02-06T12:00:44.813Z
2,020
2
12
3
228
1
268
87
3
1
true
false
false
false
false
false
low
60,094,559
Android permissions not requested on installation
<p>I've searched for similar questions before posting here and I didn't find a answer solving my issue. My manifest.xml file seems correct, I'd like the user to be asked for permissions on installation (not runtime, it already works with my code). I don't know why the parameters I put doens't work:</p> <pre><code>&lt;...
I've searched for similar questions before posting here and I didn't find a answer solving my issue. My manifest.xml file seems correct, I'd like the user to be asked for permissions on installation (not runtime, it already works with my code). I don't know why the parameters I put doens't work: [CODE] I use Cordova (a...
android|cordova|android-manifest|android-permissions
1
2020-02-06T12:02:21.123Z
2,020
2
12
3
520
3
524
49
4
1
true
false
false
false
false
false
low
60,094,586
How to make the focus able area of a clickable item non-rectangular in RecyclerView
<p>I have received a design like this</p> <p><a href="https://i.stack.imgur.com/WmhdQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WmhdQ.png" alt="enter image description here"></a></p> <p>By default, the clickable/focus able area of <strong>an item in listView/recyclerView is rectangular or squ...
I have received a design like this By default, the clickable/focus able area of an item in listView/recyclerView is rectangular or square . How to change the that? How do I create an adapter with focus able area of an item in RecyclerView like this picture Need Help regarding XML layout file and adapter code, Thanks in...
android|android-recyclerview
0
2020-02-06T12:03:30.370Z
2,020
2
12
3
74
1
328
83
2
0
false
false
false
false
false
false
zero