id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,273,928 | Flutter Local Storage: FileSystemException | <p>FileSystemException: An async operation is currently pending, path = '/data/user/0/com.example.ride/app_flutter/localstorage</p>
<p><code>final LocalStorage storage = LocalStorage('localstorage_app');</code></p>
<p><code>storage.setItem("walkThrough", "finish");</code></p>
<p>Data has been stored... | FileSystemException: An async operation is currently pending, path = '/data/user/0/com.example.ride/app_flutter/localstorage final LocalStorage storage = LocalStorage('localstorage_app'); storage.setItem("walkThrough", "finish"); Data has been stored (setItem) and retrieved (getItem) using localstor... | android|flutter|dart|local-storage|flutter-dependencies | 0 | 2022-05-17T12:18:06.343Z | 2,022 | 5 | 12 | 1 | 204 | 1 | 481 | 42 | 5 | 0 | false | false | false | false | false | false | zero |
72,273,953 | How to get file path inside folder structure | <p>I am looking for a maybe better solution to get the path of a file inside a folder.
For example:</p>
<p>I have the absolute path: "/storage/emulated/0/Mobile Pauker++/Lessons/Berge/Hoechste-Berge.pau.gz"</p>
<p>And I want to get: "Lessons/Berge/Hoechste-Berge.pau.gz"</p>
<p>My current solution is... | I am looking for a maybe better solution to get the path of a file inside a folder. For example: I have the absolute path: "/storage/emulated/0/Mobile Pauker++/Lessons/Berge/Hoechste-Berge.pau.gz" And I want to get: "Lessons/Berge/Hoechste-Berge.pau.gz" My current solution is: [CODE] But I don't thi... | android | 0 | 2022-05-17T12:19:30.127Z | 2,022 | 5 | 12 | 1 | 41 | 2 | 352 | 44 | 1 | 1 | true | false | false | false | false | false | zero |
72,273,983 | How to implement nested paging in android kotlin? | <p>I have a recyclerview , for i using pagin 3 with coroutine live data .
but child recyclerview also have paginate data so how can i perform this nested pagination in android kotlin.</p> | I have a recyclerview , for i using pagin 3 with coroutine live data . but child recyclerview also have paginate data so how can i perform this nested pagination in android kotlin. | kotlin|android-recyclerview|pagination|nestedrecyclerview|scroll-paging | 1 | 2022-05-17T12:21:13.380Z | 2,022 | 5 | 12 | 1 | 187 | 1 | 180 | 49 | 5 | 0 | false | false | false | false | false | false | low |
72,274,008 | In flutter if i want to put height 10px or 10% so how should i used it? | <p><strong>Any type of height, width, top, left, right, etc.. needs px OR %(percentage) so how can I use it.
it can be a Container, Padding, SizeBox, etc.. widget.</strong></p>
<pre><code>margin: EdgeInsets.only(top: 10.0), //need 10px or 10%, so how to use ?
</code></pre> | Any type of height, width, top, left, right, etc.. needs px OR %(percentage) so how can I use it. it can be a Container, Padding, SizeBox, etc.. widget. [CODE] | android|flutter|dart|flutter-dependencies | 0 | 2022-05-17T12:23:23.570Z | 2,022 | 5 | 12 | 1 | 373 | 3 | 159 | 71 | 4 | 1 | true | false | false | false | false | false | zero |
72,274,067 | Why do I get 'Suspension functions can be called only within coroutine body' if I don't add apply {} | <p>Could someone please explain why I get a build error</p>
<blockquote>
<p>Suspension functions can be called only within coroutine body</p>
</blockquote>
<p>for ::anotherSuspenseFunction in following snippet</p>
<pre><code>suspend fun anotherSuspenseFunction() = Response.success(BaseResultDataModel())
suspend fun ex... | Could someone please explain why I get a build error Suspension functions can be called only within coroutine body for ::anotherSuspenseFunction in following snippet [CODE] I don't get it when I add an empty apply on the end of call. [CODE] This also works: [CODE] Submit signature looks like this: [CODE] Call signature... | android|kotlin|kotlin-coroutines | 3 | 2022-05-17T12:26:54.087Z | 2,022 | 5 | 12 | 1 | 66 | 0 | 344 | 100 | 3 | 5 | true | true | false | false | false | false | low |
72,274,086 | android status bar font color is always white | <p>I have the following theme for light mode in themes.xml:</p>
<pre><code><style name="Theme.MainTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimaryDark">@color/colorPrimaryVariant1Light</item>
<item name="android:statu... | I have the following theme for light mode in themes.xml: [CODE] I definite night theme values in night/themes.xml as follows: [CODE] The colors are white and black for colorPrimaryVariant1Light and colorPrimaryVariant1Dark respectively. The background color of the status bar changes nicely, but the color of text and ic... | android|kotlin|android-theme|material-components-android|android-statusbar | 1 | 2022-05-17T12:28:20.903Z | 2,022 | 5 | 12 | 1 | 152 | 1 | 561 | 45 | 5 | 2 | true | false | false | false | false | false | low |
72,274,287 | Android AppWidget - sometimes the onDataSetChanged() method doesn't get called | <p>I noticed strange behavior of the widget in my app. Sometimes the <code>onDataSetChanged()</code> method from <code>RemoteViewsFactory</code> class is not called (of course when the app is in the background and widget is visible) even though the <code>notifyAppWidgetViewDataChanged()</code> from <code>AppWidgetManag... | I noticed strange behavior of the widget in my app. Sometimes the onDataSetChanged() method from RemoteViewsFactory class is not called (of course when the app is in the background and widget is visible) even though the notifyAppWidgetViewDataChanged() from AppWidgetManager class works correctly. I don't see any specif... | android|kotlin|android-widget | 1 | 2022-05-17T12:44:21.493Z | 2,022 | 5 | 12 | 1 | 30 | 0 | 748 | 78 | 3 | 5 | true | true | false | false | false | false | low |
72,274,375 | Kotlin extract time form the date | <p>I have a date with that format: 2027-02-14T14:20:00.000</p>
<p>I would like to take hours and minutes from it like in that case: 14:20</p>
<p>I was trying to do something like this:</p>
<pre><code>val firstDate = SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.US).parse("2027-02-14T14:20:00.000")
... | I have a date with that format: 2027-02-14T14:20:00.000 I would like to take hours and minutes from it like in that case: 14:20 I was trying to do something like this: [CODE] but I got crash java.text.ParseException: Unparseable date How to take hours and minutes from that string ? | android|kotlin|date|datetime|simpledateformat | -1 | 2022-05-17T12:49:37.577Z | 2,022 | 5 | 12 | 1 | 390 | 1 | 282 | 33 | 5 | 1 | true | false | false | false | false | true | negative |
72,274,642 | resConfigs attribute does not work as I expected, Reads from a different language, Not the device language | <p>My app support two languages (English and Arabic languages)</p>
<pre><code>values -> strings.xml (Contains English texts)
values-ar -> strings.xml (Contains Arabic texts)
</code></pre>
<p>I added the FirebaseUI library inside my app and I need to use English and Arabic languages only from that library and excl... | My app support two languages (English and Arabic languages) [CODE] I added the FirebaseUI library inside my app and I need to use English and Arabic languages only from that library and exclude other languages. Here is what I did build.gradle [CODE] Here is the result after a few tests If the device language was the Ar... | android|firebase|android-gradle-plugin|firebaseui | 1 | 2022-05-17T13:08:09.480Z | 2,022 | 5 | 13 | 1 | 42 | 0 | 848 | 106 | 4 | 2 | true | true | false | false | false | false | low |
72,274,735 | BluetoothSocket.connect() Android 12 Permission issue on certain devices | <p>We use Bluetooth Low Energy L2CAP Channels (introduced in Android API Level 29) to transfer data to our BLE devices. Recently we've got reports that it's not working on this devices:</p>
<ul>
<li>Oppo Find X2 Pro, API Level 31 (Android 12)</li>
<li>Sony Xperia 1 III, API Level 31 (Android 12)</li>
</ul>
<p>It turned... | We use Bluetooth Low Energy L2CAP Channels (introduced in Android API Level 29) to transfer data to our BLE devices. Recently we've got reports that it's not working on this devices: Oppo Find X2 Pro, API Level 31 (Android 12) Sony Xperia 1 III, API Level 31 (Android 12) It turned out that when calling BluetoothSocket.... | android|bluetooth-lowenergy|android-permissions|l2cap | 2 | 2022-05-17T13:15:01.603Z | 2,022 | 5 | 13 | 1 | 258 | 0 | 893 | 72 | 4 | 1 | true | true | false | false | false | false | low |
72,274,767 | onItemClick() event not fired with HorizontalScrollView in android | <p>I'm using <a href="https://github.com/klinker41/android-chips" rel="nofollow noreferrer">ChipView</a> in android.</p>
<p>I've added <code>HorizontalScrollView</code> to <a href="https://github.com/klinker41/android-chips/blob/master/library/src/main/res/layout/chips_recipient_dropdown_item.xml" rel="nofollow norefe... | I'm using ChipView in android. I've added HorizontalScrollView to chips_recipient_dropdown_item.xml file. but now the onItemClick event is not fired of the class RecipientEditTextView.java RecipientEditTextView.java https://github.com/klinker41/android-chips/blob/master/library/src/main/java/com/android/ex/chips/Recipi... | android|horizontalscrollview|android-chips | 1 | 2022-05-17T13:17:38.580Z | 2,022 | 5 | 13 | 1 | 34 | 0 | 1,081 | 66 | 3 | 2 | true | true | false | false | false | false | low |
72,274,783 | How to use specific stored data as category in SQLite of android studio | <p>I want to save a “burger” department in categories activity, and then use department name as categories to store kinds of burger on it’s section then show it after I clicked on it’s section.</p> | I want to save a “burger” department in categories activity, and then use department name as categories to store kinds of burger on it’s section then show it after I clicked on it’s section. | java|sqlite|android-studio|gridview | 0 | 2022-05-17T13:18:12.133Z | 2,022 | 5 | 13 | 1 | 12 | 0 | 190 | 71 | 4 | 0 | false | true | false | false | false | false | zero |
72,274,848 | Android studio problem on build.gradle on ascill | <p><a href="https://i.stack.imgur.com/2fFao.jpg" rel="nofollow noreferrer">Hear is the problem</a></p>
<p>There is problem in my projects on build.gradle</p> | Hear is the problem There is problem in my projects on build.gradle | android-studio | 0 | 2022-05-17T13:23:10.893Z | 2,022 | 5 | 13 | 1 | 9 | 0 | 67 | 48 | 1 | 0 | false | true | false | false | false | false | zero |
72,274,856 | How to dynamically change the background color of an Appbar and a button with a button? | <p>I would like to change the color of an AppBar, text, and button with a button and its onPressed function.</p>
<p>I would like the color to update when tapping/pressing the button.</p>
<p>The colors of AppBar, text, and button would be different for each one.</p> | I would like to change the color of an AppBar, text, and button with a button and its onPressed function. I would like the color to update when tapping/pressing the button. The colors of AppBar, text, and button would be different for each one. | flutter|function|android-studio|colors|appbar | 0 | 2022-05-17T13:23:59.663Z | 2,022 | 5 | 13 | 1 | 145 | 1 | 244 | 87 | 5 | 0 | false | false | false | false | false | false | zero |
72,274,907 | LiveData not Updating Dialog ui After ReOpen | <p>when open the dialog first time and make a request .. the live data observer updating my ui .. but when close it and open it again ... the observer not updating my ui .. although it showing a toast</p>
<p>Dialog</p>
<pre><code> class ChooseTerritoryDialog(
private var activity: AppCompatActivity,
private var lis... | when open the dialog first time and make a request .. the live data observer updating my ui .. but when close it and open it again ... the observer not updating my ui .. although it showing a toast Dialog [CODE] ) : BaseDialog(activity), ChooseTerritoryAdapter.OnTerritoryItem { [CODE] Observers [CODE] | android|kotlin | 0 | 2022-05-17T13:27:29.833Z | 2,022 | 5 | 13 | 1 | 108 | 1 | 302 | 44 | 2 | 3 | true | false | false | false | false | false | zero |
72,274,921 | Coroutines, dispatchers, and inappropriate blocking methods | <p>I wrote an app that basically does a lot of IO in response to user prompts. It seems to work fine, but Android Studio complains that all its IO method invocations are "Inappropriate blocking methods."</p>
<p>I tried to follow the official recommendations (<a href="https://developer.android.com/kotlin/corou... | I wrote an app that basically does a lot of IO in response to user prompts. It seems to work fine, but Android Studio complains that all its IO method invocations are "Inappropriate blocking methods." I tried to follow the official recommendations ( here and here ), so I used coroutines and wrapped all my IO ... | android|android-studio|kotlin|blocking | 0 | 2022-05-17T13:28:18.013Z | 2,022 | 5 | 13 | 1 | 66 | 1 | 2,085 | 59 | 4 | 1 | true | false | false | false | false | false | zero |
72,274,946 | Firebase Rules : How to get and compare fileds values from collections | <p>I want to write rules, where user after login can read all instruments and holders only which are contains the same "companyName" and compare in all collection of authInfo, and get value of it only if current auth email equals to field value "email". Is it possible to do in rules? Thanks</p>
<pre... | I want to write rules, where user after login can read all instruments and holders only which are contains the same "companyName" and compare in all collection of authInfo, and get value of it only if current auth email equals to field value "email". Is it possible to do in rules? Thanks [CODE] Auth... | android|firebase|google-cloud-firestore|firebase-security | 0 | 2022-05-17T13:29:40.037Z | 2,022 | 5 | 13 | 1 | 53 | 0 | 360 | 70 | 4 | 1 | true | true | false | false | false | false | zero |
72,275,033 | Android app - Send gamepad key through keyboard input | <p>I am developing a keyboard app for Android in Java and I want to be able to send inputs as if my application was a virtual game controller.</p>
<p>Example:</p>
<p>The inputs I want to send are among the following default buttons (DPAD_UP, BUTTON_A, etc)</p>
<p><a href="https://i.stack.imgur.com/sq4Kg.png" rel="nofol... | I am developing a keyboard app for Android in Java and I want to be able to send inputs as if my application was a virtual game controller. Example: The inputs I want to send are among the following default buttons (DPAD_UP, BUTTON_A, etc) Image source: https://developer.android.com/training/game-controllers/controller... | java|android|input|keyboard|gamepad | 0 | 2022-05-17T13:36:11.640Z | 2,022 | 5 | 13 | 1 | 143 | 0 | 1,745 | 53 | 5 | 1 | true | true | false | false | false | false | zero |
72,275,252 | Gradle doens't work offline in Android Studio 2021.2.1 | <p>I'm trying to use Android Studio offline because in the place I work, IT policy doesn't allow me to download .jar or .zip or some similar files though I can request the files which I want to download from IT team. I tried to create a hello world project offline but gradle didn't synchronised so I couldn't even run a... | I'm trying to use Android Studio offline because in the place I work, IT policy doesn't allow me to download .jar or .zip or some similar files though I can request the files which I want to download from IT team. I tried to create a hello world project offline but gradle didn't synchronised so I couldn't even run a si... | android|android-studio|gradle|build.gradle|android-studio-chipmunk | 0 | 2022-05-17T13:50:43.773Z | 2,022 | 5 | 13 | 1 | 441 | 0 | 1,163 | 54 | 5 | 2 | true | true | false | false | false | false | zero |
72,275,306 | Task 'prepareKotlinBuildScriptModel' not found in project | <p>I have this error in my project <code>Task 'prepareKotlinBuildScriptModel' not found in project </code> I was looking at it online and found that adding the following lines will fix it</p>
<pre><code>task prepareKotlinBuildScriptModel {
}
</code></pre>
<p>I tried adding the above to build.gradle.kts and following e... | I have this error in my project Task 'prepareKotlinBuildScriptModel' not found in project I was looking at it online and found that adding the following lines will fix it [CODE] I tried adding the above to build.gradle.kts and following error ocured. Function invocation 'task(...)' expected I also tried tasks.register(... | android|kotlin|gradle|android-gradle-plugin | 2 | 2022-05-17T13:54:12.367Z | 2,022 | 5 | 13 | 1 | 886 | 1 | 478 | 57 | 4 | 1 | true | false | false | false | false | false | low |
72,275,380 | Event Listener in Firestore doesn’t see field updates in documents inside collection. Android, Java | <p>I have next firestore scheme:
collection "users" - document user_id - collection "trips" - document trip_id - collection "requests" - document request_user_id with fields: and boolean field <is_accepted></p>
<p>On one of my pages I want to listen to realtime updates of requests: ... | I have next firestore scheme: collection "users" - document user_id - collection "trips" - document trip_id - collection "requests" - document request_user_id with fields: and boolean field <is_accepted> On one of my pages I want to listen to realtime updates of requests: if <is_accepted> ... | java|android|google-cloud-firestore | 0 | 2022-05-17T13:58:11.103Z | 2,022 | 5 | 13 | 1 | 50 | 1 | 584 | 99 | 3 | 2 | true | false | false | false | false | false | zero |
72,275,461 | Java.Lang.NullPointerException: 'Attempt to invoke virtual method 'void android.app.Activity.requestPermissions(java.lang.String[], int)' | <p>I have tried to request on App's class to request the READ_CONTACTS permissions but throws an exception
Exception
Java.Lang.NullPointerException: 'Attempt to invoke virtual method 'void android.app.Activity.requestPermissions(java.lang.String[], int)' on a null object reference'</p>
<pre><code>{
public App(Signa... | I have tried to request on App's class to request the READ_CONTACTS permissions but throws an exception Exception Java.Lang.NullPointerException: 'Attempt to invoke virtual method 'void android.app.Activity.requestPermissions(java.lang.String[], int)' on a null object reference' [CODE] So I wonder if there is possibly ... | android|xamarin|maui|.net-maui | 0 | 2022-05-17T14:03:59.580Z | 2,022 | 5 | 14 | 1 | 331 | 1 | 470 | 137 | 4 | 1 | true | false | false | false | false | false | zero |
72,275,557 | Android, How to make a @Parcelize with builder | <p>Having a Parcelable which has a lot members, and it has a private constructor so it can only be instantiated through a Builder. (And this class is also used in Java side of the code.)
Now would like to use <code>@Parcelize</code> to remove some of the helper functions (like <code>writeMapToParcel</code> etc.) to mak... | Having a Parcelable which has a lot members, and it has a private constructor so it can only be instantiated through a Builder. (And this class is also used in Java side of the code.) Now would like to use @Parcelize to remove some of the helper functions (like writeMapToParcel etc.) to make the class simpler. @Parceli... | android|kotlin|builder|parcelable | 0 | 2022-05-17T14:09:52.097Z | 2,022 | 5 | 14 | 1 | 59 | 1 | 557 | 46 | 4 | 1 | true | false | false | false | false | false | zero |
72,275,572 | Is uploading a new APK to the store considered an IMMEDIATE update? | <p>I have added the relevant code for the in-app updates to force the user to update the app when an <code>IMMEDIATE</code> update is detected:</p>
<pre><code>private void checkInAppUpdate() {
appUpdateManager = AppUpdateManagerFactory.create(this);
appUpdateManager
.getAppUpdateInfo()
.... | I have added the relevant code for the in-app updates to force the user to update the app when an IMMEDIATE update is detected: [CODE] But what I couldn't figure out from the documentation is what happens when I upload a new APK to the store - will my code pick up on that and present the user with the native update scr... | android|google-play|in-app-update | 0 | 2022-05-17T14:10:42.997Z | 2,022 | 5 | 14 | 1 | 29 | 0 | 556 | 67 | 3 | 1 | true | true | false | false | false | false | zero |
72,275,594 | How do I run older Flutter Project that has Gradle build errors? | <p>I am trying to running a pretty old Flutter project within these version:</p>
<pre><code>Flutter 1.22.6
Dart 2.10.5
Java 1.8.0_321
Android Studio 2021.2.1
</code></pre>
<p>And for whatever reason, after I update my Android Studio (I don't event know if this is related), I cant't running my project properly with thi... | I am trying to running a pretty old Flutter project within these version: [CODE] And for whatever reason, after I update my Android Studio (I don't event know if this is related), I cant't running my project properly with this error below: [CODE] And my flutter doctor -v is also weird not detecting the Android Studio's... | android|firebase|flutter|gradle|facebook-android-sdk | 0 | 2022-05-17T14:11:58.033Z | 2,022 | 5 | 14 | 1 | 187 | 1 | 548 | 64 | 5 | 4 | true | false | false | false | false | false | zero |
72,275,606 | How to have Automatic Notifications with APi being updated | <p>So im new to android and kotlin but im required to enable push notifications with an android app that relies heavily on api's, the notification will be triggered as the api gets updated by users, weather conditions etc. So I have seen that notifications are usually built with firebase cloud messaging but I'm still a... | So im new to android and kotlin but im required to enable push notifications with an android app that relies heavily on api's, the notification will be triggered as the api gets updated by users, weather conditions etc. So I have seen that notifications are usually built with firebase cloud messaging but I'm still a bi... | android|firebase|kotlin|push-notification|background | 0 | 2022-05-17T14:13:02.850Z | 2,022 | 5 | 14 | 1 | 29 | 0 | 630 | 58 | 5 | 0 | false | true | false | false | false | false | zero |
72,275,732 | How to get com.google.android.exoplayer:exoplayer-core:2.7.3 from maven in android studio | <p>Today, I got an trouble when get library from maven and I can't download com.google.android.exoplayer:exoplayer-core:2.7.3 when I use gradle in android studio.</p>
<pre><code>implementation 'com.google.android.exoplayer:exoplayer-core:2.7.3'
</code></pre>
<p>I know this is old version but I still want to use it.
I t... | Today, I got an trouble when get library from maven and I can't download com.google.android.exoplayer:exoplayer-core:2.7.3 when I use gradle in android studio. [CODE] I know this is old version but I still want to use it. I tried to download from maven repository but not found the file https://mvnrepository.com/artifac... | android|maven|gradle | 0 | 2022-05-17T14:20:46.813Z | 2,022 | 5 | 14 | 1 | 273 | 0 | 420 | 89 | 3 | 1 | true | true | false | false | false | false | zero |
72,275,771 | Custom layout for RowsSupportFrament | <p>In <code>AndroidTv</code> is it correct way to use custom layout for <code>RowsSupportFragment</code>
..</p>
<pre><code>class MyFragment extends RowsSupportFragment {
private View vv;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
th... | In AndroidTv is it correct way to use custom layout for RowsSupportFragment .. [CODE] where fragment_home layout is custom like: [CODE] Its working but I am not sure if its right to use this way | android|android-tv | 0 | 2022-05-17T14:23:42.897Z | 2,022 | 5 | 14 | 1 | 70 | 0 | 194 | 36 | 2 | 2 | true | true | false | false | false | false | zero |
72,275,820 | Android - custom uninstallation screen | <p>Is possible to create custom activity which will be displayed if user performs application uninstallation?</p>
<p>I need to inform user that he has some data inside private folder and i want provide backuping mechanism</p> | Is possible to create custom activity which will be displayed if user performs application uninstallation? I need to inform user that he has some data inside private folder and i want provide backuping mechanism | android|android-activity|uninstallation | 0 | 2022-05-17T14:27:08.343Z | 2,022 | 5 | 14 | 1 | 16 | 0 | 211 | 38 | 3 | 0 | false | true | false | false | false | false | zero |
72,275,851 | Filament Animation Blending | <p>I would like to know how using Filament Google it is possible to cross-fade between two animations. In the documentation found I can't find anything relevant on GitHub</p> | I would like to know how using Filament Google it is possible to cross-fade between two animations. In the documentation found I can't find anything relevant on GitHub | android|animation|blending|google-filament | 0 | 2022-05-17T14:29:54.270Z | 2,022 | 5 | 14 | 1 | 62 | 0 | 167 | 27 | 4 | 0 | false | true | false | false | false | false | zero |
72,275,877 | How to customise Webview to navigate website using back button in React Native and exit app by pressing back twice? | <p>I am facing issues in implementing Webview navigation of website using back button as back button when pressed exits the app.</p>
<p>I implemented a button functionality that uses the browser functionality of going back to the previous page and next page. But, this was not an effective implementation.</p>
<p>Here's ... | I am facing issues in implementing Webview navigation of website using back button as back button when pressed exits the app. I implemented a button functionality that uses the browser functionality of going back to the previous page and next page. But, this was not an effective implementation. Here's my webview code: ... | javascript|android|react-native|expo | 0 | 2022-05-17T14:31:17.293Z | 2,022 | 5 | 14 | 1 | 101 | 0 | 376 | 115 | 4 | 1 | true | true | false | false | false | false | zero |
72,275,883 | Notifications in app only, not in notification center | <p>is it possible to have notifications pop up, make a sound and be shortly visible at the top of the screen but not be logged via the notification center?</p>
<p>My idea is to have the user be notified of any important actions. But while the user is inside the app the notifications should not pool up inside the notifi... | is it possible to have notifications pop up, make a sound and be shortly visible at the top of the screen but not be logged via the notification center? My idea is to have the user be notified of any important actions. But while the user is inside the app the notifications should not pool up inside the notification cen... | android|notifications | 0 | 2022-05-17T14:31:28.460Z | 2,022 | 5 | 14 | 1 | 51 | 1 | 596 | 53 | 2 | 0 | false | false | false | false | false | false | zero |
72,276,033 | Call with a button a saved number in another page( IONIC, Angular) | <p>Hi I want to call a number which is saved in another page.
I don't know how to explain this well but I put some captures, and the code that I'm trying to use, I just only want to catch the value of the number and put into the button to call.
I'm using ionic framework and angular. I'm very new at this but I want to c... | Hi I want to call a number which is saved in another page. I don't know how to explain this well but I put some captures, and the code that I'm trying to use, I just only want to catch the value of the number and put into the button to call. I'm using ionic framework and angular. I'm very new at this but I want to crea... | android|angular|ionic-framework | 0 | 2022-05-17T14:40:57.477Z | 2,022 | 5 | 14 | 1 | 63 | 2 | 512 | 66 | 3 | 0 | false | false | false | false | false | false | zero |
72,276,059 | Setting 'allowBackup=false' clear shared preferences on app update in Android devices | <p>I am trying to signout the users when they update the apps. For that setting allowBackup=false, will it clear the shared preferences when the app is updated?</p>
<p>Thank you in advance.</p> | I am trying to signout the users when they update the apps. For that setting allowBackup=false, will it clear the shared preferences when the app is updated? Thank you in advance. | java|android|xml|kotlin | -1 | 2022-05-17T14:42:28.500Z | 2,022 | 5 | 14 | 1 | 82 | 2 | 179 | 85 | 4 | 0 | false | false | false | false | false | true | negative |
72,276,174 | Only show specific type on picking images | <p>I have a function to pick specific image type. But my gallery is showing all types and give it less alpha to the unmatched types. My expected result is that the gallery only shows the specific types.
My code:</p>
<pre><code>val intent = Intent(
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)... | I have a function to pick specific image type. But my gallery is showing all types and give it less alpha to the unmatched types. My expected result is that the gallery only shows the specific types. My code: [CODE] The result: The expected result most be that the explorer only shows the color one on the top and no one... | android|kotlin|android-intent | 0 | 2022-05-17T14:49:58.027Z | 2,022 | 5 | 14 | 1 | 44 | 1 | 341 | 41 | 3 | 1 | true | false | false | false | false | false | zero |
72,276,268 | Setting MediaFormat.KEY_MAX_INPUT_SIZE | <p>My app encodes a PCM file to a m4a file using MediaMuxer, MediaFormat, and MediaCodec.
I read some code that sets things like this:</p>
<pre><code>MediaFormat outputFormat = MediaFormat.createAudioFormat("audio/mp4a-latm", SampleRate, 1);
outputFormat.setInteger(MediaFormat.KEY_AAC_PROFILE, MediaCodecInfo.... | My app encodes a PCM file to a m4a file using MediaMuxer, MediaFormat, and MediaCodec. I read some code that sets things like this: [CODE] I searched for MediaFormat.KEY_MAX_INPUT_SIZE , but it is not clear to me why it is necessary to be set. I've read that some Samsung devices crash without this, but I don't know if ... | java|android|audio|encode|m4a | 0 | 2022-05-17T14:56:33.320Z | 2,022 | 5 | 14 | 1 | 66 | 0 | 403 | 38 | 5 | 1 | true | true | false | false | false | false | zero |
72,276,421 | Trust additional CAs and make use of the Android certificate store in a net6 MAUI solution | <pre><code>System.Net.WebException:
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.'
</code></pre>
<p>This is an error that occurs in my VS2022 solution when working with a self signed certificate and Android.</p>
<p><strong>The case is the following:</strong><br />
It is ... | [CODE] This is an error that occurs in my VS2022 solution when working with a self signed certificate and Android. The case is the following: It is an android app that runs on an local network, with a local https backend service. A certificate has been issued for this service by the domain admin. However, the domain is... | c#|android|xamarin.android|maui | 2 | 2022-05-17T15:06:30.787Z | 2,022 | 5 | 15 | 1 | 439 | 3 | 1,561 | 90 | 4 | 1 | true | false | false | false | false | false | low |
72,276,472 | google login for my app how to review in Play store and App Store review | <p>my app has login mandatory that to they can login only with registered mail id in database ,do I need to create a separate mail id and give it for review process while submitting the app to play store and App Store</p> | my app has login mandatory that to they can login only with registered mail id in database ,do I need to create a separate mail id and give it for review process while submitting the app to play store and App Store | ios|flutter|android-studio|google-play|app-store-connect | 0 | 2022-05-17T15:09:39.037Z | 2,022 | 5 | 15 | 1 | 35 | 0 | 214 | 72 | 5 | 0 | false | true | false | false | false | false | zero |
72,276,531 | How to parse this long to int using typecasting | <p>I want to parse this to <code>int</code> using typecasting</p>
<pre><code>int noOfTest = catDoc.getLong("NO_OF_TESTS").intValue();
</code></pre>
<p>How can I do it?</p> | I want to parse this to int using typecasting [CODE] How can I do it? | firebase|android-studio | 0 | 2022-05-17T15:13:13.060Z | 2,022 | 5 | 15 | 1 | 15 | 0 | 69 | 47 | 2 | 1 | true | true | false | false | false | false | zero |
72,276,635 | Agora UE5 Android build Failed to extract native libraries for ARM64 | <p>I'm trying to use Agora with UE5 to build for Android devices, when trying to build for Windows it works properly.</p>
<p>But for Android:
I get the failed: [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] error when building for Android device.
<a href="https://i.stack.imgur.com/tciDx... | I'm trying to use Agora with UE5 to build for Android devices, when trying to build for Windows it works properly. But for Android: I get the failed: [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] error when building for Android device. Any way to fix this? I made sure to uncomment this... | android|sdk|libraries|agora.io|unreal-engine5 | 0 | 2022-05-17T15:18:48.870Z | 2,022 | 5 | 15 | 1 | 186 | 1 | 1,029 | 68 | 5 | 0 | false | false | false | false | false | false | zero |
72,276,685 | How to rename the app Bundle name from Android gradle with multiple product flavors? | <h2>As I was able to <a href="https://stackoverflow.com/a/59774018/1684864">rename the APK using this way</a> but could not get how to rename App Bundle with multiple flavors.</h2>
<pre><code>android.applicationVariants.all { variant ->
variant.outputs.all { output ->
output.outputFileName = "${v... | As I was able to rename the APK using this way but could not get how to rename App Bundle with multiple flavors. [CODE] Here are my app flavors and split APK code [CODE] [CODE] | android|android-studio|gradle|build.gradle|android-app-bundle | 0 | 2022-05-17T15:22:05.990Z | 2,022 | 5 | 15 | 1 | 166 | 1 | 176 | 84 | 5 | 3 | true | false | false | false | false | false | zero |
72,276,730 | Change all node_modules build.gradle dependencies to match gradle 7.x | <p>I have updated my project from react-native <strong>0.63.3</strong> to <strong>0.68.1</strong> and so on gradle from <strong>4.x</strong> to <strong>7.x</strong> and I have an issue with different <em>node_modules</em> that are still using <code>compile</code> in their build.gradle <em>dependencies</em> that giving ... | I have updated my project from react-native 0.63.3 to 0.68.1 and so on gradle from 4.x to 7.x and I have an issue with different node_modules that are still using compile in their build.gradle dependencies that giving me an error : Could not find method compile() for arguments [directory 'libs'] on object of type org.g... | android|react-native | 0 | 2022-05-17T15:25:10.503Z | 2,022 | 5 | 15 | 1 | 43 | 0 | 596 | 69 | 2 | 0 | false | true | false | false | false | false | zero |
72,276,981 | BroadcastReceiver in Android 12+ | <p>a BroadcastReceiver (TIME_TICK,USER_PRESENT) needs a Long running Service that no stopped at a time or when close a Activity (example a Widget)</p>
<p>Since Android 12 a Service start not with <strong>ForegroundServiceStartNotAllowedException</strong>.</p>
<p>But WorkManager have setForeground(). Is this also a Serv... | a BroadcastReceiver (TIME_TICK,USER_PRESENT) needs a Long running Service that no stopped at a time or when close a Activity (example a Widget) Since Android 12 a Service start not with ForegroundServiceStartNotAllowedException . But WorkManager have setForeground(). Is this also a Service? How can i start with WorkMan... | android|broadcastreceiver|android-workmanager | 1 | 2022-05-17T15:40:41.837Z | 2,022 | 5 | 15 | 1 | 250 | 2 | 448 | 32 | 3 | 1 | true | false | false | false | false | false | low |
72,277,024 | ViewBinding with PaintsFlag STRIKE_THRU_TEXT_FLAG not working properly | <p>I have a todo app and I am accessing my views with ViewBinding from my onBindViewHolder class. I put a function to check the state of a Boolean(a checkBox in this sense) and toggle a strikethrough on the TextView(Todo) based on the state of that Boolean. I also put a <code>setOnCheckedChangeListener</code> to know w... | I have a todo app and I am accessing my views with ViewBinding from my onBindViewHolder class. I put a function to check the state of a Boolean(a checkBox in this sense) and toggle a strikethrough on the TextView(Todo) based on the state of that Boolean. I also put a setOnCheckedChangeListener to know when the state of... | android|kotlin|android-viewbinding|strikethrough | 0 | 2022-05-17T15:43:52.083Z | 2,022 | 5 | 15 | 1 | 45 | 1 | 1,127 | 70 | 4 | 2 | true | false | false | false | false | false | zero |
72,277,053 | state_pressed remains true while onClick is running | <p>I want to set a different background color for a button only while the button is being touched by the user.</p>
<p>But that color remains that way during the whole time onClick for that button is running even though I am no longer touching the button</p>
<p>Please help me find a solution to this</p>
<pre><code><?... | I want to set a different background color for a button only while the button is being touched by the user. But that color remains that way during the whole time onClick for that button is running even though I am no longer touching the button Please help me find a solution to this [CODE] | java|android | 0 | 2022-05-17T15:45:43.527Z | 2,022 | 5 | 15 | 1 | 18 | 1 | 289 | 51 | 2 | 1 | true | false | false | false | false | false | zero |
72,277,176 | Register Sign In with fiebase is not working | <p><a href="https://i.stack.imgur.com/nyTQT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nyTQT.png" alt="enter image description here" /></a></p>
<p>Althought my code has no errors whenever I fill all the champs (FullName, email,..) and click the Register Button the data doesn't get uploaded to th... | Althought my code has no errors whenever I fill all the champs (FullName, email,..) and click the Register Button the data doesn't get uploaded to the database and keeps saying "Failed to register! Try again!" Somoene told me that i have to provide my firebase uri inside the getInstance() method in order for ... | android|firebase|authentication|firebase-realtime-database|firebase-authentication | 0 | 2022-05-17T15:55:05.743Z | 2,022 | 5 | 15 | 1 | 24 | 0 | 484 | 44 | 5 | 2 | true | true | false | false | false | false | zero |
72,277,184 | Error: Trying to create a platform view of unregistered type: yandex_mapkit/yandex_map | <p><strong>Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: yandex_mapkit/yandex_map</strong></p>
<p>This exception occurred when trying to run my flutter application in debug mode.</p>
<p>Log output:</p>
<pre><code> E/flutter (29324)... | Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: yandex_mapkit/yandex_map This exception occurred when trying to run my flutter application in debug mode. Log output: [CODE] flutter doctor -v: [CODE] AndroidManifest.xml: [CODE] I have ... | android|flutter | 2 | 2022-05-17T15:55:28.633Z | 2,022 | 5 | 15 | 1 | 692 | 0 | 415 | 86 | 2 | 3 | true | true | false | false | false | false | low |
72,277,269 | Navigate to location settings page by xamarin forms | <p>User should navigate to location settings page by click on the button in xamarin forms app. How to do it?</p>
<p>Edit: i need the user to turn on location on their phones</p> | User should navigate to location settings page by click on the button in xamarin forms app. How to do it? Edit: i need the user to turn on location on their phones | c#|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-05-17T16:01:00.867Z | 2,022 | 5 | 16 | 1 | 219 | 1 | 163 | 51 | 5 | 0 | false | false | false | false | false | false | zero |
72,277,278 | How to get slideOffset in jetpack compose's BottomSheetScaffold widget? | <p>In old way, I can use <strong>slideOffset</strong> in <code>BottomSheetBehavior.BottomSheetCallback</code>. But now in Jetpack compose, I can't use <strong>slideOffset</strong>. How to get it?</p> | In old way, I can use slideOffset in BottomSheetBehavior.BottomSheetCallback . But now in Jetpack compose, I can't use slideOffset . How to get it? | android-jetpack-compose|android-bottomsheetdialog | 1 | 2022-05-17T16:02:02.540Z | 2,022 | 5 | 16 | 1 | 69 | 0 | 147 | 71 | 2 | 0 | false | true | false | false | false | false | low |
72,277,306 | How to navigate from item in recylerview to new fragment | <p>Can someone help me figure out how i am supposed to navigate from an item in recyclerview to this repoFragment? I want to display these things in repoFragment using the GitHub API.</p>
<p>I want to click the reponame in the item of the recycler view. With the onClickListener i wish to open a new fragment (RepoFragme... | Can someone help me figure out how i am supposed to navigate from an item in recyclerview to this repoFragment? I want to display these things in repoFragment using the GitHub API. I want to click the reponame in the item of the recycler view. With the onClickListener i wish to open a new fragment (RepoFragment) with t... | android-studio|kotlin|android-recyclerview|navigation | 0 | 2022-05-17T16:03:43.267Z | 2,022 | 5 | 16 | 1 | 27 | 0 | 800 | 56 | 4 | 4 | true | true | false | false | false | false | zero |
72,277,433 | Java Android Studio Application working very slowly and laggy | <p>The application is very laggy and the more things are being clicked, the more it lags. At some point it completely freezes. This is my error log. How can i optimize it? (Full beginner)</p>
<p>NativeAlloc concurrent copying GC freed 8231(560KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 5936KB/11MB, paused 44... | The application is very laggy and the more things are being clicked, the more it lags. At some point it completely freezes. This is my error log. How can i optimize it? (Full beginner) NativeAlloc concurrent copying GC freed 8231(560KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 5936KB/11MB, paused 44.140ms tot... | java|multithreading|firebase|performance|android-studio | 0 | 2022-05-17T16:13:20.140Z | 2,022 | 5 | 16 | 1 | 74 | 0 | 4,615 | 61 | 5 | 0 | false | true | false | false | false | false | zero |
72,277,474 | singleTop launch mode prevents pairing notification | <p>I'm building an app which has a main activity which launches another activity in singleTop mode. The second activity connects to Bluetooth devices. If pairing is requested, a pairing request notification is generated, but with the activity launched in singleTop mode the notification doesn't appear on-screen. If I us... | I'm building an app which has a main activity which launches another activity in singleTop mode. The second activity connects to Bluetooth devices. If pairing is requested, a pairing request notification is generated, but with the activity launched in singleTop mode the notification doesn't appear on-screen. If I use n... | android|android-activity|bluetooth | 0 | 2022-05-17T16:16:51.553Z | 2,022 | 5 | 16 | 1 | 12 | 0 | 445 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
72,277,544 | ScaleX/Y in android sabotages the layout arrangement | <p>I'm trying to use the ScaleX and Y in my layout, but using it doesn't really change the view size but affects the layout measures.
for example if I use <code>ScaleX</code> and <code>ScaleY</code> on a switch button and then sets the parent size to <code>match_parent</code> it crops the scaled view to the original si... | I'm trying to use the ScaleX and Y in my layout, but using it doesn't really change the view size but affects the layout measures. for example if I use ScaleX and ScaleY on a switch button and then sets the parent size to match_parent it crops the scaled view to the original size. screenshots: not scaled: 1.5 scale: As... | android|crop|scaling | 1 | 2022-05-17T16:22:02.777Z | 2,022 | 5 | 16 | 1 | 73 | 0 | 649 | 52 | 3 | 1 | true | true | false | false | false | false | low |
72,277,616 | Make timer ring when finished in background | <p>I am making a Timer app on android studio that can edit minutes and start down counting and ring when finished and stop ringing when pressing a button but the ringing is not working if I close the app and leave it in background only the timer working. How to let it ring when timer finished in background also.</p>
<p... | I am making a Timer app on android studio that can edit minutes and start down counting and ring when finished and stop ringing when pressing a button but the ringing is not working if I close the app and leave it in background only the timer working. How to let it ring when timer finished in background also. [CODE] an... | java|android-studio|timer|background | 0 | 2022-05-17T16:27:29.177Z | 2,022 | 5 | 16 | 1 | 25 | 1 | 345 | 43 | 4 | 2 | true | false | false | false | false | false | zero |
72,277,622 | How do i get an Image of an music artist for an Music App | <p>I am Developing an Music Player app in which I get the songs from the file manager but how do I get the music artist's image I have the name of music artist. Can anyone tell me how I can achieve that? Any code or Link or Documentation will be helpful.</p> | I am Developing an Music Player app in which I get the songs from the file manager but how do I get the music artist's image I have the name of music artist. Can anyone tell me how I can achieve that? Any code or Link or Documentation will be helpful. | android|kotlin | 0 | 2022-05-17T16:28:31.037Z | 2,022 | 5 | 16 | 1 | 36 | 0 | 251 | 57 | 2 | 0 | false | true | false | false | false | false | zero |
72,277,910 | Re allow app installation over wireless debugging after denying it | Android | <p>I accidentally clicked on Deny on the installation prompt and now it is automatically denying all consecutive installation over wireless and USB debugging.</p>
<p>My phone is Android 11 and the laptop is running on Ubuntu 22.04.</p>
<p>Can someone please help me to allow installations again?</p> | I accidentally clicked on Deny on the installation prompt and now it is automatically denying all consecutive installation over wireless and USB debugging. My phone is Android 11 and the laptop is running on Ubuntu 22.04. Can someone please help me to allow installations again? | android|debugging | 0 | 2022-05-17T16:51:26.590Z | 2,022 | 5 | 16 | 1 | 209 | 2 | 278 | 76 | 2 | 0 | false | false | false | false | false | false | zero |
72,278,021 | what is the use build gradle in resolutionStrategy in kotlin library | <p>I am new in kotlin library. I am building a library for first time. I created a project in kotlin multiplatfrom in intellj and some files are auto-created . I see in my <code>setting.gradle.kts</code> I have <code>resolutionStrategy</code>inside that gradle line which I don't understand</p>
<p><strong>setting.gradle... | I am new in kotlin library. I am building a library for first time. I created a project in kotlin multiplatfrom in intellj and some files are auto-created . I see in my setting.gradle.kts I have resolutionStrategy inside that gradle line which I don't understand setting.gradle.kts [CODE] I thing 4.1.2 is very old and c... | android|kotlin|gradle|android-gradle-plugin | 0 | 2022-05-17T17:01:04.987Z | 2,022 | 5 | 17 | 1 | 75 | 0 | 415 | 68 | 4 | 4 | true | true | false | false | false | false | zero |
72,278,035 | Getting 400 error response code when executing a provisioning request (https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create | <p>I'm implementing DRM for my app but the request for getting a provisioning certificate is not working. This is an example of the generated url (POST) <a href="https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE&signedRequest=CloKTAgAEkgAAAAC... | I'm implementing DRM for my app but the request for getting a provisioning certificate is not working. This is an example of the generated url (POST) https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE&signedRequest=CloKTAgAEkgAAAACAAAWOhe56yXvv4bS... | android|exoplayer|exoplayer2.x|drm|android-drm | 0 | 2022-05-17T17:01:48.463Z | 2,022 | 5 | 17 | 1 | 84 | 1 | 854 | 150 | 5 | 1 | true | false | false | false | false | false | zero |
72,278,151 | Need an andorid emulator for low-end pc | <p>I need an android emulator for my pc but pc is a very low-end. i tried so many emulator but none of them won't work. please suggest me an emulator</p>
<p>my pc specs</p>
<ul>
<li>core 2 duo 2.00 ghz</li>
<li>no graphic card</li>
<li>graphic driver - Intel(R) 82915G/GV/910GL Express Chipset Family , total available g... | I need an android emulator for my pc but pc is a very low-end. i tried so many emulator but none of them won't work. please suggest me an emulator my pc specs core 2 duo 2.00 ghz no graphic card graphic driver - Intel(R) 82915G/GV/910GL Express Chipset Family , total available graphic memory - 128mb 2gb ram | android|emulation | 0 | 2022-05-17T17:12:41.237Z | 2,022 | 5 | 17 | 1 | 73 | 0 | 308 | 39 | 2 | 0 | false | true | false | false | false | false | zero |
72,278,260 | Differences between ModalDrawer and drawerContent from Scaffold | <p>Technically it's the same component but I really don't know if it's a correct practice add a <code>ModalDrawer</code> into <code>drawerContent</code>.</p>
<p>What do you think?</p> | Technically it's the same component but I really don't know if it's a correct practice add a ModalDrawer into drawerContent . What do you think? | android|android-jetpack-compose | 0 | 2022-05-17T17:21:12.453Z | 2,022 | 5 | 17 | 1 | 15 | 1 | 144 | 63 | 2 | 0 | false | false | false | false | false | false | zero |
72,278,378 | How get data from calendarView Android? Nothing happend then i click | <p>Nothing happend then i click data from calendar. i don<code>t know that wrong with this code </code>calendarView= headerLayout.findViewById(R.id.calendarView)</p>
<pre><code> calendarView.setOnDateChangeListener { view, year, month, dayOfMonth ->
var mStr = ""
var dStr = ""
... | Nothing happend then i click data from calendar. i don t know that wrong with this code calendarView= headerLayout.findViewById(R.id.calendarView) [CODE] ` | android|kotlin | 0 | 2022-05-17T17:32:07.970Z | 2,022 | 5 | 17 | 1 | 14 | 0 | 155 | 68 | 2 | 1 | true | true | false | false | false | false | zero |
72,278,461 | Android get current datetime and search in Firestore | <p><a href="https://i.stack.imgur.com/PYR6x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PYR6x.png" alt="enter image description here" /></a></p>
<p>The above is my firestore database. Now I would like to perform a search to check whether I have any records made on the current date. Below is my co... | The above is my firestore database. Now I would like to perform a search to check whether I have any records made on the current date. Below is my code that I use to search whether I have any related data. But it is unworkable... It didn't provide any record back to me... Does anyone know why? [CODE] | java|android|date|google-cloud-firestore | 0 | 2022-05-17T17:40:37.370Z | 2,022 | 5 | 17 | 1 | 63 | 1 | 301 | 52 | 4 | 1 | true | false | false | false | false | false | zero |
72,278,482 | Ionic app for Android fails after sign-in redirect with url scheme error | <p>I'm developing an Ionic/Cordova/Angular app in Visual Studio Code targeted for Android API 30. Its MSAL sign-in process has a redirect URI that is set up in Azure, let's say it's myapp://callback. Android 11+ devices won't allow it, throwing a ERR_UNKNOWN_URL_SCHEME error. So, under the impression that I need to use... | I'm developing an Ionic/Cordova/Angular app in Visual Studio Code targeted for Android API 30. Its MSAL sign-in process has a redirect URI that is set up in Azure, let's say it's myapp://callback. Android 11+ devices won't allow it, throwing a ERR_UNKNOWN_URL_SCHEME error. So, under the impression that I need to use ht... | android|cordova|ionic-framework|redirect|url-scheme | 1 | 2022-05-17T17:42:39.080Z | 2,022 | 5 | 17 | 1 | 194 | 1 | 657 | 72 | 5 | 0 | false | false | false | false | false | false | low |
72,278,546 | Camera2 cannot open after 3 or 4 retries | <p>I'm developing a library using the tensorflow. The scenario is the <code>startCamera()</code> method will start the camera with some usecases and it's lifecycle is bounded to the activity. Whenever the activity starts , the <code>startCamera()</code> will call and starts the camera.
When I get the desired results fr... | I'm developing a library using the tensorflow. The scenario is the startCamera() method will start the camera with some usecases and it's lifecycle is bounded to the activity. Whenever the activity starts , the startCamera() will call and starts the camera. When I get the desired results from tensorflow , the activity ... | android|kotlin|android-image|android-camera2 | 0 | 2022-05-17T17:48:27.187Z | 2,022 | 5 | 17 | 1 | 41 | 0 | 719 | 40 | 4 | 2 | true | true | false | false | false | false | zero |
72,278,607 | The page designs are different on the Android studio ide and when I build it into my Android phone | <p>I am having a problem with my java and xml code. As I am using the Android Studio IDE I can see the good version of the app page I wanna make, while when I export it to my phone and build it it isn't working and everything is on top of each ither. I will be showing the code and pictures of what I see in the ide and ... | I am having a problem with my java and xml code. As I am using the Android Studio IDE I can see the good version of the app page I wanna make, while when I export it to my phone and build it it isn't working and everything is on top of each ither. I will be showing the code and pictures of what I see in the ide and wha... | java|android|xml|android-studio|android-layout | 0 | 2022-05-17T17:54:20.697Z | 2,022 | 5 | 17 | 1 | 42 | 3 | 619 | 98 | 5 | 2 | true | false | false | false | false | false | zero |
72,278,654 | Auto Increment increments all values of the serial number variable when new record is added in List of JSON JACKSON | <p>I am new to JSON, I have implemented a JSON Jackson code from this <a href="https://github.com/shadsluiter/JacksonJSONdemo" rel="nofollow noreferrer">Github Link</a></p>
<p>I've edited the code and added a integer variable <code>sno</code> which auto increments. Below is my <code>Car</code> class</p>
<pre><code>publ... | I am new to JSON, I have implemented a JSON Jackson code from this Github Link I've edited the code and added a integer variable sno which auto increments. Below is my Car class [CODE] In my MainActivity class i've coded as follows: [CODE] The problem I face is the code replaces all the sno variables in the txtfile, as... | android|json|jackson | 0 | 2022-05-17T17:57:17.620Z | 2,022 | 5 | 17 | 1 | 22 | 0 | 678 | 115 | 3 | 2 | true | true | false | false | false | false | zero |
72,278,672 | Execution failed for task ':react-native-reanimated:replaceSoTaskDebug' | <p>I recently discovered a subtle bug in my React Native environment. Running on an Apple M1 with Rosetta enabled for iTerm, my android app would crash with the following error</p>
<pre><code>Execution failed for task ':react-native-reanimated:replaceSoTaskDebug'.
> javax.net.ssl.SSLHandshakeException: PKIX path bui... | I recently discovered a subtle bug in my React Native environment. Running on an Apple M1 with Rosetta enabled for iTerm, my android app would crash with the following error [CODE] iOS runs fine. No one else on my project has this issue even the other dev with an M1 Macbook. He said he installed brew apps, like yarn an... | android|react-native|arm64 | 0 | 2022-05-17T17:58:29.073Z | 2,022 | 5 | 17 | 1 | 270 | 0 | 962 | 71 | 3 | 2 | true | true | false | false | false | false | zero |
72,278,705 | Overlapping items are not intractable if it's overflowing the parent box in react native android | <p>I've developed an app for ios with the expo and trying to make it work for android, but I have a general issue with overlapping items, I've read and tried various tips & tricks, including elevation, and zIndex, removing background color & borders, etc.</p>
<p>Like this one
<a href="https://github.com/hossein... | I've developed an app for ios with the expo and trying to make it work for android, but I have a general issue with overlapping items, I've read and tried various tips & tricks, including elevation, and zIndex, removing background color & borders, etc. Like this one https://github.com/hossein-zare/react-native-dropdown... | android|react-native|expo | 0 | 2022-05-17T18:01:31.410Z | 2,022 | 5 | 18 | 1 | 65 | 1 | 1,086 | 96 | 3 | 0 | false | false | false | false | false | false | zero |
72,278,753 | How to write to a file on Android? | <p>For the past 3 hours I've been trying to write to a file in Andoid.</p>
<p>This is my latest attempt:</p>
<pre><code>try {
String text="alo";
FileOutputStream fos=openFileOutput("gameProg.txt",Context.MODE_APPEND);
fos.write(text.getBytes());
fos.close();
} catch (IOException e) {... | For the past 3 hours I've been trying to write to a file in Andoid. This is my latest attempt: [CODE] I have also tried some FileWriter method that only leads to the read-only file system error. Apart from this FileOutputStream attempt, I have deleted several others which did not have an impact on the file. Is there an... | java|android|file|file-io | 0 | 2022-05-17T18:06:16.290Z | 2,022 | 5 | 18 | 1 | 21 | 0 | 385 | 34 | 4 | 1 | true | true | false | false | false | false | zero |
72,278,769 | No view found for id 0x7f0a007d (com.fahim69.bazaarapp:id/category_container) for fragment FruitCategory{adff339} | <p>I am developing an ecommerce app where in an activity there is a bottom nav bar and a container the fragments which will be show while navigating using nav bar. All are working fine but when I tried to move from category fragment to fruit category frament then I am facing this errors.</p>
<pre><code> java.lang.Illeg... | I am developing an ecommerce app where in an activity there is a bottom nav bar and a container the fragments which will be show while navigating using nav bar. All are working fine but when I tried to move from category fragment to fruit category frament then I am facing this errors. [CODE] My Category fragment code i... | android|android-fragments | 0 | 2022-05-17T18:06:58.227Z | 2,022 | 5 | 18 | 1 | 17 | 0 | 438 | 113 | 2 | 3 | true | true | false | false | false | false | zero |
72,278,832 | I can't build an apk because it says expo build is deprecated, and using eas build it gives me an error | <p>i have been trying to build the apk of my react native app, i started this one using expo, but every time i try to run the command expo build:android it gives me the following</p>
<p>error:</p>
<p>PS C:\xooc-app> expo build:android expo build:android has been replaced by eas build. Learn more: <a href="https://bl... | i have been trying to build the apk of my react native app, i started this one using expo, but every time i try to run the command expo build:android it gives me the following error: PS C:\xooc-app> expo build:android expo build:android has been replaced by eas build. Learn more: https://blog.expo.dev/turtle-goes-out-t... | android|reactjs|git|react-native|expo | 1 | 2022-05-17T18:12:03.710Z | 2,022 | 5 | 18 | 1 | 705 | 0 | 2,238 | 103 | 5 | 3 | true | true | false | false | false | false | low |
72,278,870 | Intune : Application Protection Policy on Android SSO - Edge only | <p>When a user authenticates (SSO, SAML2) on the app, they are presented with the form, enter the username and password, Click Sign in, and are then presented with "You can't get there from here" and a link to "Launch in Edge". When "Launch in Edge is clicked the user receives "ERR_UNKNOWN... | When a user authenticates (SSO, SAML2) on the app, they are presented with the form, enter the username and password, Click Sign in, and are then presented with "You can't get there from here" and a link to "Launch in Edge". When "Launch in Edge is clicked the user receives "ERR_UNKNOWN_UR... | android|single-sign-on|saml-2.0|intune | 0 | 2022-05-17T18:15:32.820Z | 2,022 | 5 | 18 | 1 | 62 | 0 | 688 | 65 | 4 | 0 | false | true | false | false | false | false | zero |
72,278,900 | I need to know how to get the views from another layout xml file | <p>Is it possible to get the views from another layout using viewBinding?
or is there another way to get them?</p> | Is it possible to get the views from another layout using viewBinding? or is there another way to get them? | kotlin-android-extensions | 0 | 2022-05-17T18:17:45.383Z | 2,022 | 5 | 18 | 1 | 36 | 1 | 107 | 64 | 1 | 0 | false | false | false | false | false | false | zero |
72,278,954 | Get Composable function name inside it | <p>How can I get a composable function name inside it ?
I want to use a custom exception with the function name as a param.</p>
<pre><code>class UnknownInfoCardTypeException(composableFunctionName: String) :
Exception("Unknown info card type was passed as a param to $composableFunctionName")
</code></pre> | How can I get a composable function name inside it ? I want to use a custom exception with the function name as a param. [CODE] | android|android-jetpack-compose | 1 | 2022-05-17T18:22:29.270Z | 2,022 | 5 | 18 | 1 | 123 | 1 | 127 | 38 | 2 | 1 | true | false | false | false | false | false | low |
72,278,975 | Button click testing | <p>how can I use Junit to test a button click, everything happens in Android studio in java?
I am very bad at Junit testing</p>
<pre><code>public class ActivityMenu extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.l... | how can I use Junit to test a button click, everything happens in Android studio in java? I am very bad at Junit testing [CODE] | java|android|testing|junit | 0 | 2022-05-17T18:24:03.460Z | 2,022 | 5 | 18 | 1 | 22 | 0 | 127 | 20 | 4 | 1 | true | true | false | false | false | false | zero |
72,279,124 | Not receiving device's Intent Action in Android Xamarin.Forms app's BroadcastReceiver | <p>I have an Android barcode scanner device (Urovo DT50) and I'm trying to create an app, with Xamarin.Forms in VS 2022, to receive and process the scanned value.</p>
<p>The device's Scanner Settings indicate it will send an Intent Action of android.intent.ACTION_DECODE_DATA. So, I created a simple BarcodeScannerRecei... | I have an Android barcode scanner device (Urovo DT50) and I'm trying to create an app, with Xamarin.Forms in VS 2022, to receive and process the scanned value. The device's Scanner Settings indicate it will send an Intent Action of android.intent.ACTION_DECODE_DATA. So, I created a simple BarcodeScannerReceiver class..... | android|xamarin.forms|barcode-scanner | 0 | 2022-05-17T18:38:30.580Z | 2,022 | 5 | 18 | 1 | 96 | 0 | 783 | 85 | 3 | 2 | true | true | false | false | false | false | zero |
72,279,138 | Trying to connect to connect Android device to heartrate monitor via bluetooth | <p>I am trying to access a bluetooth heartrate monitor to my bluetooth app. For now I am using the BluetoothChat provided here git@github.com:android/connectivity-samples.git. I have imported it into Android Studio and it runs on my old Nexus7. The chat is expecting to have this also run on a second Android device and ... | I am trying to access a bluetooth heartrate monitor to my bluetooth app. For now I am using the BluetoothChat provided here git@github.com:android/connectivity-samples.git. I have imported it into Android Studio and it runs on my old Nexus7. The chat is expecting to have this also run on a second Android device and the... | android|bluetooth | 0 | 2022-05-17T18:39:45.250Z | 2,022 | 5 | 18 | 1 | 35 | 0 | 1,179 | 78 | 2 | 0 | false | true | false | false | false | false | zero |
72,279,187 | SQlite (Room) Trigger: three queries | <p>I have the following trigger:</p>
<pre><code>database.execSQL(
"CREATE TRIGGER IF NOT EXISTS update_item1" +
" BEFORE UPDATE" +
" ON item" +
" WHEN OLD.atual = true" +
" BEGIN&... | I have the following trigger: [CODE] In the following thread the user @forpas metion the workaround "create 2 separate triggers in reverse order": SQlite (Room) Trigger: two queries But in my case im trying to use "raise(ignore)" in the end of the trigger which is not accomplished because the first ... | sqlite|android-studio|triggers|android-sqlite|android-room | 0 | 2022-05-17T18:43:26.353Z | 2,022 | 5 | 18 | 1 | 35 | 0 | 460 | 36 | 5 | 1 | true | true | false | false | false | false | zero |
72,279,233 | LazyVerticalGrid for paging items in jetpack compose | <p>I'm currently using paging items (<code>LazyPagingItems</code>) in <code>LazyVerticalGrid</code> via below extention function and it works fine.</p>
<pre><code>inline fun <T : Any> LazyGridScope.items(
items: LazyPagingItems<T>,
crossinline itemContent: @Composable LazyGridItemScope.(item: T?) -&... | I'm currently using paging items ( LazyPagingItems ) in LazyVerticalGrid via below extention function and it works fine. [CODE] However, i want to make use of other parameters that LazyLazyout provides like key , span etc and tried below function. [CODE] When i use that function with key , it shows errors that Type mis... | android|kotlin|android-jetpack-compose|android-paging | 1 | 2022-05-17T18:46:26.273Z | 2,022 | 5 | 18 | 1 | 540 | 1 | 519 | 52 | 4 | 3 | true | false | false | false | false | false | low |
72,279,255 | Instance member 'fromJson' can't be accessed using static access | <p>I ran into a problem with my Flutter app. The error I get in news_service.dart is "The sample member 'fromJson' cannot be accessed using static access." error. Anyone know what this is about? I really don't understand... Thanks in advance!!</p>
<pre><code>if (response.body.isNotEmpty) {
final responseJso... | I ran into a problem with my Flutter app. The error I get in news_service.dart is "The sample member 'fromJson' cannot be accessed using static access." error. Anyone know what this is about? I really don't understand... Thanks in advance!! [CODE] } } | flutter|android-studio | 0 | 2022-05-17T18:48:19.290Z | 2,022 | 5 | 18 | 1 | 1,352 | 3 | 261 | 64 | 2 | 1 | true | false | false | false | false | false | zero |
72,279,296 | Activity Launcher(File picker) is loading multiple times in single event - Jetpack compose | <p>I am using a file picker inside a <strong>HorizontalPager</strong> in jetpack compose. When the corresponding screen is loaded while tapping the button, the launcher is triggered 2 times.</p>
<h2>Code snippet</h2>
<pre><code>var openFileManager by remember {
mutableStateOf(false)
}
if (openFileManager) {
... | I am using a file picker inside a HorizontalPager in jetpack compose. When the corresponding screen is loaded while tapping the button, the launcher is triggered 2 times. Code snippet [CODE] | android|android-jetpack-compose | -1 | 2022-05-17T18:53:23.383Z | 2,022 | 5 | 18 | 1 | 171 | 2 | 190 | 90 | 2 | 1 | true | false | false | false | false | true | negative |
72,279,298 | How can I complete data from Firebase to ArrayList? | <p>There is a User object, and from the given collection you want to output all the numbers. In order to compare the uniqueness of the number. The data can be output to the console. But it cannot be added to the ArrayList.</p>
<p><img src="https://i.stack.imgur.com/MVv0C.png" alt="enter image description here" /></p>
<... | There is a User object, and from the given collection you want to output all the numbers. In order to compare the uniqueness of the number. The data can be output to the console. But it cannot be added to the ArrayList. [CODE] | java|android|firebase|firebase-realtime-database | 0 | 2022-05-17T18:53:27.510Z | 2,022 | 5 | 18 | 1 | 24 | 0 | 226 | 51 | 4 | 1 | true | true | false | false | false | false | zero |
72,279,426 | Android Studio 2021.2.1 External Libraris local JAR not showing | <p>I have a gradle script which adds a dependency to a local JAR file:</p>
<p>For example:</p>
<pre><code>implementation files('libs/my-lib.jar')
</code></pre>
<p>Resyncing gradle and cleaning (and whatever else I could think of) does not show the external library under External Libraries list (Project View > Projec... | I have a gradle script which adds a dependency to a local JAR file: For example: [CODE] Resyncing gradle and cleaning (and whatever else I could think of) does not show the external library under External Libraries list (Project View > Project Tab) This used to work. My goal is to attach java-doc to the library (the li... | android-studio | 0 | 2022-05-17T19:05:35.530Z | 2,022 | 5 | 19 | 1 | 15 | 0 | 764 | 63 | 1 | 1 | true | true | false | false | false | false | zero |
72,279,432 | onPostExecute not called after completion AsyncTask. onPostExecute override right, not cancelled | <p>Method doInBackground() works well, but never call onPostExecute(). Method onPostExecute() override right, I do not cancel the AsyncTask and start the task with execute() method. I can not understand that behaviour.</p>
<p>Start the task:</p>
<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
... | Method doInBackground() works well, but never call onPostExecute(). Method onPostExecute() override right, I do not cancel the AsyncTask and start the task with execute() method. I can not understand that behaviour. Start the task: [CODE] Async class: [CODE] Thanks | java|android|android-studio|android-asynctask | 0 | 2022-05-17T19:05:55.440Z | 2,022 | 5 | 19 | 1 | 56 | 0 | 265 | 96 | 4 | 2 | true | true | false | false | false | false | zero |
72,279,572 | 'React' must be in scope when using JSX (react/react-in-jsx-scope) | <p>I know it's something dumb but i'm relatively new to ReactNative and i don't know how to solve it</p>
<p><a href="https://i.stack.imgur.com/rCpBJ.png" rel="nofollow noreferrer">Print of my problem</a></p> | I know it's something dumb but i'm relatively new to ReactNative and i don't know how to solve it Print of my problem | android|react-native | 0 | 2022-05-17T19:17:35.873Z | 2,022 | 5 | 19 | 1 | 40 | 0 | 117 | 66 | 2 | 0 | false | true | false | false | false | false | zero |
72,279,624 | Move to one fragment to another fragment of different container activity | <p>I have an container activity which will contain the fragments which will be added to this container when my bottom nav bar is navigating. Now I want to go to one of this fragment to another fragment which will replace another different activity by set on click listener of a cardview.
I am new fragment so I dont unde... | I have an container activity which will contain the fragments which will be added to this container when my bottom nav bar is navigating. Now I want to go to one of this fragment to another fragment which will replace another different activity by set on click listener of a cardview. I am new fragment so I dont underst... | android|android-fragments | 0 | 2022-05-17T19:22:59.530Z | 2,022 | 5 | 19 | 1 | 25 | 1 | 366 | 72 | 2 | 0 | false | false | false | false | false | false | zero |
72,279,709 | problem webview xamarin enable dom and javascript | <p>I am noob in Xamarin forms. I create webview and i want to add my website in my app but i have problem with my js.</p>
<p>in my console : <a href="https://i.stack.imgur.com/wh0LH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wh0LH.png" alt="error console" /></a></p>
<p>in my Xamarin Forms MainPa... | I am noob in Xamarin forms. I create webview and i want to add my website in my app but i have problem with my js. in my console : in my Xamarin Forms MainPage.xml.cs: [CODE] in my MainPage.xml [CODE] how i can identify webview Xamarin forms in my Xamarin android and Xamarin IOS to enable dom and javascript like that: ... | c#|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-05-17T19:30:32.733Z | 2,022 | 5 | 19 | 1 | 448 | 1 | 347 | 49 | 5 | 3 | true | false | false | false | false | false | zero |
72,279,761 | Google OAuth 2.0 isn't work on release version Android app | <p>I know that its a common question but was read many threads here I didn't find an answer that would help me.</p>
<p>By the way, it worked fine in debug mode. So, what I did:</p>
<ol>
<li>Get release version SHA-1 certificate fingerprint by command</li>
</ol>
<blockquote>
<p>keytool -keystore path-to-debug-or-product... | I know that its a common question but was read many threads here I didn't find an answer that would help me. By the way, it worked fine in debug mode. So, what I did: Get release version SHA-1 certificate fingerprint by command keytool -keystore path-to-debug-or-production-keystore -list -v Changed SHA-1 in Credentials... | android|firebase|google-cloud-platform|oauth-2.0|google-play-console | 0 | 2022-05-17T19:36:24.643Z | 2,022 | 5 | 19 | 1 | 99 | 0 | 919 | 58 | 5 | 0 | false | true | false | false | false | false | zero |
72,279,838 | How can I solve Python.getInstance() error when I use chaquopy in android studio | <p>I'm trying to use chaquopy in android studio to recognize audio from video and convert it to text, but when I call Python.getInstance() it overlines it in red. what can be the problem ?.</p>
<p><strong>build.gradle(app)</strong></p>
<pre><code>plugins {
id 'com.google.gms.google-services'
//for chaquopy(pyt... | I'm trying to use chaquopy in android studio to recognize audio from video and convert it to text, but when I call Python.getInstance() it overlines it in red. what can be the problem ?. build.gradle(app) [CODE] build.gradle [CODE] my activity [CODE] error message [CODE] Could it be a problem with gradle versions? beca... | java|android|chaquopy | 0 | 2022-05-17T19:44:58.950Z | 2,022 | 5 | 19 | 1 | 86 | 1 | 582 | 80 | 3 | 4 | true | false | false | false | false | false | zero |
72,280,071 | NavigationComponent with multiple flavors | <p>I'm using <code>NavigationComponent</code> in my app and now I'm facing following problem:</p>
<p>I have 2 different flavors (free and paid version) which are using the same navigation.xml located in the main package. When I want to run e.g. the paid variant it failed with these errors in the generated directions fi... | I'm using NavigationComponent in my app and now I'm facing following problem: I have 2 different flavors (free and paid version) which are using the same navigation.xml located in the main package. When I want to run e.g. the paid variant it failed with these errors in the generated directions file: e: AndroidStudioPro... | android|android-architecture-navigation|android-navigation-graph | 4 | 2022-05-17T20:07:12.103Z | 2,022 | 5 | 20 | 1 | 255 | 2 | 901 | 41 | 3 | 2 | true | false | false | false | false | false | low |
72,280,171 | Android application will not go fullscreen | <p>This is my android manifest.xml which links to theme.xml</p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.brokenphysics.issb">
<uses-permission android:name="... | This is my android manifest.xml which links to theme.xml [CODE] This is my theme.xml [CODE] what ever I do I can't get the app to go fullscreen and hide the status and navigation bars. | android | 0 | 2022-05-17T20:17:37.513Z | 2,022 | 5 | 20 | 1 | 12 | 2 | 184 | 42 | 1 | 2 | true | false | false | false | false | false | zero |
72,280,178 | LifecycleOwner abc is attempting to register while current state is RESUMED. LifecycleOwners must call register before they are STARTED | <p>I tried finding a solution to this issue but only found Kotlin solutions, so I figured I might ask here.
My current setup is this (in MainActivity.java):</p>
<pre class="lang-java prettyprint-override"><code>onCreate() {
// blabla
list1 = (ListView) findViewById(R.id.serverbrowser);
list1.setOnItemClickListe... | I tried finding a solution to this issue but only found Kotlin solutions, so I figured I might ask here. My current setup is this (in MainActivity.java): [CODE] My exact issue is this: java.lang.IllegalStateException: LifecycleOwner com.dev.app.MainActivity@6afc93f is attempting to register while current state is RESUM... | java|android|android-lifecycle | 1 | 2022-05-17T20:18:10.660Z | 2,022 | 5 | 20 | 1 | 808 | 0 | 653 | 135 | 3 | 1 | true | true | false | false | false | false | low |
72,280,188 | how to use expo eas build offline --no Internet required | <p>Is there any way I can use expo eas build fully offline without requiring an Internet connection.</p>
<p>Maybe an offline package or ...</p> | Is there any way I can use expo eas build fully offline without requiring an Internet connection. Maybe an offline package or ... | javascript|android|react-native|expo | 3 | 2022-05-17T20:18:55.593Z | 2,022 | 5 | 20 | 1 | 623 | 1 | 129 | 56 | 4 | 0 | false | false | false | false | false | false | low |
72,280,190 | Android 9. Doesn't set localization in app | <p>This is my code for switching app language:</p>
<pre><code> public static void changeLanguageApp(Context context, Locale locale) {
Resources res = context.getResources();
Configuration config = res.getConfiguration();
Locale currLocale = getLocale(config);
Configuration conf;
... | This is my code for switching app language: [CODE] when app is running switching works good. But if I close app and then run it, there are language of device, not of app. When I run my app I use this code: [CODE] In debug I see, that app language detected right, but I dont understend, why doesn't it set for app. Such s... | android|localization | 0 | 2022-05-17T20:19:02.940Z | 2,022 | 5 | 20 | 1 | 37 | 0 | 373 | 42 | 2 | 2 | true | true | false | false | false | false | zero |
72,280,229 | Control seekbar not working to control volume | <p>I'm newbie and I'm creating my first java app for android, and I'm having some difficulties, can you please help me?</p>
<p>I created a seekbar to control my audio volume, but it's not working.</p>
<p>Another point is that when I click play(executarSom) I can start the audio, but after pausing(pausarSom), if I try t... | I'm newbie and I'm creating my first java app for android, and I'm having some difficulties, can you please help me? I created a seekbar to control my audio volume, but it's not working. Another point is that when I click play(executarSom) I can start the audio, but after pausing(pausarSom), if I try to play it again b... | android|volume|android-audiomanager|android-seekbar | 0 | 2022-05-17T20:22:26.123Z | 2,022 | 5 | 20 | 1 | 31 | 1 | 441 | 45 | 4 | 2 | true | false | false | false | false | false | zero |
72,280,284 | What should I do if the IDE glitches | <p><a href="https://i.stack.imgur.com/eSrXQ.gif" rel="nofollow noreferrer">IDE is glitching</a></p>
<p>I am on Android Studio Chipmunk 2021.2.1 Android Studio Chipmunk | 2021.2.1
Runtime version: 11.0.12+7-b1504.28-7817840 amd64
Windows 10 10.0
Memory: 3072M
Cores: 4</p>
<p>When I try to type code:</p>
<ol>
<li>Autocom... | IDE is glitching I am on Android Studio Chipmunk 2021.2.1 Android Studio Chipmunk | 2021.2.1 Runtime version: 11.0.12+7-b1504.28-7817840 amd64 Windows 10 10.0 Memory: 3072M Cores: 4 When I try to type code: Autocomplete does not activate The cursor jumps around to random spots My keyboard inputs are not registered some... | android-studio|intellij-idea|ide | 0 | 2022-05-17T20:26:54.130Z | 2,022 | 5 | 20 | 1 | 17 | 0 | 513 | 36 | 3 | 0 | false | true | false | false | false | false | zero |
72,280,377 | I want to make an autocliker app for both android and ios, but it can also take screenshots and recognize a specific image in the screen | <p>I am a cs student but i dont have eny experience with mobile apps. I want to make an autocliker app for a specific game that can also take a screenoshot and recognize the location of a specific image in the screen, but i dont have any idea where to start.</p>
<p>I would like to make it for both android and ios,
i ha... | I am a cs student but i dont have eny experience with mobile apps. I want to make an autocliker app for a specific game that can also take a screenoshot and recognize the location of a specific image in the screen, but i dont have any idea where to start. I would like to make it for both android and ios, i have heard y... | android|ios|android-studio|ui-automation|game-automation | 0 | 2022-05-17T20:34:20.997Z | 2,022 | 5 | 20 | 1 | 39 | 1 | 1,140 | 136 | 5 | 0 | false | false | false | false | false | false | zero |
72,280,430 | How to pass Navigator or Void function as a parameter to a ListTile Widget -Flutter | <p>I'm Calling the Widget from my Home Page, and sending the required data as argument. like this:</p>
<pre><code> AppDrawerListTile(
title: 'Logout', // title of the List Tile.
icon: Icons.logout, // icon for the list tile.
action: () { //... | I'm Calling the Widget from my Home Page, and sending the required data as argument. like this: [CODE] And here is the Custom Common List where, I'm getting the parameters and providing it to the ListTile. [CODE] Everything is working here except the onTap Action Method, I don't understand, should I declare the variabl... | android|flutter|flutter-layout|flutter-test | 0 | 2022-05-17T20:38:02.003Z | 2,022 | 5 | 20 | 1 | 182 | 3 | 352 | 83 | 4 | 2 | true | false | false | false | false | false | zero |
72,280,509 | Hi, I uninstalled old version of flutter and installed 3.0 version but whenever I created project on this, It shows the below errors.(Latest dart sdk) | <ul>
<li><p>Where:
Script 'D:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156</p>
</li>
<li><p>What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.</p>
</li>
</ul>
<blockquote>
<p>Process 'command 'D:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1</p>
</blo... | Where: Script 'D:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156 What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. Process 'command 'D:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1 Try: Run with --stacktrace option to get the stack trace. Run with --i... | android|flutter|dart | 0 | 2022-05-17T20:47:29.507Z | 2,022 | 5 | 20 | 1 | 80 | 0 | 525 | 150 | 3 | 0 | false | true | false | false | false | false | zero |
72,280,537 | How to list all folders on android? | <p>I want to make an app that scans my phone's memory. I know about Environment.getExternalStorageDirectory(). But there are also other folders on my phone, such as folders used by other applications. When I try to use the linux "du /" command, I get a permission denied error. It will work with root, but ther... | I want to make an app that scans my phone's memory. I know about Environment.getExternalStorageDirectory(). But there are also other folders on my phone, such as folders used by other applications. When I try to use the linux "du /" command, I get a permission denied error. It will work with root, but there a... | java|android|kotlin | 0 | 2022-05-17T20:50:42.253Z | 2,022 | 5 | 20 | 1 | 26 | 1 | 479 | 35 | 3 | 0 | false | 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.