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
59,963,199
CountDownTimer strange Finish behaviour
<p>When Timer Finish it goes back to previous Activity for a Second then Apply onFinish What is the reason and how to prevent that.</p> <pre><code>mCountDownTimer = new CountDownTimer(mTimeLeftInMillis, 1000) { @Override public void onTick(long millisUntilFinished) { mTimeLeftInMillis = millisUntilFinis...
When Timer Finish it goes back to previous Activity for a Second then Apply onFinish What is the reason and how to prevent that. [CODE]
java|android|countdowntimer
0
2020-01-29T08:34:14.700Z
2,020
1
8
2
61
1
135
39
3
1
true
false
false
false
false
false
zero
59,963,278
How to get the phone number programatically from a new SIM card?
<p>I can get the phone number from some old SIM card by using <code>TelephonyManager.getLine1Number()</code>, but it's not working for some new SIM card. I tried to use this code snippet, but it's also not working. It just return empty string. </p> <pre><code>if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.M) { ...
I can get the phone number from some old SIM card by using TelephonyManager.getLine1Number() , but it's not working for some new SIM card. I tried to use this code snippet, but it's also not working. It just return empty string. [CODE] Is there another way to know the phone number programmatically, I even think to send...
android
0
2020-01-29T08:40:59.240Z
2,020
1
8
2
77
0
490
64
1
1
true
true
false
false
false
false
zero
59,963,281
Room reset database if key doesn't match
<p>I use Room to store cache of my app. Also I encrypt database with key from Keystore and SqlCipher. In situations like restoring backup of app (i.e. via TitaniumBackup) or key being lost for whatever reason Room just crashes app. Any way to tell it to just delete old database if it can't be opened? It's just cache, n...
I use Room to store cache of my app. Also I encrypt database with key from Keystore and SqlCipher. In situations like restoring backup of app (i.e. via TitaniumBackup) or key being lost for whatever reason Room just crashes app. Any way to tell it to just delete old database if it can't be opened? It's just cache, noth...
android|encryption|android-room
1
2020-01-29T08:41:01.337Z
2,020
1
8
2
53
1
339
40
3
0
false
false
false
false
false
false
low
59,963,404
Use variable as name strings.xml
<p>I have some packages with a status. in strings xml those status would be (translated to norwegian)</p> <pre><code>&lt;string name=&quot;collectable&quot;&gt;Kan hentes&lt;/string&gt; &lt;string name=&quot;underway&quot;&gt;Underveis&lt;/string&gt; &lt;string name=&quot;transport_to_recipient&quot;&gt;Leveres i dag&l...
I have some packages with a status. in strings xml those status would be (translated to norwegian) [CODE] so in my xml layout i want to do something like this: [CODE] so the string names would match with the text. i am also using databinding for this to get parcelitem.status. My problem is that it just prints out &quot...
android|data-binding
0
2020-01-29T08:49:08.803Z
2,020
1
8
2
199
3
478
32
2
2
true
false
false
false
false
false
zero
59,963,476
Update recyclerview data
<p>since several days I try to handle data in recyclerview in viewpager2. The viewpager has an adapter managing the data in recyclerview. But everything I try to do seems to not work. Maybe I missundersteand the purpose or something. I hope you can help me.</p> <p>This activity manages the viewpager and its adapter. I...
since several days I try to handle data in recyclerview in viewpager2. The viewpager has an adapter managing the data in recyclerview. But everything I try to do seems to not work. Maybe I missundersteand the purpose or something. I hope you can help me. This activity manages the viewpager and its adapter. It sends the...
java|android|android-recyclerview|android-viewpager2
2
2020-01-29T08:53:54.577Z
2,020
1
8
2
2,257
1
761
24
4
4
true
false
false
false
false
false
low
59,963,663
Not able to run my react native project without errors
<p>I am trying to run my react native project via this command: npx react-native run-android</p> <p>My project was correctly build:</p> <pre><code>BUILD SUCCESSFUL in 14s 160 actionable tasks: 1 executed, 159 up-to-date Running C:\Users\souissi\AppData\Local\Android\Sdk/platform-tools/adb -s 5200e76ec04545af reverse ...
I am trying to run my react native project via this command: npx react-native run-android My project was correctly build: [CODE] But I am getting this error: [CODE] error in config-descriptors.js [CODE]
android|react-native|visual-studio-code
-2
2020-01-29T09:05:17.200Z
2,020
1
9
2
39
1
202
54
3
3
true
false
false
false
false
true
negative
59,963,671
Can my android TV launcher be visible when displaying settings?
<p>I have android TV app that is launcher and can open system settings. However, after opening settings my app stops being visible as on the image:</p> <p><a href="https://i.stack.imgur.com/eEhIi.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eEhIi.jpg" alt="android tv settings on launcher app"></a...
I have android TV app that is launcher and can open system settings. However, after opening settings my app stops being visible as on the image: Is there a way to see my app in the background similarly like when i open list of apps? I am using react-native-launch-settings to display settings.
android|react-native|android-tv|leanback
1
2020-01-29T09:05:49.333Z
2,020
1
9
2
290
0
293
63
4
0
false
true
false
false
false
false
low
59,963,745
FLUTTER: Displaying problem between IOS and ANDROID
<p>I did an app and I have a problem, I runned the app on ios and android but one screen is not like I want, all my child in <code>SizedBox</code> are not full displayed (only on IOS), I think it is a problem with <code>Sizedbox</code> in IOS but I have no Idea how to resolve it. I try to use other widget but no one wo...
I did an app and I have a problem, I runned the app on ios and android but one screen is not like I want, all my child in SizedBox are not full displayed (only on IOS), I think it is a problem with Sizedbox in IOS but I have no Idea how to resolve it. I try to use other widget but no one works. [CODE]
android|ios|flutter|widget
0
2020-01-29T09:10:19.587Z
2,020
1
9
2
50
1
302
51
4
1
true
false
false
false
false
false
zero
59,963,766
Google AdMob banner ad in NavigationDrawer
<p>I couldn't find a solid answer for that: is it valid to put AdMob banner ad inside NavigationDrawer (the drawer shrinks a bit the size of the banner), or is it violates the policy of AdMob?</p>
I couldn't find a solid answer for that: is it valid to put AdMob banner ad inside NavigationDrawer (the drawer shrinks a bit the size of the banner), or is it violates the policy of AdMob?
android|admob|navigation-drawer
-1
2020-01-29T09:11:14.867Z
2,020
1
9
2
54
1
189
42
3
0
false
false
false
false
false
true
negative
59,963,772
Flutter project build failed with error message:-
<pre><code>Build file 'C:\Users\amani\Desktop\expenseapp\android\build.gradle' line: 24 * What went wrong: A problem occurred evaluating root project 'android'. &gt; A problem occurred configuring project ':app'. &gt; Failed to find target with hash string 'android-28' in: C:\Users\amani\AppData\Local\Android\Sdk ...
[CODE] And android\build.gradle is as follows: [CODE] Could anyone help me to solve this problem? I've tried many other solutions I found online but nothing seems to work and I can't figure out what to do to make this work. Running the flutter doctor command returns this: [CODE]
android|gradle|flutter|build.gradle
1
2020-01-29T09:11:20.607Z
2,020
1
9
2
4,626
1
279
49
4
3
true
false
true
false
false
false
low
59,963,787
Flowable To LiveData through LiveDataReactiveStreams doesn't work
<p>I'm using room and I want to synchronize a LiveData with the result of a DB request I'm doing this :</p> <p>dao</p> <pre><code> @Query("SELECT Pet.* FROM Pet WHERE user_Id = :userId " + "UNION " + "SELECT Pet.* FROM PetFeeders INNER JOIN Pet ON PetFeeders.pet_Id = Pet.pet_id " + ...
I'm using room and I want to synchronize a LiveData with the result of a DB request I'm doing this : dao [CODE] repository [CODE] service [CODE] The request works correctly, but the LiveData is never fed. What am I doing wrong ?
android|rx-java2|android-room|android-livedata
0
2020-01-29T09:12:36.527Z
2,020
1
9
2
104
0
228
65
4
3
true
true
false
false
false
false
zero
59,963,801
Android : inflate a custom layout when using Firebase Vision API
<p>I'm using <strong>firebase ml vision</strong> API for <strong>barcode live detection</strong>. I want to <strong>inflate a custom view</strong> and draw it on to of the detected barcode instead of the rectangle shape demonstrated in the demo.</p> <p>Does anyone have any suggestion of how to implement such thing ?</...
I'm using firebase ml vision API for barcode live detection . I want to inflate a custom view and draw it on to of the detected barcode instead of the rectangle shape demonstrated in the demo. Does anyone have any suggestion of how to implement such thing ? I thought of using the Firebase Vision API with ARCore to show...
android|firebase|graphics|barcode|arcore
1
2020-01-29T09:13:30.107Z
2,020
1
9
2
39
0
381
64
5
0
false
true
false
false
false
false
low
59,963,810
How to include Android.Support.v4 in Xamarin Forms (iOS)?
<p>I am using Visual Studio For Mac. My Xamarin Forms project is quite large and contains many content pages. Some of them will be only used in android project and some of them only used in iOS project. There is no problem when I compile the project into android. However, when I want to compile the project into iOS, it...
I am using Visual Studio For Mac. My Xamarin Forms project is quite large and contains many content pages. Some of them will be only used in android project and some of them only used in iOS project. There is no problem when I compile the project into android. However, when I want to compile the project into iOS, it se...
xamarin.forms|xamarin.android|xamarin.ios
0
2020-01-29T09:14:09.033Z
2,020
1
9
2
46
1
902
57
3
0
false
false
false
false
false
false
zero
59,963,884
why radioGroup.check(R.id.radioButton) not working inside onPostExecute() method
<p><strong>morningRG.check(R.id.morningHappyRBtn)</strong> works very well outside the class extends AsyncTask&lt;>, but it does not work inside the onPostExecute() method.</p> <p>If the view type is TextView, onPostExecute view.setText (...) works very well but if its RadioButton it does not work.</p> <p>I hope for ...
morningRG.check(R.id.morningHappyRBtn) works very well outside the class extends AsyncTask<>, but it does not work inside the onPostExecute() method. If the view type is TextView, onPostExecute view.setText (...) works very well but if its RadioButton it does not work. I hope for your help. [CODE] DailyReportFragment ....
android|android-asynctask|radio-button|radio-group
1
2020-01-29T09:18:45.137Z
2,020
1
9
2
65
0
447
80
4
4
true
true
false
false
false
false
low
59,963,896
SharePoint Online, possible way to track user activity?
<p>I'm currently working on a SharePoint and I'm looking to implement a page that tracks which user read which document/ viewed a file. </p> <p>Would I need to use Powershell or is there a plugin app on the SharePoint store?</p>
I'm currently working on a SharePoint and I'm looking to implement a page that tracks which user read which document/ viewed a file. Would I need to use Powershell or is there a plugin app on the SharePoint store?
android-activity|sharepoint
0
2020-01-29T09:19:33.987Z
2,020
1
9
2
1,139
1
213
55
2
0
false
false
false
false
false
false
zero
59,963,899
Suddenly getting Firebase java.lang.IllegalAccessError at startup of app
<p>suddenly a crash occurs at <strong>initial startup of app after installation</strong>! But just the first time...after second opening of app it works properly.</p> <p>I have not changes the firebase code but maybe the dependency...but to the latest version...so normally it should be a stable one!</p> <p><strong>It...
suddenly a crash occurs at initial startup of app after installation ! But just the first time...after second opening of app it works properly. I have not changes the firebase code but maybe the dependency...but to the latest version...so normally it should be a stable one! It seems to have some problem related to fire...
android|firebase|gradle|build|dependencies
7
2020-01-29T09:19:42.813Z
2,020
1
9
2
2,346
2
664
72
5
2
true
false
false
false
false
false
medium
59,963,965
How can I ignore a child element's margins?
<h3>Background</h3> <p>I'm developing a custom notification layout by injecting an OS-generated notification view into my own layout. My layout must be as short as possible, which is <code>50dp</code> in Android 10.</p> <h3>Problem</h3> <p>The view that I'm injecting into my view has margins that cause it to stretch...
Background I'm developing a custom notification layout by injecting an OS-generated notification view into my own layout. My layout must be as short as possible, which is 50dp in Android 10. Problem The view that I'm injecting into my view has margins that cause it to stretch my layout from 50dp to 66dp . Code The foll...
android|android-layout
0
2020-01-29T09:23:30.507Z
2,020
1
9
2
39
2
824
43
2
1
true
false
false
false
false
false
zero
59,964,031
Foreground service not started from BroadcastReceiver after boot
<p>I want to launch a foreground service. When I start the Service from my activity everything works fine. But when I start the service via a BroadcastReceiver at boot/startup the service is never startet.(Maybe it is running and gets destroyed right away. Anyway I cannot see the notification-icon)</p> <p>My phone has...
I want to launch a foreground service. When I start the Service from my activity everything works fine. But when I start the service via a BroadcastReceiver at boot/startup the service is never startet.(Maybe it is running and gets destroyed right away. Anyway I cannot see the notification-icon) My phone has android 10...
android|broadcastreceiver|foreground-service
2
2020-01-29T09:27:26.827Z
2,020
1
9
2
1,632
2
477
64
3
3
true
false
false
false
false
false
low
59,964,073
Kotlin MediaType.parse("something") is an error. moved to extension fucntion
<p>Trying to create JSON type header for OkHttp3</p> <p><code>val JSONtype = MediaType.parse("application/json; charset=utf-8")</code></p> <p>But the following error is coming :</p> <p><em>Using 'parse(String):MediaType?' is an error. moved to extension function</em></p> <p>Shown solution/suggestion:</p> <p><code>...
Trying to create JSON type header for OkHttp3 val JSONtype = MediaType.parse("application/json; charset=utf-8") But the following error is coming : Using 'parse(String):MediaType?' is an error. moved to extension function Shown solution/suggestion: val JSONType = "application/json; charset=utf-8".toMediaTypeOrNull() Do...
android|kotlin|okhttp
8
2020-01-29T09:29:34.517Z
2,020
1
9
2
6,264
4
362
76
3
0
false
false
true
false
false
false
medium
59,964,081
Convert View Rect coordinates to bitmap area
<p>I have camera screen with rectangle(simple view) inside, to make photo the user need to place object inside the rectangle, after taking picture the app need to cut image and show only the area inside rectangle.</p> <ul> <li>From <code>camera2</code> api i receives the image and converting him to <code>bitmap</code>...
I have camera screen with rectangle(simple view) inside, to make photo the user need to place object inside the rectangle, after taking picture the app need to cut image and show only the area inside rectangle. From camera2 api i receives the image and converting him to bitmap . I have the Rectangle coordinates on scre...
android|bitmap|android-camera|android-camera2
1
2020-01-29T09:29:56.957Z
2,020
1
9
2
543
1
672
44
4
1
true
false
false
false
false
false
low
59,964,096
android Q/10 unable to resolve host "URL" issue when connected to SSID which has no internet
<p>I have some SSID which has no internet access, which I'm trying to connect programmatically from the android app. I'm supposed to make few api calls with that SSID though it has no internet. All works fine below <strong>android Q</strong> versions. There is some issue with the android Q version.</p> <p>I'm using Re...
I have some SSID which has no internet access, which I'm trying to connect programmatically from the android app. I'm supposed to make few api calls with that SSID though it has no internet. All works fine below android Q versions. There is some issue with the android Q version. I'm using Retrofit for https communicati...
android|android-wifi|ssid
4
2020-01-29T09:30:41.677Z
2,020
1
9
2
343
1
958
92
3
1
true
false
false
false
false
false
low
59,964,173
How to run Linux commands in my Android app?
<p>I want to run a Linux command in my Android app. I mean I'm an Android programmer and I want to commit a command in my codes in Java which I'm writing in Android Studio.</p> <p>For example this is what I want in my codes in Java in Android Studio:</p> <pre><code>ImaginarylinuxClass.theFunctionWhichRunsTheCommands(&q...
I want to run a Linux command in my Android app. I mean I'm an Android programmer and I want to commit a command in my codes in Java which I'm writing in Android Studio. For example this is what I want in my codes in Java in Android Studio: [CODE] I hope I was able to say what I mean. I tried to Google about it but it ...
java|android|linux|shell
0
2020-01-29T09:35:20.063Z
2,020
1
9
2
943
1
410
44
4
1
true
false
false
false
false
false
zero
59,964,210
Could not GET 'http://jcenter.bintray.com/org/.../kotlin-stdlib-jre8-1.2.0.jar'. Received status code 403 from server: Forbidden
<p>When running my app Android Studio is running into a build error. The Error is:</p> <p>Could not GET '<a href="http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.jar" rel="nofollow noreferrer">http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kot...
When running my app Android Studio is running into a build error. The Error is: Could not GET ' http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.jar '. Received status code 403 from server: Forbidden I am unsure what the cause of this is and I haven't found a solution re...
android|gradle|kotlin
1
2020-01-29T09:37:37.563Z
2,020
1
9
2
6,233
2
581
128
3
0
false
false
true
false
false
false
low
59,964,265
Plugins folder not copied to android folder after using capacitor run android - Ionic 4
<p>I installed the following lines below:</p> <pre><code>ionic cordova plugin add cordova-plugin-facebook4 install @ionic-native/facebook npx cap sync android </code></pre> <p>It generates a folder plugins/cordova-plugin-facebook4</p> <p>But when I run the codes in the android studio emulator it always return</p> <...
I installed the following lines below: [CODE] It generates a folder plugins/cordova-plugin-facebook4 But when I run the codes in the android studio emulator it always return [CODE] I think the folder plugins did not copy to the android folder, any help thank you
android|cordova|ionic4|capacitor
-1
2020-01-29T09:40:22.363Z
2,020
1
9
2
640
2
262
87
4
2
true
false
false
false
false
true
negative
59,964,298
`TypeError: cannot write property 'implementation' of undefined` error in frida
<p>I am trying to inject the below script using frida </p> <pre><code>setImmediate(function() { //prevent timeout console.log("[*] Starting script"); Java.perform(function() { var bClass = Java.use("sg.vantagepoint.uncrackable1.a"); bClass.onClick.implementation = function(v) { console.l...
I am trying to inject the below script using frida [CODE] Throws the below error [CODE] command i am using frida -U -l inject.js owasp.mstg.uncrackable1 Below one is the decompiled code of the apk file. [CODE]
instrumentation|android-instrumentation|frida
1
2020-01-29T09:42:17.160Z
2,020
1
9
2
2,670
2
209
79
3
3
true
false
true
false
false
false
low
59,964,301
Uploading Image from android file system to Firebase Storage
<p>I am currently creating a page that allows users to take pictures of both their identity card and selfie of themselves, however, i am not able to get the files from the file system to upload it using submitpicture().</p> <p>Here is my typescript code:</p> <pre><code>import { Component, OnInit } from '@angular/core...
I am currently creating a page that allows users to take pictures of both their identity card and selfie of themselves, however, i am not able to get the files from the file system to upload it using submitpicture(). Here is my typescript code: [CODE] I was wondering if it is possible to get the image from the android ...
android|angular|firebase|ionic4|firebase-storage
0
2020-01-29T09:42:26.487Z
2,020
1
9
2
92
0
502
60
5
1
true
true
false
false
false
false
zero
59,964,443
After clicking on the link from sheets API, localhost refuses to connect
<p>I get an error below which doesn't allow localhost to connect after configuring sheets API and attempting authorization.</p> <p>I allowed my google account through quickstart etc, but it happens after all the privilege allowances are accepted.</p> <blockquote> <p>This site can’t be reached localhost refused to c...
I get an error below which doesn't allow localhost to connect after configuring sheets API and attempting authorization. I allowed my google account through quickstart etc, but it happens after all the privilege allowances are accepted. This site can’t be reached localhost refused to connect. Search Google for localhos...
java|android|api|google-sheets
0
2020-01-29T09:50:59.993Z
2,020
1
9
2
547
0
392
72
4
0
false
true
false
false
false
false
zero
59,964,513
Can't add actions/buttons to PUSH notification
<p>I am using the Firebase <a href="https://firebase.google.com/docs/reference" rel="nofollow noreferrer">Admin SDK (Java)</a> to send push notifications to Android devices. This all is working fine.</p> <p>I'm looking to add an action button for notifications. <a href="https://firebase.googleblog.com/2018/05/web-noti...
I am using the Firebase Admin SDK (Java) to send push notifications to Android devices. This all is working fine. I'm looking to add an action button for notifications. Example from this of desired outcome (which is for web push) Problem I can't find anything in the SDK to add actions to a notifications. Has anyone use...
java|android|firebase|firebase-cloud-messaging
0
2020-01-29T09:54:41.943Z
2,020
1
9
2
415
1
377
46
4
0
false
false
false
false
false
false
zero
59,964,645
Jenkins unable to download xamarin dependency from dl.google.com / maven.google.com
<p>Jenkins unable to download xamarin dependency from dl.google.com / maven.google.com</p> <p><em>Download failure reason: Unable to connect to the remote server</em></p> <p><strong>Project stack</strong> Dotnet Xamarin android application</p> <p><strong>Error</strong></p> <p><div class="snippet" data-lang="js" d...
Jenkins unable to download xamarin dependency from dl.google.com / maven.google.com Download failure reason: Unable to connect to the remote server Project stack Dotnet Xamarin android application Error [CODE] I have tried configured corporate proxy in Jenkins. it works on the proxy configuration page but throws an err...
xamarin|jenkins|xamarin.forms|xamarin.android|nuget
4
2020-01-29T10:02:21.433Z
2,020
1
10
2
199
0
372
83
5
1
true
true
false
false
false
false
low
59,964,756
Launch Android App from other Android App without losing current state while in background in Android Native
<p>Consider there are two Android Native Apps "A" and "B" having Activities as A1, A2, A3 and B1, B2, B3 respectively where A1 and B1 are the Launcher Activities for respective Applications</p> <p>Use Case: App <strong>"A"</strong> is Launched and user navigates to <strong>A2</strong> from <strong>A1</strong> and puts...
Consider there are two Android Native Apps "A" and "B" having Activities as A1, A2, A3 and B1, B2, B3 respectively where A1 and B1 are the Launcher Activities for respective Applications Use Case: App "A" is Launched and user navigates to A2 from A1 and puts the app in background User now opens App "B" and navigates to...
android|android-lifecycle|activity-lifecycle
0
2020-01-29T10:08:55.647Z
2,020
1
10
2
250
0
871
108
3
2
true
true
false
false
false
false
zero
59,964,834
Submitting webview of own application on playstore
<p>I have a website and it is responsive to small devices also, so I wanted to publish its webview but google play store is rejecting the application by saying - "We don’t allow apps whose primary purpose is to provide a webview of a website, regardless of ownership, or to aggregate content that does not belong to the ...
I have a website and it is responsive to small devices also, so I wanted to publish its webview but google play store is rejecting the application by saying - "We don’t allow apps whose primary purpose is to provide a webview of a website, regardless of ownership, or to aggregate content that does not belong to the dev...
android|webview|google-play|google-play-services
1
2020-01-29T10:13:59.113Z
2,020
1
10
2
1,456
1
1,166
50
4
0
false
false
false
false
false
false
low
59,964,871
How to fix the enter key?
<p><a href="https://i.stack.imgur.com/uc1z2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uc1z2.png" alt="enter image description here"></a></p> <p>I am creating an app for Android. <kbd>Enter</kbd> key does not work. I don't know what happened. It does not make a new line. The problem is on Andr...
I am creating an app for Android. Enter key does not work. I don't know what happened. It does not make a new line. The problem is on Android studio only.
android-studio
-1
2020-01-29T10:16:03.780Z
2,020
1
10
2
302
1
154
25
1
0
false
false
false
false
false
true
negative
59,964,956
fontFeatureSettings=smcp doesn't work in Android
<p>I need to show SmallCaps text in TextView. I am trying to use code below:</p> <pre><code>&lt;TextView android:id="@+id/text1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:fontFeatureSettings="smcp" android:textColor="@color/black" a...
I need to show SmallCaps text in TextView. I am trying to use code below: [CODE] But it just shows me normal text, without SmallCaps effect. I also try to set it programmatically ( text1.fontFeatureSettings = "smcp" ) but also without success. How to make SmallCaps text in Android? Why fontFeatureSettings doesn't work?
android|smallcaps
2
2020-01-29T10:19:59.857Z
2,020
1
10
2
988
2
320
48
2
1
true
false
false
false
false
false
low
59,965,003
On clearing the data in search view, it should erase the filtered list and populate the original list
<p>HomeFragment.kt</p> <pre><code> override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): View? { return setupBindings(inflater, container, savedInstanceState) } override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewC...
HomeFragment.kt [CODE] I have written setOnQueryTextListener in the Fragment. When I run the app, it is working only once. But how do I erase the filtered list and populate the original list everytime i clear the data from search bar and filter again when the new data is typed. I wrote the search function in viewmodel....
android|kotlin|searchview
0
2020-01-29T10:22:10.140Z
2,020
1
10
2
64
1
422
101
3
2
true
false
false
false
false
false
zero
59,965,013
How can I use `if` in an adb run-as command?
<p>I want to check if there is a file in an Android app's private storage through adb, so I have to use <code>run-as &lt;packagename&gt;</code> in the command. </p> <p>But it does not even let me use the <code>if</code> statement: </p> <pre><code>adb exec-out "run-as myPackage "if true; then echo HELLO; fi"" </code><...
I want to check if there is a file in an Android app's private storage through adb, so I have to use run-as <packagename> in the command. But it does not even let me use the if statement: [CODE] gives run-as: exec failed for if: Permission denied . [CODE] (without the run-as ) gives: HELLO , as expected. How can I use ...
android|adb
0
2020-01-29T10:22:59.957Z
2,020
1
10
2
46
1
357
44
2
2
true
false
false
false
false
false
zero
59,965,042
How to correctly create and use Android global variables?
<p>I have an application whose different activities need an access to many values that could be stored in a <strong>global variable</strong> in order to know which views should be visible and/or enabled. It is a kind of views-visibility variable. The thing is that I want to save all those visibility values in the diffe...
I have an application whose different activities need an access to many values that could be stored in a global variable in order to know which views should be visible and/or enabled. It is a kind of views-visibility variable. The thing is that I want to save all those visibility values in the different attributes of t...
android|singleton|global-variables|static-classes
0
2020-01-29T10:24:50.810Z
2,020
1
10
2
80
0
966
57
4
0
false
true
false
false
false
false
zero
59,965,069
AsyncTask with ArrayList as return type
<p>I am trying to return an ArrayList from an AsyncTask. But in main activity i am not able to get the returned arraylist. I want to know the way to call the asynctask so that i can get the returned arraylist.</p> <p>This is the AsyncTask -</p> <pre><code>public class GetBannerDB extends AsyncTask&lt;Void, Void, Arra...
I am trying to return an ArrayList from an AsyncTask. But in main activity i am not able to get the returned arraylist. I want to know the way to call the asynctask so that i can get the returned arraylist. This is the AsyncTask - [CODE] In MainActivity, i am calling the output as -- [CODE] But here i am getting error ...
java|android
1
2020-01-29T10:26:40.360Z
2,020
1
10
2
52
1
531
39
2
4
true
false
false
false
false
false
low
59,965,080
Google maps plotting multiple markers from firebase database
<p>Getting trouble of plotting my markers on maps , im able to fetch my Latitude and Longitude of my users from firebase and store it to my arraylist , my problem is how im i able to set my arraylist globally? here is my code . </p> <pre><code>public class MapsActivity extends FragmentActivity implements OnMapReadyCal...
Getting trouble of plotting my markers on maps , im able to fetch my Latitude and Longitude of my users from firebase and store it to my arraylist , my problem is how im i able to set my arraylist globally? here is my code . [CODE] I have no idea what is wrong with this thing , somehow my map is showing no marker and m...
java|android
0
2020-01-29T10:27:19.887Z
2,020
1
10
2
99
1
468
60
2
1
true
false
false
false
false
false
zero
59,965,134
Problems with zip function in rxjava2
<p>It seems the zip function doesnt do anything.The LOG of requests with TAG INSIDE prints out the observables but is empty OUTSIDE.In the zip function LOG calls dont do anything. getPosts returns the list of ids. I`m a beginner in Android so maybe I bit more than I can chew with Rxjava,but apparently this is the best ...
It seems the zip function doesnt do anything.The LOG of requests with TAG INSIDE prints out the observables but is empty OUTSIDE.In the zip function LOG calls dont do anything. getPosts returns the list of ids. I`m a beginner in Android so maybe I bit more than I can chew with Rxjava,but apparently this is the best sol...
java|android|retrofit|rx-java2
-1
2020-01-29T10:30:01.153Z
2,020
1
10
2
67
1
524
37
4
2
true
false
false
false
false
true
negative
59,965,151
Ram usage increases after replacing fragment android
<pre><code>FragmentManager fragmentManager = null; Fragment fragment = null; fragment = HomePlaceholder.getFragment(position); fragmentManager = getSupportFragmentManager(); fragmentManager.beginTransaction() .replace(android.R.id.tabcontent, fragment).commit(); </code></pre> <p>Ram usage increases after replacing fra...
[CODE] Ram usage increases after replacing fragment android
java|android
0
2020-01-29T10:30:45.403Z
2,020
1
10
2
23
0
59
52
2
1
true
true
false
false
false
false
zero
59,965,156
How to improve RxJava code to API and local cache?
<p>I have this code where I get photos from the cache and then after that I need to get photos from API.</p> <pre><code>Disposable disposable = photosCacheRepository.getPhotoAttachments(workOrderId) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(photoA...
I have this code where I get photos from the cache and then after that I need to get photos from API. [CODE] How I can improve this code? I do not want to create two disposables as I did. Any other feedback or improvement is more than welcome.
android|rx-java|rx-java2
0
2020-01-29T10:31:10.563Z
2,020
1
10
2
49
1
243
50
3
1
true
false
false
false
false
false
zero
59,965,336
Calling method on navigation host fragment inside MainActivity
<p>I am developing my first Android app and I know that architecture could be a bit messy. I am using new Jetpack navigation in android. I have a navigation drawer where I added a recycler view from where the user can select the item in the recycler view and based on that main navigation host fragment should scroll to ...
I am developing my first Android app and I know that architecture could be a bit messy. I am using new Jetpack navigation in android. I have a navigation drawer where I added a recycler view from where the user can select the item in the recycler view and based on that main navigation host fragment should scroll to a s...
android|android-fragments|android-jetpack|android-jetpack-navigation
2
2020-01-29T10:41:42.710Z
2,020
1
10
2
4,721
1
1,203
62
4
6
true
false
true
false
false
false
low
59,965,462
Trouble Using Edit Search Function in Recycler View with Cards
<p>I am trying to search through a recycler view with cards by allowing a user to search. When the user searches, the cards should "reorganize" to show according to the characters entered by the user. I have tried to do this but am having issues doing this. Any assistance is appreciated. </p> <p>MainActivity.kt</p> <...
I am trying to search through a recycler view with cards by allowing a user to search. When the user searches, the cards should "reorganize" to show according to the characters entered by the user. I have tried to do this but am having issues doing this. Any assistance is appreciated. MainActivity.kt [CODE]
android|kotlin|android-recyclerview|android-search
0
2020-01-29T10:48:38.660Z
2,020
1
10
2
102
2
308
62
4
1
true
false
false
false
false
false
zero
59,965,463
Any alternative to bindGlBufferToTensor in Tensorflow Lite 2.0+?
<p>I am developing an app, which tries to apply network inference to camera output in realtime. The most "advanced" technique I could find in tutorials was to capture the camera frame via GlSurfaceView, dump the frame into SSBO with some simple OpenCL shader, then run inference, setting SSBO as an input tensor.</p> <p...
I am developing an app, which tries to apply network inference to camera output in realtime. The most "advanced" technique I could find in tutorials was to capture the camera frame via GlSurfaceView, dump the frame into SSBO with some simple OpenCL shader, then run inference, setting SSBO as an input tensor. However, t...
android|camera|opencl|tensorflow-lite
4
2020-01-29T10:48:46.583Z
2,020
1
10
2
228
0
846
64
4
0
false
true
false
false
false
false
low
59,965,544
How to pass WebResourceResponse with "redirect" code to Android WebView in WebViewClient.shouldInterceptRequest?
<p>In order to access response headers (get specific header value) we have to <a href="https://developer.android.com/reference/android/webkit/WebViewClient#shouldInterceptRequest(android.webkit.WebView,%20android.webkit.WebResourceRequest)" rel="nofollow noreferrer">intercept</a> HTTP requests in WebView, perform the d...
In order to access response headers (get specific header value) we have to intercept HTTP requests in WebView, perform the downloading of HTTP resources by ourselves and return a result as a WebResourceResponse instance: [CODE] However the codes within 300-399 are not accepted : [CODE] Is there any proper way to make W...
java|android|http|webview
0
2020-01-29T10:53:55.187Z
2,020
1
10
2
1,420
2
550
112
4
2
true
false
false
false
false
false
zero
59,965,560
Is it possible to detect if an app in AppStore is developed with React Native?
<p>For Android there are a few decompiling applications such as Show Java. We are able to understand which platform used for the development of that Android app. Is there any way to understand if an iOS app developed by React Native or not ? Or can we detect which platform used to develop that iOS app ?</p>
For Android there are a few decompiling applications such as Show Java. We are able to understand which platform used for the development of that Android app. Is there any way to understand if an iOS app developed by React Native or not ? Or can we detect which platform used to develop that iOS app ?
android|ios|react-native|mobile|app-store
0
2020-01-29T10:55:04.210Z
2,020
1
10
2
848
1
301
78
5
0
false
false
false
false
false
false
zero
59,965,595
BLE status GATT_CONN_TERMINATE_PEER_USER if BLE Server is running on Android 6
<p>I have developed both BLE server and BLE client for android which work on different android device. This is how it works 1. Client connects to server 2. Data is exchanging fine 3. After a while (1 minute) connection is lost and on the client side I am getting connection status <code>GATT_CONN_TERMINATE_PEER_USER(19)...
I have developed both BLE server and BLE client for android which work on different android device. This is how it works 1. Client connects to server 2. Data is exchanging fine 3. After a while (1 minute) connection is lost and on the client side I am getting connection status GATT_CONN_TERMINATE_PEER_USER(19) . This h...
android|bluetooth-lowenergy
1
2020-01-29T10:58:03.893Z
2,020
1
10
2
1,235
1
419
78
2
0
false
false
false
false
false
false
low
59,965,704
SupportLifecycleFragmentImpl automatically add fragment when enable location using google dialog
<blockquote> <p><code>SupportLifecycleFragmentImpl</code> automatically add fragment when enable location using google dialog.</p> </blockquote> <p>When calling location on and when it shows dialog for turning on location it automatically adds fragment. When calling getFragmentManager().getFragments() it shows a n...
SupportLifecycleFragmentImpl automatically add fragment when enable location using google dialog. When calling location on and when it shows dialog for turning on location it automatically adds fragment. When calling getFragmentManager().getFragments() it shows a new fragment it added automatically with tag SupportLife...
android|android-fragments|google-api|location|back-stack
3
2020-01-29T11:04:58.570Z
2,020
1
11
2
621
1
402
96
5
1
true
false
false
false
false
false
low
59,965,815
Firestore application crash when retrieving data
<p>When I want to load specific field into ArrayMap onCreate of the activity the app crash and when i want to see log the field exist but after retrieving the data, my app crashes.</p> <p>Here is the pseudo code:</p> <pre><code>private void loadData() { mStorageRef = FirebaseStorage.getInstance().getReference(&...
When I want to load specific field into ArrayMap onCreate of the activity the app crash and when i want to see log the field exist but after retrieving the data, my app crashes. Here is the pseudo code: [CODE]
android|firebase|google-cloud-firestore
-1
2020-01-29T11:12:00.450Z
2,020
1
11
2
487
2
209
48
3
1
true
false
false
false
false
true
negative
59,965,922
Nativescript-vue save cookies on Android
<p>I'm creating a simple webview app using nativescript-vue where there is nothing else in the app except the webview that loads a website fullscreen.</p> <p>On iOS it works great, I can log in to the website turn the app off and on and I'm still logged in.</p> <p>On Android, the cookies are not saved and you have to...
I'm creating a simple webview app using nativescript-vue where there is nothing else in the app except the webview that loads a website fullscreen. On iOS it works great, I can log in to the website turn the app off and on and I'm still logged in. On Android, the cookies are not saved and you have to log in again every...
android|webview|android-webview|nativescript|nativescript-vue
0
2020-01-29T11:18:04.223Z
2,020
1
11
2
445
2
404
40
5
0
false
false
false
false
false
false
zero
59,965,969
Caused by: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase
<p>I have this problem with Room, which detected by Yandex Metrica on devices with first install from Market, so it can't be a migration issue. I also tested it on different real and AVD devices and couldn't reproduce it. According to Yandex Metrica logs this issue can be reproduced on android versions from 5.0.1 to 9....
I have this problem with Room, which detected by Yandex Metrica on devices with first install from Market, so it can't be a migration issue. I also tested it on different real and AVD devices and couldn't reproduce it. According to Yandex Metrica logs this issue can be reproduced on android versions from 5.0.1 to 9. Ro...
java|android|android-room|illegalstateexception
1
2020-01-29T11:21:40.417Z
2,020
1
11
2
362
1
1,130
103
4
3
true
false
false
false
false
false
low
59,965,972
Is Flutter works for system activities like in Android?
<p>I have a project in Android Studio, in which I implemented custom default dialer, dialing screen (features like mute, loudspeaker, hold, keypad, etc. during a call), play sounds from earpiece during a call. I also implemented services like the broadcast listener, integrated it with Firebase Machine Learning. I want...
I have a project in Android Studio, in which I implemented custom default dialer, dialing screen (features like mute, loudspeaker, hold, keypad, etc. during a call), play sounds from earpiece during a call. I also implemented services like the broadcast listener, integrated it with Firebase Machine Learning. I want to ...
android|flutter|flutter-dependencies
0
2020-01-29T11:21:45.560Z
2,020
1
11
2
37
0
451
55
3
0
false
true
false
false
false
false
zero
59,966,001
Epson printer 32 bit & 64 bit policy issue
<p>We are using the Epson printer in our android application, While we are trying to upload into play store the following error has been created.</p> <pre><code>&gt; "The release is not compliant with the Google Play 64-bit requirement." </code></pre> <p>To convert 64 bit we added </p> <blockquote> <p>ndk.abiFilte...
We are using the Epson printer in our android application, While we are trying to upload into play store the following error has been created. [CODE] To convert 64 bit we added ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64' Then the following error has happened [CODE] Printer Concept works fine for 32 bit but ...
android|printing|sdk|epson
0
2020-01-29T11:22:59.750Z
2,020
1
11
2
51
1
380
42
4
2
true
false
false
false
false
false
zero
59,966,040
Xamarin forms : Event Handler with correct signature not found in Type ,
<p>After updating to xamarin forms 4.4 we are facing this issue, Updated from xamarin forms forms 3.0 to 4.4 , Any suggestion?</p>
After updating to xamarin forms 4.4 we are facing this issue, Updated from xamarin forms forms 3.0 to 4.4 , Any suggestion?
xamarin|xamarin.forms|xamarin.android|xamarin.ios|monodevelop
0
2020-01-29T11:25:25.953Z
2,020
1
11
2
1,053
1
123
72
5
0
false
false
false
false
false
false
zero
59,966,157
Gradle sync failed: Could not find method defaultConfig()
<p>In the first instance my problem was Cause 1: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade</p> <p>but this has escalated since then and now my gradle is broken. this is the error I am getting...
In the first instance my problem was Cause 1: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade but this has escalated since then and now my gradle is broken. this is the error I am getting: [CODE] ev...
android|android-studio|gradle|kotlin
1
2020-01-29T11:30:27.817Z
2,020
1
11
2
1,903
3
568
57
4
4
true
false
false
false
false
false
low
59,966,172
listview with gridview inside scrollview android
<p>i have a situation there is gridview when scrolling downward reach the last item listview visibillity to be visible and gridview to be gone when scrolling upward listView visibility to be gone and gridview to be visible</p>
i have a situation there is gridview when scrolling downward reach the last item listview visibillity to be visible and gridview to be gone when scrolling upward listView visibility to be gone and gridview to be visible
android|android-listview|android-scrollview|android-gridview
0
2020-01-29T11:31:27.980Z
2,020
1
11
2
54
0
219
48
4
0
false
true
false
false
false
false
zero
59,966,420
RSocket resume session/stream after connection is lost
<p>I am using RSocket channel and trying to implement resume functionality, in case the connection to the server is lost. After trying different combinations of resume(), resumeSessionDuration(), resumeStreamTimeout() and resumeCleanupOnKeepAlive() /documentation: <a href="https://javadoc.io/static/io.rsocket/rsocket-c...
I am using RSocket channel and trying to implement resume functionality, in case the connection to the server is lost. After trying different combinations of resume(), resumeSessionDuration(), resumeStreamTimeout() and resumeCleanupOnKeepAlive() /documentation: https://javadoc.io/static/io.rsocket/rsocket-core/1.0.0-RC...
android|sockets|resume|reactive-streams|rsocket
3
2020-01-29T11:45:33.077Z
2,020
1
11
2
560
0
783
54
5
2
true
true
false
false
false
false
low
59,966,436
Is there any way to detect single color plane, in Arcore to place objects?
<p>I have been looking at the <a href="https://codelabs.developers.google.com/codelabs/sceneform-intro/#0" rel="nofollow noreferrer">Introduction to Sceneform example from code lab</a>. Everything works but I want to detect single (solid) colour planes as well. As I know ARcore can detect planes only with some pattern ...
I have been looking at the Introduction to Sceneform example from code lab . Everything works but I want to detect single (solid) colour planes as well. As I know ARcore can detect planes only with some pattern or strongly contrasting wall surfaces. Is there any way to detect a single colour plane or a manual way to pl...
android|arcore|sceneform
0
2020-01-29T11:46:43.620Z
2,020
1
11
2
280
1
413
74
3
0
false
false
false
false
false
false
zero
59,966,457
Custom visibility xml params
<p>I want to create a new xml parameter for one of my custom views to handle the visibility of something within it. I can do it other ways of course, but I would like to do it in a way that I can use normal android params to change it. </p> <p>something like:</p> <pre><code>&lt;MyCustomView android:layout...
I want to create a new xml parameter for one of my custom views to handle the visibility of something within it. I can do it other ways of course, but I would like to do it in a way that I can use normal android params to change it. something like: [CODE] so I coulg just do [CODE] I tried because visibilities are integ...
android|view|visibility|custom-attributes
0
2020-01-29T11:48:28.853Z
2,020
1
11
2
501
1
547
28
4
5
true
false
false
false
false
false
zero
59,966,625
How to write select query for multiple column in a room database?
<p>I want to get filtered record base on multiple columns("race","flavors").</p> <p>You can see below image of database where red box is item_type and blue box where you can see item_flavors. <a href="https://i.stack.imgur.com/8zmwL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8zmwL.png" alt="ent...
I want to get filtered record base on multiple columns("race","flavors"). You can see below image of database where red box is item_type and blue box where you can see item_flavors. Now I wanted to get all "sativa" (item_type) with all of this "Citrus","Berry","Nutty"(item_flavors). And for this I wrote this query. [CO...
android|android-sqlite|android-room
0
2020-01-29T11:58:58.343Z
2,020
1
11
2
1,043
2
445
65
3
1
true
false
false
false
false
false
zero
59,966,668
Why does `fontFamily` work on `TextView` but not on `Switch`?
<p>I am trying to use <a href="https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml" rel="nofollow noreferrer">XML fonts in Android</a>. I have two views, one <code>TextView</code>:</p> <pre><code>&lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:te...
I am trying to use XML fonts in Android . I have two views, one TextView : [CODE] And one Switch : [CODE] Put underneath each other, this is what they look like: The TextView picks up the font, the Switch does not. Switch inherits from TextView , so I'm at a bit of a loss why this doesn't work. If I do switch.setTypefa...
android|android-layout
0
2020-01-29T12:01:35.400Z
2,020
1
12
2
64
2
474
61
2
2
true
false
false
false
false
false
zero
59,966,735
Google maps Markers Titles Showing is full list
<p>Im working with google maps project now and im fetching my data from firebase ,im able to plot multiple markers with the help of all the kind developers in this site, one thing is when plotting those markers my markers title are the same , the "same" means that all my markers have the same Title please see my image<...
Im working with google maps project now and im fetching my data from firebase ,im able to plot multiple markers with the help of all the kind developers in this site, one thing is when plotting those markers my markers title are the same , the "same" means that all my markers have the same Title please see my image [CO...
java|android
0
2020-01-29T12:05:13.187Z
2,020
1
12
2
45
1
477
47
2
1
true
false
false
false
false
false
zero
59,966,758
How to select a word or multiple words from a sentence in a container and perform an action with the chosen word in flutter
<p>I am trying to select a word or multiple words from a sentence for eg; Tom had a red hat.</p> <p>I wanted to choose a hat or red or any of the other words from the sentence and perform an action on the chosen word. I can't seem to understand how i would be able to do that. I have tried it by assigning each word a ...
I am trying to select a word or multiple words from a sentence for eg; Tom had a red hat. I wanted to choose a hat or red or any of the other words from the sentence and perform an action on the chosen word. I can't seem to understand how i would be able to do that. I have tried it by assigning each word a button. But ...
android|ios|flutter
0
2020-01-29T12:06:35.190Z
2,020
1
12
2
219
0
460
123
3
0
false
true
false
false
false
false
zero
59,966,768
Blurring a Rect within a screenshot
<p>I'm developing an Android app which uses a background <code>Service</code> to programmatically capture a screenshot of whatever is on the screen currently. I obtain the screenshot as a <code>Bitmap</code>.</p> <p>Next, I successfully imported <a href="https://docs.opencv.org/2.4/doc/tutorials/introduction/android_b...
I'm developing an Android app which uses a background Service to programmatically capture a screenshot of whatever is on the screen currently. I obtain the screenshot as a Bitmap . Next, I successfully imported OpenCV into my Android project. What I need to do now is blur a subset of this image, i.e. not the entire ima...
android|opencv|android-bitmap|gaussianblur
7
2020-01-29T12:07:16.927Z
2,020
1
12
2
696
2
1,285
35
4
0
false
false
false
false
false
false
medium
59,966,857
File Creation fail depending on Uri
<p>I am trying to create <code>File</code> from Uri comes from an android gallery so that I can upload it to the server.</p> <pre><code>File file = FileUtils.getFile(getContext(), image_uri); </code></pre> <p>But depending on image URI, it works or it doesn't work.(file return null)</p> <p>This works.</p> <pre><cod...
I am trying to create File from Uri comes from an android gallery so that I can upload it to the server. [CODE] But depending on image URI, it works or it doesn't work.(file return null) This works. [CODE] This doesn't [CODE] Only diffrence between two is first one is photo that was taken by device, the other is photo ...
android|file|uri|google-photos
0
2020-01-29T12:12:15.100Z
2,020
1
12
2
74
0
460
35
4
4
true
true
false
false
false
false
zero
59,966,876
How to get address from current location from setMyLocationEnabled(true);
<p>In my project I used <strong>Google Maps Activity</strong> and to get the user's current location I used <code>setMyLocationEnabled(this);</code> method to get the location. And when I tried to fetch the latitude and longitude from that location it throws a error says null object reference. </p> <p>I looked for man...
In my project I used Google Maps Activity and to get the user's current location I used setMyLocationEnabled(this); method to get the location. And when I tried to fetch the latitude and longitude from that location it throws a error says null object reference. I looked for many videos in YouTube and examined many ques...
java|android|google-maps|reverse-geocoding
0
2020-01-29T12:13:24.877Z
2,020
1
12
2
348
2
676
73
4
0
false
false
false
false
false
false
zero
59,966,932
How to pass parameters in a request?
<p>I try to put data from the NewOrderRequest(pojo) class into the parameters :</p> <pre><code> @Query("params") NewOrderRequest params </code></pre> <p><strong>but I get this result:</strong> </p> <p><em>resultQueryString: params com.example.city.Model.NewOrderRequest@f45c8ad</em></p> <p><strong>expectation result...
I try to put data from the NewOrderRequest(pojo) class into the parameters : [CODE] but I get this result: resultQueryString: params com.example.city.Model.NewOrderRequest@f45c8ad expectation result: resultQueryString: params +911 Data setting: [CODE] Request: [CODE] Please tell me how to pass the phone to the paramete...
java|android|jquery|retrofit|retrofit2
0
2020-01-29T12:17:32.157Z
2,020
1
12
2
96
3
322
36
5
3
true
false
false
false
false
false
zero
59,966,987
ARCore - Sceneform - popup view on top of Supermarket product
<p>how can i display a custom view near a supermarket product using SceneForm.</p> <p>Most sample display the object on a plane surface. Is there anyway to display it near a certain position with a fixed height and width ?</p>
how can i display a custom view near a supermarket product using SceneForm. Most sample display the object on a plane surface. Is there anyway to display it near a certain position with a fixed height and width ?
android|arcore|sceneform
0
2020-01-29T12:22:01.437Z
2,020
1
12
2
57
1
212
61
3
0
false
false
false
false
false
false
zero
59,967,030
Flutter Plugin With Kotlin, Activity always returns null
<p>I am trying to access the activity reference in a Flutter Plugin written in Kotlin when I press my FAB within Flutter.</p> <p>My class is <code>ActivityAware</code></p> <p>Here is the code: Kotlin:</p> <pre><code> lateinit var myActivity: Activity //Method called by ActivityAware plugins to fetch the activi...
I am trying to access the activity reference in a Flutter Plugin written in Kotlin when I press my FAB within Flutter. My class is ActivityAware Here is the code: Kotlin: [CODE] The dart code (Flutter): [CODE]
android|kotlin|flutter|android-activity
1
2020-01-29T12:24:07.750Z
2,020
1
12
2
1,019
1
209
56
4
2
true
false
false
false
false
false
low
59,967,064
Moshi + Retrofit - Handling JSON Response
<p>How do I display the json response in the XML, </p> <p>I am getting the json response for response.body().toString() as expected. I am not sure how do get the value from the JSON. </p> <p>But I am not sure how do I iterate through the json values. </p> <pre><code>{ "data": [ { "id": 4, ...
How do I display the json response in the XML, I am getting the json response for response.body().toString() as expected. I am not sure how do get the value from the JSON. But I am not sure how do I iterate through the json values. [CODE] I was using the http://www.jsonschema2pojo.org/ to convert the json [CODE] ------...
java|android|json|retrofit|moshi
1
2020-01-29T12:25:57.400Z
2,020
1
12
2
840
1
965
41
5
7
true
false
false
false
false
false
low
59,967,115
Question about writing gravity code in a 2D game
<p>I'm a beginner and following a tutorial to code flappy bird in android studio. I have 2 questions about the code below. The first frame the bird falls 10 pixels(=GRAVITY). Then the amount of frames is multiplied with the 10 pixels each frame so he falls faster each frame. But what's the use of velocity.scl(1/dt)? It...
I'm a beginner and following a tutorial to code flappy bird in android studio. I have 2 questions about the code below. The first frame the bird falls 10 pixels(=GRAVITY). Then the amount of frames is multiplied with the 10 pixels each frame so he falls faster each frame. But what's the use of velocity.scl(1/dt)? It's ...
java|android-studio|libgdx|game-physics|2d-games
0
2020-01-29T12:28:54.210Z
2,020
1
12
2
280
1
521
48
5
2
true
false
false
false
false
false
zero
59,967,123
How to enter varible type Fragment in method?
<p>I use a method in the library, but I could not put the right parameter.</p> <pre><code>public class CutFragment extends Fragment { btnPickAudioPath1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { new MaterialFilePicker() .withFragment(CutFr...
I use a method in the library, but I could not put the right parameter. [CODE] This is method in library [CODE] Normally if we specifies activity we will use MainActivity.this, so if specify fragment how we get the Fragment? Thanks. This is the error messages. [CODE] If I use getActivity()
android|fragment
0
2020-01-29T12:29:07.067Z
2,020
1
12
2
72
2
290
45
2
3
true
false
false
false
false
false
zero
59,967,204
How to handle invalid pthread_t passed to libc?
<p>I'm using a library for connecting peripheral device with my Android app and <strong>I don't have any access to the library code</strong>. When I run my app on devices above Android 8, sometimes my app crashes with logs: </p> <pre><code> 2020-01-29 17:16:14.902 4811-5009/com.test.peripheral E/Device: session dis...
I'm using a library for connecting peripheral device with my Android app and I don't have any access to the library code . When I run my app on devices above Android 8, sometimes my app crashes with logs: [CODE] I have already gone through this and other links related to libc crash : Android Oreo 8.0 Native C++ crash: ...
android|android-8.0-oreo|libc
1
2020-01-29T12:33:48.680Z
2,020
1
12
2
939
1
587
47
3
1
true
false
false
false
false
false
low
59,967,253
Why does this animation go back and forth?
<p>I am new to animation in Android and am performing some tests first.</p> <p>So, I created this Activity</p> <pre><code> override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) button.setOnClickListener { ima...
I am new to animation in Android and am performing some tests first. So, I created this Activity [CODE] With this layout: [CODE] When I click on the button it animates the first image perfectly to the second image. What I don't understand is why clicking the button again animates it back to its original position. It se...
android|android-animation
1
2020-01-29T12:36:24.547Z
2,020
1
12
2
181
3
395
42
2
2
true
false
false
false
false
false
low
59,967,281
Calculating oauth_signature and oauth_nonce in Kotlin
<p>I'm developing a twitter android app that has sign-in with twitter feature. Sign-in works great. But my problem is that i want to search for users. I googled it and find the endpoint. </p> <pre><code>https://api.twitter.com/1.1/users/search.json </code></pre> <p>Then i created a retrofit function to get searched u...
I'm developing a twitter android app that has sign-in with twitter feature. Sign-in works great. But my problem is that i want to search for users. I googled it and find the endpoint. [CODE] Then i created a retrofit function to get searched users: [CODE] Then called it from fragment like that: [CODE] Here is generateH...
android|kotlin|twitter|oauth|twitter-oauth
1
2020-01-29T12:38:10.923Z
2,020
1
12
2
623
2
705
53
5
4
true
false
false
false
false
false
low
59,967,522
Fetching images from gallery- able to fetch without any permission
<p>Using below code to fetch images from gallery</p> <pre><code>val intent = Intent() intent.action = Intent.ACTION_PICK intent.type = "image/*" if (multiImageAllowed) intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true) context.startActivityForResult(intent, PICK_IMAGE_GALLERY) </code></pre> <p>When i use this intent,...
Using below code to fetch images from gallery [CODE] When i use this intent, it show me chooser with multiple apps, i select one of the app and get an image, and show it in my app,(i get the image in onActivityResult), these app have their own runtime permission checks. Do i need to add gallery permission check in my a...
android|gallery|android-permissions|android-gallery|user-permissions
1
2020-01-29T12:50:58.740Z
2,020
1
12
2
634
1
709
66
5
1
true
false
false
false
false
false
low
59,967,535
Parse json and get inner object
<p>I need to parse a json on android like:</p> <pre><code>{"header": { "param": "param" }, "body": { "param": "1", "param2": "2", "param3": [ { "param4": "4", "param5": "5" }, { "param6": "6" ...
I need to parse a json on android like: [CODE] My code is: [CODE] It breaks or does not work at all at the moment: [CODE] How can I parse the body tag? Where is the error, tell me? String, Integer, and other types are parsed without problems by this principle. And with json there are more complicated problems
java|android|json|parsing
0
2020-01-29T12:51:41.870Z
2,020
1
12
2
54
1
310
31
4
3
true
false
false
false
false
false
zero
59,967,627
Logcat's top bar is missing
<p>Logcat's top bar is missing in one of my projects.</p> <p><a href="https://i.stack.imgur.com/uLK6X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uLK6X.png" alt="Logcat&#39;s top bar is missing"></a></p> <p>This is the bar I am talking about. <a href="https://i.stack.imgur.com/KpAOM.png" rel="n...
Logcat's top bar is missing in one of my projects. This is the bar I am talking about. I have already tried to restart Android Studio, and restart logging but nothing happens. This happened after I run this commands: [CODE] How can I show this bar again?
android|android-studio|debugging
0
2020-01-29T12:57:07.190Z
2,020
1
12
2
32
2
254
27
3
1
true
false
false
false
false
false
zero
59,967,663
How to place a ring using an augmented image concept
<p>I am working on an AR application in android where I have to place an ring in a finger using the augmented Image concepts.How I can achieve it and also how I surround the ring to the finger.</p>
I am working on an AR application in android where I have to place an ring in a finger using the augmented Image concepts.How I can achieve it and also how I surround the ring to the finger.
android|arcore|sceneform
0
2020-01-29T12:58:22.190Z
2,020
1
12
2
46
1
190
52
3
0
false
false
false
false
false
false
zero
59,967,678
Post an array using retrofit 2
<p><a href="https://i.stack.imgur.com/uIT8c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uIT8c.png" alt="enter image description here"></a></p> <p>I need to post an array of attendees as shown in the image above. I tried using Hashmap but it gives some errors and I don't know if it is server-side...
I need to post an array of attendees as shown in the image above. I tried using Hashmap but it gives some errors and I don't know if it is server-side error or retrofit. Here is my code : API interface [CODE] Response class [CODE] And here is the code of my Activity [CODE] Am I doing everything in the right way? I get ...
android|post|retrofit2
1
2020-01-29T12:59:20.657Z
2,020
1
12
2
45
1
349
30
3
3
true
false
false
false
false
false
low
59,967,757
How to make Firebase user in flutter outside the google sign in function?
<p>I made an app in which you can sign in with a Google account, and I want to have a variable to store whether the user is logged in or not and upload it to Firestore. But to use the update data function, I need to pass in a user object, which is only available in the google sign in function. So how can I make a user ...
I made an app in which you can sign in with a Google account, and I want to have a variable to store whether the user is logged in or not and upload it to Firestore. But to use the update data function, I need to pass in a user object, which is only available in the google sign in function. So how can I make a user out...
android|firebase|flutter|dart
0
2020-01-29T13:04:46.920Z
2,020
1
13
2
252
1
347
73
4
1
true
false
false
false
false
false
zero
59,967,796
How to dispose of disposable in RxJava2.0
<p>I'm new to Rx world and I've seen multiple example of how to dispose of a <code>Disposable</code> but I don't quite understand the difference. I'm using RxJava 2.0 (v2.2.17) and RxAndroid (v2.1.1).</p> <p>My question is what's the difference between case 1 and case 2 ? Which one of those two cases to prefer in your...
I'm new to Rx world and I've seen multiple example of how to dispose of a Disposable but I don't quite understand the difference. I'm using RxJava 2.0 (v2.2.17) and RxAndroid (v2.1.1). My question is what's the difference between case 1 and case 2 ? Which one of those two cases to prefer in your application ? Case 1: [...
kotlin|rx-java2|rx-android
0
2020-01-29T13:07:02.033Z
2,020
1
13
2
1,005
1
340
41
3
2
true
false
false
false
false
false
zero
59,967,882
Taking a photo with camera results in an image file that looks like a thumbnail on Android 10
<p>I have an Android app wrtitten in Java that takes a photo with the camera app and then saves it as a file. Everything is working well on Android KitKat and Lollipop but on Android 10 (Q) the saved file looks more like a thumbnail than a large size picture.</p> <p>To take the picture, I followed the instructions fro...
I have an Android app wrtitten in Java that takes a photo with the camera app and then saves it as a file. Everything is working well on Android KitKat and Lollipop but on Android 10 (Q) the saved file looks more like a thumbnail than a large size picture. To take the picture, I followed the instructions from the Andro...
android|image|camera
0
2020-01-29T13:12:23.310Z
2,020
1
13
2
70
0
829
93
3
3
true
true
false
false
false
false
zero
59,967,886
Dimming an Activity when a FAB is clicked
<p>I have been trying many solutions to dim the Activity background when the onClickListener of my FAB (FloatingActionButton) is clicked.</p> <p>Here is my attempted code that doesn't work because I'm not sure what the 'parent' is:</p> <pre><code>m_fabContactOptions.setOnClickListener(new View.OnClickListener() { ...
I have been trying many solutions to dim the Activity background when the onClickListener of my FAB (FloatingActionButton) is clicked. Here is my attempted code that doesn't work because I'm not sure what the 'parent' is: [CODE]
java|android
1
2020-01-29T13:12:45.733Z
2,020
1
13
2
170
3
228
41
2
1
true
false
false
false
false
false
low
59,967,961
Here Maps SDK: Configuration of marker clustering
<p>is there any way to configure the clustering of markers in the Here Maps Android SDK? By configuration I don't mean the color and/or the icon of the cluster markers but how many markers should be at least clustered together so I don't get many small clusters on a relatively high zoom level.</p> <p>Thanks in advance...
is there any way to configure the clustering of markers in the Here Maps Android SDK? By configuration I don't mean the color and/or the icon of the cluster markers but how many markers should be at least clustered together so I don't get many small clusters on a relatively high zoom level. Thanks in advance!
android|maps|here-api
-1
2020-01-29T13:17:23.300Z
2,020
1
13
2
140
1
310
49
3
0
false
false
false
false
false
true
negative
59,967,984
Can't load .so file stored in a library (aar) from an application project
<h1>0. Problem</h1> <p>I've create an Android library (aar) which contains some so files.</p> <p>After successfully loaded the aar file in my Android application project, I try to load the so files (from the aar classes) but failed with a <code>java.lang.UnsatisfiedLinkError</code>.</p> <p>I think the Android applicati...
0. Problem I've create an Android library (aar) which contains some so files. After successfully loaded the aar file in my Android application project, I try to load the so files (from the aar classes) but failed with a java.lang.UnsatisfiedLinkError . I think the Android application is not looking inside the aar in or...
android|gradle|shared-libraries|android-library|aar
3
2020-01-29T13:18:34.620Z
2,020
1
13
2
3,691
3
1,817
73
5
4
true
false
true
false
false
false
low
59,968,008
Failed to transform artifact 'kotlin-android-extensions.jar
<p>Getting below error after enabling jetifier </p> <p>Execution failed for JetifyTransform: /Users/balwinder/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.3.20/b1016507a951b0cfaae431079ec0ac6847d56d8c/kotlin-android-extensions-1.3.20.jar.</p> <pre><code>the given artifact contai...
Getting below error after enabling jetifier Execution failed for JetifyTransform: /Users/balwinder/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.3.20/b1016507a951b0cfaae431079ec0ac6847d56d8c/kotlin-android-extensions-1.3.20.jar. [CODE] . Version [CODE]
android|gradle|kotlin|build.gradle|android-jetifier
6
2020-01-29T13:19:50.687Z
2,020
1
13
2
625
0
290
59
5
2
true
true
false
false
false
false
medium
59,968,106
Embeddinator-4000 : Method is getting ignored while generating .aar in Visual Studio
<p>I am using visual studio 17 (Windows) and trying to build a .aar file from a Xamarin C# Android Library using embeddinator-4000 tool, but the method using user defined class in parameter or return type is getting ignored by tool and not coming as part of .aar Below is the 2 classes used : </p> <ol> <li>Custom Class...
I am using visual studio 17 (Windows) and trying to build a .aar file from a Xamarin C# Android Library using embeddinator-4000 tool, but the method using user defined class in parameter or return type is getting ignored by tool and not coming as part of .aar Below is the 2 classes used : Custom Class which extend Arra...
c#|android|xamarin|embeddinator
0
2020-01-29T13:26:33.987Z
2,020
1
13
2
187
1
572
84
4
3
true
false
false
false
false
false
zero
59,968,152
react native moment updateLocal fr crush android
<p>I want to translate date to french language using moment library.</p> <p>I create an android build but it crashed when i open the component.</p> <p>My code is : </p> <pre><code>import Moment from 'moment'; // i fixed the error // var moment = require('moment'); //require('moment/locale/fr'); //moment.locale('fr...
I want to translate date to french language using moment library. I create an android build but it crashed when i open the component. My code is : [CODE]
android|react-native|build|momentjs|expo
0
2020-01-29T13:29:31.853Z
2,020
1
13
2
212
1
153
48
5
1
true
false
false
false
false
false
zero
59,968,162
Child fragment of BottomsheetDialogFragment crashes after second attempt opening
<p>I have a fragment which is a child of BottomsheetDialogFragment, inside that fragment I have a google map. At first when I open this fragment using arch components <strong>NavController</strong> it works fine, than if I close this fragment and than try to open it again it crashes. This is the error log</p> <pre><c...
I have a fragment which is a child of BottomsheetDialogFragment, inside that fragment I have a google map. At first when I open this fragment using arch components NavController it works fine, than if I close this fragment and than try to open it again it crashes. This is the error log [CODE] Here is the fragment itsel...
android|android-dialogfragment|android-architecture-components|android-architecture-navigation|android-bottomsheetdialog
1
2020-01-29T13:30:08.130Z
2,020
1
13
2
602
1
418
80
5
4
true
false
false
false
false
false
low
59,968,169
Getting the styled font size of a memo to resize it to its contents' size in Firemonkey on Android
<p>I've tried multiple things that are all present in answers to this question: <a href="https://stackoverflow.com/questions/21836579/">Can I make a TMemo size itself to the text it contains? - Firemonkey</a></p> <ol> <li><p>The top answer with <code>ContentBounds.Height</code> works... on Windows. But it does not wor...
I've tried multiple things that are all present in answers to this question: Can I make a TMemo size itself to the text it contains? - Firemonkey The top answer with ContentBounds.Height works... on Windows. But it does not work on Android. It's always one key press behind. Every time I press a key (be it Enter or 'f' ...
android|delphi|firemonkey
1
2020-01-29T13:30:29.313Z
2,020
1
13
2
334
0
1,254
98
3
0
false
true
false
false
false
false
low
59,968,229
How to implement a custom MIME type for ACTION_OPEN_DOCUMENT intent?
<p>I am using a ACTION_OPEN_DOCUMENT intent to launch a system file picker. The user is supposed to be selecting a "gpx" file (blabla.gpx). </p> <p>I would like to have the picker only allow files with a ".gpx" extension to be selected.</p> <p>There is a MIME type of "application/gpx+xml", but when I specify that in ...
I am using a ACTION_OPEN_DOCUMENT intent to launch a system file picker. The user is supposed to be selecting a "gpx" file (blabla.gpx). I would like to have the picker only allow files with a ".gpx" extension to be selected. There is a MIME type of "application/gpx+xml", but when I specify that in the intent's settype...
java|android|mime
1
2020-01-29T13:34:22.487Z
2,020
1
13
2
2,055
3
660
68
3
0
false
false
false
false
false
false
low
59,968,236
How to Specify Storing Path in AWS Amplify in Android.?
<p>I'm able to store files with the AWS Amplify Storage category. However, they all are being stored in the top of the public folder in my bucket. How do I specify a path inside the public folder?</p> <p>I referenced both the <a href="https://aws-amplify.github.io/docs/js/storage" rel="nofollow noreferrer">JavaScript<...
I'm able to store files with the AWS Amplify Storage category. However, they all are being stored in the top of the public folder in my bucket. How do I specify a path inside the public folder? I referenced both the JavaScript and Android documentation for Amplify storage. Here's my code. [CODE]
android|amazon-s3|aws-amplify
3
2020-01-29T13:34:45.637Z
2,020
1
13
2
2,679
1
296
55
3
1
true
false
true
false
false
false
low
59,968,239
Performance of gpu delegate, nnapi of tensorflow lite are almost the same on android mobile
<p>I use following codes to change the delegate on my phone(G3226)</p> <pre><code>try { if(delegateNum == 1){ GpuDelegate delegate = new GpuDelegate(); Interpreter.Options options = (new Interpreter.Options()).addDelegate(delegate); d.tfLite = new Interpreter(loadModelFile(assetManag...
I use following codes to change the delegate on my phone(G3226) [CODE] But the performance are almost the same, not sure what happens. Phone G3226 TFLite versions implementation 'org.tensorflow:tensorflow-lite:0.0.0-nightly' implementation 'org.tensorflow:tensorflow-lite-gpu:0.0.0-nightly' implementation 'org.tensorflo...
java|android|tensorflow-lite
2
2020-01-29T13:35:01.087Z
2,020
1
13
2
1,458
1
722
91
3
1
true
false
false
false
false
false
low
59,968,263
Do flutter plugins for desktop have to be written in platform specific languages (like windows we use C++ and mac we use Swift)
<p>Good day people. </p> <p>I'm new to flutter and dart so as much help will be appreciated </p> <p>I have a plug in for flutter that's currently written in Java in the android directory. I want the same plugin to be able to run on other platforms like windows and mac. Do I have to rewrite this plugin in C++ for wind...
Good day people. I'm new to flutter and dart so as much help will be appreciated I have a plug in for flutter that's currently written in Java in the android directory. I want the same plugin to be able to run on other platforms like windows and mac. Do I have to rewrite this plugin in C++ for windows and Swift for mac...
android|windows|flutter|dart
2
2020-01-29T13:36:11.387Z
2,020
1
13
2
1,280
2
587
127
4
0
false
false
false
false
false
false
low
59,968,269
Firebass App Disitrbution upload apk with gradle
<p>My app consists of two dynamic modules and instant app. I'm using <strong>app bundle</strong> to upload my production builds to the Play Store. When I'm trying to upload apk to the <strong>Firebase App Distribution</strong>, I use command:</p> <pre><code>./gradlew assembleVariantRelease appDistributionUploadVariant...
My app consists of two dynamic modules and instant app. I'm using app bundle to upload my production builds to the Play Store. When I'm trying to upload apk to the Firebase App Distribution , I use command: [CODE] Unfortunately, app uploaded in this way results in a crash, and the stacktrace tells me that there are som...
android|firebase|gradle|android-app-bundle|firebase-app-distribution
1
2020-01-29T13:36:24.753Z
2,020
1
13
2
1,350
1
1,380
48
5
1
true
false
false
false
false
false
low
59,968,377
How to connect to paired ble device from Android?
<p>I have already paired peripheral ble device (iPhone) with my Android phone. Now I want from my Android code connect to this iPhone.</p> <p>I received list of paired devices by <code>mBluetoothAdapter.getBondedDevices()</code> and try to connect to the proper one but connection fails (<code>GATT_ERROR</code>).</p> ...
I have already paired peripheral ble device (iPhone) with my Android phone. Now I want from my Android code connect to this iPhone. I received list of paired devices by mBluetoothAdapter.getBondedDevices() and try to connect to the proper one but connection fails ( GATT_ERROR ). I know the mac address is randomizing bu...
android|bluetooth-lowenergy|mac-address|pairing
0
2020-01-29T13:42:38.300Z
2,020
1
13
2
1,114
1
411
49
4
0
false
false
false
false
false
false
zero
59,968,382
Wait for the request in a Retrofit2 Callback in Android Studio
<p>I try to get better with retrofit requests and custom callbacks in my application. When I log in, my backend generates a token for the user. Every <code>X seconds/minutes</code>, my token becomes deprecated and I need to generate/refresh a new token when I do a new request.</p> <p>The problem I have is that when th...
I try to get better with retrofit requests and custom callbacks in my application. When I log in, my backend generates a token for the user. Every X seconds/minutes , my token becomes deprecated and I need to generate/refresh a new token when I do a new request. The problem I have is that when the token is deprecated, ...
java|android|callback|retrofit2
1
2020-01-29T13:42:50.607Z
2,020
1
13
2
2,164
2
620
62
4
2
true
false
false
false
false
false
low
59,968,415
Making responsive re-sizable rectangle in Xamarin.Android
<p>I made a rectangle in Xamarin.Android using Camera View. But have many problems like - </p> <ol> <li>Not really responsive</li> <li>Lagging while dragging corners</li> </ol> <p>My attempts so far in <strong>CameraLayout.xml</strong></p> <pre><code> &lt;ImageView android:id="@+id/Center_Point_photo" ...
I made a rectangle in Xamarin.Android using Camera View. But have many problems like - Not really responsive Lagging while dragging corners My attempts so far in CameraLayout.xml [CODE] Second problem when dragging corners.It is not smooth my code for dragging corners: [CODE] I am inspired by Microsoft Math app link he...
c#|android|xml|xamarin.android
1
2020-01-29T13:44:50.077Z
2,020
1
13
2
96
1
400
57
4
2
true
false
false
false
false
false
low
59,968,550
ERROR: Failed to resolve: com.google.android.gms:play-services-location:16.1.0
<p>Trying to integrate Location Client into my app, searched for this problem found <a href="https://stackoverflow.com/questions/50990166/failed-to-resolve-om-google-android-gmsplay-services-location15-0-1">Failed to resolve: om.google.android.gms:play-services-location:15.0.1</a> </p> <p>Below are my gradle build fil...
Trying to integrate Location Client into my app, searched for this problem found Failed to resolve: om.google.android.gms:play-services-location:15.0.1 Below are my gradle build files [CODE] And [CODE]
java|android|gradle
0
2020-01-29T13:52:49.980Z
2,020
1
13
2
495
1
201
78
3
2
true
false
false
false
false
false
zero