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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,798,949 | Dialog.show() how to prevent: "Can not perform this action after onSaveInstanceState"? | <p>I have a DialogFragment in my App which often makes the application crash cause of:</p>
<pre><code>Fatal Exception: java.lang.IllegalStateException
Can not perform this action after onSaveInstanceState
it.dialogs.LoadingDialog.show (LoadingDialog.java:39)
it.TablesActivity.showLoading (TablesActivity.java:135)
it.Ta... | I have a DialogFragment in my App which often makes the application crash cause of: [CODE] (TablesFragment.java:300) My DialogFragment looks like this: [CODE] And in my Activity the showLoading method is the following: [CODE] How can I prevent that type of crash in my application? | android|android-fragments | 0 | 2022-09-21T10:08:19.997Z | 2,022 | 9 | 10 | 2 | 23 | 0 | 281 | 86 | 2 | 3 | true | true | false | false | false | false | zero |
73,798,975 | How can we reduce time when load video from firebase storage in flutter video_player? | <p><strong>Flutter video_player is taking too much time to load video from firebase storage. please help any one.</strong>
How to play video in my application instantly ? when video is stored in firebase storage.</p>
<p>I have some problem when play video in player from firebase download URL's there is <strong>5-6sec d... | Flutter video_player is taking too much time to load video from firebase storage. please help any one. How to play video in my application instantly ? when video is stored in firebase storage. I have some problem when play video in player from firebase download URL's there is 5-6sec delay to play network video from fir... | android|flutter|firebase|firebase-storage|tiktok | -2 | 2022-09-21T10:10:35.237Z | 2,022 | 9 | 10 | 2 | 42 | 0 | 430 | 85 | 5 | 0 | false | true | false | false | false | true | negative |
73,798,990 | ionic capacitor run android device failed not showing data | <p>I just initialized a mobile app with ionic when I test on browser everything works fine but when I test on mobile the app shows white screen</p>
<p>command I initialize the project</p>
<blockquote>
<p><strong>ionic start projectname blank --type=angular</strong></p>
</blockquote>
<p>then I add the android folder wit... | I just initialized a mobile app with ionic when I test on browser everything works fine but when I test on mobile the app shows white screen command I initialize the project ionic start projectname blank --type=angular then I add the android folder with the command ionic cap add android and finally i try to run it on r... | android|ionic-framework|capacitor|angular14|ionic6 | -1 | 2022-09-21T10:11:37.903Z | 2,022 | 9 | 10 | 2 | 34 | 0 | 476 | 58 | 5 | 0 | false | true | false | false | false | true | negative |
73,799,039 | How do I make Texts in multiple row and columns in flutter? | <p>How do I achieve Row and Column Grid Text Alignment in Flutter? Check the example down below :</p>
<p><a href="https://i.stack.imgur.com/BqWJm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BqWJm.png" alt="enter image description here" /></a></p>
<p>Thank you in advance.</p> | How do I achieve Row and Column Grid Text Alignment in Flutter? Check the example down below : Thank you in advance. | android|flutter|flutter-layout|flutter-web | 0 | 2022-09-21T10:15:24.633Z | 2,022 | 9 | 10 | 2 | 44 | 3 | 116 | 59 | 4 | 0 | false | false | false | false | false | false | zero |
73,799,152 | What is Huuk social? What is local video review? | <p>I heard Huuk is a social network for sharing video reviews, and local function is quite unique, but what is it? And how to use it?</p> | I heard Huuk is a social network for sharing video reviews, and local function is quite unique, but what is it? And how to use it? | android|ios|networking | -4 | 2022-09-21T10:23:48.400Z | 2,022 | 9 | 10 | 2 | 17 | 0 | 130 | 48 | 3 | 0 | false | true | false | false | false | true | negative |
73,799,216 | TestNavHostController is not found | <p>I'm learning Kotlin using free course which android studio itself provides. I'm stuck at a place that I'm supposed to test the navigations (according to <a href="https://developer.android.com/codelabs/android-basics-kotlin-test-navigation-components?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2... | I'm learning Kotlin using free course which android studio itself provides. I'm stuck at a place that I'm supposed to test the navigations (according to this ). The issue is I'm not getting the TestNavHostController down in this code and gets the wavey red underlined. (When I type TestNavHo..., I get no suggestion like... | android|kotlin | 0 | 2022-09-21T10:29:01.820Z | 2,022 | 9 | 10 | 2 | 8 | 0 | 451 | 34 | 2 | 2 | true | true | false | false | false | false | zero |
73,799,393 | Different Java version in a dependency in an Android studio project | <p>A Java project that my Android studio project depends on is written in Java 17, while my AS project uses Java 11, I simply copied that whole project in AS, but it just gives me a bunch of errors, which is understandable because it's written in a different version and hence uses slightly different syntax such as swit... | A Java project that my Android studio project depends on is written in Java 17, while my AS project uses Java 11, I simply copied that whole project in AS, but it just gives me a bunch of errors, which is understandable because it's written in a different version and hence uses slightly different syntax such as switch ... | java|android | 0 | 2022-09-21T10:42:29.957Z | 2,022 | 9 | 10 | 2 | 22 | 0 | 847 | 67 | 2 | 0 | false | true | false | false | false | false | zero |
73,799,397 | Android 11+ device all file permission issue | <p>In my Application i want to upload file(pdf from downloads and other folders) from mobile to server.</p>
<pre><code> <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
</code></pre>
<p>Everything working fine. but after uploaded ... | In my Application i want to upload file(pdf from downloads and other folders) from mobile to server. [CODE] Everything working fine. but after uploaded google playstore app continuously rejected because of Issue found: Not a core feature(Use of All Files Access Permission) The feature you identified that is dependent o... | android|kotlin|google-play | -1 | 2022-09-21T10:42:46.467Z | 2,022 | 9 | 10 | 2 | 34 | 1 | 671 | 44 | 3 | 1 | true | false | false | false | false | true | negative |
73,799,460 | How can I open and display an html file that has been stored locally on the device in Flutter Dart? | <p>I am writing an app in Flutter to run on Android and IOS Smart Phones. It will have a number of html files and .pngs that are stored locally (somewhere on the actual smartphone). When a text label is returned from an ML Image labeling capability in the app, I want it to open and display the html file that correspond... | I am writing an app in Flutter to run on Android and IOS Smart Phones. It will have a number of html files and .pngs that are stored locally (somewhere on the actual smartphone). When a text label is returned from an ML Image labeling capability in the app, I want it to open and display the html file that corresponds t... | html|flutter|android-studio|dart|local-storage | 0 | 2022-09-21T10:47:34.190Z | 2,022 | 9 | 10 | 2 | 32 | 0 | 821 | 99 | 5 | 0 | false | true | false | false | false | false | zero |
73,799,465 | WearableListenerService onMessageReceived sometimes not working | <p>WearableListenerService receiving messages between phone and watch works fine, but sometimes not...</p>
<p>with below source code,</p>
<ol>
<li>Wear device will send "/fish/check" every second</li>
<li>Mobile device sends back "/fish/ready" when message received</li>
</ol>
<p>it works, but someti... | WearableListenerService receiving messages between phone and watch works fine, but sometimes not... with below source code, Wear device will send "/fish/check" every second Mobile device sends back "/fish/ready" when message received it works, but sometimes not ... any suggestions? by the way, every... | java|android|kotlin|wear-os | 2 | 2022-09-21T10:48:02.600Z | 2,022 | 9 | 10 | 2 | 21 | 0 | 1,198 | 63 | 4 | 6 | true | true | false | false | false | false | low |
73,799,470 | Android 11 set IP-address of device usb tethering | <p>i am using pi 4 running android 11 for my project, and i have 1 android app to start server via usb tethering but every time start it gives another ipaddress, is there any way i can set default ipaddress so that every time you start, your ip won't change, and this device I can root the device
Thanks all</p> | i am using pi 4 running android 11 for my project, and i have 1 android app to start server via usb tethering but every time start it gives another ipaddress, is there any way i can set default ipaddress so that every time you start, your ip won't change, and this device I can root the device Thanks all | java|android|kotlin | 0 | 2022-09-21T10:48:23.743Z | 2,022 | 9 | 10 | 2 | 13 | 0 | 304 | 49 | 3 | 0 | false | true | false | false | false | false | zero |
73,799,533 | Is there a way to list all the images of directory and read one at a time? | <p>I want to list all the images of a directory and read one at a time. The directory location will be given from a input field.</p>
<pre><code>public class MainActivity extends AppCompatActivity {
// on below line we are creating variable for image view.
ImageView imageIV;
Button viewButton;
EditText inputFolder;
Hor... | I want to list all the images of a directory and read one at a time. The directory location will be given from a input field. [CODE] } I am using above code for the same, but unable to feed output of the input field to list all the image files. | java|android|kotlin | 0 | 2022-09-21T10:52:17.090Z | 2,022 | 9 | 10 | 2 | 35 | 0 | 244 | 74 | 3 | 1 | true | true | false | false | false | false | zero |
73,799,547 | Kotlin write ByteArray to newly created File on USB Pendrive | <p>OS: Linux | Language: Kotlin | Android API 31</p>
<p>The overall Task is to write an Errorlog to a external USB Pendrive. I managed to gain access to the Pendrive by calling following Intent:</p>
<pre><code> fun gainPermission(){
val intent = Intent()
intent.action = Settings.ACTION_MANAGE_APP_ALL_FILES_A... | OS: Linux | Language: Kotlin | Android API 31 The overall Task is to write an Errorlog to a external USB Pendrive. I managed to gain access to the Pendrive by calling following Intent: [CODE] After that i create a new Directory on the Pendrive (Works fine). After that i create a File and try to write some Data to it. [... | java|android|kotlin|android-storage | 2 | 2022-09-21T10:53:16.003Z | 2,022 | 9 | 10 | 2 | 33 | 0 | 1,182 | 60 | 4 | 4 | true | true | false | false | false | false | low |
73,799,632 | Getting error: java.lang.RuntimeException: An error occurred while executing doInBackground() | <p>I got an error when running the application, and when I saw the error like the title above and went to the code below.</p>
<pre><code> @SuppressLint("StaticFieldLeak")
private class getList extends AsyncTask<String, String, List<ModList>> {
@Override
protected void onPreExecute() {
... | I got an error when running the application, and when I saw the error like the title above and went to the code below. [CODE] | java|android|android-studio | -2 | 2022-09-21T11:00:17.250Z | 2,022 | 9 | 11 | 2 | 25 | 0 | 125 | 93 | 3 | 1 | true | true | false | false | false | true | negative |
73,799,638 | How to open react native drawer in all the pages | <p>I am working on a react native drawer navigation.</p>
<p>When I log in to the app, drawer opens, but when I logout and login again from different user and when I click my button I get the error:</p>
<pre><code>ERROR The action 'Navigation/TOGGLE_DRAWER' was not handled by any navigator.
</code></pre>
<p>I just want ... | I am working on a react native drawer navigation. When I log in to the app, drawer opens, but when I logout and login again from different user and when I click my button I get the error: [CODE] I just want to open this drawer on all the pages. [CODE] | android|react-native | 0 | 2022-09-21T11:00:50.273Z | 2,022 | 9 | 11 | 2 | 18 | 0 | 251 | 48 | 2 | 2 | true | true | false | false | false | false | zero |
73,799,897 | Ktor - NullPointerException with Bearer Token | <p>I'm trying to implement a Login Process in Android with Ktor, where when the user logs-in, some user preferences are fetched from a server. I am using MVI architecture with State Events that are triggered either from the Fragment, or from the ViewModel, in a modular design.</p>
<p>The steps go like this:</p>
<ol>
<l... | I'm trying to implement a Login Process in Android with Ktor, where when the user logs-in, some user preferences are fetched from a server. I am using MVI architecture with State Events that are triggered either from the Fragment, or from the ViewModel, in a modular design. The steps go like this: Press Login button Tr... | android|kotlin|authentication|bearer-token|ktor | 0 | 2022-09-21T11:21:34.347Z | 2,022 | 9 | 11 | 2 | 33 | 1 | 1,331 | 45 | 5 | 2 | true | false | false | false | false | false | zero |
73,799,916 | Use of LaunchedEffect vs SideEffect in jetpack compose | <p>Hi guys I am learning side-effect in my project. I want to know when should I use <code>LaunchedEffect</code> and <code>SideEffect</code> in which scenario. I am adding some piece of code using both effect. Please lemme know if I am doing wrong here.</p>
<p>1st using LaunchedEffect, please guide me if we need effect... | Hi guys I am learning side-effect in my project. I want to know when should I use LaunchedEffect and SideEffect in which scenario. I am adding some piece of code using both effect. Please lemme know if I am doing wrong here. 1st using LaunchedEffect, please guide me if we need effect on this function or not. [CODE] 2nd... | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-09-21T11:23:18.943Z | 2,022 | 9 | 11 | 2 | 39 | 1 | 476 | 54 | 4 | 2 | true | false | false | false | false | false | zero |
73,799,953 | Is it possible to enable torch for expo-barcode-scanner? | <p>I have a simple qr-code reader app, and I wonder if can toogle the camera flashlight with a button.</p>
<pre><code>const [torch, setTorch] = useState(false)
<BarCodeScanner
onBarCodeScanned={handleBarCodeScanned}
style={{width:'100%', height:'100%'}}
//Is there any flashlight modifier here?
/... | I have a simple qr-code reader app, and I wonder if can toogle the camera flashlight with a button. [CODE] Is this possible somehow? | javascript|android|react-native|expo | 1 | 2022-09-21T11:26:28.477Z | 2,022 | 9 | 11 | 2 | 18 | 1 | 132 | 56 | 4 | 1 | true | false | false | false | false | false | low |
73,799,978 | I can't get my RecyclerViewFirebase to work | <p>I'm trying to populate a recyclerview with the data I have in Firebase and I can't get it in any way, I've looked at several websites, videos and I see that they always do practically the same, so I don't understand why it doesn't work. I would appreciate if someone can help me, I am trying to make a recycler view t... | I'm trying to populate a recyclerview with the data I have in Firebase and I can't get it in any way, I've looked at several websites, videos and I see that they always do practically the same, so I don't understand why it doesn't work. I would appreciate if someone can help me, I am trying to make a recycler view that... | android|firebase-realtime-database|android-recyclerview|firebaseui | 1 | 2022-09-21T11:28:27.933Z | 2,022 | 9 | 11 | 2 | 27 | 1 | 665 | 43 | 4 | 2 | true | false | false | false | false | false | low |
73,800,011 | When inserting data from Android to MySQL, why is all the data inserted with the number "1"? | <p>When inserting data from Android to MySQL, why is all the data inserted with the number "1"?
When I insert it directly from the console, it inserts normally. What's the problem?</p>
<p>This is my PHP code:</p>
<pre><code><?php
$con = mysqli_connect("localhost", "root", "&quo... | When inserting data from Android to MySQL, why is all the data inserted with the number "1"? When I insert it directly from the console, it inserts normally. What's the problem? This is my PHP code: [CODE] This is part of Activity code: [CODE] This is Request code: [CODE] | php|android|mysql | 1 | 2022-09-21T11:32:02.173Z | 2,022 | 9 | 11 | 2 | 22 | 2 | 282 | 92 | 3 | 3 | true | false | false | false | false | false | low |
73,800,014 | How to get list of installed application? Target SDK 32 | <p>Is it possible to get full list of installed application on phone?
I've added to my manifest (but QUERY_ALL_PACKAGES is underlined in red)</p>
<pre><code> <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<uses-permission android:name="android.permission.REQUEST_INSTAL... | Is it possible to get full list of installed application on phone? I've added to my manifest (but QUERY_ALL_PACKAGES is underlined in red) [CODE] I've also added: [CODE] But every time I get can not request . TargetSdk for my app is set on 32. I know about changes in Android 11 so my question is it still possible? | android|android-studio|kotlin | 0 | 2022-09-21T11:32:14.843Z | 2,022 | 9 | 11 | 2 | 31 | 0 | 315 | 55 | 3 | 2 | true | true | false | false | false | false | zero |
73,800,072 | how to set condition on two numbers entered in EditText in Android Studio | <p>I have just started android studio, i am stuck on EditText that has to take two numbers as input from user. Basically it is used for a 7-segment display with two digits that is made by views. i am able to turn on the first digit when user enters the first number, but i don't know how to turn on the second digit when... | I have just started android studio, i am stuck on EditText that has to take two numbers as input from user. Basically it is used for a 7-segment display with two digits that is made by views. i am able to turn on the first digit when user enters the first number, but i don't know how to turn on the second digit when us... | java|android | -2 | 2022-09-21T11:36:41.393Z | 2,022 | 9 | 11 | 2 | 69 | 1 | 579 | 73 | 2 | 2 | true | false | false | false | false | true | negative |
73,800,087 | Dolphin IDE: This version (1.2.0-alpha05) of the Compose Compiler requires Kotlin version 1.6.10 but you appear to be using Kotlin version 1.6.21 | <p>The error goes on to say "Please fix your configuration (or <code>suppressKotlinVersionCompatibilityCheck</code> but don't say I didn't warn you!)."</p>
<p>It is not obvious to me how to "fix" the configuration. I added the suggested flag, but it does not resolve and fails on its own.</p>
<p>The ... | The error goes on to say "Please fix your configuration (or suppressKotlinVersionCompatibilityCheck but don't say I didn't warn you!)." It is not obvious to me how to "fix" the configuration. I added the suggested flag, but it does not resolve and fails on its own. The IDE is Dolphin Android Studio ... | android|android-jetpack-compose | 1 | 2022-09-21T11:37:47.640Z | 2,022 | 9 | 11 | 2 | 58 | 1 | 1,350 | 145 | 2 | 3 | true | false | false | false | false | false | low |
73,800,271 | CheckBox RecyclerView auto checked issue. Detailed below | <p>When I check a box and in recycler view auto-checked after 11- 12 item. I didn't even clicked that checkbox here is the code.
I think this issue is in holder with the position so I'm only providing holder code because it's confidential.</p>
<p>Adapter holder code:</p>
<pre><code>inner class ProductListViewHolder(va... | When I check a box and in recycler view auto-checked after 11- 12 item. I didn't even clicked that checkbox here is the code. I think this issue is in holder with the position so I'm only providing holder code because it's confidential. Adapter holder code: [CODE] in belove code about pagination of recycler view kindly... | java|android|android-studio|kotlin | 0 | 2022-09-21T11:54:12.830Z | 2,022 | 9 | 11 | 2 | 32 | 0 | 345 | 56 | 4 | 2 | true | true | false | false | false | false | zero |
73,800,287 | Files Drag and Drop into the Emulator are not listed in MediaStore query | <p>Dragged some files into android emulator from Windows Explorer. Now files are in /Downloads folder. MediaSore query NOT lists these files. Query result have all other files in Volume.</p>
<pre><code>val uri = MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY)
val projection = arrayOf(MediaStore.Files... | Dragged some files into android emulator from Windows Explorer. Now files are in /Downloads folder. MediaSore query NOT lists these files. Query result have all other files in Volume. [CODE] Restarting device also have no use. Files get listed on query only after rename with any file explorer. [CODE] permission is in m... | android|android-emulator|mediastore|android-file | 0 | 2022-09-21T11:55:32.663Z | 2,022 | 9 | 11 | 2 | 24 | 0 | 328 | 72 | 4 | 2 | true | true | false | false | false | false | zero |
73,800,479 | How to control secondary screen with my app on primary screen in Android? | <p>I am developing an application to control the secondary display using the buttons in my application. My app will run on the primary screen and I want to send the navigation and selection key events to the secondary screen through my controller app on the primary screen.</p>
<p>Notes:
These two displays are external ... | I am developing an application to control the secondary display using the buttons in my application. My app will run on the primary screen and I want to send the navigation and selection key events to the secondary screen through my controller app on the primary screen. Notes: These two displays are external displays a... | java|android|keyevent|display-manager|android-displaymanager | 0 | 2022-09-21T12:09:33.757Z | 2,022 | 9 | 12 | 2 | 22 | 0 | 357 | 73 | 5 | 0 | false | true | false | false | false | false | zero |
73,800,514 | Deleting Firestore data from another fragment android | <p>I am working on an application where I have a wishlist checkbox(heart icon) on my recyclerview items at Home Fragment, So when the user clicks on the heart icon it adds that particular item to the Wishlist Fragment, and when the user again clicks it, I want it to delete the item from the wishlist fragment. While add... | I am working on an application where I have a wishlist checkbox(heart icon) on my recyclerview items at Home Fragment, So when the user clicks on the heart icon it adds that particular item to the Wishlist Fragment, and when the user again clicks it, I want it to delete the item from the wishlist fragment. While adding... | java|android|firebase|google-cloud-firestore | 2 | 2022-09-21T12:11:59.590Z | 2,022 | 9 | 12 | 2 | 93 | 1 | 532 | 53 | 4 | 3 | true | false | false | false | false | false | low |
73,800,533 | Android Emulator, the bottom of the screen is black and flickering | <p>My Android Emulator is constantly reacting this way. In particular, the bottom of the screen is constantly black. This situation really bothers me. If there is anyone who has encountered this problem before, I would be very glad if it helps.</p>
<p>You can understand the situation better by clicking on the problem a... | My Android Emulator is constantly reacting this way. In particular, the bottom of the screen is constantly black. This situation really bothers me. If there is anyone who has encountered this problem before, I would be very glad if it helps. You can understand the situation better by clicking on the problem article. Pr... | android|flutter|android-studio|android-emulator|emulation | 3 | 2022-09-21T12:13:07.547Z | 2,022 | 9 | 12 | 2 | 39 | 1 | 325 | 66 | 5 | 0 | false | false | false | false | false | false | low |
73,800,611 | Import a public C enumeration from a C library into kotlin project | <p>We are working on a <code>C</code> library and trying to consume it on an Android <code>kotlin</code> project.<br>
Everything works fine except for <code>enum</code> declared in the library itself.<br>
It seems that cases defined are not available.<br>
We had the same issue on <code>Swift</code> but we were able to ... | We are working on a C library and trying to consume it on an Android kotlin project. Everything works fine except for enum declared in the library itself. It seems that cases defined are not available. We had the same issue on Swift but we were able to takle it by conditional compiling the library and adding a specific... | java|android|c|android-studio|kotlin | 2 | 2022-09-21T12:18:29.827Z | 2,022 | 9 | 12 | 2 | 27 | 0 | 648 | 66 | 5 | 1 | true | true | false | false | false | false | low |
73,800,677 | Program type already present: com.inqbarna.tablefixheaders.BuildConfig | <p>I am trying to generate signed apk but while generating it I am facing an issue like
""</p>
<p>I have tried all the solution given to similar problem but I am still getting the same issue.</p>
<p>This is my project structure and the package names in respective module.
<a href="https://i.stack.imgur.com/7gt... | I am trying to generate signed apk but while generating it I am facing an issue like "" I have tried all the solution given to similar problem but I am still getting the same issue. This is my project structure and the package names in respective module. This is the module of which package name is giving a pr... | java|android | -1 | 2022-09-21T12:22:35.740Z | 2,022 | 9 | 12 | 2 | 7 | 0 | 325 | 70 | 2 | 0 | false | true | false | false | false | true | negative |
73,800,678 | How to get Frames from SurfaceView which is moveable in RelativeLayout | <p><strong>Hello everyone</strong></p>
<p>I am creating animated sticker editor in which I need to get all frames of SurfaceView to generate video. I am getting all frames succsessfully by using <a href="https://github.com/google/grafika" rel="nofollow noreferrer">Grafica's</a> example. But the problem is I required zo... | Hello everyone I am creating animated sticker editor in which I need to get all frames of SurfaceView to generate video. I am getting all frames succsessfully by using Grafica's example. But the problem is I required zoom, scale and rotation gestures in SurfaceView. I have done this feature partially but when i get fra... | android|opengl-es|surfaceview|textureview | 0 | 2022-09-21T12:22:36.010Z | 2,022 | 9 | 12 | 2 | 19 | 0 | 497 | 70 | 4 | 0 | false | true | false | false | false | false | zero |
73,800,751 | Kivymd speed dial button callback doesn't work | <p>I'm using kivymd version 1.1.0dev0, and I just want the stack button to be able to call a distinct function for each of them, I've tried the correct way that supposed to work but not for me. I tried on version 1.0.2 and it worked, but unfortunately style theme M3 is unusable.</p>
<pre><code>from kivy.lang import Bui... | I'm using kivymd version 1.1.0dev0, and I just want the stack button to be able to call a distinct function for each of them, I've tried the correct way that supposed to work but not for me. I tried on version 1.0.2 and it worked, but unfortunately style theme M3 is unusable. [CODE] | android|kivy|kivy-language|kivymd | 0 | 2022-09-21T12:28:28.837Z | 2,022 | 9 | 12 | 2 | 16 | 0 | 283 | 46 | 4 | 1 | true | true | false | false | false | false | zero |
73,800,832 | Nothing happens after I click item in recyclerview even after using interface | <p>I have made an android application using java, and I have made a click listener interface but nothing seems to happen and I can't figure out what is wrong with my code. Please help.</p>
<p>Following is the code of my recyclerViewAdapter:</p>
<pre><code>package com.example.ashwamedh.adapter;
import android.content.C... | I have made an android application using java, and I have made a click listener interface but nothing seems to happen and I can't figure out what is wrong with my code. Please help. Following is the code of my recyclerViewAdapter: [CODE] Following is the code of OnAttendanceClickListener: [CODE] Following is the code o... | java|android|android-recyclerview|onclicklistener | 0 | 2022-09-21T12:35:18.797Z | 2,022 | 9 | 12 | 2 | 29 | 1 | 455 | 77 | 4 | 3 | true | false | false | false | false | false | zero |
73,800,882 | Best Mobile Tech stack for 2022 and upcoming years | <p>I'm well versed in Flutter, and Xamarin. I know Native android and iOS better, can someone suggest to me What things we need to learn further in the mobile app industry? Please guide me to build a tech stack.</p> | I'm well versed in Flutter, and Xamarin. I know Native android and iOS better, can someone suggest to me What things we need to learn further in the mobile app industry? Please guide me to build a tech stack. | android|ios|mobile | -1 | 2022-09-21T12:38:56.340Z | 2,022 | 9 | 12 | 2 | 15 | 0 | 208 | 50 | 3 | 0 | false | true | false | false | false | true | negative |
73,800,903 | declaring const in class component react-native | <blockquote>
<p>I'm trying to making network error screen, in case lost network I want
to show a screen with message about network issue,</p>
</blockquote>
<p>before adding some extra lines of code <strong>constructor()</strong> and <strong>Check_Internet()</strong> function my code was working well.
I'm accessing <str... | I'm trying to making network error screen, in case lost network I want to show a screen with message about network issue, before adding some extra lines of code constructor() and Check_Internet() function my code was working well. I'm accessing const store but there is a TransformError SyntaxError: : unexpected token a... | javascript|android|react-native|react-hooks|react-component | 2 | 2022-09-21T12:40:22.387Z | 2,022 | 9 | 12 | 2 | 44 | 2 | 503 | 47 | 5 | 1 | true | false | false | false | false | false | low |
73,800,911 | Problem with FileOpener to open a pdf on android | <p>I use PdfMake to generate a pdf file, it works well in web version, but not on android 11</p>
<p>My code to generate the pdf :</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><cod... | I use PdfMake to generate a pdf file, it works well in web version, but not on android 11 My code to generate the pdf : [CODE] The problem comes when I do the fileOpener.open I go directly into the catch I get this error : {status: 9, message: "Activity not found: No Activity found to handle In…X-1663759802589.pdf... | android|capacitor|pdfmake | 0 | 2022-09-21T12:40:44.037Z | 2,022 | 9 | 12 | 2 | 24 | 0 | 740 | 48 | 3 | 3 | true | true | false | false | false | false | zero |
73,800,990 | How to find the data usage of system software update in android? | <p>In my application i want to show the data usage of software update. When the user's device update is available and user download and install the device update over the wifi or mobile data. Is there any way to calculate the data usage of system software update or how much data is used to update the device software? ... | In my application i want to show the data usage of software update. When the user's device update is available and user download and install the device update over the wifi or mobile data. Is there any way to calculate the data usage of system software update or how much data is used to update the device software? any ... | android|system|updates|android-data-usage|android-trafficstats | 0 | 2022-09-21T12:46:34.193Z | 2,022 | 9 | 12 | 2 | 13 | 0 | 336 | 64 | 5 | 0 | false | true | false | false | false | false | zero |
73,801,047 | LineageOS build error OutOfMemoryError : Java Heap Space | <p>I'm been trying to build LinageOS 18.1 but keep running into
<code>OutOfMemoryError : Java Heap Space</code></p>
<p>I've increased the heap size with <code>-Xxm25g</code> and I can confirm it with <code>java -version</code> that the new heap size is indeed picked up by java, which shows <code>Picked up _JAVA_OPTIONS... | I'm been trying to build LinageOS 18.1 but keep running into OutOfMemoryError : Java Heap Space I've increased the heap size with -Xxm25g and I can confirm it with java -version that the new heap size is indeed picked up by java, which shows Picked up _JAVA_OPTIONS: -Xxm25g I've also setup a /swapfile size of 40GB I ha... | java|android-source|lineageos|custom-rom | 0 | 2022-09-21T12:50:48.527Z | 2,022 | 9 | 12 | 2 | 33 | 0 | 1,223 | 56 | 4 | 1 | true | true | false | false | false | false | zero |
73,801,220 | In Android, for a custom file extension (for ex: file1.extension) what should be the Mime Type for it? | <p>For an <strong>Android Application</strong>, I am having a custom file with (.xyz) extension but in the AndroidManifest.xml what should be the value for the below code in the intent filter?</p>
<pre><code><data android:mimeType= "___________"/>
</code></pre>
<p>The thing which I want is that I have ... | For an Android Application , I am having a custom file with (.xyz) extension but in the AndroidManifest.xml what should be the value for the below code in the intent filter? [CODE] The thing which I want is that I have a file with that extension in the phone so when I click on that file my application should open or my... | java|android|manifest|mime-types|intentfilter | 1 | 2022-09-21T13:03:10.510Z | 2,022 | 9 | 13 | 2 | 46 | 1 | 873 | 102 | 5 | 2 | true | false | false | false | false | false | low |
73,801,230 | Delphi IDE does not show Android devices as build targets | <p>I'm using Delphi 11.1 / 11.2 within a VirtualBox (Host OS: Ubuntu). OS within the VirtualBox is Win11. My Problem: None of the USB attached Android devices are shown as build targets in the IDE project pane. On Windows 10 / Delphi 10.4 (also within VirtualBox) this worked perfectly.</p>
<p>I have tried the following... | I'm using Delphi 11.1 / 11.2 within a VirtualBox (Host OS: Ubuntu). OS within the VirtualBox is Win11. My Problem: None of the USB attached Android devices are shown as build targets in the IDE project pane. On Windows 10 / Delphi 10.4 (also within VirtualBox) this worked perfectly. I have tried the following: Activate... | android|delphi|firemonkey | 1 | 2022-09-21T13:03:57.747Z | 2,022 | 9 | 13 | 2 | 75 | 0 | 1,263 | 57 | 3 | 0 | false | true | false | false | false | false | low |
73,801,309 | how to send utm label to application for user identification | <p>how can I create a onelink so that it records the dynamic utm label that I would receive after in the application to identify the user from the advertiser</p> | how can I create a onelink so that it records the dynamic utm label that I would receive after in the application to identify the user from the advertiser | android|ios|utm | -1 | 2022-09-21T13:09:11.093Z | 2,022 | 9 | 13 | 2 | 9 | 0 | 154 | 60 | 3 | 0 | false | true | false | false | false | true | negative |
73,801,315 | undefined is not an object (evaluating 'data.map') | <pre><code>const Sub_Map = () => {
const [isLoading, setLoading] = useState();
const [data, setdata] = useState();
useEffect(() => {
getData();
}, []);
const getData = () => {
fetch('http://. . . . /aplikasi/restapi.php?op=getJenis')
.then(res => res.json())
.then(json => s... | [CODE] on the "data.map" there is an error, please explain for me [CODE] please help me, i'm still newbie about react native TypeError: undefined is not an object (evaluating 'data.map') | android|react-native|picker | 0 | 2022-09-21T13:09:25.213Z | 2,022 | 9 | 13 | 2 | 29 | 3 | 196 | 50 | 3 | 2 | true | false | false | false | false | false | zero |
73,801,336 | Prevent automirror Jetpack compose | <p>This is how I am using Icons in my app</p>
<pre><code>Icon(
Icons.Filled.ArrowBackIos,
contentDescription = "Arrow Back",
modifier = Modifier.clickable {
if (canGoBackward(week)) {
onPreviousWeekClick()
}
})
</code></pre>
<p>Is there a way to... | This is how I am using Icons in my app [CODE] Is there a way to to prevent this icon from automirroring in RTL ? I tried doing the below but it didn't work [CODE] | android-jetpack-compose|jetpack | 0 | 2022-09-21T13:10:38.943Z | 2,022 | 9 | 13 | 2 | 20 | 0 | 162 | 34 | 2 | 2 | true | true | false | false | false | false | zero |
73,801,342 | How can I create an online database for users for my android application? | <p>The application is an android word storage program.
Each user will create an account (google account) and enter this account, and an empty online database will be opened for him, data will be written here and read from there. It will be a cloud system. Development environment Android Studio
What is the best way for ... | The application is an android word storage program. Each user will create an account (google account) and enter this account, and an empty online database will be opened for him, data will be written here and read from there. It will be a cloud system. Development environment Android Studio What is the best way for thi... | java|android|database|android-studio|google-cloud-firestore | 0 | 2022-09-21T13:11:03.510Z | 2,022 | 9 | 13 | 2 | 23 | 0 | 356 | 73 | 5 | 0 | false | true | false | false | false | false | zero |
73,801,740 | BottomNavigationView stops working after navigating from another fragment | <p>I have 2 items in my BottomNavigationView:</p>
<pre class="lang-xml prettyprint-override"><code> <item
android:id="@+id/first_fragment"
android:enabled="true"
android:icon="@drawable/ic_round_home"
android:title="@fragment_first_title" /&g... | I have 2 items in my BottomNavigationView: [CODE] I have setup my BottomNavigationView to work with the NavController: [CODE] I also happen to have a thirdFragment which is not included in the BottomNavigationView . So, the scenario is I first navigate from firstFragment to thirdFragment . Then from there, I navigate t... | android|kotlin|bottomnavigationview|android-navigation | 0 | 2022-09-21T13:37:28.783Z | 2,022 | 9 | 13 | 2 | 13 | 0 | 598 | 73 | 4 | 3 | true | true | false | false | false | false | zero |
73,801,790 | Run specific instrumentation test suite with Gradle Managed Devices - Android | <p>So with the release of Android Studio Dolphin & Beta of Electric Eel, I wanted to try the instrumentation tests in gradle. I do however want to exclude some of the tests being run, in order to be able to run specific test suites one at a time.</p>
<p>So here is what I configured so far:</p>
<pre><code>android {
... | So with the release of Android Studio Dolphin & Beta of Electric Eel, I wanted to try the instrumentation tests in gradle. I do however want to exclude some of the tests being run, in order to be able to run specific test suites one at a time. So here is what I configured so far: [CODE] I know I can run my entire suite... | android|gradle|android-testing|android-studio-dolphin | 0 | 2022-09-21T13:41:21.493Z | 2,022 | 9 | 13 | 2 | 22 | 0 | 550 | 77 | 4 | 3 | true | true | false | false | false | false | zero |
73,801,803 | ScrollView containing a TextView disappears in ConstraintLayout when height is set to 0dp | <p>I am trying to create a custom alertDialog with a ConstraintLayout, containing a title, scrollview with a textview, and a button at the bottom.</p>
<p>I want the scrollview to grow/shrink dynamically and fill the available space between the title and the button, which works in the preview, but when running the actua... | I am trying to create a custom alertDialog with a ConstraintLayout, containing a title, scrollview with a textview, and a button at the bottom. I want the scrollview to grow/shrink dynamically and fill the available space between the title and the button, which works in the preview, but when running the actual app, the... | android|textview|scrollview|android-constraintlayout | 0 | 2022-09-21T13:42:16.253Z | 2,022 | 9 | 13 | 2 | 33 | 3 | 884 | 89 | 4 | 1 | true | false | false | false | false | false | zero |
73,801,838 | Delete last dialed number in Call log - Kotlin | <p>I need this code of deleteing the last dialed number in Kotlin :</p>
<pre><code>public void DeleteCallLogByNumber(String strNumber ) {
Cursor cursor = getContentResolver().query(CallLog.Calls.CONTENT_URI, null, CallLog.Calls.NUMBER + " = ? ", strNumber , "");
int idOfRowToDelete= cursor.getInt... | I need this code of deleteing the last dialed number in Kotlin : [CODE] } | kotlin|call|android-dialer | 0 | 2022-09-21T13:45:02.273Z | 2,022 | 9 | 13 | 2 | 15 | 0 | 73 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
73,801,839 | Remove SearchBar text Underline in Xamarin Forms Android while focused/typing | <p>I want to remove the line that appears under the text (not <code>android:id/search_plate</code>) while focused/typing, I haven't been able to remove this.</p>
<ul>
<li>Is this possible?</li>
<li>If possible, how could I do it?</li>
<li>What should I read to learn to do this?</li>
</ul>
<p>Context:</p>
<ul>
<li><p>we... | I want to remove the line that appears under the text (not android:id/search_plate ) while focused/typing, I haven't been able to remove this. Is this possible? If possible, how could I do it? What should I read to learn to do this? Context: we are talking about this: Of course we are talking about a custom render here... | android|xamarin|xamarin.forms|searchbar|custom-renderer | 1 | 2022-09-21T13:45:09.913Z | 2,022 | 9 | 13 | 2 | 46 | 1 | 400 | 77 | 5 | 1 | true | false | false | false | false | false | low |
73,801,979 | How to apply the Gradle Shadow plugin for conflicting dependencies in Android | <p>I want to apply John Engelman's conflicting dependency shading plugin:
<a href="https://imperceptiblethoughts.com/shadow/" rel="nofollow noreferrer">https://imperceptiblethoughts.com/shadow/</a><br/>
to <code>shadow 'com.google.api.grpc:proto-google-common-protos:2.9.2'</code> from</p>
<pre><code>implementation plat... | I want to apply John Engelman's conflicting dependency shading plugin: https://imperceptiblethoughts.com/shadow/ to shadow 'com.google.api.grpc:proto-google-common-protos:2.9.2' from [CODE] that conflict with com.google.firebase:protolite-well-known-types:18.0.0 from [CODE] In build.gradle(:app) I have: [CODE] But ther... | android|gradle|shadowjar | 0 | 2022-09-21T13:54:21.070Z | 2,022 | 9 | 13 | 2 | 21 | 0 | 479 | 77 | 3 | 3 | true | true | false | false | false | false | zero |
73,802,032 | Android reporting ANR on the CookieManager.getInstance() | <p>I am facing an ANR issue when I try to get the instance of CookieManager in android.
As per the firebase this issue is mostly reported in android 11 and 12.</p>
<p>In my code I am just trying to get the instance of the cookie manager.</p>
<pre><code> try {
cookieManager = CookieManager.getInstance();... | I am facing an ANR issue when I try to get the instance of CookieManager in android. As per the firebase this issue is mostly reported in android 11 and 12. In my code I am just trying to get the instance of the cookie manager. [CODE] Below is the firebase logs for the same. [CODE] | android|cookies | 0 | 2022-09-21T13:57:33.693Z | 2,022 | 9 | 13 | 2 | 12 | 0 | 282 | 56 | 2 | 2 | true | true | false | false | false | false | zero |
73,802,136 | Got an error:None of the following functions can be called with the arguments supplied | <p>I am fairly new with coding,I just followed a tutorial but it seems it doesnt work for me.</p>
<p>The error says:
None of the following functions can be called with the arguments supplied.</p>
<p>makeText(context: Context!, text: CharSequence!, duration: Int)defined in
android.widget.Toast</p>
<p>makeText(context: C... | I am fairly new with coding,I just followed a tutorial but it seems it doesnt work for me. The error says: None of the following functions can be called with the arguments supplied. makeText(context: Context!, text: CharSequence!, duration: Int)defined in android.widget.Toast makeText(context: Context!, resId: Int, dur... | android|kotlin | 0 | 2022-09-21T14:05:09.020Z | 2,022 | 9 | 14 | 2 | 20 | 0 | 395 | 86 | 2 | 1 | true | true | false | false | false | false | zero |
73,802,146 | how to save a complex object in a Room database? | <p>I'm trying to save Lists and Books data in a local database using Room.
where each list contains books.
but have a problem implementing this.</p>
<p>Well, I used type converters & it worked but the google <a href="https://developer.android.com/training/data-storage/room/referencing-data#understand-no-object-refe... | I'm trying to save Lists and Books data in a local database using Room. where each list contains books. but have a problem implementing this. Well, I used type converters & it worked but the google docs suggest that that's not an ideal way of saving complex objects and suggest using Relationships So I tried to define a... | android-room | 0 | 2022-09-21T14:05:47.267Z | 2,022 | 9 | 14 | 2 | 18 | 1 | 424 | 48 | 1 | 1 | true | false | false | false | false | false | zero |
73,802,230 | Android Vector fillColor not changing with DayNight Mode | <p>I defined color resources for Day and Night theme using values-night qualifier</p>
<p>values/colors.xml</p>
<pre><code><color name="icon_color">#282C3C/color>
</code></pre>
<p>values-night/colors.xml</p>
<pre><code><color name="icon_color">#FFFFFF/color>
</code></pre>
<p>I've ve... | I defined color resources for Day and Night theme using values-night qualifier values/colors.xml [CODE] values-night/colors.xml [CODE] I've vector drawable which uses color resource from theme values [CODE] I set this drawable using app:srcCompat="@drawable/wp_ic_camera" without any background or tint values ... | android|android-studio|android-layout|themes | 0 | 2022-09-21T14:10:53.193Z | 2,022 | 9 | 14 | 2 | 20 | 0 | 647 | 56 | 4 | 4 | true | true | false | false | false | false | zero |
73,802,239 | ViewBinding to bottomsheet | <p>Does anyone know if there would be a way to use ViewBinding to replace this findViewById and how do I do that?</p>
<p>My code:</p>
<pre><code>val bottomSheet = (it as BottomSheetDialog).findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
</code></pre> | Does anyone know if there would be a way to use ViewBinding to replace this findViewById and how do I do that? My code: [CODE] | java|android|kotlin|findviewbyid|android-viewbinding | 0 | 2022-09-21T14:11:57.563Z | 2,022 | 9 | 14 | 2 | 20 | 0 | 126 | 26 | 5 | 1 | true | true | false | false | false | false | zero |
73,802,245 | Visual studio code cannot find ndk from Android studio sdk manager | <p>Hello I was working on a bare react native project and it was running fine but now when I try to run it says to install ndk from sdk manager and fails to build</p>
<p>I did install the ndk from sdk manager in Android studio but it still gives the error</p>
<pre><code>Error says :
Build failed
A problem occurred c... | Hello I was working on a bare react native project and it was running fine but now when I try to run it says to install ndk from sdk manager and fails to build I did install the ndk from sdk manager in Android studio but it still gives the error [CODE] | android|reactjs|react-native|android-studio|visual-studio-code | 0 | 2022-09-21T14:12:11.450Z | 2,022 | 9 | 14 | 2 | 16 | 0 | 252 | 66 | 5 | 1 | true | true | false | false | false | false | zero |
73,802,377 | How to play a video in Exoplayer using a specific display mode from the supported Display Modes | <p>I am using a Sony Xperia 1 IV mobile to play videos using Exoplayer. The phone supports video resolution of 3840 x 1644. When I get the supported display modes in exoplayer, I get 4 Modes :</p>
<ul>
<li>Mode 1: 1096x2560/60.0fps</li>
<li>Mode 2: 1096x2560/120.0fps</li>
<li>Mode 3: 1644x3840/60.0fps</li>
<li>Mode 4: ... | I am using a Sony Xperia 1 IV mobile to play videos using Exoplayer. The phone supports video resolution of 3840 x 1644. When I get the supported display modes in exoplayer, I get 4 Modes : Mode 1: 1096x2560/60.0fps Mode 2: 1096x2560/120.0fps Mode 3: 1644x3840/60.0fps Mode 4: 1644x3840/120.0fps By Default the video pla... | java|android|video-processing|exoplayer|sony-xperia | 0 | 2022-09-21T14:20:24.437Z | 2,022 | 9 | 14 | 2 | 11 | 0 | 710 | 95 | 5 | 0 | false | true | false | false | false | false | zero |
73,802,443 | How to send push notifications from arduino to android via FCM? | <p>Im trying to send a notification to my device via HTTP request in arduino, i have use this code so far, but it doesnt work, i dont really know where to find "SERVER_KEY", i have seen that in the project configuration ->cloud messaging should be, but its not.<a href="https://i.stack.imgur.com/wp193.png" ... | Im trying to send a notification to my device via HTTP request in arduino, i have use this code so far, but it doesnt work, i dont really know where to find "SERVER_KEY", i have seen that in the project configuration ->cloud messaging should be, but its not. configuration cloudmessaging , also i dont know if ... | android|firebase|arduino | 0 | 2022-09-21T14:24:56.107Z | 2,022 | 9 | 14 | 2 | 14 | 0 | 370 | 63 | 3 | 1 | true | true | false | false | false | false | zero |
73,802,527 | Unnecessary recomposition happening on IconButton | <p>I have this simple IconButton, but when i try to inspect the recomposition the number goes up when scrolling on LazyColumn, whereas the IconButton is unaffected. I've tried to pass empty lambda on the <code>onClick</code>, no recomposition happened though.</p>
<pre><code>IconButton(
onClick = onBackArrowClick,
... | I have this simple IconButton, but when i try to inspect the recomposition the number goes up when scrolling on LazyColumn, whereas the IconButton is unaffected. I've tried to pass empty lambda on the onClick , no recomposition happened though. [CODE] | android|android-jetpack-compose | 0 | 2022-09-21T14:29:42.720Z | 2,022 | 9 | 14 | 2 | 36 | 1 | 251 | 49 | 2 | 1 | true | false | false | false | false | false | zero |
73,802,574 | How to choose the account for making events through the calendar intent? | <p>So I'm currently trying to make an app that will let the user make an event through my app, was just wondering if it's possible to choose the account on where the event will be set? <a href="https://i.stack.imgur.com/r3ODn.png" rel="nofollow noreferrer">For reference, this is the part I'm talking about, the one boxe... | So I'm currently trying to make an app that will let the user make an event through my app, was just wondering if it's possible to choose the account on where the event will be set? For reference, this is the part I'm talking about, the one boxed in red. Here's my code so far [CODE] | android|android-studio|android-intent|calendar|android-calendar | -1 | 2022-09-21T14:32:58.047Z | 2,022 | 9 | 14 | 2 | 11 | 0 | 283 | 72 | 5 | 1 | true | true | false | false | false | true | negative |
73,802,602 | Loop-ing mutiple values with the use of 1 instance from a data class | <p>I am trying to figure out how to loop a data class. I have a function called getAges() which contains a listof Ages from 1 - 10. Each age are called from a data class called Age, which should be an Int. How can I successfully loop through Age with different numbers, for ex 1-10? Appreciate the feedback!</p>
<p>My Da... | I am trying to figure out how to loop a data class. I have a function called getAges() which contains a listof Ages from 1 - 10. Each age are called from a data class called Age, which should be an Int. How can I successfully loop through Age with different numbers, for ex 1-10? Appreciate the feedback! My Data class: ... | android|loops|kotlin|data-class | 0 | 2022-09-21T14:34:22.137Z | 2,022 | 9 | 14 | 2 | 43 | 2 | 361 | 68 | 4 | 2 | true | false | false | false | false | false | zero |
73,802,626 | How to use a custom icon as FCM default notification icon in AndroidManifest - Maui | <p>Following de FCM documentation a have set a default notification icon in AndroidManifest but I want to use a custom icon to be the com.google.firebase.messaging.default_notification_icon.
I already have this icon in the OnMessageReceived method with Build Action = MauiIcon:</p>
<pre><code>var notificationBuilder = n... | Following de FCM documentation a have set a default notification icon in AndroidManifest but I want to use a custom icon to be the com.google.firebase.messaging.default_notification_icon. I already have this icon in the OnMessageReceived method with Build Action = MauiIcon: [CODE] Now I want to use this "appicon&q... | c#|android|firebase-cloud-messaging|maui|.net-maui | 0 | 2022-09-21T14:35:38.020Z | 2,022 | 9 | 14 | 2 | 28 | 1 | 637 | 83 | 5 | 2 | true | false | false | false | false | false | zero |
73,802,720 | Why does tag() coming null in Retrofit OkHttpInterceptor? | <p>Please see the code:</p>
<p><strong>Interface:</strong></p>
<pre><code>/**
* This class is specific for entire cart module only
*/
interface ICartAPIService {
@GET(URLConstants.API_VERSION_V1 + URLConstants.API_URL_ADDTOCART)
suspend fun getCartData(@Tag test: String, @Query(URLConstants.API_URL_CUSTOMER_I... | Please see the code: Interface: [CODE] Calling from DataSource module: [CODE] Interceptor: [CODE] Result: Hello tag: com.abc.service.remote.cart.ICartAPIService.getCartData() [mTag, 5448852] Hello tag: null Expected output: Hello tag: mTag | android|retrofit2|okhttp | 0 | 2022-09-21T14:42:15.463Z | 2,022 | 9 | 14 | 2 | 16 | 1 | 239 | 57 | 3 | 3 | true | false | false | false | false | false | zero |
73,802,839 | How to Start forced stop application after phone reboot | <p>I was trying to get to know about the possibilities of getting success of Starting up a forced stop application after the phone reboots. So here is the scenario:</p>
<p>My app will not have any activity. It will be a service only app where no activity will be declared. So my goal is when ever the phone restarts, it ... | I was trying to get to know about the possibilities of getting success of Starting up a forced stop application after the phone reboots. So here is the scenario: My app will not have any activity. It will be a service only app where no activity will be declared. So my goal is when ever the phone restarts, it will start... | android | 0 | 2022-09-21T14:49:44.447Z | 2,022 | 9 | 14 | 2 | 18 | 0 | 774 | 55 | 1 | 0 | false | true | false | false | false | false | zero |
73,802,883 | How to use onActivityResult in Android | <p>In my application I want to use <strong>onActivityResult</strong> in Activity and for this I write below codes.<br>
But after call <strong>onActivityResult</strong> show me logs for <strong>2 times</strong> and show error result!<br>
I used <strong>MediaProjectionManager</strong> and click on Allow permission, but w... | In my application I want to use onActivityResult in Activity and for this I write below codes. But after call onActivityResult show me logs for 2 times and show error result! I used MediaProjectionManager and click on Allow permission, but why show cancel request code? My codes : [CODE] Logcat messages : [CODE] Why cal... | java|android | 0 | 2022-09-21T14:52:23.997Z | 2,022 | 9 | 14 | 2 | 36 | 2 | 366 | 38 | 2 | 2 | true | false | false | false | false | false | zero |
73,802,953 | Why does this conditional return work in browser, but not on Android phone? | <p>Working on a React Native app in Expo, I am encountering a strange problem: everything is fine in browser preview, but on the phone the conditional return does not happen.</p>
<pre><code>
return (
<ScrollView>
<View>
<QCard
sculpture={sculpture}
query={query}
handle... | Working on a React Native app in Expo, I am encountering a strange problem: everything is fine in browser preview, but on the phone the conditional return does not happen. [CODE] A log in the terminal returns the correct values, but no return is triggered. To reproduce, do the following: clone the repository run nvm us... | android|react-native|expo | -2 | 2022-09-21T14:56:41.990Z | 2,022 | 9 | 14 | 2 | 24 | 1 | 558 | 75 | 3 | 1 | true | false | false | false | false | true | negative |
73,802,965 | how to create method in activity to put it in custom adapter listview? | <p>at first I got an error " The code of method getView(int, View, ViewGroup) is exceeding the 65535 bytes limit " because I typed too much code, finally I created a method, but the method is error because the variable inside is not detected</p>
<p>I created Method _Differ();</p>
<pre><code>public void _Diffe... | at first I got an error " The code of method getView(int, View, ViewGroup) is exceeding the 65535 bytes limit " because I typed too much code, finally I created a method, but the method is error because the variable inside is not detected I created Method _Differ(); [CODE] i put method Differ(); in custom ada... | java|android|listview|custom-adapter|sketchware | 0 | 2022-09-21T14:57:15.593Z | 2,022 | 9 | 14 | 2 | 15 | 1 | 383 | 70 | 5 | 2 | true | false | false | false | false | false | zero |
73,802,971 | lateinit property sharedpreference has not been initalized | <p>Hi I am trying to link my sharedpreference manager via dagger and inject it into my fragment but It keeps saying it has not been initalized yet how would I go around to fix this?
Code snippet:</p>
<pre><code>lass HomeFragment : Fragment() {
private lateinit var binding: FragmentHomeBinding
private lateinit ... | Hi I am trying to link my sharedpreference manager via dagger and inject it into my fragment but It keeps saying it has not been initalized yet how would I go around to fix this? Code snippet: [CODE] The error does not cause a crash to the app but it comes up in my logs as lateinit property spManager has not been inita... | android|kotlin|mobile|sharedpreferences|dagger | 0 | 2022-09-21T14:57:35.710Z | 2,022 | 9 | 14 | 2 | 33 | 0 | 326 | 58 | 5 | 1 | true | true | false | false | false | false | zero |
73,802,978 | In android native developments are fragments necessary if I am only using jetpack compose for the UI? | <p>I am working on learning native android development with kotlin and jetpack compose. I am currently looking into fragments and data binding. I have seen a lot of references to fragments as a concept and from what I understand they are used to setup/implement reusable UI components in an android app. My question is a... | I am working on learning native android development with kotlin and jetpack compose. I am currently looking into fragments and data binding. I have seen a lot of references to fragments as a concept and from what I understand they are used to setup/implement reusable UI components in an android app. My question is are ... | android|android-fragments|android-jetpack-compose|android-xml | 0 | 2022-09-21T14:58:03.820Z | 2,022 | 9 | 14 | 2 | 26 | 0 | 641 | 101 | 4 | 0 | false | true | false | false | false | false | zero |
73,803,166 | Android Jetpack Compose Room query with body | <p>i try to do the following:</p>
<pre><code>@Query("SELECT COUNT(s_row) FROM table WHERE data = :data")
fun isDataExist(data: String): Boolean{
if (*QUERY_RETURN*) > 0{
return true
} else {
return false
}
}
</code></pre>
<p>so my question is is there a way to have a body to test the qu... | i try to do the following: [CODE] so my question is is there a way to have a body to test the query return and then return a boolean if the data already exist in the database? | android|kotlin|android-room|android-jetpack-compose | 0 | 2022-09-21T15:11:40.850Z | 2,022 | 9 | 15 | 2 | 38 | 1 | 175 | 44 | 4 | 1 | true | false | false | false | false | false | zero |
73,803,256 | No live data to adapter Firebase | <p>I am using firebase realtime database in my application. I am pulling data with custom adapter in the message box. Data is showing. But if there is a new data in the message box, I cannot see that data. I have to exit the message box or refresh the page. How can I fix this? I want to see live data every time it come... | I am using firebase realtime database in my application. I am pulling data with custom adapter in the message box. Data is showing. But if there is a new data in the message box, I cannot see that data. I have to exit the message box or refresh the page. How can I fix this? I want to see live data every time it comes a... | android|firebase|firebase-realtime-database|android-recyclerview|android-adapter | 0 | 2022-09-21T15:17:58.053Z | 2,022 | 9 | 15 | 2 | 17 | 0 | 493 | 32 | 5 | 4 | true | true | false | false | false | false | zero |
73,803,271 | android webview wrapper of a website lost session and ask for login after app goes to background | <p>my android pp is a wrapper of a website and i have a webview that loads the website ,
the problem is when app goes to background and after user click on app icon again , it send user to login page and it lost user authentication . i am using
CookieManager.getInstance().setAcceptCookie(true)</p>
<p>but is not working... | my android pp is a wrapper of a website and i have a webview that loads the website , the problem is when app goes to background and after user click on app icon again , it send user to login page and it lost user authentication . i am using CookieManager.getInstance().setAcceptCookie(true) but is not working for me. | android|webview|cookiemanager | 0 | 2022-09-21T15:19:18.917Z | 2,022 | 9 | 15 | 2 | 19 | 0 | 318 | 96 | 3 | 0 | false | true | false | false | false | false | zero |
73,803,342 | Android Studio Add item in list view from a second Activity | <p>So actually when you have first Activity you can add something and in the second Activity there is a listView which gets the item added. In my case I want to push an add button, then a second Activity opens with a contact form. I can enter Information in it and then when I click done, I want that the data I entered ... | So actually when you have first Activity you can add something and in the second Activity there is a listView which gets the item added. In my case I want to push an add button, then a second Activity opens with a contact form. I can enter Information in it and then when I click done, I want that the data I entered wil... | android|android-listview|android-contacts | 1 | 2022-09-21T15:24:33.560Z | 2,022 | 9 | 15 | 2 | 23 | 1 | 549 | 59 | 3 | 1 | true | false | false | false | false | false | low |
73,803,695 | NestedScrollView with wrapped RecyclerView's not scrolling | <p>I have two separate horizontal RecyclerView's that are embedded in a vertical LinearLayout, that itself is contained within a NestedScrollView - The top and bottom views have different dataset and eventually will have different layouts.</p>
<p>Here is the layout.. <a href="https://i.stack.imgur.com/PZOko.png" rel="n... | I have two separate horizontal RecyclerView's that are embedded in a vertical LinearLayout, that itself is contained within a NestedScrollView - The top and bottom views have different dataset and eventually will have different layouts. Here is the layout.. I am currently unable to get the NestedScrollView to scroll th... | java|android|android-recyclerview|android-nestedscrollview | 1 | 2022-09-21T15:49:58.583Z | 2,022 | 9 | 15 | 2 | 33 | 1 | 1,231 | 58 | 4 | 9 | true | false | false | false | false | false | low |
73,803,730 | no such table (code 1 SQLITE_ERROR) while compiling: SELECT song_no, song_title FROM EnglishSongs | <p>So i was following this video <a href="https://www.youtube.com/watch?v=7AxlMtksJUs" rel="nofollow noreferrer">https://www.youtube.com/watch?v=7AxlMtksJUs</a></p>
<p>I am trying to get Sqlite data to show in a RecyclerView inside a Fragment.</p>
<p>I have not taken any inputs from the user.</p>
<p><strong>I just want... | So i was following this video https://www.youtube.com/watch?v=7AxlMtksJUs I am trying to get Sqlite data to show in a RecyclerView inside a Fragment. I have not taken any inputs from the user. I just want the table that i have made in Sqlite to be displayed in RecyclerView. I have copied the database file and put it in... | java|android|android-sqlite | 0 | 2022-09-21T15:52:22.950Z | 2,022 | 9 | 15 | 2 | 29 | 1 | 928 | 97 | 3 | 7 | true | false | false | false | false | false | zero |
73,803,823 | How do I set a bearing to my ITS icon - Android | <p>I have a location on my map and I want that my ITS location (compass_0) icon "looks" to the location that I have on the map. The location in the map (nearestDnemRecord) is like a point of interest for my ITS (compass_0), so I want to rotate it in the direction of my point of interest on the map.
You can un... | I have a location on my map and I want that my ITS location (compass_0) icon "looks" to the location that I have on the map. The location in the map (nearestDnemRecord) is like a point of interest for my ITS (compass_0), so I want to rotate it in the direction of my point of interest on the map. You can under... | android|google-maps | 0 | 2022-09-21T15:59:28.320Z | 2,022 | 9 | 15 | 2 | 17 | 0 | 474 | 47 | 2 | 1 | true | true | false | false | false | false | zero |
73,803,996 | GraphView is null with values inside | <p>This might be too summed up but if you are confused feel free to ask.</p>
<p>I am currently trying to make a self health check program. Where it would ask how u are feeling using a slider and it would display it in a line graph. However everytime I try to run my graph, it fails. Giving me the following error:</p>
<p... | This might be too summed up but if you are confused feel free to ask. I am currently trying to make a self health check program. Where it would ask how u are feeling using a slider and it would display it in a line graph. However everytime I try to run my graph, it fails. Giving me the following error: [CODE] | java|android|android-studio|android-graphview | 0 | 2022-09-21T16:13:51.497Z | 2,022 | 9 | 16 | 2 | 16 | 0 | 310 | 36 | 4 | 1 | true | true | false | false | false | false | zero |
73,804,092 | Recyclerview keep crashing in Fragment when calling LayoutManager - Kotlin | <p>I need some help regarding this problem, I don't know what I am missing out. Im using a recycler view in a Fragment and display it in the main activity while fetching data from PlanetPopulator (Object). Unfortunately the app keep closing/crashing without showing any errors. Hope you can help me regarding this matter... | I need some help regarding this problem, I don't know what I am missing out. Im using a recycler view in a Fragment and display it in the main activity while fetching data from PlanetPopulator (Object). Unfortunately the app keep closing/crashing without showing any errors. Hope you can help me regarding this matter, t... | android|android-studio|kotlin|android-fragments|android-recyclerview | 0 | 2022-09-21T16:22:29.270Z | 2,022 | 9 | 16 | 2 | 36 | 1 | 600 | 74 | 5 | 5 | true | false | false | false | false | false | zero |
73,804,229 | Where to find documentation that lists all available composables? | <p>I'm struggling to find a resource that has a list of all available composables you can use in your projects.</p>
<p>The developer site <a href="https://developer.android.com/jetpack/compose/documentation" rel="nofollow noreferrer">https://developer.android.com/jetpack/compose/documentation</a> doesn't appear to have... | I'm struggling to find a resource that has a list of all available composables you can use in your projects. The developer site https://developer.android.com/jetpack/compose/documentation doesn't appear to have it and if I Google for one a bunch of articles come up on how to use lazyrow and lazycolumn. Where would I go... | kotlin|android-jetpack-compose | 0 | 2022-09-21T16:34:35.087Z | 2,022 | 9 | 16 | 2 | 155 | 1 | 416 | 65 | 2 | 0 | false | false | false | false | false | false | zero |
73,804,241 | Rotate in Sceneform - Android | <p>I have just about completed my AR app, but I have 1, probably simple problem I can’t seem to rotate objects. My AR app is loosely based on the code from:
<a href="https://github.com/mickod/LineView" rel="nofollow noreferrer">https://github.com/mickod/LineView</a> but instead of adding the Andys(objects) to a tap re... | I have just about completed my AR app, but I have 1, probably simple problem I can’t seem to rotate objects. My AR app is loosely based on the code from: https://github.com/mickod/LineView but instead of adding the Andys(objects) to a tap result from a plane I just place an anchor 1m in front of the camera. I can selec... | android|sceneform | -1 | 2022-09-21T16:35:48.150Z | 2,022 | 9 | 16 | 2 | 11 | 0 | 401 | 29 | 2 | 0 | false | true | false | false | false | true | negative |
73,804,298 | "App not installed as package appears to be invalid" this prompt appears whenever i send my apk to anyone | <p>Whenever I send my app to anyone other than running it through the android studio, this prompt appears and does not install the app
<a href="https://i.stack.imgur.com/dGydn.jpg" rel="nofollow noreferrer">enter image description here</a></p> | Whenever I send my app to anyone other than running it through the android studio, this prompt appears and does not install the app enter image description here | java|android|apk | 0 | 2022-09-21T16:40:09.267Z | 2,022 | 9 | 16 | 2 | 32 | 0 | 160 | 105 | 3 | 0 | false | true | false | false | false | false | zero |
73,804,603 | Adjust.com | Setting up Google Tag manager | <p>I am using adjust.com for analytics for my app, I have to setup Google Tag manager with Adjust, I have followed everything shown in <a href="https://help.adjust.com/en/article/track-events-with-google-tag-manager?src=search_page" rel="nofollow noreferrer">https://help.adjust.com/en/article/track-events-with-google-t... | I am using adjust.com for analytics for my app, I have to setup Google Tag manager with Adjust, I have followed everything shown in https://help.adjust.com/en/article/track-events-with-google-tag-manager?src=search_page this link, now in setup event tracking part, it shows Select Add New Tag, then under Select Tag Type... | google-analytics|google-tag-manager|adjust-android | 0 | 2022-09-21T17:11:01.123Z | 2,022 | 9 | 17 | 2 | 8 | 0 | 401 | 42 | 3 | 0 | false | true | false | false | false | false | zero |
73,804,616 | Tab Layout now showing fragments | <p>Hey guys can you help me with this? im newbie im not very good, so here's the thing i've been trying to create tab layout BUT the fragments that i call isnt show up. can you guys help me im really stuck over here.
so i use FragmentStateAdapter inside pageradapter</p>
<p>here is my Tab.java</p>
<pre><code> packag... | Hey guys can you help me with this? im newbie im not very good, so here's the thing i've been trying to create tab layout BUT the fragments that i call isnt show up. can you guys help me im really stuck over here. so i use FragmentStateAdapter inside pageradapter here is my Tab.java [CODE] here is my MyViewPagerAdapter... | java|android|android-fragments|tabs | -1 | 2022-09-21T17:12:00.907Z | 2,022 | 9 | 17 | 2 | 18 | 0 | 375 | 32 | 4 | 3 | true | true | false | false | false | true | negative |
73,804,645 | How do I add pagination to custom adapter Firebase | <p>I am using firebase real time database. I have an app with messaging feature.
In the message box, I show the messages with a custom adapter. The user can only see the last 15 incoming messages. I want 10 more messages to be loaded automatically when it gets to the bottom. How can I do that?</p>
<pre><code> RecyclerV... | I am using firebase real time database. I have an app with messaging feature. In the message box, I show the messages with a custom adapter. The user can only see the last 15 incoming messages. I want 10 more messages to be loaded automatically when it gets to the bottom. How can I do that? [CODE] xml [CODE] AdapterMes... | android|firebase|firebase-realtime-database|android-recyclerview|pagination | 0 | 2022-09-21T17:14:18.970Z | 2,022 | 9 | 17 | 2 | 19 | 0 | 367 | 50 | 5 | 4 | true | true | false | false | false | false | zero |
73,804,666 | W/System ( 9284): Ignoring header X-Firebase-Locale because its value was null | <p>I am getting this error when run the project in emulator and for this the firebase authentication does not work. But it's ok when I run it in google chrome or edge. My emulator's internet connection is ok. Also firebase authentication with email/password is enabled. I am trying to solve the problem from the last wor... | I am getting this error when run the project in emulator and for this the firebase authentication does not work. But it's ok when I run it in google chrome or edge. My emulator's internet connection is ok. Also firebase authentication with email/password is enabled. I am trying to solve the problem from the last work. ... | flutter|firebase|android-studio|firebase-authentication|android-emulator | 0 | 2022-09-21T17:16:00.820Z | 2,022 | 9 | 17 | 2 | 26 | 0 | 402 | 78 | 5 | 0 | false | true | false | false | false | false | zero |
73,804,764 | How can I add more android compatibility to my react native bluetooth app? | <p>I am working on a react native app that uses the <code>react-native-ble-plx</code> package to scan for bluetooth devices. I have run into an issue where the bluetooth functionality will only work on certain android devices.</p>
<p>There seems to be a trend where the app has not worked correctly on Samsung and Google... | I am working on a react native app that uses the react-native-ble-plx package to scan for bluetooth devices. I have run into an issue where the bluetooth functionality will only work on certain android devices. There seems to be a trend where the app has not worked correctly on Samsung and Google phones. The app will r... | android|react-native|bluetooth|react-native-ble-plx | 0 | 2022-09-21T17:25:04.360Z | 2,022 | 9 | 17 | 2 | 23 | 1 | 937 | 74 | 4 | 0 | false | false | false | false | false | false | zero |
73,804,798 | Cannot see the checkbox and the text in the body of the App | <p>I am a beginner in Dart and Flutter. I followed the Flutter YouTube channel's first video in Flutter, and they created a basic page with a checkbox and a progress indicator.</p>
<p>I followed and I can see the progress indicator in the app, but I can't see any checkboxes or the text adjacent to the checkboxes that I... | I am a beginner in Dart and Flutter. I followed the Flutter YouTube channel's first video in Flutter, and they created a basic page with a checkbox and a progress indicator. I followed and I can see the progress indicator in the app, but I can't see any checkboxes or the text adjacent to the checkboxes that I had speci... | android|flutter|dart|widget | 0 | 2022-09-21T17:27:52.533Z | 2,022 | 9 | 17 | 2 | 21 | 1 | 419 | 59 | 4 | 1 | true | false | false | false | false | false | zero |
73,804,848 | Retrieve daily step counts within a range broken into buckets using the Google Fit SDK | <p>There are varying examples of retrieving a list (buckets) of daily step counts for a range of dates, but I'm not sure which approach is best. I've seen an example like the following:</p>
<pre><code>val dSource = DataSource.Builder()
.setAppPackageName("com.google.android.gms")
.setDataType(DataType... | There are varying examples of retrieving a list (buckets) of daily step counts for a range of dates, but I'm not sure which approach is best. I've seen an example like the following: [CODE] I've also seen an example exactly like the above but instead of: .aggregate(dSource) it is .aggregate(dSource, DataType.AGGREGATE_... | android|kotlin|google-fit|google-fit-sdk | 0 | 2022-09-21T17:33:33.547Z | 2,022 | 9 | 17 | 2 | 20 | 0 | 884 | 86 | 4 | 2 | true | true | false | false | false | false | zero |
73,804,858 | Drawable bitmap dimension is different from original jpeg file | <p>Why imported drawable jpeg dimension is different than the original image?</p>
<pre><code> val bm = BitmapFactory.decodeResource(resources, R.drawable.sevket)
</code></pre> | Why imported drawable jpeg dimension is different than the original image? [CODE] | android | -1 | 2022-09-21T17:34:18.793Z | 2,022 | 9 | 17 | 2 | 17 | 0 | 81 | 62 | 1 | 1 | true | true | false | false | false | true | negative |
73,804,892 | Building multiple user interfaces for same app | <p>I'm working on a client requirement to have multiple builds of the same app only with basic interface differences between them (logo, colors, labels). In the current scenario, the client already has multiple apps (each one with his own git project) deployed on App Store and Google Play, leading to a high effort to r... | I'm working on a client requirement to have multiple builds of the same app only with basic interface differences between them (logo, colors, labels). In the current scenario, the client already has multiple apps (each one with his own git project) deployed on App Store and Google Play, leading to a high effort to rele... | android|ios|flutter|react-native|kotlin | 0 | 2022-09-21T17:37:55.733Z | 2,022 | 9 | 17 | 2 | 41 | 1 | 680 | 46 | 5 | 0 | false | false | false | false | false | false | zero |
73,804,895 | Android Studio | error: cannot find symbol log.i | <p>I've started learning java with android studio. I am currently facing this error when I am trying to implement the lifecycle functions, it gives me error that it cannot find symbol log.i</p>
<p>Here is the code.</p>
<pre class="lang-java prettyprint-override"><code>package com.kdev.myapplication;
import androidx.ap... | I've started learning java with android studio. I am currently facing this error when I am trying to implement the lifecycle functions, it gives me error that it cannot find symbol log.i Here is the code. [CODE] | android|android-log | 0 | 2022-09-21T17:38:29.030Z | 2,022 | 9 | 17 | 2 | 24 | 0 | 211 | 48 | 2 | 1 | true | true | false | false | false | false | zero |
73,804,963 | Change Slider height with handler Android. MAUI | <p>I am trying to change the slider's Height/Thickness in order to have a less ankward touch interaction on Android.</p>
<p>I am using a <a href="https://learn.microsoft.com/en-us/dotnet/maui/user-interface/handlers/customize" rel="nofollow noreferrer">handler</a>.</p>
<p>This is what I tried :</p>
<pre class="lang-cs ... | I am trying to change the slider's Height/Thickness in order to have a less ankward touch interaction on Android. I am using a handler . This is what I tried : [CODE] None of these works. I am sure that the mapper is registering correctly because I tried some more trivial case successfully : [CODE] How can I change the... | c#|android|.net|maui|.net-maui | 0 | 2022-09-21T17:45:37.347Z | 2,022 | 9 | 17 | 2 | 33 | 1 | 367 | 47 | 5 | 2 | true | false | false | false | false | false | zero |
73,804,966 | Change TTS language in android studio | <p>I tried to install another language, but it doesn't work</p>
<pre><code>val loc = Locale("by", "BLR")
textToSpeech = TextToSpeech(this) { status ->
if (status == TextToSpeech.SUCCESS) {
val result: Int = textToSpeech.setLanguage(loc)
if (result == TextToS... | I tried to install another language, but it doesn't work [CODE] Is there a way to change the language? | android|kotlin|text-to-speech | 0 | 2022-09-21T17:46:09.870Z | 2,022 | 9 | 17 | 2 | 14 | 0 | 102 | 37 | 3 | 1 | true | true | false | false | false | false | zero |
73,804,967 | How can I count on listview item on click? | <p><em>In my code im creating persons and go with them into a list per button click.
From this list, It shows all created persons(items) in listview.</em></p>
<p>So I want to count for every click. Example:</p>
<p>Im Creating Person Max:</p>
<p>You can see max in listview now</p>
<p>When Im creating a second person</p>... | In my code im creating persons and go with them into a list per button click. From this list, It shows all created persons(items) in listview. So I want to count for every click. Example: Im Creating Person Max: You can see max in listview now When Im creating a second person **Im want to count like this: max count : 0... | android|kotlin|counter|adapter | 0 | 2022-09-21T17:46:12.623Z | 2,022 | 9 | 17 | 2 | 32 | 0 | 429 | 42 | 4 | 1 | true | true | false | false | false | false | zero |
73,804,994 | Unable to find SDK 'Microsoft.Android.Sdk' error when using Xamarin.Legacy.Sdk on mac | <p>I would like to use Xamarin.Legacy.Sdk to target both monoandroid11.0 and net6.0-android. When I tried to run the java binding sample on mac with visual studio mac 2022, it gave me the following error:
"Unable to find SDK 'Microsoft.Android.Sdk'. SDK not found /usr/local/share/dotnet/sdk/6.0.401/Sdks/Microsoft.... | I would like to use Xamarin.Legacy.Sdk to target both monoandroid11.0 and net6.0-android. When I tried to run the java binding sample on mac with visual studio mac 2022, it gave me the following error: "Unable to find SDK 'Microsoft.Android.Sdk'. SDK not found /usr/local/share/dotnet/sdk/6.0.401/Sdks/Microsoft.And... | xamarin|xamarin.android|mono|.net-6.0|net6.0-android | 0 | 2022-09-21T17:48:41.117Z | 2,022 | 9 | 17 | 2 | 23 | 1 | 725 | 85 | 5 | 0 | false | false | false | false | false | false | zero |
73,805,223 | Ads stretching in samsung (android 12) | <p>Since april this year my app is not displaying correctly the advertisements.</p>
<p>It happens only in samsung devices, with android 12. It's not a problem with any particular ad, even the example ad from admanager ("/6499/example/banner") is stretched (see images below).</p>
<p>After some research, i foun... | Since april this year my app is not displaying correctly the advertisements. It happens only in samsung devices, with android 12. It's not a problem with any particular ad, even the example ad from admanager ("/6499/example/banner") is stretched (see images below). After some research, i found the culprit in ... | android|android-12|google-ad-manager | 0 | 2022-09-21T18:10:05.087Z | 2,022 | 9 | 18 | 2 | 27 | 0 | 1,476 | 38 | 3 | 0 | false | true | false | false | false | false | zero |
73,805,249 | inApp Billing v3 get Inventory inventory is empty | <p>I have a problem with testing a multiple purchase (consumer purchase) I get an inventory and look at its contents</p>
<p>inventory.getAllOwnedSkus().size() and it is 0</p>
<p>inventory.getAllPurchases().size() is also 0</p>
<p>Maybe I'm doing something wrong? I use Billing v3. Here is my code:</p>
<p>`_billingHelper... | I have a problem with testing a multiple purchase (consumer purchase) I get an inventory and look at its contents inventory.getAllOwnedSkus().size() and it is 0 inventory.getAllPurchases().size() is also 0 Maybe I'm doing something wrong? I use Billing v3. Here is my code: `_billingHelper = new IabHelper(getActivity().... | android|billing | 0 | 2022-09-21T18:12:44.737Z | 2,022 | 9 | 18 | 2 | 22 | 0 | 2,439 | 49 | 2 | 2 | true | true | false | false | false | false | zero |
73,805,480 | Check RoomDb and Array if they don't contain the a number add it to the array | <p>I have a random number being generated,</p>
<p>this number is then assigned a random number</p>
<pre><code>number = (1..NumberMax).random()
</code></pre>
<p>the number should cycle until the number is not saved within the RoomDb which i am checking with this function</p>
<pre><code>@Query("SELECT EXISTS(SELECT ... | I have a random number being generated, this number is then assigned a random number [CODE] the number should cycle until the number is not saved within the RoomDb which i am checking with this function [CODE] I have a repeat function to set and add the number to the array but also changing the number if it is containe... | android|kotlin | 0 | 2022-09-21T18:37:03.320Z | 2,022 | 9 | 18 | 2 | 19 | 0 | 624 | 77 | 2 | 3 | true | true | false | false | false | false | zero |
73,805,546 | What is the main purpose that in an Android application you can specify theme both in AndroidManifeset.xml and in the actual activity xml? | <p>Why can you specify android:theme tag <strong>both</strong> in AndroidManifeset.xml in the Activity part <strong>and</strong> in the actual activity xml, like in my Manifest by the secondactivity as I added Translucent theme?</p>
<p><strong>In Manifest:</strong></p>
<pre><code><manifest xmlns:android="http:/... | Why can you specify android:theme tag both in AndroidManifeset.xml in the Activity part and in the actual activity xml, like in my Manifest by the secondactivity as I added Translucent theme? In Manifest: [CODE] ..or in second activity: [CODE] In this case the theme specified in second_activity won't be even applied bu... | android|android-activity|themes|manifest | 0 | 2022-09-21T18:43:33.557Z | 2,022 | 9 | 18 | 2 | 17 | 0 | 591 | 138 | 4 | 2 | true | true | false | false | false | false | zero |
73,805,651 | Can't figure it out how to add text underneath two Relative Layouts | <p>Hi guys I was wondering can you help me with this, I want to add text under card views in the same Linear Layout. I will post an image with an example. I already have Linear Layout with two relative layouts and card views in it, all that I want to do is add text under those card views or relative layouts, but I can'... | Hi guys I was wondering can you help me with this, I want to add text under card views in the same Linear Layout. I will post an image with an example. I already have Linear Layout with two relative layouts and card views in it, all that I want to do is add text under those card views or relative layouts, but I can't f... | javascript|java|android-studio|android-linearlayout|android-relativelayout | 0 | 2022-09-21T18:53:59.757Z | 2,022 | 9 | 18 | 2 | 27 | 0 | 420 | 67 | 5 | 1 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.