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
72,348,242
Can I press a button in Activity A to filter a RecyclerView in Activity B?
<p>What I want to reach is that the same <code>RecyclerView</code> shows different data depending on which button the App user pressed before in the <code>MainActivity.kt</code>.</p> <p>In my <code>MainActivity.kt</code> I have two buttons, which both send the user to the same RecyclerView Activity (<code>RecyclerViewL...
What I want to reach is that the same RecyclerView shows different data depending on which button the App user pressed before in the MainActivity.kt . In my MainActivity.kt I have two buttons, which both send the user to the same RecyclerView Activity ( RecyclerViewLayout.kt ) via Intent. Example : The RecyclerView con...
android|kotlin|android-recyclerview|recyclerlistview
0
2022-05-23T12:05:44.790Z
2,022
5
12
0
94
2
875
74
4
4
true
false
false
false
false
false
zero
72,348,460
How to save a QR-Code in the gallery with any format?
<p>I use zxing.mobile.forms nuget package. The QR-Code is perfectly displayed on the screen display, but I also need to save this QR-Code in the gallery. Can I convert it to image for further use? Can I save it right away, since it seems to be an image? code in xaml:</p> <pre><code>&lt;zxing:ZXingBarcodeImageView IsVis...
I use zxing.mobile.forms nuget package. The QR-Code is perfectly displayed on the screen display, but I also need to save this QR-Code in the gallery. Can I convert it to image for further use? Can I save it right away, since it seems to be an image? code in xaml: [CODE]
c#|xamarin.forms|xamarin.android
0
2022-05-23T12:23:30.323Z
2,022
5
12
0
80
0
271
53
3
1
true
true
false
false
false
false
zero
72,348,528
React native gradle build failed
<p>I cloned a <code>react-native</code> project from github and below are the steps that I followed in order to make it work on my local ubuntu 20.04 machine:</p> <p>(The project was expo managed earlier, but now it is ejected because there are <code>android</code> and <code>ios</code> folders)</p> <ol> <li>created my ...
I cloned a react-native project from github and below are the steps that I followed in order to make it work on my local ubuntu 20.04 machine: (The project was expo managed earlier, but now it is ejected because there are android and ios folders) created my local feature branch -> git checkout -b feature installed all ...
java|android|react-native
0
2022-05-23T12:29:02.353Z
2,022
5
12
0
247
1
1,532
32
3
5
true
false
false
false
false
false
zero
72,348,596
App link assistant error in android studio
<p>I want to use <strong>app link</strong> in order to navigate to my app after payment &amp; for this reason I use app link assistant but in second step when I want to select activity, I get error below !!</p> <p><em><strong>as you see image below I have &quot;onCreate&quot; method</strong></em></p> <p><a href="https:...
I want to use app link in order to navigate to my app after payment & for this reason I use app link assistant but in second step when I want to select activity, I get error below !! as you see image below I have &quot;onCreate&quot; method does any one know how to resolve this error?
android|android-studio|kotlin|android-app-links
2
2022-05-23T12:34:52.990Z
2,022
5
12
0
58
0
285
42
4
0
false
true
false
false
false
false
low
72,348,756
Combine lane detection and object detection in Android, Android Studio
<p>I want to make application that specified detects with line detection. First I made my application about really basic line detection. Below code is about part of line detection.</p> <pre><code> public Mat onCameraFrame(CameraBridgeViewBase.CvCameraViewFrame inputFrame){ mRgba=inputFrame.rgba(); mG...
I want to make application that specified detects with line detection. First I made my application about really basic line detection. Below code is about part of line detection. [CODE] And I want to combine upper code with tensorflow lite detection(see the below code please) Code about tensorflow lite [CODE] So line de...
java|android|opencv|object-detection|tensorflow-lite
0
2022-05-23T12:47:24.787Z
2,022
5
12
0
74
1
645
70
5
2
true
false
false
false
false
false
zero
72,348,906
Programatically Check whether my android device has activated work profile or not?
<p>I want to prevent my Android app is running in my personal profile, when my work profile is activated, is there any way to check from my Android app, Android System activated work profile or not? Thank you</p>
I want to prevent my Android app is running in my personal profile, when my work profile is activated, is there any way to check from my Android app, Android System activated work profile or not? Thank you
android|android-enterprise|android-work-profile|android-enterprise-features
1
2022-05-23T12:57:30.447Z
2,022
5
12
0
79
1
205
82
4
0
false
false
false
false
false
false
low
72,348,938
How can I change selected tab's icon color in viewPager2
<p>*Here I'm using custom view for tabLayout. And I want to change selected tab's icon color. Please help me to solve this problem. Thanks in advance...</p> <p><strong>JAVA CODE</strong></p> <pre><code>TabLayoutMediator mediator = new TabLayoutMediator(mTabLayout, mViewPager2, new TabLayoutMediator.TabConfigurationStra...
*Here I'm using custom view for tabLayout. And I want to change selected tab's icon color. Please help me to solve this problem. Thanks in advance... JAVA CODE [CODE] CUSTOM VIEW [CODE]
android|tablayout
0
2022-05-23T13:00:49.997Z
2,022
5
13
0
35
0
185
56
2
2
true
true
false
false
false
false
zero
72,348,952
How to read and parse .json file in gradle.kts?
<p>my json is</p> <pre><code>{&quot;enable&quot;: true} </code></pre> <p>place under asset folder in android studio</p> <p>so I need to get that value and use it inside build.gradle.kts</p>
my json is [CODE] place under asset folder in android studio so I need to get that value and use it inside build.gradle.kts
android|gradle|build.gradle|gradle-kotlin-dsl
0
2022-05-23T13:01:31.707Z
2,022
5
13
0
275
1
123
47
4
1
true
false
false
false
false
false
zero
72,349,328
ViewPager2 doesn't show Fragments
<p>I am trying to implement ViewPager2 in my application and this is not the first time I am doing it but now it is not working.</p> <p>I've been trying to find a solution for a couple of hours and trying different options but still - the fragments don't show up. ViewPager2 is displaying correctly - I checked this by c...
I am trying to implement ViewPager2 in my application and this is not the first time I am doing it but now it is not working. I've been trying to find a solution for a couple of hours and trying different options but still - the fragments don't show up. ViewPager2 is displaying correctly - I checked this by changing it...
java|android|android-fragments|adapter|android-viewpager2
0
2022-05-23T13:22:22.640Z
2,022
5
13
0
54
2
698
33
5
4
true
false
false
false
false
false
zero
72,349,470
Android: Layout height in percentage of screen resolution inside scroll view
<p>I have a scrollView with a contstraintLayout inside , i need to set the same height value in percent of screen independently from the scrollView and his content height</p> <p>for example:</p> <p><a href="https://i.stack.imgur.com/P7Aie.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P7Aie.png" alt...
I have a scrollView with a contstraintLayout inside , i need to set the same height value in percent of screen independently from the scrollView and his content height for example: if it's possible not programmatically but via XML properties. Already tried layout_constraintHeight_percent, but it follow the parent heigh...
android|android-constraintlayout|android-scrollview
0
2022-05-23T13:32:22.850Z
2,022
5
13
0
53
0
344
76
3
0
false
true
false
false
false
false
zero
72,349,487
Ionic 5 Android app error: page_load_metrics_update_dispatcher.cc(166)
<p>I build an app for Android with Ionic React and everything worked for the testing of newer versions (e.g. Android 10 &amp; above), but then they told me, it needs to run on older devices like Android 6.0.1 as well...</p> <p>After installing on an Android 6.0.1 device I receive an error message, I had never been deal...
I build an app for Android with Ionic React and everything worked for the testing of newer versions (e.g. Android 10 & above), but then they told me, it needs to run on older devices like Android 6.0.1 as well... After installing on an Android 6.0.1 device I receive an error message, I had never been dealing with so fa...
android|ionic-framework|chromium
0
2022-05-23T13:33:31.950Z
2,022
5
13
0
73
0
550
70
3
1
true
true
false
false
false
false
zero
72,349,517
my flutter app is unable to get or post https request
<p>I am building a flutter app, everything is alright if I use http requests but when it come to https, I am unable to get or post https request, debugger gives no error, even it does not print response of the request. I tried, <code> flutter clean</code> and rebuild app so many times even clearing my mobile device cac...
I am building a flutter app, everything is alright if I use http requests but when it come to https, I am unable to get or post https request, debugger gives no error, even it does not print response of the request. I tried, flutter clean and rebuild app so many times even clearing my mobile device cache etc. it does n...
android|flutter|debugging|https
0
2022-05-23T13:35:28.813Z
2,022
5
13
0
457
1
447
53
4
1
true
false
false
false
false
false
zero
72,349,632
Using Static Build Config Values With Debug Build Clarification
<p>I needed a sanity check on the Android documentation's recommendation to <a href="https://developer.android.com/studio/build/optimize-your-build#use_static_build_properties" rel="nofollow noreferrer">Use static build config values with your debug build</a></p> <p>An engineer on my team is insisting that the versionN...
I needed a sanity check on the Android documentation's recommendation to Use static build config values with your debug build An engineer on my team is insisting that the versionName and versionCode are set statically within our project. The following is how those are currently set: [CODE] And the functions to get thos...
android|gradle|gradle-kotlin-dsl
0
2022-05-23T13:44:14.447Z
2,022
5
13
0
34
0
989
63
3
2
true
true
false
false
false
false
zero
72,349,691
Is this dangerous? Unchecked cast: Any? to kotlin.collections.ArrayList<Quest> Android Studio compose firestore
<p>Should I try t fix, or can I just leave it like this. (yellow squiggly)</p> <p>'''</p> <pre><code>when (val questsResponse = viewModel.questsState.value) { is Response.Loading -&gt; ProgressBar() is Response.Success&lt;*&gt; -&gt; LazyColumn( modifier = Modifier.fillMaxSize()....
Should I try t fix, or can I just leave it like this. (yellow squiggly) ''' [CODE] ''' val questsResponse: Response<List<Quest>> public final val data: T Response wrapping made me do this as cast elsewhere. [CODE] or maybe typecheck in lazyscope, but that seems clumsy
google-cloud-firestore|android-jetpack-compose
1
2022-05-23T13:48:57.103Z
2,022
5
13
0
57
0
268
111
2
2
true
true
false
false
false
false
low
72,349,725
Attaching referal code with google play link
<p>I am currently facing an issue. I want to refer an app for many of my clients. But there's a huge problem. This is my referral link, I am sending to my clients when they install their app using this link:</p> <p>Referral field should be automatically filled: <a href="https://i.stack.imgur.com/L7VBU.jpg" rel="nofollo...
I am currently facing an issue. I want to refer an app for many of my clients. But there's a huge problem. This is my referral link, I am sending to my clients when they install their app using this link: Referral field should be automatically filled: enter image description here https://play.google.com/store/apps/deta...
android
0
2022-05-23T13:50:55.200Z
2,022
5
13
0
20
0
758
44
1
0
false
true
false
false
false
false
zero
72,349,737
How to make a gradient vector image with an angle of 45
<p>I need to degrade my vector images, but I don't know what to put in the X,Y values ​​of the colors to make an angle of 45.</p> <p><strong>Can anyone help me please?</strong></p> <pre><code>&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:aapt=&quot;http://schemas.android.com/...
I need to degrade my vector images, but I don't know what to put in the X,Y values ​​of the colors to make an angle of 45. Can anyone help me please? [CODE]
android|xml
0
2022-05-23T13:51:45.073Z
2,022
5
13
0
12
0
156
55
2
1
true
true
false
false
false
false
zero
72,349,754
Simplifying multiple retrofit instances in Hilt Module
<p>I'm developing an Android application in which my user needs to target 2 different endpoints based on some configuration on their profile. I've refactored the entire application trying to use Clean Architecture concept, and so I used Hilt for DI. At the time I didn't understand how to make the baseUrl dynamic in my ...
I'm developing an Android application in which my user needs to target 2 different endpoints based on some configuration on their profile. I've refactored the entire application trying to use Clean Architecture concept, and so I used Hilt for DI. At the time I didn't understand how to make the baseUrl dynamic in my ret...
android|kotlin|dependency-injection|retrofit|dagger-hilt
0
2022-05-23T13:53:04.593Z
2,022
5
13
0
465
0
1,045
54
5
2
true
true
false
false
false
false
zero
72,349,822
Error "no current navigation node" Android Kotlin
<p>I need to navigate from one fragment to another, but the studio complains about &quot;no current navigation node&quot; in the line</p> <pre><code>binding.btnTransfer.setOnClickListener { view-&gt;view.findNavController().navigate(R.id.action_moreServicesFragment_to_transferFragment) } </code></p...
I need to navigate from one fragment to another, but the studio complains about &quot;no current navigation node&quot; in the line [CODE] of the file MoreServicesFragment.kt Internet search turned up nothing, same error Please help if anyone knows how to fix this error. Below I will show all the activities and fragment...
android|kotlin
0
2022-05-23T13:58:19.260Z
2,022
5
13
0
35
0
462
49
2
4
true
true
false
false
false
false
zero
72,349,834
In Jetpack Compose, how do I specifically handle errors in paging3 and display them on ui?
<p>In my case, I'm requesting a GitHub API, if I request a lot of data, I might get a 403 error, while if I run out of requested data, GitHub will return me a 422 Unprocessable Entity. So I want to prompt the user on the UI based on this whether it is rate limited by the API or there is no new data.</p> <pre><code> ...
In my case, I'm requesting a GitHub API, if I request a lot of data, I might get a 403 error, while if I run out of requested data, GitHub will return me a 422 Unprocessable Entity. So I want to prompt the user on the UI based on this whether it is rate limited by the API or there is no new data. [CODE] So I want to ju...
android|android-jetpack-compose|android-paging|android-paging-3
0
2022-05-23T13:58:51.243Z
2,022
5
13
0
785
3
484
90
4
2
true
false
false
false
false
false
zero
72,349,835
I have an app on google play and have developed a new version using a different development tool. How do I get this on google play?
<p>My app on google Play needs to be replaced with a new version. I am having difficulty as I do not have the things I think are required to sign the new version with the same things used for the signing of the one already there. The app name is the same but the bundle id is not. Can someone please point me in the dire...
My app on google Play needs to be replaced with a new version. I am having difficulty as I do not have the things I think are required to sign the new version with the same things used for the signing of the one already there. The app name is the same but the bundle id is not. Can someone please point me in the directi...
android
0
2022-05-23T13:59:02.013Z
2,022
5
13
0
16
0
365
131
1
0
false
true
false
false
false
false
zero
72,349,842
Android overriding resource and context wrapper not working
<p>I'm building an Android App in which I want to override resource class.</p> <p>My code looks like this:</p> <pre class="lang-kotlin prettyprint-override"><code>class CustomContextWrapper(base: Context): ContextWrapper(base) { private val res: Resources by lazy { val baseResources = super.getResources() ...
I'm building an Android App in which I want to override resource class. My code looks like this: [CODE] Inside my activity : [CODE] In the above example, getDimension call should go through provided custom resource call But this is not happening.
android|android-resources|android-context
0
2022-05-23T13:59:30.303Z
2,022
5
13
0
86
0
246
59
3
2
true
true
false
false
false
false
zero
72,349,893
How to resize a FloatingActionButton in Android Java
<p>I've been trying to create a <code>FloatingActionButton</code> with text, but I've been unable to:</p> <ul> <li>set the color of the text in the button</li> <li>set the color of the button</li> <li>set the size of the text in the button</li> <li>set the size of the button</li> </ul> <p>When I make the text too small...
I've been trying to create a FloatingActionButton with text, but I've been unable to: set the color of the text in the button set the color of the button set the size of the text in the button set the size of the button When I make the text too small it becomes blurry. My attempts below don't work. What might I be gett...
java|android|floating-action-button
0
2022-05-23T14:02:18.167Z
2,022
5
14
0
29
1
337
52
3
1
true
false
false
false
false
false
zero
72,349,919
How to pass runtime parameter like base URL in retrofit with hilt And How to pass base URL from repository?
<p>-This is the Network Module class where I want to add a parameter of URL dynamically at runtime for my retrofit builder. And that URL I want to pass from repository.</p> <pre><code>@InstallIn(SingletonComponent::class) @Module class NetworkModule{ @Singleton @Provides fun providesRetrofit(): Retrofit { val inter...
-This is the Network Module class where I want to add a parameter of URL dynamically at runtime for my retrofit builder. And that URL I want to pass from repository. [CODE]
android|kotlin|repository|retrofit|dagger-hilt
0
2022-05-23T14:04:05.877Z
2,022
5
14
0
169
0
172
107
5
1
true
true
false
false
false
false
zero
72,349,929
Android Studio Java Firebase
<pre><code>String uid; FirebaseUser user; TextView BalanceTV; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_miner); fAuth = FirebaseAuth.getInstance(); BalanceTV = (TextView)findViewById(R.id.BalanceTV); uid ...
[CODE] like why when i change &quot;HKAD9FBFfqalSeXCliGTNHPp6Bf1&quot; which is the user id of the user in firebase to uid which is user id i don't retrieve the info of balance, but when i set it to &quot;HKAD9FBFfqalSeXCliGTNHPp6Bf1&quot; i get the balance? https://i.stack.imgur.com/uXn7n.png
firebase|android-studio|firebase-realtime-database
0
2022-05-23T14:04:51.270Z
2,022
5
14
0
12
0
294
28
3
1
true
true
false
false
false
false
zero
72,350,261
Why is materialize not responsive on my phone?
<p>I'm designing a web app using Google Apps Script and I want to use MaterializeCSS for styling. It looks great on desktop and tablet, but it is incredibly small on my Android phone. To demonstrate the issue with barebones code, I've got this HTML that is pulled from MaterializeCss.com</p> <p><div class="snippet" data...
I'm designing a web app using Google Apps Script and I want to use MaterializeCSS for styling. It looks great on desktop and tablet, but it is incredibly small on my Android phone. To demonstrate the issue with barebones code, I've got this HTML that is pulled from MaterializeCss.com [CODE] Please note that there is a ...
android|css|google-apps-script|mobile|materialize
0
2022-05-23T14:28:23.663Z
2,022
5
14
0
29
0
727
46
5
1
true
true
false
false
false
false
zero
72,350,295
BluetoothGattCallback onCharacteristicRead never called back
<p>I'm still trying hard to read from a BLE device (laser meter) from an android (using java) Basically I'm trying to get which fields are those I'm interested into (aka the measures)</p> <p>So far i discovered 5 services (i found the usage <a href="https://btprodspecificationrefs.blob.core.windows.net/assigned-values/...
I'm still trying hard to read from a BLE device (laser meter) from an android (using java) Basically I'm trying to get which fields are those I'm interested into (aka the measures) So far i discovered 5 services (i found the usage here ): 3ab10100-f831-4395-b29d-570977d5bf94 (I can't figure out what is this bad boy usa...
java|android|bluetooth|bluetooth-lowenergy
0
2022-05-23T14:30:54.413Z
2,022
5
14
0
111
1
1,330
60
4
3
true
false
false
false
false
false
zero
72,350,325
Android: View Visibility set to View.VISIBLE but View is not Visible
<p>In my app (general construction described below), I have a timer, which the user can start by clicking an in-app button.<br /> When the timer starts, a notification is shown. In the notification, there's a &quot;STOP&quot; button, which when clicked is supposed to open the app (if closed or killed) and then show a ...
In my app (general construction described below), I have a timer, which the user can start by clicking an in-app button. When the timer starts, a notification is shown. In the notification, there's a &quot;STOP&quot; button, which when clicked is supposed to open the app (if closed or killed) and then show a custom dia...
android|android-layout|visibility
0
2022-05-23T14:33:52.177Z
2,022
5
14
0
384
4
2,226
68
3
3
true
false
false
false
false
false
zero
72,350,542
Can't use SharedPreferences in intended activity
<p>There are two classes <code>MainActivity</code> and <code>PickTimeForNotif</code> in my project. In MainActivity <code>getSharedPreferences</code> works just fine, i can save my data and get it back. In PickTimeForNotif, however, the same method seems to do nothing.</p> <p>Here's my simplified MainActivity class:</p...
There are two classes MainActivity and PickTimeForNotif in my project. In MainActivity getSharedPreferences works just fine, i can save my data and get it back. In PickTimeForNotif, however, the same method seems to do nothing. Here's my simplified MainActivity class: [CODE] In setOnClickListener i intend my second act...
android|kotlin|sharedpreferences
1
2022-05-23T14:48:39.607Z
2,022
5
14
0
51
1
979
48
3
3
true
false
false
false
false
false
low
72,350,568
App crashes while loading image but not always
<pre><code> Type java.lang.IllegalArgumentException java.lang.IllegalArgumentException: at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed (RequestManagerRetriever.java:317) at com.bumptech.glide.manager.RequestManagerRetriever.get (RequestManagerRetriever.java:128) at com.bumptech.glide...
[CODE] Tested on many devices but still can get this crash. Application is doing fine but by Google Crash Details, this crash appears on different devices and different SDKs. Not so many times but it appears. Here's my code: [CODE]
android|firebase|android-glide
0
2022-05-23T14:50:59.460Z
2,022
5
14
0
54
1
231
46
3
2
true
false
false
false
false
false
zero
72,350,590
I tried all I thought that should be work, why does the drawLine is not following my touch coordinates? It's not accurate
<p><em>Refer to the video below, here's my current code :</em></p> <p>Inside of <strong>Oncreate</strong> method :</p> <pre><code> rootLayout = findViewById(R.id.relativemain); </code></pre> <p>And this method is where I put the Gif images to act as the chips, I also need help into this one because when I add the...
Refer to the video below, here's my current code : Inside of Oncreate method : [CODE] And this method is where I put the Gif images to act as the chips, I also need help into this one because when I add the addRule to change the location of the chip, It turns out that I can no longer drag it: [CODE] And Lastly here Is ...
java|android|coordinates|touch-event
0
2022-05-23T14:52:18.463Z
2,022
5
14
0
43
0
610
121
4
3
true
true
false
false
false
false
zero
72,350,615
How to call a DialogFragment from a Fragment
<p>Very simple, I try to call a multiple choice DialogFragment that I made, which works in any activity, but not in a fragment, hopefully you can help me!</p> <p>Here is the error message:</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.poop123, PID: 32758 java.lang.ClassCastExceptio...
Very simple, I try to call a multiple choice DialogFragment that I made, which works in any activity, but not in a fragment, hopefully you can help me! Here is the error message: [CODE] GenderChoiceDialog.java [CODE] home_fragment.java [CODE] sdgsfdgdsgdhfbrdtrdtghfmhdszrfsvfgchfgxdrfchsrdxgchvchfdhbsdgdxtgzrdsxgr<sdxh...
java|android|android-studio|android-fragments
0
2022-05-23T14:54:06.723Z
2,022
5
14
0
71
0
340
44
4
3
true
true
false
false
false
false
zero
72,350,617
What is the right declaration for AlarmClock package visibility?
<p>I have a hard time finding the proper manifest query permission declaration when using AlarmClock intent, related with android 11 package visibility.</p> <pre><code>val intent = Intent(AlarmClock.ACTION_SET_TIMER) intent.resolveActivity(requireContext().packageManager) // &lt;= returns null </code></pre> <p>If ...
I have a hard time finding the proper manifest query permission declaration when using AlarmClock intent, related with android 11 package visibility. [CODE] If I add into manifest: [CODE] then I get the right component, but I know that QUERY_ALL_PACKAGES is not recommended so: What is the right declaration for AlarmClo...
android|kotlin|android-manifest|android-11|setalarmclock
0
2022-05-23T14:54:14.430Z
2,022
5
14
0
33
1
343
64
5
2
true
false
false
false
false
false
zero
72,350,694
App Has Stopped While I Add Nav Controller
<p>I have a problem while i run app, no coding error but the app has stopped while i run. Maybe like this.</p> <p>2022-05-23 21:49:21.065 29057-29057/org.d3if0063.garbageanywhere E/AndroidRuntime: FATAL EXCEPTION: main Process: org.d3if0063.garbageanywhere, PID: 29057 java.lang.RuntimeException: Unable to start activit...
I have a problem while i run app, no coding error but the app has stopped while i run. Maybe like this. 2022-05-23 21:49:21.065 29057-29057/org.d3if0063.garbageanywhere E/AndroidRuntime: FATAL EXCEPTION: main Process: org.d3if0063.garbageanywhere, PID: 29057 java.lang.RuntimeException: Unable to start activity Componen...
android-studio|kotlin
0
2022-05-23T14:59:22.157Z
2,022
5
14
0
12
0
2,324
42
2
0
false
true
false
false
false
false
zero
72,350,882
How To Integrate Widevine DRM In My Android App To Secure Videos
<p>I'm building an android app where people can host videos and I want people to be able to stream and download DRM protected videos on their android devices.</p> <p>I've done a lot of research on widevine and I understand that its google's main choice for DRM.</p> <p>But I have found very little guide on how to integr...
I'm building an android app where people can host videos and I want people to be able to stream and download DRM protected videos on their android devices. I've done a lot of research on widevine and I understand that its google's main choice for DRM. But I have found very little guide on how to integrate the library i...
java|android|drm|widevine
0
2022-05-23T15:11:40.117Z
2,022
5
15
0
312
1
679
64
4
0
false
false
false
false
false
false
zero
72,350,893
Multiple NFC adapters under Android
<p>The Android documentation states that <a href="https://developer.android.com/reference/android/nfc/NfcAdapter#getDefaultAdapter(android.content.Context)" rel="nofollow noreferrer">NfcAdapter#getDefaultAdapter(android.content.Context)</a> can be used to get the default NFC adapter, stating that &quot;Most Android dev...
The Android documentation states that NfcAdapter#getDefaultAdapter(android.content.Context) can be used to get the default NFC adapter, stating that &quot;Most Android devices will only have one NFC Adapter (NFC Controller).&quot; As no further explanation follows, to me, the following aspects are not clear: a) Do Andr...
android|nfc
0
2022-05-23T15:12:15.980Z
2,022
5
15
0
59
1
1,045
35
2
0
false
false
false
false
false
false
zero
72,351,022
Espresso testing is failing due to IncompatibleClassChangeError
<p>Espresso testing is working well but when trying to check if the toast message appeared, using this code</p> <pre><code>onView(withText(R.string.added_successfully_msg)).inRoot(toastMatcher()) .check(matches(withText(R.string.added_successfully_msg))); </code></pre> <p>or this one</p> <pre><code>onV...
Espresso testing is working well but when trying to check if the toast message appeared, using this code [CODE] or this one [CODE] this exception is thrown [CODE] testing dependency [CODE] I think this exception is thrown when I use withText() but I can't find a solution. thanks for help
android|android-espresso
2
2022-05-23T15:21:54.367Z
2,022
5
15
0
122
1
288
63
2
4
true
false
false
false
false
false
low
72,351,044
Passing message from one activity to another java class (BroadcastReceiver)
<p>Hey I am passing message from one activity to another java class (BroadcastReceiver). The Broadcast recievr is pushing notification at particular set time which is working fine. The issue is when i send message for first scheduled notification i get the message which is set for 2nd notification and the 2nd notificat...
Hey I am passing message from one activity to another java class (BroadcastReceiver). The Broadcast recievr is pushing notification at particular set time which is working fine. The issue is when i send message for first scheduled notification i get the message which is set for 2nd notification and the 2nd notification...
java|android|arrays|android-studio
0
2022-05-23T15:23:37.010Z
2,022
5
15
0
26
0
592
75
4
3
true
true
false
false
false
false
zero
72,351,053
ListView Array Adapter error"None of the following functions can be called with the arguments supplied."
<p>I'm trying to create a fragment with a ListView with the id=lv and the ArrayAdapter doesn't seem to work</p> <p>this is the fragment code</p> <pre><code>class Istoric : Fragment() { var array = arrayOf(&quot;item1&quot;,&quot;item2&quot;) override fun onCreate(savedInstanceState: Bundle?) { super.on...
I'm trying to create a fragment with a ListView with the id=lv and the ArrayAdapter doesn't seem to work this is the fragment code [CODE]
android|kotlin|android-fragments|android-listview|android-arrayadapter
-1
2022-05-23T15:24:21.600Z
2,022
5
15
0
79
1
137
104
5
1
true
false
false
false
false
true
negative
72,351,079
Retrieving ID from sqlite database
<p>Relating to my previous question, I want to retrieve the ID from the sqlite database created to pass it as data in an Intent putExtra() for using it as the id for pendingIntent.getActivity(). Currently, I am using queryNumEntries to set the id for each reminder added into the database from the following code in my D...
Relating to my previous question, I want to retrieve the ID from the sqlite database created to pass it as data in an Intent putExtra() for using it as the id for pendingIntent.getActivity(). Currently, I am using queryNumEntries to set the id for each reminder added into the database from the following code in my Data...
java|sqlite|android-studio|android-sqlite
0
2022-05-23T15:26:00.073Z
2,022
5
15
0
69
1
590
34
4
4
true
false
false
false
false
false
zero
72,351,103
Using BLOC pattern with SSE
<p>I have been using BLOC pattern in my project. I had to use SSE(Server sent Events) for a function.I am really confused on how to handle this with bloc pattern.I tried to do it like doing with normal REST API calls but it throws error saying that</p> <p>ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception:...
I have been using BLOC pattern in my project. I had to use SSE(Server sent Events) for a function.I am really confused on how to handle this with bloc pattern.I tried to do it like doing with normal REST API calls but it throws error saying that ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: 'package:...
android|flutter|networking|server-sent-events|bloc
0
2022-05-23T15:27:26.340Z
2,022
5
15
0
34
0
886
27
5
0
false
true
false
false
false
false
zero
72,351,154
Google Play Console Subscriptions Update
<p>Since May 2022 Google has updated its billing system. And now we have multiple base plans and offers. It looks complicated and not so solid as it was before. Maybe it's more flexible, but a lot of questions arise and there is no good documentation for common cases. For example:</p> <p><strong>How to create a subscri...
Since May 2022 Google has updated its billing system. And now we have multiple base plans and offers. It looks complicated and not so solid as it was before. Maybe it's more flexible, but a lot of questions arise and there is no good documentation for common cases. For example: How to create a subscription, when at fir...
android|google-developers-console|in-app-subscription|play-billing-library
1
2022-05-23T15:30:17.990Z
2,022
5
15
0
404
2
710
40
4
0
false
false
false
false
false
false
low
72,351,192
Sampling rate problem ANDROID (GPS sensor app interferes with Accelerometer app)
<p>I have two apps, the first to measures acceleration and the second records the android phone location. If the two apps are active at the same time, the ACCELEROMETER SENSOR DELAY (SENSOR_DELAY_GAME) is reduced from 20 to 8 Hz. I want to avoid this to reduce the size of the recorded data.</p> <p>The problem occurs o...
I have two apps, the first to measures acceleration and the second records the android phone location. If the two apps are active at the same time, the ACCELEROMETER SENSOR DELAY (SENSOR_DELAY_GAME) is reduced from 20 to 8 Hz. I want to avoid this to reduce the size of the recorded data. The problem occurs only on one ...
android|gps|accelerometer|sampling|rate
0
2022-05-23T15:34:19.663Z
2,022
5
15
0
51
0
561
80
5
0
false
true
false
false
false
false
zero
72,351,211
How can I make the android navigation bar transparent when React Native Modal is shown?
<p>I use React Native CLI. With Alert, the full screen of the app is covered and the navigation bar becomes transparent. However this does not happen with a Modal, which does not cover the navigation bar. (and it looks a bit bad). I don't understand why that happens and I'd be grateful if someone could help me out.</p>...
I use React Native CLI. With Alert, the full screen of the app is covered and the navigation bar becomes transparent. However this does not happen with a Modal, which does not cover the navigation bar. (and it looks a bit bad). I don't understand why that happens and I'd be grateful if someone could help me out. Exampl...
android|react-native|android-alertdialog|android-navigation-bar|react-native-modal
1
2022-05-23T15:35:24.390Z
2,022
5
15
0
136
1
365
87
5
0
false
false
false
false
false
false
low
72,351,253
Google Play Billing Library: Determine base plan / expiry of subscription purchase
<p>I am using the Google Play Billing Library 5 and have a <em>subscription</em> product with different <em>base plans</em>.</p> <p>When processing the purchases in the <code>PurchasesUpdatedListener</code> or in the callback of <code>queryPurchasesAsync</code>, I receive a list of <code>Purchase</code> objects which c...
I am using the Google Play Billing Library 5 and have a subscription product with different base plans . When processing the purchases in the PurchasesUpdatedListener or in the callback of queryPurchasesAsync , I receive a list of Purchase objects which contain inter alia the product IDs, purchase time and whether it's...
android|in-app-billing|android-billing|play-billing-library|google-play-billing
7
2022-05-23T15:38:11.887Z
2,022
5
15
0
759
1
672
82
5
0
false
false
false
false
false
false
medium
72,351,274
ViewModel not initializing or problem design with my viewModel
<p>I've been reading some questions, answers and blogs about MVVM pattern in Android, and I've implemented it in my application.</p> <p>My application consists of a MainActivity with 3 Tabs. Content of each tab is a fragment.</p> <p>One of these fragments, is a List of Users stored on Room DB, which is where I've imple...
I've been reading some questions, answers and blogs about MVVM pattern in Android, and I've implemented it in my application. My application consists of a MainActivity with 3 Tabs. Content of each tab is a fragment. One of these fragments, is a List of Users stored on Room DB, which is where I've implemented the MVVM (...
android|mvvm|android-viewmodel|android-mvvm
0
2022-05-23T15:39:27.287Z
2,022
5
15
0
275
1
1,481
62
4
4
true
false
false
false
false
false
zero
72,351,444
Android In-App Billing V5 subscription with trial period
<p>Google has updated its billing system and there is no full information how to deal with it.</p> <p>Thus, instead of <code>SkyDetails</code> we have class <code>ProductDetails</code>. This object we can receive in callback of <code>billingClient.queryProductDetailsAsync()</code>. Then we can call <code>getSubscriptio...
Google has updated its billing system and there is no full information how to deal with it. Thus, instead of SkyDetails we have class ProductDetails . This object we can receive in callback of billingClient.queryProductDetailsAsync() . Then we can call getSubscriptionOfferDetails() on this object and get access to list...
android|in-app-billing
8
2022-05-23T15:51:23.717Z
2,022
5
15
0
1,141
2
644
56
2
1
true
false
false
false
false
false
medium
72,351,671
Android Studio: How do you make a method when pressing a button with Kotlin?
<p>I've tried making the below method for a button on Android Studio, and when I run, the app crashes.</p> <pre><code>MainActivity : AppCompatActivity() { val button = findViewById(R.id.button) as Button var count = 0 val textView = findViewById(R.id.textView) as TextView override fun onCreate(savedIn...
I've tried making the below method for a button on Android Studio, and when I run, the app crashes. [CODE] I am well aware that in order for the button to work, you need to put stuff into the &quot;button.setOnClickListener&quot; part (see below). However, I want to make sure that my code is as neat and clean as possib...
android|kotlin
0
2022-05-23T16:10:03.983Z
2,022
5
16
0
32
2
525
76
2
2
true
false
false
false
false
false
zero
72,351,696
Android Marshmallow API 25 and below - EXTRA_INITIAL_URI not honored therefore unable to open given folder
<p>when trying to use the <a href="https://developer.android.com/about/versions/11/privacy/storage" rel="nofollow noreferrer">now-not-optional-anymore SAF (Storage-Access-Framework)</a> to access a given folder on older Android (Marshmallow API 25 or before) the <a href="https://developer.android.com/reference/android/...
when trying to use the now-not-optional-anymore SAF (Storage-Access-Framework) to access a given folder on older Android (Marshmallow API 25 or before) the EXTRA_INITIAL_URI is not honored, therefore not showing the requested folder uriToLoad but the generic Recent file manager, therefore making the life of users impos...
android|android-6.0-marshmallow|storage-access-framework|scoped-storage
1
2022-05-23T16:11:32.853Z
2,022
5
16
0
65
0
406
106
4
1
true
true
false
false
false
false
low
72,351,710
Kotlin, android, get id from getvalue
<p>I have the following code:</p> <pre><code> for (snapshot in snapshot.children){ var viagem = snapshot.getValue() Log.d(&quot;teste&quot;, viagem.toString()) // BuleiaId = viagem // Log.d(&quot;teste&quot;...
I have the following code: [CODE] That retreives the following output on logcat [CODE] How can I change the: [CODE] to get de id from viagem
android|firebase|kotlin|firebase-realtime-database
0
2022-05-23T16:12:45.710Z
2,022
5
16
0
52
1
140
37
4
3
true
false
false
false
false
false
zero
72,351,807
Is there any way to create widget or any other way to bring KPIs of an app outside the app on homescreen
<p>Update : Is there any other way besides using widget for the same?</p> <p>I've to design a facility to show KPIs of a screen outside the app on home screen or elsewhere so the user is always aware of the metrics change etc and they are alerted of the change in value. This facility I'm seeking for both iOS and Androi...
Update : Is there any other way besides using widget for the same? I've to design a facility to show KPIs of a screen outside the app on home screen or elsewhere so the user is always aware of the metrics change etc and they are alerted of the change in value. This facility I'm seeking for both iOS and Android. KPI inf...
android|ios|widget|metrics|kpi
0
2022-05-23T16:21:32.630Z
2,022
5
16
0
35
0
454
104
5
0
false
true
false
false
false
false
zero
72,351,908
On Android, send Chrome webpage content to app using Share option
<p>On Android, other than using a bookmarklet, can I send webpage content from Chrome to my app?</p> <p>I know I can do it using a bookmarklet, but it's a bother for users to add and use the bookmarklet. I'd prefer to have my app added to Chrome's share menu. I know I can send the webpage URL this way, but I need to in...
On Android, other than using a bookmarklet, can I send webpage content from Chrome to my app? I know I can do it using a bookmarklet, but it's a bother for users to add and use the bookmarklet. I'd prefer to have my app added to Chrome's share menu. I know I can send the webpage URL this way, but I need to inject JS, d...
android|android-activity
0
2022-05-23T16:29:34.957Z
2,022
5
16
0
21
0
617
65
2
0
false
true
false
false
false
false
zero
72,351,909
An error is occuring when I am installing my Android Studio
<p>When I am installing the Android Studio from the official website then it is showing the error when I start the setup. The message is:</p> <blockquote> <p>javax.net.ssl.SSSLEXCEPTION: Tag Mismatched</p> </blockquote> <p>Image reference is given:</p> <p><img src="https://i.stack.imgur.com/pAaNm.png" alt="Error screen...
When I am installing the Android Studio from the official website then it is showing the error when I start the setup. The message is: javax.net.ssl.SSSLEXCEPTION: Tag Mismatched Image reference is given:
android-studio
1
2022-05-23T16:29:36.600Z
2,022
5
16
0
31
0
204
59
1
0
false
true
false
false
false
false
low
72,351,912
How to use an android accessibility service to detect which view the user touched?
<p>There's something that android TalkBack does that I want to do too. Specifically it's to identify the view that the user touched. I made this so far:</p> <pre><code>@Override public void onAccessibilityEvent(AccessibilityEvent event) { if (event.getEventType() == AccessibilityEvent.TYPE_VIEW_CLICKED) { ...
There's something that android TalkBack does that I want to do too. Specifically it's to identify the view that the user touched. I made this so far: [CODE]
java|android|accessibility|accessibilityservice
0
2022-05-23T16:29:47.160Z
2,022
5
16
0
138
2
156
82
4
1
true
false
false
false
false
false
zero
72,352,001
why PlayStore showing very Previous old Version as soon as I upload new Build?
<p>My current version of android app is <strong>6.4.0</strong> . but it shows <strong>4.8.0</strong> to general users as <strong>downloadable</strong> every time as soon as I upload new version to PlayStore before it gets accepted . I am getting this issue everytime, I googled about the issue but could not find any sol...
My current version of android app is 6.4.0 . but it shows 4.8.0 to general users as downloadable every time as soon as I upload new version to PlayStore before it gets accepted . I am getting this issue everytime, I googled about the issue but could not find any solution or reason for this problem. Have any one faced s...
java|android-studio|kotlin|google-play-services
0
2022-05-23T16:37:42.573Z
2,022
5
16
0
81
1
381
78
4
0
false
false
false
false
false
false
zero
72,352,202
I cant refrence the adapter
<p>I have an adaptor that I initiate in onCreate and a listview that I initiate in onViewCreated I'm trying to setAdapter but I can't pass the adapter in onViewCreated. Ive tried multiple things like moving them from onCreate in onViewCreated but it seems that the app crashes if I initialize the adapter anywhere else a...
I have an adaptor that I initiate in onCreate and a listview that I initiate in onViewCreated I'm trying to setAdapter but I can't pass the adapter in onViewCreated. Ive tried multiple things like moving them from onCreate in onViewCreated but it seems that the app crashes if I initialize the adapter anywhere else and ...
android|kotlin|android-fragments|android-listview|android-arrayadapter
0
2022-05-23T16:55:19.450Z
2,022
5
16
0
24
1
380
27
5
1
true
false
false
false
false
false
zero
72,352,287
In Android, how do I transform a FAB into a view, when a user scrolls down the fragment?
<p>I want to have two buttons doing the same thing. One a FAB, and one a big plus sign that looks like a card.</p> <p><a href="https://i.stack.imgur.com/TtsUy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TtsUy.png" alt="mockups" /></a><a href="https://i.stack.imgur.com/WwRhh.png" rel="nofollow nor...
I want to have two buttons doing the same thing. One a FAB, and one a big plus sign that looks like a card. Is it possible to have the FAB &quot;explode&quot; into the PlusSignView, maybe with a MotionLayout, when a user scrolls down to the bottom of the list?
android|kotlin|user-interface|android-motionlayout
1
2022-05-23T17:02:05.103Z
2,022
5
17
0
26
0
260
88
4
0
false
true
false
false
false
false
low
72,352,328
After an upgrade, Flutter PlatformView floats above all other widgets
<p>The <code>PlatformView</code> was working perfectly before the upgrade, then I updated Flutter to version 3.0.1 on the stable channel. Then, suddenly a strange behavior occurs.</p> <p>I created a GIF for your reference. The strange behaviors are:</p> <ol> <li>The PlatformView gets on top of all other widgets. You ca...
The PlatformView was working perfectly before the upgrade, then I updated Flutter to version 3.0.1 on the stable channel. Then, suddenly a strange behavior occurs. I created a GIF for your reference. The strange behaviors are: The PlatformView gets on top of all other widgets. You can see the DropDownMenu gets behind i...
android|flutter
5
2022-05-23T17:06:07.733Z
2,022
5
17
0
238
0
1,146
69
2
2
true
true
false
false
false
false
low
72,352,344
Not able to click the logout and posy buttons
<p>I have tried checking if any layout is overlapping or not. I have tried adding more space between the button and the border nothing seems to work. I'm not able to see where am I missing out</p> <p>This is the activity where I'm trying to add setonclicklistenr:</p> <pre><code>public class addPost extends AppCompatAct...
I have tried checking if any layout is overlapping or not. I have tried adding more space between the button and the border nothing seems to work. I'm not able to see where am I missing out This is the activity where I'm trying to add setonclicklistenr: [CODE] This is the xml file: [CODE] Screenshot of the .XML file de...
java|android|android-studio|button|onclicklistener
0
2022-05-23T17:07:21.227Z
2,022
5
17
0
19
1
324
45
5
2
true
false
false
false
false
false
zero
72,352,349
Data is not storing to Firebase Realtime Databse - Android Studio
<p>//Please Help :</p> <p>What i want to do:</p> <p>I want to upload video to firebase from app and create realtime database child which store the uploded video link and some more information.</p> <p>What error is coming: Video is successfully uploading but Databse child is not creating in Realtime Database.</p> <p>Ple...
//Please Help : What i want to do: I want to upload video to firebase from app and create realtime database child which store the uploded video link and some more information. What error is coming: Video is successfully uploading but Databse child is not creating in Realtime Database. Please help me to fix my problem. ...
android|firebase|firebase-realtime-database
-1
2022-05-23T17:07:52.313Z
2,022
5
17
0
34
1
395
65
3
2
true
false
false
false
false
true
negative
72,352,410
How to decode Midi data Android
<p>I'm writing an Android application. A MIDI piano keyboard is connected physically by a cable to an Android device. I have been following the official Android Midi documentation here <a href="https://developer.android.com/reference/android/media/midi/package-summary" rel="nofollow noreferrer">https://developer.androi...
I'm writing an Android application. A MIDI piano keyboard is connected physically by a cable to an Android device. I have been following the official Android Midi documentation here https://developer.android.com/reference/android/media/midi/package-summary , but I am stuck with decoding the raw Midi data which I am rec...
android|midi
0
2022-05-23T17:11:36.560Z
2,022
5
17
0
49
0
514
31
2
1
true
true
false
false
false
false
zero
72,352,438
How to export Kivy file to apk?
<p>I want to export an app built on Kivy with many dependencies to apk file for Android. I use the following files: exe, joblib, XML, and libraries: kivy==2.1.0,certifi==2022.5.18.1,charset-normalizer==2.0.12,docutils==0.18.1,easyocr==1.4.2,idna==3.3,imageio==2.19.2,joblib==1.1.0,kivy-deps.angle==0.3.2,kivy-deps.glew==...
I want to export an app built on Kivy with many dependencies to apk file for Android. I use the following files: exe, joblib, XML, and libraries: kivy==2.1.0,certifi==2022.5.18.1,charset-normalizer==2.0.12,docutils==0.18.1,easyocr==1.4.2,idna==3.3,imageio==2.19.2,joblib==1.1.0,kivy-deps.angle==0.3.2,kivy-deps.glew==0.3...
python|android|numpy|kivy|python-imaging-library
0
2022-05-23T17:13:55.817Z
2,022
5
17
0
56
0
1,670
31
5
0
false
true
false
false
false
false
zero
72,352,564
Unable to convert to json object
<p>Here is the Input in am getting</p> <pre><code>{&quot;DO&quot;:[{&quot;AEndedOdo&quot;:0,&quot;AStartedOdo&quot;:0,&quot;DriverViewedOn&quot;:&quot;2022-05-23T21:16:07.000Z&quot;,&quot;EndedOdo&quot;:0,&quot;ExpectedRate&quot;:0,&quot;Id&quot;:609979,&quot;RelayId&quot;:145087,&quot;Server_Id&quot;:609979,&quot;Star...
Here is the Input in am getting [CODE] In the above code i am passing [CODE] and i am converting the code as JSONObject(...Code..) but in response i am getting temprature doc as [CODE] i am using android fast netorking
android|json|gson
0
2022-05-23T17:24:52.597Z
2,022
5
17
0
24
0
218
32
3
3
true
true
false
false
false
false
zero
72,352,592
Saving checkbox values to firestore? android studio in kotlin
<p>is it possible to save the values of checkboxes checked by users in firestore firebase?</p>
is it possible to save the values of checkboxes checked by users in firestore firebase?
android|firebase|android-studio|kotlin|checkbox
0
2022-05-23T17:27:57.397Z
2,022
5
17
0
70
0
87
61
5
0
false
true
false
false
false
false
zero
72,352,629
Can't create Android bundle React Native
<p>I'm trying to create an android bundle file with this command</p> <pre><code>react-native bundle --entry-file index.js --platform android --dev false --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/src/main/res </code></pre> <p>but I'm getting this error</p> <pre><code...
I'm trying to create an android bundle file with this command [CODE] but I'm getting this error [CODE] I had tried upgrade @react-native-community/cli but no luck for me. I have no idea about this issue, so I hope someone can help me resolve it, thanks
android|react-native|bundle
0
2022-05-23T17:31:38.120Z
2,022
5
17
0
87
0
252
40
3
2
true
true
false
false
false
false
zero
72,352,635
Use integrate barcode scanner with Xamarin Forms
<p>I'm using an integrated barcode scanner for an app with Xamarin Forms and I want to set focus on an <code>Edit</code> field every time that I am on the view. However, I have another button on my page. So, is there a way to set Focus on my <code>Edit</code> at all times? ( I use focus because the barcode scanner comp...
I'm using an integrated barcode scanner for an app with Xamarin Forms and I want to set focus on an Edit field every time that I am on the view. However, I have another button on my page. So, is there a way to set Focus on my Edit at all times? ( I use focus because the barcode scanner complete automatically the field ...
android|xamarin|barcode-scanner
0
2022-05-23T17:32:20.940Z
2,022
5
17
0
281
1
340
48
3
0
false
false
false
false
false
false
zero
72,352,645
How can I programmatically change include lay-out for java android?
<p>How can I programmatically change <code>layout=&quot;@layout/keyboard&quot;</code> with another lay-out <code>layout=&quot;@layout/play_again&quot;</code>. Or is there a better way of doing this?</p> <pre class="lang-xml prettyprint-override"><code>&lt;include android:id=&quot;@+id/includeKeyboard&quot; ...
How can I programmatically change layout=&quot;@layout/keyboard&quot; with another lay-out layout=&quot;@layout/play_again&quot; . Or is there a better way of doing this? [CODE] lay-out play again lay-out keyboard
java|android|wordle-game
-1
2022-05-23T17:33:05.623Z
2,022
5
17
0
39
2
213
67
3
1
true
false
false
false
false
true
negative
72,352,682
Adb force real touch
<p>Im writing python testcases for a payment terminal operating on android. I know how to use UIAutomator2 and adb tap or keyevent but im facing an issue. I cant interact with any of the buttons only on the payment app pin-pad. What it looks like to me the programmers put a safeguard in place that prevents any source ...
Im writing python testcases for a payment terminal operating on android. I know how to use UIAutomator2 and adb tap or keyevent but im facing an issue. I cant interact with any of the buttons only on the payment app pin-pad. What it looks like to me the programmers put a safeguard in place that prevents any source of i...
python|adb|android-uiautomator|gesture-recognition
0
2022-05-23T17:36:15.267Z
2,022
5
17
0
54
1
578
20
4
0
false
false
false
false
false
false
zero
72,353,114
Getting the below errors related to the tensorflow lite while building kotlin app
<p>I am getting the following error as show in the screenshot,please help me to solve the error related to the tensorflow lite. [i was following this tutorial on youtube][1] Iam not getting why the error is occurring as the code in the tutorial runs well. thankyou</p> <p>Below is the code where I am getting the follow...
I am getting the following error as show in the screenshot,please help me to solve the error related to the tensorflow lite. [i was following this tutorial on youtube][1] Iam not getting why the error is occurring as the code in the tutorial runs well. thankyou Below is the code where I am getting the following error. ...
android|tensorflow|kotlin|machine-learning|mobile-development
0
2022-05-23T18:14:16.413Z
2,022
5
18
0
27
0
326
81
5
1
true
true
false
false
false
false
zero
72,353,126
com.example.myapplication.MainActivity cannot be cast Android Studio kotlin
<p>I created a <code>Login/Register</code> Page and I get this error while trying to click <code>Register Button</code>.This method should send me to Register Page where I can register a new account.The problem is I get this error when I click the register button: <a href="https://i.stack.imgur.com/tbO5v.png" rel="nofo...
I created a Login/Register Page and I get this error while trying to click Register Button .This method should send me to Register Page where I can register a new account.The problem is I get this error when I click the register button: android app code error How can I resolve this error ? Here is my code and other scr...
android|kotlin
1
2022-05-23T18:15:11.807Z
2,022
5
18
0
107
1
435
75
2
3
true
false
false
false
false
false
low
72,353,162
Android app reaches API, but token not sent back to Android
<p>I am having an issue where my Android app reaches an API that has a token, but the token is not getting sent back to the app. I get the error:</p> <p><em>System.MissingMethodException: Default constructor not found for type System.string</em></p> <p>I am using Xamarin.Android (C#). I'm trying to add a method to my A...
I am having an issue where my Android app reaches an API that has a token, but the token is not getting sent back to the app. I get the error: System.MissingMethodException: Default constructor not found for type System.string I am using Xamarin.Android (C#). I'm trying to add a method to my Android/DataUtility.cs that...
c#|api|rest|xamarin.android|missingmethodexception
0
2022-05-23T18:18:59.907Z
2,022
5
18
0
36
1
902
59
5
1
true
false
false
false
false
false
zero
72,353,297
The name 'Articles' isn't a type so it can't be used as a type argument
<p>In the main.dart folder &quot;The name 'Articles' isn't a type so it can't be used as a type argument.&quot; and &quot;Undefined name 'NewsService'.&quot; i am getting the error how can i fix it</p> <pre><code>class _MyHomePageState extends State&lt;MyHomePage&gt; { List&lt;Articles&gt; articles = []; @override...
In the main.dart folder &quot;The name 'Articles' isn't a type so it can't be used as a type argument.&quot; and &quot;Undefined name 'NewsService'.&quot; i am getting the error how can i fix it [CODE]
flutter|android-studio
0
2022-05-23T18:30:52.780Z
2,022
5
18
0
161
1
201
71
2
1
true
false
false
false
false
false
zero
72,353,340
Add thousands separator to entry integer value as user types
<p>I am developing an app using Xamarin Forms and it is meant to perform a few calculations using the values that the user types. Some of the values are large numbers, like milions or bilions, and I need to show the thousands separator as the user types, so they won't have to count the zeroes on the entries. Also, thes...
I am developing an app using Xamarin Forms and it is meant to perform a few calculations using the values that the user types. Some of the values are large numbers, like milions or bilions, and I need to show the thousands separator as the user types, so they won't have to count the zeroes on the entries. Also, these a...
c#|xamarin.forms|xamarin.android
-1
2022-05-23T18:35:04.823Z
2,022
5
18
0
45
1
1,285
60
3
0
false
false
false
false
false
true
negative
72,353,350
Android. How to use pagination with clean architecture?
<p>I'm writing application with <code>MVVM</code> and clean architecture. On one of the screens I need to implement <code>RecyclerView</code> with <code>pagination</code>. I am going to use the library <code>Paging3</code>.</p> <p>Android Developer recommends using <code>PagingSource</code> and <code>RemoteMediator</co...
I'm writing application with MVVM and clean architecture. On one of the screens I need to implement RecyclerView with pagination . I am going to use the library Paging3 . Android Developer recommends using PagingSource and RemoteMediator in repository layer. But at the same time, in many sources, I read that the data l...
android|android-recyclerview|clean-architecture|android-mvvm|android-paging-3
1
2022-05-23T18:35:39.887Z
2,022
5
18
0
538
1
639
55
5
0
false
false
false
false
false
false
low
72,353,414
How to call the default X509KeyManager when creating a wrapper around a X509KeyManager
<p>I am trying to implement a wrapper around a <code>X509KeyManager</code> to execute other code inside the callbacks and then call the the default KeyManager after but this isn't working.</p> <p>Here's my simplified code:</p> <pre><code>class MyKeyManager(): X509ExtendedKeyManager() { private val defaultKeyManager: ...
I am trying to implement a wrapper around a X509KeyManager to execute other code inside the callbacks and then call the the default KeyManager after but this isn't working. Here's my simplified code: [CODE] and when I run my app I get this exception: [CODE] I am using OkHttp to run this code and I create my Client like...
android|kotlin|okhttp|x509|pki
0
2022-05-23T18:40:28.433Z
2,022
5
18
0
68
1
456
86
5
3
true
false
false
false
false
false
zero
72,353,519
Why my Viewpager is not showing images in recyclerview?
<p>Actually i am new to android development and working on an app and trying to implement viewpager to show the images like carousel in recyclerview but don't know how to set the viewpager in recyclerview onBindViewHolder function to show viewpager the images. Actually i m trying to implement like this <a href="https:/...
Actually i am new to android development and working on an app and trying to implement viewpager to show the images like carousel in recyclerview but don't know how to set the viewpager in recyclerview onBindViewHolder function to show viewpager the images. Actually i m trying to implement like this and this is mine ap...
java|android|android-recyclerview|android-viewpager
0
2022-05-23T18:49:09.057Z
2,022
5
18
0
27
0
601
55
4
1
true
true
false
false
false
false
zero
72,353,551
Dynamic Upload Multi Images and Descriptions Parse Server Android
<p>I have this dynamic option for uploading images and texts, but there is an error I can't identify. Help me please! All code like dynamic and single product upload is working perfectly but an error occurs when uploading multiple products</p> <p><a href="https://i.stack.imgur.com/Adqbs.jpg" rel="nofollow noreferrer">P...
I have this dynamic option for uploading images and texts, but there is an error I can't identify. Help me please! All code like dynamic and single product upload is working perfectly but an error occurs when uploading multiple products Perfectly working single product option Multiple product option with upload error A...
java|android|android-studio|dynamic|parse-platform
0
2022-05-23T18:53:21.893Z
2,022
5
18
0
25
0
399
65
5
2
true
true
false
false
false
false
zero
72,353,613
Get a single object from a Room query in a background thread and use it in the view. Android/Kotlin/MVVM
<p>In my current solution to this I use coroutines and return a <code>MutableLiveData</code> in the <code>ViewModel</code> that the view .kt class observes.</p> <p>DAO function:</p> <pre><code>@Query( &quot;SELECT workout_name FROM workout_table &quot; + &quot;WHERE id = :workoutId&quot; ) suspend fun getWo...
In my current solution to this I use coroutines and return a MutableLiveData in the ViewModel that the view .kt class observes. DAO function: [CODE] Repository function: [CODE] ViewModel function: [CODE] View .kt function: [CODE] This works but I think there's a better way of doing this. My main problem is in the ViewM...
android|kotlin|mvvm|android-room|kotlin-coroutines
-1
2022-05-23T19:00:16.663Z
2,022
5
19
0
217
1
996
104
5
5
true
false
false
false
false
true
negative
72,353,627
Android Gradle Plugin 7.2 ignores added proguard file in Android App build process
<p>I have a <code>Gradle</code> plugin I wrote for an Android app project. Amongst other things - this plugin adds a custom <code>ProGuard</code> rules file to all ApplicationVariants being built.</p> <p>the has worked fine until Android Gradle plugin <code>7.2</code> was introduced. Since I started using AGP 7.2 to co...
I have a Gradle plugin I wrote for an Android app project. Amongst other things - this plugin adds a custom ProGuard rules file to all ApplicationVariants being built. the has worked fine until Android Gradle plugin 7.2 was introduced. Since I started using AGP 7.2 to compile my app - the ProGuard file that's added by ...
android|gradle|android-gradle-plugin|proguard
1
2022-05-23T19:01:50.660Z
2,022
5
19
0
305
1
706
82
4
2
true
false
false
false
false
false
low
72,353,717
React Native for Android TV. Disable inbuilt spatial navigation
<p>I am developing an Android TV application using React Native, but the inbuilt spatial navigation (and focus system) is unpredictable and entirely unusable for my purpose. I want to control on my own the spatial navigation using the keydown events, but, once I add a FlatList in my code, the flat list takes the focus ...
I am developing an Android TV application using React Native, but the inbuilt spatial navigation (and focus system) is unpredictable and entirely unusable for my purpose. I want to control on my own the spatial navigation using the keydown events, but, once I add a FlatList in my code, the flat list takes the focus and...
android|react-native|navigation|focus|spatial
0
2022-05-23T19:10:42.787Z
2,022
5
19
0
88
0
494
63
5
0
false
true
false
false
false
false
zero
72,353,839
Initialising a string in setOnClickListener body causes the button to not work
<p>I've made a signup activity in android development which is supposed to make an account in the app using the given credentials.</p> <p>Here's the original code:</p> <pre><code> signUpBtn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Stri...
I've made a signup activity in android development which is supposed to make an account in the app using the given credentials. Here's the original code: [CODE] But this is not working, clicking on the signup button is taking the user back to the screen before it i.e. the login screen. While trying to debug it, I reduc...
java|android|firebase|android-studio|textutils
0
2022-05-23T19:23:47.947Z
2,022
5
19
0
46
0
744
78
5
4
true
true
false
false
false
false
zero
72,353,873
Reason: tried: '/usr/local/opt/boost/lib/libboost_system.dylib' (no such file)
<p>After cloning a new project on mac I am facing this error on my old project , and not in the new cloned project.</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Execution failed for task ':app:mergeEnv_prodDebugResources'.</li> </ul> <blockquote> <p>Failed to notify task execution liste...
After cloning a new project on mac I am facing this error on my old project , and not in the new cloned project. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:mergeEnv_prodDebugResources'. Failed to notify task execution listener. /private/var/folders/00/q0xg2fps11qgnyt3m35q0...
android|android-studio|kotlin|gradle
0
2022-05-23T19:27:39.060Z
2,022
5
19
0
95
0
950
78
4
0
false
true
false
false
false
false
zero
72,353,899
Endless loop / MutableStateFlow not cleared before recomposition
<p>Consider the following code</p> <pre><code>// will be injected as singleton via Hilt, but that's // not the really relevant thing class NavigationManager { val command = MutableStateFlow(&quot;&quot;) fun navigate(direction: String) { command.value = direction } } // MainActivity override fun o...
Consider the following code [CODE] My goal is to implement a singleton which provides a route (called command in the NavigationManager class) as MutableStateFlow. This flow is to be oberserved in a composable and if the flow value changes, navigation is triggered. In the real world I want to call NavigationManager.navi...
android|android-jetpack-compose|jetpack-compose-navigation
0
2022-05-23T19:30:05.237Z
2,022
5
19
0
88
0
1,174
64
3
2
true
true
false
false
false
false
zero
72,353,906
Synchronized photo gallery
<p>I'm trying to code application using <code>React Native</code> and <code>Expo</code>. In my app should be a page in which are displayed photos from gallery. My problem is that the page have to be kept updated. To the mobile will be connected external camera and after taking photo, photo will be inserted to phone's p...
I'm trying to code application using React Native and Expo . In my app should be a page in which are displayed photos from gallery. My problem is that the page have to be kept updated. To the mobile will be connected external camera and after taking photo, photo will be inserted to phone's photo gallery. Then I need to...
javascript|android|ios|react-native|expo
0
2022-05-23T19:30:52.903Z
2,022
5
19
0
36
0
476
26
5
0
false
true
false
false
false
false
zero
72,353,934
How to detect if a MIC ONLY is connected
<p>My app plays and records wildlife sounds. It can do both either using external or internal hardware.</p> <p>Yet, if I have a MIC with MIC ONLY functionality plugged, my app tries to <em>play</em> sound through it, like if it were a headset (with speakers).</p> <p>How can my app decide that there is a MIC ONLY thing ...
My app plays and records wildlife sounds. It can do both either using external or internal hardware. Yet, if I have a MIC with MIC ONLY functionality plugged, my app tries to play sound through it, like if it were a headset (with speakers). How can my app decide that there is a MIC ONLY thing plugged, and ask it to pla...
android|audio|microphone|android-audiomanager|speaker
0
2022-05-23T19:34:01.073Z
2,022
5
19
0
61
0
1,561
40
5
4
true
true
false
false
false
false
zero
72,353,942
How to prepare JSON data for Multiple View Type in Recycler View
<p>I would like to use One recycler view and One adapter with date header type And I am having below JSON response from backend server, if there is any better way to use different JSON format please suggest. kindly refer attached image</p> <pre><code>{&quot;data&quot;: [ { &quot;name&quot;: &quot;ddmmyy&quo...
I would like to use One recycler view and One adapter with date header type And I am having below JSON response from backend server, if there is any better way to use different JSON format please suggest. kindly refer attached image [CODE]
android|json
0
2022-05-23T19:34:39.983Z
2,022
5
19
0
21
0
239
64
2
1
true
true
false
false
false
false
zero
72,354,128
Move data from Firestore Database (not Realtime Database) to new collection in Android Studio
<p>I need to transfer data from a document belonging to one collection to another. It doesn't matter how to do this (rename the sub-collection in the document, or copy the data and then delete it).</p> <p>I know about one example, but I need a detailed analysis of it, preferably with an example.</p> <p>The same example...
I need to transfer data from a document belonging to one collection to another. It doesn't matter how to do this (rename the sub-collection in the document, or copy the data and then delete it). I know about one example, but I need a detailed analysis of it, preferably with an example. The same example: [CODE] Code wit...
java|android|firebase|google-cloud-platform|google-cloud-firestore
0
2022-05-23T19:51:28.810Z
2,022
5
19
0
50
1
412
93
5
2
true
false
false
false
false
false
zero
72,354,142
near "": syntax error in SQL with android studio
<p>I'm working on a SQL databse on java (android studio project) but i have a weird mistake. Basically, everytime i have</p> <pre><code>near &quot;Hello&quot;: syntax error in &quot;INSERT INTO GAMES(_id, PRICE, NAME, DEV, PLATFORM) VALUES (0, 70, Hello, Henri, Terrain)&quot; </code></pre> <p>I have tried like this</p>...
I'm working on a SQL databse on java (android studio project) but i have a weird mistake. Basically, everytime i have [CODE] I have tried like this [CODE] My DBS is [CODE] And i really don't see where is the mistake. Because they're saying &quot;syntax error&quot;, but for me, it's look pretty OKAY. Anyone have a clue ...
java|sql|sqlite|android-studio
0
2022-05-23T19:53:05.003Z
2,022
5
19
0
33
1
375
48
4
3
true
false
false
false
false
false
zero
72,354,152
Question On Android (Java) FirebaseApp.initializeApp()
<p>After experiencing difficulty with getting Firebase to update to a different Firebase project (google-services.json file in the Android App directory seemed to have no effect when a new google-services.json file was used), we realized it would be better to initialize the Android Firebase credentials directly in the ...
After experiencing difficulty with getting Firebase to update to a different Firebase project (google-services.json file in the Android App directory seemed to have no effect when a new google-services.json file was used), we realized it would be better to initialize the Android Firebase credentials directly in the App...
android|firebase
0
2022-05-23T19:53:50.673Z
2,022
5
19
0
26
0
2,004
54
2
1
true
true
false
false
false
false
zero
72,354,179
Is there a way to stay logged in to app after destruction for push notifications
<p>I am trying to create an app that relies on Push Notifications that are customized per user using firebase. The thing is with my app is when you destroy the application and re-open it, it will go through the login in and then logs in automatically by itself using SharedPreferences. Would the destruction of the app l...
I am trying to create an app that relies on Push Notifications that are customized per user using firebase. The thing is with my app is when you destroy the application and re-open it, it will go through the login in and then logs in automatically by itself using SharedPreferences. Would the destruction of the app lead...
android|firebase|android-studio
1
2022-05-23T19:57:10.040Z
2,022
5
19
0
29
1
520
80
3
0
false
false
false
false
false
false
low
72,354,223
Pixel Overflow Problem While Opening the Keyboard
<p>For the following code, I am getting a pixel overflow whenever I am trying to open the keyboard to search for something in the search bar. I cannot remove the container having the specified height of 500 because doing so produces other errors.</p> <pre><code>import 'package:chatapp/services/database.dart'; import 'p...
For the following code, I am getting a pixel overflow whenever I am trying to open the keyboard to search for something in the search bar. I cannot remove the container having the specified height of 500 because doing so produces other errors. [CODE] Could anyone solve this? Also are there anyways to make the container...
flutter|android-studio|dart
0
2022-05-23T20:01:28.663Z
2,022
5
20
0
26
1
374
49
3
1
true
false
false
false
false
false
zero
72,354,376
How to merge two queries on react native firestore
<p>I just want to do leaderboard page. I have 2 collections on firestore users and UserClaims.</p> <p>I need to merge two queries so I will sum subtotal of userclaims and I need list like:</p> <p>1 - UserA - 1500<br /> 2 - UserB - 1200<br /> 3 - UserC - 1000 ...</p> <p>I tried code below but it returns UserName undefin...
I just want to do leaderboard page. I have 2 collections on firestore users and UserClaims. I need to merge two queries so I will sum subtotal of userclaims and I need list like: 1 - UserA - 1500 2 - UserB - 1200 3 - UserC - 1000 ... I tried code below but it returns UserName undefined. First I'm const 2 blank array. I...
android|firebase|react-native|google-cloud-firestore
0
2022-05-23T20:16:02.500Z
2,022
5
20
0
55
0
556
50
4
3
true
true
false
false
false
false
zero
72,354,402
Save an Arraylist of two different types in shared preferences
<p>I currently have an arraylist of a certain type which I'm trying to save in shared prefernces.</p> <p>I have a class called WinClass. I have classes called LoggedInWin and UserWin, both inheriting the WinClass class. There's an arraylist winClasses which has objects of both types. I currently have a code that saves ...
I currently have an arraylist of a certain type which I'm trying to save in shared prefernces. I have a class called WinClass. I have classes called LoggedInWin and UserWin, both inheriting the WinClass class. There's an arraylist winClasses which has objects of both types. I currently have a code that saves the ArrayL...
java|android|android-studio|arraylist|sharedpreferences
0
2022-05-23T20:18:50.793Z
2,022
5
20
0
29
1
846
62
5
1
true
false
false
false
false
false
zero
72,354,446
Mimicking an Android app in order to receive push notifications on my third party app
<p>Okay so, to start I have to say that I'm not really in the Android development field</p> <p>I currently have a 3rd party android application that I am reverse-engineering which I'm successfully doing yet. I now want to create my own app, to basically export their android app to a web application, or any social media...
Okay so, to start I have to say that I'm not really in the Android development field I currently have a 3rd party android application that I am reverse-engineering which I'm successfully doing yet. I now want to create my own app, to basically export their android app to a web application, or any social media bot. Howe...
python|android|push-notification|firebase-cloud-messaging
2
2022-05-23T20:22:55.947Z
2,022
5
20
0
105
0
986
85
4
0
false
true
false
false
false
false
low
72,354,584
Card views in recycler view using motionlayout
<p>I have a recycler view that displays a horizontal list of cards. When I select a single card the card's size is meant to scale up by 1.1 and the other cards will remain the same size, but they are supposed to be equidistant from each other, the margins (left and right) should be maintained.</p> <p>When another card ...
I have a recycler view that displays a horizontal list of cards. When I select a single card the card's size is meant to scale up by 1.1 and the other cards will remain the same size, but they are supposed to be equidistant from each other, the margins (left and right) should be maintained. When another card is selecte...
android|android-recyclerview|android-motionlayout
0
2022-05-23T20:40:57.430Z
2,022
5
20
0
41
0
775
46
3
2
true
true
false
false
false
false
zero
72,354,659
Android equivalent of ios-snapshot-test-case
<p>In my iOS project, I'm using <a href="https://github.com/uber/ios-snapshot-test-case" rel="nofollow noreferrer">https://github.com/uber/ios-snapshot-test-case</a> for UI screenshot tests. Is there any equivalent of such a library on Android that provides the same features?</p>
In my iOS project, I'm using https://github.com/uber/ios-snapshot-test-case for UI screenshot tests. Is there any equivalent of such a library on Android that provides the same features?
android|ios|uitest
0
2022-05-23T20:48:50.243Z
2,022
5
20
0
32
0
186
44
3
0
false
true
false
false
false
false
zero
72,354,752
Navigate to a specific route in MAUI using Shell, from OnNewIntent in MainActivity?
<p>I decided to experiment with MAUI. I am approaching first an Android App, and using Shell for navigation.</p> <p>My App has 2 ways of opening:</p> <ol> <li>When it's opened by the user tapping on the icon</li> <li>Through a deep link, triggered by another app.</li> </ol> <p>The issue I'm having is that when the app ...
I decided to experiment with MAUI. I am approaching first an Android App, and using Shell for navigation. My App has 2 ways of opening: When it's opened by the user tapping on the icon Through a deep link, triggered by another app. The issue I'm having is that when the app is triggered through the Deep link, I need to ...
android|xamarin|android-intent|maui
0
2022-05-23T20:58:53.950Z
2,022
5
20
0
348
1
1,314
83
4
1
true
false
false
false
false
false
zero
72,354,768
Android signal 11 (SIGSEGV) with no fault address
<p>What could be a possible cause that a <code>SIGSEGV</code> reported in tombstone.log has no &quot;fault addr&quot;?</p> <p>This is what was reported by the tombstone (and the fault addr is simply --------),</p> <pre><code>signal 11 (SIGSEGV), code 0 (SI_USER from pid 4956, uid 0), fault addr -------- rax fffffff...
What could be a possible cause that a SIGSEGV reported in tombstone.log has no &quot;fault addr&quot;? This is what was reported by the tombstone (and the fault addr is simply --------), [CODE] and the backtrace seemed reasonable (not a stack corruption). [CODE]
android|segmentation-fault
0
2022-05-23T21:01:00.910Z
2,022
5
21
0
111
1
262
49
2
2
true
false
false
false
false
false
zero
72,354,797
Android app - show "Change Keyboard" settings dialog
<p>I am developing an android app in Java that needs to be set up as a keyboard.</p> <p>I want to have a button that when the user presses my app shows the following dialog box:</p> <p><a href="https://i.stack.imgur.com/hdop0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hdop0.png" alt="enter image...
I am developing an android app in Java that needs to be set up as a keyboard. I want to have a button that when the user presses my app shows the following dialog box: This is a quick settings dialog box to allow the user to choose the input method (keyboard) it wants to use from now on. It is a default Android setting...
java|android|keyboard|dialog|settings
0
2022-05-23T21:03:35.753Z
2,022
5
21
0
43
1
856
52
5
0
false
false
false
false
false
false
zero
72,354,845
TextField hides behind Keyboard in Flutter 3.0.0
<p>I cannot get <code>CustomScrollView</code> to work properly.</p> <p>Before flutter 2.13.0-0.2.pre, tapping on a TextFields inside a <code>CustomScrollView</code> automatically adjusts the TextField above the keyboard as it opens.</p> <p>On downgrading my flutter version to <code>2.11.0-0.1.pre</code> and running the...
I cannot get CustomScrollView to work properly. Before flutter 2.13.0-0.2.pre, tapping on a TextFields inside a CustomScrollView automatically adjusts the TextField above the keyboard as it opens. On downgrading my flutter version to 2.11.0-0.1.pre and running the application on Android version 11 , scrollview works as...
flutter|flutter-layout|flutter-listview|flutter-ios|flutter-android
0
2022-05-23T21:09:26.667Z
2,022
5
21
0
243
2
1,935
48
5
2
true
false
false
false
false
false
zero
72,354,878
Android Studio stopped creating id's for views automatically
<p>When I add a view in a layout, Android Studio used to create the id automatically.</p> <p>Now I have to click on &quot;create id value resource&quot;, see screenshot below.</p> <p>How can I get the old behaviour?</p> <p>Version is Android Studio Chipmunk | 2021.2.1</p> <p><a href="https://i.stack.imgur.com/Vm8KP.png...
When I add a view in a layout, Android Studio used to create the id automatically. Now I have to click on &quot;create id value resource&quot;, see screenshot below. How can I get the old behaviour? Version is Android Studio Chipmunk | 2021.2.1
android|android-studio|android-layout
0
2022-05-23T21:14:32.507Z
2,022
5
21
0
23
0
244
60
3
0
false
true
false
false
false
false
zero