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,232,802 | What is the unit of Canvas's size when I use Compose? | <p>In Code A, I get <code>val width = this.size.width</code> when I use <code>Canvas</code> of Compose.</p>
<p>Could you tell me what the unit of the <code>width</code>? is it <code>px</code>? or is it <code>dp</code>?</p>
<p><strong>Code A</strong></p>
<pre><code> Box(
modifier=Modifier.matchParentSize()
... | In Code A, I get val width = this.size.width when I use Canvas of Compose. Could you tell me what the unit of the width ? is it px ? or is it dp ? Code A [CODE] | kotlin|android-jetpack-compose | 1 | 2022-08-04T08:37:26.793Z | 2,022 | 8 | 8 | 3 | 52 | 1 | 160 | 53 | 2 | 1 | true | false | false | false | false | false | low |
73,232,885 | How to load model and do inference in android devices without installing apk? | <p>I want to test DNN Models in android devices, I hope that the models can be load directly and do inference without installing apks.</p>
<p>Thanks for any supports!</p> | I want to test DNN Models in android devices, I hope that the models can be load directly and do inference without installing apks. Thanks for any supports! | android|testing|model|dotnetnuke|inference | 0 | 2022-08-04T08:44:35.740Z | 2,022 | 8 | 8 | 3 | 15 | 0 | 156 | 77 | 5 | 0 | false | true | false | false | false | false | zero |
73,232,899 | Exoplayer with preroll and dynamic ad insertion | <p>I want to make work my DASH stream with preroll and DAI. For now, I was able to make: DASH + preroll working and DASH + dai. But all three not</p>
<p>dash + dai :</p>
<pre><code>val dashMediaSource = DashMediaSource.Factory(dashChunkSourceFactory, manifestDataSourceFactory)
.createMediaSource(
... | I want to make work my DASH stream with preroll and DAI. For now, I was able to make: DASH + preroll working and DASH + dai. But all three not dash + dai : [CODE] dash + preroll [CODE] But if I combine both I get : [CODE] How can I have all three workings: preroll + dai + dash ( drm widevine) in exoplayer 2.18.1? Thank... | android|exoplayer|exoplayer2.x|preroll | 2 | 2022-08-04T08:45:57.133Z | 2,022 | 8 | 8 | 3 | 134 | 1 | 321 | 47 | 4 | 3 | true | false | false | false | false | false | low |
73,232,950 | SensorEventListener in Background Service stops working | <p>I have an issue with my code. I have a service that implements the SensorEventListener that i want to keep running in the background. When in foreground it works as it should but when i put my app in background, the accelerometer sensor gives me results for 1-2 minutes and then it stops working. Below is my service.... | I have an issue with my code. I have a service that implements the SensorEventListener that i want to keep running in the background. When in foreground it works as it should but when i put my app in background, the accelerometer sensor gives me results for 1-2 minutes and then it stops working. Below is my service. [C... | java|android|service|accelerometer | 0 | 2022-08-04T08:50:57.610Z | 2,022 | 8 | 8 | 3 | 24 | 0 | 449 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,232,956 | Check if key exists in Firebase Firestore | <p>I want to make a to-do list with task due date as an optional field, so I need to check if some tasks have dueDate and add it as a subtitle based on that. How can I check if a field exists inside a doc in a StreamBuilder?</p>
<pre><code>class _TaskListState extends State<TaskList> {
var myStream;
@override... | I want to make a to-do list with task due date as an optional field, so I need to check if some tasks have dueDate and add it as a subtitle based on that. How can I check if a field exists inside a doc in a StreamBuilder? [CODE] I saw that a containsKey('key') method works for some people but I get NoSuchMethod when I ... | android|flutter|firebase|dart|google-cloud-firestore | 1 | 2022-08-04T08:51:08.393Z | 2,022 | 8 | 8 | 3 | 64 | 1 | 344 | 41 | 5 | 1 | true | false | false | false | false | false | low |
73,233,095 | HTMLUnit add request android | <p>I try to use HTMLUnit for parsing.
I create the web client:</p>
<pre><code> val webClient = WebClient(BrowserVersion.FIREFOX);
webClient.addRequestHeader("X-Requested-With", "XMLHttpRequest")
webClient.addRequestHeader(
"User-Agent",
"Mozilla/5.0 (Window... | I try to use HTMLUnit for parsing. I create the web client: [CODE] I write to remove several headers and to add headers, but when I reading request headers from responce I dont recive my headers. Why? I recive: [CODE] | android|kotlin|htmlunit | 0 | 2022-08-04T09:01:41.417Z | 2,022 | 8 | 9 | 3 | 24 | 1 | 217 | 28 | 3 | 2 | true | false | false | false | false | false | zero |
73,233,143 | WebView running in the emulator in ERR_NAME_NOT_RESOLVED | <p>I want to develop a web app that connects to a https: page in WebView. I can reach the site but when I press the button, I get ERR_NAME_NOT_RESOLVED error (This error appears for 1 second, then redirects to the site.).
How can i get through this error.?</p> | I want to develop a web app that connects to a https: page in WebView. I can reach the site but when I press the button, I get ERR_NAME_NOT_RESOLVED error (This error appears for 1 second, then redirects to the site.). How can i get through this error.? | android | 0 | 2022-08-04T09:05:30.053Z | 2,022 | 8 | 9 | 3 | 25 | 0 | 253 | 56 | 1 | 0 | false | true | false | false | false | false | zero |
73,233,362 | If statement in .arb files | <p>I have a problem with my mobile application.
I developed my application with flutter and implemented Flutter Internationalization. After creating files with .arb extension I wanted to be able to choose the file by platform ( IOS or Android ) as well as language . Is it possible to use an If statement in the files wi... | I have a problem with my mobile application. I developed my application with flutter and implemented Flutter Internationalization. After creating files with .arb extension I wanted to be able to choose the file by platform ( IOS or Android ) as well as language . Is it possible to use an If statement in the files with ... | android|ios|flutter|internationalization|arb | 0 | 2022-08-04T09:21:53.200Z | 2,022 | 8 | 9 | 3 | 35 | 2 | 385 | 26 | 5 | 0 | false | false | false | false | false | false | zero |
73,233,424 | Getting java.lang.UnsatisfiedLinkError: No implementation found for error | <p>I am using a third party library for printing purposes in my Kotlin Android app. I am getting this error when running the application and clicking the print button.</p>
<p>I have added the .so files in the jniLibs folder. Can anyone help me with this. I can share the project as well but you will need a physical prin... | I am using a third party library for printing purposes in my Kotlin Android app. I am getting this error when running the application and clicking the print button. I have added the .so files in the jniLibs folder. Can anyone help me with this. I can share the project as well but you will need a physical printer from t... | java|android|kotlin|sdk|libs | 0 | 2022-08-04T09:25:24.687Z | 2,022 | 8 | 9 | 3 | 74 | 0 | 988 | 73 | 5 | 0 | false | true | false | false | false | false | zero |
73,233,443 | How to securely load an image from camera and display it in full size on Android? | <p>For security, I was advised to avoid using getExternalFilesDir(Environment.DIRECTORY_PICTURES) for storing files and creating insecure temporary files with File.createTempFile.</p>
<p>How can we rewrite this in a secure way?</p>
<pre class="lang-java prettyprint-override"><code>clTakeBottomSheetCamera.setOnClickList... | For security, I was advised to avoid using getExternalFilesDir(Environment.DIRECTORY_PICTURES) for storing files and creating insecure temporary files with File.createTempFile. How can we rewrite this in a secure way? [CODE] [CODE] [CODE] | android|security|camera | 0 | 2022-08-04T09:26:49.707Z | 2,022 | 8 | 9 | 3 | 30 | 1 | 238 | 81 | 3 | 3 | true | false | false | false | false | false | zero |
73,233,449 | A Recycler View or Card View with Swipe Gesture's which slides in a carousel whenever a task is assigned [Android Studio - Kotlin] | <p>I have roughly sketched a design in which under the mainActivity there should be a carousel/card view (With Recycler Spanning) portraying the task details assigned to the user and it should be enabled with swiping gesture where the user would swipe for determining the state of the tasks such as Pending, In Progress,... | I have roughly sketched a design in which under the mainActivity there should be a carousel/card view (With Recycler Spanning) portraying the task details assigned to the user and it should be enabled with swiping gesture where the user would swipe for determining the state of the tasks such as Pending, In Progress, Co... | android|kotlin|android-recyclerview|swipe-gesture|materialcardview | 0 | 2022-08-04T09:27:11.270Z | 2,022 | 8 | 9 | 3 | 50 | 0 | 548 | 130 | 5 | 0 | false | true | false | false | false | false | zero |
73,233,452 | How to access ViewModel that is registered with MainActivity in Android Jetpack Compose? | <p>Android documentation <a href="https://developer.android.com/topic/libraries/architecture/viewmodel" rel="nofollow noreferrer">https://developer.android.com/topic/libraries/architecture/viewmodel</a> details the creation and remember/retrieval of <code>ViewModel</code> instance that is registered with <code>MainActi... | Android documentation https://developer.android.com/topic/libraries/architecture/viewmodel details the creation and remember/retrieval of ViewModel instance that is registered with MainActivity . My question is - how can I access this viewModel instant from other ViewModel or from @Compose function? I have tried code [... | android|android-activity|android-jetpack-compose|android-viewmodel | 0 | 2022-08-04T09:27:20.147Z | 2,022 | 8 | 9 | 3 | 54 | 1 | 493 | 88 | 4 | 2 | true | false | false | false | false | false | zero |
73,233,501 | Optimise Kotlin code for button clicked state | <p>I want to change the button background when the button clicked, the function is work by using this code</p>
<pre><code>bank1.setOnClickListener {
bank1.setBackgroundResource(R.drawable.selected_btn_border_blue_bg);
bank2.setBackgroundResource(R.drawable.default_option_border_bg);
... | I want to change the button background when the button clicked, the function is work by using this code [CODE] But it kinda hardcoded, and make it to so many lines, any way to make the code shorter? | kotlin|android-layout | 0 | 2022-08-04T09:30:52.400Z | 2,022 | 8 | 9 | 3 | 16 | 1 | 198 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
73,233,537 | Font-size scaling on mobile devices | <p><strong>What is happening under the hood when mobile device user is adjusting <strong>font size</strong> in settings?</strong>
It started to be an issue in our application as some input fields look broken and are hard to be used. Samsung devices have option to scale the font-size almost 2x.
Two things I have noticed... | What is happening under the hood when mobile device user is adjusting font size in settings? It started to be an issue in our application as some input fields look broken and are hard to be used. Samsung devices have option to scale the font-size almost 2x. Two things I have noticed: It is able to change font size in s... | android|css|mobile | 0 | 2022-08-04T09:32:47.150Z | 2,022 | 8 | 9 | 3 | 37 | 0 | 718 | 35 | 3 | 0 | false | true | false | false | false | false | zero |
73,233,803 | onPause is not triggered when tap overview button on Android 12 | <p>When I tap overview button(next to home button) on android smartphone, system has to call <code>onPause - onStop</code>, but on Android 12(especially pixel series), <code>onPause - onStop</code> is not triggered.</p>
<p>I tested this with real devices which are pixel 3XL, pixel 6, Galaxy z fold3.<br />
Also I tested... | When I tap overview button(next to home button) on android smartphone, system has to call onPause - onStop , but on Android 12(especially pixel series), onPause - onStop is not triggered. I tested this with real devices which are pixel 3XL, pixel 6, Galaxy z fold3. Also I tested with emulator which is pixel 3a. All of ... | android|lifecycle|onpause | 0 | 2022-08-04T09:51:19.363Z | 2,022 | 8 | 9 | 3 | 36 | 0 | 806 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
73,233,804 | hoe to fix task :app:mergereleaseresources failed in react native release apk build | <p>I am trying to release apk in react native but getting this error
task :app:mergereleaseresources failed</p>
<p>If I delete the drawable and raw folder and build again then I am getting this error</p>
<p>Task :app:processReleaseResources</p>
<p>Process to generate apk in react native</p>
<ol>
<li><p>Create keystore<... | I am trying to release apk in react native but getting this error task :app:mergereleaseresources failed If I delete the drawable and raw folder and build again then I am getting this error Task :app:processReleaseResources Process to generate apk in react native Create keystore react-native bundle --platform android -... | android|react-native | -1 | 2022-08-04T09:51:21.727Z | 2,022 | 8 | 9 | 3 | 40 | 1 | 514 | 83 | 2 | 0 | false | false | false | false | false | true | negative |
73,233,826 | What does relaxed = true do in mockK? | <p>I read document, but I don't still get it.</p>
<p>The differences between this</p>
<pre><code>private val myClass: MyClass = mockk(relaxed = true)
</code></pre>
<p>and this.</p>
<pre><code>private val myClass: MyClass = mockk()
</code></pre>
<p>What I understood is if relaxed is true. Then, all the member fields or ... | I read document, but I don't still get it. The differences between this [CODE] and this. [CODE] What I understood is if relaxed is true. Then, all the member fields or methods will return default values. Otherwise, not. is that correct understanding? If so, setting always relaxed = true is better. But In this video, Ry... | android|kotlin|junit|mockk | 1 | 2022-08-04T09:53:07.217Z | 2,022 | 8 | 9 | 3 | 424 | 2 | 374 | 37 | 4 | 2 | true | false | false | false | false | false | low |
73,233,881 | BluetoothDevice how to know if a device is connected or disconnected | <p>I have a list of bluetooth devices that I get from the bluetoothAdapter :</p>
<pre class="lang-kotlin prettyprint-override"><code>val bluetoothManager = ContextCompat.getSystemService(
appContext,
BluetoothManager::class.java
) as BluetoothManager
val bondedDevices = bluetoothManager.adapter.bond... | I have a list of bluetooth devices that I get from the bluetoothAdapter : [CODE] After retrieving my list of bondedDevices, I tried to know the state of connection for all of them : [CODE] However, even if my device is connected to my phone, the status on the app will always be [CODE] Questions Why the status is always... | android|kotlin | 0 | 2022-08-04T09:57:30.090Z | 2,022 | 8 | 9 | 3 | 40 | 2 | 537 | 68 | 2 | 3 | true | false | false | false | false | false | zero |
73,233,928 | pass parameter from activity to fragment in kotlin | <p>I´m traying to create app android with kotlin. My app use to check data login, i´m using volley and my database it´s mysql. I connect my app with webservices and my webservices return data. In my log android i can show all my data returned from my webservices:</p>
<pre><code>I/ContentValues: userEmail: prueba@prueba... | I´m traying to create app android with kotlin. My app use to check data login, i´m using volley and my database it´s mysql. I connect my app with webservices and my webservices return data. In my log android i can show all my data returned from my webservices: [CODE] i´m intanciating my fragment and send my parameters,... | android|kotlin | 0 | 2022-08-04T10:00:43.850Z | 2,022 | 8 | 10 | 3 | 14 | 0 | 665 | 50 | 2 | 4 | true | true | false | false | false | false | zero |
73,233,981 | Ionic 6 with Angular doesn't call Api (.net core 5) when run on Real Android Device | <p>I'm building an android app using Angular and Ionic.
My problem is the following, on the real device I can't call the API of the backend built with .Net Core 5. In the simulator it works, on the browser it works.</p>
<p>The Error only on real Android Device:</p>
<p><a href="https://i.stack.imgur.com/ktbnc.png" rel="... | I'm building an android app using Angular and Ionic. My problem is the following, on the real device I can't call the API of the backend built with .Net Core 5. In the simulator it works, on the browser it works. The Error only on real Android Device: My Go Rest code to works every api: [CODE] } The strange thing is th... | android|angular|api|ionic-framework|.net-core | 1 | 2022-08-04T10:03:55.427Z | 2,022 | 8 | 10 | 3 | 24 | 0 | 1,002 | 83 | 5 | 4 | true | true | false | false | false | false | low |
73,234,102 | Flutter notification open dialog when app is killed | <p>I'm building an app using flutter with firebase notifications.</p>
<p>The app displays an alert dialog once a notification is received; it's working perfectly while I'm inside the app and while outside the app (in the background but the app isn't killed, I open the notification from the panel --> the app opens an... | I'm building an app using flutter with firebase notifications. The app displays an alert dialog once a notification is received; it's working perfectly while I'm inside the app and while outside the app (in the background but the app isn't killed, I open the notification from the panel --> the app opens and an alert di... | android|flutter|push-notification|background-process|firebase-notifications | 0 | 2022-08-04T10:13:25.063Z | 2,022 | 8 | 10 | 3 | 189 | 2 | 642 | 51 | 5 | 1 | true | false | false | false | false | false | zero |
73,234,126 | Losing fragment in viewpager2 | <p>when i'm selecting a month on a calendarview in a different fragment or when i rotate the screen, i'm losing the "on hold" fragments. but when i start to swipe all the fragment are acting normally again. I suppose it's related to the life cycle of my application but i'm having trouble to find how to solve ... | when i'm selecting a month on a calendarview in a different fragment or when i rotate the screen, i'm losing the "on hold" fragments. but when i start to swipe all the fragment are acting normally again. I suppose it's related to the life cycle of my application but i'm having trouble to find how to solve thi... | android|android-fragments|android-viewpager2 | 0 | 2022-08-04T10:15:43.523Z | 2,022 | 8 | 10 | 3 | 54 | 2 | 432 | 29 | 3 | 1 | true | false | false | false | false | false | zero |
73,234,139 | Expected BEGIN_OBJECT but was String then Worker fail response | <p>I am using retrofit to fetch web API</p>
<p>My API Call as follows:</p>
<pre><code>@POST(ApiConstant.ADD_MEMBER)
Call<MemberResponse> addMember(@Body Map<String, Object> map);
</code></pre>
<p>Response Call</p>
<pre><code>HashMap<String, Object> list = new HashMap<>();
list.put("code... | I am using retrofit to fetch web API My API Call as follows: [CODE] Response Call [CODE] POJO [CODE] Expected JSON Response [CODE] I am getting below error java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 10 path $.data | java|android|android-studio|retrofit | 0 | 2022-08-04T10:16:51.233Z | 2,022 | 8 | 10 | 3 | 23 | 0 | 257 | 62 | 4 | 4 | true | true | false | false | false | false | zero |
73,234,185 | Preview Composable with a specific ApiLevel | <p>In our theme, we use our color scheme or we built it with dynamicLight/DarkColorScheme.</p>
<pre><code>fun AppTheme(...) {
val colorScheme = when {
Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && isSystemInDarkTheme -> dynamicDarkColorScheme(LocalContext.current)
Build.VERSION.SDK... | In our theme, we use our color scheme or we built it with dynamicLight/DarkColorScheme. [CODE] But all the previews use the dynamic scheme color, even if I specify an apiLevel in the Preview annotation. [CODE] Isn't the purpose of the parameter? Am I missing something? | android-jetpack-compose | 0 | 2022-08-04T10:20:13.793Z | 2,022 | 8 | 10 | 3 | 34 | 0 | 269 | 43 | 1 | 2 | true | true | false | false | false | false | zero |
73,234,272 | Flutter Map Not opening on android | <pre><code>import 'package:url_launcher/url_launcher.dart';
import 'package:url_launcher/url_launcher_string.dart';
class MapsUtils{
MapsUtils._();
static Future<void> openMapWithPosition(double latitude, double longitude) async{
String googleMapUrl = "https://www.google.com/maps/search/?api=1&query=$lat... | [CODE] **This is my code for opening maps on android using flutter. I have added all the required dependencies i.e. URL_launcher but it's not working. ** I/UrlLauncher(13043): component name for https://www.google.com/maps/search/?api=1&query=18.6446934,73.7615529 is null I/UrlLauncher(13043): component name for https:... | android|flutter|google-maps-android-api-2 | 0 | 2022-08-04T10:26:28.437Z | 2,022 | 8 | 10 | 3 | 42 | 0 | 600 | 34 | 3 | 1 | true | true | false | false | false | false | zero |
73,234,305 | Classifier "Security" does not have a companion object, and thus must be initialized here | <p>I'm was making bottomNavigation and almost finished my code, but these errors appeared
<a href="https://i.stack.imgur.com/49jU7.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>MainActivity --></p>
<pre><code>lateinit var binding: ActivityMainBinding
class MainActivity : AppCompatActivity() ... | I'm was making bottomNavigation and almost finished my code, but these errors appeared enter image description here MainActivity --> [CODE] BottomMenu.xml --> [CODE] All fragments have inside only "onCreateView" function | android|android-studio|menu|android-bottomnav | 0 | 2022-08-04T10:29:29.510Z | 2,022 | 8 | 10 | 3 | 13 | 0 | 230 | 89 | 4 | 2 | true | true | false | false | false | false | zero |
73,234,318 | Daily notifications with different content, preferably content that's on Firebase | <p>I want to create a daily notification, let's take for example, a different quote every day that a user gets on their selected notification time.</p>
<p>I have this data on firestore.</p>
<p>What would be the best way to implement this?</p>
<p>If firestore doesn't work im not against just copying a sample of the data... | I want to create a daily notification, let's take for example, a different quote every day that a user gets on their selected notification time. I have this data on firestore. What would be the best way to implement this? If firestore doesn't work im not against just copying a sample of the data into the app as local a... | android|flutter|dart|notifications | 0 | 2022-08-04T10:29:57.733Z | 2,022 | 8 | 10 | 3 | 22 | 0 | 377 | 81 | 4 | 0 | false | true | false | false | false | false | zero |
73,234,323 | Is the fast-follow mode will force users to use the same account to log in to the game? | <p>guys. Our team uses "fast-follow" delivery modes to allow players to play games while downloading resources. When testing this functionality with multiple accounts, we've encountered the following situations <strong>every time</strong> logging in to the game.
Here are situations we encountered (Account A i... | guys. Our team uses "fast-follow" delivery modes to allow players to play games while downloading resources. When testing this functionality with multiple accounts, we've encountered the following situations every time logging in to the game. Here are situations we encountered (Account A is used to download t... | google-play-games|android-app-bundle|android-assetpacks | 0 | 2022-08-04T10:30:18.210Z | 2,022 | 8 | 10 | 3 | 14 | 0 | 975 | 87 | 3 | 0 | false | true | false | false | false | false | zero |
73,234,541 | Repeating radial gradient animation using Shader | <p><a href="https://i.stack.imgur.com/M3bj4.gif" rel="nofollow noreferrer">I want to create an animation like this, in android, java.</a></p>
<p>I have achieve linear gradient animation and sweep gradient animation. but this is not working at all with scaling the matrix. any suggestion will be appreciated.</p>
<p>here ... | I want to create an animation like this, in android, java. I have achieve linear gradient animation and sweep gradient animation. but this is not working at all with scaling the matrix. any suggestion will be appreciated. here is my code, [CODE] | java|android|canvas|shader|gradient | 0 | 2022-08-04T10:46:09.230Z | 2,022 | 8 | 10 | 3 | 55 | 0 | 245 | 48 | 5 | 1 | true | true | false | false | false | false | zero |
73,234,691 | Search Query in android studio(kotlin) | <p>I'm currently following a news app tutorial and I have a problem. When I type in a keyword in the edit text widget, articles related to that keyword shows up in the recycler view but when I erase that keyword to type in another keyword, the articles (in the recycler view) from the previous search query doesn't upda... | I'm currently following a news app tutorial and I have a problem. When I type in a keyword in the edit text widget, articles related to that keyword shows up in the recycler view but when I erase that keyword to type in another keyword, the articles (in the recycler view) from the previous search query doesn't update a... | android|kotlin | 0 | 2022-08-04T10:56:53.447Z | 2,022 | 8 | 10 | 3 | 44 | 1 | 804 | 38 | 2 | 3 | true | false | false | false | false | false | zero |
73,234,787 | How to communicate with Opencv.Java and ros2? | <p>I am writing api using java and I want to show the video in a jpanel by listening to the 'ros2 image_raw topic'. I use the 'Opencv.Java jar' file to capture the video in java. Also, 'cv_bridge' is used between ros2 and opencv but i could not how can i use cv_bridge with Opencv.Java. There is 'ros2java Android cv_bri... | I am writing api using java and I want to show the video in a jpanel by listening to the 'ros2 image_raw topic'. I use the 'Opencv.Java jar' file to capture the video in java. Also, 'cv_bridge' is used between ros2 and opencv but i could not how can i use cv_bridge with Opencv.Java. There is 'ros2java Android cv_bridge... | java|android|opencv|user-interface|ros2 | 0 | 2022-08-04T11:03:26.147Z | 2,022 | 8 | 11 | 3 | 27 | 0 | 465 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
73,234,799 | OCR Android cam scan | <p><a href="https://i.stack.imgur.com/Q8Y27.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q8Y27.jpg" alt="enter image description here" /></a></p>
<p>I have a image like this.
What i need to do is open camera and scan the image and then get the value of Protien
How can I achieve this any library or... | I have a image like this. What i need to do is open camera and scan the image and then get the value of Protien How can I achieve this any library or any reference will be of great help | android|ocr | 0 | 2022-08-04T11:04:25.610Z | 2,022 | 8 | 11 | 3 | 17 | 0 | 185 | 20 | 2 | 0 | false | true | false | false | false | false | zero |
73,234,865 | Google Fit Scope Update in Console | <p>We have update scope in existing project for google fit. But we are not receiving any update from google.</p>
<p>Normally its take 3-5 days but we have submitted it before 2 weeks ago.</p>
<p>Anyone facing such issue ? If yes then what type of step you have taken to resolve it.</p>
<p><a href="https://i.stack.imgur.... | We have update scope in existing project for google fit. But we are not receiving any update from google. Normally its take 3-5 days but we have submitted it before 2 weeks ago. Anyone facing such issue ? If yes then what type of step you have taken to resolve it. https://i.stack.imgur.com/8MoLl.png Thanks in advance | android|google-fit | 0 | 2022-08-04T11:09:44.473Z | 2,022 | 8 | 11 | 3 | 23 | 0 | 318 | 34 | 2 | 0 | false | true | false | false | false | false | zero |
73,234,919 | My Maui Android 12 application cannot access my application/files folder? | <p>I created a .net m.a.u.i for android 10 emulator and create files and images in <strong>root_Dir/files</strong></p>
<pre><code>root_Dir = Android.App.Application.Context.GetExternalFilesDir(null)?.AbsolutePath;
=> /storage/emulated/0/Android/data/jmd.TakeCopyPhotos/files
</code></pre>
<p>(The folder <strong>imag... | I created a .net m.a.u.i for android 10 emulator and create files and images in root_Dir/files [CODE] (The folder imagesDirectory is a subdir of root_Dir) This application uses PickPhotoAsync()/CapturePhotoAsync() and copy the photos in root_Dir folder without problems. And when I use (I view filesList contents in Debu... | android-12 | 0 | 2022-08-04T11:14:02.430Z | 2,022 | 8 | 11 | 3 | 756 | 0 | 976 | 73 | 1 | 2 | true | true | false | false | false | false | zero |
73,235,069 | error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`. warn Please | <p>I can't launch my Android simulator. I have Android Studio installed as well as a couple of simulators. Any help appreciated!</p>
<pre><code>error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
warn Please launch an emulator manually or connect a device. Otherwise app ma... | I can't launch my Android simulator. I have Android Studio installed as well as a couple of simulators. Any help appreciated! [CODE] | javascript|android|react-native|android-studio|sdk | 0 | 2022-08-04T11:22:34.007Z | 2,022 | 8 | 11 | 3 | 82 | 1 | 132 | 110 | 5 | 1 | true | false | false | false | false | false | zero |
73,235,091 | Prevent screenshot in background and allow in Foreground Cordova | <p>I have situation where I need to prevent screenshots when app moves to background or in recent list and also when app goes to foreground I need to allow user to take screenshots.</p>
<p>Solutions I have tried in MainActivity.java.</p>
<ol>
<li><p>By using FLAG_SECURE in onPause and onResume like below</p>
<pre><code... | I have situation where I need to prevent screenshots when app moves to background or in recent list and also when app goes to foreground I need to allow user to take screenshots. Solutions I have tried in MainActivity.java. By using FLAG_SECURE in onPause and onResume like below [CODE] Adding separate layout to show/hi... | javascript|java|android|cordova|flag-secure | 0 | 2022-08-04T11:24:03.263Z | 2,022 | 8 | 11 | 3 | 52 | 0 | 723 | 64 | 5 | 2 | true | true | false | false | false | false | zero |
73,235,104 | Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0 | <p>APK build is working fine but generating signed bundlle is failing with below error</p>
<p>"Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0."</p>
<p>I have creating code with Java not sure why Kotlin comes in picture..</p> | APK build is working fine but generating signed bundlle is failing with below error "Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0." I have creating code with Java not sure why Kotlin comes in picture.. | android|apk | 0 | 2022-08-04T11:25:04.037Z | 2,022 | 8 | 11 | 3 | 132 | 1 | 297 | 130 | 2 | 0 | false | false | false | false | false | false | zero |
73,235,419 | Custom TopAppBarDefaults ScrollBehavior in Compose | <p>I'm currently working on a animated TopAppBar using Material3 LargeTopAppBar and Compose.</p>
<p>I'm using TopAppBarDefaults.exitUntilCollapsedScrollBehavior to make the AppBar collapse when scrolled.
When flung downwards it snaps to the expanded view, but when flung upwards it doesn't snap and more often than not j... | I'm currently working on a animated TopAppBar using Material3 LargeTopAppBar and Compose. I'm using TopAppBarDefaults.exitUntilCollapsedScrollBehavior to make the AppBar collapse when scrolled. When flung downwards it snaps to the expanded view, but when flung upwards it doesn't snap and more often than not just stays ... | android-jetpack-compose|android-jetpack-compose-material3|material3 | 0 | 2022-08-04T11:47:22.930Z | 2,022 | 8 | 11 | 3 | 70 | 0 | 724 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
73,235,549 | Accompanist webview loads initially and then goes blank | <p>I am using Accompanist Webview for loading webview in my compose application. For some urls the webview is loading initially and goes blank after loading. Anyone faced the same issue? Please help</p>
<p>tried <code>webView.settings.javaScriptEnabled = true</code> and <code>webView.settings.supportZoom()</code> but n... | I am using Accompanist Webview for loading webview in my compose application. For some urls the webview is loading initially and goes blank after loading. Anyone faced the same issue? Please help tried webView.settings.javaScriptEnabled = true and webView.settings.supportZoom() but not working. | android|kotlin|android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-08-04T11:56:55.597Z | 2,022 | 8 | 11 | 3 | 74 | 1 | 295 | 55 | 4 | 0 | false | false | false | false | false | false | zero |
73,235,671 | super.onActivityResult depreciated, how do I update? | <p>I am trying to return an image from the camera app into a webview, however the onActivityResult is depreciated and I am having trouble updating this with my beginner Kotlin and android dev experience.</p>
<pre><code> override fun onActivityResult(
requestCode: Int,
resultCode: Int,
data: Intent?
) {
... | I am trying to return an image from the camera app into a webview, however the onActivityResult is depreciated and I am having trouble updating this with my beginner Kotlin and android dev experience. [CODE] Any help would be hugely appreciated. | kotlin|android-webview|android-camera2 | 0 | 2022-08-04T12:05:59.230Z | 2,022 | 8 | 12 | 3 | 18 | 0 | 245 | 52 | 3 | 1 | true | true | false | false | false | false | zero |
73,235,686 | How to avoid (invisible) repeated navigation to the destination in Andoird Jetpack Compose? | <p>I am developing my application by following Jetnews example application <a href="https://github.com/android/compose-samples/tree/main/JetNews" rel="nofollow noreferrer">https://github.com/android/compose-samples/tree/main/JetNews</a> which has:</p>
<ol>
<li>functional definition of NavGraph <a href="https://github.c... | I am developing my application by following Jetnews example application https://github.com/android/compose-samples/tree/main/JetNews which has: functional definition of NavGraph https://github.com/android/compose-samples/blob/main/JetNews/app/src/main/java/com/example/jetnews/ui/JetnewsNavGraph.kt ...NavigationActions ... | android|android-architecture-navigation|android-navigation | 0 | 2022-08-04T12:06:58.017Z | 2,022 | 8 | 12 | 3 | 30 | 0 | 2,152 | 91 | 3 | 4 | true | true | false | false | false | false | zero |
73,235,731 | Your app is not compliant with Google Play Policies SPLIT_BUNDLE 12: Policy Declaration Data Safety Section: Location | <p>I have an application where i'm basically getting user location to fetch latitude and longitude and make an http request , my app worked fine on google play until i had to update to sdk 33 , when i uploaded my aab file , they sent a message with the below "Action Required" , the action is about location bu... | I have an application where i'm basically getting user location to fetch latitude and longitude and make an http request , my app worked fine on google play until i had to update to sdk 33 , when i uploaded my aab file , they sent a message with the below "Action Required" , the action is about location but i... | android|location|google-play-console | 3 | 2022-08-04T12:10:28.793Z | 2,022 | 8 | 12 | 3 | 536 | 1 | 380 | 117 | 3 | 0 | false | false | false | false | false | false | low |
73,235,883 | How do I publish an AAR to Maven Local With JavaDocs | <p>I need to publish my android library (aar) using Gradle to Maven local repo.
But the publication script needs to also generate the Javadocs, while ONLY including Public and Protected methods and classes.</p>
<p>Can't seem to find any information online, especially about the Javadocs part...
Help, I never published a... | I need to publish my android library (aar) using Gradle to Maven local repo. But the publication script needs to also generate the Javadocs, while ONLY including Public and Protected methods and classes. Can't seem to find any information online, especially about the Javadocs part... Help, I never published a library b... | android|android-studio|maven|javadoc|aar | 0 | 2022-08-04T12:23:38.370Z | 2,022 | 8 | 12 | 3 | 96 | 1 | 326 | 52 | 5 | 0 | false | false | false | false | false | false | zero |
73,235,897 | Koin: how to reduce the visibility of modules (private non-exported modules) | <p>I'm using Koin 3.2 which has the new module includes feature. In the <a href="https://insert-koin.io/docs/reference/koin-core/modules#linking-modules-strategies" rel="nofollow noreferrer">official docs</a>, when discussing module linking strategies, there is this paragraph:</p>
<blockquote>
<p>An important detail to... | I'm using Koin 3.2 which has the new module includes feature. In the official docs , when discussing module linking strategies, there is this paragraph: An important detail to observe is that you can use includes to add internal and private modules too - that gives you flexibility over what to expose in a modularized p... | android|kotlin|dependency-injection|koin | 3 | 2022-08-04T12:24:19.243Z | 2,022 | 8 | 12 | 3 | 74 | 2 | 993 | 76 | 4 | 3 | true | false | false | false | false | false | low |
73,235,908 | Hive MQ “Invalid handshake response getStatus: 426 Upgrade Required” connecting to AWS | <p>I am trying to connect to an AWS MQTT broker/server using the Hive MQ client library for Android Studio (v1.3.0) with an AWS pre-signed URL.</p>
<pre><code>implementation("com.hivemq:hivemq-mqtt-client:1.3.0")
implementation(platform("com.hivemq:hivemq-mqtt-client-websocket:1.3.0"))
</code></pre>... | I am trying to connect to an AWS MQTT broker/server using the Hive MQ client library for Android Studio (v1.3.0) with an AWS pre-signed URL. [CODE] The parameters I am using are shown below with the sensitive information removed: [CODE] This is my latest attempt to connect: [CODE] But when connecting, I get the error: ... | android|amazon-web-services|mqtt|paho|hivemq | 0 | 2022-08-04T12:25:31.993Z | 2,022 | 8 | 12 | 3 | 26 | 0 | 507 | 86 | 5 | 3 | true | true | false | false | false | false | zero |
73,235,977 | Shipping an SQLite database in an android project | <p>While learning to ship an existing database with an android project, I used the example of <a href="https://stackoverflow.com/a/47166775/1608879">https://stackoverflow.com/a/47166775/1608879</a> exactly.</p>
<p>But when I run the app on the emulator, logcat reports:</p>
<p>E/SQLiteLog: (1) no such table: table1 in ... | While learning to ship an existing database with an android project, I used the example of https://stackoverflow.com/a/47166775/1608879 exactly. But when I run the app on the emulator, logcat reports: E/SQLiteLog: (1) no such table: table1 in "SELECT value from table1" However there clearly is a table named t... | android|database|sqlite | 0 | 2022-08-04T12:30:39.243Z | 2,022 | 8 | 12 | 3 | 27 | 0 | 438 | 49 | 3 | 0 | false | true | false | false | false | false | zero |
73,235,983 | I want to access Excel file from download folder in Android in My app which support Andorid 5 to 12. Google rejected App, I using READ_EXTREAL_STORAGE | <p>My app rejected by google.
I am using READ_EXTREAL_STORAGE OR ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION OR ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION.
I want to access only *.xls files from Download folder in my app.
And then app will ready excel data.</p>
<p>Is there any universal simplest solution?</p>
<p>Thank... | My app rejected by google. I am using READ_EXTREAL_STORAGE OR ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION OR ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION. I want to access only *.xls files from Download folder in my app. And then app will ready excel data. Is there any universal simplest solution? Thank you | android|kotlin|local-storage|android-download-manager|runtime-permissions | 0 | 2022-08-04T12:31:08.360Z | 2,022 | 8 | 12 | 3 | 51 | 0 | 307 | 150 | 5 | 0 | false | true | false | false | false | false | zero |
73,236,063 | Ionic 6 / react issue with fetching data from the server | <p>I’m having an issue with fetching the data from the server in the android applications
versions :
“@ionic/react”: “^6.0.0”,
“@ionic/react-router”: “^6.0.0”,"
“react”: “^17.0.1”,</p>
<p>Everything works just fine when I open the app in the browser, but when trying to preview it in Android Studio Emulator, the da... | I’m having an issue with fetching the data from the server in the android applications versions : “@ionic/react”: “^6.0.0”, “@ionic/react-router”: “^6.0.0”," “react”: “^17.0.1”, Everything works just fine when I open the app in the browser, but when trying to preview it in Android Studio Emulator, the data seems n... | android|reactjs|android-studio|ionic-framework|fetch-api | 1 | 2022-08-04T12:36:47.240Z | 2,022 | 8 | 12 | 3 | 78 | 1 | 813 | 56 | 5 | 0 | false | false | false | false | false | false | low |
73,236,225 | Kotlin passive - active item rows in recycleview | <p>I want to create a recyclerview list with active and passive rows, how can I do this in Kotlin? If the colum from the table in the Room Database is not the same as the itemtext, it will be inactive and cannot be clicked.
For example, while one item is clickable, the other cannot be clicked because this line will be ... | I want to create a recyclerview list with active and passive rows, how can I do this in Kotlin? If the colum from the table in the Room Database is not the same as the itemtext, it will be inactive and cannot be clicked. For example, while one item is clickable, the other cannot be clicked because this line will be ina... | android|kotlin|row|recycleview | -1 | 2022-08-04T12:47:24.590Z | 2,022 | 8 | 12 | 3 | 43 | 2 | 622 | 48 | 4 | 0 | false | false | false | false | false | true | negative |
73,236,323 | How to do Jetpack Compose Navigation for dynamic feature modules? | <p>Working on Jetpack Compose Navigation with multi module application. Using Kotlin DSL.<br />
We have dynamic feature modules DFM1, DFM2, DFM3.</p>
<p>How to setup navigation graph and navigate between dynamic feature modules.</p> | Working on Jetpack Compose Navigation with multi module application. Using Kotlin DSL. We have dynamic feature modules DFM1, DFM2, DFM3. How to setup navigation graph and navigate between dynamic feature modules. | android|android-jetpack-compose|android-jetpack|android-jetpack-navigation | 1 | 2022-08-04T12:52:59.877Z | 2,022 | 8 | 12 | 3 | 143 | 0 | 212 | 65 | 4 | 0 | false | true | false | false | false | false | low |
73,236,333 | Request body is null in Android Networking | <p>I am trying to send some data using Android Networking library but the request body is null. Tried sending the data using Postman directly and it worked fine but when I use the code below it returns a 400 bad request error.</p>
<pre><code> AndroidNetworking.post(API.BASE_URL + "savefile/postlog")
... | I am trying to send some data using Android Networking library but the request body is null. Tried sending the data using Postman directly and it worked fine but when I use the code below it returns a 400 bad request error. [CODE] | java|android|httpresponse|bad-request | 0 | 2022-08-04T12:53:35.870Z | 2,022 | 8 | 12 | 3 | 17 | 0 | 230 | 42 | 4 | 1 | true | true | false | false | false | false | zero |
73,236,453 | Thread.sleep() is too fast in some android devices | <p>I do not know why but i created a thread where i am using Thread.sleep(1000) and its working in 8 out of 10 devices but not working in rest 2 devices.</p>
<p>Not working means, thread is sleeping for around 0.5 sec instead of 1 sec and i can see it in logs.</p>
<p>So there is no guarantee that thread will sleep for ... | I do not know why but i created a thread where i am using Thread.sleep(1000) and its working in 8 out of 10 devices but not working in rest 2 devices. Not working means, thread is sleeping for around 0.5 sec instead of 1 sec and i can see it in logs. So there is no guarantee that thread will sleep for exact amount of t... | android|multithreading | 0 | 2022-08-04T13:01:50.733Z | 2,022 | 8 | 13 | 3 | 34 | 2 | 401 | 50 | 2 | 0 | false | false | false | false | false | false | zero |
73,236,484 | Test events were not received in Android Studio after modifying coverage options | <p>I had no problems before running my tests, but then I clicked on edit configuration to hide Hilt classes from code coverage and suddenly tests stopped working and this message started appearing.</p>
<p>I have tried everything in the related questions, but none of them seem to talk about this problem with code covera... | I had no problems before running my tests, but then I clicked on edit configuration to hide Hilt classes from code coverage and suddenly tests stopped working and this message started appearing. I have tried everything in the related questions, but none of them seem to talk about this problem with code coverage and tes... | android-studio | 0 | 2022-08-04T13:03:30.837Z | 2,022 | 8 | 13 | 3 | 23 | 0 | 635 | 80 | 1 | 0 | false | true | false | false | false | false | zero |
73,236,501 | How can i share data across multiple fragments in application? | <p>I am working on an application where i m taking input from users across multiple fragments under same activity, and then i am sending that data to firebase now how can i achieve that using shared viewmodel, if possible please guide me how can i achieve that, I am completely new to android.
Thank You</p> | I am working on an application where i m taking input from users across multiple fragments under same activity, and then i am sending that data to firebase now how can i achieve that using shared viewmodel, if possible please guide me how can i achieve that, I am completely new to android. Thank You | java|android|firebase|android-viewmodel | 0 | 2022-08-04T13:04:45.617Z | 2,022 | 8 | 13 | 3 | 41 | 1 | 300 | 62 | 4 | 0 | false | false | false | false | false | false | zero |
73,236,539 | Push Front View up with Keyboard, don't push Background View up in Kotlin Compose | <p>I want to do something like this:</p>
<p><a href="https://i.stack.imgur.com/BTswX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BTswX.jpg" alt="enter image description here" /></a></p>
<p>Where there is a view that pops on top of the open keyboard.</p>
<p>I've tried to do this, and I have this s... | I want to do something like this: Where there is a view that pops on top of the open keyboard. I've tried to do this, and I have this so far: However, when I put this view in a Box, as the second view, the first view is also pushed up, here's the code: [CODE] That's the code for SpaceCreator() , and then I add it to a ... | kotlin|android-layout|android-jetpack-compose|ime | 0 | 2022-08-04T13:07:47.827Z | 2,022 | 8 | 13 | 3 | 87 | 0 | 828 | 81 | 4 | 2 | true | true | false | false | false | false | zero |
73,236,631 | Flutter android APK have low frame rate | <p>I was working on flutter project and when i finished and build the APK and run it in my phone unfortunately i found that the framerate is low even that my phone is capable of running 120Hz.</p>
<p>I used the flutter tool in android studio to see what is the framerate and it was maximum 30Hz (When the app is idle), b... | I was working on flutter project and when i finished and build the APK and run it in my phone unfortunately i found that the framerate is low even that my phone is capable of running 120Hz. I used the flutter tool in android studio to see what is the framerate and it was maximum 30Hz (When the app is idle), but when i ... | android|flutter|android-studio|apk | 1 | 2022-08-04T13:14:08.477Z | 2,022 | 8 | 13 | 3 | 49 | 1 | 551 | 39 | 4 | 0 | false | false | false | false | false | false | low |
73,236,644 | Error passing build number - Azure devops gradle task | <p>I am trying to execute the below task in <strong>Azure devops</strong>:</p>
<pre><code>- task: Gradle@3
displayName: 'Build Task'
continueOnError: false
inputs:
tasks: assembledevelopDebug -PversionCode=$(Build.BuildNumber) -PdisablePreDex --no-daemon
publishJUnitResults: false
</code></pre>
<p>I get the below e... | I am trying to execute the below task in Azure devops : [CODE] I get the below error. Can someone please tell if there is anything wrong the way in which I am passing the build number -PversionCode=$(Build.BuildNumber) . [CODE] Please note, this is how I do the same in gitlab pipeline and it works without issues assemb... | android|azure|gradle|azure-devops|azure-pipelines | 0 | 2022-08-04T13:14:45.363Z | 2,022 | 8 | 13 | 3 | 103 | 1 | 390 | 53 | 5 | 2 | true | false | false | false | false | false | zero |
73,236,773 | React Native BLE Manager (Android) status code 14 on write to characteristic | <p>I'm using the react native ble manager package to build a react native app that communicates with a python client over BLE.</p>
<p>When writing to a characteristic on Android (this bug does not seem to appear on IOS) the write is successful but shortly after it I receive this error:</p>
<pre><code>ERROR Error writin... | I'm using the react native ble manager package to build a react native app that communicates with a python client over BLE. When writing to a characteristic on Android (this bug does not seem to appear on IOS) the write is successful but shortly after it I receive this error: [CODE] This is the simplified code that han... | android|reactjs|react-native|bluetooth-lowenergy | 1 | 2022-08-04T13:23:16.823Z | 2,022 | 8 | 13 | 3 | 195 | 1 | 815 | 76 | 4 | 2 | true | false | false | false | false | false | low |
73,236,962 | Compose Compiler and Kotlin version compatibility when you're library developer | <p>I am developing a library that is connected by third-party clients. Jetpack Compose requires strict compliance of Kotlin and Compose versions, otherwise it will be like this:</p>
<pre><code> This version (1.0.5) of the Compose Compiler requires Kotlin version 1.5.31 but you appear to be using Kotlin version 1.6.21 w... | I am developing a library that is connected by third-party clients. Jetpack Compose requires strict compliance of Kotlin and Compose versions, otherwise it will be like this: [CODE] What happens if a client who uses my library would set a higher version of Kotlin? Will an error happen at the library level? | android|kotlin|android-jetpack-compose | 1 | 2022-08-04T13:38:02.180Z | 2,022 | 8 | 13 | 3 | 82 | 1 | 307 | 79 | 3 | 1 | true | false | false | false | false | false | low |
73,237,052 | How to get data with ID | <p>I'm currently working on Comic Reader app, and I want to code a Latest Updates page where all the new Chapters appear, I made 2 Firebase Database Childs one is for the Comics containing all the information and Chapters, and one called LatestUpdates only containing ID's of the coresponding comics.</p>
<p>How Can I us... | I'm currently working on Comic Reader app, and I want to code a Latest Updates page where all the new Chapters appear, I made 2 Firebase Database Childs one is for the Comics containing all the information and Chapters, and one called LatestUpdates only containing ID's of the coresponding comics. How Can I use the ID's... | android|firebase|for-loop|firebase-realtime-database | 1 | 2022-08-04T13:44:49.033Z | 2,022 | 8 | 13 | 3 | 53 | 1 | 473 | 23 | 4 | 1 | true | false | false | false | false | false | low |
73,237,134 | How do I change Watch Faces on Wear OS 3.2 programmatically | <p>I was able to change the WatchFace programmatically with Action <code>WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER</code> on Wear OS 2 (<a href="https://stackoverflow.com/a/29786902/3569768">https://stackoverflow.com/a/29786902/3569768</a>), but with the Wear OS 3 emulator I got the error</p>
<pre><code>No Activity... | I was able to change the WatchFace programmatically with Action WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER on Wear OS 2 ( https://stackoverflow.com/a/29786902/3569768 ), but with the Wear OS 3 emulator I got the error [CODE] How can I change the WatchFace programmatically on Wear OS 3.2? | android|wear-os|watch-face-api|watchface|android-wear-3.0 | 1 | 2022-08-04T13:51:26.990Z | 2,022 | 8 | 13 | 3 | 40 | 1 | 291 | 59 | 5 | 1 | true | false | false | false | false | false | low |
73,237,172 | Why is my JetPack compose text so big (material design) | <p>I am practicing Jetpack compose, by making a simple Application with multiple destinations (screen), I happen to be referencing an <a href="https://developer.android.com/codelabs/jetpack-compose-layouts?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fcompose%23codelab-https%3A%2F%2Fdeveloper.andr... | I am practicing Jetpack compose, by making a simple Application with multiple destinations (screen), I happen to be referencing an Android Developer codelab , for a destination. But the final looks is very different from the codelab's, most noticably the fonts are way bigger on my code than it is in the codelab even th... | android|kotlin|android-jetpack-compose|android-jetpack|android-jetpack-compose-text | 0 | 2022-08-04T13:53:38.170Z | 2,022 | 8 | 13 | 3 | 75 | 1 | 1,094 | 55 | 5 | 4 | true | false | false | false | false | false | zero |
73,237,181 | Firebase Auth UI: Is there an UI to let user edit their profile? | <p>I'm using Firebase Auth UI in an Android app.</p>
<p>I've already managed to use the UI for signin and registration of new users.
At the registration, user can set their name and password (if email provider).</p>
<p>I know it's possible to change the user data later via code with <code>UserProfileChangeRequest</code... | I'm using Firebase Auth UI in an Android app. I've already managed to use the UI for signin and registration of new users. At the registration, user can set their name and password (if email provider). I know it's possible to change the user data later via code with UserProfileChangeRequest , but it depends on me creat... | android|firebase|firebase-authentication|firebaseui | 2 | 2022-08-04T13:54:16Z | -1 | -1 | -1 | -1 | 101 | 1 | 607 | 64 | 4 | 0 | false | false | false | false | false | false | low |
73,237,399 | how to bring this to button aline in android studio | <p><a href="https://i.stack.imgur.com/ZYuHQ.png" rel="nofollow noreferrer">enter image description here</a>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"</p>
<pre><code>xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:... | enter image description here <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" [CODE] //``i cant fix both button in each corner in line. [CODE] I cannot resolve this issue please help me | android-studio|button|checkbox | 0 | 2022-08-04T14:09:27.633Z | 2,022 | 8 | 14 | 3 | 8 | 0 | 219 | 51 | 3 | 2 | true | true | false | false | false | false | zero |
73,237,475 | Kotlin button not woking. Same setup works in a different layout | <p>I have a 'signup' page that works correctly and adds the user to a Firebase Realtime Database.</p>
<p>Same Code, with modifications to accept different parameters and sourced from a different layout, does not work. The click event on the layout does not seem to be recognized.</p>
<p>Not sure what exactly to send so ... | I have a 'signup' page that works correctly and adds the user to a Firebase Realtime Database. Same Code, with modifications to accept different parameters and sourced from a different layout, does not work. The click event on the layout does not seem to be recognized. Not sure what exactly to send so I am starting wit... | android|kotlin|firebase-realtime-database|onclick | 0 | 2022-08-04T14:14:16.240Z | 2,022 | 8 | 14 | 3 | 39 | 1 | 672 | 64 | 4 | 4 | true | false | false | false | false | false | zero |
73,237,482 | Android studio4.2 Could not resolve all files for configuration ':app:debugCompileClasspath' | <p>Could not resolve all files for configuration ':app:debugCompileClasspath'.</p>
<blockquote>
<p>Could not download appcompat-v7.aar (com.android.support:appcompat-v7:28.0.0)
Could not get resource 'https://maven.google.com/com/android/support/appcompat-v7/28.0.0/appcompat-v7-28.0.0.aar'.
> Could not GET 'https://... | Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not download appcompat-v7.aar (com.android.support:appcompat-v7:28.0.0) Could not get resource 'https://maven.google.com/com/android/support/appcompat-v7/28.0.0/appcompat-v7-28.0.0.aar'. > Could not GET 'https://maven.google.com/com/andro... | android | 0 | 2022-08-04T14:14:34.703Z | 2,022 | 8 | 14 | 3 | 14 | 0 | 582 | 92 | 1 | 1 | true | true | false | false | false | false | zero |
73,237,485 | Removing duplicated functions in two classes in Kotlin | <p>I have wrote the following code in Kotlin:</p>
<pre class="lang-kotlin prettyprint-override"><code>class ProxyiOSUIElementWrapper(val app: SIMIAppUIElementProtocol) : IAppUIElement {
override fun tap() {
app.tap()
}
override fun elementWithTestId(testId: String): IAppUIElement {
return ... | I have wrote the following code in Kotlin: [CODE] As you can see, there are functions that are being repeated, for example table , cell etc. How can I make it DRY? I want to take out these functions out of the classes and only write then once, but since both classes have to conform interfaces, I cannot do that. I tried... | android|kotlin|design-patterns|dry | 0 | 2022-08-04T14:14:50.600Z | 2,022 | 8 | 14 | 3 | 38 | 2 | 487 | 54 | 4 | 1 | true | false | false | false | false | false | zero |
73,237,499 | A problem occurred evaluating project ':tflite' No signature of method: .android() is applicable for argument types | <p>Hello so I try to build a object detection app using "tflite" package on flutter and i happend to encouter this error :</p>
<p><img src="https://i.stack.imgur.com/DqZNc.png" alt="1" /></p>
<p>Here is the code below of my app/build.gradle file :</p>
<pre><code>def localProperties = new Properties()
def loc... | Hello so I try to build a object detection app using "tflite" package on flutter and i happend to encouter this error : Here is the code below of my app/build.gradle file : [CODE] And this is my build.gradle file : [CODE] I assume that the issue at first was my kotlin version that was incompatible, but even a... | android|flutter|tensorflow|tflite | 0 | 2022-08-04T14:15:39.907Z | 2,022 | 8 | 14 | 3 | 175 | 0 | 357 | 115 | 4 | 2 | true | true | false | false | false | false | zero |
73,237,694 | Android - App not installed as package conflicts with an existing package | <p>My application is published in Google Play store. Some of the users were unable to install the app due to below error.</p>
<p><a href="https://i.stack.imgur.com/0Gpzq.jpg" rel="nofollow noreferrer">Google Play Error</a></p>
<p>I've asked the user to install the APK manually but he got the below error.</p>
<p><a href... | My application is published in Google Play store. Some of the users were unable to install the app due to below error. Google Play Error I've asked the user to install the APK manually but he got the below error. App not installed as package conflicts with an existing package Can someone advice me what's wrong on my ap... | android|google-play | 1 | 2022-08-04T14:28:28.553Z | 2,022 | 8 | 14 | 3 | 552 | 1 | 322 | 73 | 2 | 0 | false | false | false | false | false | false | low |
73,237,726 | App crashes when data is written to ROOM database error in description | <p>when the app is ran the following error occurs:</p>
<pre><code>2022-08-03 15:41:29.243 21219-21250/com.example.roomdatabasetest E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1
Process: com.example.roomdatabasetest, PID: 21219
kotlin.UninitializedPropertyAccessException: **lateinit property user... | when the app is ran the following error occurs: [CODE] Basically I need to know how to initialise the User DB If you require anymore code then please ask and any help is greatly appreciated. Main Activity [CODE] | android|kotlin|android-room | 0 | 2022-08-04T14:30:40.203Z | 2,022 | 8 | 14 | 3 | 44 | 2 | 211 | 70 | 3 | 2 | true | false | false | false | false | false | zero |
73,237,735 | Fragment to Fragment | <p>I want to pass the fragment to fragment but if i pass the new fragment i show old fragment widgets why?</p>
<p><a href="https://i.stack.imgur.com/vP6lt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vP6lt.png" alt="enter image description here" /></a></p>
<p>this code is in MessageFragment
I want... | I want to pass the fragment to fragment but if i pass the new fragment i show old fragment widgets why? this code is in MessageFragment I want to go from MessageFragment to HomeFragment but i can but i show message fragment edittext, imageview etc. why? [CODE] | android|android-fragments | 0 | 2022-08-04T14:31:13.693Z | 2,022 | 8 | 14 | 3 | 22 | 1 | 260 | 20 | 2 | 1 | true | false | false | false | false | false | zero |
73,237,744 | Error with sdk 46.0.0 (@snack/sdk.46.0.0) on android device with newly installed Expo Go | <p>My situation is as follows:</p>
<ul>
<li>SDK Version: 46.0.0</li>
<li>Platforms(Android/iOS/web/all): Android (9 PKQ1.180904.001 (MIUI Global 11.0.3.0(PEIMIXM)))</li>
<li>Add the appropriate “Tag” based on what Expo library you have a question on: no clue.</li>
<li>React Native version: no clue, but it should be the... | My situation is as follows: SDK Version: 46.0.0 Platforms(Android/iOS/web/all): Android (9 PKQ1.180904.001 (MIUI Global 11.0.3.0(PEIMIXM))) Add the appropriate “Tag” based on what Expo library you have a question on: no clue. React Native version: no clue, but it should be the latest on the post's date I’ve just signed... | android|react-native|expo | 2 | 2022-08-04T14:32:15.653Z | 2,022 | 8 | 14 | 3 | 909 | 4 | 1,145 | 88 | 3 | 0 | false | false | false | false | false | false | low |
73,238,005 | Chromecast playback not reaching the top rendition (1080p) | <p>We have custom receiver application that we own and have datadog system in place. But recently noticed that during testing workflow chromecast does not ever reach the 1080p rendition while casting from app. There is other post about custom receiver apps are locked to 720p, but is from 2017. Do you know if this is st... | We have custom receiver application that we own and have datadog system in place. But recently noticed that during testing workflow chromecast does not ever reach the 1080p rendition while casting from app. There is other post about custom receiver apps are locked to 720p, but is from 2017. Do you know if this is still... | chromecast|google-cast|android-tv|google-cast-sdk | 0 | 2022-08-04T14:50:16.583Z | 2,022 | 8 | 14 | 3 | 38 | 0 | 339 | 58 | 4 | 0 | false | true | false | false | false | false | zero |
73,238,164 | why viewbinding makes display incorrectly? | <p>XML layout code:</p>
<pre class="lang-xml prettyprint-override"><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
... | XML layout code: [CODE] activity kotlin code: [CODE] When I write like this, the activity looks not like what I want: 1 The red background fill the whole screen. But if I change setContentView(binding.root) to setContentView(R.layout.activity_main) , the activity displays normally: 2 Why I can not use viewbinding in se... | android|kotlin|android-viewbinding | 0 | 2022-08-04T15:01:14.553Z | 2,022 | 8 | 15 | 3 | 38 | 1 | 386 | 42 | 3 | 2 | true | false | false | false | false | false | zero |
73,238,200 | Duplicate Unity Ads Library in android studio | <p>I am using unity3d in my android studio project and need to import the unity ads aar file into my project. To do so I added the following lines and the unity-ads.aar to the libs folder :</p>
<pre><code> implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
implementation files('libs/unity-ads.aar'... | I am using unity3d in my android studio project and need to import the unity ads aar file into my project. To do so I added the following lines and the unity-ads.aar to the libs folder : [CODE] I get the following error when I compile the project : [CODE] If I delete these lines and the unity-ads.aar file all the class... | java|android|android-studio|unity3d|unityads | 0 | 2022-08-04T15:03:43.870Z | 2,022 | 8 | 15 | 3 | 72 | 1 | 456 | 45 | 5 | 2 | true | false | false | false | false | false | zero |
73,238,344 | Save complex JSON response in SQLite with Room | <p>I'm trying to implement caching of a JSON API response with Room. <br />
The response I get in JSON follows this data class structure:</p>
<pre class="lang-kotlin prettyprint-override"><code>@Serializable
data class ApiDataResponse(
val success: Boolean,
val message: String? = null,
val albums: List<A... | I'm trying to implement caching of a JSON API response with Room. The response I get in JSON follows this data class structure: [CODE] [CODE] [CODE] Notes: @Serializable is from kotlinx.serialization library to parse the JSON response. These response data classes are only used inside my datasource layer , the view laye... | android|kotlin|android-room | 3 | 2022-08-04T15:14:28.883Z | 2,022 | 8 | 15 | 3 | 58 | 2 | 1,036 | 46 | 3 | 5 | true | false | false | false | false | false | low |
73,238,350 | How do i attach debugger to a running process? | <p>Formerly, i wrote code in <code>IntelliJ</code>. If i have an infinite loop, for example like the following</p>
<pre><code>for(;;){
System.out.println("hello");
}
</code></pre>
<p>while numerous hello printing i can just press <code>atatch debugger</code> button and then my app stop at the place where ... | Formerly, i wrote code in IntelliJ . If i have an infinite loop, for example like the following [CODE] while numerous hello printing i can just press atatch debugger button and then my app stop at the place where i have been when i have pressed the button and now i can see the stack trace. Then i tried to do the same t... | android|android-studio|intellij-idea | 0 | 2022-08-04T15:14:48.737Z | 2,022 | 8 | 15 | 3 | 26 | 0 | 587 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
73,238,351 | Deferred Deeplink not working in facebook ads, but working on testing through facebook notifications as mentioned in the documentation | <p>I have implemented Facebook Deferred Deeplink Inside the application. When I test my ad from the Ad Helper in Facebook, the deferred link is successfully transmitted. But when I click the ad preview from the Facebook app, the deferred deep link is null.</p>
<pre><code>AppLinkData.fetchDeferredAppLinkData(this) { app... | I have implemented Facebook Deferred Deeplink Inside the application. When I test my ad from the Ad Helper in Facebook, the deferred link is successfully transmitted. But when I click the ad preview from the Facebook app, the deferred deep link is null. [CODE] Using below sdk implementation 'com.facebook.android:facebo... | android|facebook|deep-linking|facebook-ads|deferred-deep-linking | 1 | 2022-08-04T15:15:05.630Z | 2,022 | 8 | 15 | 3 | 44 | 0 | 399 | 134 | 5 | 1 | true | true | false | false | false | false | low |
73,238,527 | Android. Python. Kivy MapView. How to access MapView to change map position? | <p>Android. Python. Kivy Application.</p>
<p>Hello, I can't get how to change the mapview object location in Kivy. I know about</p>
<blockquote>
<p>MapView.center_on()</p>
</blockquote>
<p>But a problem is how to access the mapview object. Please, help.
Sorry for idention errors if any.</p>
<pre><code>from kivy.lang im... | Android. Python. Kivy Application. Hello, I can't get how to change the mapview object location in Kivy. I know about MapView.center_on() But a problem is how to access the mapview object. Please, help. Sorry for idention errors if any. [CODE] I tried self.root.MapView.center_on(xlat,ylon) in on_location, but no luck -... | android|python-3.x|kivy|mapview | 0 | 2022-08-04T15:27:07.103Z | 2,022 | 8 | 15 | 3 | 54 | 0 | 361 | 76 | 4 | 1 | true | true | false | false | false | false | zero |
73,238,591 | Android - cannot inject Interface class into module | <p>I'm new to the Koin so hopefully someone will be able to point out the direction of the issue I'm encountering.</p>
<p>I've an Interface class:</p>
<pre><code>interface UserApi {
@POST("/refreshToken")
@Headers("Accept: application/json")
suspend fun refreshToken(@Body x: X): TokenRe... | I'm new to the Koin so hopefully someone will be able to point out the direction of the issue I'm encountering. I've an Interface class: [CODE] I've a class where I use UserApi to do API call. [CODE] This far everything is fine, but now I want to Inject TokenAuthenticator class. If I remove constructor for testing purp... | android|kotlin|koin | 1 | 2022-08-04T15:31:09.313Z | 2,022 | 8 | 15 | 3 | 52 | 1 | 510 | 51 | 3 | 4 | true | false | false | false | false | false | low |
73,238,620 | ArrayList size 0 after deserialisation Android Studio Java | <p>Hello I tried to make an app for displaying quote in Android Studio.
But I got stuck when reading.
I created an "ArrayList" with my custom class Quotes.
I seems to work ok when writing the ArrayList to the file, but when reading from it the size of ArrayList is 0.</p>
<pre><code>public class SaveQuote exte... | Hello I tried to make an app for displaying quote in Android Studio. But I got stuck when reading. I created an "ArrayList" with my custom class Quotes. I seems to work ok when writing the ArrayList to the file, but when reading from it the size of ArrayList is 0. [CODE] | java|android|arraylist|deserialization | 0 | 2022-08-04T15:33:35.613Z | 2,022 | 8 | 15 | 3 | 33 | 1 | 281 | 58 | 4 | 1 | true | false | false | false | false | false | zero |
73,238,624 | Merging Errors: Attribute meta-data requires a placeholder substitution but no value is provided. BazelFaceMesh.app main manifest (this file) | <p>I am migrating the Mediapipe face mesh app from Bazel to Gradle, but when building the app it gives me the following error:</p>
<pre><code>Merging Errors:
Error: Attribute meta-data#cameraFacingFront@value at AndroidManifest.xml:38:53-89 requires a placeholder substitution but no value for <cameraFacingFront> ... | I am migrating the Mediapipe face mesh app from Bazel to Gradle, but when building the app it gives me the following error: [CODE] AndroidManifest.xml: (the errors are occurring in the <meta-data> elements) [CODE] build.gradle (of the app) : [CODE] I had tried setting manifestPlaceholders in build.gradle, but it made n... | android|android-studio|gradle|bazel|mediapipe | 1 | 2022-08-04T15:33:59.210Z | 2,022 | 8 | 15 | 3 | 123 | 1 | 444 | 141 | 5 | 3 | true | false | false | false | false | false | low |
73,238,803 | How to add subtitles to ExoPlayer with Android TV VideoSupportFragment | <p>I have an Android TV app based on Google Android TV samples repository and I'm not able to show subtitles. I don't have any crash of the app, the subtitles are simply not shown, as far as I understood from my investigations there's no Android view to render them.</p>
<p>My <em>playback</em> fragment (the one that pl... | I have an Android TV app based on Google Android TV samples repository and I'm not able to show subtitles. I don't have any crash of the app, the subtitles are simply not shown, as far as I understood from my investigations there's no Android view to render them. My playback fragment (the one that plays the video) impl... | android|kotlin|exoplayer|android-tv | 1 | 2022-08-04T15:48:53.567Z | 2,022 | 8 | 15 | 3 | 116 | 1 | 858 | 70 | 4 | 2 | true | false | false | false | false | false | low |
73,238,835 | After release codepush update app starting crash on users devices (react-native, android) | <p>We have recently released a code push patch for our android app in the play store. After enabling the code push release, the app installed on the user's phone started crashing.
So for debugging this issue by creating a test build and doing a dummy code push release(Just changing some text). we can see that the app s... | We have recently released a code push patch for our android app in the play store. After enabling the code push release, the app installed on the user's phone started crashing. So for debugging this issue by creating a test build and doing a dummy code push release(Just changing some text). we can see that the app star... | android|react-native|react-native-code-push|appcenter | 1 | 2022-08-04T15:51:29.670Z | 2,022 | 8 | 15 | 3 | 184 | 2 | 409 | 89 | 4 | 0 | false | false | false | false | false | false | low |
73,238,921 | Android tensorflow set Max results | <p>The code for kotlin</p>
<pre><code>val optionsBuilder =
ObjectDetector.ObjectDetectorOptions.builder()
.setScoreThreshold(threshold)
.setMaxResults(maxResults)
</code></pre>
<p>How to do the same in java</p>
<p>Refer:</p>
<p><a href="https://github.com/tensorflow/examples/tree/66f60ebc3dd2e8527b7bbbb280fe0... | The code for kotlin [CODE] How to do the same in java Refer: https://github.com/tensorflow/examples/tree/66f60ebc3dd2e8527b7bbbb280fe0657d54f20f4/lite/examples/object_detection/android/app/src/main/java/org/tensorflow/lite/examples/detection | java|android|kotlin | 0 | 2022-08-04T15:56:47.550Z | 2,022 | 8 | 15 | 3 | 35 | 1 | 241 | 34 | 3 | 1 | true | false | false | false | false | false | zero |
73,238,961 | DefaultDataSource.Factory not working in exoployer android Required: DataSource.Factory Found: String? | <p>I am developing spotify like android app and I am following tutorial in the code</p>
<p>teacher using <code>DefaultDataSourceFactory(context, Util.getUserAgent(context, "Spotify Application"))</code> but as DefaultDataSourceFactory depreciated in exoplayer I am using in following way <code>DefaultDataSo... | I am developing spotify like android app and I am following tutorial in the code teacher using DefaultDataSourceFactory(context, Util.getUserAgent(context, "Spotify Application")) but as DefaultDataSourceFactory depreciated in exoplayer I am using in following way DefaultDataSource.Factory(context, Util.getUs... | android|kotlin|exoplayer|exoplayer2.x | 1 | 2022-08-04T15:59:14.840Z | 2,022 | 8 | 15 | 3 | 83 | 0 | 553 | 102 | 4 | 0 | false | true | false | false | false | false | low |
73,238,976 | setState not updating the data on previous page | <p>I made a language switcher and rendered a button on every page. I went to 2nd page from 1st page which is in english and switched the language to arabic on 2nd page using setState. But when I came back to 1st page, the language was still english on 1st page even though I used a global variable called "lang"... | I made a language switcher and rendered a button on every page. I went to 2nd page from 1st page which is in english and switched the language to arabic on 2nd page using setState. But when I came back to 1st page, the language was still english on 1st page even though I used a global variable called "lang" w... | android|ios|flutter|dart|setstate | 0 | 2022-08-04T15:59:54.297Z | 2,022 | 8 | 15 | 3 | 22 | 1 | 502 | 47 | 5 | 0 | false | false | false | false | false | false | zero |
73,239,072 | Android Studio failed to initialize editor | <p>I am facing the following problem. <a href="https://i.stack.imgur.com/jkcBA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jkcBA.png" alt="enter image description here" /></a></p>
<p>I am using Android Studio Chipmunk 2021.2.1 Patch 2 on a MacPro Monterey Apple chip.</p>
<p>I've tried the followi... | I am facing the following problem. I am using Android Studio Chipmunk 2021.2.1 Patch 2 on a MacPro Monterey Apple chip. I've tried the following Invalidate caches and restart Clean > Rebuild Clean > Rebuild > Sync Project with Gradle Files Remove Android Studio Completely and re-install it. | java|android|android-studio|kotlin | 0 | 2022-08-04T16:07:06.990Z | 2,022 | 8 | 16 | 3 | 776 | 1 | 291 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
73,239,199 | remove silence in audio file android without ffmpeg | <p>How can I remove silence in audio file in android without <strong>ffmpeg</strong>
I search many sites and didn't find anything or any source code</p> | How can I remove silence in audio file in android without ffmpeg I search many sites and didn't find anything or any source code | android|kotlin | 0 | 2022-08-04T16:15:58.783Z | 2,022 | 8 | 16 | 3 | 18 | 0 | 128 | 51 | 2 | 0 | false | true | false | false | false | false | zero |
73,239,274 | Android URI of image/Video like "content://media/external/video/media/3032" can be different overtime | <p>I am working with scopedMedia storage and now getting the URI like this content://media/external/video/media/3032, I have to store them to upload on server. Now I am bit confused what if it could change after some time then it will be big issue in app.
So My question is content URI of image/video remain same or not?... | I am working with scopedMedia storage and now getting the URI like this content://media/external/video/media/3032, I have to store them to upload on server. Now I am bit confused what if it could change after some time then it will be big issue in app. So My question is content URI of image/video remain same or not? | android|android-mediacodec|scoped-storage | 0 | 2022-08-04T16:21:35.447Z | 2,022 | 8 | 16 | 3 | 81 | 0 | 317 | 101 | 3 | 0 | false | true | false | false | false | false | zero |
73,239,384 | AppDynamics.Agent doesn't work on .NET MAUI | <p>After installing the appdynamics.agent api in MAUI the project does not compile.</p>
<p>Error AMM0000 Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from AndroidManifest.xml:24:18-86 is also present at AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentF... | After installing the appdynamics.agent api in MAUI the project does not compile. Error AMM0000 Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from AndroidManifest.xml:24:18-86 is also present at AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory).Su... | android|.net|api|maui|appdynamics | 0 | 2022-08-04T16:29:51.507Z | 2,022 | 8 | 16 | 3 | 53 | 2 | 649 | 43 | 5 | 0 | false | false | false | false | false | false | zero |
73,239,422 | Update an Expo APP in the play Store with a React Native CLI app | <p>I published an app in the play store using expo, but I rewrite the app using React Native CLI.</p>
<p>I Downloaded the keystore file from Expo and add it to the gradle.properties file, and the store password, key alias, and key password</p>
<p>I updated the package name to match with the app in the store using react... | I published an app in the play store using expo, but I rewrite the app using React Native CLI. I Downloaded the keystore file from Expo and add it to the gradle.properties file, and the store password, key alias, and key password I updated the package name to match with the app in the store using react-native-rename Bu... | android|react-native|expo|google-play | 0 | 2022-08-04T16:33:17.093Z | 2,022 | 8 | 16 | 3 | 33 | 0 | 553 | 64 | 4 | 0 | false | true | false | false | false | false | zero |
73,239,641 | Xamarin forms LibVlc not able to to change aspect ratio on ios | <p>I have a video using LibVLC and want to force the video to fit a specific size on the screen.(This will stretch the video slightly).</p>
<p>I was looking at the question <a href="https://stackoverflow.com/questions/67872151/why-i-cant-change-my-video-size-in-xamarin-forms-ios-libvlcsharp">why i can't change my v... | I have a video using LibVLC and want to force the video to fit a specific size on the screen.(This will stretch the video slightly). I was looking at the question why i can't change my video size in xamarin forms ios libvlcsharp as it seems to be a similar/same issue. I don't have enough reputation to leave a comme... | xamarin|xamarin.forms|xamarin.android|libvlc|libvlcsharp | 0 | 2022-08-04T16:51:37.913Z | 2,022 | 8 | 16 | 3 | 74 | 0 | 2,233 | 62 | 5 | 2 | true | true | false | false | false | false | zero |
73,239,652 | Stop Webview from being destroyed in the backstack | <p>I have a WebViewFragment in a Single Activity Application, and I'm using the Android Navigation Component. I wish to keep the WebViewFragment running in the background once I navigate to a new fragment, so as to avoid reloading the website. Is this possible? Code I use to navigate to a new fragment.</p>
<pre><code>N... | I have a WebViewFragment in a Single Activity Application, and I'm using the Android Navigation Component. I wish to keep the WebViewFragment running in the background once I navigate to a new fragment, so as to avoid reloading the website. Is this possible? Code I use to navigate to a new fragment. [CODE] | android|kotlin|android-fragments|android-navigation | 1 | 2022-08-04T16:52:33.510Z | 2,022 | 8 | 16 | 3 | 26 | 0 | 307 | 50 | 4 | 1 | true | true | false | false | false | false | low |
73,239,664 | How to resolve flutter_voice_processor_events(29754) error? | <p>I am having a problem with flutter. I am trying to create a voice recognition system that turns on and listens for keywords and then executes a function when it does. I am using the Porcupine package for this. I am getting the following console output with the error:</p>
<pre><code>Performing hot restart... ... | I am having a problem with flutter. I am trying to create a voice recognition system that turns on and listens for keywords and then executes a function when it does. I am using the Porcupine package for this. I am getting the following console output with the error: [CODE] This is my source code, since I am new to thi... | android|flutter | 0 | 2022-08-04T16:53:46.070Z | 2,022 | 8 | 16 | 3 | 14 | 0 | 502 | 59 | 2 | 2 | true | true | false | false | false | false | zero |
73,239,686 | How to get the map data from the DocumentSnapshot, and get the field name? | <p>Here are my current code and output.</p>
<pre><code>import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
class MedicalConditionList extends StatefulWidget {
const MedicalConditionList({Key? key}) : super(key: key);
@override
State<MedicalConditionList> createSt... | Here are my current code and output. [CODE] Output: I have the data her but how can I do a listView of just the data with value of true, instead of print a whole bunch of data from my firebase. I am thinking if I have a way to just get specific data like asthma when it is true by doing a map search such as [CODE] Somet... | android|flutter|firebase|dart|google-cloud-firestore | 0 | 2022-08-04T16:55:37.010Z | 2,022 | 8 | 16 | 3 | 27 | 0 | 398 | 74 | 5 | 2 | true | true | false | false | false | false | zero |
73,239,719 | Unit testing Google Play Store Billing with Node | <p>I want to write unit tests to test how my backend handles subscriptions and purchases in my android app. I am using the <a href="https://developers.google.com/android-publisher/api-ref/rest/v3/monetization.subscriptions" rel="nofollow noreferrer">Google Play Developer API</a> to create subscriptions and <a href="htt... | I want to write unit tests to test how my backend handles subscriptions and purchases in my android app. I am using the Google Play Developer API to create subscriptions and real-time developer notifications (RTDN) to listen for updates. Is there a way to test either the Google Play Developer API or RTDN programaticall... | android|unit-testing|google-play|google-play-developer-api|google-play-billing | 0 | 2022-08-04T16:58:48.893Z | 2,022 | 8 | 16 | 3 | 49 | 0 | 1,419 | 48 | 5 | 0 | false | true | false | false | false | false | zero |
73,239,780 | Build Failed with an exception even I changed the gradle to 7.0.3 and also the gradle JDK in Android Studio to version 11 | <p>Configure project :app
app: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.12.0'.</p>
<p><em>FAILURE: Build failed with an exception.</em></p>
<ul>
<li><p>What went wrong:
... | Configure project :app app: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.12.0'. FAILURE: Build failed with an exception. What went wrong: Task 'package' is ambiguous in root... | android-studio|kotlin|gradle | 0 | 2022-08-04T17:02:56.323Z | 2,022 | 8 | 17 | 3 | 148 | 1 | 1,164 | 121 | 3 | 0 | false | false | false | false | false | false | zero |
73,239,788 | how to call two @GET function on android paging3 PagingSource | <p>I'm using paging3 with retrofit to retrieve articles from an Api so they will be displayed on two fragments, one for all articles and the second for searching for articles that meet a query.
How to use PagingSource to feed the two fragments, I think I should define two @GET functions and two PagingSource, but I'm ... | I'm using paging3 with retrofit to retrieve articles from an Api so they will be displayed on two fragments, one for all articles and the second for searching for articles that meet a query. How to use PagingSource to feed the two fragments, I think I should define two @GET functions and two PagingSource, but I'm wonde... | android-studio|kotlin|pagination | 0 | 2022-08-04T17:03:25.320Z | 2,022 | 8 | 17 | 3 | 22 | 0 | 585 | 61 | 3 | 2 | true | true | false | false | false | false | zero |
73,239,836 | BUILD FAILED when I want to get SHA1 ran gradlew signingReport on my android studio | <p>I want to get SHA 1 and ran ../gradlew signingReport and got following error:
PS D:\programing\FONTANATRAVELWITHACCOUNTDELETE\apps\rider-app\android\app> ../gradlew signingreport</p>
<pre><code>FAILURE: Build failed with an exception.
* Where:
Settings file 'D:\programing\FONTANATRAVELWITHACCOUNTDELETE\apps\ride... | I want to get SHA 1 and ran ../gradlew signingReport and got following error: PS D:\programing\FONTANATRAVELWITHACCOUNTDELETE\apps\rider-app\android\app> ../gradlew signingreport [CODE] | android|flutter|sha1 | 0 | 2022-08-04T17:07:33.943Z | 2,022 | 8 | 17 | 3 | 56 | 1 | 185 | 83 | 3 | 1 | true | false | 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.