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,201,592 | Could not resolve all files for configuration ':app:debugRuntimeClasspath'. while adding new dependencies in android studio chipmunk | <p>These are my gradel files:-</p>
<p>Project:-</p>
<pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
id 'org.jetbrains.kotlin.... | These are my gradel files:- Project:- [CODE] Module:- [CODE] In my previous projects I was able to run app using these dependencies but now I am unable add these dependencies in my new projects. Not only these dependencies but also other dependencies are not working. I am getting this as an error:- [CODE] FAILURE: Buil... | android|android-gradle-plugin|build.gradle|gradle-dependencies|android-studio-chipmunk | 2 | 2022-08-02T03:12:25.017Z | 2,022 | 8 | 3 | 1 | 791 | 1 | 799 | 132 | 5 | 4 | true | false | false | false | false | false | low |
73,201,634 | android: local variable may not have been initialized of a timerTask inside a service | <p>I want to cancel the TimerTask using .cancel() but it has the above error. How that can be fixed? This function is called from a service, NOT activity.</p>
<pre><code> public void makeCall() {
final Handler handler = new Handler();
Timer timer = new Timer();
final TimerTask CallTask = new TimerTask() {... | I want to cancel the TimerTask using .cancel() but it has the above error. How that can be fixed? This function is called from a service, NOT activity. [CODE] | android|handler|timertask | 0 | 2022-08-02T03:19:36.987Z | 2,022 | 8 | 3 | 1 | 17 | 1 | 158 | 85 | 3 | 1 | true | false | false | false | false | false | zero |
73,201,635 | java.lang.IllegalArgumentException when running Unit test in Github Action | <p>I'm testing the converter of the retrofit like below. It works on my local computer but does not work in the Github Action. I'm using the JDK version 11 on my computer.</p>
<pre><code>java.lang.IllegalArgumentException at EnumConverterFactoryTest.kt:12
</code></pre>
<p><strong>EnumConverterFactoryTest.kt</strong></p... | I'm testing the converter of the retrofit like below. It works on my local computer but does not work in the Github Action. I'm using the JDK version 11 on my computer. [CODE] EnumConverterFactoryTest.kt [CODE] Converter [CODE] Workflow file [CODE] | java|android|kotlin|github-actions|android-unit-testing | 0 | 2022-08-02T03:19:45.637Z | 2,022 | 8 | 3 | 1 | 28 | 0 | 248 | 74 | 5 | 4 | true | true | false | false | false | false | zero |
73,201,658 | How do I optimize The Android Studio emulator | <p>I ran a Pixel 3a on Android 13 Virtual Device on Android Studio and when the emulator is on it says "System Ui is not responding" I have Intel HAXM, How do I optimize android studio on my computer</p>
<p>Processor: Intel(R) Celeron(R) N4020 @ 1.10GHz
RAM: 4.00 GB (3.82 GB usable)
Windows 11 Home 64-bit
SSD... | I ran a Pixel 3a on Android 13 Virtual Device on Android Studio and when the emulator is on it says "System Ui is not responding" I have Intel HAXM, How do I optimize android studio on my computer Processor: Intel(R) Celeron(R) N4020 @ 1.10GHz RAM: 4.00 GB (3.82 GB usable) Windows 11 Home 64-bit SSD | android|android-emulator|android-studio-3.0 | 0 | 2022-08-02T03:24:28.600Z | 2,022 | 8 | 3 | 1 | 44 | 1 | 310 | 45 | 3 | 0 | false | false | false | false | false | false | zero |
73,201,682 | Delphi 11 Android 64-bit debugger doesn't work Android 9 Samsung or 12 Pixel! Works in "Run without Debugging" mode or in Android 32-bit debug mode | <p>Update 8/13/2022</p>
<ul>
<li><p>Setting the target platform to Android 32-bit instead of Android 64-bit works. Setting the Debugger for Android 64-bit is where it just hangs and hangs. In Android 64-bit mode, the debugger does respond to when the application exits, but it does not otherwise debug anything in Andr... | Update 8/13/2022 Setting the target platform to Android 32-bit instead of Android 64-bit works. Setting the Debugger for Android 64-bit is where it just hangs and hangs. In Android 64-bit mode, the debugger does respond to when the application exits, but it does not otherwise debug anything in Android 64-bit target pla... | android|debugging|delphi|enterprise | 0 | 2022-08-02T03:30:02.923Z | 2,022 | 8 | 3 | 1 | 173 | 0 | 1,828 | 147 | 4 | 1 | true | true | false | false | false | false | zero |
73,201,690 | App getting crash immediately after launch in android - React-native | <p>I updated RN version 0.64 to 0.67, after adding that app getting crash immediately after launch without any error, please help me to fix issue</p>
<p>i ran adb logcat --buffer=crash</p>
<blockquote>
<p>08-02 00:48:57.646 8869 8869 E AndroidRuntime: FATAL EXCEPTION: main 08-02 00:48:57.646 8869 8869 E AndroidRuntime:... | I updated RN version 0.64 to 0.67, after adding that app getting crash immediately after launch without any error, please help me to fix issue i ran adb logcat --buffer=crash 08-02 00:48:57.646 8869 8869 E AndroidRuntime: FATAL EXCEPTION: main 08-02 00:48:57.646 8869 8869 E AndroidRuntime: Process: com.tapp, PID: 8869 ... | android|react-native | 0 | 2022-08-02T03:31:33.530Z | 2,022 | 8 | 3 | 1 | 110 | 3 | 4,946 | 68 | 2 | 1 | true | false | false | false | false | false | zero |
73,201,741 | cannot pass value from one class to another | <p>I have two classes.First class consist of list from the firestore. I want to pass value from first class to second class. I did create a constructor in the second class to get the value from the first class but i am getting null value in second class. I want to pass value of snap[index]['url'] to another class which... | I have two classes.First class consist of list from the firestore. I want to pass value from first class to second class. I did create a constructor in the second class to get the value from the first class but i am getting null value in second class. I want to pass value of snap[index]['url'] to another class which ha... | android|flutter|dart|google-cloud-firestore | 0 | 2022-08-02T03:41:29.317Z | 2,022 | 8 | 3 | 1 | 58 | 2 | 345 | 43 | 4 | 1 | true | false | false | false | false | false | zero |
73,201,761 | PagingSource does too many requests | <p>I have implemented search using PagingSource and PagingDataAdapter.
While scrolling, PagingSource does too many requests, unclearly why, because I have few more PagingSources in other fragments that work properly.</p>
<p><a href="https://vimeo.com/735648983" rel="nofollow noreferrer">https://vimeo.com/735648983</a>
... | I have implemented search using PagingSource and PagingDataAdapter. While scrolling, PagingSource does too many requests, unclearly why, because I have few more PagingSources in other fragments that work properly. https://vimeo.com/735648983 PagingSource Adapter Repo | android|android-jetpack|android-paging | 0 | 2022-08-02T03:44:35.710Z | 2,022 | 8 | 3 | 1 | 22 | 0 | 267 | 35 | 3 | 0 | false | true | false | false | false | false | zero |
73,201,804 | Navigation problem (with a back button) in an Android app | <p>Here is a navigation problem I am having within an Android app.
I must be missing something very basic, but can't see what.
Let's hope a new eye will spot the issue.</p>
<p>The app has three activities: MainActivity, FirstActivity, and SecondActivity.</p>
<p>And the navigation is meant to go like this:</p>
<p>MainAc... | Here is a navigation problem I am having within an Android app. I must be missing something very basic, but can't see what. Let's hope a new eye will spot the issue. The app has three activities: MainActivity, FirstActivity, and SecondActivity. And the navigation is meant to go like this: MainActivity <-> FirstActivity... | android|navigation | 0 | 2022-08-02T03:54:08.507Z | 2,022 | 8 | 3 | 1 | 39 | 0 | 1,043 | 57 | 2 | 3 | true | true | false | false | false | false | zero |
73,201,827 | Jetpack Compose: LazyColumn does not update items | <p>I have a lazyColumn receiving list from viewModel to create items:</p>
<pre class="lang-kotlin prettyprint-override"><code>@Composable
fun HomeList(
modifier: Modifier = Modifier,
dataList: List<Data>,
listState: LazyListState = rememberLazyListState(),
onClickItem: (Data) -> Unit,
onLon... | I have a lazyColumn receiving list from viewModel to create items: [CODE] The list is wrapped in a stateFlow in viewModel and collected as state in Composable: [CODE] [CODE] ViewModel will load data from Room database and filter uninteresting data according to current screen type: [CODE] Here is my problem: Each time I... | android|android-jetpack-compose | 0 | 2022-08-02T03:58:12.227Z | 2,022 | 8 | 3 | 1 | 228 | 1 | 1,305 | 49 | 2 | 4 | true | false | false | false | false | false | zero |
73,201,879 | My WebView shows a lot of unused area as shown in the image. Xamarin c# | <p>I have implemented a custom web view renderer in Droid project.
The issue is, in my WebView showing lot's of unused space. Please see image.</p>
<p><a href="https://i.stack.imgur.com/Cql5e.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cql5e.jpg" alt="enter image description here" /></a></p>
<p>X... | I have implemented a custom web view renderer in Droid project. The issue is, in my WebView showing lot's of unused space. Please see image. XAML Part [CODE] Codebehind Part [CODE] For Custom renderer, I'm following this code Custom renderer code | c#|xamarin|xamarin.forms|xamarin.android | 1 | 2022-08-02T04:09:08.597Z | 2,022 | 8 | 4 | 1 | 69 | 1 | 246 | 71 | 4 | 2 | true | false | false | false | false | false | low |
73,201,881 | Modifying a MutableStateFlow List in Kotlin | <p>I have a MutableStateFlow <code>List<></code> in my ViewModel:</p>
<pre><code>private var _spaces = MutableStateFlow<List<Space>>(listOf())
val spaces: MutableStateFlow<List<Space>> get() = _spaces
</code></pre>
<p>and I'm updating an item in the list like so:</p>
<pre><code> val exi... | I have a MutableStateFlow List<> in my ViewModel: [CODE] and I'm updating an item in the list like so: [CODE] However, I'm going to be updating it more than once-a-while from multiple methods, and I think if I keep removing the index and re-adding it, I might come across a bug where at times the item doesn't exist when... | android|kotlin|android-jetpack-compose | 0 | 2022-08-02T04:09:49.717Z | 2,022 | 8 | 4 | 1 | 72 | 1 | 761 | 43 | 3 | 2 | true | false | false | false | false | false | zero |
73,201,960 | Use init{} in viewmodel failed | <p>I am using a ViewModel and the <code>init{}</code> block as below:</p>
<pre><code>class AccountViewModel @Inject constructor(
private val userProfileUseCases: UserProfileUseCases,
) : ViewModel() {
private val _uIState = MutableStateFlow<UIState>(UIState.Empty)
val uIState: StateFlow<UIState>... | I am using a ViewModel and the init{} block as below: [CODE] and then the Fragment catch the UpdateUserProfile and update the UI. In order to navigate within the app, I am using a navigation component. The fragment display the profile of the user but to edit/modify it, I am using another fragment and navigate to it usi... | android|kotlin|android-fragments|mvvm|navigation | 0 | 2022-08-02T04:22:06.367Z | 2,022 | 8 | 4 | 1 | 65 | 1 | 683 | 30 | 5 | 1 | true | false | false | false | false | false | zero |
73,202,262 | How to Implement Stack Correctly in Flutter? | <p><strong>Basically I'm new to Flutter and trying to make a design like this -</strong></p>
<p><a href="https://i.stack.imgur.com/EQNEq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EQNEq.png" alt="enter image description here" /></a></p>
<p><strong>So I Tried Stack for this but couldn't make it p... | Basically I'm new to Flutter and trying to make a design like this - So I Tried Stack for this but couldn't make it perfect. Here is my code and image [CODE] | android|flutter | 1 | 2022-08-02T05:12:24.300Z | 2,022 | 8 | 5 | 1 | 68 | 4 | 157 | 44 | 2 | 1 | true | false | false | false | false | false | low |
73,202,311 | Android studio Firebase Services plugin not loading | <p>Opening Firebase Services plugin in Android Studio is not working for me.
(I wanted to Record Robo Script through Firebase in Android Studio to use in Firebase Test Lab)
I am getting an exception as shown in the screenshot.</p>
<p>Any hints to make this work?</p>
<p><a href="https://i.stack.imgur.com/WOYUJ.png" rel=... | Opening Firebase Services plugin in Android Studio is not working for me. (I wanted to Record Robo Script through Firebase in Android Studio to use in Firebase Test Lab) I am getting an exception as shown in the screenshot. Any hints to make this work? Android Studio version: | flutter|firebase|android-service|firebase-assistant | 1 | 2022-08-02T05:20:47.177Z | 2,022 | 8 | 5 | 1 | 80 | 0 | 276 | 51 | 4 | 0 | false | true | false | false | false | false | low |
73,202,313 | App Crash when trying to list item from hilt and dagger | <p>I am new to android development. My app crash when I am trying to list items from hilt generation. I can't figure the problem. It would be nice if anyone can help me out. Many thanks.</p>
<p>KC</p>
<p>AppModule</p>
<pre><code>@Module
@InstallIn(SingletonComponent::class)
object AppModule {
@Provides
fun... | I am new to android development. My app crash when I am trying to list items from hilt generation. I can't figure the problem. It would be nice if anyone can help me out. Many thanks. KC AppModule [CODE] Language [CODE] Language Adapter [CODE] LanguageDao [CODE] Language Database [CODE] Language Fragment [CODE] Languag... | android|kotlin|dagger-hilt | 0 | 2022-08-02T05:20:48.213Z | 2,022 | 8 | 5 | 1 | 44 | 2 | 444 | 55 | 3 | 12 | true | false | false | false | false | false | zero |
73,202,353 | Mapbox - FAILURE: Build failed with an exception. (Flutter) | <p>I am using mapbox gl demo for my flutter application and getting below error at the time of running my flutter application in Android device :</p>
<blockquote>
<blockquote>
<p>FAILURE: Build failed with an exception.</p>
</blockquote>
<ul>
<li>What went wrong: Execution failed for task ':app:mergeDebugAssets'.</li>
... | I am using mapbox gl demo for my flutter application and getting below error at the time of running my flutter application in Android device : FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:mergeDebugAssets'. Could not resolve all files for configuration ':app:debugRuntimeClas... | android|flutter|mapbox|mapbox-gl|mapbox-android | -2 | 2022-08-02T05:27:13.853Z | 2,022 | 8 | 5 | 1 | 94 | 1 | 1,438 | 59 | 5 | 0 | false | false | false | false | false | true | negative |
73,202,623 | Is there any intent notification from Android OS once entering the Recovery Mode? | <p>I would like to launch a service once entering the Recovery Mode after receive some intent from Android OS.</p>
<p>Is there any intent notification (or intentional filter actions) available from the Android OS?
Or, is there any way to be able to launch a service/activity in the recovery mode?</p>
<p>Many thanks in a... | I would like to launch a service once entering the Recovery Mode after receive some intent from Android OS. Is there any intent notification (or intentional filter actions) available from the Android OS? Or, is there any way to be able to launch a service/activity in the recovery mode? Many thanks in advance. | android|android-12|recoverymodel | 0 | 2022-08-02T06:01:02.387Z | 2,022 | 8 | 6 | 1 | 13 | 0 | 310 | 81 | 3 | 0 | false | true | false | false | false | false | zero |
73,202,647 | How can I mock Repository when it uses retrofit2 and room in it? | <p>I am trying to write test code for a ViewModel.</p>
<p>and the ViewModel uses this repository, so I'd like to mock it.</p>
<pre class="lang-kotlin prettyprint-override"><code>class ServiceRepository @Inject constructor(
private val service: MyService,
private val dao: MyDao
) {
suspend fetchMenus(filter:... | I am trying to write test code for a ViewModel. and the ViewModel uses this repository, so I'd like to mock it. [CODE] And here's my test code that I am trying to write. [CODE] Since I need to get response from api, I used MockWebServer and created responseBody . And then I mock mService to return responseBody when fet... | android|kotlin|junit|mockito|mockwebserver | 0 | 2022-08-02T06:03:46.447Z | 2,022 | 8 | 6 | 1 | 40 | 0 | 641 | 64 | 5 | 3 | true | true | false | false | false | false | zero |
73,202,666 | Getting NullPointerException on update Query | <p>In adapter</p>
<pre><code>public class UserListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
@Inject
UserDAO userDAO;
String parentEmailID = homeViewModel.getParentEmail();
String parentID = entity.getParentId();
String emailId = entity.getEmail();
Log.e("paren... | In adapter [CODE] Room Database Query [CODE] Output Console [CODE] | android|sqlite|android-recyclerview|nullpointerexception|android-room | 0 | 2022-08-02T06:06:26.197Z | 2,022 | 8 | 6 | 1 | 26 | 0 | 66 | 44 | 5 | 3 | true | true | false | false | false | false | zero |
73,202,693 | Not connecting to services like Play Store or FirebaseRemoteConfig | <p>I bought a new macOS and did the installs.</p>
<p>I'm installing different emulators with Play Store. But I can never login to Play Store and I always get the following error.</p>
<pre><code>Could'n sign in
There was a problem communicating with Google Services.
Try again later.
</code></pre>
<p>We also have a proje... | I bought a new macOS and did the installs. I'm installing different emulators with Play Store. But I can never login to Play Store and I always get the following error. [CODE] We also have a project that uses Firebase RemoteConfig and RemoteConfig returns the following error. [CODE] I don't get such errors in the same ... | android|android-studio|android-emulator|google-play|firebase-remote-config | 0 | 2022-08-02T06:08:25.367Z | 2,022 | 8 | 6 | 1 | 41 | 0 | 458 | 66 | 5 | 2 | true | true | false | false | false | false | zero |
73,202,698 | How to show multiple values into single value in android? | <p>I want to show only months and years in my layout. here is my code which I have used</p>
<pre><code> LayoutInflater layoutInflater;
List<TransactionModel.Datum>transactionModels;
public void onBindViewHolder(@NonNull MonthfilterAdapter.ViewHolder holder, int position) { SimpleDateFormat formatter = n... | I want to show only months and years in my layout. here is my code which I have used [CODE] an my ouput is like : Instead of multiple months and years I want to show only one month and year. For this I have tried set using following code [CODE] but I'm not getting proper output. My output is like : [CODE] this data I a... | java|android|date|filter | 0 | 2022-08-02T06:08:56.020Z | 2,022 | 8 | 6 | 1 | 41 | 0 | 345 | 57 | 4 | 4 | true | true | false | false | false | false | zero |
73,202,704 | issue with firebase and kotlin | <p>For a long time I can not solve two problems, for some reason the elements in my RecyclerView are not displayed immediately but after interacting with something, for example when you click on the message field, the second problem is that when you send an image, it is once written to the database, but 3 times is disp... | For a long time I can not solve two problems, for some reason the elements in my RecyclerView are not displayed immediately but after interacting with something, for example when you click on the message field, the second problem is that when you send an image, it is once written to the database, but 3 times is display... | android|firebase|android-studio|kotlin|google-cloud-firestore | 0 | 2022-08-02T06:09:36.913Z | 2,022 | 8 | 6 | 1 | 34 | 0 | 494 | 30 | 5 | 3 | true | true | false | false | false | false | zero |
73,202,741 | How can I get live bitmap image with Camera2 extension API | <p>I am using <a href="https://github.com/android/camera-samples/tree/master/Camera2Extensions" rel="nofollow noreferrer">Camera2 Extension</a> example for real time image processing. Before that I was using <a href="https://github.com/android/camera-samples/tree/master/Camera2Basic" rel="nofollow noreferrer">Camera2 B... | I am using Camera2 Extension example for real time image processing. Before that I was using Camera2 Basic . In Basic sample I was getting real-time image as from below code snippet. [CODE] You can see that, I added target imageReader in above code. I am using almost similar way with extension API. But in ExtensionSess... | java|android|image-processing|android-camera|android-camera2 | 0 | 2022-08-02T06:12:52.460Z | 2,022 | 8 | 6 | 1 | 31 | 0 | 556 | 58 | 5 | 3 | true | true | false | false | false | false | zero |
73,202,781 | Android Studio Build does not ouput aar file | <p>When I setting finish</p>
<p>apply plugin: 'com.android.library'</p>
<p>And I set finished "Run Configuration"
When I clicked assembleDebug</p>
<p><a href="https://i.stack.imgur.com/roGAE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/roGAE.png" alt="enter image description here" /></a>... | When I setting finish apply plugin: 'com.android.library' And I set finished "Run Configuration" When I clicked assembleDebug Why is blank in task ' assembleDebug' Look carefully there is a blank What should I do? | android | 0 | 2022-08-02T06:17:14.230Z | 2,022 | 8 | 6 | 1 | 18 | 0 | 223 | 44 | 1 | 0 | false | true | false | false | false | false | zero |
73,202,843 | Using DiffUtil to add an item to a database | <p>I have this app that has a recycler view database. Every item on the database has its own timer. My problem is that every time I add a new item to the database, every other item's timer resets. Recently, I asked this question on this site. A great person answered this question saying that I should use this function ... | I have this app that has a recycler view database. Every item on the database has its own timer. My problem is that every time I add a new item to the database, every other item's timer resets. Recently, I asked this question on this site. A great person answered this question saying that I should use this function cal... | android|database|kotlin|countdowntimer|android-diffutils | 0 | 2022-08-02T06:23:36.840Z | 2,022 | 8 | 6 | 1 | 23 | 0 | 831 | 43 | 5 | 3 | true | true | false | false | false | false | zero |
73,202,884 | Disable ViewPager2 item animator | <p>I'm using ViewPager2 with ListAdapter. Every time dataset get changes, item of viewpager2 displays an animation. Is there any way to disable it? In recyclerview we can disable by setting <code>recyclerview.itemAnimator = null</code> but what about viewpager2?</p> | I'm using ViewPager2 with ListAdapter. Every time dataset get changes, item of viewpager2 displays an animation. Is there any way to disable it? In recyclerview we can disable by setting recyclerview.itemAnimator = null but what about viewpager2? | android|animation|android-viewpager2 | 0 | 2022-08-02T06:27:48.580Z | 2,022 | 8 | 6 | 1 | 18 | 0 | 246 | 32 | 3 | 0 | false | true | false | false | false | false | zero |
73,202,930 | Display the correct colors of a logo in a icon in compose | <p>I have the following composable</p>
<pre><code>@Composable
fun GoogleLoginButton(onLoginClicked: () -> Unit) {
IconButton(
modifier = Modifier
.fillMaxWidth()
.background(color = Color.White, shape = RoundedCornerShape(10.dp)),
onClick = {
onLoginClicked()
... | I have the following composable [CODE] It displays the correct logo for for some reason its displayed as black icon. However, the actual colors of the vector image is this: | android-jetpack-compose | 0 | 2022-08-02T06:32:13.663Z | 2,022 | 8 | 6 | 1 | 29 | 1 | 172 | 57 | 1 | 1 | true | false | false | false | false | false | zero |
73,203,050 | My TlsVersion.java class don't have TLS_1_3 in Android Studio project | <p>My class here : I want change TLS version but TLS_1_3 not find .
How I can change TLS_1_2 to TLS_1_3 ?
please help me thank you .</p> | My class here : I want change TLS version but TLS_1_3 not find . How I can change TLS_1_2 to TLS_1_3 ? please help me thank you . | android | 0 | 2022-08-02T06:44:08.227Z | 2,022 | 8 | 6 | 1 | 8 | 0 | 129 | 69 | 1 | 0 | false | true | false | false | false | false | zero |
73,203,051 | How to get SINR value in android? I have already tried the android API which returns rssnr value but its always returning unavailable | <p>I am currently using this but its always giving unavailable.</p>
<p>val tm: TelephonyManager =
context.getSystemService(AppCompatActivity.TELEPHONY_SERVICE) as TelephonyManager
val data = tm.allCellInfo</p>
<pre><code> try {
carrierName = tm.networkOperatorName
... | I am currently using this but its always giving unavailable. val tm: TelephonyManager = context.getSystemService(AppCompatActivity.TELEPHONY_SERVICE) as TelephonyManager val data = tm.allCellInfo [CODE] | android|kotlin | 0 | 2022-08-02T06:44:26.890Z | 2,022 | 8 | 6 | 1 | 14 | 0 | 202 | 133 | 2 | 1 | true | true | false | false | false | false | zero |
73,203,102 | How to implement corroutines/room correctly? Kotlin Android | <p>have tried to implement coroutines/room in two projects and I get
the same error.
Please help me!!!</p>
<pre><code>Execution failed for task ':app:kaptDebugKotlin'
error: type of the parameter must be a class annotated with @Entity or a collection/array of it.
kotlin.coroutines.Continuation<? super kotlin.Un... | have tried to implement coroutines/room in two projects and I get the same error. Please help me!!! [CODE] This is my room database class: [CODE] This my model data Class with the @Entity anotation: [CODE] My class is already noted with @Entity and my version of gradle is up to date. My dependencies: [CODE] My class is... | java|android|kotlin|android-room|kotlin-coroutines | 0 | 2022-08-02T06:47:53.760Z | 2,022 | 8 | 6 | 1 | 79 | 2 | 386 | 59 | 5 | 4 | true | false | false | false | false | false | zero |
73,203,174 | CircleCI automated Android deployment of Flutter App | <p>I'm following the tutorial from CircleCI (<a href="https://circleci.com/blog/deploy-flutter-android/" rel="nofollow noreferrer">https://circleci.com/blog/deploy-flutter-android/</a>) to deploy android flutter apps. After installing and configuring fastlane I set the following config.yml:</p>
<pre><code>version: 2.1
... | I'm following the tutorial from CircleCI ( https://circleci.com/blog/deploy-flutter-android/ ) to deploy android flutter apps. After installing and configuring fastlane I set the following config.yml: [CODE] But I receive the error: Could not find 'bundler' (2.3.11) required by your xx/Gemfile.lock. I can't install bun... | android|flutter|continuous-integration|circleci | 0 | 2022-08-02T06:54:44.217Z | 2,022 | 8 | 6 | 1 | 68 | 1 | 424 | 52 | 4 | 2 | true | false | false | false | false | false | zero |
73,203,192 | Cordova build failing for android | <p>While generating app for Cordova-android using Cordova compile android command I am getting following error and not able proceed .</p>
<pre><code>Task :app:processDebugResources FAILED
FAILURE: Build failed with an exception.
</code></pre>
<ul>
<li>What went wrong:
Execution failed for task <code>':app:processDeb... | While generating app for Cordova-android using Cordova compile android command I am getting following error and not able proceed . [CODE] What went wrong: Execution failed for task ':app:processDebugResources' . A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask... | android|cordova|build.gradle | 0 | 2022-08-02T06:56:12.543Z | 2,022 | 8 | 6 | 1 | 59 | 1 | 667 | 33 | 3 | 2 | true | false | false | false | false | false | zero |
73,203,194 | Why Offset and Limit query created by OrmLite doesn't work on Android? | <p>I have the following code:</p>
<pre class="lang-java prettyprint-override"><code>Operation operation = databaseHelper.getOperationDao().queryBuilder()
.orderBy(Operation.ID_FIELD, true)
.offset((long)skip)
.where()
.isNull(Operation.FOREIGN_USER_FIELD)
.and()
.ge(Operation.ID_FIELD, mostRecen... | I have the following code: [CODE] It yields the following SQL query: [CODE] After an attempt to call it, I'm getting the exception: [CODE] Cause says: [CODE] Method, where this query is done is called in a loop, thus having OFFSET 0. However, I'm using the query builder from a DatabaseHelper and not creating query on m... | java|android|sql|ormlite | 0 | 2022-08-02T06:56:28.980Z | 2,022 | 8 | 6 | 1 | 21 | 0 | 413 | 70 | 4 | 4 | true | true | false | false | false | false | zero |
73,203,202 | How to get data from dial intent in react native? | <p>I am new to react native and trying to make an app that works with user contacts. I wanted android to suggest my app when the user clicks on any phone number or links in other apps, and I achieved that with the code below in AndroidManifest.</p>
<pre><code><activity android:name=".MainActivity" android:... | I am new to react native and trying to make an app that works with user contacts. I wanted android to suggest my app when the user clicks on any phone number or links in other apps, and I achieved that with the code below in AndroidManifest. [CODE] My problem is that I can't access URI data in my react native app when ... | android|react-native|android-intent|deep-linking|intentfilter | 1 | 2022-08-02T06:57:07.147Z | 2,022 | 8 | 6 | 1 | 121 | 0 | 484 | 49 | 5 | 3 | true | true | false | false | false | false | low |
73,203,208 | How can I skip running a method with MockK or Mockito? | <p>When I just want to test a method is called in other method, how can I do that? I don't want the method runs after it is called.</p>
<pre><code>fun aMethod(){
bMethod()
}
fun bMethod(){
// complex
}
</code></pre>
<p>I tried this. but didn't work.</p>
<pre><code>@Test
fun test(){
coEvery{ mClass.bMethod()... | When I just want to test a method is called in other method, how can I do that? I don't want the method runs after it is called. [CODE] I tried this. but didn't work. [CODE] [CODE] [CODE] And also I tried with called instead of Called (lowercase and uppercase C) None of them worked. How can I solve this problem? | android|kotlin|junit|mockito|mockk | 0 | 2022-08-02T06:57:25.860Z | 2,022 | 8 | 6 | 1 | 129 | 2 | 313 | 54 | 5 | 4 | true | false | false | false | false | false | zero |
73,203,223 | Negative Spacing in Kotlin Compose forEach | <p>I've tried to set a negative spacing on some circles, but I've had no luck with either:</p>
<p><code>.padding(horizontal = (-5).dp)</code></p>
<p>and</p>
<p><code>.offset(x = (-5).dp)</code></p>
<p>I'm not quite sure how to make this possible, I'm trying to achieve this:</p>
<p><a href="https://i.stack.imgur.com/ZnZ... | I've tried to set a negative spacing on some circles, but I've had no luck with either: .padding(horizontal = (-5).dp) and .offset(x = (-5).dp) I'm not quite sure how to make this possible, I'm trying to achieve this: As you can see the image does include an overlay, but the images are behind each other. Is there any w... | android|kotlin|android-jetpack-compose | 2 | 2022-08-02T06:59:19.447Z | 2,022 | 8 | 6 | 1 | 83 | 1 | 357 | 42 | 3 | 0 | false | false | false | false | false | false | low |
73,203,346 | How to download a file using download manger and save it to the internal storage of the app (i.e. fileDir) | <p>I tried the below way but when I fetched all the files in requireContext().filesDir. Download file was not present there.</p>
<pre><code>setDestinationInExternalFilesDir(context, context.filesDir.absolutePath,
fileName)
</code></pre>
<p>I also tried using setDestinationUri() it created the below cr... | I tried the below way but when I fetched all the files in requireContext().filesDir. Download file was not present there. [CODE] I also tried using setDestinationUri() it created the below crash. | android|kotlin|android-download-manager | 0 | 2022-08-02T07:11:27.707Z | 2,022 | 8 | 7 | 1 | 50 | 1 | 195 | 106 | 3 | 1 | true | false | false | false | false | false | zero |
73,203,420 | Autocompletetextview dropdown displayed over keyboard | <p>I am trying to create an autocompletetextview at the bottom of a bottomsheet inside an activity.I want the dropdown to <strong>open above the autocompletetextview</strong>.</p>
<p>When keyboard is hidden it is displayed in the correct manner.-> <a href="https://i.stack.imgur.com/o0zeS.png" rel="nofollow noreferre... | I am trying to create an autocompletetextview at the bottom of a bottomsheet inside an activity.I want the dropdown to open above the autocompletetextview . When keyboard is hidden it is displayed in the correct manner.-> Desired dropdown position But when keyboard appears this dropdown appears over the keyboard . -> P... | android|dropdown|android-softkeyboard|autocompletetextview | 0 | 2022-08-02T07:17:02.917Z | 2,022 | 8 | 7 | 1 | 45 | 0 | 550 | 53 | 4 | 1 | true | true | false | false | false | false | zero |
73,203,490 | How to get focus of the BottomNavigationView Tab change in Android | <p>Is there any way to set the focus of the BottomNavigationView Tab change for the Talkback.</p>
<p>In my scenario, I have 5 views. Out of which 1 view of the tab has a badge which contains the value. When the tab is focused by taping it says ""Value" New Notification". But I want to set the talkba... | Is there any way to set the focus of the BottomNavigationView Tab change for the Talkback. In my scenario, I have 5 views. Out of which 1 view of the tab has a badge which contains the value. When the tab is focused by taping it says ""Value" New Notification". But I want to set the talkback as &quo... | android|bottomnavigationview|talkback|android-bottomnav | 0 | 2022-08-02T07:22:41.690Z | 2,022 | 8 | 7 | 1 | 40 | 0 | 439 | 66 | 4 | 0 | false | true | false | false | false | false | zero |
73,203,526 | Getting False When trying validate Signature in Aadhaar secure QR Code | <p>Hi I am trying to validate signature in the secure QR code but I am getting false value. I used the above certificates and uidai_12_06_18_cer.cer.</p>
<p>code of getting signature value after scanning secure QR code__</p>
<pre><code>for(int i=0,j = output.length-1; i<256 & j >= output.length-256 ; i++,j--)... | Hi I am trying to validate signature in the secure QR code but I am getting false value. I used the above certificates and uidai_12_06_18_cer.cer. code of getting signature value after scanning secure QR code__ [CODE] END__ signature verification method [CODE] END__ I followed same validation steps given in the UIDAI p... | java|android | 0 | 2022-08-02T07:25:04.373Z | 2,022 | 8 | 7 | 1 | 26 | 0 | 469 | 70 | 2 | 2 | true | true | false | false | false | false | zero |
73,203,593 | React-Native: How to cancel all functions if screen is got blur | <p>I'm working on my React-Native app using expo-cli, and I'm facing an issue.
When I navigate to a screen and come back immediately It gives an error.</p>
<pre><code>Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all sub... | I'm working on my React-Native app using expo-cli, and I'm facing an issue. When I navigate to a screen and come back immediately It gives an error. [CODE] I want to cancel all running functions and timeout functions if I go back immediately. Here is my useEffect function: [CODE] | javascript|android|reactjs|react-native|react-navigation | 0 | 2022-08-02T07:30:47.120Z | 2,022 | 8 | 7 | 1 | 29 | 0 | 280 | 63 | 5 | 2 | true | true | false | false | false | false | zero |
73,203,607 | What is the difference between PACKAGE_USAGE_STATS and LOADER_USAGE_STATS? | <p>I have been working on some Android app and I am trying to figure out the difference between the two permissions.</p>
<p>Reading from the Google's manifest:</p>
<ol>
<li><p><strong>PACKAGE_USAGE_STATS</strong> "Allows an application to collect component usage statistics"
<a href="https://developer.android.... | I have been working on some Android app and I am trying to figure out the difference between the two permissions. Reading from the Google's manifest: PACKAGE_USAGE_STATS "Allows an application to collect component usage statistics" doc LOADER_USAGE_STATS "Allows a data loader to read a package's access l... | android|mobile|permissions|manifest|usage-statistics | 1 | 2022-08-02T07:32:01.323Z | 2,022 | 8 | 7 | 1 | 43 | 0 | 827 | 74 | 5 | 0 | false | true | false | false | false | false | low |
73,203,660 | Dynamic Text Input does not trigger recomposition | <p>I'm trying to build a custom form using jetpack compose.</p>
<p>What I did so far in the Screen :</p>
<pre><code>@Composable
fun FormContent(
viewModel: FormViewModel,
customFieldList: List<String>,
valuesCustomFieldsList: List<String>
) {
Column(Modifier.fillMaxWidth()) {
Column... | I'm trying to build a custom form using jetpack compose. What I did so far in the Screen : [CODE] Where customFieldList is the list of textFields i want and valuesCustomFieldsList is [CODE] In my viewModel the code is as it follows: [CODE] What happens here is that if I try to change the value inside the inputText, onC... | forms|kotlin|android-jetpack-compose | 0 | 2022-08-02T07:35:41.927Z | 2,022 | 8 | 7 | 1 | 30 | 0 | 645 | 49 | 3 | 3 | true | true | false | false | false | false | zero |
73,203,689 | Edit configurations of Android emulator's (AVD) Build.FINGERPRINT | <p>My avd returns following fingerprint</p>
<pre><code>google/sdk_gphone64_x86_64/emulator64_x86_64_arm64:12/SE1A.211212.001.B1/8023802:user/release-keys
</code></pre>
<p>and My real device returns following fingerprint</p>
<pre><code>samsung/m21nnxx/m21:12/SP1A.210812.016/M215FXXU2CVCC:user/release-keys
</code></pre>
... | My avd returns following fingerprint [CODE] and My real device returns following fingerprint [CODE] I found that this is as per the following structure. [CODE] Is there a way for us to modify these details for AVD to match with the device like device name, brand etc. | android|linux|android-emulator|avd | 0 | 2022-08-02T07:38:17.347Z | 2,022 | 8 | 7 | 1 | 43 | 0 | 267 | 65 | 4 | 3 | true | true | false | false | false | false | zero |
73,203,774 | Storing Intent object to SharedPreferences | <p>I'm trying to save an Intent object to SharedPreferences and the result code from onActivityResult() so I can use it later. I have already tired to store it as a json using Gson, but there is data loss. I have also tried to save it as uri, but the Intent.toURi() method returns empty string or a string that is not co... | I'm trying to save an Intent object to SharedPreferences and the result code from onActivityResult() so I can use it later. I have already tired to store it as a json using Gson, but there is data loss. I have also tried to save it as uri, but the Intent.toURi() method returns empty string or a string that is not compl... | java|android|android-intent | 0 | 2022-08-02T07:45:33.207Z | 2,022 | 8 | 7 | 1 | 28 | 0 | 588 | 42 | 3 | 4 | true | true | false | false | false | false | zero |
73,203,953 | Android application's audio not working well when change device : E/libc Access denied finding property "media.metrics.enabled" | <p>I am developping an application using Android Studio, where I have a Text-to-speech function using Azure SDK. My first test device is an Android 9 tablet ( Crosscall Core-T4 ) and everything works well.</p>
<p>I just change my device to another Android 9 Tablet : Archos Oxygen 101S</p>
<p>However, my text-to-speech ... | I am developping an application using Android Studio, where I have a Text-to-speech function using Azure SDK. My first test device is an Android 9 tablet ( Crosscall Core-T4 ) and everything works well. I just change my device to another Android 9 Tablet : Archos Oxygen 101S However, my text-to-speech doesn't work well... | android|selinux|azure-speech | 0 | 2022-08-02T08:02:13.970Z | 2,022 | 8 | 8 | 1 | 60 | 0 | 755 | 127 | 3 | 2 | true | true | false | false | false | false | zero |
73,203,966 | How i can lock my exoplayer for prevent App quit when pop up appear | <p>i have a problem with ExoPlayer , im using it for play hosted embed video , but i always have popup on my app and it make left the app , how i can lock the app on player and make not quit the app ? , im using android studio</p> | i have a problem with ExoPlayer , im using it for play hosted embed video , but i always have popup on my app and it make left the app , how i can lock the app on player and make not quit the app ? , im using android studio | java|android-studio|exoplayer | 0 | 2022-08-02T08:03:43.420Z | 2,022 | 8 | 8 | 1 | 13 | 0 | 223 | 67 | 3 | 0 | false | true | false | false | false | false | zero |
73,204,071 | How do I know when a method can be called safely from a background thread? | <p>I understand that many Android SDK methods must be called on the main thread. This is usually documented in places like <a href="https://developer.android.com/topic/performance/threads#references" rel="nofollow noreferrer">https://developer.android.com/topic/performance/threads#references</a>. Is there a way to tell... | I understand that many Android SDK methods must be called on the main thread. This is usually documented in places like https://developer.android.com/topic/performance/threads#references . Is there a way to tell for sure that a method can be safely called from a background thread in a generic manner? Some libraries do ... | java|android|concurrency | 0 | 2022-08-02T08:12:50.793Z | 2,022 | 8 | 8 | 1 | 27 | 1 | 448 | 74 | 3 | 0 | false | false | false | false | false | false | zero |
73,204,122 | Can i select item from spinner usimg accessbility service | <p><a href="https://i.stack.imgur.com/3a4X7.png" rel="nofollow noreferrer">Like this</a></p>
<pre><code>I want to select an item from this spinner but i can't detect any item from it.
</code></pre>
<p>and i used AccessibilityNodeInfo.ACTION_SET_TEXT but it doesn't work</p> | Like this [CODE] and i used AccessibilityNodeInfo.ACTION_SET_TEXT but it doesn't work | android|accessibility|spinner|settext|accessibilityservice | 0 | 2022-08-02T08:16:57.740Z | 2,022 | 8 | 8 | 1 | 13 | 0 | 85 | 57 | 5 | 1 | true | true | false | false | false | false | zero |
73,204,157 | how to replace the startActivityForResult because its now deprecated this is the last piece i need to finish up my project | <p>how to replace it with ActivityResultLauncher.
sorry guys i am just new to coding and programming.</p>
<pre><code>SelectImageGallery.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent = new Intent();
intent.setType("... | how to replace it with ActivityResultLauncher. sorry guys i am just new to coding and programming. [CODE] | java|android|android-studio|file-upload|startactivityforresult | -1 | 2022-08-02T08:19:25.493Z | 2,022 | 8 | 8 | 1 | 60 | 2 | 105 | 122 | 5 | 1 | true | false | false | false | false | true | negative |
73,204,181 | How can I apply a black and white filter to an AR Fragment in Android? | <p>I am working on an AR screen in Kotlin for an Android application using SceneView. I would like to apply a black and white filter to the input. In other words I want to display the image perceived by the camera in black and white in real time. Does anybody have any idea how can I do this?</p> | I am working on an AR screen in Kotlin for an Android application using SceneView. I would like to apply a black and white filter to the input. In other words I want to display the image perceived by the camera in black and white in real time. Does anybody have any idea how can I do this? | android|kotlin|augmented-reality|arcore|sceneview | 0 | 2022-08-02T08:21:44.287Z | 2,022 | 8 | 8 | 1 | 19 | 0 | 289 | 70 | 5 | 0 | false | true | false | false | false | false | zero |
73,204,247 | how to solve Plugin capacitor that is depricated? | <p>Good day all
May I inquire as to why this plugin has been depricated? and how should I resolve it?
below are my capacitor and ionic info.</p>
<p><strong>Capacitor:
Capacitor CLI : 4.0.1
@capacitor/android : 4.0.1
@capacitor/core : 4.0.1
Ionic:
Ionic CLI : 6.20.1
Ionic Framework ... | Good day all May I inquire as to why this plugin has been depricated? and how should I resolve it? below are my capacitor and ionic info. Capacitor: Capacitor CLI : 4.0.1 @capacitor/android : 4.0.1 @capacitor/core : 4.0.1 Ionic: Ionic CLI : 6.20.1 Ionic Framework : @ionic/angular 6.2.0 @angular-devkit/build-angular : 1... | android|ionic-framework|capacitor | 0 | 2022-08-02T08:26:02.693Z | 2,022 | 8 | 8 | 1 | 36 | 1 | 414 | 49 | 3 | 0 | false | false | false | false | false | false | zero |
73,204,273 | Bold text in Google play App Description? | <p>Maybe it's long time but I just noticed that there is no bold text in description any more, right?</p>
<p>Before I used to put some text in <b></b> tags and it was bold. Did Google change formatting or just removed it at all. Is there any chance to have bold text in Google play App description?</p> | Maybe it's long time but I just noticed that there is no bold text in description any more, right? Before I used to put some text in tags and it was bold. Did Google change formatting or just removed it at all. Is there any chance to have bold text in Google play App description? | android|unity3d|google-play|mobile-application | 1 | 2022-08-02T08:28:08.923Z | 2,022 | 8 | 8 | 1 | 40 | 2 | 280 | 41 | 4 | 0 | false | false | false | false | false | false | low |
73,204,288 | Google Play. Publish an app only to new users | <p>I have a published app in google play. Is it possible to publish an app update, that will affects only the new users? So the existing users will not be able to update.</p>
<p>Thanks!</p> | I have a published app in google play. Is it possible to publish an app update, that will affects only the new users? So the existing users will not be able to update. Thanks! | android|google-play|publish | 1 | 2022-08-02T08:29:14.097Z | 2,022 | 8 | 8 | 1 | 48 | 2 | 175 | 45 | 3 | 0 | false | false | false | false | false | false | low |
73,204,432 | How can I implement this expand animation? | <p><a href="https://i.postimg.cc/tTVC7SQ8/iZvU2.gif" rel="nofollow noreferrer"><img src="https://i.postimg.cc/tTVC7SQ8/iZvU2.gif" alt="expand animation gif" /></a>
<br>I have tried shared element animation, but it doesn't work like above animation.<br>
How can I achieve this animation?</p> | I have tried shared element animation, but it doesn't work like above animation. How can I achieve this animation? | android|android-recyclerview|android-animation | 0 | 2022-08-02T08:38:25.020Z | 2,022 | 8 | 8 | 1 | 43 | 0 | 114 | 42 | 3 | 0 | false | true | false | false | false | false | zero |
73,204,451 | Android Management API Mac Address and Serial Number | <p>We try to pull Android device information using AMAPI but the <strong>wifiMacAddress</strong> seems to always return value <strong>02:00:00:00:00:00</strong>. Also, the pulled <strong>serialNumber</strong> does not match the serial number displayed on the mobile. In my case, the returned serial number matches the op... | We try to pull Android device information using AMAPI but the wifiMacAddress seems to always return value 02:00:00:00:00:00 . Also, the pulled serialNumber does not match the serial number displayed on the mobile. In my case, the returned serial number matches the operator software version. Do you thing these can be AP... | android-management-api | 0 | 2022-08-02T08:39:53.530Z | 2,022 | 8 | 8 | 1 | 28 | 0 | 329 | 52 | 1 | 0 | false | true | false | false | false | false | zero |
73,204,590 | Moshi - issue serializing library class after minification | <p>Recently ran into an issue with <a href="https://github.com/WalletConnect/kotlin-walletconnect-lib/blob/master/lib/src/main/kotlin/org/walletconnect/impls/FileWCSessionStore.kt#L11" rel="nofollow noreferrer">library</a>, which uses moshi to create runtime TypeAdapter for serialization/deserialization. The library se... | Recently ran into an issue with library , which uses moshi to create runtime TypeAdapter for serialization/deserialization. The library seems to work fine with R8 disabled, but after enabling it I ran into an error message: [CODE] The solution seems to be defining keepclass R8 rule and it works. But, prior to adding R8... | kotlin|moshi|android-r8 | 0 | 2022-08-02T08:49:46.980Z | 2,022 | 8 | 8 | 1 | 49 | 0 | 709 | 58 | 3 | 3 | true | true | false | false | false | false | zero |
73,204,638 | Appium test passing but not working with emulator | <p>I've updated node and wdio to newer versions in my project (old version of node - 14.15, now using 18.1 and wdio 7.20.9)</p>
<p>Now I have multiple problems to solve but biggest one is, that my test is passing but the is no action done in emulator. This worked ok on older node version. I've seen my test performing o... | I've updated node and wdio to newer versions in my project (old version of node - 14.15, now using 18.1 and wdio 7.20.9) Now I have multiple problems to solve but biggest one is, that my test is passing but the is no action done in emulator. This worked ok on older node version. I've seen my test performing on emulator... | node.js|android-emulator|appium|appium-android|wdio | 0 | 2022-08-02T08:53:21.457Z | 2,022 | 8 | 8 | 1 | 16 | 0 | 385 | 49 | 5 | 2 | true | true | false | false | false | false | zero |
73,204,650 | How long can Android Camera2 run? | <p>I'm a bit new to running Camera on Android devices, so I want to ask this quite unfamiliar question. How long can camera operate using the Camera2 API, so that it run continuously even from day to day? If so, is that efficient though?</p>
<p>A bit of context, I'm currently involved in a project that plans to use the... | I'm a bit new to running Camera on Android devices, so I want to ask this quite unfamiliar question. How long can camera operate using the Camera2 API, so that it run continuously even from day to day? If so, is that efficient though? A bit of context, I'm currently involved in a project that plans to use the camera co... | android-camera2|tflite | 0 | 2022-08-02T08:53:56.853Z | 2,022 | 8 | 8 | 1 | 27 | 1 | 1,049 | 33 | 2 | 0 | false | false | false | false | false | false | zero |
73,204,693 | The method 'allocate' isn't defined for the class 'Tensor' | <p>I have a problem in an existing app. The problem is it using deprecated version 1 of Flutter. I have fixed other problems but encounter a problem with this code:</p>
<pre><code>void copyFrom(Int8List bytes) {
var size = bytes.length;
final ptr = allocate<Int8>(count: size);
final externalTypedData = ptr.... | I have a problem in an existing app. The problem is it using deprecated version 1 of Flutter. I have fixed other problems but encounter a problem with this code: [CODE] The error show: [CODE] I am not quite sure whether I am using wrong method. I am using flutter beta channel and here is my Flutter doctor output: [CODE... | flutter|android-studio|dart | 1 | 2022-08-02T08:58:00.893Z | 2,022 | 8 | 8 | 1 | 49 | 0 | 321 | 58 | 3 | 3 | true | true | false | false | false | false | low |
73,204,740 | Android Cardview foreground rim not visible | <p>I have the following CardView with a custom foreground rim <code>android:foreground="@drawable/cardview_rim"</code>:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
... | I have the following CardView with a custom foreground rim android:foreground="@drawable/cardview_rim" : [CODE] Here is the XML code for the @drawable/cardview_rim [CODE] Unfortunately the black foreground rim is not visible. Do you know why? Reminder : Does anybody have a suggestion as to why I am not seeing... | android|android-cardview | 1 | 2022-08-02T09:01:32.993Z | 2,022 | 8 | 9 | 1 | 39 | 1 | 378 | 43 | 2 | 2 | true | false | false | false | false | false | low |
73,204,749 | Firebase user properties not summing up to number of active users | <p>We recently started using Firebase <code>UserProperty</code> for our app analytics and it seems to be working quite well, except that for some properties the numbers of the possible values (mostly <code>true</code> and <code>false</code>) don't add up to the total number of active users displayed if Firebase for a c... | We recently started using Firebase UserProperty for our app analytics and it seems to be working quite well, except that for some properties the numbers of the possible values (mostly true and false ) don't add up to the total number of active users displayed if Firebase for a certain day. One example to make it more c... | android|firebase-analytics | 1 | 2022-08-02T09:02:20.727Z | 2,022 | 8 | 9 | 1 | 43 | 0 | 1,277 | 65 | 2 | 0 | false | true | false | false | false | false | low |
73,204,801 | Ripple effect not working correctly in jetpack compose | <p>I am working on ripple effect in jetpack compose. I provide my color and after clicking on view it show some time after that different type of color showing like dark grey on press state.</p>
<pre><code>binding.itemComposable.setContent {
Column(modifier = Modifier.fillMaxSize(), verticalArrangement = Ar... | I am working on ripple effect in jetpack compose. I provide my color and after clicking on view it show some time after that different type of color showing like dark grey on press state. [CODE] Expected Output Above image is see clearly ripple effect. Actual output I cannot add image, instead i added my youtube video ... | android|kotlin|android-jetpack-compose|android-jetpack | 1 | 2022-08-02T09:05:43.127Z | 2,022 | 8 | 9 | 1 | 144 | 1 | 525 | 54 | 4 | 4 | true | false | false | false | false | false | low |
73,204,831 | Nested RecyclerView that changes position depending on selected category | <p>I'm having a hard time creating a nested recycler view that will allow the second one to appear depending on the "movie category" selected. This is what's supposed to happen in the app. Every time a user click a category, <em>recyclerview2</em> should appear on top of it. Has anybody ever done this before?... | I'm having a hard time creating a nested recycler view that will allow the second one to appear depending on the "movie category" selected. This is what's supposed to happen in the app. Every time a user click a category, recyclerview2 should appear on top of it. Has anybody ever done this before? How will I ... | android|kotlin|android-recyclerview|nestedrecyclerview | 0 | 2022-08-02T09:07:35.617Z | 2,022 | 8 | 9 | 1 | 35 | 0 | 373 | 72 | 4 | 0 | false | true | false | false | false | false | zero |
73,204,989 | Flutter image adding and emulator running error | <p>I want to add image in <code>android studio</code>. I created a folder named <code>"images"</code> inside the project and pasted the image I wanted to upload there. Then I did the <code>"assets"</code> operation in the <code>"pubspec.yaml"</code> file. I clicked pub get. But I am gettin... | I want to add image in android studio . I created a folder named "images" inside the project and pasted the image I wanted to upload there. Then I did the "assets" operation in the "pubspec.yaml" file. I clicked pub get. But I am getting a problem. enter image description here | flutter|android-studio|dart | 0 | 2022-08-02T09:20:10.037Z | 2,022 | 8 | 9 | 1 | 52 | 1 | 307 | 47 | 3 | 0 | false | false | false | false | false | false | zero |
73,205,022 | How to get the rootView inside composable function? | <p>In my activity I have a composable function:</p>
<pre><code>@Composable
private fun checkResponse() {
when(val response = viewModel.response) {
is Success -> //...
is Failure -> showSnackBar() //Here is the problem.
}
}
</code></pre>
<p>The <code>showSnackBar()</code> is this:</p>
<pre>... | In my activity I have a composable function: [CODE] The showSnackBar() is this: [CODE] Which takes as an argument the rootView . How to call showSnackBar and pass the correct argument? | android|kotlin|android-jetpack-compose | 0 | 2022-08-02T09:22:51.903Z | 2,022 | 8 | 9 | 1 | 52 | 1 | 184 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
73,205,034 | how to send tcp message from pc(c#) to android | <p>i reference from <a href="https://stackoverflow.com/questions/10182751/server-client-send-receive-simple-text">Server Client send/receive simple text</a>. it success send message from android to pc. i want try from pc to android</p> | i reference from Server Client send/receive simple text . it success send message from android to pc. i want try from pc to android | c#|android|tcp | 0 | 2022-08-02T09:23:25.400Z | 2,022 | 8 | 9 | 1 | 20 | 0 | 131 | 46 | 3 | 0 | false | true | false | false | false | false | zero |
73,205,038 | How to modify the Date Modified in Bulk? | <p>A few days back I took a backup of my phone's documents before a factory reset of my phone.
But when I copied the files on to my Windows system, the "Date of Creation" of those files changed to the time I copied. I noticed it when the factory reset was complete and I copied my backup back to the phone. <br... | A few days back I took a backup of my phone's documents before a factory reset of my phone. But when I copied the files on to my Windows system, the "Date of Creation" of those files changed to the time I copied. I noticed it when the factory reset was complete and I copied my backup back to the phone. Here's... | android|windows|metadata|android-gallery|windows-explorer | -1 | 2022-08-02T09:23:33.960Z | 2,022 | 8 | 9 | 1 | 23 | 1 | 915 | 40 | 5 | 0 | false | false | false | false | false | true | negative |
73,205,045 | Range seekbar to trim audio | <p>I'm trying to incorporate somehow into Android audio player, functionality of marking of the fragment of the song in the player that it is supposed to play. I see this like clipping of the fragment as in Audacity. I'm trying to get it with a range seekbar (two blue dots on a line that can be adjust) on which user ma... | I'm trying to incorporate somehow into Android audio player, functionality of marking of the fragment of the song in the player that it is supposed to play. I see this like clipping of the fragment as in Audacity. I'm trying to get it with a range seekbar (two blue dots on a line that can be adjust) on which user mark ... | java|android|audio|audio-player|android-seekbar | 0 | 2022-08-02T09:24:01.260Z | 2,022 | 8 | 9 | 1 | 61 | 0 | 714 | 27 | 5 | 2 | true | true | false | false | false | false | zero |
73,205,109 | Getting an error whilebuilding my project in Android Studio | <p>I maked a clear coded working game in Unity2D, exported
it and tried to import it in android-studio-2021.2.1.15-windows. Then occured an error(the first three lines at below).</p>
<blockquote>
<p>A problem occurred configuring project ':launcher'.
Could not resolve all artifacts for configuration ':launcher:classpat... | I maked a clear coded working game in Unity2D, exported it and tried to import it in android-studio-2021.2.1.15-windows. Then occured an error(the first three lines at below). A problem occurred configuring project ':launcher'. Could not resolve all artifacts for configuration ':launcher:classpath'. > Could not resolve... | c#|android|android-studio|unity3d|android-studio-2.1 | 0 | 2022-08-02T09:27:36.937Z | 2,022 | 8 | 9 | 1 | 20 | 0 | 402 | 59 | 5 | 0 | false | true | false | false | false | false | zero |
73,205,146 | Android Studio MediaSessionManager OnActiveSessionsChangedListener does not exist | <p>I am trying to make an app that needs access to the OnActiveSessionsChangedListener that should be found in MediaSessionManager but I do not have it. If someone knows how to fix that or if that was removed then that would be great!
Thank you.</p> | I am trying to make an app that needs access to the OnActiveSessionsChangedListener that should be found in MediaSessionManager but I do not have it. If someone knows how to fix that or if that was removed then that would be great! Thank you. | android|android-studio | 0 | 2022-08-02T09:30:06.243Z | 2,022 | 8 | 9 | 1 | 10 | 0 | 242 | 81 | 2 | 0 | false | true | false | false | false | false | zero |
73,205,234 | Disable app from App Store and Google play | <p>Good morning everyone. A few years ago I developed an app for both ios and Android which now, however, I should disable. As for ios, I know that you can disable the app download via the "Remove from sale" option and I guess there is a similar option for Android. In addition to this, however, I would like t... | Good morning everyone. A few years ago I developed an app for both ios and Android which now, however, I should disable. As for ios, I know that you can disable the app download via the "Remove from sale" option and I guess there is a similar option for Android. In addition to this, however, I would like to p... | android|ios | 0 | 2022-08-02T09:35:55.877Z | 2,022 | 8 | 9 | 1 | 32 | 0 | 436 | 42 | 2 | 0 | false | true | false | false | false | false | zero |
73,205,249 | Android MVVM: How to merge two values in the use case | <p>I have this use case <strong>GetPeopleUseCase</strong> which allows me to retrieve data (students and footballers) from cache. Now, I have to merge footballer and student in one list. How can i do it?</p>
<pre><code>class GetPeopleUseCase @Inject constructor(
private val footballerRepository: FootballerRepositor... | I have this use case GetPeopleUseCase which allows me to retrieve data (students and footballers) from cache. Now, I have to merge footballer and student in one list. How can i do it? [CODE] Person: [CODE] Footballer: [CODE] Student: [CODE] | android|android-studio|kotlin|design-patterns|mvvm | 0 | 2022-08-02T09:36:35.707Z | 2,022 | 8 | 9 | 1 | 43 | 1 | 240 | 53 | 5 | 4 | true | false | false | false | false | false | zero |
73,205,258 | Copy file to /system/bin/ in android11/12 | <p>I am trying copy file from raw to /system/bin/ location in android11/12.</p>
<p>Please find below code :</p>
<p>Manifest permission :</p>
<pre><code><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_S... | I am trying copy file from raw to /system/bin/ location in android11/12. Please find below code : Manifest permission : [CODE] MainActivity: protected void onCreate(Bundle savedInstanceState) { [CODE] Getting below error : W/System.err: java.io.FileNotFoundException: /system/bin/test _new : open failed: EROFS (Read-onl... | android|system|android-11 | 0 | 2022-08-02T09:37:28.573Z | 2,022 | 8 | 9 | 1 | 67 | 1 | 334 | 41 | 3 | 2 | true | false | false | false | false | false | zero |
73,205,295 | How do I test selected ViewPager2 item in espresso? | <p>I want to check against a single selected fragment inside a ViewPager2.</p>
<pre><code>onView(withId(R.id.layout1)).check(matches(isDisplayed()))
</code></pre>
<p>This actually checks against multiple fragments, and gives me AmbiguousViewMatcherException because there are multiple views withId R.id.layout1. But I ... | I want to check against a single selected fragment inside a ViewPager2. [CODE] This actually checks against multiple fragments, and gives me AmbiguousViewMatcherException because there are multiple views withId R.id.layout1. But I want to know if the SELECTED / CURRENT item in ViewPager is withId R.id.layout1. The othe... | android-espresso|android-testing | 0 | 2022-08-02T09:39:57.377Z | 2,022 | 8 | 9 | 1 | 34 | 0 | 403 | 51 | 2 | 1 | true | true | false | false | false | false | zero |
73,205,296 | How to save downloaded text files to internal storage for Android Lollipop and up (Android 11)? | <p>I have this function to download a file and save it to public folder Documents:</p>
<pre><code>private void df(String fn, URL url) {
File file=new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS)+"/" + fn);
if(file.exists())
Toast.makeText(this, "File existed!&qu... | I have this function to download a file and save it to public folder Documents: [CODE] Is there a way to save or maybe move the downloaded file from Documents to internal storage? A set of codes or maybe a reference will greatly help me. Thank you. | android | 0 | 2022-08-02T09:39:58.587Z | 2,022 | 8 | 9 | 1 | 28 | 0 | 248 | 95 | 1 | 1 | true | true | false | false | false | false | zero |
73,205,321 | Preview must be a top level declarations or in a top level class with a default constructor | <p>Hey guys I am using preview in my view holder. I am getting this weird issue in my <code>@Preview</code> annotation. I am unable to understand this.</p>
<pre><code>Preview must be a top level declarations or in a top level class with a default constructor.
</code></pre>
<p><strong>OptionsViewHolder.kt</strong></p>
<... | Hey guys I am using preview in my view holder. I am getting this weird issue in my @Preview annotation. I am unable to understand this. [CODE] OptionsViewHolder.kt [CODE] | android|kotlin|android-jetpack-compose|android-jetpack | 2 | 2022-08-02T09:41:50.650Z | 2,022 | 8 | 9 | 1 | 83 | 1 | 170 | 91 | 4 | 2 | true | false | false | false | false | false | low |
73,205,390 | Android Java PyTorch generate normalise image from TensorImageUtils.bitmapToFloat32Tensor | <p>So basically we are developing a script for android devices to normalise bitmap and our external team already developed image normalisation stuff in python.</p>
<p>We are using an android PyTorch library(version 1.10.0) to apply normalisation to bitmap image via tensor as shown in the below code</p>
<pre><code>publi... | So basically we are developing a script for android devices to normalise bitmap and our external team already developed image normalisation stuff in python. We are using an android PyTorch library(version 1.10.0) to apply normalisation to bitmap image via tensor as shown in the below code [CODE] Here we are getting the... | java|android|pytorch|tensor|image-classification | 1 | 2022-08-02T09:46:27.600Z | 2,022 | 8 | 9 | 1 | 54 | 0 | 884 | 89 | 5 | 2 | true | true | false | false | false | false | low |
73,205,477 | Volley JSON Object Request for POST-ing an array, having a (string) tag and a JSON object | <p>After looking at many examples available on Stack Overflow, I still haven't been able to figure out how to make it work out in my case yet. So, could you please provide me with some guidelines wherever possible? Specifically, I have already built a JSON array containing a tag and a JSON object, which should look lik... | After looking at many examples available on Stack Overflow, I still haven't been able to figure out how to make it work out in my case yet. So, could you please provide me with some guidelines wherever possible? Specifically, I have already built a JSON array containing a tag and a JSON object, which should look like b... | java|json|post|android-volley | 0 | 2022-08-02T09:52:19.067Z | 2,022 | 8 | 9 | 1 | 39 | 0 | 1,121 | 89 | 4 | 2 | true | true | false | false | false | false | zero |
73,205,488 | Material DatePicker opening always at "start date" in android | <p>I have used material date picker so that the user inputs a date. The thing is that when a user selects a date in the calendar, closes it and opens it again, it does not open in the selected date's month. This is my code to open the calendar and listen to the input event:</p>
<pre><code>private fun setUpCalendarObser... | I have used material date picker so that the user inputs a date. The thing is that when a user selects a date in the calendar, closes it and opens it again, it does not open in the selected date's month. This is my code to open the calendar and listen to the input event: [CODE] | android|material-ui|datepicker | 0 | 2022-08-02T09:53:05.797Z | 2,022 | 8 | 9 | 1 | 30 | 0 | 278 | 61 | 3 | 1 | true | true | false | false | false | false | zero |
73,205,502 | getOrAwaitValue always gets null in unit test | <pre class="lang-kotlin prettyprint-override"><code>java.lang.NullPointerException
at androidx.arch.core.executor.DefaultTaskExecutor.isMainThread(DefaultTaskExecutor.java:77)
at androidx.arch.core.executor.ArchTaskExecutor.isMainThread(ArchTaskExecutor.java:116)
at androidx.lifecycle.LiveData.assertMainThr... | [CODE] I'd like to test getOrAwaitValue() [CODE] I'd like to test like this: [CODE] But this always gets null, How can I solve this issue? | android|kotlin|junit|android-livedata | 0 | 2022-08-02T09:53:59.533Z | 2,022 | 8 | 9 | 1 | 64 | 1 | 138 | 45 | 4 | 3 | true | false | false | false | false | false | zero |
73,205,555 | How do i remove default icon from toast while app is targeted to android 12? | <p>Right now app targeted to android 12 or 13 has an image in the toast by default, is it possible to remove that?</p> | Right now app targeted to android 12 or 13 has an image in the toast by default, is it possible to remove that? | java|android|android-studio | 0 | 2022-08-02T09:58:08.203Z | 2,022 | 8 | 9 | 1 | 129 | 1 | 111 | 76 | 3 | 0 | false | false | false | false | false | false | zero |
73,205,583 | Can't play video in videoview android studio? | <p>I know that there is too many solutions were given, but I can't get the exact solution. My problem is that I have picked one video from internal storage device and after picking video then I have converted to String and set the video to videoView but then also it shows that "Can't play this video" in video... | I know that there is too many solutions were given, but I can't get the exact solution. My problem is that I have picked one video from internal storage device and after picking video then I have converted to String and set the video to videoView but then also it shows that "Can't play this video" in videoVie... | java|android|android-videoview | 0 | 2022-08-02T10:00:15.733Z | 2,022 | 8 | 10 | 1 | 53 | 1 | 399 | 45 | 3 | 1 | true | false | false | false | false | false | zero |
73,205,624 | Running a nested query in Cloud Firebase? | <p>I'm messing around with <strong>Cloud Firestore</strong>. Trying to decide whether I should use it for my next project.</p>
<p>I would like to make a nested query, but all the tutorials and examples I found in the official documentation only query objects which are 2 levels deep and most of the time direct key/id ca... | I'm messing around with Cloud Firestore . Trying to decide whether I should use it for my next project. I would like to make a nested query, but all the tutorials and examples I found in the official documentation only query objects which are 2 levels deep and most of the time direct key/id calling. I need something wh... | android|firebase|kotlin|google-cloud-platform|google-cloud-firestore | 0 | 2022-08-02T10:02:29.260Z | 2,022 | 8 | 10 | 1 | 26 | 1 | 1,364 | 41 | 5 | 0 | false | false | false | false | false | false | zero |
73,205,792 | CameraX is not showing preview in Service | <p>I'm trying to preview camerx in my service. My service class extends LifecycleService() as camera x requires lifecycleOwner. My xml layout is as below</p>
<pre><code><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layo... | I'm trying to preview camerx in my service. My service class extends LifecycleService() as camera x requires lifecycleOwner. My xml layout is as below [CODE] I have added permisions in manifest [CODE] and also granted runtime permissions and this this is the way I'm trying to preview camerx in my service [CODE] but my ... | android|service|camera | 0 | 2022-08-02T10:13:28.497Z | 2,022 | 8 | 10 | 1 | 29 | 1 | 375 | 41 | 3 | 3 | true | false | false | false | false | false | zero |
73,205,827 | WebView Animation Error in Fragment (Android) | <p>I have a problem that I can't solve. When I change fragment in a fast way, the application crashes and the problem comes from the animation of the Webview that I set up.</p>
<p>Here is my code :</p>
<pre><code> private boolean alreadyEvaluated = false;
@Override
public void onPageFinished(WebView vie... | I have a problem that I can't solve. When I change fragment in a fast way, the application crashes and the problem comes from the animation of the Webview that I set up. Here is my code : [CODE] Next : [CODE] Logcat errors : [CODE] And AnimationUtils: [CODE] Thank you in advance for your help, I really get stuck. | android|android-studio|android-webview|android-animation|fatal-error | 0 | 2022-08-02T10:16:44.483Z | 2,022 | 8 | 10 | 1 | 37 | 0 | 314 | 45 | 5 | 4 | true | true | false | false | false | false | zero |
73,205,850 | Trying to set the EditText inside FragmentDialog to be multiline doesn't work | <p>So I'm trying to set the edit text inside dialog to multi-lined but it doesn't do so it only appears in single-line for some reason</p>
<p><a href="https://i.stack.imgur.com/XyhHZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XyhHZ.png" alt="image " /></a></p>
<p>and it just keeps going to the r... | So I'm trying to set the edit text inside dialog to multi-lined but it doesn't do so it only appears in single-line for some reason and it just keeps going to the right instead of going down(\n). I set the edit text to multiline and the single line to be false but nothing works here is the XML code for the dialog: [COD... | android|xml|android-studio | 0 | 2022-08-02T10:18:42.767Z | 2,022 | 8 | 10 | 1 | 23 | 1 | 347 | 77 | 3 | 1 | true | false | false | false | false | false | zero |
73,205,879 | How can I make proguard minification respect method usages in the androidTest dependency tree? | <p>I'm running androidTest UI tests against the proguarded release build of my project, so that we can catch proguard misconfiguartions in an early phase of development. However this causes issues when we use production methods in UI tests that are not used (1) in production code. Because proguard only traverse the <co... | I'm running androidTest UI tests against the proguarded release build of my project, so that we can catch proguard misconfiguartions in an early phase of development. However this causes issues when we use production methods in UI tests that are not used (1) in production code. Because proguard only traverse the implem... | proguard|android-progressbar | 0 | 2022-08-02T10:21:12.940Z | 2,022 | 8 | 10 | 1 | 17 | 0 | 1,386 | 94 | 2 | 0 | false | true | false | false | false | false | zero |
73,205,898 | Print Manager is now showing save to PDF when printer is connected | <p>I am trying to convert webview into Pdf and saving it on personal mobile using Print Manager.
It works fine when printer is not connected but if printer is connected to mobile then save pdf option is not showing. Device has android 10.</p>
<pre><code> fun printWebPage(webView: WebView, loadID: String) {
var jobN... | I am trying to convert webview into Pdf and saving it on personal mobile using Print Manager. It works fine when printer is not connected but if printer is connected to mobile then save pdf option is not showing. Device has android 10. [CODE] | android|android-studio|pdf|android-webview|android-print-manager | 0 | 2022-08-02T10:22:44.757Z | 2,022 | 8 | 10 | 1 | 56 | 1 | 242 | 66 | 5 | 1 | true | false | false | false | false | false | zero |
73,205,940 | Android Navigation component navigation issue | <p>I am using the navigation component to navigate between fragments.
this is the flow
splash -> login -> Register</p>
<p>login -> Home</p>
<ol>
<li><p>here i am navigating to login from splash and removing splash instance by using popUpTo ="@id/splash", popUpToInclusive ="true". -- no issu... | I am using the navigation component to navigate between fragments. this is the flow splash -> login -> Register login -> Home here i am navigating to login from splash and removing splash instance by using popUpTo ="@id/splash", popUpToInclusive ="true". -- no issue successfully removing an instance... | android|navigation|android-mvvm | 0 | 2022-08-02T10:25:44.627Z | 2,022 | 8 | 10 | 1 | 41 | 0 | 1,317 | 45 | 3 | 1 | true | true | false | false | false | false | zero |
73,206,068 | seterror issue in edittext | <p>hi I'm facing two problems in while setting error in edittext</p>
<p><strong>first issue is</strong> : error box going outside of the edt box</p>
<p><a href="https://i.stack.imgur.com/T8ojs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T8ojs.png" alt="enter image description here" /></a></p>
<p... | hi I'm facing two problems in while setting error in edittext first issue is : error box going outside of the edt box second issue is: as it is a password edt box so after error im not able to see eye icon after clicking exclamation icon basically toggling is working fine but issue with icon need help thanks... code:--... | android|kotlin|android-layout|android-edittext | 0 | 2022-08-02T10:34:31.070Z | 2,022 | 8 | 10 | 1 | 43 | 0 | 377 | 26 | 4 | 2 | true | true | false | false | false | false | zero |
73,206,070 | flutter_native_splash package: image does not scale down on Android | <p>I got an issue with the flutter_native_splash library. The image does not scale down and it simply looks ugly. For iOS, it's now problem and looks very nice. But on Android it seems to be a problem. Here is the code of my pubspec.yaml:</p>
<pre><code>
flutter_native_splash:
color: "#FFFFFF"
image: asse... | I got an issue with the flutter_native_splash library. The image does not scale down and it simply looks ugly. For iOS, it's now problem and looks very nice. But on Android it seems to be a problem. Here is the code of my pubspec.yaml: [CODE] | android|flutter|native|splash-screen|pubspec | 0 | 2022-08-02T10:34:44.970Z | 2,022 | 8 | 10 | 1 | 57 | 1 | 242 | 67 | 5 | 1 | true | false | false | false | false | false | zero |
73,206,081 | Xamarin and TabBar in Shell application. Title under the Icon. Why? | <p>I recently updated my Xamarin version (slightly) and decided to rebuild my app. Surprisingly, I see headlines from the other side. Why?!</p>
<p>Before update:
<a href="https://i.stack.imgur.com/fwJA1.png" rel="nofollow noreferrer">Title ok</a>
After update:
<a href="https://i.stack.imgur.com/0joX5.png" rel="nofollow... | I recently updated my Xamarin version (slightly) and decided to rebuild my app. Surprisingly, I see headlines from the other side. Why?! Before update: Title ok After update: Title under the Icon Why? :) I want to return everything back without rolling back the updates. Moreover, an empty project from MS works correctl... | c#|xamarin|xamarin.android | 0 | 2022-08-02T10:36:02.343Z | 2,022 | 8 | 10 | 1 | 25 | 0 | 354 | 67 | 3 | 0 | false | true | false | false | false | false | zero |
73,206,163 | How do I import a mysql database to firebase and push notifications to the user's phone, everytime a record is inserted to a table in real time? | <p>I have a <code>MySQL</code> file that I want to import into Firebase Realtime Database. My <code>MySQL</code> file contains a database, which contains a table. Every time a record is inserted into the table, I want to push a notification to my app on the user's phone in real-time. How do I proceed?</p> | I have a MySQL file that I want to import into Firebase Realtime Database. My MySQL file contains a database, which contains a table. Every time a record is inserted into the table, I want to push a notification to my app on the user's phone in real-time. How do I proceed? | android|firebase|kotlin|google-cloud-platform|firebase-realtime-database | 2 | 2022-08-02T10:42:25.800Z | 2,022 | 8 | 10 | 1 | 38 | 1 | 273 | 144 | 5 | 0 | false | false | false | false | false | false | low |
73,206,187 | ViewBinding for an inner CustomView | <p>I have a next hierarchy of nesting for my views:</p>
<ol>
<li>XML for a fragment has a MyCustomView1 inside.</li>
<li>MyCustomView1 creates MyCustomView2 programmatically inside (doesn't have it in XML) and uses it for setting up some parameter of MyCustomView1.</li>
</ol>
<p><strong>MyCustomView1</strong> looks lik... | I have a next hierarchy of nesting for my views: XML for a fragment has a MyCustomView1 inside. MyCustomView1 creates MyCustomView2 programmatically inside (doesn't have it in XML) and uses it for setting up some parameter of MyCustomView1. MyCustomView1 looks like: [CODE] MyCustomView2 looks like: [CODE] MyCustomView2... | android-custom-view|android-viewbinding | 0 | 2022-08-02T10:44:38.637Z | 2,022 | 8 | 10 | 1 | 23 | 0 | 717 | 35 | 2 | 3 | true | true | false | false | false | false | zero |
73,206,239 | Settings to set a Screen Saver is not showing on Google Chromecast | <p>I’m developing custom screen saver for an android tv devices.
On Google Chromecast to set an screen saver there no possibility to do it in system settings, but it is possible to open with an intent</p>
<pre><code>val intent = Intent(Intent.ACTION_MAIN).setClassName(
"com.android.tv.settings",
"... | I’m developing custom screen saver for an android tv devices. On Google Chromecast to set an screen saver there no possibility to do it in system settings, but it is possible to open with an intent [CODE] After OS Update (OS version 10, 1 May 2022) this intent is presented, but doing nothing. Start activity is called b... | android|chromecast | 0 | 2022-08-02T10:48:02.850Z | 2,022 | 8 | 10 | 1 | 17 | 0 | 428 | 66 | 2 | 1 | true | true | false | false | false | false | zero |
73,206,248 | FlatList RefreshControl interrupts presses after refresh on Android after upgrading to Expo 45 | <p>After I refresh the page once, I am unable to press anything in the top half of the screen when using the FlatList or SectionList from React-native. When using the inspect feature on expo I find that the RefreshControl component is swallowing all presses in the top half of the screen (but only after refreshing once)... | After I refresh the page once, I am unable to press anything in the top half of the screen when using the FlatList or SectionList from React-native. When using the inspect feature on expo I find that the RefreshControl component is swallowing all presses in the top half of the screen (but only after refreshing once). T... | ios|react-native|android-layout|expo|react-native-navigation | 0 | 2022-08-02T10:48:55.693Z | 2,022 | 8 | 10 | 1 | 51 | 0 | 740 | 94 | 5 | 1 | true | true | false | false | false | false | zero |
73,206,330 | Access video playback info (current/total-time, url, title) of a playing video on Youtube app from my app | <p>I'm trying to develop an Android app that needs to access basic video playback information (e.g. current-time, and total-time, url, title) of a playing video on the Youtube Android app. The app I'm trying to develop will be have a floating button, when the user clicks it, it will need to read these information from ... | I'm trying to develop an Android app that needs to access basic video playback information (e.g. current-time, and total-time, url, title) of a playing video on the Youtube Android app. The app I'm trying to develop will be have a floating button, when the user clicks it, it will need to read these information from You... | android|youtube | 0 | 2022-08-02T10:54:43.343Z | 2,022 | 8 | 10 | 1 | 30 | 0 | 902 | 105 | 2 | 0 | false | true | false | false | false | false | zero |
73,206,490 | React Native Android TabBar not hiding with style option | <p>I faced with a problem on <code>Tab.Navigator</code> from <code>@react-navigation/native</code></p>
<p>I use this code to hide and show TabBar</p>
<pre><code>this.props.navigation.setOptions({ tabBarVisible: true\false })
</code></pre>
<p>But when I set style to <code>Tab.Navigator</code>, <code>tabBarVisible</code>... | I faced with a problem on Tab.Navigator from @react-navigation/native I use this code to hide and show TabBar [CODE] But when I set style to Tab.Navigator , tabBarVisible option stops working [CODE] Is there any workaround on this problem? My RN version is 18.2.0 @react-navigation/native is ^6.0.10 | android|react-native | 0 | 2022-08-02T11:05:26.903Z | 2,022 | 8 | 11 | 1 | 12 | 1 | 299 | 56 | 2 | 2 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.