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,212,176 | Is there a way to stop user from uninstalling your app or do something before that happens? | <p>I am aware that many similar questions to that one were asked before, but I don't seem to be able to find anything that is recent(works). If I'm wrong, please direct me to a proper solution :).</p>
<p>With that being said - I am working on the app that is supposed to protect a child from visiting improper websites. ... | I am aware that many similar questions to that one were asked before, but I don't seem to be able to find anything that is recent(works). If I'm wrong, please direct me to a proper solution :). With that being said - I am working on the app that is supposed to protect a child from visiting improper websites. The issue ... | android|broadcastreceiver|android-permissions|uninstallation|parental-control | 0 | 2022-08-02T18:31:07.337Z | 2,022 | 8 | 18 | 1 | 103 | 1 | 1,318 | 91 | 5 | 0 | false | false | false | false | false | false | zero |
73,212,259 | Android - Scrollview background change | <p>At the beginning this is my layout.</p>
<pre><code><ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
a... | At the beginning this is my layout. [CODE] My ScrollView background looks like. default But I need it to look like number 1 not 2 see the down image to know what Iam talking about. note 1= I need my xml to look like. 2= my current xml. need to be like | java|android|xml | 0 | 2022-08-02T18:38:50.340Z | 2,022 | 8 | 18 | 1 | 22 | 0 | 251 | 38 | 3 | 1 | true | true | false | false | false | false | zero |
73,212,292 | How to allow multi selection in a LazyColoumn with a list received by "observeAsState" from a ViewModel? | <p>In my app there is a screen where the user is asked to select one or more tags (which consist of a simple list of Strings) from a list. The list of tags is received from a database via a ViewModel as following:</p>
<pre><code>val tags by myViewModel.allTags.observeAsState()
</code></pre>
<p>allTags here is a LiveDat... | In my app there is a screen where the user is asked to select one or more tags (which consist of a simple list of Strings) from a list. The list of tags is received from a database via a ViewModel as following: [CODE] allTags here is a LiveData consisting of a list of strings. Now, to allow multi selection I need first... | android-jetpack-compose | 0 | 2022-08-02T18:41:01.860Z | 2,022 | 8 | 18 | 1 | 34 | 0 | 627 | 104 | 1 | 2 | true | true | false | false | false | false | zero |
73,212,345 | Merging multiple raw audio files into new audio file in java (Android Studio)? | <p>I want to merge multiple (2 or more, depends on the user) raw audio files into one and save that file locally. This is my code for saving a single raw audio to .mp3 locally with InputStream, but wasn't able to find a solution for using InputStream for multiple files.</p>
<pre><code> String filePath = requireActiv... | I want to merge multiple (2 or more, depends on the user) raw audio files into one and save that file locally. This is my code for saving a single raw audio to .mp3 locally with InputStream, but wasn't able to find a solution for using InputStream for multiple files. [CODE] | java|android|audio|merge | 0 | 2022-08-02T18:46:46.860Z | 2,022 | 8 | 18 | 1 | 26 | 0 | 274 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
73,212,549 | How to configure the same flavors to all project modules? | <p>If one creates a flavored Android project that has multiple modules, is there a way to configure the same flavors for all modules in a single <code>build.gradle.kts</code>? If so, how can one do that?</p> | If one creates a flavored Android project that has multiple modules, is there a way to configure the same flavors for all modules in a single build.gradle.kts ? If so, how can one do that? | android|android-gradle-plugin|multi-module|android-productflavors | 0 | 2022-08-02T19:06:01.960Z | 2,022 | 8 | 19 | 1 | 33 | 0 | 188 | 57 | 4 | 0 | false | true | false | false | false | false | zero |
73,212,657 | How to export an Android Native Library as an .aar? | <p>I'm a little confused by this. I added a new library module to my project in Android studio from File->new->new module. Then I selected "Android Native Library". This gave me a new library module that is similar to how you get a Java and c++ build setup when you are making a mixed application. In ot... | I'm a little confused by this. I added a new library module to my project in Android studio from File->new->new module. Then I selected "Android Native Library". This gave me a new library module that is similar to how you get a Java and c++ build setup when you are making a mixed application. In other words ... | android|gradle|aar | 0 | 2022-08-02T19:14:57.957Z | 2,022 | 8 | 19 | 1 | 25 | 0 | 736 | 51 | 3 | 1 | true | true | false | false | false | false | zero |
73,212,710 | Android custom onBackPressed to OnBackPressedCallback | <p>I have this custom back press:</p>
<pre><code>override fun onBackPressed() {
if (condition()) {
doSomething()
} else {
super.onBackPressed()
}
}
</code></pre>
<p>I can't seem to find a way to make it a OnBackPressedCallback,</p>
<pre><code>private fun setupBackPress() {
onBackPressedD... | I have this custom back press: [CODE] I can't seem to find a way to make it a OnBackPressedCallback, [CODE] Any ideas? thanks | java|android|kotlin | 0 | 2022-08-02T19:19:57.310Z | 2,022 | 8 | 19 | 1 | 54 | 0 | 125 | 53 | 3 | 2 | true | true | false | false | false | false | zero |
73,212,749 | Xamarin Community Toolkit TabView - Navigate within Tabs | <p>For the bottom navigation bar, I'm using a Tabbed Page, and inside of a Tabbed page, I'm using a Tabview from the Xamarin Community Toolkit. On each XCT tab, I'm loading a list of items using the collection view (Xamarin Community Toolkit TabView). I need to click an item in collection view and move to another pag... | For the bottom navigation bar, I'm using a Tabbed Page, and inside of a Tabbed page, I'm using a Tabview from the Xamarin Community Toolkit. On each XCT tab, I'm loading a list of items using the collection view (Xamarin Community Toolkit TabView). I need to click an item in collection view and move to another page (de... | xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-08-02T19:23:59.910Z | 2,022 | 8 | 19 | 1 | 87 | 1 | 460 | 56 | 4 | 0 | false | false | false | false | false | false | zero |
73,212,882 | Does Ion automatically limit the size of the image it holds in memory to the ImageView dimensions? | <p>I am making an app that displays animated gifs and I am using both glide and Ion to display the gifs. So I know that glide automatically limits the size of the image it holds in memory to the ImageView dimensions. But if I am using Ion also in my app, Does Ion automatically limit the size of the image it holds in me... | I am making an app that displays animated gifs and I am using both glide and Ion to display the gifs. So I know that glide automatically limits the size of the image it holds in memory to the ImageView dimensions. But if I am using Ion also in my app, Does Ion automatically limit the size of the image it holds in memor... | android|gif|android-glide|android-ion | 0 | 2022-08-02T19:37:50.667Z | 2,022 | 8 | 19 | 1 | 7 | 0 | 447 | 98 | 4 | 1 | true | true | false | false | false | false | zero |
73,213,007 | flutter : Remove black space in the top of the android emulator | <p>as you can see in the image a black space have appear in the emulator.
Anyone knows how to remove it ? thank you for your help</p>
<p><a href="https://i.stack.imgur.com/jgTik.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jgTik.png" alt="enter image description here" /></a></p> | as you can see in the image a black space have appear in the emulator. Anyone knows how to remove it ? thank you for your help | android|flutter|android-studio|dart | 0 | 2022-08-02T19:48:07.143Z | 2,022 | 8 | 19 | 1 | 28 | 0 | 126 | 63 | 4 | 0 | false | true | false | false | false | false | zero |
73,213,213 | Issue with opening pdf file with intent | <p>I am trying to open a PDF file using an <code>Intent</code>, but the PDF viewer closes as soon as it starts. It does show the filename, which is the same as what I tried to open.</p>
<p>Here is my code:</p>
<pre><code>if (mimetype.equals("application/pdf") && file.isFile()) {
Uri uri = FileProv... | I am trying to open a PDF file using an Intent , but the PDF viewer closes as soon as it starts. It does show the filename, which is the same as what I tried to open. Here is my code: [CODE] | android|android-studio|android-intent | 0 | 2022-08-02T20:08:20.673Z | 2,022 | 8 | 20 | 1 | 64 | 1 | 190 | 39 | 3 | 1 | true | false | false | false | false | false | zero |
73,213,246 | How to build a AlertDialog that looks like a Leanback GuidedStepFragment | <p>I made an Android application that supports Leanback ( Or in other words it works on Android TV), when I build an <code>AlertDialog</code> with the styles <code>AlertDialog.THEME_DEVICE_DEFAULT_LIGHT</code> and <code>AlertDialog.THEME_DEVICE_DEFAULT_DARK</code> ( depending on night mode ) and show it it looks like t... | I made an Android application that supports Leanback ( Or in other words it works on Android TV), when I build an AlertDialog with the styles AlertDialog.THEME_DEVICE_DEFAULT_LIGHT and AlertDialog.THEME_DEVICE_DEFAULT_DARK ( depending on night mode ) and show it it looks like the native AlertDialog seen on Phones/Table... | android|android-alertdialog|android-styles|leanback | 0 | 2022-08-02T20:10:36.970Z | 2,022 | 8 | 20 | 1 | 38 | 0 | 683 | 72 | 4 | 1 | true | true | false | false | false | false | zero |
73,213,439 | Android Jetpack Compose - R.drawable not found? | <p>I recently started learning Jetpack Compose. Here is problem.
When i try to create image android studio can't find R.drawable folder. It looks like that.
<a href="https://i.stack.imgur.com/Hdekv.png" rel="nofollow noreferrer">1</a>
Why is that?</p>
<p>@Edit:
Thank You! Importing R helped.</p> | I recently started learning Jetpack Compose. Here is problem. When i try to create image android studio can't find R.drawable folder. It looks like that. 1 Why is that? @Edit: Thank You! Importing R helped. | android|android-jetpack-compose | 2 | 2022-08-02T20:28:45.660Z | 2,022 | 8 | 20 | 1 | 107 | 1 | 206 | 47 | 2 | 0 | false | false | false | false | false | false | low |
73,213,504 | Android Studio's sdkmanager does not show installed packages | <p>I am tring to create an AVD to use for flutter using cmdline-tools. I tried:</p>
<pre><code>avdmanager create avd -n test -k "system-images;android-30;google_apis;x86_64"
</code></pre>
<p>It returns:</p>
<pre><code>Error: Package path is not valid. Valid system image paths are:ository...
null
</code></pre>... | I am tring to create an AVD to use for flutter using cmdline-tools. I tried: [CODE] It returns: [CODE] I have already set the ANDROID_SDK_ROOT environment variable, installed the system image of android-30 using sdkmanager and accepted all licences. for more info: [CODE] I trying to avoid repeating all these installati... | android | 0 | 2022-08-02T20:36:32.007Z | 2,022 | 8 | 20 | 1 | 30 | 1 | 657 | 60 | 1 | 4 | true | false | false | false | false | false | zero |
73,213,831 | Replace default loading screen image with custom animation | <p>I made an android application using the kivy framework. I noticed that in the buildozer.spec file; There are lines that suggest the possibility of <strong>implementing an animation to replace the default loading screen</strong>.</p>
<p>The lines I'm talking about are...</p>
<pre><code># (string) Presplash animation ... | I made an android application using the kivy framework. I noticed that in the buildozer.spec file; There are lines that suggest the possibility of implementing an animation to replace the default loading screen . The lines I'm talking about are... [CODE] I want to reference a lottie animation from the buildozer.spec fi... | python|android|kivy|buildozer|lottie | 2 | 2022-08-02T21:08:31.487Z | 2,022 | 8 | 21 | 1 | 316 | 1 | 2,094 | 58 | 5 | 5 | true | false | false | false | false | false | low |
73,213,880 | project-jdk-name not defined in IDEA-android-project | <p>whenever I create a new android project in IDEA, I get an error</p>
<blockquote>
<p>Invalid configuration found. project-jdk-name is not defined.
open-gradle-settings
change-jdk-location</p>
</blockquote>
<p><a href="https://i.stack.imgur.com/PXf2g.png" rel="nofollow noreferrer">image: project-jdk-name_not_defined</... | whenever I create a new android project in IDEA, I get an error Invalid configuration found. project-jdk-name is not defined. open-gradle-settings change-jdk-location image: project-jdk-name_not_defined then after setting up sdk selecting jdk (by clicking open-gradle-settings) image: selecting openjdk when I reload gra... | android|gradle|intellij-idea | 0 | 2022-08-02T21:13:12.763Z | 2,022 | 8 | 21 | 1 | 63 | 0 | 816 | 52 | 3 | 5 | true | true | false | false | false | false | zero |
73,213,881 | java.lang.NullPointerException: Attempt to invoke virtual method, error in google play console | <p>I upload my flutter app for internal testing in google play console, the first time it passed without issue. but today I upload it again after making minor changes (only in codes) not in the manifest or gradle file, it fail in the test and throw this fatal error:</p>
<pre><code>FATAL EXCEPTION: main
Process: com.goo... | I upload my flutter app for internal testing in google play console, the first time it passed without issue. but today I upload it again after making minor changes (only in codes) not in the manifest or gradle file, it fail in the test and throw this fatal error: [CODE] what this error means? and how to solve it? | android|flutter | 0 | 2022-08-02T21:13:20.843Z | 2,022 | 8 | 21 | 1 | 124 | 0 | 314 | 94 | 2 | 1 | true | true | false | false | false | false | zero |
73,213,960 | Android Studio Emulator Process Gets Terminated w/o Launching (M1 Mac) | <h3>The issue:</h3>
<p>Trying to launch an emulator from Android Studio is resulting in a Device Manager error: "The emulator process for AVD ... has terminated."</p>
<p>Have tried most of the suggestions found when searching for this issue to no avail.</p>
<p>Environment information:</p>
<ul>
<li>MacBook Pro... | The issue: Trying to launch an emulator from Android Studio is resulting in a Device Manager error: "The emulator process for AVD ... has terminated." Have tried most of the suggestions found when searching for this issue to no avail. Environment information: MacBook Pro with the M1 Pro chip Android Studio Bu... | android-studio|android-emulator | 0 | 2022-08-02T21:22:29.237Z | 2,022 | 8 | 21 | 1 | 150 | 0 | 2,734 | 70 | 2 | 2 | true | true | false | false | false | false | zero |
73,214,047 | Android: check if activity is callable | <p>I need to check if an activity is callable and I'm using this method:</p>
<pre><code>public boolean isActivityCallable(String packageName, String className) {
final Intent intent = new Intent();
intent.setClassName(packageName, className);
List<ResolveInfo> list = getPackageManager(context)... | I need to check if an activity is callable and I'm using this method: [CODE] but something is not working. If I check, for example, if TextToSpeech.Engine.ACTION_CHECK_TTS_DATA is callable (and I assume this is a very common and widely supported check) I get that the activity is not callable on many different devices: ... | java|android | 0 | 2022-08-02T21:33:12.930Z | 2,022 | 8 | 21 | 1 | 56 | 0 | 728 | 38 | 2 | 2 | true | true | false | false | false | false | zero |
73,214,397 | How to import local .aar file to gradle.kts with exclusion? | <p>I'd like to import a local .aar to my Android project, and want to exclude a few transitive dependencies from it.</p>
<p>In Groovy I can do</p>
<pre><code>implementation(name: "abc", ext: "aar") {
exclude(group: 'group', module: 'module')
}
</code></pre>
<p>However, I can't find an equivalent... | I'd like to import a local .aar to my Android project, and want to exclude a few transitive dependencies from it. In Groovy I can do [CODE] However, I can't find an equivalent in Kotlin DSL. This is the thing I tried but didn't work [CODE] What is the proper way to do so in .kts file? | android|kotlin|gradle|gradle-kotlin-dsl | 1 | 2022-08-02T22:23:53.253Z | 2,022 | 8 | 22 | 1 | 70 | 1 | 285 | 59 | 4 | 2 | true | false | false | false | false | false | low |
73,214,411 | BottomNavigation stops working when setOnItemSelectedListener is defined | <p>I'm using BottomNavigation and need to remember the last selected item.
The botton navigation is setup and working correctly on its own but as soon as I define <code>setOnItemSelectedListener</code> it gets broken: the menu items get selected correctly but fragments won't change.</p>
<pre><code>navController = findN... | I'm using BottomNavigation and need to remember the last selected item. The botton navigation is setup and working correctly on its own but as soon as I define setOnItemSelectedListener it gets broken: the menu items get selected correctly but fragments won't change. [CODE] Adding navController.navigate() fixes the fra... | android|bottomnavigationview | 0 | 2022-08-02T22:25:40.003Z | 2,022 | 8 | 22 | 1 | 11 | 0 | 439 | 72 | 2 | 1 | true | true | false | false | false | false | zero |
73,214,509 | How to force layout of a view hierarchy in Android+RN+Google Ad SDK | <p>We have an infuriating situation with what are called "fluid ads" on Android in a React Native app. Basically the React Native layout infrastructure and the Google Ads Android infrastructure do not play nice. We have hacked it up enough such that we know the intended size of the ad, but it refuses to becom... | We have an infuriating situation with what are called "fluid ads" on Android in a React Native app. Basically the React Native layout infrastructure and the Google Ads Android infrastructure do not play nice. We have hacked it up enough such that we know the intended size of the ad, but it refuses to become t... | android|react-native|android-layout|android-view | 0 | 2022-08-02T22:39:44.543Z | 2,022 | 8 | 22 | 1 | 37 | 0 | 1,593 | 67 | 4 | 2 | true | true | false | false | false | false | zero |
73,214,728 | Fluid Typography in Android Chrome—Different text sizes when setting div width | <p>I have an issue with the Chrome browser on Android in both landscape and portrait mode. The text in divs that have a set width is smaller than text outside a div. I tested with multiple widths and the width of the div does not seem to affect the size of the text.</p>
<p><a href="https://sandbox.kikawebdesign.com/sam... | I have an issue with the Chrome browser on Android in both landscape and portrait mode. The text in divs that have a set width is smaller than text outside a div. I tested with multiple widths and the width of the div does not seem to affect the size of the text. Here is a link to a working example of the issue . I had... | android|google-chrome|fluid|typography|calc | 0 | 2022-08-02T23:18:48.817Z | 2,022 | 8 | 23 | 1 | 25 | 0 | 729 | 78 | 5 | 4 | true | true | false | false | false | false | zero |
73,214,818 | android studio button sometimes doesn't work | <p>I have a menu activity from which I want to go to the meat of my application. When I press the button to do so, it sometimes opens the main screen within a few moments, sometimes takes longer, and in many cases, doesn't work at all. In the case that it doesn't work, the button will usually work after clicking it aga... | I have a menu activity from which I want to go to the meat of my application. When I press the button to do so, it sometimes opens the main screen within a few moments, sometimes takes longer, and in many cases, doesn't work at all. In the case that it doesn't work, the button will usually work after clicking it again.... | java|android|xml|android-studio | -1 | 2022-08-02T23:36:17.817Z | 2,022 | 8 | 23 | 1 | 22 | 1 | 456 | 44 | 4 | 0 | false | false | false | false | false | true | negative |
73,214,861 | How to reverse Scrollbar of the HorizontalScrollView | <p>I'm trying to make an <code>HoziontalScrollView</code> with items :</p>
<p><a href="https://i.stack.imgur.com/6slHc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6slHc.png" alt="enter image description here" /></a></p>
<p>When I move the <code>scrollbar</code> to the left, the <code>HoziontalScr... | I'm trying to make an HoziontalScrollView with items : When I move the scrollbar to the left, the HoziontalScrollView goes right and vice versa, which will make the user confused about how to use the scrollbar to scroll instead of moving finger over the HoziontalScrollView XML : [CODE] Thank you. | android|xml|horizontalscrollview | 0 | 2022-08-02T23:46:07.970Z | 2,022 | 8 | 23 | 1 | 28 | 1 | 297 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
73,214,988 | How to set a Sound as Ringtone etc in Kotlin | <p>All I can find in the internet is 8+ years old and in Java, didnt manage to find any explanation in Kotlin on how to set a mp3 file from Internal Storage as a Ringtone, Notification or Alarm.</p>
<p>Here is how I did it in Java:</p>
<pre><code> private static void changeSystemAudio(Context context, int type, File... | All I can find in the internet is 8+ years old and in Java, didnt manage to find any explanation in Kotlin on how to set a mp3 file from Internal Storage as a Ringtone, Notification or Alarm. Here is how I did it in Java: [CODE] But what about Kotlin? Any resources on that? | java|android|android-studio|kotlin | 1 | 2022-08-03T00:08:38.673Z | 2,022 | 8 | 0 | 2 | 31 | 0 | 274 | 44 | 4 | 1 | true | true | false | false | false | false | low |
73,215,137 | TypeError: undefined is not an object (evaluating 'item.id.toString') on React Native | <p>I've been experiencing this error. I also checked out other related problems similar to this but it still not working.</p>
<p>Here is my code:</p>
<p>Create.js</p>
<pre><code>const create = ({navigation, user}) => {
const [newcreate, setNewcreate] = useState([]);
const findNewcreate = async () => {
c... | I've been experiencing this error. I also checked out other related problems similar to this but it still not working. Here is my code: Create.js [CODE] AddedItems.js [CODE] Btw, I tried removing the .id in the keyExtractor and it looks like this: keyExtractor={(item) => item.toString()} and it partially works. But I d... | android|react-native|typeerror|react-native-flatlist|flatlist | 0 | 2022-08-03T00:35:23.100Z | 2,022 | 8 | 0 | 2 | 198 | 2 | 476 | 85 | 5 | 2 | true | false | false | false | false | false | zero |
73,215,223 | ordering a list on jetpack compose Android | <p>I'm using a lazy column to show a list, the items in the list have the attribute <code>isWeekTopic</code> which is a <code>Boolean</code>, in the list I need to show first those elements that have <code>isWeekTopic = true</code>, and then show the ones that have <code>isWeekTopic = false</code>, the items that has <... | I'm using a lazy column to show a list, the items in the list have the attribute isWeekTopic which is a Boolean , in the list I need to show first those elements that have isWeekTopic = true , and then show the ones that have isWeekTopic = false , the items that has isWeekTopic = true are going to change every week. I ... | android|kotlin|android-jetpack-compose | 0 | 2022-08-03T00:51:29.013Z | 2,022 | 8 | 0 | 2 | 91 | 1 | 475 | 42 | 3 | 1 | true | false | false | false | false | false | zero |
73,215,318 | Camera issue after update of Samsung in Android Phone | <p>Good day!</p>
<p>I have a problem with my developed android application in all SAMSUNG A33 5G, SAMSUNG A51 5G, and SAMSUNG A55 5G. I have this application that uses the camera. My application is working well. After the updates in July 2022, when taking pictures, the SAVE or CANCEL button is not showing anymore</p>
<... | Good day! I have a problem with my developed android application in all SAMSUNG A33 5G, SAMSUNG A51 5G, and SAMSUNG A55 5G. I have this application that uses the camera. My application is working well. After the updates in July 2022, when taking pictures, the SAVE or CANCEL button is not showing anymore [CODE] I cannot... | android|android-camera|samsung-mobile | 0 | 2022-08-03T01:09:59.133Z | 2,022 | 8 | 1 | 2 | 28 | 0 | 368 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
73,215,600 | How to get Android WebView font-size config from typescript side | <p>What is the correct way to determine the font-size configuration that a user has chosen in the OS settings (from within the typescript code inside the WebView)?</p>
<p>We have an app that is running inside an Android WebView (we're using Capacitor, Ionic and Angular, although this might be irrelevant and the info ca... | What is the correct way to determine the font-size configuration that a user has chosen in the OS settings (from within the typescript code inside the WebView)? We have an app that is running inside an Android WebView (we're using Capacitor, Ionic and Angular, although this might be irrelevant and the info can be obtai... | android|webview | 0 | 2022-08-03T02:13:17.290Z | 2,022 | 8 | 2 | 2 | 26 | 0 | 1,097 | 64 | 2 | 0 | false | true | false | false | false | false | zero |
73,215,602 | Expo Android Build Doesn't Open | <p>I'm using EAS to build an apk file to test on an android emulator, however, the build immediately quits upon entering the app. I had similar results when trying to open the app using expo go. For what it's worth, the app functions perfectly on all iOS devices I've tried.</p>
<p>Here are the logs from attempting to r... | I'm using EAS to build an apk file to test on an android emulator, however, the build immediately quits upon entering the app. I had similar results when trying to open the app using expo go. For what it's worth, the app functions perfectly on all iOS devices I've tried. Here are the logs from attempting to run the app... | android|firebase|expo|eas | 0 | 2022-08-03T02:13:23.540Z | 2,022 | 8 | 2 | 2 | 39 | 1 | 730 | 31 | 4 | 1 | true | false | false | false | false | false | zero |
73,215,632 | Can I show disclaimer on my app only once? | <p>Would it be okay to show the disclaimer (including about logo and trademark) only for the first opening of the app? Currently, my disclaimer is only shown on the first-use of the app, have an Accept button, and then it wouldn't be accessible to the user anymore.</p> | Would it be okay to show the disclaimer (including about logo and trademark) only for the first opening of the app? Currently, my disclaimer is only shown on the first-use of the app, have an Accept button, and then it wouldn't be accessible to the user anymore. | android | 0 | 2022-08-03T02:19:31.097Z | 2,022 | 8 | 2 | 2 | 25 | 0 | 262 | 42 | 1 | 0 | false | true | false | false | false | false | zero |
73,215,637 | Find all values in json array in with Retrofit | <p>I need to find and separate the values in json with Retrofit. With this code I get the whole body:</p>
<pre><code> val retrofitCliente = NetworkUtils.getRetrofitInstance("https://aprimorandoapi.000webhostapp.com/")
val endpointiface = retrofitCliente.create(Endpoint::class.java)
val call: Call<J... | I need to find and separate the values in json with Retrofit. With this code I get the whole body: [CODE] But, I want to insert each item in ArrayList as my method returns. My JSON is: [CODE] } Thanks in advance. | android|android-studio|kotlin|mobile|retrofit2 | 0 | 2022-08-03T02:19:54.080Z | 2,022 | 8 | 2 | 2 | 47 | 1 | 212 | 46 | 5 | 2 | true | false | false | false | false | false | zero |
73,215,642 | Make Android app get bluetooth manufacturer data | <p>I am working on an Android app android 10 and nordic nrf52840 which is advertising at channel 37,38,39 I want to get the manufacturer data from my nordic bluetooth device. Like the picture shown below. Now I can scan and find my device, but I don't know how to get manufacturer data.</p>
<pre><code>package com.exampl... | I am working on an Android app android 10 and nordic nrf52840 which is advertising at channel 37,38,39 I want to get the manufacturer data from my nordic bluetooth device. Like the picture shown below. Now I can scan and find my device, but I don't know how to get manufacturer data. [CODE] | java|android|bluetooth | 0 | 2022-08-03T02:20:14.547Z | 2,022 | 8 | 2 | 2 | 47 | 0 | 290 | 48 | 3 | 1 | true | true | false | false | false | false | zero |
73,215,687 | Android Studio: How to convert perview to bitmap? | <p>I want to convert to camera preview into Bitmap format and put it back to Frame layout, anyone could help me? Thank you~</p>
<pre><code>preview = new Preview(applicationInterface, (this.findViewById(R.id.preview)));
<FrameLayout
android:id="@+id/preview"
android:layout_width="wrap_content&... | I want to convert to camera preview into Bitmap format and put it back to Frame layout, anyone could help me? Thank you~ [CODE] | android|android-studio|android-camera|android-bitmap|android-developer-api | 0 | 2022-08-03T02:28:17.850Z | 2,022 | 8 | 2 | 2 | 36 | 0 | 127 | 49 | 5 | 1 | true | true | false | false | false | false | zero |
73,215,743 | How to lock fps of a game in the android virtual device in the Android Studio? | <p>I want to limit the fps of a game. I’ve set the RAM to 128MB and CPU core number to 1, but I still can’t get what I want.</p> | I want to limit the fps of a game. I’ve set the RAM to 128MB and CPU core number to 1, but I still can’t get what I want. | android|android-studio|virtual-machine|avd | 0 | 2022-08-03T02:38:41.070Z | 2,022 | 8 | 2 | 2 | 26 | 0 | 121 | 78 | 4 | 0 | false | true | false | false | false | false | zero |
73,215,746 | how to use getFile() method in FileUtils android ? Cannot resolve method 'getFile' in 'FileUtils' | <p>I have tried the solutions mentioned in this <a href="https://stackoverflow.com/questions/38417848/cannot-resolve-symbol-fileutils-in-codepath-todo-app-tutorial-android">question</a> but nothing is working for me.</p>
<p>I have imported the FileUtils <code>import android.os.FileUtils;</code></p>
<p>I have included <... | I have tried the solutions mentioned in this question but nothing is working for me. I have imported the FileUtils import android.os.FileUtils; I have included implementation 'org.apache.commons:commons-io:1.3.2' in my Gradle build, not working. I have tried with implementation 'commons-io:commons-io:2.4' , still not w... | java|android|android-studio | 1 | 2022-08-03T02:39:08.563Z | 2,022 | 8 | 2 | 2 | 106 | 1 | 608 | 97 | 3 | 1 | true | false | false | false | false | false | low |
73,215,764 | Android Studio NDK_PROJECT_PATH=null | <p>Build command failed.
Error while executing process E:\android-ndk-r10e\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null</p>
<p>android studio 3.1.4
ndk r10e r16b 10-20 the same question
cocos2d-x 3.13</p> | Build command failed. Error while executing process E:\android-ndk-r10e\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null android studio 3.1.4 ndk r10e r16b 10-20 the same question cocos2d-x 3.13 | android|android-ndk|cocos2d-x | 0 | 2022-08-03T02:42:26.437Z | 2,022 | 8 | 2 | 2 | 32 | 0 | 197 | 36 | 3 | 0 | false | true | false | false | false | false | zero |
73,215,801 | RenderCustomPaint object was given an infinite size during layout | <p>Below is the class where i have implemented the feature where HTML file will be rendered from the url passed from the previous page. With the click of the floating action button, i want to auto scroll the text of the html. I have tried using singleChildScrollView, Expanded, column but none of the options work for me... | Below is the class where i have implemented the feature where HTML file will be rendered from the url passed from the previous page. With the click of the floating action button, i want to auto scroll the text of the html. I have tried using singleChildScrollView, Expanded, column but none of the options work for me, I... | android|html|flutter|android-studio|dart | 0 | 2022-08-03T02:49:30.787Z | 2,022 | 8 | 2 | 2 | 46 | 2 | 482 | 65 | 5 | 1 | true | false | false | false | false | false | zero |
73,215,809 | How to hide soft keyboard on android 11? | <p>I have an app using to scan barcode, so I want to hide the soft keyboard.
My app worked fine on devices with android 7, 9... but when I installed it on device run android 11, the keyboard display when I scan.</p>
<p>I searched and tried many ways, like this in Manifest:</p>
<blockquote>
<p>android:windowSoftInputMod... | I have an app using to scan barcode, so I want to hide the soft keyboard. My app worked fine on devices with android 7, 9... but when I installed it on device run android 11, the keyboard display when I scan. I searched and tried many ways, like this in Manifest: android:windowSoftInputMode="stateHidden" Or t... | android|android-softkeyboard|android-11 | 0 | 2022-08-03T02:51:36.327Z | 2,022 | 8 | 2 | 2 | 57 | 3 | 578 | 40 | 3 | 0 | false | false | false | false | false | false | zero |
73,215,908 | Is it a violation of Google Play Policies to forward the user to a book sale page via my app? | <p>Can anyone tell me if it's a violation of Google Play policies to forward the user to a book sale page via my app?
As a developer, can I use a button to forward the user to a book page on a book sales website?
Note: The book will not be consumed within the app.</p> | Can anyone tell me if it's a violation of Google Play policies to forward the user to a book sale page via my app? As a developer, can I use a button to forward the user to a book page on a book sales website? Note: The book will not be consumed within the app. | android|google-play|google-play-console|privacy-policy | 1 | 2022-08-03T03:10:39.067Z | 2,022 | 8 | 3 | 2 | 66 | 1 | 261 | 93 | 4 | 0 | false | false | false | false | false | false | low |
73,216,152 | Changing textstyle of popupmenu in themes.xml doesn't work | <p>I would like to change the textsize of popupmenu,so I try it in styles.xml and themes.xml,but the textsize seems to be override by android:textViewStyle.If I delete android:textViewStyle in my themes.xml,the textsize of popupmenu works.Is there something wrong in my code?</p>
<p>styles.xml</p>
<pre><code><style n... | I would like to change the textsize of popupmenu,so I try it in styles.xml and themes.xml,but the textsize seems to be override by android:textViewStyle.If I delete android:textViewStyle in my themes.xml,the textsize of popupmenu works.Is there something wrong in my code? styles.xml [CODE] themes.xml [CODE] By the way,... | android|xml | 0 | 2022-08-03T04:00:18.780Z | 2,022 | 8 | 4 | 2 | 24 | 0 | 436 | 58 | 2 | 4 | true | true | false | false | false | false | zero |
73,216,271 | Receive Flow from Room | <p>I have one question related to the Flow, let's say I have some methods here:</p>
<p>in Dao:</p>
<pre><code>fun getIds(): Flow<List<Int>>
</code></pre>
<p>in my Repository:</p>
<pre><code>// which way I should do if I have multiple ViewModels that will
// need to observe Ids from Room
val ids = dao.getId... | I have one question related to the Flow, let's say I have some methods here: in Dao: [CODE] in my Repository: [CODE] this really bothers me, and I don't really see any post that talks about this. appreciate if anyone can help. | kotlin|android-room|kotlin-flow | 0 | 2022-08-03T04:22:30.600Z | 2,022 | 8 | 4 | 2 | 36 | 1 | 226 | 22 | 3 | 2 | true | false | false | false | false | false | zero |
73,216,319 | kivy text doesn't change in screen switching while the text variable has been successfully modified | <p>We are creating an app for book-reading with an already build API. Choosing kivy for creating a front-end GUI seems to be really nice :D</p>
<p>But there is a problem we can not fix. the showing text on different screens doesn't change in the app while the text variable has been successfully changed. that's quite co... | We are creating an app for book-reading with an already build API. Choosing kivy for creating a front-end GUI seems to be really nice :D But there is a problem we can not fix. the showing text on different screens doesn't change in the app while the text variable has been successfully changed. that's quite confusing fo... | python|android|ios|kivy|kivy-language | 0 | 2022-08-03T04:33:08.567Z | 2,022 | 8 | 4 | 2 | 25 | 1 | 954 | 99 | 5 | 2 | true | false | false | false | false | false | zero |
73,216,338 | How to set heading accessibility to Toolbar | <p>I have a Toolbar on my android app, and the talkback is reading the title of it. I want the TalkBack to read it with suffix "Heading". I understand this can be done using setHeading function (<a href="https://developer.android.com/reference/kotlin/android/view/accessibility/AccessibilityNodeInfo#setHeading... | I have a Toolbar on my android app, and the talkback is reading the title of it. I want the TalkBack to read it with suffix "Heading". I understand this can be done using setHeading function ( https://developer.android.com/reference/kotlin/android/view/accessibility/AccessibilityNodeInfo#setHeading(kotlin.Boo... | android|kotlin | 0 | 2022-08-03T04:36:16.440Z | 2,022 | 8 | 4 | 2 | 67 | 0 | 476 | 43 | 2 | 0 | false | true | false | false | false | false | zero |
73,216,520 | Compiling LibGDX on Android with Jvdroid | <p>I am getting back to coding Java after two years, which I sorely missed. I need to set up an environment on Android for game making, so I purchased Jvdroid for the ability to process Maven files from GitHub on my phone. Jvdroid resembles a similarity to IntelliJ from JetBrains with much less features. LibGDX off... | I am getting back to coding Java after two years, which I sorely missed. I need to set up an environment on Android for game making, so I purchased Jvdroid for the ability to process Maven files from GitHub on my phone. Jvdroid resembles a similarity to IntelliJ from JetBrains with much less features. LibGDX offers a P... | java|android|maven|compilation|libgdx | 0 | 2022-08-03T05:04:54.707Z | 2,022 | 8 | 5 | 2 | 80 | 1 | 1,428 | 40 | 5 | 0 | false | false | false | false | false | false | zero |
73,216,562 | Android webview loadurl cause native crash after WebViewTransport.sendToTarget | <p>webview settings:</p>
<pre><code>mWebView.getSettings().setSupportMultipleWindows(true);
</code></pre>
<p>webChromeClient settings:</p>
<pre><code>mWebView.setWebChromeClient(new WebChromeClient() {
@Override
public boolean onCreateWindow(WebView view, boolean isDialog, boolean isUserGesture, Message... | webview settings: [CODE] webChromeClient settings: [CODE] webViewclient settings: [CODE] problem: when click a tag with target="_blank" (eg, <a href="https://stackoverflow.com" target="_blank"> ), app native crash. signal 5 (SIGTRAP) but window.open(url) it runs without any problem. i have... | android|android-webview | 0 | 2022-08-03T05:16:42.693Z | 2,022 | 8 | 5 | 2 | 42 | 0 | 396 | 78 | 2 | 3 | true | true | false | false | false | false | zero |
73,216,594 | How to change default bind sequence of recycler view in android? | <p>By default, in Android when we bind <code>RecyclerView</code> with 2 columns its row binds data like left image below, but I want to bind like right image. How can I do this?</p>
<p><a href="https://i.stack.imgur.com/YinYE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YinYE.png" alt="enter image... | By default, in Android when we bind RecyclerView with 2 columns its row binds data like left image below, but I want to bind like right image. How can I do this? Here is my code. [CODE] Please help. | java|android|android-recyclerview | 1 | 2022-08-03T05:22:20.363Z | 2,022 | 8 | 5 | 2 | 31 | 0 | 198 | 64 | 3 | 1 | true | true | false | false | false | false | low |
73,216,665 | How to use a same instance of hiltViewModel among nested composable? | <p>I have a composable function named 'Page' as a basic composable to hold NavHost for my app, please see architecture below:</p>
<pre><code>@Composable
fun Page(viewModel: LdvToolViewModel = hiltViewModel(), scaffoldState: ScaffoldState, navController: NavHostController){
val statusBarMode = viewModel.statusBarUiS... | I have a composable function named 'Page' as a basic composable to hold NavHost for my app, please see architecture below: [CODE] As you can see that 'LdvToolViewModel' has been injected to 'Page' as hiltViewModel. To keep 'LdvToolViewModel' as one instance among lifecycles of nested-composable functions in navBuilder,... | android-jetpack-compose|viewmodel|dagger-hilt | 0 | 2022-08-03T05:31:58.677Z | 2,022 | 8 | 5 | 2 | 82 | 1 | 554 | 68 | 3 | 1 | true | false | false | false | false | false | zero |
73,216,757 | if I have 100k data in json and I want to use it in multiselect in flutter app how would I do using search only | <p>if I have 100k data in json and I want to use it in multiselect in flutter app how would I do using search only?</p>
<pre><code>[
{
"id": 16905,
"name": "5-HTP"
},
{
"id": 16906,
"name": "5-hydroxytryptophan"
},
{
... | if I have 100k data in json and I want to use it in multiselect in flutter app how would I do using search only? [CODE] | flutter|flutter-dependencies|flutter-android|flutter-dropdownbutton|flutter-datatable | 0 | 2022-08-03T05:44:51.003Z | 2,022 | 8 | 5 | 2 | 41 | 0 | 119 | 111 | 5 | 1 | true | true | false | false | false | false | zero |
73,216,765 | How to fix "Duplicate content roots detected path in React native android studio?" | <p>I have been getting the below warning while syncing the gradle in Android studio.</p>
<pre><code>[E:/ReactNative/EGTKT_Counter_Operator_App/node_modules/react-native-screens/android/build/generated/source/codegen/java] of module [egtkt_counter_operation.react-native-screens.main] was removed from modules [egtkt_coun... | I have been getting the below warning while syncing the gradle in Android studio. [CODE] How to solve this issue? | react-native|android-studio | 0 | 2022-08-03T05:46:02.837Z | 2,022 | 8 | 5 | 2 | 81 | 0 | 113 | 82 | 2 | 1 | true | true | false | false | false | false | zero |
73,216,821 | Flutter: get message "Operation not permitted" when sync grandle in android studio and flutter run | <p>when i try to run a old project by flutter run:</p>
<pre><code>FAILURE: Build failed with an exception.
* Where:
Settings file '/Users/anhdinhhoangquang/Desktop/cloudv-app/android/settings.gradle' line: 8
* What went wrong:
A problem occurred evaluating settings 'android'.
> /Users/anhdinhhoangquang/Desktop/clo... | when i try to run a old project by flutter run: [CODE] this is my settings.gradle [CODE] and i also try to open by android studio and sync gradle file but got message like this i also update my gradle but nothing happend | flutter|android-studio | 0 | 2022-08-03T05:53:38.107Z | 2,022 | 8 | 5 | 2 | 29 | 0 | 220 | 98 | 2 | 2 | true | true | false | false | false | false | zero |
73,216,913 | Listview Item not showing after clicking on list item | <p>I have created a list in Xamarin and when we select item without scrolling list then everything is fine and when we select item after scrolling list then after clicking list item<br />
lost. Actually list item is exist but not showing and error comes after clicking on list item is :</p>
<p><strong>V/AutofillManager(... | I have created a list in Xamarin and when we select item without scrolling list then everything is fine and when we select item after scrolling list then after clicking list item lost. Actually list item is exist but not showing and error comes after clicking on list item is : V/AutofillManager(10440): requestHideFillU... | xamarin|xamarin.forms|xamarin.android | 0 | 2022-08-03T06:04:10Z | -1 | -1 | -1 | -1 | 57 | 0 | 367 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
73,216,915 | Android 11, keyboard bottom area is not working after app launched via Custom launcher and then back from app Recent List | <p>In Android-11, I enabled the Gesture navigation in the Android System Settings and launched a sample application(which contains only one editText on the Screen) using my custom App Launcher. you can see in the below screenshot,</p>
<p>Gesture Navigation means there is no 3-button navigation, similar behavior of iPho... | In Android-11, I enabled the Gesture navigation in the Android System Settings and launched a sample application(which contains only one editText on the Screen) using my custom App Launcher. you can see in the below screenshot, Gesture Navigation means there is no 3-button navigation, similar behavior of iPhones behavi... | android|android-11|android-launcher|android-gesture | 0 | 2022-08-03T06:04:25.913Z | 2,022 | 8 | 6 | 2 | 54 | 0 | 946 | 121 | 4 | 1 | true | true | false | false | false | false | zero |
73,216,941 | When my app is closed push notifications not showing image and also not redirecting to particular activity | <p><strong>Push notification not showing image when the app is closed. Also, it's not redirecting to a particular activity. It's working fine when the app is open or in the background. Here's my code please tell me what I am doing wrong.</strong></p>
<hr />
<pre><code> class MyFirebaseMessagingService : FirebaseMess... | Push notification not showing image when the app is closed. Also, it's not redirecting to a particular activity. It's working fine when the app is open or in the background. Here's my code please tell me what I am doing wrong. [CODE] This code is working while the app is in the background but I want a push notification... | android|firebase|kotlin|push-notification|firebase-cloud-messaging | 0 | 2022-08-03T06:07:57.783Z | 2,022 | 8 | 6 | 2 | 32 | 0 | 441 | 106 | 5 | 1 | true | true | false | false | false | false | zero |
73,216,945 | MaterialAlertDialog not showing items from Room DB | <p>I want to show a list of Strings in a MaterialAlertDialog. I'm loading them from Room Db within a suspended function and use a callback to set the items in the DialogFragment. Here the code:</p>
<p><strong>PlayerDao.kt</strong></p>
<pre class="lang-kotlin prettyprint-override"><code>@Dao
interface PlayerDao {
@... | I want to show a list of Strings in a MaterialAlertDialog. I'm loading them from Room Db within a suspended function and use a callback to set the items in the DialogFragment. Here the code: PlayerDao.kt [CODE] PlayerRepository.kt [CODE] WelcomeViewModel.kt [CODE] WelcomeFragment.kt [CODE] SelectCharacterDialogFragment... | android|kotlin|android-alertdialog|kotlin-coroutines | 0 | 2022-08-03T06:08:16.007Z | 2,022 | 8 | 6 | 2 | 30 | 1 | 615 | 50 | 4 | 6 | true | false | false | false | false | false | zero |
73,217,010 | What I need add to application for supporting work profile | <p>Hello I want develop application that will be installed on managed profile. Scenario when user input work account and system propose install apps.</p>
<p>Should I add anything to my apps for starting support this?</p> | Hello I want develop application that will be installed on managed profile. Scenario when user input work account and system propose install apps. Should I add anything to my apps for starting support this? | android|android-work-profile | 0 | 2022-08-03T06:13:54.360Z | 2,022 | 8 | 6 | 2 | 16 | 0 | 206 | 58 | 2 | 0 | false | true | false | false | false | false | zero |
73,217,049 | React Native Drawer Navigation Reanimated Problem | <p>I try to use drawer navigator on react native, first i have installed all necessary packages and i am using reanimated-1 but app can not be built and gives this error. If i try to use reanimated-2 everything is fine but while i am using reanimaed-1 i am getting this error.</p>
<p>error Failed to install the app. Mak... | I try to use drawer navigator on react native, first i have installed all necessary packages and i am using reanimated-1 but app can not be built and gives this error. If i try to use reanimated-2 everything is fine but while i am using reanimaed-1 i am getting this error. error Failed to install the app. Make sure you... | android|reactjs|react-native|react-native-reanimated | 0 | 2022-08-03T06:17:51.567Z | 2,022 | 8 | 6 | 2 | 123 | 0 | 808 | 49 | 4 | 0 | false | true | false | false | false | false | zero |
73,217,352 | is it possible change Application icon dynamically in android without update the application? | <p>I am trying to add different types of App icons and different App names dynamically based on different places for the same application without update!. Otherwise, I need to provide 3 different builds. I hope I am clear.</p> | I am trying to add different types of App icons and different App names dynamically based on different places for the same application without update!. Otherwise, I need to provide 3 different builds. I hope I am clear. | java|android|android-studio | 2 | 2022-08-03T06:46:14.780Z | 2,022 | 8 | 6 | 2 | 76 | 1 | 219 | 93 | 3 | 0 | false | false | false | false | false | false | low |
73,217,398 | An enclosing instance that contains android.security.keystrore.KeyGenParameterSpec.Builder is required | <p>I am trying to compile the following code:</p>
<pre><code> public class AndroidMKeyRepository
extends AndroidKeyStoreRepository {
KeyGenParameterSpec.Builder getKeyGenParameterSpecBuilder(String alias, GenerateKeyAttribute attributes) {
Calendar cal = Calendar.getInstance();
Date now = cal.get... | I am trying to compile the following code: [CODE] But I get this error: "An enclosing instance that contains android.security.keystrore.KeyGenParameterSpec.Builder is required" more details about KeyGenParameterSpec.Builder: https://developer.android.com/reference/android/security/keystore/KeyGenParameterSpec... | android|class|static|builder | 0 | 2022-08-03T06:49:48.550Z | 2,022 | 8 | 6 | 2 | 8 | 0 | 341 | 102 | 4 | 1 | true | true | false | false | false | false | zero |
73,217,422 | onScrolled called only once, if we have recyclerview inside recyclerview in Android | <p>To find the solution and try diff diff approaches, I made demo project and checked, but it is not working.</p>
<p>So, I have activity - adapter - adapter row with recyclerview - inside adapter - initialised another adapter - added addOnScrollListener - onScrolled called only once!</p>
<p>Code:</p>
<pre><code>recycle... | To find the solution and try diff diff approaches, I made demo project and checked, but it is not working. So, I have activity - adapter - adapter row with recyclerview - inside adapter - initialised another adapter - added addOnScrollListener - onScrolled called only once! Code: [CODE] So you can consider naming conve... | android|android-recyclerview | 0 | 2022-08-03T06:52:35.333Z | 2,022 | 8 | 6 | 2 | 28 | 0 | 533 | 83 | 2 | 1 | true | true | false | false | false | false | zero |
73,217,501 | Capacitor android plugin not working for some reason | <p>MainActivity.java</p>
<pre><code>public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
registerPlugin(EchoPlugin.class);
}
}
</code></pre>
<p>EchoPlugin.java</p>
<pre><code>@CapacitorPlugin(name... | MainActivity.java [CODE] EchoPlugin.java [CODE] echo.plugin.ts [CODE] After calling the echo method from my typescript, I get no response. It seems as though no code after the plugin gets called gets ran for some odd reason. My project is using capacitor v4. Does anybody have any ideas/suggestions? | android|capacitor | 1 | 2022-08-03T06:59:07.410Z | 2,022 | 8 | 6 | 2 | 56 | 1 | 299 | 52 | 2 | 3 | true | false | false | false | false | false | low |
73,217,565 | Android App runs but doesnt appear on Homescreen | <p>When I run the app from Androidstudio on emulators or real devices the app comes up and runs properly but it isn't visible on the homescreen (or any others).
It does also appear in Settings/Apps.
No errors appear. All advices in the internet didn't help me unfortunately
I tried to rename to App too, wipe all emulato... | When I run the app from Androidstudio on emulators or real devices the app comes up and runs properly but it isn't visible on the homescreen (or any others). It does also appear in Settings/Apps. No errors appear. All advices in the internet didn't help me unfortunately I tried to rename to App too, wipe all emulator-d... | java|android|react-native|gradle|android-manifest | 0 | 2022-08-03T07:04:41.617Z | 2,022 | 8 | 7 | 2 | 37 | 0 | 609 | 48 | 5 | 1 | true | true | false | false | false | false | zero |
73,217,629 | Your app is not compliant with Google Play Policies | <p>In our applications, we are saving the User email id and user name in shared preference and sending those to Firebase analytics. In this case what should be the answer of the below question that Google is asking :</p>
<blockquote>
<p>Does your app collect or share any of the required user data types?</p>
<ul>
<li>Ye... | In our applications, we are saving the User email id and user name in shared preference and sending those to Firebase analytics. In this case what should be the answer of the below question that Google is asking : Does your app collect or share any of the required user data types? Yes No Please suggest a suitable optio... | android|firebase-analytics | 0 | 2022-08-03T07:10:54.457Z | 2,022 | 8 | 7 | 2 | 97 | 0 | 322 | 51 | 2 | 0 | false | true | false | false | false | false | zero |
73,217,642 | How to retrieve firestore nested array and map and show this in recyclerview | <p>In my app i want show recyclerview under another recyclerview,and this data coming from Firebase Firestore.It's showing perfectly but the nested recyclerview show same item in other nested recyclerview.</p>
<p>My database structure
[1]: <a href="https://i.stack.imgur.com/iqz1z.png" rel="nofollow noreferrer">https://... | In my app i want show recyclerview under another recyclerview,and this data coming from Firebase Firestore.It's showing perfectly but the nested recyclerview show same item in other nested recyclerview. My database structure [1]: https://i.stack.imgur.com/iqz1z.png My code This is the parent recyclerview model OrderMod... | android|firebase|kotlin|google-cloud-firestore|android-recyclerview | 0 | 2022-08-03T07:11:52.300Z | 2,022 | 8 | 7 | 2 | 53 | 0 | 585 | 76 | 5 | 3 | true | true | false | false | false | false | zero |
73,217,685 | How do I prevent Xamarin Forms apps from breaking, when I switch between different projects/apps? | <p>I have multiple Xamarin Forms projects for different apps.</p>
<p>Sometimes when I switch between the projects or create a new one, every single app shows one of various error messages, preventing it from starting.
Usually I "fix" this, by deleting the broken project and restarting my computer, however thi... | I have multiple Xamarin Forms projects for different apps. Sometimes when I switch between the projects or create a new one, every single app shows one of various error messages, preventing it from starting. Usually I "fix" this, by deleting the broken project and restarting my computer, however this time it ... | c#|android|xamarin|xamarin.forms | 1 | 2022-08-03T07:16:53.653Z | 2,022 | 8 | 7 | 2 | 57 | 0 | 1,056 | 97 | 4 | 3 | true | true | false | false | false | false | low |
73,217,693 | Cannot set Android Studio environment variables | <p>To avoid installing SDKs on my C: drive which is already low on space, I search a little bit and understand that I have to change SDK installation location through environment variables.</p>
<p>So I find them from <a href="https://developer.android.com/studio/command-line/variables" rel="nofollow noreferrer">here</a... | To avoid installing SDKs on my C: drive which is already low on space, I search a little bit and understand that I have to change SDK installation location through environment variables. So I find them from here and: Create ANDROID_HOME=D:\Android\Sdk\ as a User variable Create ANDROID_USER_HOME=D:\Android\Sdk\ as a Us... | android-studio | 1 | 2022-08-03T07:17:25.490Z | 2,022 | 8 | 7 | 2 | 59 | 0 | 876 | 47 | 1 | 1 | true | true | false | false | false | false | low |
73,217,865 | WearOS Off Body Event is not always triggered | <p>I'm developing a simple app for WearOS. This app consists of the app itself, which just shows an image and two services. One is a service, does NFC card emulation and the other simply listens for the off body event, and resets some values, whenever the watch is taken off. This works well while I'm debugging and also... | I'm developing a simple app for WearOS. This app consists of the app itself, which just shows an image and two services. One is a service, does NFC card emulation and the other simply listens for the off body event, and resets some values, whenever the watch is taken off. This works well while I'm debugging and also fo... | java|android|android-service|wear-os|android-sensors | 0 | 2022-08-03T07:32:23.580Z | 2,022 | 8 | 7 | 2 | 23 | 0 | 654 | 45 | 5 | 1 | true | true | false | false | false | false | zero |
73,217,889 | Audience Network not displaying Ads with Admob mediation | <p>My Meta Audience Network not displaying Ads with Admob mediation Android, I am only getting requests and no impressions.
Please I need help, I have set up bidding and Admob Facebook mediation SDK</p>
<blockquote>
<p>implementation 'com.google.ads.mediation:facebook:6.11.0.1'</p>
</blockquote>
<p>'<a href="https://i.... | My Meta Audience Network not displaying Ads with Admob mediation Android, I am only getting requests and no impressions. Please I need help, I have set up bidding and Admob Facebook mediation SDK implementation 'com.google.ads.mediation:facebook:6.11.0.1' ' Screenshot | java|android-studio|admob | 0 | 2022-08-03T07:33:29.107Z | 2,022 | 8 | 7 | 2 | 81 | 1 | 268 | 56 | 3 | 0 | false | false | false | false | false | false | zero |
73,217,903 | Flutter app - QUERY_ALL_PACKAGES automatically adds to build manifest | <p>I have a flutter android app ,
for some reason</p>
<pre><code><permission android:name="android.permission.QUERY_ALL_PACKAGES" />
</code></pre>
<p>is automatically added to build manifest of my app , and because of this google play console is not letting me update my already published app.
I suspect ... | I have a flutter android app , for some reason [CODE] is automatically added to build manifest of my app , and because of this google play console is not letting me update my already published app. I suspect the problem might be in some of the third party pub dev packages we are using. How to fix this? | android|flutter|google-play|google-play-console | 0 | 2022-08-03T07:34:37.750Z | 2,022 | 8 | 7 | 2 | 110 | 0 | 303 | 69 | 4 | 1 | true | true | false | false | false | false | zero |
73,217,995 | How to share a secret key between two Android application | <p>I've got an application which will be installed on many devices manually and we want to add a specific AES key for each devices.</p>
<p>My first thought was to send an intent with ADB and decode the key to add it to the application <a href="https://developer.android.com/training/articles/keystore" rel="nofollow nore... | I've got an application which will be installed on many devices manually and we want to add a specific AES key for each devices. My first thought was to send an intent with ADB and decode the key to add it to the application Keystore . But this solution was deem not secure enough by my company because anyone with an ad... | android|broadcastreceiver|adb|android-contentprovider|android-keystore | 0 | 2022-08-03T07:42:22.833Z | 2,022 | 8 | 7 | 2 | 54 | 0 | 1,191 | 57 | 5 | 1 | true | true | false | false | false | false | zero |
73,218,160 | Flutter: buttons not showing while emulation | <p>I try to make simple app with counter button. Everything seems allright before i try to emulate this - button do not show while emulation. Maybe problem with extends between classes?</p>
<pre><code>import 'package:flutter/material.dart';
void main() {
runApp(const CountApp());
}
class CountApp exte... | I try to make simple app with counter button. Everything seems allright before i try to emulate this - button do not show while emulation. Maybe problem with extends between classes? [CODE] Can't see where is my mistake, only header showing while i trying to emulate Can anyone say what i do wrong, please? | flutter|dart|button|android-emulator | 0 | 2022-08-03T07:56:57.367Z | 2,022 | 8 | 7 | 2 | 31 | 2 | 306 | 44 | 4 | 1 | true | false | false | false | false | false | zero |
73,218,210 | Android In-App Update is not working for me. Is there any Fix? | <p>I was trying to implement in-app update in android and I have gone through a lot of resources and documentation to see how it works. But after implementing it and publishing it through internal app sharing it is not detecting the new version released.</p>
<p>This is the code snippet:</p>
<pre><code> public void i... | I was trying to implement in-app update in android and I have gone through a lot of resources and documentation to see how it works. But after implementing it and publishing it through internal app sharing it is not detecting the new version released. This is the code snippet: [CODE] Does it need this implementation in... | java|android | 0 | 2022-08-03T08:00:43.853Z | 2,022 | 8 | 8 | 2 | 32 | 0 | 383 | 62 | 2 | 1 | true | true | false | false | false | false | zero |
73,218,339 | opening video in new activity | <p>I am trying to change the main activity in android to another activity and playing a video in the new activity. but, even I changed in the manifest the main activity, it didn't show me the video when I'm starting the app. I tried to Check in the Logcat if the activity is still launched, and i didn't see any message.... | I am trying to change the main activity in android to another activity and playing a video in the new activity. but, even I changed in the manifest the main activity, it didn't show me the video when I'm starting the app. I tried to Check in the Logcat if the activity is still launched, and i didn't see any message. [C... | java|android | 1 | 2022-08-03T08:11:23.230Z | 2,022 | 8 | 8 | 2 | 38 | 1 | 348 | 29 | 2 | 2 | true | false | false | false | false | false | low |
73,218,340 | Sync pagable data with client DB | <p>In my Android App I save data I receive directly into a DB (room) and use it as a single source of truth for the UI etc. This make the architecture quite nice because the data is available offline by default and I can listen in a reactive fashion on the DB.</p>
<p>Now some of the data I receive is paginated, of cour... | In my Android App I save data I receive directly into a DB (room) and use it as a single source of truth for the UI etc. This make the architecture quite nice because the data is available offline by default and I can listen in a reactive fashion on the DB. Now some of the data I receive is paginated, of course this is... | android|api|rest|pagination|paging | 0 | 2022-08-03T08:11:30.540Z | 2,022 | 8 | 8 | 2 | 14 | 0 | 1,211 | 32 | 5 | 0 | false | true | false | false | false | false | zero |
73,218,428 | Android Intent.ACTION_CLOSE_SYSTEM_DIALOGS sends the `homekey` press event twice | <p>When registering a <code>BroadcastReceiver</code> with the <code>IntentFilter</code> <code>Intent.ACTION_CLOSE_SYSTEM_DIALOGS</code>, the <code>homekey</code> pressed event is received twice, however the other events like <code>recentapps</code> is received only once. I'm not registering any receivers in the <code>A... | When registering a BroadcastReceiver with the IntentFilter Intent.ACTION_CLOSE_SYSTEM_DIALOGS , the homekey pressed event is received twice, however the other events like recentapps is received only once. I'm not registering any receivers in the AndroidManifest.xml file. Following is the code snippet I'm trying to use:... | android|broadcastreceiver | 0 | 2022-08-03T08:18:04.123Z | 2,022 | 8 | 8 | 2 | 53 | 0 | 483 | 80 | 2 | 3 | true | true | false | false | false | false | zero |
73,218,432 | bottom navigation view fragment re-created when selected tab | <p>In my application i am using Jetpack Navigation with BottomNavigationView. I have like 5 fragments and when i am in Home fragment, i click tab2 item in bottom navigation view and i click tab1 again, it re-creates the fragment.</p>
<pre><code> val navHostFragment = supportFragmentManager.findFragmentById(
... | In my application i am using Jetpack Navigation with BottomNavigationView. I have like 5 fragments and when i am in Home fragment, i click tab2 item in bottom navigation view and i click tab1 again, it re-creates the fragment. [CODE] | android|bottomnavigationview|android-jetpack-navigation|android-navigationview|android-bottomnav | 1 | 2022-08-03T08:18:21.607Z | 2,022 | 8 | 8 | 2 | 51 | 0 | 233 | 60 | 5 | 1 | true | true | false | false | false | false | low |
73,218,614 | Unable to import createRefs() for constraint layout | <p><a href="https://i.stack.imgur.com/uRn4F.png" rel="nofollow noreferrer">My Imports</a></p>
<p><a href="https://i.stack.imgur.com/3er6y.png" rel="nofollow noreferrer">Its asking me to import Focus request but i want to use the createRef() for Constraint layout reference</a></p>
<p>I'm using this version: "androi... | My Imports Its asking me to import Focus request but i want to use the createRef() for Constraint layout reference I'm using this version: "androidx.constraintlayout:constraintlayout-compose:1.0.0-rc01" | android|android-jetpack-compose|android-constraintlayout | 0 | 2022-08-03T08:31:26.737Z | 2,022 | 8 | 8 | 2 | 50 | 0 | 212 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
73,218,699 | Method addObserver must be called on the main thread Kotlin | <p>When I create a native module on Android using Kotline getting error Method addObserver must be called on the main thread</p>
<p><a href="https://i.stack.imgur.com/Njx02.png" rel="nofollow noreferrer">enter image description here</a></p> | When I create a native module on Android using Kotline getting error Method addObserver must be called on the main thread enter image description here | android|react-native|react-native-native-module|native-module | 0 | 2022-08-03T08:38:07.717Z | 2,022 | 8 | 8 | 2 | 56 | 0 | 150 | 59 | 4 | 0 | false | true | false | false | false | false | zero |
73,218,715 | OnActivityResult isn't being called | <p>I'm calling startActivityForResult and the other Activity starts correctly, but the method onActivityResult isn't being called, it just calls OnCreate</p>
<p>This is the code where I call startActivityForResult</p>
<pre><code> val intent = Intent(this, MainActivity::class.java);
startActivityForResult... | I'm calling startActivityForResult and the other Activity starts correctly, but the method onActivityResult isn't being called, it just calls OnCreate This is the code where I call startActivityForResult [CODE] And this is the method onActivityResult on the MainActivity that isn't being called. This is the code [CODE] ... | java|android|kotlin | 1 | 2022-08-03T08:40:14.393Z | 2,022 | 8 | 8 | 2 | 61 | 1 | 1,225 | 35 | 3 | 5 | true | false | false | false | false | false | low |
73,218,746 | Declare service in AOSP | <p>As part of a training course I need to declare a service in AOSP and call it at boot. The thing is the training is outdated, I'm working on a physical machine and the project is different.</p>
<p>Specs:
Android Version: 12
Android SDK: 31</p>
<p>Anyway I've built a module in C called "exd", it's stored in ... | As part of a training course I need to declare a service in AOSP and call it at boot. The thing is the training is outdated, I'm working on a physical machine and the project is different. Specs: Android Version: 12 Android SDK: 31 Anyway I've built a module in C called "exd", it's stored in /system/bin/ and ... | android|service|android-source | 0 | 2022-08-03T08:42:43.150Z | 2,022 | 8 | 8 | 2 | 48 | 0 | 1,026 | 23 | 3 | 4 | true | true | false | false | false | false | zero |
73,218,888 | How to use TimePicker with keyboard input android? | <p>I am using TimePicker but keyboard input in TimePicker works from Android 6 to Android 7.</p>
<p>After Android 8, keyboard input in TimePicker is not working. When I checked in aosp source code, keyboard input functions been totally removed.</p>
<p>Let me know is it possible to implement keyboard input in TimePicker... | I am using TimePicker but keyboard input in TimePicker works from Android 6 to Android 7. After Android 8, keyboard input in TimePicker is not working. When I checked in aosp source code, keyboard input functions been totally removed. Let me know is it possible to implement keyboard input in TimePicker without using Ma... | java|android|datetimepicker|android-calendar|android-timepicker | 1 | 2022-08-03T08:52:59.553Z | 2,022 | 8 | 8 | 2 | 39 | 0 | 684 | 50 | 5 | 1 | true | true | false | false | false | false | low |
73,218,957 | Xamarin The "ManifestMerger" task failed unexpectedly | <p>After installing Visual Studio 2022, I created a new Xamarin project targeting Android only but failed to build with the following error. Kindly advise on how I can have this resolved and build my xamarin application. Thank you</p>
<pre><code>Severity Code Description Project File Line Suppression State
... | After installing Visual Studio 2022, I created a new Xamarin project targeting Android only but failed to build with the following error. Kindly advise on how I can have this resolved and build my xamarin application. Thank you [CODE] | xamarin|xamarin.android | 0 | 2022-08-03T08:59:33.713Z | 2,022 | 8 | 8 | 2 | 46 | 0 | 234 | 53 | 2 | 1 | true | true | false | false | false | false | zero |
73,219,009 | Settings to set a Screen Saver are not showing on Google Chromecast | <p>I’m developing a custom screen saver for Android TV devices.
On Google Chromecast, to set a screen saver, there is no possibility to do it in system settings, but it is possible to open it with intent.</p>
<pre><code>val intent = Intent(Intent.ACTION_MAIN).setClassName(
"com.android.tv.settings",
"... | I’m developing a custom screen saver for Android TV devices. On Google Chromecast, to set a screen saver, there is no possibility to do it in system settings, but it is possible to open it with intent. [CODE] After OS Update (OS version 10, 1 May 2022) , this intent is presented but doing nothing. Start activity is cal... | android|chromecast|android-tv | 1 | 2022-08-03T09:03:03.927Z | 2,022 | 8 | 9 | 2 | 87 | 1 | 474 | 67 | 3 | 1 | true | false | false | false | false | false | low |
73,219,112 | Android remove font padding on line breaks | <p>How do I remove the space created after this text line breaks:</p>
<p><a href="https://i.stack.imgur.com/SU9T3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SU9T3.png" alt="enter image description here" /></a></p>
<p>The .XML looks like this:</p>
<pre><code><TextView
android:id=&q... | How do I remove the space created after this text line breaks: The .XML looks like this: [CODE] | android|xml|kotlin | 0 | 2022-08-03T09:10:27.937Z | 2,022 | 8 | 9 | 2 | 28 | 1 | 95 | 42 | 3 | 1 | true | false | false | false | false | false | zero |
73,219,124 | how to remove the exact item from recyclerview in android studio? | <p>I am trying to delete the item from the recyclerview, but after deleting it always removes the last position, I can't understand why it is not removing the exact position which I have deleted</p>
<p>please if anyone could help me out of this problem</p>
<p>here is my code</p>
<pre><code> holder.items_image.setOnCli... | I am trying to delete the item from the recyclerview, but after deleting it always removes the last position, I can't understand why it is not removing the exact position which I have deleted please if anyone could help me out of this problem here is my code [CODE] | java|android|android-recyclerview | 0 | 2022-08-03T09:11:26.557Z | 2,022 | 8 | 9 | 2 | 43 | 0 | 265 | 65 | 3 | 1 | true | true | false | false | false | false | zero |
73,219,134 | Using offset{} modifier with imePadding() modifier? | <p>Is it possible to use offset{} modifier with imePadding() modifier and if so how can we use it?</p>
<p>Assume that I am trying to create an ElevatedCard with a TextField inside it and the ElevatedCard is placed inside a Box. Elevated card is positioned inside the card with the help of offset{} modifier. You may wond... | Is it possible to use offset{} modifier with imePadding() modifier and if so how can we use it? Assume that I am trying to create an ElevatedCard with a TextField inside it and the ElevatedCard is placed inside a Box. Elevated card is positioned inside the card with the help of offset{} modifier. You may wonder why am ... | android-jetpack-compose|ime|android-compose-textfield | 0 | 2022-08-03T09:12:29.907Z | 2,022 | 8 | 9 | 2 | 38 | 0 | 838 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
73,219,147 | How to block all notifications of other apps when my Android app is both running and not running | <p>I am building an Android application with the desire to block all notifications of other applications when my application is active or inactive. I have found that there is a way to block but only block when my application is active and inactive, it can't be blocked anymore. So, can someone help me find another way?<... | I am building an Android application with the desire to block all notifications of other applications when my application is active or inactive. I have found that there is a way to block but only block when my application is active and inactive, it can't be blocked anymore. So, can someone help me find another way? | android|android-studio|android-notifications | 0 | 2022-08-03T09:13:27.107Z | 2,022 | 8 | 9 | 2 | 33 | 0 | 316 | 96 | 3 | 0 | false | true | false | false | false | false | zero |
73,219,368 | Android Room store map field as a table | <p>having a class with map field, can i tell Room to store the map field in a connected table?</p>
<p>for example, having :</p>
<pre><code>@Entity
class A {
@PrimaryKey
long id;
private Map<String, String> b;
}
</code></pre>
<p>Id expect it to create table a, and a_b, where a = [id] and a_b=[a_id,key,... | having a class with map field, can i tell Room to store the map field in a connected table? for example, having : [CODE] Id expect it to create table a, and a_b, where a = [id] and a_b=[a_id,key,value], a_b primary key would be composite of fields [a_id,key] and the rows will be updated in correspondence to map actions... | android|android-room | 0 | 2022-08-03T09:29:58.787Z | 2,022 | 8 | 9 | 2 | 33 | 1 | 819 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
73,219,369 | Could not find method artifactory() [Gradle 7.+] | <p>I am using Gradle 7.+ and we know its structure is different.</p>
<p>Now how can setup <code>com.jfrog.artifactory</code> plugin on gradle 7.+?</p>
<p>My JFrog artifactory using legacy gradle installation !</p>
<p><a href="https://i.stack.imgur.com/wRagA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur... | I am using Gradle 7.+ and we know its structure is different. Now how can setup com.jfrog.artifactory plugin on gradle 7.+? My JFrog artifactory using legacy gradle installation ! I tried to setup using gradle DSL & legacy one, But I got the same issue Could not find method artifactory() Any Help? | java|gradle|artifactory|android-gradle-7.0 | 1 | 2022-08-03T09:30:03.930Z | 2,022 | 8 | 9 | 2 | 55 | 1 | 298 | 48 | 4 | 0 | false | false | false | false | false | false | low |
73,219,420 | how can I edit the text on a button? | <p>If you are reading this, I want to ask you a question (obviously). So uhh, I kinda have this problem on my emulator in android studio where the text on the button is not edited. How do I solve this? <a href="https://i.stack.imgur.com/uDKKN.jpg" rel="nofollow noreferrer">the original thing (left) what it shows on the... | If you are reading this, I want to ask you a question (obviously). So uhh, I kinda have this problem on my emulator in android studio where the text on the button is not edited. How do I solve this? the original thing (left) what it shows on the emulator (right) | java|android|macos|button|android-studio-2.3 | -1 | 2022-08-03T09:34:49.263Z | 2,022 | 8 | 9 | 2 | 54 | 2 | 262 | 36 | 5 | 0 | false | false | false | false | false | true | negative |
73,219,457 | FA: Inactivity, disconnecting from the service | <p>Error</p>
<p>*V/FA: Activity resumed, time: 710539857</p>
<p>V/FA: Connection attempt already in progress</p>
<p>V/FA: Connection attempt already in progress</p>
<p>D/FA: Connected to remote service</p>
<p>V/FA: Processing queued up service tasks: 4</p>
<p>I/WM-WorkerWrapper: Worker result SUCCESS for Work [ id=75f5... | Error *V/FA: Activity resumed, time: 710539857 V/FA: Connection attempt already in progress V/FA: Connection attempt already in progress D/FA: Connected to remote service V/FA: Processing queued up service tasks: 4 I/WM-WorkerWrapper: Worker result SUCCESS for Work [ id=75f5f87c-7328-4690-a1a6-f6363ce20d91, tags={ com.... | android|firebase|android-studio|service|worker | 0 | 2022-08-03T09:37:39.760Z | 2,022 | 8 | 9 | 2 | 54 | 0 | 646 | 46 | 5 | 0 | false | true | false | false | false | false | zero |
73,219,461 | Different action menu items for each fragment with same navigation drawer in Android | <p>I have a Main activity that hosts a navigation drawer and multiple fragments. Each fragment has its own set of menu items.</p>
<p>Now the problem starts when I add the <strong>onOptionsItemSelected</strong> method, the navigation Drawer won't open. And when I don't add the <strong>onOptionsItemSelected</strong> meth... | I have a Main activity that hosts a navigation drawer and multiple fragments. Each fragment has its own set of menu items. Now the problem starts when I add the onOptionsItemSelected method, the navigation Drawer won't open. And when I don't add the onOptionsItemSelected method, navigation Drawer opens but then menu it... | java|android|android-fragments|navigation-drawer|android-menu | 1 | 2022-08-03T09:37:53.453Z | 2,022 | 8 | 9 | 2 | 41 | 2 | 414 | 84 | 5 | 1 | true | false | false | false | false | false | low |
73,219,469 | How can server Side Google Tag manager be implemented for Android? | <p><a href="https://developers.google.com/tag-platform/tag-manager/server-side/send-data#send_data_from_other_sources" rel="nofollow noreferrer">https://developers.google.com/tag-platform/tag-manager/server-side/send-data#send_data_from_other_sources</a></p>
<p>This bit of information for mobile support on GTM is not h... | https://developers.google.com/tag-platform/tag-manager/server-side/send-data#send_data_from_other_sources This bit of information for mobile support on GTM is not helping me proceed on how to use sGTM for mobile. | android|server|google-tag-manager | 0 | 2022-08-03T09:38:12.877Z | 2,022 | 8 | 9 | 2 | 59 | 0 | 212 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
73,219,516 | ImageView click works on emulator, not on phone (Android) | <p>I have ImageView as :</p>
<pre><code><ImageView
android:id="@+id/btnBack"
android:layout_width="12dp"
android:layout_height="18dp"
android:layout_marginTop="25dp"
android:layout_marginStart=&quo... | I have ImageView as : [CODE] And I have done: [CODE] I have set click listener to my ImageView as : [CODE] Things work perfectly fine on Emulator, but while testing on a real phone, I have to tap the ImageView many times to make it work. Why is this so? What am I doing wrong? Thanks! | android|click|android-imageview|onclicklistener | 0 | 2022-08-03T09:42:09.313Z | 2,022 | 8 | 9 | 2 | 26 | 1 | 284 | 57 | 4 | 3 | true | false | false | false | false | false | zero |
73,219,529 | android chat bubble with reply UI | <p>I'm trying to create a chat bubble with the following code,</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_cont... | I'm trying to create a chat bubble with the following code, [CODE] And it produces the following output, As you can see, the replyUI is not filling the entire width of the chat bubble. So, I tried setting replyUI width to match_parent , it fills the parent and the output looks like this, But now I have another problem,... | android|android-layout|chat | 0 | 2022-08-03T09:42:48.167Z | 2,022 | 8 | 9 | 2 | 127 | 3 | 617 | 33 | 3 | 1 | true | false | false | false | false | false | zero |
73,219,571 | when is onAttach invoked? | <p><a href="https://developer.android.com/guide/fragments/lifecycle" rel="nofollow noreferrer">The android documentation</a> says that <code>The onAttach() callback is invoked when the fragment has been added to a FragmentManager and is attached to its host activity.</code></p>
<p>A piece of my code in the activity:</p... | The android documentation says that The onAttach() callback is invoked when the fragment has been added to a FragmentManager and is attached to its host activity. A piece of my code in the activity: [CODE] A piece of my code in the fragment: [CODE] The log: [CODE] As you can see onAttach() isn't invoked when the fragme... | android | 1 | 2022-08-03T09:46:10.133Z | 2,022 | 8 | 9 | 2 | 21 | 1 | 396 | 25 | 1 | 3 | true | false | false | false | false | false | low |
73,219,578 | Why JTDS connection error SSL on android version 10 | <p>I am using jtds-1.3.1.jar to connect my android app to sql server DB. My app is working really fine on my pixel 5, Its android version is 12. But when I install the same app on android version 10 device it gives me the error</p>
<pre><code>conclass: Network error IOException: SSL handshake aborted: ssl=0x7af1b3fb88:... | I am using jtds-1.3.1.jar to connect my android app to sql server DB. My app is working really fine on my pixel 5, Its android version is 12. But when I install the same app on android version 10 device it gives me the error [CODE] My connection string is something like this [CODE] Can someone please guide me. | android|sql-server|jtds | 1 | 2022-08-03T09:46:31.617Z | 2,022 | 8 | 9 | 2 | 25 | 0 | 311 | 51 | 3 | 2 | true | true | false | false | false | false | low |
73,219,592 | Can I wrap a LocalDensity.current with remember for a property of a class when I use Jetpack Compose? | <p><strong>1:</strong> I know I will get the following error for Code A when I wrap <code>LocalDensity.current</code> with <code>remember</code>.
I can't understand fully the error information, could you tell me?</p>
<p><em>Composable calls are not allowed inside the calculation parameter</em></p>
<p><strong>2:</strong... | 1: I know I will get the following error for Code A when I wrap LocalDensity.current with remember . I can't understand fully the error information, could you tell me? Composable calls are not allowed inside the calculation parameter 2: In Code B, val density is a property of a class WatchState , it's instanced with va... | kotlin|android-jetpack-compose | 1 | 2022-08-03T09:47:18.337Z | 2,022 | 8 | 9 | 2 | 46 | 1 | 566 | 101 | 2 | 2 | true | false | false | false | false | false | low |
73,219,597 | Get Value From Realtime Firebase Inside Child | <p>Greeting everyone, im working a project right now and need help for firebase realtime database.</p>
<blockquote>
<p>My firebase Project</p>
</blockquote>
<p><a href="https://i.stack.imgur.com/O6N34.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O6N34.png" alt="enter image description here" /></a>... | Greeting everyone, im working a project right now and need help for firebase realtime database. My firebase Project As you guys can see in the above picture, inside student, I have matric number, and inside matric number have block and department. I have a barcode scanner which scan the value of department and return t... | java|android|firebase|firebase-realtime-database | 2 | 2022-08-03T09:47:34.013Z | 2,022 | 8 | 9 | 2 | 36 | 1 | 392 | 45 | 4 | 1 | true | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.