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,062,622
Xamarin Android take a photo with an intent without the Retry OK
<p>I'd like to take a photo from Xamarin Android (not Forms) and have it take the shot, and return the photo, skipping the Retry and OK links at the bottom of the screen.</p> <p>I'm not using any special library, just passing an intent as shown here:</p> <p><a href="https://www.c-sharpcorner.com/article/camera-applic...
I'd like to take a photo from Xamarin Android (not Forms) and have it take the shot, and return the photo, skipping the Retry and OK links at the bottom of the screen. I'm not using any special library, just passing an intent as shown here: https://www.c-sharpcorner.com/article/camera-application-create/ Here's my code...
android|xamarin|camera
0
2020-02-04T17:28:31.007Z
2,020
2
17
1
302
1
561
64
3
2
true
false
false
false
false
false
zero
60,062,633
Is it possible to use ViewModel with a Dialog class?
<p>Our project has an Input Method Service. It is a custom keyboard where we call a Dialog to show some screens where the user is able to interact. </p> <p>My question is:</p> <p>Is it possible for a ViewModel to be used with Dialog class as we do it with Activity ?</p>
Our project has an Input Method Service. It is a custom keyboard where we call a Dialog to show some screens where the user is able to interact. My question is: Is it possible for a ViewModel to be used with Dialog class as we do it with Activity ?
android
0
2020-02-04T17:29:15.353Z
2,020
2
17
1
58
1
248
52
1
0
false
false
false
false
false
false
zero
60,062,645
Xamarin Android & AIDL: Java.Lang.IllegalStateException: 'Bad magic number for Bundle
<p>I am using an Xamarin Android to connect with a Android service. After I auto-generate the stubs for the .aidl files and run the project I encounter the following error.</p> <p>"Java.Lang.IllegalStateException: 'Bad magic number for Bundle"</p> <p><a href="https://i.stack.imgur.com/h6G22.png" rel="nofollow norefer...
I am using an Xamarin Android to connect with a Android service. After I auto-generate the stubs for the .aidl files and run the project I encounter the following error. "Java.Lang.IllegalStateException: 'Bad magic number for Bundle" I am using a Parceable class that holds two float values. [CODE] I am wondering if the...
android|xamarin|aidl
1
2020-02-04T17:30:15.013Z
2,020
2
17
1
388
1
603
85
3
1
true
false
false
false
false
false
low
60,062,703
Show gradle files as part of their modules in Android Studio
<p>By default Android Studio shows all build.gradle files in a neat list at the very bottom below all modules. This becomes problematic in projects with over 100 modules as its hard to scan through them all to find the one youre looking for.</p> <p>Is it possible to instead show them as part of the module they belong ...
By default Android Studio shows all build.gradle files in a neat list at the very bottom below all modules. This becomes problematic in projects with over 100 modules as its hard to scan through them all to find the one youre looking for. Is it possible to instead show them as part of the module they belong to? Right n...
android-studio|build.gradle
1
2020-02-04T17:33:29.927Z
2,020
2
17
1
29
0
371
60
2
0
false
true
false
false
false
false
low
60,062,726
how to delete (photo ,video , file) in android 9
<pre><code>@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); //Detects request codes if(requestCode==GET_FROM_GALLERY &amp;&amp; resultCode == Activity.RESULT_OK) { Uri selectedImage =...
[CODE]
android
0
2020-02-04T17:34:47.593Z
2,020
2
17
1
42
1
6
48
1
1
true
false
false
false
false
false
zero
60,062,746
Why does my Android Kotlin app not request permission from the user to turn on Location?
<p>My app is not requesting permission from the user to turn on <code>Location</code>. When I manually turn on <code>Location</code> my app works as expected but when I manually turn <code>Location</code> off it doesn't work as expected and does not prompt for the user's permission to turn <code>Location</code> back on...
My app is not requesting permission from the user to turn on Location . When I manually turn on Location my app works as expected but when I manually turn Location off it doesn't work as expected and does not prompt for the user's permission to turn Location back on. Here is my Kotlin code: [CODE]
android|kotlin|permissions|location
3
2020-02-04T17:35:58.463Z
2,020
2
17
1
8,141
1
298
88
4
1
true
false
true
false
false
false
low
60,063,044
Specific Search Results Returning Empty (Spotify API)
<p>I am currently working on an app involving the Spotify Web API, In the app i have a list of song objects, for each song i would like to search spotify and retrieve the corresponding URI for it, However certain songs return empty JSON responses... I know for sure that my requests are valid since I get responses for m...
I am currently working on an app involving the Spotify Web API, In the app i have a list of song objects, for each song i would like to search spotify and retrieve the corresponding URI for it, However certain songs return empty JSON responses... I know for sure that my requests are valid since I get responses for most...
java|android|api|spotify
2
2020-02-04T17:54:18Z
-1
-1
-1
-1
1,776
1
1,286
53
4
5
true
false
false
false
false
false
low
60,063,057
How to change the label languages on the Here Map?
<p>As stated on the official website: <a href="https://developer.here.com/documentation/android-premium/dev_guide/topics/coverage-label-languages.html" rel="nofollow noreferrer">HERE SDK does not require any actions from developers to set the appropriate language as it automatically detects the current device language ...
As stated on the official website: HERE SDK does not require any actions from developers to set the appropriate language as it automatically detects the current device language setting and applies the same language within the SDK if it is supported. When I change the language settings on the phone, the language of the ...
android|here-api
0
2020-02-04T17:55:16.143Z
2,020
2
17
1
467
1
505
50
2
1
true
false
false
false
false
false
zero
60,063,110
Download Image from Url and covert into byte array - android
<p>I'm receiving URL of images and other data from API and showing images into recyclerview, I want to store images in room database in a byte array format, but I'm getting an error while converting image URL to a byte array. My app is crashing at url.openstream();.</p> <pre><code>private byte[] getByteArrayImage(Stri...
I'm receiving URL of images and other data from API and showing images into recyclerview, I want to store images in room database in a byte array format, but I'm getting an error while converting image URL to a byte array. My app is crashing at url.openstream();. [CODE]
java|android|api|android-room
2
2020-02-04T17:59:13.997Z
2,020
2
17
1
2,569
2
270
60
4
1
true
false
false
false
false
false
low
60,063,134
calling .finish() in onBackPressed is preforming differently than calling it else where
<p>I have nearly identical pieces of code show below.</p> <p>In an unrelated section of the code:</p> <pre><code> thread { val result = Intent() this@Activity2.setResult(RESPONSE_SUCCESS_CODE, result) this@Activity2.finish() } </code></pre> <p>and in the onBackPressed method:</p> <...
I have nearly identical pieces of code show below. In an unrelated section of the code: [CODE] and in the onBackPressed method: [CODE] I would expect these pieces of code to function the same way except for passing a different result code to the calling activity. Except the first piece of code correctly takes us back t...
android|kotlin
1
2020-02-04T18:00:55.897Z
2,020
2
18
1
62
0
1,004
87
2
2
true
true
false
false
false
false
low
60,063,341
Flutter: SearchDelegate Stream is empty when pressing Search
<p>I‘m using a <code>Stream</code> with <code>SearchDelegate</code>.<br> When I enter something in the search field, it's working fine. But as soon as I press the search symbol, it displays nothing, because the stream is empty. How is that possible? </p> <p>Here is some code: </p> <pre><code>List&lt;Notes&gt; n...
I‘m using a Stream with SearchDelegate . When I enter something in the search field, it's working fine. But as soon as I press the search symbol, it displays nothing, because the stream is empty. How is that possible? Here is some code: [CODE] Why is the stream empty, when buildResults() is called, but not when buildSu...
android|flutter|stream
2
2020-02-04T18:16:06.473Z
2,020
2
18
1
425
1
342
60
3
1
true
false
false
false
false
false
low
60,063,644
Description of Material Components themes?
<p>I am currently getting started with Material components themes. The <a href="https://material.io/develop/android/docs/getting-started/" rel="noreferrer">Getting Started</a> guide mentions these themes:</p> <pre><code>Theme.MaterialComponents Theme.MaterialComponents.NoActionBar Theme.MaterialComponents.Light Theme....
I am currently getting started with Material components themes. The Getting Started guide mentions these themes: [CODE] There is no description for them though. Where can I find more details about those themes or could anyone be so kind to explain them in an answer? Just for example: What means [..].NoActionBar ? If I ...
android|themes|material-components
5
2020-02-04T18:38:17.317Z
2,020
2
18
1
1,577
1
789
42
3
1
true
false
false
false
false
false
low
60,063,729
Use Volley synchronous
<p>I need to use volley sync (need to get server response then continues program)</p> <p>I search a lot in stackOverFlow but i have problem with them this is my code</p> <pre><code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_splash...
I need to use volley sync (need to get server response then continues program) I search a lot in stackOverFlow but i have problem with them this is my code [CODE] but when i debug program my app Block on this line [CODE] and i add timeout to this line but it will go to TimeoutException [CODE] after define time i trace ...
java|android|android-volley
3
2020-02-04T18:43:26.497Z
2,020
2
18
1
65
0
409
22
3
4
true
true
false
false
false
false
low
60,063,768
Don't display login screen for user after signing in - Android Studio
<p>I have an app that the home screen is the login activity, I would like that after the user logs in this screen will no longer be displayed even if the user is using the back button on the phone. and always keep him logged in when you open the app. any solution not being sharedpreferences?</p> <p>something that I ca...
I have an app that the home screen is the login activity, I would like that after the user logs in this screen will no longer be displayed even if the user is using the back button on the phone. and always keep him logged in when you open the app. any solution not being sharedpreferences? something that I can implement...
android|android-studio|authentication|firebase-realtime-database
2
2020-02-04T18:46:15.680Z
2,020
2
18
1
1,924
1
716
69
4
3
true
false
false
false
false
false
low
60,063,828
How to implement a Mesh network in Android
<p>Working on a project that should share data among 4+ devices offline. Using Google Nearby connection, we are able to establish a connection between devices via P2P-STAR topology. But what we really need is to have all devices receive and send data to all connected devices(M-N Connection). </p> <p>After doing a rese...
Working on a project that should share data among 4+ devices offline. Using Google Nearby connection, we are able to establish a connection between devices via P2P-STAR topology. But what we really need is to have all devices receive and send data to all connected devices(M-N Connection). After doing a research, Google...
android|bluetooth|offline|mesh-network|google-nearby-connections
3
2020-02-04T18:50:55.543Z
2,020
2
18
1
2,639
1
525
42
5
0
false
false
true
false
false
false
low
60,063,830
setbackgrounddrawable dont works in android API 23
<p>This code works in API > 23 but in API 23 don't work. I need setBackground of the ImageButton one drawable image.</p> <p>How do I solve this? </p> <pre><code> ImageButton imgbt = findViewById(R.id.imgbt ); imgbt .setBackgroundDrawable(new BitmapDrawable(EstadoDescritivo.this.getResources(), BitmapFactory....
This code works in API > 23 but in API 23 don't work. I need setBackground of the ImageButton one drawable image. How do I solve this? [CODE] Thanks
java|android|android-studio|android-layout
1
2020-02-04T18:51:03.297Z
2,020
2
18
1
33
1
148
50
4
1
true
false
false
false
false
false
low
60,063,876
set custom ringtone to specific contact number in Android 7
<blockquote> <p>how can I set a ringtone for a specific contact?</p> </blockquote> <pre><code>int result = getContentResolver().update(contactUri, ContentValues, null, null); </code></pre> <blockquote> <p>result = 1 but custom ringtone is not updating in android 7 or above</p> </blockquote>
how can I set a ringtone for a specific contact? [CODE] result = 1 but custom ringtone is not updating in android 7 or above
android|sql-update|android-contentprovider|android-contacts|android-7.1-nougat
0
2020-02-04T18:53:50.140Z
2,020
2
18
1
38
0
124
59
5
1
true
true
false
false
false
false
zero
60,063,998
Get single item from Room DB. Call the function from view model
<p>So my general question is how to call a function from view model for @Query where you have to pass something and then return something. My simple example:</p> <p><strong>DAO</strong></p> <pre><code>@Query ("SELECT * FROM table_name WHERE id = :id LIMIT 1") fun getItemById (id: Long) : MyItem </code></pre> <p><str...
So my general question is how to call a function from view model for @Query where you have to pass something and then return something. My simple example: DAO [CODE] Repo [CODE] I know that it cannot and should not be done on ui thread. For inserting and deleting an item i use viewModelScope job but i cannot (maybe jus...
android|kotlin|android-room|dao|android-viewmodel
5
2020-02-04T19:03:28.137Z
2,020
2
19
1
4,332
1
745
63
5
4
true
false
true
false
false
false
low
60,064,008
handle toString NullPointException, even after checking for !null
<p>I am getting frequent crash with </p> <pre><code>Fatal Exception: java.lang.RuntimeException Unable to start activity ComponentInfo{com.example.phocast/com.example.phocast.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String java.lang.CharSequence.toString()' on a null...
I am getting frequent crash with [CODE] AndroidStudio is also showing that Method invocation .toString may produce NullPointException My code is: [CODE] Since I am already checking for savedInstanceState , what else I can check?
java|android|nullpointerexception
0
2020-02-04T19:04:10.070Z
2,020
2
19
1
57
2
228
65
3
2
true
false
false
false
false
false
zero
60,064,078
Portability of JNI native function registration via RegisterNatives() in C++ on Android
<p>One of the ways to register native functions in JNI is by using the function <code>RegisterNatives()</code>. An example (although seemingly with some errors) can be found in the Android documentation <a href="https://developer.android.com/training/articles/perf-jni#native-libraries" rel="nofollow noreferrer">here</a...
One of the ways to register native functions in JNI is by using the function RegisterNatives() . An example (although seemingly with some errors) can be found in the Android documentation here . Here's a code example demonstrating this technique: [CODE] Using RegisterNatives() requires casting (non-member) function poi...
android|c++|java-native-interface
1
2020-02-04T19:09:11.443Z
2,020
2
19
1
214
0
1,529
87
3
1
true
true
false
false
false
false
low
60,064,128
Soft keyboard not closing when dialog is cancelled
<p>In my app i have a dialog where the user should enter some text in an edittext. But when I tap outside of the dialog to close the dialog, the dialog closes but the soft keyboard which popped up because i clicked on the edittext stays. It's very weird: when I set windowsoftinputmode to stateAlwaysHidden,the keyboard ...
In my app i have a dialog where the user should enter some text in an edittext. But when I tap outside of the dialog to close the dialog, the dialog closes but the soft keyboard which popped up because i clicked on the edittext stays. It's very weird: when I set windowsoftinputmode to stateAlwaysHidden,the keyboard get...
android-studio|android-edittext|android-dialog
1
2020-02-04T19:13:12.003Z
2,020
2
19
1
59
1
779
50
3
1
true
false
false
false
false
false
low
60,064,138
Understanding Android Visualizer FFT output
<p>I'm trying to create a bar graph of the frequency spectrum and I am using the android Visualizer API. I set an onFftDataCapure listener and am successfully receiving a byte array. The byte array appears to be more than just amplitude x frequency, lots of near min/max values that don't make sense. Looking at the docu...
I'm trying to create a bar graph of the frequency spectrum and I am using the android Visualizer API. I set an onFftDataCapure listener and am successfully receiving a byte array. The byte array appears to be more than just amplitude x frequency, lots of near min/max values that don't make sense. Looking at the documen...
java|android|audio|data-visualization
0
2020-02-04T19:14:09.590Z
2,020
2
19
1
277
0
1,196
43
4
1
true
true
false
false
false
false
zero
60,064,146
My activity goes to previous activity when firebase database change is detected
<p>Thats the Fragment containing the recyclerView which leads to activity with Chat</p> <pre><code>public class FragmentBusinessHome extends Fragment { /* For to do adapter */ private List&lt;String&gt; namesToDo; private List&lt;String&gt; uids; private List&lt;String&gt; servicesNames; private AdapterToDo adapterToD...
Thats the Fragment containing the recyclerView which leads to activity with Chat [CODE] Thats fragment's activity [CODE] That's the adapter for the fragment [CODE] That is the Activity where the fragment's adapter leads to [CODE] The PROBLEM is that when the fragment opens the activity (it contains messages in chat bet...
java|android|database|firebase|fragment
0
2020-02-04T19:14:52.390Z
2,020
2
19
1
38
0
574
79
5
4
true
true
false
false
false
false
zero
60,064,193
Call from foreground service stops working when screen is off
<p>I have the following code that makes a phone call:</p> <pre class="lang-java prettyprint-override"><code>public static void CallPhoneNumber(this Context context, string phoneNumber) { var uri = Android.Net.Uri.Parse(&quot;tel:&quot; + phoneNumber); var callIntent = new Intent(Intent.ActionCall, uri); cal...
I have the following code that makes a phone call: [CODE] I make a phone call inside a running foreground service. Basically the service detects conditions (in my case GPS location) and makes a phone call. It worked just fine with my Pixel 2XL and Android 9. But after upgrade to Android 10 I faced to a new problem. Fir...
android|xamarin|xamarin.android|android-10.0
1
2020-02-04T19:18:16.933Z
2,020
2
19
1
1,161
2
769
61
4
2
true
false
false
false
false
false
low
60,064,272
How to change the IMEI number of a rooted android device via appium or adb?
<p>I want to change the IMEI of a rooted Android device via adb so that the entire process could be automated via appium. Is there any way I could do that using appium. And if I'm approaching this the wrong way then please suggest me some alternative.</p> <p>Edit: There are various ways to change it. I've googled it ...
I want to change the IMEI of a rooted Android device via adb so that the entire process could be automated via appium. Is there any way I could do that using appium. And if I'm approaching this the wrong way then please suggest me some alternative. Edit: There are various ways to change it. I've googled it and found ma...
java|android|adb|appium|appium-android
-1
2020-02-04T19:24:37.903Z
2,020
2
19
1
3,465
1
396
75
5
0
false
false
true
false
false
true
negative
60,064,318
Hide TabLayout and Toolbar in some Fragments / Handling onPause/onResume correctly
<p>I am using a single Activity approach with a Navigation Graph. I don't want my tab layout or the toolbar visible in some fragments. I wrote a superclass to extend from in those fragments i don't want the bars. But somehow i do not understand the lifecycle correctly as this is not working:</p> <pre><code> public cl...
I am using a single Activity approach with a Navigation Graph. I don't want my tab layout or the toolbar visible in some fragments. I wrote a superclass to extend from in those fragments i don't want the bars. But somehow i do not understand the lifecycle correctly as this is not working: [CODE] and [CODE] What am i do...
android|toolbar|android-tablayout|lifecycle
0
2020-02-04T19:27:34.893Z
2,020
2
19
1
112
2
330
82
4
2
true
false
false
false
false
false
zero
60,064,354
Razorpay error "Account Id is required with partner credential"
<p>I am trying to integrate Razorpay to the android app. I am getting the following error whenever I open the checkout form. </p> <pre><code>{"code":"BAD_REQUEST_ERROR","description":"Account id is required with partner credentials"} </code></pre> <p>I am setting the Key Id in <code>checkout.setKeyID(keyId)</code>. ...
I am trying to integrate Razorpay to the android app. I am getting the following error whenever I open the checkout form. [CODE] I am setting the Key Id in checkout.setKeyID(keyId) . I also have an account Id, but do not know where to set it.
android|payment-gateway|razorpay
0
2020-02-04T19:30:08.680Z
2,020
2
19
1
296
1
242
63
3
1
true
false
false
false
false
false
zero
60,064,420
Fragment tag names with NavController navigate
<p>When using the navigation architecture, is it possible to explicitly assign fragment tag names to the fragments that you navigate to so that later you can refer back to them if you need to do something with them on the back stack? I'm referring to navigate calls like these: <code>NavController.navigate(R.id.exampleF...
When using the navigation architecture, is it possible to explicitly assign fragment tag names to the fragments that you navigate to so that later you can refer back to them if you need to do something with them on the back stack? I'm referring to navigate calls like these: NavController.navigate(R.id.exampleFragment) ...
android|android-fragments|android-navigation|android-architecture-navigation
7
2020-02-04T19:35:17.823Z
2,020
2
19
1
406
0
452
46
4
0
false
true
false
false
false
false
medium
60,064,433
Do I have to use google In-App purchases if I sell a physical good that also unlocks access to our app?
<p><strong>Situation:</strong></p> <p>We want to sell our app along with a physical device. Thus we don't know if we have to use Google In-App purchases, because it unlocks access to our software (must be used with In-App purchases) and also sells a physical good. (does not have to be sold with in-App purchases)</p> ...
Situation: We want to sell our app along with a physical device. Thus we don't know if we have to use Google In-App purchases, because it unlocks access to our software (must be used with In-App purchases) and also sells a physical good. (does not have to be sold with in-App purchases) edit It seems that I have not des...
android|in-app-purchase|payment|google-pay
1
2020-02-04T19:36:08.993Z
2,020
2
19
1
188
0
1,411
103
4
0
false
true
false
false
false
false
low
60,064,446
onKeyDown prevents hardware volume buttons to work
<p>When a user presses the back button in Android, I have a customDialog asking "Are you sure". The problem is that if I implement the onKeyDown method, the volume hard buttons just don't work and the volume doesn't go up or down (in the whole Activity).</p> <p>I don't understand why since I'm only checking for KeyEve...
When a user presses the back button in Android, I have a customDialog asking "Are you sure". The problem is that if I implement the onKeyDown method, the volume hard buttons just don't work and the volume doesn't go up or down (in the whole Activity). I don't understand why since I'm only checking for KeyEvent.KEYCODE_...
java|android
0
2020-02-04T19:37:26.307Z
2,020
2
19
1
31
1
332
50
2
1
true
false
false
false
false
false
zero
60,064,517
java.lang.IllegalStateException: sensorManager.getDefaultSensor(sensorType) must not be null in Flutter
<p>I have build a flutter app which has features like showing qibla direction with the help of flutter_compass dependencies. This App works fine in newest versions of Android Devices but if i try to install this app in older versions (API 16, API 17) it shows "Unfortunately this App has Stopped". I checked in logcat it...
I have build a flutter app which has features like showing qibla direction with the help of flutter_compass dependencies. This App works fine in newest versions of Android Devices but if i try to install this app in older versions (API 16, API 17) it shows "Unfortunately this App has Stopped". I checked in logcat it sh...
android|android-studio|flutter|dart
0
2020-02-04T19:43:08.623Z
2,020
2
19
1
199
1
507
103
4
0
false
false
false
false
false
false
zero
60,064,530
Android undefined reference to ANativeWindow_setBuffersTransform API
<p>I'm receiving the following linking error when trying to use ANativeWindow_setBuffersTransform API. complied SDK version is 28 </p> <pre><code>undefined reference to `ANativeWindow_setBuffersTransform' </code></pre> <p>In my CMAKE file I link my target library with android library</p> <pre><code>target_link_libra...
I'm receiving the following linking error when trying to use ANativeWindow_setBuffersTransform API. complied SDK version is 28 [CODE] In my CMAKE file I link my target library with android library [CODE] In my source code file I include the header [CODE] I'm also able to use other NativeWindow functions such as [CODE] ...
android|android-ndk|egl
0
2020-02-04T19:43:36.447Z
2,020
2
19
1
507
1
522
68
3
4
true
false
false
false
false
false
zero
60,064,542
Get FirebaseUser Token in android
<p>Hi I have added firebase authentication system to my android app </p> <p>Now i need to get Facebook token after successful login , i can get user DisplayName, Email , Phone , but not the token string that i need to store for further actions in my app .</p> <p>I have tried </p> <pre><code>if (requestCode == RC_SIG...
Hi I have added firebase authentication system to my android app Now i need to get Facebook token after successful login , i can get user DisplayName, Email , Phone , but not the token string that i need to store for further actions in my app . I have tried [CODE] but it seems that there is no getToken() method So , ho...
android|firebase|firebase-authentication
0
2020-02-04T19:44:26.930Z
2,020
2
19
1
654
1
363
33
3
1
true
false
false
false
false
false
zero
60,064,564
How to get the sum of a column in a listview android?
<p>I am trying to get the total of numbers in an sql table, i first connected between android and sql but i can't sum the numbers in the table column and show them in a textview,like i want to get the total of numbers in a column then display them in a text view ,can someone help me with this task?</p> <p>here is the ...
I am trying to get the total of numbers in an sql table, i first connected between android and sql but i can't sum the numbers in the table column and show them in a textview,like i want to get the total of numbers in a column then display them in a text view ,can someone help me with this task? here is the code i used...
java|android|sql
0
2020-02-04T19:46:14.173Z
2,020
2
19
1
105
1
344
53
3
1
true
false
false
false
false
false
zero
60,064,591
Deleting In Room Database
<p>I am learning Room DataBase!! I Know How to Insert and Retrieve Data from Room DataBase to Recycler View!! But In Delete Operation I am getting error of "No Adapter attached Skipped Layout!"</p> <p>What I want when anyone click on delete button on recycler view . The Task should be deleted</p> <p>That's why I also...
I am learning Room DataBase!! I Know How to Insert and Retrieve Data from Room DataBase to Recycler View!! But In Delete Operation I am getting error of "No Adapter attached Skipped Layout!" What I want when anyone click on delete button on recycler view . The Task should be deleted That's why I also Used delete method...
java|android|android-studio|android-recyclerview|android-room
1
2020-02-04T19:48:36.373Z
2,020
2
19
1
612
1
712
25
5
6
true
false
false
false
false
false
low
60,064,684
Android NDK cpu_features not found
<p>I have an issue with <code>cpu_features</code> lib for Android NDK. I downloaded <a href="https://github.com/google/cpu_features" rel="nofollow noreferrer">lib</a> and copied it to my project directory. My <code>CMakeLists.txt</code> :</p> <pre><code>cmake_minimum_required(VERSION 3.6) add_subdirectory(cpu_feature...
I have an issue with cpu_features lib for Android NDK. I downloaded lib and copied it to my project directory. My CMakeLists.txt : [CODE] My test.cpp file: [CODE] I have 10: fatal error: 'cpu-features.h' file not found error. I have no idea what I'm doing wrong. Thanks.
android|android-ndk
2
2020-02-04T19:56:49.783Z
2,020
2
19
1
288
0
270
34
2
2
true
true
false
false
false
false
low
60,064,930
Unicode string from Windows .NET to Android Java
<p>Please, give me the correct transformation set of functions to in Java to receive correct result.</p> <h1>Windows.NET part.</h1> <p>Some UNICODE string data is converted to byte array using </p> <p><code>Encoding.Unicode.ToBytes(SomeString);</code></p> <h1>Android Java</h1> <p><code>byte[]</code> buffer is tran...
Please, give me the correct transformation set of functions to in Java to receive correct result. Windows.NET part. Some UNICODE string data is converted to byte array using Encoding.Unicode.ToBytes(SomeString); Android Java byte[] buffer is transferred to Android Java as it is. Using new String(byte[], "utf-16") doesn...
java|android|.net|encoding
0
2020-02-04T20:16:27.830Z
2,020
2
20
1
71
1
749
48
4
0
false
false
false
false
false
false
zero
60,064,967
How to work around Android rotating the BLE Mac Address after every connection?
<p>I'm working on a project where a central device connects to peripherals advertising a specific GATT service. The central device exchanges some information with the phone after which the connection is no longer needed and the device disconnects.</p> <p>The problem that I'm running into is that the phone seems to chan...
I'm working on a project where a central device connects to peripherals advertising a specific GATT service. The central device exchanges some information with the phone after which the connection is no longer needed and the device disconnects. The problem that I'm running into is that the phone seems to change its MAC...
android|bluetooth-lowenergy|android-bluetooth|ios-bluetooth
0
2020-02-04T20:20:12.037Z
2,020
2
20
1
1,179
1
1,874
79
4
0
false
false
false
false
false
false
zero
60,065,021
Deployment failed/ArchitectureNotSupportedBySharedRuntime when deploying App to physical phone
<p>I have created a Blank Xamarin App in Visual Studio 2017. I have installed all those components:</p> <p><strong>Xamarin.Android<br> Android SDK<br> Android NDK (x64)<br> GTK#<br> Xamarin Studio<br> Xamarin for Visual Studio</strong></p> <p>Now I try to deploy this App as a test to my physical mobile phone:</p> <u...
I have created a Blank Xamarin App in Visual Studio 2017. I have installed all those components: Xamarin.Android Android SDK Android NDK (x64) GTK# Xamarin Studio Xamarin for Visual Studio Now I try to deploy this App as a test to my physical mobile phone: I have enabled Developer Mode in the mobile. Phone Android Vers...
deployment|xamarin.android|architecture
0
2020-02-04T20:24:15.817Z
2,020
2
20
1
907
1
1,416
94
3
0
false
false
false
false
false
false
zero
60,065,083
How do I implement this for my android app
<p>Hi Guys I recently have seen an app that allows you to copy a url of and instagram post and share it to the app from instagram</p> <p><a href="https://youtu.be/8lr8EgCvLTw?t=6" rel="nofollow noreferrer">you can see what I mean here:</a></p> <p>How do i make it so my app can do this from a web browser, I want theus...
Hi Guys I recently have seen an app that allows you to copy a url of and instagram post and share it to the app from instagram you can see what I mean here: How do i make it so my app can do this from a web browser, I want theuser to be able to copy the url and send it to my app.
android
-3
2020-02-04T20:28:31.663Z
2,020
2
20
1
39
1
280
42
1
0
false
false
false
false
false
true
negative
60,065,127
Why appears a RuntimeException when I execute this code?
<p><em>When I use this code:</em> </p> <pre><code>String nombre_del_usuario = getIntent().getStringExtra("nombre"); mensaje.setText("Hola " + nombre_del_usuario + ", bienvenido a mi mundo! "); </code></pre> <p><strong>Appears this error:</strong> </p> <blockquote> <p>E/AndroidRuntime: FATAL EXCEPTION: main ...
When I use this code: [CODE] Appears this error: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.ejercicio_de_nombre, PID: 18513 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ejercicio_de_nombre/com.example.ejercicio_de_nombre.Main2Activity}: java.lang.ClassCastException: a...
java|android|android-studio|android-intent
-1
2020-02-04T20:31:50.310Z
2,020
2
20
1
225
1
2,087
56
4
1
true
false
false
false
false
true
negative
60,065,188
Android get latest AOSP commits into my project
<p>My Android application faced some freezing issues in some rare scenarios. After some research I found that this issue was caused by an Android bug which already was reported at <code>issuetracker.google.com</code>. Recently I got notified that the issue was fixed. </p> <p>Now my question is, how do I make sure that...
My Android application faced some freezing issues in some rare scenarios. After some research I found that this issue was caused by an Android bug which already was reported at issuetracker.google.com . Recently I got notified that the issue was fixed. Now my question is, how do I make sure that this commit to AOSP tha...
android|dependency-management
0
2020-02-04T20:36:09.920Z
2,020
2
20
1
108
1
1,016
47
2
1
true
false
false
false
false
false
zero
60,065,257
How do I get the resource name of elements in Cordova?
<p>On the Google Play Console I am trying to get the information to fill out the following:</p> <p><a href="https://i.stack.imgur.com/aGgfu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aGgfu.png" alt="resouce name fields on Google Play Console"></a></p> <p>I can see my sign in page on the screen...
On the Google Play Console I am trying to get the information to fill out the following: I can see my sign in page on the screenshots tab of the pre-launch report, but I can't figure out how to actually get the resource names for the three elements. I am using Auth0, and the page I'm trying to get the resource names fr...
android|cordova|google-play
0
2020-02-04T20:41:33.973Z
2,020
2
20
1
143
1
412
54
3
0
false
false
false
false
false
false
zero
60,065,274
Android layout is bigger than screen
<p>My problem is that components inside a ConstraintLayout spill out of the screen. My app has always worked and I have not made changes to these layouts recently. Now, buttons and views are shifted right and down. The constraints on the components act as if the layout was larger. Suddenly, this problem appeared on an ...
My problem is that components inside a ConstraintLayout spill out of the screen. My app has always worked and I have not made changes to these layouts recently. Now, buttons and views are shifted right and down. The constraints on the components act as if the layout was larger. Suddenly, this problem appeared on an S10...
android|android-layout|user-interface|layout|android-constraintlayout
0
2020-02-04T20:42:32.380Z
2,020
2
20
1
346
1
3,035
36
5
2
true
false
false
false
false
false
zero
60,065,348
Putting Firebase Cloud Firestore Document fields into a card stack
<p>I have a Collection of Documents and Im trying to get each Documents field "Name" into a card stack. The Collection is call "Users" and Documents are "userId". Each Document contains the field "Name" and "Gender" of that user. So far iv been able to get the currently signed in user's name to the card stack but am ha...
I have a Collection of Documents and Im trying to get each Documents field "Name" into a card stack. The Collection is call "Users" and Documents are "userId". Each Document contains the field "Name" and "Gender" of that user. So far iv been able to get the currently signed in user's name to the card stack but am havin...
android|firebase|google-cloud-firestore
0
2020-02-04T20:49:07.290Z
2,020
2
20
1
82
1
531
66
3
1
true
false
false
false
false
false
zero
60,065,411
Create Special offer layout
<p>How can I create a layout that contains the red view on top left corner </p> <p>See the picture below to have a better idea of what I am seeking for</p> <p>Thank you <a href="https://i.stack.imgur.com/GBgN9.png" rel="nofollow noreferrer">enter image description here</a></p>
How can I create a layout that contains the red view on top left corner See the picture below to have a better idea of what I am seeking for Thank you enter image description here
android|xml|layout
-4
2020-02-04T20:54:38.733Z
2,020
2
20
1
23
1
179
27
3
0
false
false
false
false
false
true
negative
60,065,549
ML5 image classifiers returns exactly the same results for all images on cordova android platform
<p>I just started working with ML5 and machine learning in general. I started by creating an app that classifies images from my webcam using 'MobileNet' image classifier, I then created a my own classifier using Teachable Machine which also worked great. I created my app using cordova, and I used the browser platform a...
I just started working with ML5 and machine learning in general. I started by creating an app that classifies images from my webcam using 'MobileNet' image classifier, I then created a my own classifier using Teachable Machine which also worked great. I created my app using cordova, and I used the browser platform as I...
android|cordova|p5.js|tensorflow.js
0
2020-02-04T21:07:00.173Z
2,020
2
21
1
232
2
761
97
4
0
false
false
false
false
false
false
zero
60,065,563
How to correctly include 3rd party AAR file in Ionic Cordova build
<p>I am working with Cordova 9.0.1 and ionic 5.4.14</p> <p>I built a custom plugin using plugman and was able to successfully add it and call it from my ionic project with <code>ionic cordova run android</code>, verified by showing a toast which said "cheers!" (get it?)</p> <p>So now I am working in Android Java by a...
I am working with Cordova 9.0.1 and ionic 5.4.14 I built a custom plugin using plugman and was able to successfully add it and call it from my ionic project with ionic cordova run android , verified by showing a toast which said "cheers!" (get it?) So now I am working in Android Java by adding a 3rd party SDK for which...
android|cordova|ionic-framework|cordova-plugins|ionic4
1
2020-02-04T21:08:08.883Z
2,020
2
21
1
754
2
1,004
66
5
6
true
false
false
false
false
false
low
60,065,576
How can I change background with random time?
<p>I'm new on Stack Overflow and I want to learn answer this question please don't give me negative reputation. </p> <p>How can I change background color with random time and everytime on Android Studio ? I'm using Kotlin language.</p> <pre><code>var counter:Int =0 if (Random.nextBoolean()) backg...
I'm new on Stack Overflow and I want to learn answer this question please don't give me negative reputation. How can I change background color with random time and everytime on Android Studio ? I'm using Kotlin language. [CODE]
android|android-studio|android-layout|kotlin
1
2020-02-04T21:09:46.680Z
2,020
2
21
1
503
3
227
45
4
1
true
false
false
false
false
false
low
60,065,612
FCM not sending notification
<p>I followed the fcm page however i can't get it to send a notification. i tested the notification key parameter and it is not empty it is another device's Token. this is my send notification function.</p> <pre><code> private void sendMessage() { String sendMessageText = mSendEditText.getText().toString(); ...
I followed the fcm page however i can't get it to send a notification. i tested the notification key parameter and it is not empty it is another device's Token. this is my send notification function. [CODE]
android|firebase|firebase-cloud-messaging
1
2020-02-04T21:13:37.710Z
2,020
2
21
1
1,652
1
206
28
3
1
true
false
false
false
false
false
low
60,065,690
Viewmodel not retaining values after changing activities using dagger dependency injection
<p>I'm trying to share a ViewModel between two different activities. The first activity is <code>LoginActivity</code>, there I make a request to an api using the users username and password to get a user object. Using live data that user is then changed in the ViewModel. To test I also have a variable that is a string ...
I'm trying to share a ViewModel between two different activities. The first activity is LoginActivity , there I make a request to an api using the users username and password to get a user object. Using live data that user is then changed in the ViewModel. To test I also have a variable that is a string and I change it...
android|kotlin|dagger-2
1
2020-02-04T21:19:34.480Z
2,020
2
21
1
283
0
1,124
90
3
8
true
true
false
false
false
false
low
60,065,695
Display events on a Calendar on Android
<p>I want to have a Calendar with a Month view displaying all the days and events on each day. I found CalendarView, but it doesn't really display events on the way I want. I kept researching and checking lots of results, until I came across a entire app that does that called <a href="https://github.com/SimpleMobileTo...
I want to have a Calendar with a Month view displaying all the days and events on each day. I found CalendarView, but it doesn't really display events on the way I want. I kept researching and checking lots of results, until I came across a entire app that does that called SimpleMobileTools's Simple-Calendar . Here's h...
android|calendar
3
2020-02-04T21:20:07.727Z
2,020
2
21
1
7,947
1
929
39
2
0
false
false
true
false
false
false
low
60,065,705
Android (Xamarin) navigating folder tree through Storage Access Framework Uri
<p>Attempting to navigate folder tree using Storage Access Framework and Uri, I am seeming some unexpected behavior. In short, my test case is a roundtrip DocumentFile -> Uri -> DocumentFile -> Uri test. (code is for Xamarin but these are underlying Android classes so it should not be language specific.)</p> <pre><cod...
Attempting to navigate folder tree using Storage Access Framework and Uri, I am seeming some unexpected behavior. In short, my test case is a roundtrip DocumentFile -> Uri -> DocumentFile -> Uri test. (code is for Xamarin but these are underlying Android classes so it should not be language specific.) [CODE] Question 1...
android|xamarin|uri|storage-access-framework|saf
0
2020-02-04T21:20:53.920Z
2,020
2
21
1
755
1
473
77
5
1
true
false
false
false
false
false
zero
60,065,718
Missing dll System.Net.Security.Native in Xamarin Android app during SQL connection
<p><strong>EDIT #2 01/18/2021</strong></p> <p>Got it to work a while ago. Received some comments about this so I'm adding my code below for you to compare to yours/steal. From what I remember, my issue had something to do with the connection string I was using. I think the example I found had an extra parameter that wa...
EDIT #2 01/18/2021 Got it to work a while ago. Received some comments about this so I'm adding my code below for you to compare to yours/steal. From what I remember, my issue had something to do with the connection string I was using. I think the example I found had an extra parameter that was messing things up maybe? ...
c#|android|xamarin|xamarin.android
1
2020-02-04T21:21:52.367Z
2,020
2
21
1
1,455
2
2,186
83
4
3
true
false
false
false
false
false
low
60,065,721
google-services.json firebase notifications react native android - one app not working
<p>I have three different react-native android apps in a firebase project I use for push notifications. Two of them are working just fine. The third isn't working and I can't figure out what I've done differently. </p> <p>Here's what I know so far:</p> <ul> <li><p>I get no error in app number three, but push notifica...
I have three different react-native android apps in a firebase project I use for push notifications. Two of them are working just fine. The third isn't working and I can't figure out what I've done differently. Here's what I know so far: I get no error in app number three, but push notifications on android just never h...
android|firebase|react-native|push-notification
0
2020-02-04T21:22:08.593Z
2,020
2
21
1
4,371
1
2,804
86
4
4
true
false
true
false
false
false
zero
60,065,742
How can I work with layouts in Android Studio?
<p>Can I work somehow with layouts from resources folder in java? I have a layout in the resorces folder which contains a RelativeLayout which contains a LinearLayout, and any TextViews. And I want to create something like a class instance, and change in example the RelativeLayout background and the texts in the TextVi...
Can I work somehow with layouts from resources folder in java? I have a layout in the resorces folder which contains a RelativeLayout which contains a LinearLayout, and any TextViews. And I want to create something like a class instance, and change in example the RelativeLayout background and the texts in the TextViews...
java|android|variables|layout|android-resources
0
2020-02-04T21:24:14.867Z
2,020
2
21
1
33
1
617
46
5
0
false
false
false
false
false
false
zero
60,065,792
How to iterate a simple callback with cursor in Java?
<p>Here's a simple example of my problem. Suppose I have an API that returns the following:</p> <pre><code>{ cursor: 5, items: [ { id: 0, value: "abc" }, { id: 1, value: "abc" }, { id: 2, value: "abc" }, { id: 3, value: "abc" }, { id: 4, value: "abc" } ] } </code></p...
Here's a simple example of my problem. Suppose I have an API that returns the following: [CODE] Then after getting the last item: [CODE] Now I have a Java function (written for me, I can't modify it) which takes a cursor and a callback object: [CODE] I want to repeatedly call this method until there are no more items. ...
java|android
1
2020-02-04T21:29:50.880Z
2,020
2
21
1
119
1
523
53
2
6
true
false
false
false
false
false
low
60,065,994
How to use Google Drive API to upload a video
<p>I'm still new to Android but I want to ask how to properly use the GoogleDrive API. I want my app to upload a video to Google Drive after recording it. I found some tutorials but all of them use something called GoogleAccountsCredentials, and I don't know why but in my Android Studio I'm just able to use GoogleCrede...
I'm still new to Android but I want to ask how to properly use the GoogleDrive API. I want my app to upload a video to Google Drive after recording it. I found some tutorials but all of them use something called GoogleAccountsCredentials, and I don't know why but in my Android Studio I'm just able to use GoogleCredenti...
android
1
2020-02-04T21:47:00.377Z
2,020
2
21
1
19
0
452
45
1
0
false
true
false
false
false
false
low
60,066,016
Android Size Analyzer Plugin - WebP Conversion Settings
<p>I installed the <a href="https://developer.android.com/topic/performance/reduce-apk-size#size-analyzer" rel="nofollow noreferrer">ASA plugin</a> in Android Studio today, and ran the "Analyze App Size" job. I accepted the conversion to convert PNGs to WEBPs, which works great.</p> <p>However, going forward as I add ...
I installed the ASA plugin in Android Studio today, and ran the "Analyze App Size" job. I accepted the conversion to convert PNGs to WEBPs, which works great. However, going forward as I add assets to my project, I want to make sure that I am converting new PNGs to WEBP with the same settings... I have searched the sou...
android|android-studio|plugins|android-gradle-plugin|webp
1
2020-02-04T21:48:57.913Z
2,020
2
21
1
386
0
527
55
5
0
false
true
false
false
false
false
low
60,066,020
Setting app as home launches another instance
<p>I want to set my app as launcher (home app) but there is behaviour that I cannot get right. First I open app and go back to main screen so it stays in background. Then when I set in settings home application to mine it creates new instance. Also when I go back in settings to default launcher app doesn't seem to show...
I want to set my app as launcher (home app) but there is behaviour that I cannot get right. First I open app and go back to main screen so it stays in background. Then when I set in settings home application to mine it creates new instance. Also when I go back in settings to default launcher app doesn't seem to show ba...
java|android|ionic-framework|android-activity|kiosk-mode
0
2020-02-04T21:49:20.730Z
2,020
2
21
1
224
1
485
45
5
1
true
false
false
false
false
false
zero
60,066,025
Getting RGB values from YUV_420_888 image
<p>I am trying to crop out the center square portion of a camera preview YUV_420_888 image. I want to get the RGB values as I process each frame instead of converting to bitmap and getting then getting the values.</p> <p>Here is what I currently have but I can't seem to get a valid image. I think I am retrieving the Y...
I am trying to crop out the center square portion of a camera preview YUV_420_888 image. I want to get the RGB values as I process each frame instead of converting to bitmap and getting then getting the values. Here is what I currently have but I can't seem to get a valid image. I think I am retrieving the YUV values i...
android|rgb|yuv
1
2020-02-04T21:50:02.747Z
2,020
2
21
1
764
1
347
41
3
2
true
false
false
false
false
false
low
60,066,095
Android Firestore snapshotlistener metric registering without an event listener
<p>I do not have any snapshotlisteners in my app like onEvent(blah). But the metrics show I snapshotListeners active have when I make get() calls even after the call is finished. </p> <pre><code> getFirebaseFirestoreDB() .collection(FeedConstants.DISPLAY_POST_COLLECTION) .orderBy(Post.D...
I do not have any snapshotlisteners in my app like onEvent(blah). But the metrics show I snapshotListeners active have when I make get() calls even after the call is finished. [CODE]
android|firebase|google-cloud-firestore|metrics
0
2020-02-04T21:54:58.020Z
2,020
2
21
1
45
1
182
79
4
1
true
false
false
false
false
false
zero
60,066,288
Select images from gallery Python Kivy for Android
<p>Can I load images from the gallery when I click a button by Python Kivy? I am a beginner, and I can not find an example on the Internet.</p> <p>I want to make a simple application in which you need to select a picture from the phone and display it on the screen.</p> <p>For example, to open a menu like this:</p> <...
Can I load images from the gallery when I click a button by Python Kivy? I am a beginner, and I can not find an example on the Internet. I want to make a simple application in which you need to select a picture from the phone and display it on the screen. For example, to open a menu like this: Example I found an exampl...
python|android|image|kivy
4
2020-02-04T22:12:21.247Z
2,020
2
22
1
2,028
1
507
50
4
2
true
false
false
false
false
false
low
60,066,358
Duplicate class com.adcolony.sdk.AdColony found in modules
<p>I have two mediation networks in my project IronSource for Interstitial and RewardedAd AddApptr for Banner ads</p> <p>So I implemented the librarys in my build.gradle but I get many build errors like this:</p> <pre><code>Duplicate class com.adcolony.adcolonysdk.BuildConfig found in modules jetified-AdColony-4.1.0-...
I have two mediation networks in my project IronSource for Interstitial and RewardedAd AddApptr for Banner ads So I implemented the librarys in my build.gradle but I get many build errors like this: [CODE] I understand whats the problem here but I have no Idea how to fix it. I already tried some solutions from the inte...
java|android|gradle|jar
3
2020-02-04T22:17:53.747Z
2,020
2
22
1
414
0
848
58
4
3
true
true
false
false
false
false
low
60,066,391
Android 10 open camera problem with navigation component
<p>I have an android app with navigation component and when tested on Android 10 it crashes when I try to open the phone's camera. It works fine on Android versions below 10.</p> <p>The code and error are below.</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;androidx.drawerlayout.widget.Drawe...
I have an android app with navigation component and when tested on Android 10 it crashes when I try to open the phone's camera. It works fine on Android versions below 10. The code and error are below. [CODE] [CODE] java.lang.RuntimeException: Unable to start activity ComponentInfo{...ui.main.MainActivity}: java.lang.I...
android|kotlin|android-camera|android-architecture-navigation|android-10.0
0
2020-02-04T22:20:27.837Z
2,020
2
22
1
281
0
2,577
56
5
2
true
true
false
false
false
false
zero
60,066,411
Android UI: Fill the remaining screen with a max_height limit
<p>I wonder how to implement the following design in Android xml. The contents will have height wrap-contents with the most priority, and it could even fill the whole screen if there are enough contents. The image above it should fill up the remaining height - however it also has a limited max-height of 160dp. It seems...
I wonder how to implement the following design in Android xml. The contents will have height wrap-contents with the most priority, and it could even fill the whole screen if there are enough contents. The image above it should fill up the remaining height - however it also has a limited max-height of 160dp. It seems if...
android|android-layout
1
2020-02-04T22:22:27.157Z
2,020
2
22
1
40
1
504
61
2
0
false
false
false
false
false
false
low
60,066,599
Android Camera2 API, Best way to limit the focus distance?
<p>I am trying to speed up barcode scanning which is slow with Google's Vision API due to the couple of seconds it takes to auto-focus. So, I want to try limiting the distance the camera tries to auto-focus so that it will always be within only a few cm instead of pulling from infinity.</p> <p>However, I'm not sure ho...
I am trying to speed up barcode scanning which is slow with Google's Vision API due to the couple of seconds it takes to auto-focus. So, I want to try limiting the distance the camera tries to auto-focus so that it will always be within only a few cm instead of pulling from infinity. However, I'm not sure how to achiev...
java|android|android-camera2
1
2020-02-04T22:41:19.867Z
2,020
2
22
1
604
1
699
58
3
1
true
false
false
false
false
false
low
60,066,617
Is it possible to execute an activity in a fragment of my main activity without affecting the main activity?
<p>I'm learning java/android development and I'm stuck. I have a main activity and a map clustering activity. The main activity executes an API call and pulls down lat/lng values for a list of locations. These lat/lng values are put in an array. The array is used by another activity to add location markers on a map...
I'm learning java/android development and I'm stuck. I have a main activity and a map clustering activity. The main activity executes an API call and pulls down lat/lng values for a list of locations. These lat/lng values are put in an array. The array is used by another activity to add location markers on a map and cl...
java|android
0
2020-02-04T22:43:15.193Z
2,020
2
22
1
32
1
1,024
108
2
2
true
false
false
false
false
false
zero
60,066,620
error httpclient doesn't work in android browser work's in chrome
<p><a href="https://i.stack.imgur.com/qlVSt.png" rel="nofollow noreferrer">error screenshot</a></p> <p>post, get, etc. methods http works in the desktop browser but not in android browser, in chrome for mobile it works fine</p> <pre><code>import { HttpClient, HttpErrorResponse, HttpHeaders } from '@angular/common/htt...
error screenshot post, get, etc. methods http works in the desktop browser but not in android browser, in chrome for mobile it works fine [CODE] in the component the call to the http method is made, when the call is made in the desktop browser everything goes well, in the android browser the image error is shown... in ...
angular|httpclient|android-browser
1
2020-02-04T22:43:27.033Z
2,020
2
22
1
160
0
339
65
3
2
true
true
false
false
false
false
low
60,066,657
Bottom NavigationView Inside Fragment With ChildFragmentManager Creates Overlap View
<p>I'm trying to show Material Bottom Navigation Inside Fragment. My Bottom Navigation View has three fragments inside it. I solve the problem when the Fragment creates a new instance every time when we select the Navigation item. But the real problem occurs when I navigate to another fragment from my Navigation Drawer...
I'm trying to show Material Bottom Navigation Inside Fragment. My Bottom Navigation View has three fragments inside it. I solve the problem when the Fragment creates a new instance every time when we select the Navigation item. But the real problem occurs when I navigate to another fragment from my Navigation Drawer. H...
android|android-fragments|bottomnavigationview|fragmentmanager|child-fragment
1
2020-02-04T22:47:29.903Z
2,020
2
22
1
178
0
1,239
84
5
2
true
true
false
false
false
false
low
60,066,702
How to get an arraylist reference from an CustomAdapter in android?
<p>I made an GridView to organize TextView and Edit views, like a table , programatically, using an CustomAdapter. In getView() override method i create the views, add it to a arrayList and let the abstraction do its job. The problem arises when i try to acess the views outside the adapter class, in this case, in OnCre...
I made an GridView to organize TextView and Edit views, like a table , programatically, using an CustomAdapter. In getView() override method i create the views, add it to a arrayList and let the abstraction do its job. The problem arises when i try to acess the views outside the adapter class, in this case, in OnCreate...
java|android
0
2020-02-04T22:53:21.700Z
2,020
2
22
1
32
0
787
67
2
1
true
true
false
false
false
false
zero
60,066,753
SavedStateHandle returning null values
<p>I have an <code>ActionBar</code> menu icon that opens a <code>CategoryFragment</code>. This fragment takes in a <code>category</code> object <code>SafeArgs</code> argument passed from another fragment. In the <code>CategoryFragment</code>, I store the <code>category</code>'s name and id into the fragment's shared <c...
I have an ActionBar menu icon that opens a CategoryFragment . This fragment takes in a category object SafeArgs argument passed from another fragment. In the CategoryFragment , I store the category 's name and id into the fragment's shared ViewModel as SavedStateHandle values. I've setup it up so that the fragment uses...
android|android-architecture-components|android-savedstate|android-safe-args
8
2020-02-04T22:58:09.903Z
2,020
2
22
1
1,709
1
1,053
38
4
2
true
false
false
false
false
false
medium
60,066,791
Local notifications not showing up when device is rebooted (or similar state) Android
<p>I'm a bit new so I have a simple question, I have created a Xamarin.Android app and I have used local notifications with alarm manager, broadcast receivers, etc to schedule them, the problem that I have is that my scheduled notifications are not being showed when the device is rebooted, or completely off state and t...
I'm a bit new so I have a simple question, I have created a Xamarin.Android app and I have used local notifications with alarm manager, broadcast receivers, etc to schedule them, the problem that I have is that my scheduled notifications are not being showed when the device is rebooted, or completely off state and turn...
android|xamarin|xamarin.android|notifications|localnotification
0
2020-02-04T23:01:29.817Z
2,020
2
23
1
311
1
432
85
5
0
false
false
false
false
false
false
zero
60,066,794
Why I get UNAUTHORIZED_DOMAIN:Domain not whitelisted by project?
<p>Im trying to do the email authentication of firebase. I'm following the document and i get this error:</p> <pre><code>UNAUTHORIZED_DOMAIN:Domain not whitelisted by project </code></pre> <p>I saw this soultion: <a href="https://stackoverflow.com/questions/48076968/firebase-auth-unauthorized-domain-domain-is-not-aut...
Im trying to do the email authentication of firebase. I'm following the document and i get this error: [CODE] I saw this soultion: Firebase Auth/unauthorized domain. Domain is not authorized and it didn't work, so I went and tried to create a dynamic link because I saw here that I need to create dynamic link: Firebase ...
java|android|firebase-authentication
5
2020-02-04T23:02:15.327Z
2,020
2
23
1
1,178
1
615
64
3
3
true
false
false
false
false
false
low
60,066,846
Emulate reading a tag on an Android phone
<p>Is it possible to inject previously recorded NFC sequences into NFC stack in Android, so that the applications on the phone would think that tags are being read?</p> <p><strong>Edit:</strong></p> <p>Sorry for bad description</p> <p>I don't have any code I'm just investigating the possibilities here. In short what...
Is it possible to inject previously recorded NFC sequences into NFC stack in Android, so that the applications on the phone would think that tags are being read? Edit: Sorry for bad description I don't have any code I'm just investigating the possibilities here. In short what I want to achieve is this: There is a FGM S...
android|nfc
2
2020-02-04T23:07:24.463Z
2,020
2
23
1
63
1
926
41
2
0
false
false
false
false
false
false
low
60,066,887
addOnScrollListener not reached when Recycleview is reversed scrolling
<p>I have a Recycleview of videos and it has reversed scroll </p> <p><code>mRecyclerView.setLayoutManager(new LinearLayoutManager(this, VERTICAL, true));</code></p> <p>The first item in <code>recyclerview</code> is not seen by <code>addOnScrollListener</code> </p> <pre><code>addOnScrollListener(new RecyclerView.OnSc...
I have a Recycleview of videos and it has reversed scroll mRecyclerView.setLayoutManager(new LinearLayoutManager(this, VERTICAL, true)); The first item in recyclerview is not seen by addOnScrollListener [CODE]
android|android-recyclerview|android-linearlayout
2
2020-02-04T23:12:33.613Z
2,020
2
23
1
39
0
209
70
3
1
true
true
false
false
false
false
low
60,066,933
com.google.firebase.database.DatabaseException : Expected a Map while deserializing, but got a class java.lang.Long
<p>Iam Facing Error : [ Expected a Map while deserializing, but got a class java.lang.Long ] For Long Time .. I Tried to solved but not work</p> <p>That Is MainActivity.java</p> <pre><code>public class MainActivity extends AppCompatActivity{ Button add_Dialoge; FloatingActionButton add; EditText title_Di...
Iam Facing Error : [ Expected a Map while deserializing, but got a class java.lang.Long ] For Long Time .. I Tried to solved but not work That Is MainActivity.java [CODE] And My Note Class Is : [CODE] And My Error Is .:. Process: com.example.notewithfirebase, PID: 4831 com.google.firebase.database.DatabaseException: Ex...
java|android|firebase
1
2020-02-04T23:18:03.267Z
2,020
2
23
1
211
1
2,613
115
3
2
true
false
false
false
false
false
low
60,067,066
Spinner inside a fragment using kotlin: none of the following functions can be called with the arguments supplied
<p>I've been trying to put a spinner inside a fragment, codying with kotlin , but I haven't made it yet. </p> <p>This is how I've been trying. </p> <p>I hope you guys could help me. </p> <pre><code> override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun...
I've been trying to put a spinner inside a fragment, codying with kotlin , but I haven't made it yet. This is how I've been trying. I hope you guys could help me. [CODE]
android|kotlin
0
2020-02-04T23:35:06.763Z
2,020
2
23
1
141
1
169
113
2
1
true
false
false
false
false
false
zero
60,067,215
Xamarin Forms Bind ImageSource to element inside element
<p>I have a problem. I have the following List:</p> <pre><code>Set AlbumsForList = new Set { Name = album.Name, Pictures = new SetPictures { Picture = new List&lt;SetPicture&gt;() }, Price = album.Price }; albumList.Add(AlbumsForList); </code></pre> <p>And the SetPicture has a element cal...
I have a problem. I have the following List: [CODE] And the SetPicture has a element called imageSource , that I want to bind to an image. Here is the XAML: [CODE] And finally here are my classes: [CODE] Now we are already inside the listAlbums, so I defined the Binding Pictures , but then in the CachedImage I need to ...
xaml|xamarin|xamarin.forms|xamarin.android|xamarin.ios
0
2020-02-04T23:57:39.930Z
2,020
2
23
1
126
1
397
56
5
3
true
false
false
false
false
false
zero
60,067,269
What is R.id in Android Studio?
<p>I'm creating a <code>Fragment</code> for which new Fragments inherit from. These inherited (child) fragments will set a layout that contains a <code>ListView</code> with id <code>"elements_list"</code>:</p> <pre><code> @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, ...
I'm creating a Fragment for which new Fragments inherit from. These inherited (child) fragments will set a layout that contains a ListView with id "elements_list" : [CODE] This is the onViewCreated of the base Fragment [CODE] However I'm getting java.lang.NullPointerException: Attempt to invoke virtual method 'void and...
java|android
0
2020-02-05T00:03:47.413Z
2,020
2
0
2
68
2
605
31
2
2
true
false
false
false
false
false
zero
60,067,280
i need to add a customized button to the toolbar instead of the regular 3 dots menu
<p><a href="https://i.stack.imgur.com/dGfP7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dGfP7.jpg" alt="enter image description here"></a>so im trying to add a floating action button into the tool bar on the top right but all i get is the button goes to the middle top below the toolbar here's my ...
so im trying to add a floating action button into the tool bar on the top right but all i get is the button goes to the middle top below the toolbar here's my xml code any chance that can be done because i dont want to use the normal 3 dots menu button i have been looking for a solution for days, couldn't find what im ...
android|android-layout
0
2020-02-05T00:05:23Z
-1
-1
-1
-1
98
1
418
83
2
1
true
false
false
false
false
false
zero
60,067,311
Volley requestQueue in Singleton returns null
<p>I am making a network request with Volley and I am using but which was working very well until suddenly it started throwing Null pointer exception on the requestQueue.</p> <pre><code>class VolleySingleton(context: Context) { companion object{ @Volatile private var newInstance: VolleySingleton? ...
I am making a network request with Volley and I am using but which was working very well until suddenly it started throwing Null pointer exception on the requestQueue. [CODE] I have tried to initialize it like this [CODE] but it won't work still.
java|android|kotlin|android-volley
0
2020-02-05T00:10:28.783Z
2,020
2
0
2
365
2
246
45
4
2
true
false
false
false
false
false
zero
60,067,341
FCM not seeing messages sent from spring backend app
<p>I have an android app configured under the Firebase Cloud Messaging, and when I send a notification from the console I see the notification in the Android app.</p> <p>I am trying to now implement sending the notifications from a backend server java spring application, and here is my service to do so:</p> <pre><cod...
I have an android app configured under the Firebase Cloud Messaging, and when I send a notification from the console I see the notification in the Android app. I am trying to now implement sending the notifications from a backend server java spring application, and here is my service to do so: [CODE] The message is sen...
java|android|spring|firebase|spring-boot
0
2020-02-05T00:15:03.263Z
2,020
2
0
2
634
1
542
52
5
1
true
false
false
false
false
false
zero
60,067,397
How to disable Back button on second Bottom Sheet Dialog?
<p>I am creating a MainActivity. This activity has a button to open a Fragment and the Fragment has a button to open a bottom sheet dialog. </p> <p>When I am on the Fragment, I can press Back button to return to MainActivity. However, when I have already opened the Bottom Dialog, I want to disable the Back button so t...
I am creating a MainActivity. This activity has a button to open a Fragment and the Fragment has a button to open a bottom sheet dialog. When I am on the Fragment, I can press Back button to return to MainActivity. However, when I have already opened the Bottom Dialog, I want to disable the Back button so that user can...
android|bottom-sheet
3
2020-02-05T00:23:52.367Z
2,020
2
0
2
3,753
2
720
57
2
3
true
false
true
false
false
false
low
60,067,479
React Native Throw Network Error when Fetch .NET CORE 3 webApi
<p>I'm trying to fetch a WEB API create in .NET CORE but the return is always Network Error, i'm using axios to fetch api. I'm using the URL with my ip adress(<a href="https://MY_IP:1258/)(just" rel="nofollow noreferrer">https://MY_IP:1258/)(just</a> like when i create Node api's) and already tries CORS solution(not wo...
I'm trying to fetch a WEB API create in .NET CORE but the return is always Network Error, i'm using axios to fetch api. I'm using the URL with my ip adress( https://MY_IP:1258/)(just like when i create Node api's) and already tries CORS solution(not work) I had already tried to fetch PokeApi and it's OK. Thats the impl...
android|react-native|asp.net-core-webapi|.net-core-3.0
0
2020-02-05T00:35:56.563Z
2,020
2
0
2
282
1
391
62
4
0
false
false
false
false
false
false
zero
60,067,592
Should I use @Singleton, object or both with Dagger2 and Kotlin?
<p>I'm doing an app using Kotlin and Dagger2, trying to follow the MVVM pattern, but I'm in a dilemma, should I use @Singleton, object or both? And why? Let's say I have a RepositoryMovies class and I want to get the same instance every time, according to my research you can do this as follows:</p> <p><strong>@Singlet...
I'm doing an app using Kotlin and Dagger2, trying to follow the MVVM pattern, but I'm in a dilemma, should I use @Singleton, object or both? And why? Let's say I have a RepositoryMovies class and I want to get the same instance every time, according to my research you can do this as follows: @Singleton (Dagger2 way) [C...
android|kotlin|singleton|dagger
2
2020-02-05T00:51:30.280Z
2,020
2
0
2
1,786
1
482
64
4
3
true
false
false
false
false
false
low
60,067,671
How to start multiple ObjectAnimator on view simultaneously?
<p>Here i am trying to move a view on a path with ObjectAnimator and also need to set one more scale animation on same view.</p> <pre><code>ObjectAnimator objectAnimator = null; if (android.os.Build.VERSION.SDK_INT &gt;= android.os.Build.VERSION_CODES.LOLLIPOP) { objectAnimator = ObjectAnim...
Here i am trying to move a view on a path with ObjectAnimator and also need to set one more scale animation on same view. [CODE] need to start another Animation when objectAnimator.start(); also tried with listener [CODE]
android|android-animation
1
2020-02-05T01:02:33.710Z
2,020
2
1
2
1,513
2
221
60
2
2
true
false
false
false
false
false
low
60,067,695
Android Worker does not extract value from inputData for some reason
<p>Here is a <a href="https://i.stack.imgur.com/EV4iZ.png" rel="nofollow noreferrer">screenshot</a> of my debug view. It is clearly visible in variables view that <code>intupData</code> contains value for the key that corresponds <code>KEY_ISSUE_ID</code> (<code>issue.id</code>) but</p> <pre><code>inputData.getString(...
Here is a screenshot of my debug view. It is clearly visible in variables view that intupData contains value for the key that corresponds KEY_ISSUE_ID ( issue.id ) but [CODE] results in null . Even more strange is that in other Workers very same code works well. Is there any caveat that might lead to such behavior? BTW...
android|android-workmanager
1
2020-02-05T01:05:58.603Z
2,020
2
1
2
348
1
640
68
2
1
true
false
false
false
false
false
low
60,068,292
I'm trying to create this shape in xml, how to make it?
<p>I've linked the image how to create it in android xml</p> <p>The rounded corners rectangle and circle<br> The code is written for Getting the circle in rectangle. I need to create the rectangle with a circle inside. as shown in the image below.</p> <blockquote> <p>the code I tried </p> </blockquote> <pre><code>...
I've linked the image how to create it in android xml The rounded corners rectangle and circle The code is written for Getting the circle in rectangle. I need to create the rectangle with a circle inside. as shown in the image below. the code I tried [CODE]
android|xml|android-layout
0
2020-02-05T02:39:45.910Z
2,020
2
2
2
93
1
257
55
3
1
true
false
false
false
false
false
zero
60,068,456
Gradle Build Failed - java.lang.NoSuchMethodError: org.objectweb.asm.MethodVisitor.visitMethodInsn
<p>I just started a new Flutter project, which uses Gradle through Android Studio. All of my Gradle builds have been getting stuck with the error messages below. I tried uninstalling and reinstalling Android Studio and the emulator, but that didn't fix the issue.</p> <pre><code>FAILURE: Build failed with an exceptio...
I just started a new Flutter project, which uses Gradle through Android Studio. All of my Gradle builds have been getting stuck with the error messages below. I tried uninstalling and reinstalling Android Studio and the emulator, but that didn't fix the issue. [CODE] Here is the stacktrace data: [CODE] It looks like it...
java|android|gradle|flutter
1
2020-02-05T03:03:57.437Z
2,020
2
3
2
427
0
427
98
4
2
true
true
false
false
false
false
low
60,068,488
Gradle task fail - Invalid depfile
<p>I am a complete beginner at all of this and trying to half-teach myself, so please give advice step by step. </p> <p>I'm trying to make an app using Android Studio and Flutter on Windows. When I try to run my app through the emulator (I'm using genymotion as I have a Ryzen cpu) here's what the console says:</p> <p...
I am a complete beginner at all of this and trying to half-teach myself, so please give advice step by step. I'm trying to make an app using Android Studio and Flutter on Windows. When I try to run my app through the emulator (I'm using genymotion as I have a Ryzen cpu) here's what the console says: [CODE] When I run f...
android|android-studio|gradle|flutter|genymotion
7
2020-02-05T03:08:27.893Z
2,020
2
3
2
4,658
2
589
34
5
3
true
false
true
false
false
false
medium
60,068,522
Percentage(Weighted) heights for child LinearLayouts inside a parent RelativeLayout
<p>I have two linear layouts directly inside a relative layout. <br>I want the first LinearLayout to occupy 75% of the height and the next 25%. How do I achieve this?</p> <p>For example</p> <pre><code>&lt;RelativeLayout android:layout_height="match_parent" android:layout_width="match_parent" a...
I have two linear layouts directly inside a relative layout. I want the first LinearLayout to occupy 75% of the height and the next 25%. How do I achieve this? For example [CODE] I want the linearLayout1 to use 75% of the height avaialble and the linearLayout2 to use 25%. layout_weight is not defined for LinearLayout, ...
android|android-linearlayout
1
2020-02-05T03:13:08.780Z
2,020
2
3
2
34
3
605
83
2
1
true
false
false
false
false
false
low
60,068,625
How do I inflate dialog at the bottom of my layout?
<p>My swipe to dismiss dialog is currently showing at the center of my layout which matches the parent's width. No left/right margins. I want to place it on the bottom.</p> <p>This is my XML layout:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.constraint.ConstraintLayout xmlns:andro...
My swipe to dismiss dialog is currently showing at the center of my layout which matches the parent's width. No left/right margins. I want to place it on the bottom. This is my XML layout: [CODE] This is the code for swipe to dismiss dialog. I am currently using a swipe to dismiss dialog library. [CODE]
java|android
0
2020-02-05T03:28:12.363Z
2,020
2
3
2
103
1
304
51
2
2
true
false
false
false
false
false
zero
60,068,636
How to read android bug report and logcat
<p>If I saw some error message on my phone,</p> <p>I want to check and learn why it pop it error. </p> <p>I used comment like <code>adb bugreport</code> or <code>adb logcat</code>.</p> <p>It will output some file or '.txt'. </p> <p>Then how check on file or txt. because it will pop out a lot of information. how to ...
If I saw some error message on my phone, I want to check and learn why it pop it error. I used comment like adb bugreport or adb logcat . It will output some file or '.txt'. Then how check on file or txt. because it will pop out a lot of information. how to find the error point. I tried Ctrl + F error. it will find abo...
android|logcat
1
2020-02-05T03:29:32.657Z
2,020
2
3
2
1,262
0
340
41
2
0
false
true
false
false
false
false
low
60,068,686
How to format date to hours with SimpleDateFormat in Android?
<p>I have the following date </p> <pre><code>2020-02-05T03:17:04.000Z </code></pre> <p>And I am trying to convert that to hour, and the result should be 22:17 but in my app I get 03:17</p> <p>So, this is my code</p> <pre><code>public static String hour_visit(String hora){ SimpleDateFormat dateFormat = new S...
I have the following date [CODE] And I am trying to convert that to hour, and the result should be 22:17 but in my app I get 03:17 So, this is my code [CODE] What am I doing wrong? Important: In my web app I get 22:17 My time zone is SouthAmerica
java|android|simpledateformat
0
2020-02-05T03:37:09.543Z
2,020
2
3
2
470
4
246
61
3
2
true
false
false
false
false
false
zero
60,068,692
How can I add data from one of my fragments, and pass it to my adapter, and set it to my array list?
<p>I tried implementing animalAdapter.addNewAnimal(animal) but my App crashes with this error:</p> <pre><code> Process: com.example.navigationcomponentexercise, PID: 15974 java.lang.UnsupportedOperationException at java.util.AbstractList.add(AbstractList.java:148) at java.util.AbstractList.add(Abst...
I tried implementing animalAdapter.addNewAnimal(animal) but my App crashes with this error: [CODE] So my current Issue is that I am passing my data from one Fragment to another Fragment, and trying to add the data I passed through the bundle to my Adapter, but my approach is not working. Any ideas as to what I should d...
java|android|android-fragments|arraylist|android-adapter
0
2020-02-05T03:37:28.667Z
2,020
2
3
2
80
3
628
100
5
5
true
false
false
false
false
false
zero
60,068,817
Sort data Obtained from firebase i would like to sort to get newest data at the top(first)
<pre><code>public void showList(){ FirebaseRecyclerOptions options = new FirebaseRecyclerOptions.Builder&lt;Model&gt;() .setQuery(reference,Model.class) .build(); adapter = new FirebaseRecyclerAdapter&lt;Model, ViewHolder&gt;(options) { @Override ...
[CODE]
android|firebase-realtime-database|firebaseui
0
2020-02-05T03:57:12.383Z
2,020
2
3
2
18
0
6
90
3
1
true
true
false
false
false
false
zero
60,068,845
Android auto change riyal symbol in React Native
<p>I am trying to render riyal symbol in my react native project (saudi arabia currency). What i am dong is: <code>&lt;Text&gt;﷼&lt;/Text&gt;</code> And the symbol that i expect it will render on my app is: <a href="https://i.stack.imgur.com/0yZd7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0yZd...
I am trying to render riyal symbol in my react native project (saudi arabia currency). What i am dong is: <Text>﷼</Text> And the symbol that i expect it will render on my app is: On IOS it renders exactly like what i expected but on Android it renders other currency which is like the following image:
android|react-native
1
2020-02-05T04:01:27.260Z
2,020
2
4
2
143
0
301
48
2
0
false
true
false
false
false
false
low
60,068,995
Why does Databinding is not giving proper exception?
<pre><code>error: package ViewModel does not exist public abstract void setLoginViewModel(@Nullable ViewModel.LoginViewModel LoginViewModel); </code></pre> <p>error no: It is showing error in ActivityMainBinding.java 16 no. line which is "import com.jimmytrivedi.learning.mvvmloginsignupdemo.ViewModel;"</p> <p>How ca...
[CODE] error no: It is showing error in ActivityMainBinding.java 16 no. line which is "import com.jimmytrivedi.learning.mvvmloginsignupdemo.ViewModel;" How can I solve the above exception while working with DataBindings? What I tried: Invalidate cache / restart Recheck XML attributes Rename small letter package name --...
android|android-databinding
0
2020-02-05T04:22:01.813Z
2,020
2
4
2
134
2
654
52
2
5
true
false
false
false
false
false
zero
60,069,120
Android R8 - Missing class: com.sun.javadoc.Doclet
<p>I'm using Android-R8 and the following R8-warnings are present:</p> <p><strong>Missing class: com.sun.javadoc.Doclet</strong></p> <p>the following image error, [<a href="https://i.stack.imgur.com/OmkGY.png][1]" rel="nofollow noreferrer">https://i.stack.imgur.com/OmkGY.png][1]</a></p> <p>the application was build ...
I'm using Android-R8 and the following R8-warnings are present: Missing class: com.sun.javadoc.Doclet the following image error, [ https://i.stack.imgur.com/OmkGY.png][1] the application was build succesfully, but when it install it fails. Please help me how to fix it.
android|kotlin|proguard|androidx|android-r8
0
2020-02-05T04:39:13.597Z
2,020
2
4
2
2,877
1
269
50
5
0
false
false
true
false
false
false
zero