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,101,951
How to read logcat
<p>I've just recently started android development, and part of my code is redirecting me to the main activity rather than the activity it is meant to, after looking at the logcat, I've tried to find out what it means to no avail, is there anyone that understands the following?</p> <blockquote> <p>E/audit: type=1400 ...
I've just recently started android development, and part of my code is redirecting me to the main activity rather than the activity it is meant to, after looking at the logcat, I've tried to find out what it means to no avail, is there anyone that understands the following? E/audit: type=1400 audit(1581015631.627:66063...
android|android-studio|logcat
0
2020-02-06T19:08:16.197Z
2,020
2
19
3
298
0
581
18
3
0
false
true
false
false
false
false
zero
60,102,024
Can a handler with big msg.obj throw TransactionTooLargeException?
<p>I noticed that there are a lot of exceptions reported in Google Console:</p> <pre><code>java.lang.RuntimeException: at android.app.servertransaction.PendingTransactionActions$StopInfo.run (PendingTransactionActions.java:160) at android.os.Handler.handleCallback (Handler.java:873) at android.os.Handler.dispat...
I noticed that there are a lot of exceptions reported in Google Console: [CODE] I'm trying to figure out what is throwing that exception, but I can't. The only suspicious thing I have in my source coude is a part in which I'm loading a very big json file (7MB), parsing it to a model ( data object) with GSON, and passin...
android|handler|android-handler|transactiontoolargeexception
0
2020-02-06T19:12:32.567Z
2,020
2
19
3
72
1
467
66
4
3
true
false
false
false
false
false
zero
60,102,065
Android (Kotlin) Two-Way Databinding with non-string primitive type
<p>I'm trying to do 2-way databinding in Android (Emulating a Pixel 3a running API level 29, with a min API target of 21). I want to use the <code>@={}</code> syntax on an EditText's <code>android:text</code> property. </p> <p><a href="https://developer.android.com/topic/libraries/data-binding/two-way#converters" rel=...
I'm trying to do 2-way databinding in Android (Emulating a Pixel 3a running API level 29, with a min API target of 21). I want to use the @={} syntax on an EditText's android:text property. The documentation seems to say we can use a static converter class to convert to/from primitive (or presumably complex) data types...
java|android|kotlin|data-binding
1
2020-02-06T19:15:40.947Z
2,020
2
19
3
692
1
1,331
67
4
3
true
false
false
false
false
false
low
60,102,193
Android mobile navigation - NavController Action class not generated
<p>I'm using the NavController in a mobile application where I have a fragment with two navigation options to another fragment. I have created both actions in the mobile_navigation.xml but I can get the Action class generated.</p> <p>Hope you understand.</p> <p>This is my screen, I want to go to the same fragment when ...
I'm using the NavController in a mobile application where I have a fragment with two navigation options to another fragment. I have created both actions in the mobile_navigation.xml but I can get the Action class generated. Hope you understand. This is my screen, I want to go to the same fragment when clicking the butt...
java|android|navigation
0
2020-02-06T19:25:26.273Z
2,020
2
19
3
219
3
335
68
3
0
false
false
false
false
false
false
zero
60,102,302
BroadcastReceiver not working for PendingIntent(...)
<p>I am developing an SMS messaging application. The problem arose with BroadcastReceiver which check sent message or no. When I registrer him in activity, he works good. But I want to saddle him in the department class so that he will not be destroyed in the event of the closure of activity. Please help =(</p> <pre><...
I am developing an SMS messaging application. The problem arose with BroadcastReceiver which check sent message or no. When I registrer him in activity, he works good. But I want to saddle him in the department class so that he will not be destroyed in the event of the closure of activity. Please help =( [CODE] [CODE] ...
android
0
2020-02-06T19:34:35.200Z
2,020
2
19
3
352
1
326
52
1
3
true
false
false
false
false
false
zero
60,102,344
read html object in textview on android studio
<p>So i want that is possible to see things in html like 50% and not just text or link also if it's possible that it's shows pictures. i think you see what i want to do that with the same html code than for a webpage it shows the same things.</p> <p>this is my code</p> <pre><code>TextView tv = (TextView) findViewById...
So i want that is possible to see things in html like 50% and not just text or link also if it's possible that it's shows pictures. i think you see what i want to do that with the same html code than for a webpage it shows the same things. this is my code [CODE] thanks for helping i didn't see something on the net that...
java|android|android-studio
1
2020-02-06T19:37:31.520Z
2,020
2
19
3
219
2
331
46
3
1
true
false
false
false
false
false
low
60,102,413
Xamarin/special wifi permissions for android 10?
<p>I've got an app that connects to a wifi access point, then connects to a local server on port 50,000. Works fine on API &lt; 29. But in 29, I have to use ConnectivityManager instead of WifiManager. Got that working no problem. The problem is connecting to the server afterwards. The device acts like port 50,000 is cl...
I've got an app that connects to a wifi access point, then connects to a local server on port 50,000. Works fine on API < 29. But in 29, I have to use ConnectivityManager instead of WifiManager. Got that working no problem. The problem is connecting to the server afterwards. The device acts like port 50,000 is closed, ...
android|xamarin|android-connectivitymanager
0
2020-02-06T19:43:31.183Z
2,020
2
19
3
264
1
982
48
3
0
false
false
false
false
false
false
zero
60,102,451
Reading data from firebase database to a custom listView
<p><a href="https://i.stack.imgur.com/hwXeT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hwXeT.png" alt="enter image description here"></a>I am trying to read data that I inserted into firebase database, I want to display the data in custom listView. I am using this method but it seems that I am m...
I am trying to read data that I inserted into firebase database, I want to display the data in custom listView. I am using this method but it seems that I am missing something. I can't insert data into my arraylist. UPDATED I inserted the values and now it gives me attempt to invoke a virtual method on a null object re...
java|android|firebase-realtime-database
1
2020-02-06T19:46:53.877Z
2,020
2
19
3
289
2
352
56
3
1
true
false
false
false
false
false
low
60,102,530
How to create Samsung One UI's like viewing area using recycler view?
<p>I would like to create Samsung One UI's like viewing area which is implemented in e.g settings. It makes every item from the list reachable with one hand. It shows up when user scrolls down (but only if user is already on the top of the list). </p> <p>I could add item of another type to the recycler view at the top...
I would like to create Samsung One UI's like viewing area which is implemented in e.g settings. It makes every item from the list reachable with one hand. It shows up when user scrolls down (but only if user is already on the top of the list). I could add item of another type to the recycler view at the top but I don't...
android|android-recyclerview
1
2020-02-06T19:51:38.213Z
2,020
2
19
3
90
0
483
69
2
0
false
true
false
false
false
false
low
60,102,580
What is an unregistered parameter in a UrlQuerySanitizer?
<p>Referring to the Android documentation for <code>UrlQuerySanitizer</code>:</p> <p><a href="https://developer.android.com/reference/kotlin/android/net/UrlQuerySanitizer.html#getallowunregisteredparamaters" rel="nofollow noreferrer">https://developer.android.com/reference/kotlin/android/net/UrlQuerySanitizer.html#get...
Referring to the Android documentation for UrlQuerySanitizer : https://developer.android.com/reference/kotlin/android/net/UrlQuerySanitizer.html#getallowunregisteredparamaters [CODE] Get whether or not unregistered parameters are allowed. If not allowed, they will be dropped when a query is parsed. What does that mean ...
android|url|query-parameters
0
2020-02-06T19:54:44.463Z
2,020
2
19
3
343
1
353
57
3
1
true
false
false
false
false
false
zero
60,102,633
null can not to be a value of a non null type fragment
<p>I am building an app using viewpager,when i run app in android studio,i got this error</p> <pre><code>null can not to be a value of a non null type fragment </code></pre> <p>MyAdapter.kt</p> <pre><code>package com.example.tabviewpager import android.content.Context; import androidx.fragment.app.Fragment import ...
I am building an app using viewpager,when i run app in android studio,i got this error [CODE] MyAdapter.kt [CODE] how can i return a null value to avoid this error ? i tried to put ? after return type,but i got the following: [CODE]
android|kotlin|null|adapter
0
2020-02-06T19:59:21.227Z
2,020
2
19
3
888
1
232
54
4
3
true
false
false
false
false
false
zero
60,102,692
External image not displaying in Android
<p>I am developing an app with VS 2019 for Windows, using Xamarin (version 3.6). My app loads images from an external source (my web server) and displays them to the user.</p> <p>I built and released the Android app about a month ago, having no problems with any of the external images. Since then, I've been making u...
I am developing an app with VS 2019 for Windows, using Xamarin (version 3.6). My app loads images from an external source (my web server) and displays them to the user. I built and released the Android app about a month ago, having no problems with any of the external images. Since then, I've been making updates to the...
android|xamarin.forms
0
2020-02-06T20:03:34.477Z
2,020
2
20
3
240
1
876
40
2
0
false
false
false
false
false
false
zero
60,102,732
Saving and Restoring FirebaseUI RecyclerView scroll state
<p>I am new to developing, much of coding in general, and am attempting to learn by building an app in Kotlin. I have some basic functions running but I am having trouble trying to get the RecyclerView to keep it's scroll position when returning from other activities. I have searched and attempted different methods but...
I am new to developing, much of coding in general, and am attempting to learn by building an app in Kotlin. I have some basic functions running but I am having trouble trying to get the RecyclerView to keep it's scroll position when returning from other activities. I have searched and attempted different methods but, p...
android|kotlin|android-recyclerview|google-cloud-firestore|firebaseui
0
2020-02-06T20:07:15.360Z
2,020
2
20
3
320
1
796
57
5
4
true
false
false
false
false
false
zero
60,102,979
Dynamically switch content/fragments in android
<p>My app currently uses a navigation host (Android Architecture Components navigation) to switch between fragments. One of these fragments is a more complex form where I want to show/hide some content depending on whether <code>button 1</code> or <code>button 2</code> is pressed.</p> <p>Here is a sketch of it:</p> <...
My app currently uses a navigation host (Android Architecture Components navigation) to switch between fragments. One of these fragments is a more complex form where I want to show/hide some content depending on whether button 1 or button 2 is pressed. Here is a sketch of it: How is that normally done in Android? Would...
android|android-fragments|android-architecture-components
2
2020-02-06T20:25:53.100Z
2,020
2
20
3
832
1
791
47
3
0
false
false
false
false
false
false
low
60,103,157
My App Keeps Getting Crash Because of This Code
<p>I am Trying to Connect google sheets with android app and my app keeps crashing every time this code executes</p> <pre><code> button5.setOnClickListener { val HTTP_TRANSPORT = GoogleNetHttpTransport.newTrustedTransport() val spreadsheetId = "MYSHEET_ID" val range = "Users!A1" val ser...
I am Trying to Connect google sheets with android app and my app keeps crashing every time this code executes [CODE] i took this code from https://developers.google.com/sheets/api/quickstart/java?hl=ja EDIT: So i just found out the problem is in val HTTP_TRANSPORT = GoogleNetHttpTransport.newTrustedTransport() This Lin...
java|android|kotlin|google-sheets
0
2020-02-06T20:39:05.977Z
2,020
2
20
3
77
0
411
47
4
1
true
true
false
false
false
false
zero
60,103,178
Room many-to-many with properties in the junction table, how to display list of objects with columns from junction table
<p>I have a Room database with a many-to-many join, but in that table there are additional properties. Let's say there are Songs, People, and the join has a rating (1-5).</p> <p>So we have a Song class</p> <pre><code>@Entity public class Song { @PrimaryKey (autoGenerate = true) private int id; private St...
I have a Room database with a many-to-many join, but in that table there are additional properties. Let's say there are Songs, People, and the join has a rating (1-5). So we have a Song class [CODE] and a person class: [CODE] and a join class: [CODE] I want to return LiveData to a RecyclerView to see all the songs and ...
android|android-room
0
2020-02-06T20:40:18.253Z
2,020
2
20
3
237
1
786
120
2
4
true
false
false
false
false
false
zero
60,103,293
ArCore ArFrame Hide Camera Image but preserve HandMotion Animation
<p>Is there any way to preserve the hand motion animation when initializing ArCore but simultaneously getting rid of the camera picture - which is displayed behind the hand motion animation.</p> <p>I am using </p> <pre><code>&lt;fragment android:id="@+id/Ar" android:name="com.google.ar.sceneform.ux.ArFragment...
Is there any way to preserve the hand motion animation when initializing ArCore but simultaneously getting rid of the camera picture - which is displayed behind the hand motion animation. I am using [CODE] and currently I am hiding the whole Fragment with: [CODE] Any help is appreciated.
android|fragment|augmented-reality|arcore|sceneform
1
2020-02-06T20:48:25.417Z
2,020
2
20
3
133
0
288
66
5
2
true
true
false
false
false
false
low
60,103,306
How to implement an application-wide search bar?
<p>It seems to be a pretty common task to have an application-wide search bar in the header. Unfortunately, I haven't found some ready recipes on how to accomplish it the right way. My solution was to place a custom <em>SearchBox</em> component in the React Native Navigation header using <em>headerTitle:</em></p> <pre...
It seems to be a pretty common task to have an application-wide search bar in the header. Unfortunately, I haven't found some ready recipes on how to accomplish it the right way. My solution was to place a custom SearchBox component in the React Native Navigation header using headerTitle: [CODE] It had its drawbacks, e...
android|ios|react-native|mobile|react-navigation
7
2020-02-06T20:49:39.890Z
2,020
2
20
3
828
1
1,943
48
5
1
true
false
false
false
false
false
medium
60,103,541
Android.view.ContextMenu displays too small to use
<p>I'm trying to show a simple context menu (long-touch, popup text-only menu appears with options for the item you long-touched). This used to work about 5-6 years ago when I first wrote this app for my company, but since then we haven't even looked at it and now I need to add a new feature and found out this isn't wo...
I'm trying to show a simple context menu (long-touch, popup text-only menu appears with options for the item you long-touched). This used to work about 5-6 years ago when I first wrote this app for my company, but since then we haven't even looked at it and now I need to add a new feature and found out this isn't worki...
android|android-studio|contextmenu
0
2020-02-06T21:07:40.750Z
2,020
2
21
3
26
1
954
50
3
0
false
false
false
false
false
false
zero
60,103,603
How to set different applicationId for each flavor combination using flavorDimensions when using Gradle Kotlin-DSL?
<p>I am converting an Android app to the Gradle Kotlin-DSL by using Kotlinscript files. </p> <p>I have a problem converting our <code>applicationId</code> logic. We don't use the <code>defaultConfiguration</code> with <code>applicationId</code> plus various <code>applicationIdSuffix</code> for our flavors but a custom...
I am converting an Android app to the Gradle Kotlin-DSL by using Kotlinscript files. I have a problem converting our applicationId logic. We don't use the defaultConfiguration with applicationId plus various applicationIdSuffix for our flavors but a custom logic. The logic is described in this SO answer , here is the g...
android|gradle|gradle-kotlin-dsl
4
2020-02-06T21:13:22.600Z
2,020
2
21
3
1,856
3
499
115
3
1
true
false
false
false
false
false
low
60,103,658
Android Room: Insert several entities with relations
<p>I have a trouble with insertion to ROOM db, when we have several inner relations like one-to-many A -> B and B -> C. I haven't problem to insert and get all list A, but not for list B and list C. I not find correctly tutorial for these cases. Pojo and entities:</p> <pre><code>data class AB( @Embedded var a...
I have a trouble with insertion to ROOM db, when we have several inner relations like one-to-many A -> B and B -> C. I haven't problem to insert and get all list A, but not for list B and list C. I not find correctly tutorial for these cases. Pojo and entities: [CODE] How insert list of B and list of C correctly and ge...
android|database|sqlite|kotlin|android-room
1
2020-02-06T21:18:25.563Z
2,020
2
21
3
178
0
344
52
5
1
true
true
false
false
false
false
low
60,103,769
Angular Firestore *ngFor not showing on Android devices
<p>Everything works as intended on web and ios but on an Android emulator these buttons do not display at all. Note that these buttons are dynamically created.</p> <pre><code>&lt;button ion-button (click)="function()" class="some-class" routerLink="/generic-routing" routerDirection="root" *ngFor="let food of foods ...
Everything works as intended on web and ios but on an Android emulator these buttons do not display at all. Note that these buttons are dynamically created. [CODE] anyone have any idea why this is happening on Android? SOLVED: Android emulator not able to access the internet
android|angular|firebase|ionic-framework
0
2020-02-06T21:26:57.573Z
2,020
2
21
3
202
0
275
55
4
1
true
true
false
false
false
false
zero
60,103,890
callback from fragment in ViewPager2 adapter
<p>Ok, I got the following fragment with callback there witch I'm setting to ViewPager2 adapter:</p> <pre><code> class PremiumFragment : BaseFragment(), OnPageChanged { override fun getLogTag(): String { return TAG } private lateinit var pagerCounter: ImageView private lateinit var viewPag...
Ok, I got the following fragment with callback there witch I'm setting to ViewPager2 adapter: [CODE] My adapter: [CODE] It should set new drawable every time we swipe ViewPager, but it changes image in fragment only once an then it is not working, have completely no idea where in adapter I should call my callback for a...
android|android-viewpager
0
2020-02-06T21:36:26.803Z
2,020
2
21
3
616
1
411
44
2
2
true
false
false
false
false
false
zero
60,103,930
Integrating Flutter On Existing Apps
<p>I just finished reading documentation on integrating Flutter functionality with existing apps here: <a href="https://flutter.dev/docs/development/add-to-app" rel="nofollow noreferrer">https://flutter.dev/docs/development/add-to-app</a></p> <p>I am unclear though and was wondering if anyone here knew if we can only ...
I just finished reading documentation on integrating Flutter functionality with existing apps here: https://flutter.dev/docs/development/add-to-app I am unclear though and was wondering if anyone here knew if we can only integrate flutter functionality with existing native iOS/Android apps? Or if we can also integrate ...
android|ios|ionic-framework|flutter|dart
0
2020-02-06T21:38:53.183Z
2,020
2
21
3
280
0
362
36
5
0
false
true
false
false
false
false
zero
60,103,973
How to make the View Snap to Keyboard
<p>My MasterDetail app won't The keyboard won't snap to the bottom of the view, it overlaps it. Main View is a contentpage Wrapped In (MasterDetail Page).</p> <p>I've placed some elements at the bottom of my main Contentpage via VerticalOptions=&quot;end&quot; and they are at the bottom of the page when I scroll(scroll...
My MasterDetail app won't The keyboard won't snap to the bottom of the view, it overlaps it. Main View is a contentpage Wrapped In (MasterDetail Page). I've placed some elements at the bottom of my main Contentpage via VerticalOptions=&quot;end&quot; and they are at the bottom of the page when I scroll(scrollview with ...
c#|android|visual-studio|xaml|xamarin.forms
0
2020-02-06T21:42:11.220Z
2,020
2
21
3
82
1
619
37
5
1
true
false
false
false
false
false
zero
60,103,988
android-gts Setup android-gts on ubuntu16.04
<p>I try to setup andorid-gts on ubuntu16.04. python version is 2.7.16. I have installed below packages:</p> <pre><code>pip install future pip install protobuf pip install auth pip install compiler pip install virtualenv pip install PyPi pip install google-cloud-storage pip install oauth2client </code></pre> <p>But w...
I try to setup andorid-gts on ubuntu16.04. python version is 2.7.16. I have installed below packages: [CODE] But when I try to run gts command from console, I always get below error: [CODE] I guess it maybe caused by the timeout logs: [CODE]
android-cts
2
2020-02-06T21:42:57.200Z
2,020
2
21
3
1,096
1
241
44
1
3
true
false
false
false
false
false
low
60,103,996
Slide Down Animation not properly working with startActivity
<p>I am utilizing animation transitions in my app to give off the impression of side menus and pop-up menus. I have animations from left, right, up and down transitions. I am only having an issue with my activity that acts as a pop-up menu. The slide-up animation from userHome to appStore works as intended, but the sli...
I am utilizing animation transitions in my app to give off the impression of side menus and pop-up menus. I have animations from left, right, up and down transitions. I am only having an issue with my activity that acts as a pop-up menu. The slide-up animation from userHome to appStore works as intended, but the slide ...
java|android|xml|animation
0
2020-02-06T21:43:25.887Z
2,020
2
21
3
227
0
944
60
4
4
true
true
false
false
false
false
zero
60,104,390
Android Studio IDE auto-complete: turn off newline / carriage return
<p>When performing auto-complete on a line of code in Android Studio, in a Dart file, a carriage return / newline is added after completing the current line.</p> <p>Is there a way to <strong>turn off / prevent the newline</strong> when auto-completing?</p>
When performing auto-complete on a line of code in Android Studio, in a Dart file, a carriage return / newline is added after completing the current line. Is there a way to turn off / prevent the newline when auto-completing?
android-studio|dart
0
2020-02-06T22:17:27.337Z
2,020
2
22
3
139
1
225
68
2
0
false
false
false
false
false
false
zero
60,104,611
Does Firebase charge queries done on database downloaded on the device using disk persistence?
<p>I am using Firebase rtdb. I want to download my database for offline capabilities. If there are no changes on the database, do I get charge to the queries done on local copy of realtime database? And if an update is done on the database, with offline capabilities enabled, is the whole database gets downloaded again ...
I am using Firebase rtdb. I want to download my database for offline capabilities. If there are no changes on the database, do I get charge to the queries done on local copy of realtime database? And if an update is done on the database, with offline capabilities enabled, is the whole database gets downloaded again or ...
android|firebase|firebase-realtime-database|persistence
0
2020-02-06T22:38:08.373Z
2,020
2
22
3
57
1
351
94
4
0
false
false
false
false
false
false
zero
60,104,893
How do I save adapter content in a recycler view so when I close the app and restart the adapter is the same
<p>This is my main activity so far</p> <pre><code>public class MainActivity extends AppCompatActivity { private RecyclerView recyclerView; private RecyclerView.Adapter mAdapter; private RecyclerView.LayoutManager layoutManager; private List&lt;userTask&gt; tasklist= new ArrayList&lt;&gt;(); private userTaskAdapter ad...
This is my main activity so far [CODE] When I add a new task and exits the app that new task will still be in the recycler view. But when I close the app that new task will not still be in the recycler view. I was thinking of saving the state of the adapter but am not really sure how to do this. I tried to do the seria...
android|android-studio
0
2020-02-06T23:08:26.660Z
2,020
2
23
3
30
0
366
108
2
1
true
true
false
false
false
false
zero
60,104,955
Unable to Load Library mongo_embedded
<p>I am trying to use MongoDB in an Android project by following this guide:<br> <a href="https://docs.mongodb.com/stitch/mongodb/find-documents-in-mongodb/" rel="nofollow noreferrer">https://docs.mongodb.com/stitch/mongodb/find-documents-in-mongodb/</a></p> <p>But the application is crashing at the following line:<br...
I am trying to use MongoDB in an Android project by following this guide: https://docs.mongodb.com/stitch/mongodb/find-documents-in-mongodb/ But the application is crashing at the following line: val mongoClient = stitchClient.getServiceClient(RemoteMongoClient.factory, "mongodb-atlas") with the following message [CODE...
android|mongodb|mongodb-stitch
0
2020-02-06T23:15:15.390Z
2,020
2
23
3
314
1
433
37
3
1
true
false
false
false
false
false
zero
60,105,039
How to launch an app from another in Xamarin forms
<p>Im trying to launch an app that I've created from another app that Im working on right now. The thing is I've been searching throught the internet and found something but it did not work so Im seeking help in here.</p> <p>This is what I've done on the app I want to launch from :</p> <p>On my xaml.cs :</p> <pre><c...
Im trying to launch an app that I've created from another app that Im working on right now. The thing is I've been searching throught the internet and found something but it did not work so Im seeking help in here. This is what I've done on the app I want to launch from : On my xaml.cs : [CODE] I created an Interface: ...
android|android-intent|android-activity|xamarin.forms
0
2020-02-06T23:25:00.340Z
2,020
2
23
3
1,075
2
521
50
4
4
true
false
false
false
false
false
zero
60,105,045
Xamarin (Android): Detect if the device has a display notch or not
<p>I'm trying to detect if the device my app is running on has a notch or not. </p> <p><a href="https://developer.android.com/reference/android/view/WindowInsets.html#getDisplayCutout()" rel="nofollow noreferrer">This</a> has what I need but I'm not been able to find the Xamarin equivalent for getDisplayCutout() in th...
I'm trying to detect if the device my app is running on has a notch or not. This has what I need but I'm not been able to find the Xamarin equivalent for getDisplayCutout() in the WindowInset class.
xamarin.android|windowinsets
-1
2020-02-06T23:25:52.243Z
2,020
2
23
3
1,260
2
198
66
2
0
false
false
false
false
false
true
negative
60,105,098
Android Espresso testing using Kotlin trying to iterate through ChipGroup
<p>My app has <code>ChipGroup</code>s with individual <code>Chip</code>s inside. <a href="https://developer.android.com/reference/com/google/android/material/chip/ChipGroup" rel="nofollow noreferrer">(Documentation)</a> and <a href="https://material.io/develop/android/components/chip/" rel="nofollow noreferrer">(Descri...
My app has ChipGroup s with individual Chip s inside. (Documentation) and (Description) What I want to do is to use Espresso libraries in Android to test the functionality of these components. I want to click on the Chip s, especially their close buttons, to delete them and check that they were actually removed, etc. I...
android|testing|kotlin|material-design|android-espresso
1
2020-02-06T23:31:55.487Z
2,020
2
23
3
598
1
710
73
5
0
false
false
false
false
false
false
low
60,105,168
How do I keep the layout of my display when switching from "portait" to "landscape"
<p>I have the following problem. I am developing android app. My problem is the transition from "Portrait" to "Landscape" (transition from vertical to horizontal).</p> <p>The "Portrait" display works correctly. Image appears distorted when "Landscape" is displayed. How can I solve this?</p> <p>This is good...</p> <p...
I have the following problem. I am developing android app. My problem is the transition from "Portrait" to "Landscape" (transition from vertical to horizontal). The "Portrait" display works correctly. Image appears distorted when "Landscape" is displayed. How can I solve this? This is good... orientationScreen 'Portrai...
android
0
2020-02-06T23:38:58.710Z
2,020
2
23
3
33
1
463
83
1
1
true
false
false
false
false
false
zero
60,105,446
Android Studio Errors, why can't I make a basic menu without a bunch of problems?
<p>This is the tutorial I am following here: <a href="https://www.youtube.com/watch?v=fGcMLu1GJEc" rel="nofollow noreferrer">https://www.youtube.com/watch?v=fGcMLu1GJEc</a></p> <p>The errors I'm getting seem unrelated to as to why I'm not getting a nav view, but for some reason it break my preview on the right as you...
This is the tutorial I am following here: https://www.youtube.com/watch?v=fGcMLu1GJEc The errors I'm getting seem unrelated to as to why I'm not getting a nav view, but for some reason it break my preview on the right as you can see, but also when I build project I get this ugly default Hello World activity. What am I ...
android|compiler-errors
0
2020-02-07T00:13:06.500Z
2,020
2
0
4
33
0
508
81
2
0
false
true
false
false
false
false
zero
60,105,475
Building a dropdown menu with additional row of button options in Flutter?
<p>I'm hoping to replicate this UI for the dropdown menu in Flutter. I've attempted to do it with a dropdown menu where the selected options light up in the same way as the screens below.</p> <p><a href="https://i.stack.imgur.com/SX2V8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SX2V8.png" alt="...
I'm hoping to replicate this UI for the dropdown menu in Flutter. I've attempted to do it with a dropdown menu where the selected options light up in the same way as the screens below. Building the initial dropdown menu with options seems simple enough, but I'm having trouble understanding how to build a final row into...
android|user-interface|flutter|flutter-layout
1
2020-02-07T00:16:52.457Z
2,020
2
0
4
105
0
536
74
4
0
false
true
false
false
false
false
low
60,105,521
How to hide LinearLayout inside CoordinatorLayout on scroll?
<p>How Can I make this LinearLayout scroll? I want these text views in LinearLayout to be over RecyclerView and hide up when scrolling. I've read that I will get it by adding the following<code>app:layout_behavior="@string/appbar_scrolling_view_behavior"</code> </p> <p>But it's not working. <br /></p> <p><strong>XML:...
How Can I make this LinearLayout scroll? I want these text views in LinearLayout to be over RecyclerView and hide up when scrolling. I've read that I will get it by adding the following app:layout_behavior="@string/appbar_scrolling_view_behavior" But it's not working. XML: [CODE]
android|android-coordinatorlayout
1
2020-02-07T00:23:06.357Z
2,020
2
0
4
360
2
280
60
2
1
true
false
false
false
false
false
low
60,105,537
MVP - How to make network call in menu inflated by fragment?
<p>I have a menu that is inflated by my fragment. <a href="https://i.stack.imgur.com/fzMW0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fzMW0.png" alt="enter image description here"></a></p> <p>Inside that popupmenu I want to make a network call. How do I make the network call using MVP structur...
I have a menu that is inflated by my fragment. Inside that popupmenu I want to make a network call. How do I make the network call using MVP structure with the FragmentPresenter? Is it correct to pass the presenter to the popupmenu? Popupmenu menu = new Popupmenu(Context, mPresenter); <-- not sure if correct way to do ...
android|mvp|android-mvp
0
2020-02-07T00:25:35.323Z
2,020
2
0
4
30
1
322
60
3
0
false
false
false
false
false
false
zero
60,105,569
Minimum hardware and software requirements to run mobile apps built with React Native
<p>I am looking to source some testing Android and iOS devices for React Native apps. I've looked at the <a href="https://facebook.github.io/react-native/docs/getting-started" rel="nofollow noreferrer">official docs</a>, but there isn't a specific section for it.</p>
I am looking to source some testing Android and iOS devices for React Native apps. I've looked at the official docs , but there isn't a specific section for it.
android|ios|react-native
0
2020-02-07T00:31:05.230Z
2,020
2
0
4
3,660
2
160
85
3
0
false
false
true
false
false
false
zero
60,105,586
How to use RecyclerView in kotlin
<p>Previously I have asked about <a href="https://stackoverflow.com/questions/60096397/api-data-in-kotlin-fragment">calling API in fragments</a> and now that I have my data returning in my app I would like to know <strong>how to make <code>RecyclerView</code> in this fragments?</strong></p> <p>Basically this is what i...
Previously I have asked about calling API in fragments and now that I have my data returning in my app I would like to know how to make RecyclerView in this fragments? Basically this is what i'm looking for to achieve at the end Code HomeFragment.kt [CODE] fragment_home.xml [CODE] This is all i have at the moment. Plea...
android|kotlin
-2
2020-02-07T00:33:11.383Z
2,020
2
0
4
650
2
658
33
2
6
true
false
false
false
false
true
negative
60,105,672
How to message between completely different android apps?
<p>I want to send a text-message from a bluetooth-app to a chat-app. I have access to the source code of both.</p> <p>How do I do that? I could merge them, but want to avoid that...</p> <p>The forground running chat-app is Linphone.</p> <p>The background "sending" app is the bluetooth terminal, perhaps running as a ...
I want to send a text-message from a bluetooth-app to a chat-app. I have access to the source code of both. How do I do that? I could merge them, but want to avoid that... The forground running chat-app is Linphone. The background "sending" app is the bluetooth terminal, perhaps running as a service. Q: Are intents pub...
android|android-layout|android-intent|chat
0
2020-02-07T00:46:26.973Z
2,020
2
0
4
22
0
382
57
4
1
true
true
false
false
false
false
zero
60,105,881
Byte array argument null in Fragment
<p>I am new to android and i do some research about the <code>viewpager</code>, <code>activity</code>, and <code>fragment</code> but my problem is after i captured the photo the image didn't show in the <code>layout</code>.</p> <p>Here is the code where i capture the photo:</p> <pre><code>public class MainStepView ex...
I am new to android and i do some research about the viewpager , activity , and fragment but my problem is after i captured the photo the image didn't show in the layout . Here is the code where i capture the photo: [CODE] Here is the code where the image should be displayed [CODE] Here is where i display the different...
java|android|android-fragments
0
2020-02-07T01:21:10.667Z
2,020
2
1
4
126
1
646
36
3
3
true
false
false
false
false
false
zero
60,106,049
Flutter/Dart How to center sizedbox to top center of screen?
<p>I have he following code </p> <pre><code>return SizedBox( child: CircularProgressIndicator(valueColor: new AlwaysStoppedAnimation&lt;Color&gt;(Colors.pink)), height: 20.0, width: 20.0, ); </code></pre> <p>I would like to ...
I have he following code [CODE] I would like to know how to center this to the top center of the screen. Thank you.
android|flutter|dart
3
2020-02-07T01:47:25.073Z
2,020
2
1
4
8,142
1
115
60
3
1
true
false
true
false
false
false
low
60,106,097
Print from another activity
<p>I managed to establish a bluetooth connection from my main activity but i want to print from another activity.</p> <p>How can I do this?</p> <p><strong>Main Activity Where I Start A connection to a bluetooth printer</strong></p> <pre><code> protected static final String TAG = "TAG"; private static final in...
I managed to establish a bluetooth connection from my main activity but i want to print from another activity. How can I do this? Main Activity Where I Start A connection to a bluetooth printer [CODE] this is my device list activity [CODE] And this my print activity [CODE] [CODE] how can I fix this?? The app is not cra...
android-studio|android-activity|bluetooth
0
2020-02-07T01:54:24.580Z
2,020
2
1
4
32
0
351
27
3
4
true
true
false
false
false
false
zero
60,106,276
Cannot format SD Card
<p>I wanted to format my micro sd card so I could use it with my Raspbian pi zero. When I tried to format it with cmd using chkdsk, it said the format of the sd card is raw. diskpart could not format the card either. I've tried formatting it through Windows disk management as well, but to no avail. The sd card works ...
I wanted to format my micro sd card so I could use it with my Raspbian pi zero. When I tried to format it with cmd using chkdsk, it said the format of the sd card is raw. diskpart could not format the card either. I've tried formatting it through Windows disk management as well, but to no avail. The sd card works fine ...
android|windows|raspberry-pi|sd-card
0
2020-02-07T02:22:06.793Z
2,020
2
2
4
163
0
494
21
4
0
false
true
false
false
false
false
zero
60,106,331
How to round up a floating-point number in Java
<pre><code>public class MyClass { public static void main(String args[]) { double x=120.38; System.out.println(Math.round(x‬)); } } </code></pre> <p><em>Output: <code>120</code></em></p> <p><strong>But I want an output of <code>121</code></strong> <strong>Rounding off any decimal values to 1 whole...
[CODE] Output: 120 But I want an output of 121 Rounding off any decimal values to 1 whole number
java|android|math
-3
2020-02-07T02:31:20.227Z
2,020
2
2
4
53
2
96
47
3
1
true
false
false
false
false
true
negative
60,106,409
I'm unable to insert data into my SQLiteDatabase
<p><strong>I'm creating a SQLiteDatabase in Android Studio that loads and calculates the food calories and I'm getting the error below after I press submit (The app then crashes):</strong></p> <p>2020-02-06 21:36:47.840 26379-26379/? E/SQLiteLog: (1) table food_tbl has no column named calories 2020-02-06 21:36:47.840 ...
I'm creating a SQLiteDatabase in Android Studio that loads and calculates the food calories and I'm getting the error below after I press submit (The app then crashes): 2020-02-06 21:36:47.840 26379-26379/? E/SQLiteLog: (1) table food_tbl has no column named calories 2020-02-06 21:36:47.840 26379-26379/? E/SQLiteDataba...
android|sqlite
0
2020-02-07T02:43:33.550Z
2,020
2
2
4
80
5
669
48
2
1
true
false
false
false
false
false
zero
60,106,499
Cannot format partial TextView or Button text in Android Studio
<p>I'm using Android Studio to create an English language learning app and I want to make a few letters on a button bold but I cannot do it. For example I want the button to read "I like <strong>bas</strong>ketball" as the first syllable in basketball is emphasized when we pronounce the word.</p> <p>However I cannot g...
I'm using Android Studio to create an English language learning app and I want to make a few letters on a button bold but I cannot do it. For example I want the button to read "I like bas ketball" as the first syllable in basketball is emphasized when we pronounce the word. However I cannot get this to work. Here is my...
android|xml|string
0
2020-02-07T02:56:41.237Z
2,020
2
2
4
153
1
614
63
3
2
true
false
false
false
false
false
zero
60,106,553
How can i add TFS in andorid studio 3.4?
<p><a href="https://medium.com/@gizembusraturan/android-studio-team-foundation-server-plugin-9783d65f0b9c" rel="nofollow noreferrer">https://medium.com/@gizembusraturan/android-studio-team-foundation-server-plugin-9783d65f0b9c</a></p> <p>Based on this tutorial,I tried to add Visual Studio Team Services in my android s...
https://medium.com/@gizembusraturan/android-studio-team-foundation-server-plugin-9783d65f0b9c Based on this tutorial,I tried to add Visual Studio Team Services in my android studio version 3.4 But i didn't find this Visual Studio Team Services in my plugin how can I add TFS in my android studio. Last time I use git but...
android|tfs
0
2020-02-07T03:06:00.710Z
2,020
2
3
4
45
1
351
40
2
0
false
false
false
false
false
false
zero
60,106,816
Take Photo In Background Service Not Working If Apps closed (Android Studio)
<p>I made an application to take photos in the background service. works when the application opens but does not work when the application is closed. I made it with the alarm manager with a set interval.</p> <pre><code> public void onReceive(final Context context, Intent intent) { // get location FusedLocation...
I made an application to take photos in the background service. works when the application opens but does not work when the application is closed. I made it with the alarm manager with a set interval. [CODE] and [CODE] work when get location.
java|android|android-studio|alarmmanager
0
2020-02-07T03:47:34.150Z
2,020
2
3
4
58
1
242
76
4
2
true
false
false
false
false
false
zero
60,106,822
Firebase ML Kit does not detect faces
<p>I am using Google Firebase's ML Kit to detect facial contours of images captured from the phone camera. However, it doesn't actually detect any faces. I've verified that the image was captured and saved properly from the camera by displaying the image in an ImageView. I also made sure to add </p> <pre><code> &lt;me...
I am using Google Firebase's ML Kit to detect facial contours of images captured from the phone camera. However, it doesn't actually detect any faces. I've verified that the image was captured and saved properly from the camera by displaying the image in an ImageView. I also made sure to add [CODE] to AndroidManifest.x...
android|firebase|firebase-mlkit
0
2020-02-07T03:48:27.533Z
2,020
2
3
4
987
2
452
37
3
3
true
false
false
false
false
false
zero
60,106,838
how to get layout and elements inside ViewStub (generated from SDK) in android programmatically?
<p>I am using an SDK which is displaying a popup on performing some action in app. By using WindowManager i am able to get views on the screen as:</p> <ul> <li>1) My home screen <code>(android.view.ViewRootImpl@e33bea5: DecorView@82c1e88[Dashboard])</code></li> <li>2) Login success Toast <code>(Toast/android.view.View...
I am using an SDK which is displaying a popup on performing some action in app. By using WindowManager i am able to get views on the screen as: 1) My home screen (android.view.ViewRootImpl@e33bea5: DecorView@82c1e88[Dashboard]) 2) Login success Toast (Toast/android.view.ViewRootImpl@8bca27a: android.widget.LinearLayout...
android|android-layout|viewstub
0
2020-02-07T03:50:52.520Z
2,020
2
3
4
144
0
964
96
3
0
false
true
false
false
false
false
zero
60,106,965
Fragments inside other fragment: crash with "has not been attached yet."
<p>Hi I have a strange problem. <code>MainActivity</code> has a framelayout and a main fragment EnterFragment. <code>EnterFragment</code> has a framelayout and i'd like to see other 2 fragments. SignupFragment and <code>LoginFragment</code>. When EnterFragment starts, it shows <code>SignupFragment.java</code>.. after ...
Hi I have a strange problem. MainActivity has a framelayout and a main fragment EnterFragment. EnterFragment has a framelayout and i'd like to see other 2 fragments. SignupFragment and LoginFragment . When EnterFragment starts, it shows SignupFragment.java .. after MainActivity invoke a method of EnterFragment to chang...
android|android-fragments
0
2020-02-07T04:11:06.127Z
2,020
2
4
4
602
1
468
72
2
2
true
false
false
false
false
false
zero
60,107,031
How can i play video in recyclerview when it is visible and pause as soon as it goes invisible (Scrolled)
<p>i have a heterogeneous recyclerview like facebook does (text,images,videos), i have implemented exoplayer for playing videos in it, it works fine but the problem arises when i scroll a playing video as its video is not visible but its audio continues playing until it is finished. I have the same recyclerview structu...
i have a heterogeneous recyclerview like facebook does (text,images,videos), i have implemented exoplayer for playing videos in it, it works fine but the problem arises when i scroll a playing video as its video is not visible but its audio continues playing until it is finished. I have the same recyclerview structure ...
java|android|android-recyclerview|exoplayer|video-player
0
2020-02-07T04:21:10.097Z
2,020
2
4
4
812
1
929
105
5
0
false
false
false
false
false
false
zero
60,107,102
How to observe data in viewmodel LiveData + Courotine + MVVM + Retrofit
<p>The problem is I could not get the response using LiveData and Courotine in the viewModel. Possibly I do not know the right way to do that. The call is </p> <pre><code>interface AuthApiService { @POST("v2/5e3cba6a2d00008709d958d0") @FormUrlEncoded suspend fun login( @Field("username") username: ...
The problem is I could not get the response using LiveData and Courotine in the viewModel. Possibly I do not know the right way to do that. The call is [CODE] The repository is [CODE] What I am trying to do in viewmodel is, [CODE] And its not working. Could you please tell me what I am doing wrong? Thanks
android|android-livedata|kotlin-coroutines|android-mvvm
1
2020-02-07T04:29:40.727Z
2,020
2
4
4
808
2
306
71
4
3
true
false
false
false
false
false
low
60,107,246
Could not determine the dependencies while using com.onesignal:OneSignal sdk and com.facebook.android:audience-network-sdk together
<p>I am facing issue all the time while syncing the project. Error is gone if I do clean and sync again. What are the steps to follow to resolve this error?</p> <pre><code>FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileProductionDebugJavaWithJava...
I am facing issue all the time while syncing the project. Error is gone if I do clean and sync again. What are the steps to follow to resolve this error? [CODE] My gradle dependency file [CODE]
android|onesignal|facebook-audience-network
2
2020-02-07T04:49:36.080Z
2,020
2
4
4
511
0
193
131
3
2
true
true
false
false
false
false
low
60,107,302
Xamarin Android This Activity already has an action bar supplied by the window decor
<p>I've seen a bunch of posts about this but so far nothing has worked for me. The full error I get is:</p> <blockquote> <p>This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.</...
I've seen a bunch of posts about this but so far nothing has worked for me. The full error I get is: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead. We upgraded the Android pac...
android|xamarin.android
0
2020-02-07T04:55:38.897Z
2,020
2
4
4
259
1
430
84
2
3
true
false
false
false
false
false
zero
60,107,323
How can I find a DialogFragment by its Tag?
<p>I've been looking for a solution to do this but I couldn't find it. I have a DialogFragment called ImportDialog, with a tag of the same name. How could I get this ImportDialog instance from my MainActivity?</p>
I've been looking for a solution to do this but I couldn't find it. I have a DialogFragment called ImportDialog, with a tag of the same name. How could I get this ImportDialog instance from my MainActivity?
java|android
2
2020-02-07T04:58:10.650Z
2,020
2
4
4
1,129
4
206
43
2
0
false
false
false
false
false
false
low
60,107,334
prioritise Async task over web view
<p>My android application has web-view and control buttons, web view streams live video from raspberry pi camera and on button press the traction commands(on,off,right,left) goes to the redis-DB on the same raspberry-pi</p> <p>my observations is when web view streams video the control commands on button pressed reach ...
My android application has web-view and control buttons, web view streams live video from raspberry pi camera and on button press the traction commands(on,off,right,left) goes to the redis-DB on the same raspberry-pi my observations is when web view streams video the control commands on button pressed reach pi at very ...
android-studio|webview|android-asynctask
0
2020-02-07T04:59:36.690Z
2,020
2
4
4
28
0
413
35
3
1
true
true
false
false
false
false
zero
60,107,386
How to convert a CURL PUT request to Retrofit in Android?
<p>I have a cURL command </p> <pre><code>curl -i -X PUT -H "Content-Type:text/uri-list" -d "http://localhost:8080/posts/1" http://localhost:8080/comments/4/post </code></pre> <p>How to convert this command to Retrofit in Android?</p>
I have a cURL command [CODE] How to convert this command to Retrofit in Android?
android|curl|retrofit2
0
2020-02-07T05:06:57.483Z
2,020
2
5
4
89
1
80
57
3
1
true
false
false
false
false
false
zero
60,107,398
Placing banner ad on bottom of parent with fragments Android
<p>I'm making an android app but having trouble with positioning a banner.</p> <p>I have an Activity acting as a container for fragments. I basically want a Scroll View for the root, then the fragment, and an ad on the very bottom.</p> <p>Here is my XML.</p> <pre><code>&lt;ScrollView xmlns:android=&quot;http://schemas....
I'm making an android app but having trouble with positioning a banner. I have an Activity acting as a container for fragments. I basically want a Scroll View for the root, then the fragment, and an ad on the very bottom. Here is my XML. [CODE] Here's how the layout looks like Basically, the ad is placed directly below...
android|admob|fragment|banner
0
2020-02-07T05:08:36.250Z
2,020
2
5
4
689
4
941
60
4
2
true
false
false
false
false
false
zero
60,107,525
How to add the correct admob or adview dependency to an Android app
<p>I'm developing an app and I want to add an admob banner add to it. I asked the permissions in the manifest file for Internet and for the network state. Then I added the dependency for admob. After entering the dependency to the gradle file, the app in my phone app crashes during testing.</p> <p>It happens when I ad...
I'm developing an app and I want to add an admob banner add to it. I asked the permissions in the manifest file for Internet and for the network state. Then I added the dependency for admob. After entering the dependency to the gradle file, the app in my phone app crashes during testing. It happens when I add the depen...
android|android-studio|dependencies|admob
0
2020-02-07T05:21:38.370Z
2,020
2
5
4
1,064
2
470
67
4
1
true
false
false
false
false
false
zero
60,107,570
How to removed READ_EXTERNAL_STORAGE permission from my app?
<p>When I upload my app to the google store (aab file), I can see that additional permissions were added to the app :</p> <p><strong>*Photos/Media/Files-</strong> -read the contents of your USB storage -modify or delete the contents of your USB storage</p> <p><strong>*Storage-</strong> -read the contents of your USB ...
When I upload my app to the google store (aab file), I can see that additional permissions were added to the app : *Photos/Media/Files- -read the contents of your USB storage -modify or delete the contents of your USB storage *Storage- -read the contents of your USB storage -modify or delete the contents of your USB st...
android|android-permissions
0
2020-02-07T05:26:10.893Z
2,020
2
5
4
858
0
908
60
2
0
false
true
false
false
false
false
zero
60,107,578
Android SecurityException when trying to upload a document - JAVA
<p>i am using this code to present the user with a document selection intent:</p> <pre><code>if (Build.VERSION.SDK_INT &gt;= 23) { if (ActivityCompat.checkSelfPermission(getActivity(), android.Manifest.permission.READ_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED &amp;&amp; Act...
i am using this code to present the user with a document selection intent: [CODE] but this is giving me an exception: [CODE] i tried changing this line [CODE] to [CODE] and heres my onActivityResult [CODE] i am getting the error when trying to run this code: [CODE] based on this question but the exception still persist...
java|android|android-permissions|file-access
0
2020-02-07T05:26:52.410Z
2,020
2
5
4
175
1
382
65
4
6
true
false
false
false
false
false
zero
60,107,633
fetch and store data in recycler view from other activity selected list items in android
<pre><code>how to store only selected item list data in recycler view from other activity list. i used this code -- successfully select data but don't know how to add only selected data items in new activity recycler view - i used this code snippet ite working fine- // </code></pre> <blockquote> <p><a href="https...
[CODE] https://en.proft.me/2018/03/3/multi-selection-recyclerview/ [CODE]
android
0
2020-02-07T05:32:41.403Z
2,020
2
5
4
67
2
73
88
1
2
true
false
false
false
false
false
zero
60,107,667
Android studio button taking me to wrong activity
<p>I'm relatively new to Android Studio, this is my 2nd project. I'm currently having an issue that just recently appeared when when I run my app, when I click on the create_account button on the main menu activity. Its sending me to my ViewlogActivity for some reason. And when I click on my Viewlogs button it does not...
I'm relatively new to Android Studio, this is my 2nd project. I'm currently having an issue that just recently appeared when when I run my app, when I click on the create_account button on the main menu activity. Its sending me to my ViewlogActivity for some reason. And when I click on my Viewlogs button it does nothin...
java|android-studio|android-layout|android-manifest
0
2020-02-07T05:36:04.587Z
2,020
2
5
4
732
1
428
49
4
1
true
false
false
false
false
false
zero
60,107,836
Creating a new Folder in Android Internal memory with different name after each run
<p>I have an android app that collect data from a sensor. After each run it creates bunch of text files (e.g. A.txt, B.txt, C.txt, ...). My problem is after each run, all the text files are overwritten. I want to create a folder with a new name consisting current date and time of creation (e.g. 2020-02-07_11_41), then ...
I have an android app that collect data from a sensor. After each run it creates bunch of text files (e.g. A.txt, B.txt, C.txt, ...). My problem is after each run, all the text files are overwritten. I want to create a folder with a new name consisting current date and time of creation (e.g. 2020-02-07_11_41), then sav...
android|android-studio
0
2020-02-07T05:53:44.460Z
2,020
2
5
4
40
1
488
83
2
1
true
false
false
false
false
false
zero
60,107,884
Mock FirebaseRemoteConfig getBoolean()
<p>I have a unit test that requires me to return either a <code>true</code> or <code>false</code> for a firebase config entry. But even if I set the mock to <code>true</code> it always returns <code>false</code> when the unit test is run.</p> <h3>Here is my mock:</h3> <pre><code>doReturn(true).when(mock(FirebaseRemoteC...
I have a unit test that requires me to return either a true or false for a firebase config entry. But even if I set the mock to true it always returns false when the unit test is run. Here is my mock: [CODE] And here is the code with the true or false condition [CODE] useHttp is always false Test dependencies: [CODE] A...
android|firebase|junit|mockito|firebase-remote-config
3
2020-02-07T05:59:13.903Z
2,020
2
5
4
2,038
1
350
38
5
3
true
false
false
false
false
false
low
60,107,904
Sticky scroll and lag in navigation component architecture
<p>I start to use a Navigation Architecture Components, to manage may fragments transaction.. I works fine when I use it to navigate between small number of fragments from 1 to 6 fragments, but when I come to build an app that have drawer navigation and tab layout.. The app becomes slowly overtime I use the app. </p> ...
I start to use a Navigation Architecture Components, to manage may fragments transaction.. I works fine when I use it to navigate between small number of fragments from 1 to 6 fragments, but when I come to build an app that have drawer navigation and tab layout.. The app becomes slowly overtime I use the app. The lag i...
android|performance|android-fragments|android-developer-api|android-jetpack-navigation
0
2020-02-07T06:00:22.847Z
2,020
2
6
4
475
0
732
58
5
0
false
true
false
false
false
false
zero
60,108,002
Why concrete method in interface must be implemented if the interface is written in kotlin
<p>I have written an interface in kotlin with a concrete method and the class which implements it is asking about overriding it. If I write the same interface in java it works fine. May I know what's wrong with it? </p> <p>In kotlin</p> <pre><code>interface BottomSheet { companion object{ val BOTTOMSHEET_ADAPTE...
I have written an interface in kotlin with a concrete method and the class which implements it is asking about overriding it. If I write the same interface in java it works fine. May I know what's wrong with it? In kotlin [CODE] } in Java [CODE] } in gradle [CODE]
java|android|kotlin|interface
2
2020-02-07T06:11:07.263Z
2,020
2
6
4
50
1
264
90
4
3
true
false
false
false
false
false
low
60,108,022
Problem with WebView, gets stuck in loading
<p>I am having a problem where my page gets stuck in a load page, it's just with that page, I thought it was because it had no javascript enabled, then added it and added a bunch of other code probably I won't need, but it was to discard.</p> <p>Any idea what it would be the problem?</p> <pre><code>import android.con...
I am having a problem where my page gets stuck in a load page, it's just with that page, I thought it was because it had no javascript enabled, then added it and added a bunch of other code probably I won't need, but it was to discard. Any idea what it would be the problem? [CODE] } Then in a normal browser what should...
javascript|php|android|android-studio|webview
0
2020-02-07T06:12:54.063Z
2,020
2
6
4
1,432
1
11,638
43
5
2
true
false
false
false
false
false
zero
60,108,047
How can I display a fetched list from an API?
<p>I have a page on my app where im trying to display a list of <code>cars</code> and Im not sure if the issue is with my list code or my fetch code so ill try to put as much code as possible.</p> <p>Here is my <code>RelativeLayout</code> where I want the data to be displayed:</p> <pre><code>&lt;?xml version="1.0" en...
I have a page on my app where im trying to display a list of cars and Im not sure if the issue is with my list code or my fetch code so ill try to put as much code as possible. Here is my RelativeLayout where I want the data to be displayed: [CODE] here is how I want my code to be displayed by fetched data: [CODE] Here...
java|android|list|fetch
0
2020-02-07T06:15:35.257Z
2,020
2
6
4
51
1
648
45
4
7
true
false
false
false
false
false
zero
60,108,079
ERROR: FirebasePerformancePlugin must only be used with Android application projects. can't in Library?
<p>I have built a project with all Firebase features including Firebase Performance Plugin. Now we are trying to make it as Library, While trying to convert from Application to Library we are facing an issue from Firebase as</p> <p>ERROR: FirebasePerformancePlugin must only be used with Android application projects. N...
I have built a project with all Firebase features including Firebase Performance Plugin. Now we are trying to make it as Library, While trying to convert from Application to Library we are facing an issue from Firebase as ERROR: FirebasePerformancePlugin must only be used with Android application projects. Need to appl...
android|firebase|android-sdk-2.3|firebase-performance
0
2020-02-07T06:18:26.167Z
2,020
2
6
4
552
1
488
103
4
0
false
false
false
false
false
false
zero
60,108,155
How to hide first parameter in recyclerview adapter?
<p>How do I hide the first parameter, so it can't be seen by the user. this is my json data</p> <pre><code>{ "api_status": 1, "api_message": "success", "api_authorization": "You are in debug mode !", "data": [ { "id": 7, "title": "judul5", "file": "materipr...
How do I hide the first parameter, so it can't be seen by the user. this is my json data [CODE] And this is my adapter: [CODE]
android|kotlin|android-recyclerview
0
2020-02-07T06:25:27.190Z
2,020
2
6
4
81
2
126
52
3
2
true
false
false
false
false
false
zero
60,108,248
Publishing status Rejected
<p><a href="https://i.stack.imgur.com/t6h4I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t6h4I.png" alt="this Screen Short of rejected apk "></a></p> <p><strong>I am trying to upload apk on play console from 1 week with call_phone and SMS permission but it rejected from play console. i have also ...
I am trying to upload apk on play console from 1 week with call_phone and SMS permission but it rejected from play console. i have also filled the notice form before uploading apk on play console and also described the all required permission functions.
android|google-play-console
0
2020-02-07T06:32:51.987Z
2,020
2
6
4
57
0
253
26
2
0
false
true
false
false
false
false
zero
60,108,250
Android in-app purchase Billing client is crashing my app
<p>When I just initiate the billing client for the inApp purchase, the app crash immediately at this line: billingClient = BillingClient.newBuilder(Profileowner.this).setListener(this).build();</p> <p>I have implemented the PurchasesUpdatedListener and went through the <a href="https://developer.android.com/google/pla...
When I just initiate the billing client for the inApp purchase, the app crash immediately at this line: billingClient = BillingClient.newBuilder(Profileowner.this).setListener(this).build(); I have implemented the PurchasesUpdatedListener and went through the https://developer.android.com/google/play/billing/billing_li...
android|in-app-purchase|billing
3
2020-02-07T06:33:02.670Z
2,020
2
6
4
797
0
370
57
3
1
true
true
false
false
false
false
low
60,108,255
Where to add android:filterTouchesWhenObscured = 'true' in flutter app
<p>Where to add android:filterTouchesWhenObscured = 'true' in flutter app. I couldn't find any answer with flutter perspective. I need to prevent my app from tabjacking for that I need to add<code>android:filterTouchesWhenObscured = 'true' </code> But couldn't find any way to do it in flutter</p>
Where to add android:filterTouchesWhenObscured = 'true' in flutter app. I couldn't find any answer with flutter perspective. I need to prevent my app from tabjacking for that I need to add android:filterTouchesWhenObscured = 'true' But couldn't find any way to do it in flutter
android|flutter
1
2020-02-07T06:33:40.007Z
2,020
2
6
4
751
1
277
70
2
0
false
false
false
false
false
false
low
60,108,301
React native android app build not running on mac
<p>I've built a react native app on windows when ever i'm trying to run it on mac it gives me a error. only when i try to run android it shows me this error, ios is running perfect. and after i build this on mac, this wont run even in the windows system it was previously coded on.</p> <p>error:-</p> <pre><code>error ...
I've built a react native app on windows when ever i'm trying to run it on mac it gives me a error. only when i try to run android it shows me this error, ios is running perfect. and after i build this on mac, this wont run even in the windows system it was previously coded on. error:- [CODE]
android|macos|react-native
1
2020-02-07T06:36:59.983Z
2,020
2
6
4
619
1
293
49
3
1
true
false
false
false
false
false
low
60,108,450
how to get compressed image uri for gallery Image?
<p>I am working on project where there is an need for image to be compressed and need get Uri for that compressed image. The problem is when I try to compress image from gallery it is creating one more image which is compressed along with the original image with different resolution how can achieve like I should have o...
I am working on project where there is an need for image to be compressed and need get Uri for that compressed image. The problem is when I try to compress image from gallery it is creating one more image which is compressed along with the original image with different resolution how can achieve like I should have only...
android|bitmap|android-gallery|image-compression
0
2020-02-07T06:50:22.813Z
2,020
2
6
4
2,197
1
470
50
4
1
true
false
false
false
false
false
zero
60,108,539
onDraw() not being called when move with canvas to borders of display
<p>I have an issue with calling method onDraw(). I've tried find some solutions here but nothing helped.</p> <p>The first of all, I have a paint application and for moving with shapes and background on canvas I'm using View.onTouchListener(). For redrawing canvas there is called method invalidate(). For API 28 it seem...
I have an issue with calling method onDraw(). I've tried find some solutions here but nothing helped. The first of all, I have a paint application and for moving with shapes and background on canvas I'm using View.onTouchListener(). For redrawing canvas there is called method invalidate(). For API 28 it seems allright....
java|android|canvas|ondraw
1
2020-02-07T06:57:47.090Z
2,020
2
6
4
92
2
849
69
4
3
true
false
false
false
false
false
low
60,108,618
Unity toggle to save password works flawlessly in Unity but doesn't work as expected
<p>I have a problem with saving users login and password in PlayerPrefs. While it works very well in Unity (if the password is saved, the toggle is on on start) it doesn't work on Android (if the password is not saved, the toggle is still on on start). Before building for Android, I'm making sure that the toggle is off...
I have a problem with saving users login and password in PlayerPrefs. While it works very well in Unity (if the password is saved, the toggle is on on start) it doesn't work on Android (if the password is not saved, the toggle is still on on start). Before building for Android, I'm making sure that the toggle is off an...
android|unity3d|toggle
0
2020-02-07T07:04:48.447Z
2,020
2
7
4
376
2
529
84
3
2
true
false
false
false
false
false
zero
60,108,632
This release is compliant with the Google Play 64-bit requirement native app
<p>While uploading apk to Play store I am getting a warning saying <strong>"This release is compliant with the Google Play 64-bit requirement."</strong>. When I analyze the app architecture using Android studio. I am able to found both ".so" files under the lib folder. Here is the screenshot for that: <a href="https://...
While uploading apk to Play store I am getting a warning saying "This release is compliant with the Google Play 64-bit requirement." . When I analyze the app architecture using Android studio. I am able to found both ".so" files under the lib folder. Here is the screenshot for that: I have also added bellow line to my ...
android|32bit-64bit
1
2020-02-07T07:06:06.923Z
2,020
2
7
4
1,040
1
526
76
2
1
true
false
false
false
false
false
low
60,108,663
How to run code when resuming an activity after a swipe back gesture from another activity in WearOS?
<p>I have three activities </p> <ol> <li>MainActivity </li> <li>StartActivity </li> <li>EndActivity</li> </ol> <p>When the app loads it opens MainActivty, there are two buttons called Start and End. Clicking on Start takes to StartActivity and End takes to EndActivity. From both these activities, I can swipe back to ...
I have three activities MainActivity StartActivity EndActivity When the app loads it opens MainActivty, there are two buttons called Start and End. Clicking on Start takes to StartActivity and End takes to EndActivity. From both these activities, I can swipe back to MainActivity. I want to execute code in MainActivity ...
android|wear-os
0
2020-02-07T07:08:26.497Z
2,020
2
7
4
149
2
745
101
2
2
true
false
false
false
false
false
zero
60,108,677
How to check the inflation of a layout is complete
<p>In this code (in my <code>MainActivity</code>'s <code>onCreate</code>):</p> <pre><code>mContext = getApplicationContext(); setContentView(R.layout.activity_main); Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); Lat = 51.5074; Long = -0.1278; if (Lat == 0.0 &amp;&amp; Long ==0.0) { ...
In this code (in my MainActivity 's onCreate ): [CODE] The setupViewPager starts with: [CODE] and the error shows java.lang.NullPointerException to the line: uName.setText(userName); . To my understanding, this is because I am trying to setText too early, even before inflation of the layout is completed. The problemati...
android|android-layout
0
2020-02-07T07:09:54.233Z
2,020
2
7
4
62
2
508
50
2
2
true
false
false
false
false
false
zero
60,108,735
How to disable auto suggestion of Edit text in Android version 10 i.e. Android Q?
<p><a href="https://i.stack.imgur.com/iunO0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iunO0.jpg" alt="enter image description here"></a></p> <p>I have tried all the options which are available i.e. <strong>textNoSuggestions</strong>, <strong>textFilter</strong>, <strong>textMultiline</strong>....
I have tried all the options which are available i.e. textNoSuggestions , textFilter , textMultiline . But they didn't work for me. So, after using all these I even tried to set inputType from java file but even that didn't work either. I have my EditText in ConstraintLayout. Thanks in advance.
android|android-edittext|autosuggest|android-10.0
1
2020-02-07T07:15:16.290Z
2,020
2
7
4
203
2
295
81
4
0
false
false
false
false
false
false
low
60,108,780
How to check if the result string is equal to "TIN" and the result of code is "TIN NEBULA 1023-212"?
<p>I'm trying to check the string if a sentence has a word "TIN" but it says false when i try to use equal or '=='. Here is my code.</p> <pre><code> if (!recognizer.isOperational()) { Toast.makeText(this, "Error", Toast.LENGTH_SHORT).show(); } else { Frame frame =...
I'm trying to check the string if a sentence has a word "TIN" but it says false when i try to use equal or '=='. Here is my code. [CODE]
java|android
-1
2020-02-07T07:18:50.450Z
2,020
2
7
4
72
3
136
100
2
1
true
false
false
false
false
true
negative
60,108,803
Convert existing List into a json/text file so moving forward read the data from that file to generate the List
<p>How do I change this <code>List&lt;Any&gt;</code> into text/json file and then read it? As this FAQ question and answer will be hardcoded, so, I do not want it to be set directly inside my fragment. I'm planning to put the info into assets file, then read it from there to generate the <code>List</code></p> <p>My <c...
How do I change this List<Any> into text/json file and then read it? As this FAQ question and answer will be hardcoded, so, I do not want it to be set directly inside my fragment. I'm planning to put the info into assets file, then read it from there to generate the List My List<Any> [CODE] I do not know how to convert...
android|list|kotlin|any
1
2020-02-07T07:21:38.737Z
2,020
2
7
4
123
1
557
111
4
5
true
false
false
false
false
false
low
60,109,015
Why does the Launcher App show First Activity, when the other app finished?
<p>I created a launcher app that contains two activities, <code>MainActivity</code> and <code>DrawerActivity</code>.<br> I start the other app (Music App) from <code>DrawerActivity</code>.</p> <pre><code>Intent intent = getPackageManager().getLaunchIntentForPackage("com.android.music"); startActivity(intent); </cod...
I created a launcher app that contains two activities, MainActivity and DrawerActivity . I start the other app (Music App) from DrawerActivity . [CODE] When I closed the music app. I have a question. The launcher shows the page MainActivity first (very fast), then page DrawerActivity , but doesn't call onCreate or onRe...
android|android-launcher
0
2020-02-07T07:39:04.477Z
2,020
2
7
4
141
1
381
75
2
2
true
false
false
false
false
false
zero
60,109,024
Android: Receiving wrong UTM from Google Ads
<p>According to my boss, some of our applications have been invested on advertising of the app via Google Ads. In order for them to parse the data and analyze them correctly, they are using the UTM auto-tagging approach. It is my job from the client (Android Device) to send the UTM using Firebase Analytics and also a c...
According to my boss, some of our applications have been invested on advertising of the app via Google Ads. In order for them to parse the data and analyze them correctly, they are using the UTM auto-tagging approach. It is my job from the client (Android Device) to send the UTM using Firebase Analytics and also a cust...
android|firebase|ads|utm-tracking
0
2020-02-07T07:39:30.433Z
2,020
2
7
4
472
1
2,077
44
4
1
true
false
false
false
false
false
zero
60,109,043
Put a pie chart in a widget?
<p>I would like to make my android widget to display a pie chart. I know I can create a pie chart using: <code>PieChartView pieChartView = findViewById(R.id.pieChart);</code></p> <p>But <strong>I'm not able to use <code>findViewById()</code> for widgets</strong>.</p> <p><strong>Edit:</strong></p> <p>The error says "...
I would like to make my android widget to display a pie chart. I know I can create a pie chart using: PieChartView pieChartView = findViewById(R.id.pieChart); But I'm not able to use findViewById() for widgets . Edit: The error says "Cannot resolve method 'findViewById(?)'" This is what I've tried so far: [CODE] But I'...
android|android-widget
0
2020-02-07T07:41:34.393Z
2,020
2
7
4
380
1
485
28
2
1
true
false
false
false
false
false
zero
60,109,140
When setForegroundBetweenScanPeriod is set for a long time and the beacon is turned off / on, a large amount of Range events are fired
<p>The activity is used by the foreground service.</p> <p>BeaconManager is used as a foreground in that service.</p> <p>Library version is 2.16.2</p> <p><strong><em>The settings are as follows</em></strong></p> <pre><code>g_beaconManager = BeaconManager.getInstanceForApplication(this); g_beaconManager.setForegroun...
The activity is used by the foreground service. BeaconManager is used as a foreground in that service. Library version is 2.16.2 The settings are as follows [CODE] Follow the steps below ① Start the service ② didRangeBeaconsInRegion is fired and information of beacon is acquired ③ Beacon power off ④ After 9.9 seconds, ...
ibeacon-android
0
2020-02-07T07:47:48.573Z
2,020
2
7
4
68
1
890
134
1
1
true
false
false
false
false
false
zero
60,109,148
Oreo failed to post notification on channel null
<p>i am trying to make notification push using FCM but every time when i am trying to send notification my Emulator always toasting failed to post notification on channel null,</p> <p>i have trying many ways about posting notification on channel, but none of it is correct</p> <p>i am using 'com.google.firebase:fireba...
i am trying to make notification push using FCM but every time when i am trying to send notification my Emulator always toasting failed to post notification on channel null, i have trying many ways about posting notification on channel, but none of it is correct i am using 'com.google.firebase:firebase-messaging:10.2.0...
android|firebase-cloud-messaging|android-notifications|android-8.0-oreo
0
2020-02-07T07:48:34.433Z
2,020
2
7
4
182
1
367
48
4
2
true
false
false
false
false
false
zero
60,109,267
How to make tablayout tabitem text size equal?
<p>I tried other StackOverflow answer <a href="https://stackoverflow.com/questions/36399013/how-to-make-tablayout-text-size-equal">How to make tablayout text size equal?</a> but it's not working in my case so I ask this question please help me out.</p> <pre><code>&lt;com.google.android.material.tabs.TabLayout ...
I tried other StackOverflow answer How to make tablayout text size equal? but it's not working in my case so I ask this question please help me out. [CODE]
android|android-layout
0
2020-02-07T07:58:39.353Z
2,020
2
7
4
93
1
155
46
2
1
true
false
false
false
false
false
zero
60,109,309
Error HTTP 504 When load image form URL with picasso android after ssl issue in Retrofit
<p>Initially, Images are loaded with Picasso, worked fine.After Rectified the SSL certificate issue in Retrofit, other things are working fine. But Image not loaded.<br> But, the image can be shown correctly in the browser.</p> <pre><code>com.squareup.picasso.NetworkRequestHandler$ResponseException: HTTP 504 </code><...
Initially, Images are loaded with Picasso, worked fine.After Rectified the SSL certificate issue in Retrofit, other things are working fine. But Image not loaded. But, the image can be shown correctly in the browser. [CODE] I have tried Network security configuration in Manifest and https://github.com/square/picasso/is...
android|picasso
0
2020-02-07T08:01:43.980Z
2,020
2
8
4
354
0
419
88
2
3
true
true
false
false
false
false
zero
60,109,341
Why does my app crashes on Google Play when opened for the first time?
<p>I am recently facing this issue, the previous bundle uploaded on google play store works fine but recently the uploaded bundle crashes on the first run and works fine on the second run. As of previous bundles, they are crashing too. I am unable to test for this issue locally as the app only crashes once uploaded on ...
I am recently facing this issue, the previous bundle uploaded on google play store works fine but recently the uploaded bundle crashes on the first run and works fine on the second run. As of previous bundles, they are crashing too. I am unable to test for this issue locally as the app only crashes once uploaded on goo...
android|google-play|apk|android-app-bundle
4
2020-02-07T08:04:10.350Z
2,020
2
8
4
916
1
483
70
4
1
true
false
false
false
false
false
low
60,109,381
AsyncTask -> Error :Thread…: reacting to signal 3 Wrote stack traces to tombstoned (smartphone with android 10)
<p><strong>My app crashes only on a smartphone with android 10 ... not on a smartphone with android 9 Why?</strong></p> <p>This is my error:</p> <blockquote> <p>Thread[7,tid=8537,WaitingInMainSignalCatcherLoop,Thread*=0x70f8fa2c00,peer=0x131c0378,"Signal Catcher"]: reacting to signal 3<br> Wrote stack traces to t...
My app crashes only on a smartphone with android 10 ... not on a smartphone with android 9 Why? This is my error: Thread[7,tid=8537,WaitingInMainSignalCatcherLoop,Thread*=0x70f8fa2c00,peer=0x131c0378,"Signal Catcher"]: reacting to signal 3 Wrote stack traces to tombstoned onCreate method (NetActivity.java): [CODE] My A...
android|android-asynctask
2
2020-02-07T08:07:27.310Z
2,020
2
8
4
4,547
0
353
111
2
2
true
true
true
false
false
false
low
60,109,390
How to send fetched data in Splash Screen Activity to other activity in Kotlin?
<p>Fetched data is a JSON string list of Users. Let's say it has 5 string-value property and it would be less than 30 user. I thought that i could just put it in Intent, but:</p> <ol> <li>Is it really the best way to do it?</li> <li>What if there is hundreds of user, what is the best way?</li> </ol> <p>FYI i'm using ...
Fetched data is a JSON string list of Users. Let's say it has 5 string-value property and it would be less than 30 user. I thought that i could just put it in Intent, but: Is it really the best way to do it? What if there is hundreds of user, what is the best way? FYI i'm using Fuel to fetch data and it could request a...
android|kotlin
3
2020-02-07T08:07:51.383Z
2,020
2
8
4
352
1
334
79
2
0
false
false
false
false
false
false
low
60,109,395
I want to make a FloatView, but I don't know how to make it only show in the app
<p><strong>I make a FloatView like this site,<a href="https://github.com/JackZhous/FloatView" rel="nofollow noreferrer">https://github.com/JackZhous/FloatView</a></strong></p> <p><strong>target :</strong> This FloatView will disappear when the user presses the main screen, but the app switch screen will not disappear....
I make a FloatView like this site, https://github.com/JackZhous/FloatView target : This FloatView will disappear when the user presses the main screen, but the app switch screen will not disappear. problem : I modify the file... FloatUtil.java line 81 mParams.type = WindowManager.LayoutParams.TYPE_PHONE; ->FloatUtil.ja...
android
1
2020-02-07T08:08:33.137Z
2,020
2
8
4
90
1
433
80
1
1
true
false
false
false
false
false
low
60,109,439
How can I solve err_unknown_url_scheme?
<p><h1>MainActivity.Java</H1></p> <pre><code>package com.example.neermaicom; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.WindowManager; import android.webkit.WebSettings; import android.webkit.WebView; import an...
MainActivity.Java [CODE] } This is my code right now. Working fine. But only issue when i share the post by click social medias. It’s says net: err_unknown_url_scheme. Please help me. Thanks
android|android-webview
2
2020-02-07T08:12:25.170Z
2,020
2
8
4
817
1
190
39
2
1
true
false
false
false
false
false
low