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,670,130 | Generic extension function Kotlin | <p>Since getParcelable is deprecated for Android Tiramisu and later i want to make an extension function to get the parcelables from my Intent through my Bundle</p>
<p>So i have</p>
<pre><code> val server = if (Build.VERSION.SDK_INT >= 33) {
it.getParcelable("server", Server::cla... | Since getParcelable is deprecated for Android Tiramisu and later i want to make an extension function to get the parcelables from my Intent through my Bundle So i have [CODE] And i want to create an extension for every model like this [CODE] However, when i try to use it i get an unresolved reference error How can i fi... | android|kotlin|parcelable|kotlin-extension | 0 | 2022-09-10T07:47:23.560Z | 2,022 | 9 | 7 | 5 | 62 | 2 | 327 | 33 | 4 | 2 | true | false | false | false | false | false | zero |
73,670,132 | Jetpack Compose - Using Nested NavGraph with BottomNavBar and make Icons selected | <p>I want to implement a BottomNavBar with 3 items.
Each navigating to a new navGraph. (Nested Navigation)</p>
<p>Home = "HomeGraph"</p>
<p>Explore = "ExploreGraph"</p>
<p>Profile = "ProfileGraph"</p>
<p>HomeGraph:</p>
<pre><code>@OptIn(ExperimentalAnimationApi::class)
fun NavGraphBuilder.... | I want to implement a BottomNavBar with 3 items. Each navigating to a new navGraph. (Nested Navigation) Home = "HomeGraph" Explore = "ExploreGraph" Profile = "ProfileGraph" HomeGraph: [CODE] And my BottomNavBar navigates between those 3 graphs: [CODE] Now the problem is that my "Home&... | android|kotlin|navigation|android-jetpack-compose|android-jetpack | 0 | 2022-09-10T07:47:37.953Z | 2,022 | 9 | 7 | 5 | 58 | 1 | 873 | 81 | 5 | 3 | true | false | false | false | false | false | zero |
73,670,146 | Not able to import PhoneAuthOptions class for Phone number verification | <pre><code>PhoneAuthOptions options =
PhoneAuthOptions.newBuilder(mAuth)
.setPhoneNumber(phoneNumber) // Phone number to verify
.setTimeout(60L, TimeUnit.SECONDS) // Timeout and unit
.setActivity(this) // Activity (for callback binding)
.setCallbacks(mCallbacks) ... | [CODE] I was able to import other classes, but for some reason i cannot find Importclass option while trying to import. | java|android|firebase-authentication|backend | -3 | 2022-09-10T07:49:42.447Z | 2,022 | 9 | 7 | 5 | 14 | 0 | 119 | 71 | 4 | 1 | true | true | false | false | false | true | negative |
73,670,268 | Parcelable Model ArrayList pass activity A to activity B and get sub model ArrayList size it's return NullPointerException | <p><strong>This is my Parcelable Model class</strong></p>
<pre><code>public class BVCCategoryTemplateModel implements Parcelable {
@Expose
@SerializedName("dir")
private List<DirCategory> dir;
@Expose
@SerializedName("url")
private String url;
@Expose
@Serialize... | This is my Parcelable Model class [CODE] pass mode to another activity like this [CODE] another activity get a list like this [CODE] get sub model class list templateSubcategoryDataList.get(0).getDir().size() return NullPointerException [CODE] | android | 0 | 2022-09-10T08:10:44.127Z | 2,022 | 9 | 8 | 5 | 21 | 1 | 243 | 122 | 1 | 4 | true | false | false | false | false | false | zero |
73,670,310 | Can't import com.just.agentweb.AgentWeb | <p>I can't add and use AgentWeb webview in my project. This is my build.gradle, I added the implementation as in the tutorial but it seems it fails, I can't use AgentWeb library after that. Am I doing something wrong or missing a step?</p>
<pre><code>// This is my build.gradle
plugins {
id 'com.android.appl... | I can't add and use AgentWeb webview in my project. This is my build.gradle, I added the implementation as in the tutorial but it seems it fails, I can't use AgentWeb library after that. Am I doing something wrong or missing a step? [CODE] And here is the code that i use it, i get the message "Cannot resolve symbo... | java|android | 0 | 2022-09-10T08:20:24.577Z | 2,022 | 9 | 8 | 5 | 20 | 0 | 345 | 39 | 2 | 2 | true | true | false | false | false | false | zero |
73,670,316 | How to merge mp3 file with mp4 in android studio | <p>like we do in last step of insta or fb posting, we add an audio file to our video recorded, how to this in android stud
If possible than kotlin ans would be appreciated</p> | like we do in last step of insta or fb posting, we add an audio file to our video recorded, how to this in android stud If possible than kotlin ans would be appreciated | android|kotlin|encoding|type-conversion|media | -1 | 2022-09-10T08:20:42.580Z | 2,022 | 9 | 8 | 5 | 12 | 0 | 168 | 48 | 5 | 0 | false | true | false | false | false | true | negative |
73,670,347 | onChildAdded returns duplicated data | <p>My Issue is that when A stores a java object using the setValue function, it will be reflected in the firebase console with no duplications, but unfortunatly onChildAdded will be executed multiple times according to the number of duplications it returns.</p>
<p>Important note: when my application is fired and I have... | My Issue is that when A stores a java object using the setValue function, it will be reflected in the firebase console with no duplications, but unfortunatly onChildAdded will be executed multiple times according to the number of duplications it returns. Important note: when my application is fired and I have added no ... | java|android|firebase|firebase-realtime-database | 0 | 2022-09-10T08:25:20.337Z | 2,022 | 9 | 8 | 5 | 29 | 0 | 924 | 36 | 4 | 4 | true | true | false | false | false | false | zero |
73,670,361 | What must be the code for Desktop Mode in Web view of app in android studio? | <p>My Java code for Webview in Fragment is as under:</p>
<pre><code>public class kvkfragment extends Fragment {
ProgressBar progressBar;
public kvkfragment() {
}
@SuppressLint("SetJavaScriptEnabled")
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup conta... | My Java code for Webview in Fragment is as under: [CODE] I want to get it show as Desktop Mode of this webview in fragment of my android app. Therefore, please suggest me the new code for setting the "Desktop Mode" in Webview of fragment activity in Android Studio. | java|android|webview|desktop | -2 | 2022-09-10T08:27:33.530Z | 2,022 | 9 | 8 | 5 | 41 | 0 | 275 | 76 | 4 | 1 | true | true | false | false | false | true | negative |
73,670,396 | Googlemap, how add points every 10 meters on polyline | <p>I have a polyline drawn between two points, the total distance between them is 100 meters. How to add points to the line every 10 meters each? that is, a total of 10 points.</p> | I have a polyline drawn between two points, the total distance between them is 100 meters. How to add points to the line every 10 meters each? that is, a total of 10 points. | java|android | -1 | 2022-09-10T08:33:46.053Z | 2,022 | 9 | 8 | 5 | 38 | 0 | 173 | 53 | 2 | 0 | false | true | false | false | false | true | negative |
73,670,410 | Build Exception Error: Execution failed for task app:processDebugMainManifest | <p>I have been trying to run my flutter code on an emulator but I end up getting an error; Below is the detailed error. Any assistance is appreciated.</p>
<pre><code>Execution failed for task ':app:processDebugMainManifest'.
> Unable to make field private final java.lang.String java.io.File.path accessible: module j... | I have been trying to run my flutter code on an emulator but I end up getting an error; Below is the detailed error. Any assistance is appreciated. [CODE] | android|flutter|visual-studio-code | 0 | 2022-09-10T08:36:55.193Z | 2,022 | 9 | 8 | 5 | 20 | 0 | 154 | 77 | 3 | 1 | true | true | false | false | false | false | zero |
73,670,420 | Check Hour Android and do something Java | <p>Good morning, i would want to know how to do something like this in android.</p>
<pre><code>if(6PM are already passed){
//do somethin
}else{
//somethin else
}
</code></pre>
<p>Thanks in advance.</p> | Good morning, i would want to know how to do something like this in android. [CODE] Thanks in advance. | java|android|date|time | 1 | 2022-09-10T08:39:06.110Z | 2,022 | 9 | 8 | 5 | 62 | 3 | 102 | 40 | 4 | 1 | true | false | false | false | false | false | low |
73,670,450 | Parsing data retrieved from registerForActivityResult via background service | <p>I'm trying to build a camera application using ZXing library, everything is up and running (overlay is displaying on the screen while the application is minimized)</p>
<p>My problem is - activity result only gets called once the application is back from minimized state. How could I get the data without bringing back... | I'm trying to build a camera application using ZXing library, everything is up and running (overlay is displaying on the screen while the application is minimized) My problem is - activity result only gets called once the application is back from minimized state. How could I get the data without bringing back the app f... | java|android|camera | 0 | 2022-09-10T08:42:59.683Z | 2,022 | 9 | 8 | 5 | 11 | 0 | 514 | 76 | 3 | 0 | false | true | false | false | false | false | zero |
73,670,675 | System volume level settings file path in Android | <p>I am trying to find where Android stores the settings of volume level values. It should store it somewhere in /data because when ROM is dirty flashed, the volume level settings are persisted which means it has to be stored in /data. For information, I am using MIUI 13 based on Android 12. And why I am trying to find... | I am trying to find where Android stores the settings of volume level values. It should store it somewhere in /data because when ROM is dirty flashed, the volume level settings are persisted which means it has to be stored in /data. For information, I am using MIUI 13 based on Android 12. And why I am trying to find th... | android|settings|volume|rom|miui | 0 | 2022-09-10T09:22:34.350Z | 2,022 | 9 | 9 | 5 | 13 | 0 | 522 | 49 | 5 | 0 | false | true | false | false | false | false | zero |
73,670,676 | Flutter Firestore how to show the list of people i have recently chat with | <p>Hope all are well i am working on a flutter app where i got stuck at chat module the chat is working fine and sending messages as well. But i want to show the persons whom i chat with most recent on chat screen page.</p>
<p>Like messenger whats app when we chat with someone it comes on chat screen like that.</p>
<p>... | Hope all are well i am working on a flutter app where i got stuck at chat module the chat is working fine and sending messages as well. But i want to show the persons whom i chat with most recent on chat screen page. Like messenger whats app when we chat with someone it comes on chat screen like that. Here is my chatro... | android|flutter|firebase|google-cloud-firestore | 0 | 2022-09-10T09:23:00.773Z | 2,022 | 9 | 9 | 5 | 45 | 1 | 650 | 74 | 4 | 2 | true | false | false | false | false | false | zero |
73,670,688 | Why is let used in null safe operations in kotlin? | <p>I've heard that let is used when you wish to perform a null safe operation on an Object by using the safe call operator <code>?.</code>.(according to <a href="https://stackoverflow.com/a/58607101/12839666">this</a>)
But the question is why this:</p>
<pre><code>fun main() {
var s: String? = null
s = s?.let{ i... | I've heard that let is used when you wish to perform a null safe operation on an Object by using the safe call operator ?. .(according to this ) But the question is why this: [CODE] is preferred over this: [CODE] In my opinion the 2nd variant is easier to read and understand which makes let useless. So what is the purp... | android|kotlin|mobile | -1 | 2022-09-10T09:25:46.493Z | 2,022 | 9 | 9 | 5 | 52 | 1 | 340 | 50 | 3 | 2 | true | false | false | false | false | true | negative |
73,670,772 | Android Studio dosn't show folder in the project window tree | <p>i try to create simple folder i can see it created on disk but can't see it in the project desplay did all the synch and and reload from disk things :</p>
<p><a href="https://i.stack.imgur.com/H3Vwu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H3Vwu.png" alt="enter image description here" /></a... | i try to create simple folder i can see it created on disk but can't see it in the project desplay did all the synch and and reload from disk things : and the jni directory exsist on disk | android|windows|android-studio|directory|project-structure | 0 | 2022-09-10T09:41:51.147Z | 2,022 | 9 | 9 | 5 | 21 | 1 | 187 | 60 | 5 | 0 | false | false | false | false | false | false | zero |
73,670,899 | Room TypeConverter List<Int> | <p><strong>Hello everyone!</strong> <br />
I am developing an API based mobile application and I want to save data from this API to room db. I wrote everything and got it done, but when I run the application it gives me an error like this:</p>
<p><em><strong>error: I can't figure out how to save this field in the datab... | Hello everyone! I am developing an API based mobile application and I want to save data from this API to room db. I wrote everything and got it done, but when I run the application it gives me an error like this: error: I can't figure out how to save this field in the database. You might consider adding some kind of co... | kotlin|android-room|typeconverter | 0 | 2022-09-10T10:00:56.477Z | 2,022 | 9 | 10 | 5 | 30 | 1 | 1,125 | 28 | 3 | 0 | false | false | false | false | false | false | zero |
73,670,918 | Send RecylerView Items Data To Another Fragment. I Am Getting Data From Firebase RealTime Database | <p><em><strong>Adapter</strong></em>
This is my Adapter Class .I am Getting data from Firebase Realtime Database. When i click on the recyclerView Items I want that items Data To Show on Another Fragments TextView.</p>
<pre><code>public class MyAdapter_2 extends RecyclerView.Adapter<MyAdapter_2.MyViewholder> {
... | Adapter This is my Adapter Class .I am Getting data from Firebase Realtime Database. When i click on the recyclerView Items I want that items Data To Show on Another Fragments TextView. [CODE] BottomSheetFragment This tis the Fragment Where i set My RecyclerView. [CODE] Fragment This is The fragment, I want That Recycl... | java|android-studio|android-fragments|android-recyclerview | 0 | 2022-09-10T10:03:23.973Z | 2,022 | 9 | 10 | 5 | 74 | 1 | 404 | 98 | 4 | 3 | true | false | false | false | false | false | zero |
73,670,996 | ECDH key agreement generated Key Pair is always invalid in Android 12 | <p>I've written the below code following the <a href="https://developer.android.com/reference/kotlin/android/security/keystore/KeyGenParameterSpec" rel="nofollow noreferrer">official guide</a> for ECDH Key Agreement on Android.</p>
<pre class="lang-java prettyprint-override"><code>private static final String EC_SPEC = ... | I've written the below code following the official guide for ECDH Key Agreement on Android. [CODE] But at the time of execution the code throws below error : [CODE] I've tried to test the code in the following manner, [CODE] I can't understand why the keys are getting permanently invalidated instantly despite of settin... | android|encryption|aes|elliptic-curve|diffie-hellman | 1 | 2022-09-10T10:15:10.447Z | 2,022 | 9 | 10 | 5 | 54 | 1 | 607 | 69 | 5 | 3 | true | false | false | false | false | false | low |
73,671,113 | How to show the right fragment in ViewPager when the tab is selected programmatically? | <p>I have implemented <code>ViewPager2</code> with <code>TabLayout</code>, but when I want to choose selected tab programmatically, only <code>TabLayout</code> gets updated and not <code>ViewPager2</code>. Here is my code:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="fals... | I have implemented ViewPager2 with TabLayout , but when I want to choose selected tab programmatically, only TabLayout gets updated and not ViewPager2 . Here is my code: [CODE] And this is my adapter: [CODE] | android|kotlin|android-tablayout|android-viewpager2 | 1 | 2022-09-10T10:35:45.407Z | 2,022 | 9 | 10 | 5 | 18 | 0 | 207 | 86 | 4 | 2 | true | true | false | false | false | false | low |
73,671,129 | Remove Bottom Navigation view with fragments | <p>I have 2 activities with a separate <code>NavHostFragment</code> which hosts 3 fragments, these 3 fragments are then displayed in my activity's layout <code>ContainerView</code>.
Note: My 2 activities have the same name and use the same layout, the only difference is that they are in different directories and handle... | I have 2 activities with a separate NavHostFragment which hosts 3 fragments, these 3 fragments are then displayed in my activity's layout ContainerView . Note: My 2 activities have the same name and use the same layout, the only difference is that they are in different directories and handle slightly different tasks. I... | java|android|android-fragments|bottomnavigationview | 2 | 2022-09-10T10:37:27.647Z | 2,022 | 9 | 10 | 5 | 132 | 3 | 1,442 | 44 | 4 | 4 | true | false | false | false | false | false | low |
73,671,151 | Android studio emulator has no sound | <p>I am coding an Android application with Android Studio running on Windows 10.</p>
<pre><code>var swooshSound = MediaPlayer.create(this, R.raw.introswoosh)
swooshSound.start()
</code></pre>
<p>Using the MediaPlayer, I am able to hear the sound if I run it on my real Android device but not in my AVD within Android Stu... | I am coding an Android application with Android Studio running on Windows 10. [CODE] Using the MediaPlayer, I am able to hear the sound if I run it on my real Android device but not in my AVD within Android Studio. In fact, I cannot hear any sounds from any virtual emulators I create in Android Studio even the AVD's ow... | android-studio | 1 | 2022-09-10T10:41:20.670Z | 2,022 | 9 | 10 | 5 | 46 | 0 | 399 | 36 | 1 | 1 | true | true | false | false | false | false | low |
73,671,156 | Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1 error in compose | <p>I am using Google map for my app with jetpack compose I implemented these dependencies</p>
<pre><code> //Compose Maps
implementation 'com.google.maps.android:maps-compose:2.5.3'
implementation 'com.google.android.gms:play-services-maps:18.0.2'
</code></pre>
<p>in my app.gradle file</p>
<p>and I am getting this erro... | I am using Google map for my app with jetpack compose I implemented these dependencies [CODE] in my app.gradle file and I am getting this error Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1. I used everything please answer this questio... | android|kotlin|google-maps|android-jetpack-compose | 0 | 2022-09-10T10:42:48.173Z | 2,022 | 9 | 10 | 5 | 92 | 2 | 450 | 147 | 4 | 6 | true | false | false | false | false | false | zero |
73,671,177 | How to get updated results in StateFlow depending on parameter (sorting a list) with Jetpack Compose | <p>I made a state with StateFlow with 2 lists. This is working good. I want to sort these lists according to a parameter that user will decide how to sort.
This is my code in ViewModel:</p>
<pre><code>@HiltViewModel
class SubscriptionsViewModel @Inject constructor(
subscriptionsRepository: SubscriptionsRepository
)... | I made a state with StateFlow with 2 lists. This is working good. I want to sort these lists according to a parameter that user will decide how to sort. This is my code in ViewModel: [CODE] sortSubscriptions - is the function called from @Composable screen. Like this: [CODE] Without the sort function, everything works.... | android|android-jetpack-compose|viewmodel|kotlin-stateflow | 0 | 2022-09-10T10:45:34.413Z | 2,022 | 9 | 10 | 5 | 60 | 1 | 458 | 100 | 4 | 2 | true | false | false | false | false | false | zero |
73,671,364 | The email address is badly formatted (Kotlin register button error) | <p>When I click the register button, it does not save the data and gives the following error;</p>
<blockquote>
<p>com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted</p>
</blockquote>
<p>Please help us find the error!</p>
<p>Register code page;</p>
<pre><code>class Reg... | When I click the register button, it does not save the data and gives the following error; com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted Please help us find the error! Register code page; [CODE] | android|firebase|kotlin|firebase-authentication | 0 | 2022-09-10T11:16:51.060Z | 2,022 | 9 | 11 | 5 | 49 | 1 | 251 | 67 | 4 | 1 | true | false | false | false | false | false | zero |
73,671,512 | how to use setAndAllowWhileIdle in repeatetive task , because it avoids from doze mode , any example for this android | <pre><code>how to use setallowWhileIdle method for repeatetive task in alarmManager,
because I think the only method that overcome doze mode,
I need to work 24*7 task in repeatetive mode,
is there any example please help I am new to android
</code></pre>
<pre><code> private void scheduleAlarm() {
try{
... | [CODE] [CODE] I need to do like this on setallowwhileIdle method it doesn't support repeatetive task timer. | android|background|scheduled-tasks|alarmmanager|android-doze | 0 | 2022-09-10T11:40:52.367Z | 2,022 | 9 | 11 | 5 | 22 | 0 | 107 | 117 | 5 | 2 | true | true | false | false | false | false | zero |
73,671,517 | Trying to make a ToggleButton with images, getting error: <item> tag requires a 'drawable' attribute or child tag defining a drawable | <p>I am trying to follow a simple tutorial online about making a toggle button in android with images (so it shows images instad of ON/OFF).</p>
<p>It doesn't work. The error I get is</p>
<pre><code>- Binary XML file line #1: <item> tag requires a 'drawable' attribute or child tag defining a drawable
</cod... | I am trying to follow a simple tutorial online about making a toggle button in android with images (so it shows images instad of ON/OFF). It doesn't work. The error I get is [CODE] I am using Visual Studio 2019 and coding with Xamarin. I have a toggle button defined like this in my activity_main.xml : [CODE] Then I hav... | android|xamarin.android|android-drawable|togglebutton | 0 | 2022-09-10T11:41:59.177Z | 2,022 | 9 | 11 | 5 | 27 | 1 | 712 | 133 | 4 | 3 | true | false | false | false | false | false | zero |
73,671,582 | How to sortByChild("Timestamp") on a hashmapped recyclerview | <p>So I am following <a href="https://www.youtube.com/watch?v=gaeTFNqKA2M&list=PL0dzCUj1L5JE-jiBHjxlmXEkQkum_M3R-&index=10" rel="nofollow noreferrer">this firebase + kotlin chatting app guide</a>. All is fine but the message list is not sorted by timestamp,</p>
<p>I have read through other sources and it says t... | So I am following this firebase + kotlin chatting app guide . All is fine but the message list is not sorted by timestamp, I have read through other sources and it says the only way is by using sortByChild("timestamp") but it still will not sort. Below is the code: [CODE] And here is the ViewHolder class: [CO... | android|firebase|kotlin|firebase-realtime-database|android-recyclerview | 1 | 2022-09-10T11:51:12.957Z | 2,022 | 9 | 11 | 5 | 42 | 0 | 474 | 60 | 5 | 5 | true | true | false | false | false | false | low |
73,671,586 | How to use RecyclerView inside PopupWindow | <p>I have and simple app form (Android dev course) and I learn to use RecyclerView. The code works fine (if I use RecyclerView in MainActivity) but if I want to put that RecyclerView inside a PopupWindow, the app crashes (in most of my attempts: <code>The specified child already has a parent</code>, and I can't use <co... | I have and simple app form (Android dev course) and I learn to use RecyclerView. The code works fine (if I use RecyclerView in MainActivity) but if I want to put that RecyclerView inside a PopupWindow, the app crashes (in most of my attempts: The specified child already has a parent , and I can't use removeView() ). So... | java|android|kotlin|android-recyclerview|android-popupwindow | 0 | 2022-09-10T11:51:56.200Z | 2,022 | 9 | 11 | 5 | 31 | 1 | 565 | 42 | 5 | 3 | true | false | false | false | false | false | zero |
73,671,595 | Cannot get ActivityRecognitionResult | <p>I'm registering Broadcast receiver to receive activity events from Android's ActivityRecognition api.</p>
<p>Registering Broadcast receiver in Manifest:</p>
<pre><code><receiver
android:name=".ActivityBroadcastReceiver"
android:exported="true"
android:permission="c... | I'm registering Broadcast receiver to receive activity events from Android's ActivityRecognition api. Registering Broadcast receiver in Manifest: [CODE] Requesting activity updates: [CODE] Inside Broadcast Receiver: [CODE] When activity change is recognized (for example: change from WALKING to STILL) onReceive gets tri... | android|broadcastreceiver|activity-recognition | 0 | 2022-09-10T11:52:38.993Z | 2,022 | 9 | 11 | 5 | 16 | 0 | 422 | 36 | 3 | 3 | true | true | false | false | false | false | zero |
73,671,638 | Automatically launch Android emulator using WebDriverIO/Appium | <p>I am using Appium + WebDriverIO to run E2E tests for a React Native app.</p>
<p>When I run the tests on iOS, it will automatically launch the specified iOS simulator, but for Android I have to manually launch the emulator before running the tests.</p>
<p>I am running the following command:</p>
<pre class="lang-bash ... | I am using Appium + WebDriverIO to run E2E tests for a React Native app. When I run the tests on iOS, it will automatically launch the specified iOS simulator, but for Android I have to manually launch the emulator before running the tests. I am running the following command: [CODE] My wdio.conf.js looks like this: [CO... | android|react-native|appium|webdriver-io | 1 | 2022-09-10T11:58:41.233Z | 2,022 | 9 | 11 | 5 | 22 | 0 | 496 | 62 | 4 | 2 | true | true | false | false | false | false | low |
73,671,725 | Why my component provided from ViewManager is never resize after setText? | <h1>Background</h1>
<p>I'm an Android Native Developer and I am trying to provide a <code>View</code> named <code>CustomView</code> to react native developer to show it at <code>ReactActivity</code>.</p>
<p>The View provided to react native by <code>ViewManager</code> is like this:
<a href="https://i.stack.imgur.com/HP... | Background I'm an Android Native Developer and I am trying to provide a View named CustomView to react native developer to show it at ReactActivity . The View provided to react native by ViewManager is like this: When the SeekBar 's progress has been changed, the TextView below the SeekBar will be set a new text accord... | android|react-native | 1 | 2022-09-10T12:11:40.320Z | 2,022 | 9 | 12 | 5 | 27 | 0 | 853 | 73 | 2 | 2 | true | true | false | false | false | false | low |
73,671,815 | Software keyboard only shows after delay | <p>I have a screen with <code>TextField</code> and, ideally, I want to achieve the following behavior:</p>
<ul>
<li><code>TextField</code> should become focused as soon as the screen is shown and the software keyboard must appear</li>
<li>User can clear the focus and hide the software keyboard (or I can do it programat... | I have a screen with TextField and, ideally, I want to achieve the following behavior: TextField should become focused as soon as the screen is shown and the software keyboard must appear User can clear the focus and hide the software keyboard (or I can do it programatically) When device is rotated, focus and the keybo... | android|kotlin|keyboard|android-jetpack-compose|android-softkeyboard | 0 | 2022-09-10T12:27:03.790Z | 2,022 | 9 | 12 | 5 | 28 | 0 | 988 | 40 | 5 | 2 | true | true | false | false | false | false | zero |
73,671,885 | Is there a difference between "areNotificationsEnabled()" and "checkSelfPermission(this, Manifest.permission.POST_NOTIFICATIONS)" | <p>Google says that all apps targeting Android 13 (API level 33) in order to be able to work with notifications must ask for <strong>Manifest.permission.POST_NOTIFICATIONS</strong> permission.</p>
<p>My question is: which is a proper way to check if that permission is already granted?</p>
<ol>
<li>using <code>Notificat... | Google says that all apps targeting Android 13 (API level 33) in order to be able to work with notifications must ask for Manifest.permission.POST_NOTIFICATIONS permission. My question is: which is a proper way to check if that permission is already granted? using NotificationManagerCompat.areNotificationsEnabled() usi... | android|notifications | 1 | 2022-09-10T12:40:28.850Z | 2,022 | 9 | 12 | 5 | 67 | 1 | 684 | 129 | 2 | 0 | false | false | false | false | false | false | low |
73,671,908 | how to return from void inbuilt methods in android | <p>I want to return value from the inbuilt void method. How can I do so?</p>
<p>code</p>
<pre><code> public static boolean upload(DatabaseReference reference, String path, String userUid, String value)
{
reference.child(path).setValue(value).addOnSuccessListener(new OnSuccessListener<Void>() {
... | I want to return value from the inbuilt void method. How can I do so? code [CODE] Error: [CODE] Edit: Actually, the code that I am currently using which is not readable at all I know is [CODE] SO my question is how to improve my given code? | java|android|firebase|firebase-realtime-database | 0 | 2022-09-10T12:45:44.387Z | 2,022 | 9 | 12 | 5 | 32 | 0 | 240 | 50 | 4 | 3 | true | true | false | false | false | false | zero |
73,671,995 | Not able to receive broadcast in other app | <p>I was learning broadcast receiver concept, so I tried making demo apps for sending broadcast and receiving custom private broadcast</p>
<p>This is my Broadcast Sender App code :</p>
<pre><code>public class MainActivity extends AppCompatActivity {
TextView senderTextView;
Button sendButton;
private int counter;
//T... | I was learning broadcast receiver concept, so I tried making demo apps for sending broadcast and receiving custom private broadcast This is my Broadcast Sender App code : [CODE] This is my Broadcast Receiver app : [CODE] When I press send Broadcast button textview inside sender activity sets to "Broadcast sent 1 t... | java|android|android-studio|broadcastreceiver | 0 | 2022-09-10T13:01:19.080Z | 2,022 | 9 | 13 | 5 | 23 | 0 | 514 | 42 | 4 | 2 | true | true | false | false | false | false | zero |
73,672,068 | Can I access the youtube player from external android app and get currently playing video ID and exact playing position? | <p>Do you know, whether it is possible to access the YouTube player on a mobile phone from a self-developed android/iPhone App? In order to get the information, which video the user currently watches, and also the exact time-stamp of the played video at that moment? Is this possible?
Of course, assuming that the user w... | Do you know, whether it is possible to access the YouTube player on a mobile phone from a self-developed android/iPhone App? In order to get the information, which video the user currently watches, and also the exact time-stamp of the played video at that moment? Is this possible? Of course, assuming that the user woul... | android|youtube|youtube-api|youtube-data-api|android-youtube-api | 1 | 2022-09-10T13:11:07.017Z | 2,022 | 9 | 13 | 5 | 23 | 0 | 1,059 | 120 | 5 | 0 | false | true | false | false | false | false | low |
73,672,103 | Trying to change the starting fragment causes the navigation drawer to malfunction | <p>I am having a hard time understanding what I am doing wrong, so I hope you'll be able to help me.</p>
<p><strong>Context :</strong> <br/></p>
<p>I am building an Android application using Android Studio to control and monitor my IoT devices in my house.
I started with the Navigation Drawer Activity example, so I hav... | I am having a hard time understanding what I am doing wrong, so I hope you'll be able to help me. Context : I am building an Android application using Android Studio to control and monitor my IoT devices in my house. I started with the Navigation Drawer Activity example, so I have 3 fragments and a navigation drawer : ... | java|android|android-fragments|navigation-drawer|android-notifications | 1 | 2022-09-10T13:16:04.893Z | 2,022 | 9 | 13 | 5 | 46 | 0 | 3,140 | 82 | 5 | 3 | true | true | false | false | false | false | low |
73,672,126 | Directions parts are not generated in Java (Generated) although build.gradle sync successfully | <p>Directions parts are not generated in Java (Generated) even though I have specified fragment actions in Android Studio and many time rebuild project[enter image description here][1]. So I can't use directions. What would be the reason?</p>
<p>Builde.graddle</p>
<pre><code>buildscript {
repositories {
goo... | Directions parts are not generated in Java (Generated) even though I have specified fragment actions in Android Studio and many time rebuild project[enter image description here][1]. So I can't use directions. What would be the reason? Builde.graddle [CODE] build.graddle[app] [CODE] Not generated(screenshot) | android|gradle|android-safe-args | 0 | 2022-09-10T13:19:40.373Z | 2,022 | 9 | 13 | 5 | 34 | 0 | 309 | 94 | 3 | 2 | true | true | false | false | false | false | zero |
73,672,140 | Kotlin call function with parameter by using Any is xxx || Any is yyy not working | <p>my variable passed into my class constructor can be either Fragment or AppCompactActivity, so I use the following code to check wther it's valid in Glide's .with function.</p>
<pre><code>class XXXX(private val parent: Any)
if (parent is AppCompatActivity || parent is Fragment) {
// Load User Avatar
... | my variable passed into my class constructor can be either Fragment or AppCompactActivity, so I use the following code to check wther it's valid in Glide's .with function. [CODE] when I only use parent is AppCompactActivity or parent is Fragement , the code works just fine. However, when I use an or operator, it gives ... | android|kotlin|android-glide | 2 | 2022-09-10T13:21:49.510Z | 2,022 | 9 | 13 | 5 | 34 | 1 | 351 | 81 | 3 | 2 | true | false | false | false | false | false | low |
73,672,191 | Why Toast is not compatible with Android 28+? | <p>why does standard form Toast (also in current google android online docs)
give "false caller" error for an app in Android compileSdkVersion/targetSdkVersion 28. Using getApplicationContext() does not matter.</p>
<pre><code>public class MainActivity extends Activity implements SensorEventListener {
...
... | why does standard form Toast (also in current google android online docs) give "false caller" error for an app in Android compileSdkVersion/targetSdkVersion 28. Using getApplicationContext() does not matter. [CODE] error line, on real android-11 device: V/Toast: Toast SHOW: android.widget.Toast@86d08e5 view =... | java|android|toast|android-toast | -3 | 2022-09-10T13:29:27.630Z | 2,022 | 9 | 13 | 5 | 47 | 1 | 511 | 45 | 4 | 2 | true | false | false | false | false | true | negative |
73,672,197 | How to create custom shape with canvas in Android | <p>In my application I should draw custom shape such as drop shape with canvas.<br>
I want fill this with wave effect and for this I should draw with canvas.<br></p>
<p><strong>I should create shape such as below :</strong> <br>
<a href="https://i.stack.imgur.com/PpCPP.png" rel="nofollow noreferrer"><img src="https://i... | In my application I should draw custom shape such as drop shape with canvas. I want fill this with wave effect and for this I should draw with canvas. I should create shape such as below : I found this library for help draw shape and fill with wave animation : https://github.com/ZihYangLin/YPWaveView I write below code... | android|kotlin | -1 | 2022-09-10T13:30:53.490Z | 2,022 | 9 | 13 | 5 | 37 | 0 | 610 | 49 | 2 | 1 | true | true | false | false | false | true | negative |
73,672,200 | In android room, is the database's name app scoped? | <p><em>(I'm new to android development)</em></p>
<p>Say android app-<strong>1</strong> created a database <code>hello</code>, via <code>roo</code>.<br />
Then could android app-<strong>2</strong> created a database <code>hello</code>, on the same phone?</p>
<p>My guess is yes, since room use sqlite, each app may start ... | (I'm new to android development) Say android app- 1 created a database hello , via roo . Then could android app- 2 created a database hello , on the same phone? My guess is yes, since room use sqlite, each app may start a new sqlite instance, and may store its data in private space, otherwise it's too easy to get confl... | android|sqlite|android-sqlite|android-room | 0 | 2022-09-10T13:31:34.990Z | 2,022 | 9 | 13 | 5 | 36 | 2 | 593 | 51 | 4 | 0 | false | false | false | false | false | false | zero |
73,672,214 | How can I Simulate External Drives on Android Studio? | <p>I'm currently working on a small internal application for my company. (non-commercial, just a QoL app) The plan is to connect several hard drives to one mobile device and simultaneously flash them all for backup purposes, rather than connect the drives one at a time, the plan is to connect them all at once via an on... | I'm currently working on a small internal application for my company. (non-commercial, just a QoL app) The plan is to connect several hard drives to one mobile device and simultaneously flash them all for backup purposes, rather than connect the drives one at a time, the plan is to connect them all at once via an on-th... | android|android-studio | 0 | 2022-09-10T13:33:41.170Z | 2,022 | 9 | 13 | 5 | 17 | 0 | 439 | 53 | 2 | 0 | false | true | false | false | false | false | zero |
73,672,343 | Can't create an instance of ViewModel when using Hilt with Compose | <p>I'm using <code>Hilt</code> with <code>Jetpack Compose</code>.</p>
<pre><code>@HiltViewModel
class HomeViewModel @Inject constructor(
private val homeRepository: HomeRepository
): ViewModel() {
fun getCarDetails(): Car {
return homeRepository.getCarDetails()
}
}
</code></pre>
<p>That's how I inject the repo... | I'm using Hilt with Jetpack Compose . [CODE] That's how I inject the repo. [CODE] And that's my composable. [CODE] I've annotated my Activity with @AndroidEntryPoint . Can't figure out what's the problem. It crashes with a message: [CODE] My library versions for compose is 1.2.1 and for hilt 2.43.2 . Compose ViewModel ... | android|android-jetpack-compose|viewmodel|dagger-hilt | 1 | 2022-09-10T13:51:38.907Z | 2,022 | 9 | 13 | 5 | 50 | 1 | 415 | 66 | 4 | 4 | true | false | false | false | false | false | low |
73,672,378 | Use image from url as R.drawable.image in method | <p>I just install <code>dev-labs-bg /fullscreen-video-view</code> from GitHub and I want to set thumbnail, but the library method use only images from drawable.</p>
<pre><code>val thumbnailResId = R.drawable.video_thumbnail
fullscreenVideoView.videoUrl(videoUrl)
.thumbnail(thumbnailResId)
</code></pre>
<p>How I ... | I just install dev-labs-bg /fullscreen-video-view from GitHub and I want to set thumbnail, but the library method use only images from drawable. [CODE] How I can use image from URL to load into that method.Any clue or this is not postible | android|android-drawable | -1 | 2022-09-10T13:57:43.030Z | 2,022 | 9 | 13 | 5 | 22 | 1 | 238 | 48 | 2 | 1 | true | false | false | false | false | true | negative |
73,672,455 | Why getting a key value changed it's data type in Kotlin? | <p>So I have class named Bidding.kt, and I have companion object in that class to be passed to the MainActivity.kt class. Also I have a function that returns as int value.</p>
<pre><code>companion object {
const val bidInputKey = "bidInput"
}
val bidInput = returningBid() //this function returns an int v... | So I have class named Bidding.kt, and I have companion object in that class to be passed to the MainActivity.kt class. Also I have a function that returns as int value. [CODE] In the MainActivity.kt class, when I called the bidInput to be assigned to a new variable and passed it into a class's parameter, it required to... | android|kotlin|companion-object | 0 | 2022-09-10T14:09:18.950Z | 2,022 | 9 | 14 | 5 | 62 | 1 | 635 | 57 | 3 | 2 | true | false | false | false | false | false | zero |
73,672,505 | How to insert only 3 columns data in room database table if we have more columns? | <p>I have a project that I wrote in kotlin. I want to insert data in different columns of the same table on different pages. I have specified these columns in the dataclass, but it gives a null data error.</p>
<p>In order to make this insert process more healthy, should I divide the table into two separate tables or se... | I have a project that I wrote in kotlin. I want to insert data in different columns of the same table on different pages. I have specified these columns in the dataclass, but it gives a null data error. In order to make this insert process more healthy, should I divide the table into two separate tables or send static ... | android|kotlin|insert|android-room | 0 | 2022-09-10T14:16:08.807Z | 2,022 | 9 | 14 | 5 | 37 | 1 | 356 | 81 | 4 | 0 | false | false | false | false | false | false | zero |
73,672,647 | Why Android x86 or bliss os does not load virtio gpu or amdgpu driver for RX 6500 XT passthrough? | <p>I am new in these waters. After installing aarch64 arch on several arm boards. Decided to try android x86 and then android arm.</p>
<p>However in documentations it says it supports nvidia through nouvaeu driver I have rtx 3060 and NV170 is not supported in nouvaeu I get it. However it should support RX 6500 XT with ... | I am new in these waters. After installing aarch64 arch on several arm boards. Decided to try android x86 and then android arm. However in documentations it says it supports nvidia through nouvaeu driver I have rtx 3060 and NV170 is not supported in nouvaeu I get it. However it should support RX 6500 XT with or without... | android-x86|vfio|virtio | 0 | 2022-09-10T14:35:10.267Z | 2,022 | 9 | 14 | 5 | 9 | 0 | 682 | 97 | 3 | 0 | false | true | false | false | false | false | zero |
73,672,690 | Your app does not adhere to the User Data policy | <p>APK HAS A PRIVACY POLICYβ BUT IT IS NOT ADEQUATE</p>
<p>Privacy Policy in Play Distributed App
Your app is uploading users' Media information without posting a privacy policy in Play Distributed App</p> | APK HAS A PRIVACY POLICYβ BUT IT IS NOT ADEQUATE Privacy Policy in Play Distributed App Your app is uploading users' Media information without posting a privacy policy in Play Distributed App | android|google-play-console | -5 | 2022-09-10T14:41:33.240Z | 2,022 | 9 | 14 | 5 | 34 | 0 | 191 | 48 | 2 | 0 | false | true | false | false | false | true | negative |
73,672,727 | Android Studio disable NFC | <p>How can I make NFC tag scanning happen only in selected activities? Currently, scanning takes place in every activity and every time the phone is applied to the tag.
I tried to solve the problem from this link but the application does not turn on at all.
<a href="https://stackoverflow.com/questions/24059027/android-... | How can I make NFC tag scanning happen only in selected activities? Currently, scanning takes place in every activity and every time the phone is applied to the tag. I tried to solve the problem from this link but the application does not turn on at all. Android app enable NFC only for one Activity [CODE] | android|android-studio|kotlin|nfc | 0 | 2022-09-10T14:45:24.493Z | 2,022 | 9 | 14 | 5 | 40 | 1 | 306 | 26 | 4 | 1 | true | false | false | false | false | false | zero |
73,672,825 | MAUI publish fails with error saying pack <packname> not present in workload manifests | <p>I'm trying to publish this Maui project which targets Android 10.
I keep getting the following errors:</p>
<pre><code>dotnet publish -f:net6.0-android -c:Release /p:AndroidSigningKeyPass=blah
</code></pre>
<blockquote>
<p>MSBuild version 17.3.0+92e088760 for .NET Determining projects to
restore... C:\Program
Files\... | I'm trying to publish this Maui project which targets Android 10. I keep getting the following errors: [CODE] MSBuild version 17.3.0+92e088760 for .NET Determining projects to restore... C:\Program Files\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targe ts(90,5): err... | c#|android|maui | 0 | 2022-09-10T15:00:37.320Z | 2,022 | 9 | 15 | 5 | 93 | 0 | 2,743 | 86 | 3 | 7 | true | true | false | false | false | false | zero |
73,672,844 | How to create update system in Android studio for apk | <p>I want to develop my Android app in such a way that the new version should be updated as soon as possible. If user don't update this app, users will not be able to use it</p> | I want to develop my Android app in such a way that the new version should be updated as soon as possible. If user don't update this app, users will not be able to use it | android|auto-update | 0 | 2022-09-10T15:03:36.027Z | 2,022 | 9 | 15 | 5 | 16 | 0 | 170 | 53 | 2 | 0 | false | true | false | false | false | false | zero |
73,672,894 | Android Chrome Inspect Element Network page | <p>Im using this script to get Chrome inspect Element for Android since I don't have access to a desktop device:</p>
<pre><code>javascript:(function () {
var script = document.createElement('script');
script.src="//cdn.jsdelivr.net/npm/eruda";
document.body.appendChild(script);
script.onload... | Im using this script to get Chrome inspect Element for Android since I don't have access to a desktop device: [CODE] I need to go to the Network part and reload to page to get the items in Network as it appears empty otherwise. After i would need to click on the item , copy then "Copy as PowerShell" but when ... | javascript|android|google-chrome|networking|inspect-element | 0 | 2022-09-10T15:09:03.673Z | 2,022 | 9 | 15 | 5 | 35 | 0 | 496 | 43 | 5 | 1 | true | true | false | false | false | false | zero |
73,672,936 | Glance or Android RemoteView in on demand feature delivery | <p>I'm currently developing an app and making a widget with Glance. App size spiked from 2.8MB to 5.3MB from Glance.</p>
<p>I'm thinking to use Dynamic Feature/Delivery to reduce the app size issue so user only need to download the widget when they need to.</p>
<p>But I got a strange crash even after the module is down... | I'm currently developing an app and making a widget with Glance. App size spiked from 2.8MB to 5.3MB from Glance. I'm thinking to use Dynamic Feature/Delivery to reduce the app size issue so user only need to download the widget when they need to. But I got a strange crash even after the module is downloaded. The widge... | android|jetpack|dynamic-delivery|glance | 1 | 2022-09-10T15:15:02.477Z | 2,022 | 9 | 15 | 5 | 74 | 1 | 613 | 58 | 4 | 3 | true | false | false | false | false | false | low |
73,673,002 | How to reduce BottomSheetScaffold height smoothly? | <p>I want to reduce BottomSheet height smoothly. When increasing, it increase its height smoothly, but when decreasing, it decreases not smoothly. (as you can see from the video at the down part) Is there any way to decrease the height of bottom sheet smoothly?</p>
<pre class="lang-kotlin prettyprint-override"><code> ... | I want to reduce BottomSheet height smoothly. When increasing, it increase its height smoothly, but when decreasing, it decreases not smoothly. (as you can see from the video at the down part) Is there any way to decrease the height of bottom sheet smoothly? [CODE] Edit The image is going smaller but the bottom sheet i... | android|kotlin|android-jetpack-compose | 0 | 2022-09-10T15:23:00.100Z | 2,022 | 9 | 15 | 5 | 53 | 0 | 453 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
73,673,007 | onCommitContent() not called when draganddrop the image to Edittext | <p>This code working well on android S-OS. But not working on T-OS
I don't know Why !</p>
<pre><code>EditText editText = new EditText(this) {
@Override
public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
final InputConnection ic = super.onCreateInputConnection(editorInfo);
Ed... | This code working well on android S-OS. But not working on T-OS I don't know Why ! [CODE] This code working well on android S-OS. But not working on T-OS I don't know Why ! | java|android | 0 | 2022-09-10T15:23:36.593Z | 2,022 | 9 | 15 | 5 | 16 | 0 | 172 | 67 | 2 | 1 | true | true | false | false | false | false | zero |
73,673,067 | How can i fix this error: ticker not inizialized | <p>How can i fix error: <strong>kotlin.UninitializedPropertyAccessException: lateinit property ticker has not been initialized</strong></p>
<ul>
<li>I tried to fix it but it doesnt work.</li>
<li>It says to me ticker has not been inizialized.</li>
<li>How can i fix this error, and inizialize the ticker?</li>
<li>Can an... | How can i fix error: kotlin.UninitializedPropertyAccessException: lateinit property ticker has not been initialized I tried to fix it but it doesnt work. It says to me ticker has not been inizialized. How can i fix this error, and inizialize the ticker? Can any body help me? My Kotlin Code for this Activity / Button is... | android|kotlin|game-development|ticker | 0 | 2022-09-10T15:31:33.770Z | 2,022 | 9 | 15 | 5 | 27 | 1 | 347 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
73,673,106 | How to view COM ports on Android device? | <p>I am trying to connect to my Arduino via HC-05 Bluetooth module. I made a simple Unity app that connects to it and works fine on PC. However, I can't connect to the module via Android device. In my opinion, the problem is related with COM ports: ports on PC and Android device are not the similar. So, I need to get C... | I am trying to connect to my Arduino via HC-05 Bluetooth module. I made a simple Unity app that connects to it and works fine on PC. However, I can't connect to the module via Android device. In my opinion, the problem is related with COM ports: ports on PC and Android device are not the similar. So, I need to get COM ... | c#|android|unity3d|bluetooth|arduino-uno | 0 | 2022-09-10T15:38:30.773Z | 2,022 | 9 | 15 | 5 | 33 | 1 | 382 | 40 | 5 | 0 | false | false | false | false | false | false | zero |
73,673,134 | How can we integrate dynamic-feature module in Cordova? | <p>I have a project in android and wanted to integrate the Cordova module using <a href="https://developer.android.com/guide/playcore/feature-delivery/on-demand" rel="nofollow noreferrer">dynamic-feature</a>, I am able to integrate the module in Cordova via a simple library integration, but when I did the setup for dyn... | I have a project in android and wanted to integrate the Cordova module using dynamic-feature , I am able to integrate the module in Cordova via a simple library integration, but when I did the setup for dynamic-delivery it gives me the below error * What went wrong: A problem occurred configuring project ':app'. Unable... | android|cordova|hybrid-mobile-app|dynamic-feature-module|dynamic-feature | 0 | 2022-09-10T15:41:37.140Z | 2,022 | 9 | 15 | 5 | 29 | 0 | 1,971 | 55 | 5 | 0 | false | true | false | false | false | false | zero |
73,673,182 | How can set background image each row GridView android studio | <p>I want to make a picture for each row in gridview,
Thank u so much</p>
<p><strong>ex:</strong></p>
<p><a href="https://i.stack.imgur.com/46JKx.jpg" rel="nofollow noreferrer">this</a></p>
<p><strong>eg:</strong>
I want to make a complete picture for each row, not item</p> | I want to make a picture for each row in gridview, Thank u so much ex: this eg: I want to make a complete picture for each row, not item | java|android | -2 | 2022-09-10T15:49:16.507Z | 2,022 | 9 | 15 | 5 | 28 | 0 | 136 | 61 | 2 | 0 | false | true | false | false | false | true | negative |
73,673,218 | Native Child View does not occupy full height and width of FrameLayout | <p>I am trying to integrate <code>camera-x</code> inside an <code>android fragment</code> in <code>react-native</code></p>
<p>Here is my native code</p>
<pre><code>class CealScanQrView(context: Context): FrameLayout(context) {
init {
val frameLayoutParams = ViewGroup.LayoutParams(
ViewGroup.Layout... | I am trying to integrate camera-x inside an android fragment in react-native Here is my native code [CODE] Instead of Framelayout , I tried using Linearlayout and ConstraintLayout as well but same issue persists on react-native side, I am using it as follows [CODE] This is how my UI looks You can see there is space bet... | android|react-native|kotlin|android-fragments|android-framelayout | 0 | 2022-09-10T15:54:30.803Z | 2,022 | 9 | 15 | 5 | 111 | 2 | 508 | 70 | 5 | 2 | true | false | false | false | false | false | zero |
73,673,237 | LazyColumn not loading in fragments | <p>When a fragment is launched, LazyColumn does not display information, and when switching to another fragment, it first adds elements to the screen (can be duplicated), then switches.</p>
<pre><code>Column () {
LazyColumn(modifier = Modifier.fillMaxSize()) {
items(viewModel.chats) { item -... | When a fragment is launched, LazyColumn does not display information, and when switching to another fragment, it first adds elements to the screen (can be duplicated), then switches. [CODE] | android|kotlin|android-jetpack-compose | 0 | 2022-09-10T15:56:29.647Z | 2,022 | 9 | 15 | 5 | 29 | 0 | 189 | 35 | 3 | 1 | true | true | false | false | false | false | zero |
73,673,297 | How to split API to paid and unpaid users? | <p>I have database full of useful information, which I want to develop an API for using Django rest framework.
This API will be used by mobile app so user and user authentication.
I want the users of this App to pay a subscription fee for the services. What is the best way to go about this using django??</p>
<p>I just ... | I have database full of useful information, which I want to develop an API for using Django rest framework. This API will be used by mobile app so user and user authentication. I want the users of this App to pay a subscription fee for the services. What is the best way to go about this using django?? I just need a dir... | android|django|api|django-rest-framework|authorization | -1 | 2022-09-10T16:04:31.747Z | 2,022 | 9 | 16 | 5 | 45 | 1 | 742 | 42 | 5 | 0 | false | false | false | false | false | true | negative |
73,673,546 | How to use Android browser automation LOCALLY? | <p>does anyone know how I could use SELENIUM or any other form of automation like selenium on Android locally? Which means, without using a server on a PC?</p>
<p>I don't know if, for example, I can use Javascript to run selenium as you can on PC, but on Android.</p>
<p>If anyone knows of any way to do this please help... | does anyone know how I could use SELENIUM or any other form of automation like selenium on Android locally? Which means, without using a server on a PC? I don't know if, for example, I can use Javascript to run selenium as you can on PC, but on Android. If anyone knows of any way to do this please help me out, thank yo... | android|selenium|browser|automation | 0 | 2022-09-10T16:43:44.630Z | 2,022 | 9 | 16 | 5 | 21 | 1 | 321 | 46 | 4 | 0 | false | false | false | false | false | false | zero |
73,673,602 | how to create class of findViewById? | <p>I am a beginner ,<a href="https://i.stack.imgur.com/k8z9T.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/k8z9T.jpg</a>in the android studio whenever I try to use findViewById.It shows an error and they ask me to create its variable but I don't know how to create it . Please tell me, I am stuck here.</p> | I am a beginner , https://i.stack.imgur.com/k8z9T.jpg in the android studio whenever I try to use findViewById.It shows an error and they ask me to create its variable but I don't know how to create it . Please tell me, I am stuck here. | android-studio|kotlin|class|variables|findviewbyid | 1 | 2022-09-10T16:52:25.687Z | 2,022 | 9 | 16 | 5 | 31 | 1 | 236 | 36 | 5 | 0 | false | false | false | false | false | false | low |
73,673,609 | Expo react-native How to read metadata from audio files | <p>I'm working on a music player app and I'll like to get the meta data(e.g title,cover e.t.c) of the audio files at the time of fetching it.</p>
<p>I was initially using <strong>expo-media-library</strong> but it doesn't get the meta data of the audio file.</p>
<p>I found <strong>react-native-get-music-files</strong>... | I'm working on a music player app and I'll like to get the meta data(e.g title,cover e.t.c) of the audio files at the time of fetching it. I was initially using expo-media-library but it doesn't get the meta data of the audio file. I found react-native-get-music-files but the size is too large. I was wondering if there... | javascript|android|react-native|expo | 0 | 2022-09-10T16:53:16.497Z | 2,022 | 9 | 16 | 5 | 25 | 0 | 381 | 55 | 4 | 0 | false | true | false | false | false | false | zero |
73,673,745 | The Flutter Daemon failed to start: VSCode | <p>I am receiving this error each time I open VSCode on Windows 11</p>
<blockquote>
<p>The Flutter Daemon failed to start.</p>
</blockquote>
<p>along with a notice telling me that packages are missing or out of date. I also receive an error when opening Andriod Studio that states:</p>
<blockquote>
<p>Flutter device dae... | I am receiving this error each time I open VSCode on Windows 11 The Flutter Daemon failed to start. along with a notice telling me that packages are missing or out of date. I also receive an error when opening Andriod Studio that states: Flutter device daemon #1 exited (exit code 255), stderr: Checking Dart SDK version... | flutter|android-studio|dart|visual-studio-code | 0 | 2022-09-10T17:14:37.310Z | 2,022 | 9 | 17 | 5 | 33 | 1 | 1,011 | 42 | 4 | 1 | true | false | false | false | false | false | zero |
73,673,769 | Error while building signed apk bundle, no error in debug bundle | <p>I have recently encountered a weird issue while building signed apk or bundle, So the error I face is shown below. It's weird that this issue does not rise while building debug apk or bundle. Please help !
Type com.pollfish.a.a is defined multiple times: C:\Users\dayus\Desktop\gamony_mobile-master\pollfish-googlepla... | I have recently encountered a weird issue while building signed apk or bundle, So the error I face is shown below. It's weird that this issue does not rise while building debug apk or bundle. Please help ! Type com.pollfish.a.a is defined multiple times: C:\Users\dayus\Desktop\gamony_mobile-master\pollfish-googleplay-5... | java|android|kotlin|sdk|aar | 0 | 2022-09-10T17:16:44.553Z | 2,022 | 9 | 17 | 5 | 19 | 0 | 568 | 64 | 5 | 0 | false | true | false | false | false | false | zero |
73,673,784 | How to setBackground image for each row in recyclerview or grid view | <p>I want to make a background for each row like
<a href="https://i.stack.imgur.com/uoJUy.jpg" rel="nofollow noreferrer">This picture</a></p>
<p><strong>ex:</strong>
I know how these classes are created. The problem is just putting a background for each row</p> | I want to make a background for each row like This picture ex: I know how these classes are created. The problem is just putting a background for each row | java|android | -1 | 2022-09-10T17:17:51.153Z | 2,022 | 9 | 17 | 5 | 26 | 0 | 154 | 68 | 2 | 0 | false | true | false | false | false | true | negative |
73,673,793 | React-Native: InteractionsManager not waiting for animations to finish before firing only when useNativeDriver=true | <p>I'm having this issue on React-native 0.70 and 0.65, Android specifically. I can't work out if it's an issue with my setup or a bug in React and I can't find any other posts about it anywhere even though it's a pretty noticeable issue.</p>
<p>When using InteractionManager.runAfterInteractions() to delay tasks until ... | I'm having this issue on React-native 0.70 and 0.65, Android specifically. I can't work out if it's an issue with my setup or a bug in React and I can't find any other posts about it anywhere even though it's a pretty noticeable issue. When using InteractionManager.runAfterInteractions() to delay tasks until an animati... | javascript|android|react-native | 1 | 2022-09-10T17:19:17.263Z | 2,022 | 9 | 17 | 5 | 27 | 0 | 686 | 115 | 3 | 1 | true | true | false | false | false | false | low |
73,673,814 | How to get URL of Images from that are stored in Firebase Storage in specific folder | Androi | Java | <p>I uploaded some pictures <strong>manually</strong> in firebase storage in the specific folder I want to get the URL of all images that are stored in that specific folder.
Is there any way I can get the URL of all images?</p>
<p><strong>Note</strong>: There are many folders in my firebase storage I just wanted to get... | I uploaded some pictures manually in firebase storage in the specific folder I want to get the URL of all images that are stored in that specific folder. Is there any way I can get the URL of all images? Note : There are many folders in my firebase storage I just wanted to get images from Driver1 as the screenshot is a... | android|firebase|google-cloud-platform|firebase-realtime-database|firebase-storage | 0 | 2022-09-10T17:21:21.080Z | 2,022 | 9 | 17 | 5 | 41 | 1 | 382 | 100 | 5 | 0 | false | false | false | false | false | false | zero |
73,673,881 | How to customize app description like font size, font color etc. in google play console in 2022? | <p>I read some articles about How to customize app description like font size etc. They all are telling about html tags but I don't understand how to use html tags in google play console? If you tell me How to customize the app description in google play console step by step with the help of images. It will be great.</... | I read some articles about How to customize app description like font size etc. They all are telling about html tags but I don't understand how to use html tags in google play console? If you tell me How to customize the app description in google play console step by step with the help of images. It will be great. | android|google-developers-console | 0 | 2022-09-10T17:29:05.477Z | 2,022 | 9 | 17 | 5 | 30 | 0 | 315 | 96 | 2 | 0 | false | true | false | false | false | false | zero |
73,673,885 | How I can Delete Record from Firebase? | <p>I want to delete this record ? <a href="https://i.stack.imgur.com/9CzVS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9CzVS.png" alt="enter image description here" /></a></p>
<p><strong>Because I don't know what exactly it is, I want to know what it is... I expect that it is a special key for ev... | I want to delete this record ? Because I don't know what exactly it is, I want to know what it is... I expect that it is a special key for every data I upload it creates it automatically How do I delete and what is this key? [CODE] | java|android|firebase|firebase-realtime-database | 0 | 2022-09-10T17:30:01.300Z | 2,022 | 9 | 17 | 5 | 48 | 2 | 231 | 38 | 4 | 1 | true | false | false | false | false | false | zero |
73,673,951 | CollapsingToolbarLayout not visible when specific fragment is active? | <p>I have only one activity in my project and that is <code>MainActivity</code> and I have implemented a collapsing toolbar layout on my MainActivity's layout:</p>
<p><strong>activity_main.xml:</strong></p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="ht... | I have only one activity in my project and that is MainActivity and I have implemented a collapsing toolbar layout on my MainActivity's layout: activity_main.xml: [CODE] and I wanted the toolbar to be visible only when a few specific fragments are active on the screen and to achieve that functionality, I've implemented... | android|android-studio|kotlin|android-layout|android-fragments | 2 | 2022-09-10T17:39:39.027Z | 2,022 | 9 | 17 | 5 | 55 | 0 | 865 | 69 | 5 | 6 | true | true | false | false | false | false | low |
73,673,970 | BlobServiceClient Android dependency | <p>I am trying to create an Android app that uses Blob storage with Azure to save an profile image, but I couldnt find any dependency regarding it use cases.</p>
<p><strong><a href="https://i.stack.imgur.com/d1aFZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d1aFZ.png" alt="strong text" /></a></st... | I am trying to create an Android app that uses Blob storage with Azure to save an profile image, but I couldnt find any dependency regarding it use cases. So, I am wondering if there is any example to take the dependency from there. | android|azure | 0 | 2022-09-10T17:41:58.633Z | 2,022 | 9 | 17 | 5 | 20 | 0 | 232 | 36 | 2 | 0 | false | true | false | false | false | false | zero |
73,674,061 | Anyone knows how do i export more than one proyect to my Android physical phone? When i export 1 of my 2 different apps I replace everything :( | <p>My 2nd proyect replaces my 1st proyect which has other icon, name, etc. I don't know why. I tried changing "appId" for it's proper name. (By default was "com.example.app in both proyects). So i replaced "example" for each name but it didn't work. :(
I couldn't find any video or documentation... | My 2nd proyect replaces my 1st proyect which has other icon, name, etc. I don't know why. I tried changing "appId" for it's proper name. (By default was "com.example.app in both proyects). So i replaced "example" for each name but it didn't work. :( I couldn't find any video or documentation to... | android|angular|android-studio|ionic-framework|capacitor | 0 | 2022-09-10T17:54:30.770Z | 2,022 | 9 | 17 | 5 | 26 | 1 | 520 | 143 | 5 | 0 | false | false | false | false | false | false | zero |
73,674,170 | I'm not able to build my unity project into apk | <p>I'm not able to build my unity project into apk, whenever i try to build it throw errors</p>
<p><strong>I'm using unity 2020.3.21</strong></p>
<p>I'm using api level 31 because i want to submit the update of my game on playstore and now they changed the api level to 31.</p>
<p><strong>errors</strong></p>
<pre><code>... | I'm not able to build my unity project into apk, whenever i try to build it throw errors I'm using unity 2020.3.21 I'm using api level 31 because i want to submit the update of my game on playstore and now they changed the api level to 31. errors [CODE] The other error [CODE] As i can see in the error it is mentioned t... | c#|android|unity3d|unityscript | 0 | 2022-09-10T18:11:55.973Z | 2,022 | 9 | 18 | 5 | 35 | 1 | 553 | 47 | 4 | 2 | true | false | false | false | false | false | zero |
73,674,186 | App does not run, receiving data from bluetooth, Android Java | <p>I have to receive data from bluetooth (bytes), and when I display it in console, it works fine, as expected. But app does not run, it just stops loading and that's all. That's a case when I use while (true), otherwise it does not work in real time.</p>
<p>Main attention to while loop and</p>
<pre><code>static final ... | I have to receive data from bluetooth (bytes), and when I display it in console, it works fine, as expected. But app does not run, it just stops loading and that's all. That's a case when I use while (true), otherwise it does not work in real time. Main attention to while loop and [CODE] } | java|android|bluetooth | 0 | 2022-09-10T18:14:10.590Z | 2,022 | 9 | 18 | 5 | 18 | 0 | 290 | 61 | 3 | 1 | true | true | false | false | false | false | zero |
73,674,213 | How to change this javascript Code for JSOUP library in Android? | <p>I have written and tested this code in console Window of chrome and it is giving me the desired result. But I want this same code for JSOUP in android. Please tell me how to do it. I tried to do some modification and change it to be used in android, but I did not succeed.</p>
<p>This is the javascript code</p>
<pre>... | I have written and tested this code in console Window of chrome and it is giving me the desired result. But I want this same code for JSOUP in android. Please tell me how to do it. I tried to do some modification and change it to be used in android, but I did not succeed. This is the javascript code [CODE] And this was... | javascript|android|web-scraping|jsoup | 0 | 2022-09-10T18:17:22.830Z | 2,022 | 9 | 18 | 5 | 23 | 1 | 366 | 64 | 4 | 2 | true | false | false | false | false | false | zero |
73,674,283 | can't run git command in safe mode in android studio | <p>There is an error in my android studio when I go to setting -> version control -> git.
in that when I try to test my path then it shows that "can't run git command in safe mode".</p>
<p>I'm new to git and GitHub right now so still don't understand what the problem is.</p>
<p>please help me, thank you... | There is an error in my android studio when I go to setting -> version control -> git. in that when I try to test my path then it shows that "can't run git command in safe mode". I'm new to git and GitHub right now so still don't understand what the problem is. please help me, thank you | android-studio | 0 | 2022-09-10T18:28:08.190Z | 2,022 | 9 | 18 | 5 | 34 | 1 | 297 | 52 | 1 | 0 | false | false | false | false | false | false | zero |
73,674,312 | React Native CLI - How to properly manage the bottom Android navigation bar color? White in light mode / Dark in dark mode? | <p>Here's an image of what I'm referring to, the android emulator is on the left. I can switch my app between light / dark and the components change color on demand but I'm not sure how to approach this bottom navigation bar. Thank you in advance for any tips on this.</p>
<p><a href="https://i.stack.imgur.com/puljV.png... | Here's an image of what I'm referring to, the android emulator is on the left. I can switch my app between light / dark and the components change color on demand but I'm not sure how to approach this bottom navigation bar. Thank you in advance for any tips on this. | android|react-native | 0 | 2022-09-10T18:31:58.133Z | 2,022 | 9 | 18 | 5 | 23 | 1 | 265 | 123 | 2 | 0 | false | false | false | false | false | false | zero |
73,674,341 | Is there a way to find scaled density when display size increased to largest | <p>is there any to find to find largest display scale density? I need to show different layout if it is scaled up more than 170 percent. We are getting scaled density for currently set scaled diaplay only. By using DENSITY_DEVICE_STABLE we are getting scaled density for default scale.</p>
<p><a href="https://i.stack.im... | is there any to find to find largest display scale density? I need to show different layout if it is scaled up more than 170 percent. We are getting scaled density for currently set scaled diaplay only. By using DENSITY_DEVICE_STABLE we are getting scaled density for default scale. Display scale image | android|android-studio|android-layout|accessibility|android-jetpack-compose | 0 | 2022-09-10T18:35:18.093Z | 2,022 | 9 | 18 | 5 | 36 | 1 | 302 | 76 | 5 | 0 | false | false | false | false | false | false | zero |
73,674,346 | Multiple image analyses for same frame with cameraX | <p>I use the cameraX API in Android to analyze multiple frames in a period of 5 up to 60 seconds. There are multiple conditional tasks I want to do with the images depending on what tasks the user selected. These include:</p>
<ol>
<li>scan for barcodes/qr codes (using google mlkit)</li>
<li>scan for text (using google ... | I use the cameraX API in Android to analyze multiple frames in a period of 5 up to 60 seconds. There are multiple conditional tasks I want to do with the images depending on what tasks the user selected. These include: scan for barcodes/qr codes (using google mlkit) scan for text (using google mlkit) custom edge detect... | android|kotlin|opencv|bitmap|barcode-scanner | 0 | 2022-09-10T18:36:45.430Z | 2,022 | 9 | 18 | 5 | 39 | 0 | 2,236 | 51 | 5 | 2 | true | true | false | false | false | false | zero |
73,674,537 | How to refresh PWA icon on Android home screen? | <p>I just updated the icon of my PWA and I want to see how it looks like on Android home screen immediately, without having to wait for days. However, the icon does not want to refresh.</p>
<p>This is what I did in order to refresh the icon on Android home screen (and did <strong>not</strong> work):</p>
<pre><code>-cha... | I just updated the icon of my PWA and I want to see how it looks like on Android home screen immediately, without having to wait for days. However, the icon does not want to refresh. This is what I did in order to refresh the icon on Android home screen (and did not work): [CODE] After doing all this, when installing a... | android|google-chrome|progressive-web-apps|homescreen | 0 | 2022-09-10T19:08:25.490Z | 2,022 | 9 | 19 | 5 | 27 | 0 | 545 | 47 | 4 | 1 | true | true | false | false | false | false | zero |
73,674,721 | Is it must to provide way to request removing firebase data for apps to upload android playstore | <p>I am using Firebase Analytics and Crashlytics in my app, so I have below points to get clarified.</p>
<p>Google has made it mandatory to declare, if any app collects user data. Which includes usages of firebase analytics, crashlytics etc.</p>
<p>My question is if I declare that, my app "collects user data"... | I am using Firebase Analytics and Crashlytics in my app, so I have below points to get clarified. Google has made it mandatory to declare, if any app collects user data. Which includes usages of firebase analytics, crashlytics etc. My question is if I declare that, my app "collects user data", in "Data S... | android|firebase|crashlytics | 0 | 2022-09-10T19:41:40.037Z | 2,022 | 9 | 19 | 5 | 21 | 0 | 444 | 96 | 3 | 0 | false | true | false | false | false | false | zero |
73,674,796 | android studio is not working using ionic capacitor | <p>I am using ionic framework capacitor for android development. When I run the following command on command prompt:
<code>ionic capacitor run android</code>
The android studio is opened. But It is showing the following error:</p>
<p>Migrate Project to Gradle?
This project does not use the Gradle build system. We recom... | I am using ionic framework capacitor for android development. When I run the following command on command prompt: ionic capacitor run android The android studio is opened. But It is showing the following error: Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate t... | android-studio|ionic-framework|capacitor | 0 | 2022-09-10T19:56:20.960Z | 2,022 | 9 | 19 | 5 | 26 | 0 | 687 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
73,674,896 | Android Kiosk Mode - getting started | <p>Here are my requirements:</p>
<ul>
<li><p>Run my Android app on an Android tablet</p>
</li>
<li><p>Full screen</p>
</li>
<li><p>Automatic launch on power up</p>
</li>
<li><p>No back button or any other navigation visible</p>
</li>
<li><p>User cannot quit the app</p>
</li>
</ul>
<p>So these requirement all point to K... | Here are my requirements: Run my Android app on an Android tablet Full screen Automatic launch on power up No back button or any other navigation visible User cannot quit the app So these requirement all point to Kiosk mode. I have searched for programming solutions, but since I am reasonably new to the world of Androi... | android|kiosk-mode | 0 | 2022-09-10T20:13:05.003Z | 2,022 | 9 | 20 | 5 | 28 | 0 | 822 | 36 | 2 | 0 | false | true | false | false | false | false | zero |
73,674,919 | Cannot open file, path = 'Instance of 'Place'' (OS Error: No such file or directory, errno = 2) | <p>hope all are doing well<br />
i am trying to use camera and add picture from it to a list.i can review the image but whe i pressed the floating button to save it i got this error:<br />
Cannot open file, path = 'Instance of 'Place'' (OS Error: No such file or directory, errno = 2)</p>
<p>i used these three packages ... | hope all are doing well i am trying to use camera and add picture from it to a list.i can review the image but whe i pressed the floating button to save it i got this error: Cannot open file, path = 'Instance of 'Place'' (OS Error: No such file or directory, errno = 2) i used these three packages to camera usage: image... | flutter|error-handling|path|operating-system|android-emulator | 0 | 2022-09-10T20:17:01.237Z | 2,022 | 9 | 20 | 5 | 46 | 0 | 510 | 95 | 5 | 4 | true | true | false | false | false | false | zero |
73,675,033 | RTMP Remote Encrypted Stream play in android app | <blockquote>
<p>I am stuck from last 3 days i want to play Rtmps encrypted url like my
url have username and password and try to play in surface view but it
did not play i used RTMP and rtsp client android lib from github but
failed to play.I used following lib</p>
</blockquote>
<p><a href="https://github.com/pedroSG94... | I am stuck from last 3 days i want to play Rtmps encrypted url like my url have username and password and try to play in surface view but it did not play i used RTMP and rtsp client android lib from github but failed to play.I used following lib lib for rtsp and rtmp I used following url for play but failed to play ple... | android|rtmp|rtsp-client|rtmps|nginx-rtmp | 0 | 2022-09-10T20:40:21.463Z | 2,022 | 9 | 20 | 5 | 15 | 0 | 461 | 48 | 5 | 0 | false | true | false | false | false | false | zero |
73,675,227 | Assert that node exists containing text from two child nodes in Jetpack Compose | <p>I have a <code>lazyColumn()</code> in compose with each item in the list containing two text view elements. One item has text elements <code>Foo</code> and <code>Bar</code>.</p>
<p>The compose semantics tree has merged these two texts into the parent node so <code>composeRule.onRoot().printToLog()</code> outputs <co... | I have a lazyColumn() in compose with each item in the list containing two text view elements. One item has text elements Foo and Bar . The compose semantics tree has merged these two texts into the parent node so composeRule.onRoot().printToLog() outputs Text = '[Foo, Bar]' . How can I assert that a node exists with b... | android|android-jetpack-compose | 0 | 2022-09-10T21:20:37.977Z | 2,022 | 9 | 21 | 5 | 24 | 0 | 547 | 79 | 2 | 1 | true | true | false | false | false | false | zero |
73,675,235 | Deploy The YOLOv5 Model With Tensorflow Lite | <p>I want to make an application that guesses the name of the selected food image.I used yolov5. Output is correct on test images in colab.
I'm testing with the same image.
<a href="https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb" rel="nofollow noreferrer">https://colab.research.g... | I want to make an application that guesses the name of the selected food image.I used yolov5. Output is correct on test images in colab. I'm testing with the same image. https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb I created the yolov5s-fp16.lite file from here. https://www.you... | android-studio|image-processing|object-detection|tensorflow-lite|yolo | 1 | 2022-09-10T21:21:21.857Z | 2,022 | 9 | 21 | 5 | 78 | 0 | 618 | 44 | 5 | 3 | true | true | false | false | false | false | low |
73,675,383 | can't get google pay to work with root, what are the requirements for it to work | <p>i have tried everything but it won't work.
i have already fixed safetynet, installed shamiko and excluded everything in google wallet and "gms" and "gms.unstable" for google play services and hided magisk without any success.</p>
<p>info, i have :</p>
<ul>
<li>magisk 25.2</li>
<li>miui 12.5 (andr... | i have tried everything but it won't work. i have already fixed safetynet, installed shamiko and excluded everything in google wallet and "gms" and "gms.unstable" for google play services and hided magisk without any success. info, i have : magisk 25.2 miui 12.5 (android 11) redmi 9t my device is sh... | android|android-pay|google-pay|miui | -1 | 2022-09-10T21:47:50.193Z | 2,022 | 9 | 21 | 5 | 42 | 0 | 394 | 80 | 4 | 0 | false | true | false | false | false | true | negative |
73,675,411 | How to send send images on email using email js (Flutter) (Hive) (EmailJs) | <p>Can anyone show me how to send images by email using EmailJs and Hive?
I stored my images on a Hive, all as Bytes (List). How can I attach those images and send them by email? I'm not using the 'assets folder', all photos were taken by the phone (Android)</p> | Can anyone show me how to send images by email using EmailJs and Hive? I stored my images on a Hive, all as Bytes (List). How can I attach those images and send them by email? I'm not using the 'assets folder', all photos were taken by the phone (Android) | android|flutter|email|email-attachments|flutter-hive | -3 | 2022-09-10T21:54:28.047Z | 2,022 | 9 | 21 | 5 | 42 | 1 | 255 | 74 | 5 | 0 | false | false | false | false | false | true | negative |
73,675,458 | Is it possible to get value of clicked Text using Modifier.clickable? | <p>This is my scenario, I need to get text value of clicked text:</p>
<pre><code>@Composable
fun keyboard(){
val letters: Array<Pair<String, String>> = letterMap.toList().toTypedArray();
val txtModifier = Modifier
.clickable(onClick = { btnTapAction( /* send a letter */ ) })
for(i in 0..... | This is my scenario, I need to get text value of clicked text: [CODE] I have 30 Text's, each containing one cyrillic letter, they act like keyboard buttons, and I want to send clicked letter to function btnTapAction() which handles entered letters. I have looked at documentation and I could not find a way to do it, but... | kotlin|android-jetpack-compose | 0 | 2022-09-10T22:03:16.137Z | 2,022 | 9 | 22 | 5 | 64 | 1 | 343 | 69 | 2 | 1 | true | false | false | false | false | false | zero |
73,675,501 | Failed assertion: line 5139 pos 12: '!_debugLocked': is not true | <p>The code</p>
<pre><code>IconButton(
onPressed: () {
Navigator.pop(context);
},
icon: const Icon(Icons.more_vert))
</code></pre>
<p>This is the error message I got</p>
<pre><code>βββ‘ EXCEPTION CAUGHT BY WIDGETS LIBRARY ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The following assert... | The code [CODE] This is the error message I got [CODE] Even after trying out numerous solutions every time I run the app again the same error message is displayed, and the screen on the app turns red and displays the error message too. I tried the three solutions on https://fluttercorner.com/error-thrown-on-navigator-p... | android|flutter|dart|flutter-navigation | 0 | 2022-09-10T22:13:04.400Z | 2,022 | 9 | 22 | 5 | 35 | 0 | 421 | 64 | 4 | 2 | true | true | false | false | false | false | zero |
73,675,512 | Gradle Failed to resolve : androidx.camera:camera2 | <p>This is my first question on SOF.I have an assignment from school to build an android app that records videos. I have the challenge of getting the camera to work. I followed <a href="https://medium.com/swlh/introduction-to-androids-camerax-with-java-ca384c522c5" rel="nofollow noreferrer">this</a> tutorial, except fo... | This is my first question on SOF.I have an assignment from school to build an android app that records videos. I have the challenge of getting the camera to work. I followed this tutorial, except for the build.gradle file part that I had to use different dependency versions, because gradle was giving me an error about ... | java|android-studio|build.gradle|android-camerax | 1 | 2022-09-10T22:15:41.943Z | 2,022 | 9 | 22 | 5 | 20 | 1 | 833 | 50 | 4 | 1 | true | false | false | false | false | false | low |
73,675,610 | Don't allow to create a image file in external storage in react native app (android) | <p>I am making an application with react native and when I try to create a file in an external storage location I get an error. The error is "never_ask_again", the problem is that it never asks me if I give permissions to the application, it only works in READ_EXTERNAL_STORAGE where it asks me and I give perm... | I am making an application with react native and when I try to create a file in an external storage location I get an error. The error is "never_ask_again", the problem is that it never asks me if I give permissions to the application, it only works in READ_EXTERNAL_STORAGE where it asks me and I give permiss... | android|reactjs|react-native|file | 1 | 2022-09-10T22:34:54.950Z | 2,022 | 9 | 22 | 5 | 15 | 0 | 545 | 84 | 4 | 2 | true | true | false | false | false | false | low |
73,675,650 | Error during block android app in Lock task mode | <p>I would like to just lock my app so no one can get out of it, and I was looking at Lock task mode, simultaneously following this: <a href="https://stackoverflow.com/questions/40960648/android-studio-kiosk-mode-single-purpose-devices">Android Studio, Kiosk mode, Single-Purpose Devices, Lock Task mode</a> -lock-task-m... | I would like to just lock my app so no one can get out of it, and I was looking at Lock task mode, simultaneously following this: Android Studio, Kiosk mode, Single-Purpose Devices, Lock Task mode -lock-task-mode my code: [CODE] my error: [CODE] | java|android|permission-denied|kiosk-mode | 0 | 2022-09-10T22:43:10.867Z | 2,022 | 9 | 22 | 5 | 28 | 0 | 245 | 48 | 4 | 2 | true | true | false | false | false | false | zero |
73,675,734 | One of my activity is crashing on emulator | <pre><code>This is my first question please bear with me.
I am trying to drawing over other app
my code is working fine on Mobile but when i am trying to run this app on emulator my app get crash when i click on button.
actually i am intenting from Main activty with itemclick listner
package com.shahabtech.ytbooste... | [CODE] Sir here is my logcat when i trying to run my android 11 app running smoothly but on lower version of android and also on emulator app got crash when i click on recyclerview item view. i try to changed my layout and comment out all code of pop2 activity then not crashing. actually in my pop2 activty i am inflati... | java|android|emulation | 0 | 2022-09-10T23:02:40.747Z | 2,022 | 9 | 23 | 5 | 32 | 1 | 366 | 42 | 3 | 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.