id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
72,286,800
ACTION_GET_CONTENT. can't select file
<p>After copying the text file created on the PC to Android, try to open the file.</p> <p>However, when I try to open it with ACTION_GET_CONTENT, the file I have already opened is visible on the initial screen, but it cannot be selected, and I have to go to my file folder to open it.</p> <p>Was it originally like that?...
After copying the text file created on the PC to Android, try to open the file. However, when I try to open it with ACTION_GET_CONTENT, the file I have already opened is visible on the initial screen, but it cannot be selected, and I have to go to my file folder to open it. Was it originally like that? AndroidManifest....
android|kotlin
0
2022-05-18T09:46:25.460Z
2,022
5
9
2
28
0
445
37
2
2
true
true
false
false
false
false
zero
72,286,928
setOnTouchListener points to a null
<p>I've been working on this code for a bit and i can't comprehend why it isn't working. I feel like I've declared the button correctly but I guess there still is a problem in my code.</p> <pre><code>flecheDroite = (ImageButton) findViewById(R.id.imageButton); flecheDroite.setOnTouchListener(new View.OnTouchListene...
I've been working on this code for a bit and i can't comprehend why it isn't working. I feel like I've declared the button correctly but I guess there still is a problem in my code. [CODE] Why can't the text &quot;droite&quot; be shown when button is pressed ?
java|android-studio
0
2022-05-18T09:54:03.677Z
2,022
5
9
2
25
1
260
35
2
1
true
false
false
false
false
false
zero
72,286,945
My ViewModel is being recomposed on changing a mutablestate values
<p>LoginScreen() is my composable function and i am trying to use a textfield inside it which takes email data from my viewmodel.Everytime my email values changes, LoginScreen function is recomposed and reinitialises my viewModel which results in no change in my textfield. I am wondering why is this happening and how t...
LoginScreen() is my composable function and i am trying to use a textfield inside it which takes email data from my viewmodel.Everytime my email values changes, LoginScreen function is recomposed and reinitialises my viewModel which results in no change in my textfield. I am wondering why is this happening and how to f...
android|android-jetpack-compose|android-viewmodel
-1
2022-05-18T09:54:48.327Z
2,022
5
9
2
120
1
340
66
3
2
true
false
false
false
false
true
negative
72,286,957
Kotlin flow - emitting value of combined 2 flows only when second flow emits a value
<p>I want to combine two flows in that way: the combined flow emits value only when both flows emitted a value and only in moment when second flow emitted its value. When it occurs, next value is emitted again when both flows emitted new values. My pretty drawing for better understanding the expected result: <a href="h...
I want to combine two flows in that way: the combined flow emits value only when both flows emitted a value and only in moment when second flow emitted its value. When it occurs, next value is emitted again when both flows emitted new values. My pretty drawing for better understanding the expected result: But it may ap...
android|kotlin|kotlin-coroutines|kotlin-flow
0
2022-05-18T09:55:20.633Z
2,022
5
9
2
223
1
345
84
4
0
false
false
false
false
false
false
zero
72,286,959
Creating a Search Interface in a Android with Kotlin
<p>I am having a hard time figuring out the documentation on creating a search Interface. My main activity contains the search widget on the app bar but when I perform a search query it does not launch the Searchable Activity; responsible for displaying the results.</p> <p>Below is my manifest file for the SearchbaleAc...
I am having a hard time figuring out the documentation on creating a search Interface. My main activity contains the search widget on the app bar but when I perform a search query it does not launch the Searchable Activity; responsible for displaying the results. Below is my manifest file for the SearchbaleActivity and...
android|android-activity|android-manifest|searchview
0
2022-05-18T09:55:39.383Z
2,022
5
9
2
59
0
612
52
4
1
true
true
false
false
false
false
zero
72,286,983
Android FirebaseMessaging - getToken fails for some users
<p>I have the following setup in my grade files:</p> <p>project:</p> <pre><code> classpath 'com.google.gms:google-services:4.3.10' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1' </code></pre> <p>app:</p> <pre><code> implementation platform('com.google.firebase:firebase-bom:29.0.0') ...
I have the following setup in my grade files: project: [CODE] app: [CODE] After the users logs in, I'm doing [CODE] which is fine for most users, but for some (not only a few) get errors like FIS_AUTH_ERROR , MISSING_INSTANCEID_SERVICE , SERVICE_NOT_AVAILABLE . I guess (!), MISSING_INSTANCEID_SERVICE is no Google API o...
android|firebase|firebase-cloud-messaging
1
2022-05-18T09:57:00.123Z
2,022
5
9
2
386
2
497
57
3
3
true
false
false
false
false
false
low
72,287,205
Pushy.me: How to unregister from push notification in react native?
<p>I have integrated <a href="https://pushy.me/" rel="nofollow noreferrer">Pushy.me</a> in my react-native app for push notifications, I followed the docs to set things up and everything seems fine.</p> <p>My question is simple, how can I unregister a device token after registering it? In the documentation, it says to ...
I have integrated Pushy.me in my react-native app for push notifications, I followed the docs to set things up and everything seems fine. My question is simple, how can I unregister a device token after registering it? In the documentation, it says to call pushy.unregister(Context ctx) for android, but I can't seem to ...
react-native|push-notification|android-notifications|react-native-push-notification|pushy
0
2022-05-18T10:10:54.693Z
2,022
5
10
2
99
0
781
67
5
0
false
true
false
false
false
false
zero
72,287,280
RecyclerView Adapter not able to update
<p>I am currently very stuck on a simple problem with a <code>RecyclerView</code> Adapter. The adapter takes a list of custom objects and displays them, which works as intended. But when I want to filter the list via a searchbar and apply the changes via <code>adapter.notifyDataSetChanged</code>, nothing happens.</p> <...
I am currently very stuck on a simple problem with a RecyclerView Adapter. The adapter takes a list of custom objects and displays them, which works as intended. But when I want to filter the list via a searchbar and apply the changes via adapter.notifyDataSetChanged , nothing happens. I know this question has already ...
java|android|android-recyclerview|android-adapter
0
2022-05-18T10:15:33.803Z
2,022
5
10
2
58
1
1,613
39
4
5
true
false
false
false
false
false
zero
72,287,583
How to find out if the user is eligible for Free Trial with Billing Library (in other words, he had not availed Free Trial before)?
<p>How to find out if the user is eligible for Free Trial with Billing Library? In other words, how to find out that the user had not availed Free Trial before? I didn't find any API that would help to know this for sure. And this information is not associated with the application account, but is rather related to the ...
How to find out if the user is eligible for Free Trial with Billing Library? In other words, how to find out that the user had not availed Free Trial before? I didn't find any API that would help to know this for sure. And this information is not associated with the application account, but is rather related to the use...
android|google-play|subscription|play-billing-library
10
2022-05-18T10:36:34.667Z
2,022
5
10
2
299
1
898
131
4
0
false
false
false
false
true
false
medium
72,287,607
Create fragment in viewpager adapter when tab selected
<p>There are two fragments inside <code>viewPager</code>. When the main fragment load the location permission code on the second fragment that work. Want that fragmen work when click the second tab. So I think I need to create this fragment when selected second tab. How can detect and do this?</p> <p>OurHospitalFragmen...
There are two fragments inside viewPager . When the main fragment load the location permission code on the second fragment that work. Want that fragmen work when click the second tab. So I think I need to create this fragment when selected second tab. How can detect and do this? OurHospitalFragment.kt [CODE] OurHospita...
android|kotlin|android-fragments|android-viewpager2
0
2022-05-18T10:38:28.833Z
2,022
5
10
2
48
1
350
54
4
2
true
false
false
false
false
false
zero
72,287,747
Android graphview Real Time Sensor Data plotting issue
<p>I am implementing an app with the GraphView library in order to draw sensor data values in real time. However in the output i can see only only one dataDrawPoint and the plot line appears to be a straight line with no curves. On the X-Axis i display the timestamps for each sensor value and on the Y - Axis the value ...
I am implementing an app with the GraphView library in order to draw sensor data values in real time. However in the output i can see only only one dataDrawPoint and the plot line appears to be a straight line with no curves. On the X-Axis i display the timestamps for each sensor value and on the Y - Axis the value of ...
android|plot|sensors
0
2022-05-18T10:46:44.923Z
2,022
5
10
2
38
0
487
54
3
1
true
true
false
false
false
false
zero
72,287,772
Android send email with attachments using only email apps
<p>The <a href="https://developer.android.com/guide/components/intents-common#Email" rel="nofollow noreferrer">official docs</a> show how you can send an email with an attachment:</p> <pre><code>public void composeEmail(String[] addresses, String subject, Uri attachment) { Intent intent = new Intent(Intent.ACTION_S...
The official docs show how you can send an email with an attachment: [CODE] It then says: If you want to ensure that your intent is handled only by an email app (and not other text messaging or social apps), then use the ACTION_SENDTO action and include the &quot;mailto:&quot; data scheme. Like so: [CODE] But actually,...
java|android|android-intent|mailto
1
2022-05-18T10:48:02.980Z
2,022
5
10
2
131
2
736
57
4
2
true
false
false
false
false
false
low
72,287,787
After updating Android SKD to API 31 on release build Gson().fromJson doesn't work
<p>After updating Android project SKD from API 30 to API 31</p> <pre><code>Gson().toJson(...) Gson().fromJson(...) </code></pre> <p>Gson copy doesn't work with minifyEnabled = true</p> <pre><code>Full code of extension inline fun &lt;reified T&gt; T.deepCopy(): T { val json = Gson().toJson(this) return Gson()....
After updating Android project SKD from API 30 to API 31 [CODE] Gson copy doesn't work with minifyEnabled = true [CODE] After deepCopy() object becomes null
android|gson|release|minify
0
2022-05-18T10:49:09.897Z
2,022
5
10
2
69
0
156
82
4
2
true
true
false
false
false
false
zero
72,287,792
Duplicate class found after adding module in android studio
<p>When built differently, both of my projects operate perfectly. Now I'm integrating them into one, and I've included project-1 as a module to project-2.</p> <p>Here is my Project 1 Gradle.</p> <pre><code>apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' apply plugin: 'com.android....
When built differently, both of my projects operate perfectly. Now I'm integrating them into one, and I've included project-1 as a module to project-2. Here is my Project 1 Gradle. [CODE] Project 2 Gradle [CODE] Gradle Error: [CODE] I've read on other threads on stack overflow about using the exclude:group in your buil...
android|maven|kotlin|gradle
3
2022-05-18T10:49:32.717Z
2,022
5
10
2
558
0
734
59
4
3
true
true
false
false
false
false
low
72,287,856
How to change the color of material button when it's pressed on?
<p>I changed the color of materialButton in themes.xml by overlaying the default theme:</p> <pre><code>&lt;style name=&quot;ShapeAppearanceOverlay.Roomie.Button&quot; parent=&quot;Widget.MaterialComponents.Button&quot;&gt; &lt;item name=&quot;cornerFamily&quot;&gt;rounded&lt;/item&gt; &lt;item name=&quo...
I changed the color of materialButton in themes.xml by overlaying the default theme: [CODE] But now i want to set another background color for when it's pressed on. How can I do that?
android|kotlin|button|background|materialbutton
0
2022-05-18T10:53:37.530Z
2,022
5
10
2
180
2
183
64
5
1
true
false
false
false
false
false
zero
72,287,988
Could not find method classpath() for arguments in build.gradle
<p><em>Hello everyone) i am making a small android app about the weather on kotlin. And I have this problem, changing the <strong>classpath</strong> does not give anything.</em></p> <p><strong>Problem</strong></p> <ul> <li>Could not find method classpath() for arguments [android.arch.navigation:navigation-safe-args-gr...
Hello everyone) i am making a small android app about the weather on kotlin. And I have this problem, changing the classpath does not give anything. Problem Could not find method classpath() for arguments [android.arch.navigation:navigation-safe-args-gradle-plugin:2.1.0-alpha02] on object of type org.gradle.api.interna...
java|android|kotlin|gradle
1
2022-05-18T11:03:13.393Z
2,022
5
11
2
829
2
428
63
4
2
true
false
false
false
false
false
low
72,288,007
Check characters for all suggestions in Intellisense?
<p>Android Studio just updated to Chipmunk and now when I type in say '<strong>c</strong>', no suggestions pop up for a property in dart/flutter. Only if I type the first letter '<strong>b</strong>' for <code>backgroundColor</code> do I get the suggestions.</p> <p>I can't find the setting for showing all suggestions us...
Android Studio just updated to Chipmunk and now when I type in say ' c ', no suggestions pop up for a property in dart/flutter. Only if I type the first letter ' b ' for backgroundColor do I get the suggestions. I can't find the setting for showing all suggestions using the letter in any location of the functions. How ...
android-studio|intellij-idea|jetbrains-ide
0
2022-05-18T11:04:52.587Z
2,022
5
11
2
36
0
430
53
3
0
false
true
false
false
false
false
zero
72,288,066
Expo thows error that I need to run pod install
<p>I get an error message when trying to &quot; import Realm from &quot;realm&quot; &quot; The error message:</p> <blockquote> <p>Error: Missing Realm constructor. Did you run &quot;pod install&quot;? Please see <a href="https://realm.io/docs/react-native/latest/#missing-realm-constructor" rel="nofollow noreferrer">htt...
I get an error message when trying to &quot; import Realm from &quot;realm&quot; &quot; The error message: Error: Missing Realm constructor. Did you run &quot;pod install&quot;? Please see https://realm.io/docs/react-native/latest/#missing-realm-constructor for troubleshooting Running on Android 13 SDK (latest from And...
android|mongodb|react-native|expo|realm
2
2022-05-18T11:08:47.690Z
2,022
5
11
2
192
0
784
47
5
0
false
true
false
false
false
false
low
72,288,120
SHA1 and SHA-256 in Google Firebase
<p>To use Google Firebase's feature like Social media Authentication one needs to add the SHA1 keys into the Firebase project. In my case I have two different firebase projects - one for Production and the other for Staging. Since the two builds are signed with different keys, I now have 2 set of SHA1 and SHA256 keys. ...
To use Google Firebase's feature like Social media Authentication one needs to add the SHA1 keys into the Firebase project. In my case I have two different firebase projects - one for Production and the other for Staging. Since the two builds are signed with different keys, I now have 2 set of SHA1 and SHA256 keys. Fir...
android|firebase|firebase-authentication
0
2022-05-18T11:12:39.043Z
2,022
5
11
2
472
1
695
35
3
0
false
false
false
false
false
false
zero
72,288,136
Error: method does not override method from its superclass
<p>Can anyone tell me why I am getting this error: method does not override method from its superclass?</p> <p>Here is my code:</p> <pre><code>public class MainActivity extends AppCompatActivity { Button button; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedIns...
Can anyone tell me why I am getting this error: method does not override method from its superclass? Here is my code: [CODE]
android
0
2022-05-18T11:13:45.780Z
2,022
5
11
2
32
0
124
58
1
1
true
true
false
false
false
false
zero
72,288,142
Whats app doesn't support Webview android
<p>I want to use whats app in Webview android. I've already tried to set user agent but it didn't help.<br /> Is there any way that whats app recognize webview as Chrome browser.</p> <pre><code>String newUA= &quot;&quot;; newUA= &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome...
I want to use whats app in Webview android. I've already tried to set user agent but it didn't help. Is there any way that whats app recognize webview as Chrome browser. [CODE]
android|webview|whatsapp
0
2022-05-18T11:14:19.390Z
2,022
5
11
2
72
1
176
41
3
1
true
false
false
false
false
false
zero
72,288,261
@JavascriptInterface function should return value to javascript after async task is completed
<p>I want to perform async code and return the resulting data after async operation is completed.</p> <pre><code>@JavascriptInterface public void getdata() { // do some async task return data; } </code></pre> <p>Javascript:</p> <pre><code>data = await Android.getData(); </code></pre> <p>I am new to android</p>
I want to perform async code and return the resulting data after async operation is completed. [CODE] Javascript: [CODE] I am new to android
android|webview|android-webview
0
2022-05-18T11:23:02.043Z
2,022
5
11
2
64
0
140
93
3
2
true
true
false
false
false
false
zero
72,288,424
Serializer has not been found for type 'Any'
<p>Im trying to serialize a Json file. But there's many variables with the type 'Any', and the @Serializable annotation is not working with this type. I've tried to do exactly like the answer in this question: <a href="https://stackoverflow.com/questions/65398284/kotlin-serialization-serializer-has-not-been-found-for-t...
Im trying to serialize a Json file. But there's many variables with the type 'Any', and the @Serializable annotation is not working with this type. I've tried to do exactly like the answer in this question: Kotlin serialization: Serializer has not been found for type &#39;UUID&#39; But the problem is that there is no &...
android|json|kotlin|serialization
0
2022-05-18T11:34:03.190Z
2,022
5
11
2
311
1
449
44
4
1
true
false
false
false
false
false
zero
72,288,536
Android autoSize cuts off text in TextView bottom line
<p>I have such textview in my layout:</p> <pre><code>&lt;com.google.android.material.textview.MaterialTextView android:id=&quot;@+id/text_body&quot; style=&quot;@style/TvFontSize&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&qu...
I have such textview in my layout: [CODE] with such style: [CODE] and long text is cut off as can see: full layout is below: [CODE] I can't imagine how to fix it. I tried to use: [CODE] but it didn't help me :(
android
1
2022-05-18T11:41:23.477Z
2,022
5
11
2
30
2
210
54
1
4
true
false
false
false
false
false
low
72,288,648
If condition between two date by hour
<p>I'm makeing an app that want some text color Change when current time between 2 date.</p> <p>like I have schedule with tasks, and from 1:00PM to 5:00PM there is a task I have to do.</p> <p>Want to make a condition if current time between two date change the color of this text.</p> <p>it's not just about color.</p> <...
I'm makeing an app that want some text color Change when current time between 2 date. like I have schedule with tasks, and from 1:00PM to 5:00PM there is a task I have to do. Want to make a condition if current time between two date change the color of this text. it's not just about color. it's a lot of things put it's...
android|android-studio|date|datetime|if-statement
0
2022-05-18T11:49:10.617Z
2,022
5
11
2
80
1
387
37
5
1
true
false
false
false
false
false
zero
72,288,661
How to make concrete implementation of an interface not accessible outside the scope of the library.?
<p>I'm working on developing an Android library. I want to make a few classes inaccessible to the users who implement my library. Mostly the interface realization classes. For instance, I have the following classes in moduleA,</p> <ul> <li>Animal ( interface )</li> <li>Dog ( Realization of Animal interface )</li> <li>A...
I'm working on developing an Android library. I want to make a few classes inaccessible to the users who implement my library. Mostly the interface realization classes. For instance, I have the following classes in moduleA, Animal ( interface ) Dog ( Realization of Animal interface ) AnimalProvider ( Object that helps ...
android|kotlin|aar
2
2022-05-18T11:50:27.527Z
2,022
5
11
2
42
1
911
101
3
1
true
false
false
false
false
false
low
72,288,697
Generated NavDirections classes include applicationIdSuffix in Resources package name
<p>I just updated gradle / android studio and now I get the following issue when I try to run a build type.</p> <p>Unresolved reference: R</p> <p>The problem is that the generated NavDirections subclasses now include the applicationIdSuffix in the import statement for the R file. So instead of com.my.app.R it now gener...
I just updated gradle / android studio and now I get the following issue when I try to run a build type. Unresolved reference: R The problem is that the generated NavDirections subclasses now include the applicationIdSuffix in the import statement for the R file. So instead of com.my.app.R it now generates com.my.app.d...
android|kotlin|gradle|build|resources
0
2022-05-18T11:52:50.053Z
2,022
5
11
2
46
0
603
85
5
0
false
true
false
false
false
false
zero
72,288,763
Android build fails `Could not determine artifacts for com.google.android.exoplayer:exoplayer-hls:2.12.1: Skipped due to earlier error`
<p>I try to build my app with Flutter for Android. Locally, I have no problems. But when I try to build with a CI machine like Codemagic or GitHub Actions, the build fails:</p> <pre><code>FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeProdReleaseAssets'. &gt; Could not...
I try to build my app with Flutter for Android. Locally, I have no problems. But when I try to build with a CI machine like Codemagic or GitHub Actions, the build fails: [CODE] I'm using Flutter 2.10.5 .
android|flutter
0
2022-05-18T11:56:24.363Z
2,022
5
11
2
36
1
203
135
2
1
true
false
false
false
false
false
zero
72,288,842
Hamburger Menu not working in Android WebView
<p>I have a weird problem with Andriod WebView. My website's Humberger menu expands and closes fine in my mobile browser but on my Android WebView app when the menu is clicked it's not working (doesn't expand fully to show menu items).</p> <p>I've already tried the following lines of code from various answers on StackO...
I have a weird problem with Andriod WebView. My website's Humberger menu expands and closes fine in my mobile browser but on my Android WebView app when the menu is clicked it's not working (doesn't expand fully to show menu items). I've already tried the following lines of code from various answers on StackOverFlow: [...
android|css|webview|bootstrap-5
0
2022-05-18T12:02:45.063Z
2,022
5
12
2
107
1
547
45
4
4
true
false
false
false
false
false
zero
72,288,854
File upload to firebase storage fails, java security exception, permission denied
<p>I am trying to write a simple function to register a user to firebase and upload his profile picture to firebase storage.</p> <p>The code I currently have:</p> <pre><code>public static void createNewUser(String email, String username, String password, @Nullable Uri profileImage) { auth.createUserWithEmailAnd...
I am trying to write a simple function to register a user to firebase and upload his profile picture to firebase storage. The code I currently have: [CODE] The Uri is retrieved with the following code:(The Uri is a path to a image in device storage) [CODE] NOTE: the error is thrown from &quot;storageReference.putFile(p...
android|firebase|firebase-storage
0
2022-05-18T12:04:03.610Z
2,022
5
12
2
56
1
715
81
3
3
true
false
false
false
false
false
zero
72,288,906
Android native crash with signal 6 (SIGABRT), code -1 (SI_QUEUE)
<p>I'm getting a lot of native crashes from one of my android apps in production. This crash has increased since the update of AdMob version 19.4.0 to 20.6.0, which has rarely happened before. I also use Facebook and Unity ad mediation. All these crashes are coming from Android 10.0.</p> <p><strong>Stacktrace 1:</stron...
I'm getting a lot of native crashes from one of my android apps in production. This crash has increased since the update of AdMob version 19.4.0 to 20.6.0, which has rarely happened before. I also use Facebook and Unity ad mediation. All these crashes are coming from Android 10.0. Stacktrace 1: [CODE] Another similar c...
android|crash
4
2022-05-18T12:07:43.917Z
2,022
5
12
2
691
0
607
64
2
2
true
true
false
false
false
false
low
72,288,972
Tensorflow Performance Measurement Not Working on Android
<p>I am following the guideline from <a href="https://www.tensorflow.org/lite/performance/measurement#performance_benchmarks_for_well_known_models" rel="nofollow noreferrer">https://www.tensorflow.org/lite/performance/measurement#performance_benchmarks_for_well_known_models</a></p> <p>I am trying to perform the benchma...
I am following the guideline from https://www.tensorflow.org/lite/performance/measurement#performance_benchmarks_for_well_known_models I am trying to perform the benchmark on a pixel 2. I have downloaded android_arm benchmark app that supports tf operation. and is using the Mobilenet_1.0_224(float) provided from the sa...
android|tensorflow|tensorflow-lite
0
2022-05-18T12:13:02.460Z
2,022
5
12
2
99
1
543
57
3
4
true
false
false
false
false
false
zero
72,289,144
Apply Firestore filtering for specific case
<p>I have collection <code>trips</code> with document inside it with fields: <code>latitude</code> and <code>longitude</code> of some place. I need to retrieve the trips from <code>Firestore</code> and take those trips, the distance from its start point to a given point is less than 50m. We can’t apply basic filtering ...
I have collection trips with document inside it with fields: latitude and longitude of some place. I need to retrieve the trips from Firestore and take those trips, the distance from its start point to a given point is less than 50m. We can’t apply basic filtering here like GreaterThan or LessThan methods. I guess we n...
java|android|google-cloud-firestore|firebaseui
0
2022-05-18T12:25:18.103Z
2,022
5
12
2
22
0
748
43
4
1
true
true
false
false
false
false
zero
72,289,150
android billing 3 to 5 - PurchasesResult, queryPurchases, getPurchasesList, getSku
<p>I'd like to use android billing version 5. The problem is that I was using version 3 and some things are now deprecated.</p> <p>I had this but PurchasesResult, queryPurchases and getPurchasesList doesn't exist anymore:</p> <pre><code>@Override public void onBillingSetupFinished(@NonNull BillingResult bil...
I'd like to use android billing version 5. The problem is that I was using version 3 and some things are now deprecated. I had this but PurchasesResult, queryPurchases and getPurchasesList doesn't exist anymore: [CODE] How can I make it work on version 5? Also cannot resolve getSku(): [CODE] Thanks
android|android-billing
2
2022-05-18T12:25:50.290Z
2,022
5
12
2
239
0
299
82
2
2
true
true
false
false
false
false
low
72,289,214
List view is not loading records correctly from some point
<p>I have an scrollable list to which I am adding some records dynamically. It works very simple, I add records to ArrayList, than pass it to adapter. The problem is when I am scrolling, 3 first records always get loaded, than during scrolling first few records also gets loaded. But later i keep getting some random pre...
I have an scrollable list to which I am adding some records dynamically. It works very simple, I add records to ArrayList, than pass it to adapter. The problem is when I am scrolling, 3 first records always get loaded, than during scrolling first few records also gets loaded. But later i keep getting some random previo...
java|android|android-listview|android-scrollable-tabs
0
2022-05-18T12:30:16.920Z
2,022
5
12
2
26
2
652
58
4
4
true
false
false
false
false
false
zero
72,289,233
How to I get data from blog into android?
<p>I have a blog link (<a href="https://truecaller.blog/2018/01/22/life-as-an-android-engineer/" rel="nofollow noreferrer">https://truecaller.blog/2018/01/22/life-as-an-android-engineer/</a>) I need to fetch the text from this blog and show some parts of it on the android screen. For eg:</p> <p>1:Find the 10th characte...
I have a blog link ( https://truecaller.blog/2018/01/22/life-as-an-android-engineer/ ) I need to fetch the text from this blog and show some parts of it on the android screen. For eg: 1:Find the 10th character and display it on the screen 2:Find every 10th character (i.e. 10th, 20th, 30th, etc.) and display the array o...
android|kotlin|webview|logic|blogs
-2
2022-05-18T12:31:22.577Z
2,022
5
12
2
36
1
332
41
5
0
false
false
false
false
false
true
negative
72,289,254
Displayed | ActivityTaskManager not showing specific Activity in logcat
<p>I have 3 activities. ActivityA, ActivityB &amp; ActivityC.</p> <p>From ActivityA button click I am opening ActivityB. On ActivityB onCreate ActivityC is opening.</p> <p>When I type Displayed in Logcat ideally ActivityA, ActivityB &amp; ActivityC all should show on clicking button on ActivityA. However ActivityA &amp...
I have 3 activities. ActivityA, ActivityB & ActivityC. From ActivityA button click I am opening ActivityB. On ActivityB onCreate ActivityC is opening. When I type Displayed in Logcat ideally ActivityA, ActivityB & ActivityC all should show on clicking button on ActivityA. However ActivityA & ActivityC is only getting d...
android|android-activity
0
2022-05-18T12:32:34.993Z
2,022
5
12
2
69
0
358
71
2
1
true
true
false
false
false
false
zero
72,289,281
I'm new to flutter and I always get error when I tried to run my first project on my physical device
<p>This is the error message I get. Exception in thread &quot;main&quot; java.net.UnknownHostException: services.gradle.org</p>
This is the error message I get. Exception in thread &quot;main&quot; java.net.UnknownHostException: services.gradle.org
flutter|android-studio
-1
2022-05-18T12:34:55.027Z
2,022
5
12
2
56
1
120
100
2
0
false
false
false
false
false
true
negative
72,289,286
Center Text by using middle of character as baseline
<p>Is it possible to update the baseline in a Compose Text component to center vertically with its pivot point as the center of the Character instead of the bottom. Usecase is for a Keyboard, each key should be Centered in its own box, but some characters look off centered</p> <p>'b' is centered correctly but 'c' is no...
Is it possible to update the baseline in a Compose Text component to center vertically with its pivot point as the center of the Character instead of the bottom. Usecase is for a Keyboard, each key should be Centered in its own box, but some characters look off centered 'b' is centered correctly but 'c' is not, looks o...
android|text|android-jetpack-compose
1
2022-05-18T12:35:09.413Z
2,022
5
12
2
47
1
339
52
3
0
false
false
false
false
false
false
low
72,289,296
Merge two different data class lists in to the the third one Kotlin
<p>I want to add additional field to my new data class from the old one which has an extra field of balance value. I have created data class list with the ID and the Values (balance), which I want to merge first data class list with the second to make 3rd list - similarly like union in sql.</p> <p><strong>first data cl...
I want to add additional field to my new data class from the old one which has an extra field of balance value. I have created data class list with the ID and the Values (balance), which I want to merge first data class list with the second to make 3rd list - similarly like union in sql. first data class [CODE] second ...
android|kotlin
1
2022-05-18T12:35:33.470Z
2,022
5
12
2
132
1
394
67
2
3
true
false
false
false
false
false
low
72,289,398
ClassCastException: android.org.conscrypt.OpenSSLRSAPrivateKey cannot be cast to com.android.org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier
<pre><code> String iicInput = &quot;&quot;; iicInput += issuerNuis; iicInput += &quot;|&quot; + dateTimeCreated; iicInput += &quot;|&quot; + invoiceNumber; iicInput += &quot;|&quot; + busiUnitCode; iicInput += &quot;|&quot; + tcrCode; iicInput += &quot;|&quot; + ...
[CODE] In Android 11 Line: keyStore.load(fileInputStream, password.toCharArray()); throws java.lang.ClassCastException: com.android.org.conscrypt.OpenSSLRSAPrivateKey cannot be cast to com.android.org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier Whats the error and solution?
java|android|certificate|keystore|android-11
0
2022-05-18T12:41:15.117Z
2,022
5
12
2
86
0
284
150
5
1
true
true
false
false
false
false
zero
72,289,427
How to Set the name, email, and profile to respective field in Kotlin | Android
<p>Because of this two line my app is getting terminated</p> <pre><code> sName = findViewById(R.id.user_name) sName.text = name </code></pre> <p>the complete code</p> <pre><code>//Write your code here mAuth = FirebaseAuth.getInstance() //display profile information such as profile_image, name, email acc...
Because of this two line my app is getting terminated [CODE] the complete code [CODE] What can be the solution for this
android|firebase|kotlin|authentication
0
2022-05-18T12:43:18.110Z
2,022
5
12
2
53
0
119
79
4
2
true
true
false
false
false
false
zero
72,289,500
Passing (new Intent(Intent.ACTION_SENDTO)).setData(Uri.parse("mailto:") to intent.setSelector() shows own app in selector list
<p>Based on <a href="https://stackoverflow.com/a/42856167/4070848">this post</a>, I am opening an email client to send multiple attachments with the following code:</p> <pre><code>Intent emailSelectorIntent = new Intent(Intent.ACTION_SENDTO); emailSelectorIntent.setData(Uri.parse(&quot;mailto:&quot;)); Intent intent =...
Based on this post , I am opening an email client to send multiple attachments with the following code: [CODE] Note that, as taught in the linked post above, I need two Intents to make it work for sending attachments (and limiting the selector to only email clients)... emailSelectorIntent and intent , with the former b...
android
1
2022-05-18T12:47:43.493Z
2,022
5
12
2
159
2
1,079
126
1
2
true
false
false
false
false
false
low
72,289,997
How to set Xamarin Android ForegroundColorSpan.ForegroundColor Property at runtime?
<p>The Xamarin Android ForegroundColorSpan.ForegroundColor Property is readonly.</p> <p>How can we then set this at runtime if we want to dynamically change the color of a span?</p> <p><strong>UPDATED</strong></p> <p>To provide more information, I'm trying to recreate the example given in Android documentation. The bel...
The Xamarin Android ForegroundColorSpan.ForegroundColor Property is readonly. How can we then set this at runtime if we want to dynamically change the color of a span? UPDATED To provide more information, I'm trying to recreate the example given in Android documentation. The below code is in Java, but due to the read o...
android|xamarin|textview|spannable
1
2022-05-18T13:20:51.767Z
2,022
5
13
2
58
0
483
83
4
1
true
true
false
false
false
false
low
72,290,000
After setJavaScriptEnabled(true), webview showing shadow
<p>After loading the complete page shadow appears on webview. After disabling javascript shadow disappears but my web page is not as expected. Here is my code</p> <pre><code>WebViewClient webViewClient = new myWebClient(progressBar); webView.setWebViewClient(webViewClient); WebSettings settings = webView.getSet...
After loading the complete page shadow appears on webview. After disabling javascript shadow disappears but my web page is not as expected. Here is my code [CODE]
android|android-layout|webview|background-color
0
2022-05-18T13:21:04.113Z
2,022
5
13
2
17
0
162
56
4
1
true
true
false
false
false
false
zero
72,290,003
Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. with an unknown URL
<p>I am trying to create and run an empty flutter project. On running for iOS, everything seems fine. The app runs but for android, I am getting the error below</p> <pre><code>FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. &gt; Could not resolve all ...
I am trying to create and run an empty flutter project. On running for iOS, everything seems fine. The app runs but for android, I am getting the error below [CODE] The resolution for these kind of issue is to redirect to https or setting allowInsecureprotocols true. But much to my surprise, the <http://url/to/a/random...
android|flutter|gradle|android-gradle-plugin
0
2022-05-18T13:21:15.507Z
2,022
5
13
2
146
0
495
102
4
1
true
true
false
false
false
false
zero
72,290,030
Flutter -- java.lang.RuntimeException: at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3 (AsyncQueue.java)
<p><strong>Problem:</strong></p> <p>This is my output:</p> <pre><code>java.lang.RuntimeException: at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3 (AsyncQueue.java) at com.google.firebase.firestore.util.-$$Lambda$AsyncQueue$jx84dqgUsF4ojecSMurRqFLFD1Y.run (-.java) at android.os.Handler.handleCallb...
Problem: This is my output: [CODE] If I want to open the APK: the app opens perfectly the screen is black the app goes in the background Notes: If I run flutter run --release the app opens perfectly but it also shows an error: [CODE] If I run: flutter run it works perfectly I already tried: upgrade the packages install...
android|flutter|dart|background|release
2
2022-05-18T13:22:45.417Z
2,022
5
13
2
157
4
424
120
5
2
true
false
false
false
false
false
low
72,290,049
Android - Apply two different textappearance to a AppCompatTextView with SpannableString - fontFamily not working below api level 27
<p>I am trying to create a text view with two texts which has different text appearance defined as styles in styles.xml.. i am using Spannables to do this..</p> <p>My <code>styles.xml</code></p> <pre><code>&lt;style name=&quot;myTextStyle&quot; parent=&quot;android:Widget.TextView&quot;&gt; &lt;item name=&quot;andr...
I am trying to create a text view with two texts which has different text appearance defined as styles in styles.xml.. i am using Spannables to do this.. My styles.xml [CODE] and I am using this style in my custom view where I have a textview and trying to create two spannable string and apply each spannable string wit...
android
0
2022-05-18T13:23:50.293Z
2,022
5
13
2
9
0
618
132
1
2
true
true
false
false
false
false
zero
72,290,102
razor pay is stuck when using with webview in xamarin android
<p>I am having a website with razor pay integration and its working fine with browsers. Now I am loading the same website in a webview in xamarin android, but unfortunately its stuck on razor pay payment page. I searched and tried different methods but didn't got succeed. <a href="https://i.stack.imgur.com/owta2.jpg" r...
I am having a website with razor pay integration and its working fine with browsers. Now I am loading the same website in a webview in xamarin android, but unfortunately its stuck on razor pay payment page. I searched and tried different methods but didn't got succeed. [CODE] this is the code I am using. Thanks.
android|webview|xamarin.android|razorpay
0
2022-05-18T13:27:01.957Z
2,022
5
13
2
61
1
313
61
4
1
true
false
false
false
false
false
zero
72,290,302
How do i use findViewById in a fragment instead of an activity?
<p>So I'm building this calculator and I used activities but now I have to use fragments instead. I had these buttons implemented but now that I've moved them in a fragment I cant use findViewById. How can I assign the id to my variables?<a href="https://i.stack.imgur.com/CdFY5.png" rel="nofollow noreferrer"><img src="...
So I'm building this calculator and I used activities but now I have to use fragments instead. I had these buttons implemented but now that I've moved them in a fragment I cant use findViewById. How can I assign the id to my variables?
android|kotlin|android-fragments|findviewbyid
0
2022-05-18T13:40:05.610Z
2,022
5
13
2
48
2
235
63
4
0
false
false
false
false
false
false
zero
72,290,377
How to keep a coroutine running after a screen (Activity/Fragment) is closed in android?
<p><code>Activity</code> class:</p> <pre><code>class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val vm = getViewModel&lt;MyViewModel&gt;() vm.invoke() } } inline fun &lt;reified T : ViewModel&gt; Fra...
Activity class: [CODE] The code in my ViewModel class looks like the following: [CODE] Repository: [CODE] Function from a library that can't be modified: [CODE] When Activity / Fragment is closed before onSuccess() is executed the log [CODE] isn't printed in the Logcat. In some situations I need to execute onSuccess() ...
android|kotlin|kotlin-coroutines|android-viewmodel|coroutinescope
0
2022-05-18T13:45:10.263Z
2,022
5
13
2
437
1
459
88
5
5
true
false
false
false
false
false
zero
72,290,464
How to track BluetoothAdapter state changes dynamically in Jetpack Compose?
<p>In my app, I would like to know if a user enables/disables Bluetooth using the status bar and display a relevant piece of UI. For that, I think that I need to keep track of the current <code>BluetoothAdapter.isEnabled</code> status in my <code>@Composable</code> functions. This is what I have:</p> <pre class="lang-k...
In my app, I would like to know if a user enables/disables Bluetooth using the status bar and display a relevant piece of UI. For that, I think that I need to keep track of the current BluetoothAdapter.isEnabled status in my @Composable functions. This is what I have: [CODE] When the app is launched, I can get the corr...
android|android-jetpack-compose|android-bluetooth
0
2022-05-18T13:50:27.133Z
2,022
5
13
2
257
1
588
75
3
1
true
false
false
false
false
false
zero
72,290,514
Why does the App stop working on activity change?
<p>first question here by a Kotlin and AndroidStudio noob. I made an app and want to go from one activity to another. I use buttons to navigate from the MainScreen to the 2 different screens. In Main I have this:</p> <pre><code>val firstBTN: Button = findViewById (R.id.firstBTN) firstBTN.setOnClickListener { ...
first question here by a Kotlin and AndroidStudio noob. I made an app and want to go from one activity to another. I use buttons to navigate from the MainScreen to the 2 different screens. In Main I have this: [CODE] collection is a MutableListOf objects called Edibles (String, Double) that I want to give to the next a...
android-studio|kotlin
0
2022-05-18T13:53:43.573Z
2,022
5
13
2
34
1
684
49
2
2
true
false
false
false
false
false
zero
72,290,545
Firebase In-App-Messaging wont show in campaign, but also work in test device
<p>I am using firebase in-ap-messaging with analytics, and my campaign wont show if i publish, but also work in test device with test campaign. in build.gradle;</p> <pre><code>implementation platform('com.google.firebase:firebase-bom:30.0.1') implementation 'com.google.firebase:firebase-inappmessaging-display-ktx' impl...
I am using firebase in-ap-messaging with analytics, and my campaign wont show if i publish, but also work in test device with test campaign. in build.gradle; [CODE] with that analytics event fragment OnCreate() Method [CODE]
android|firebase|kotlin|firebase-analytics|firebase-in-app-messaging
1
2022-05-18T13:55:48.210Z
2,022
5
13
2
181
1
224
77
5
2
true
false
false
false
false
false
low
72,290,611
DropdownMenu in Compose opens in every Morevert icon in LazyColum
<p>I face a problem with <code>DropdownMenu</code> in compose. The problem is when I click on the icon to show the menu, it shows in each morevert icon in the <code>LazyColum</code> not only in the icon that is clicked as illustrated in the following image:</p> <p><a href="https://i.stack.imgur.com/9nvHm.png" rel="nofo...
I face a problem with DropdownMenu in compose. The problem is when I click on the icon to show the menu, it shows in each morevert icon in the LazyColum not only in the icon that is clicked as illustrated in the following image: Code Screenshot: [CODE]
kotlin|android-jetpack-compose
1
2022-05-18T13:59:58.010Z
2,022
5
13
2
59
2
252
65
2
1
true
false
false
false
false
false
low
72,290,664
Even using annotate @pragma('vm:entry-point') code does not work in release mode
<p>I got an issue in the release mode APK. I am implementing some code in the serviceMain function. It works fine in debug mode, but when I am building apk as release mode. The code is not working.</p> <p>What I am trying to do is, I'm implementing a function where I need to clean previously scheduled notification from...
I got an issue in the release mode APK. I am implementing some code in the serviceMain function. It works fine in debug mode, but when I am building apk as release mode. The code is not working. What I am trying to do is, I'm implementing a function where I need to clean previously scheduled notification from notificat...
android|flutter|foreground-service|flutter-local-notification|foregroundnotification
1
2022-05-18T14:03:35.760Z
2,022
5
14
2
137
0
800
80
5
1
true
true
false
false
false
false
low
72,291,052
How to make embedded javascript within IOS and android to console.error to the outside world
<p>Currently, we have a react web app (say it is a form), when it is running on web browser, if there is any error, console.error will fire and we can see that in browser's console log and figure out what is the problem.</p> <p>The app is working fine and no console.error firing.</p> <p>Now the app is embedded into web...
Currently, we have a react web app (say it is a form), when it is running on web browser, if there is any error, console.error will fire and we can see that in browser's console log and figure out what is the problem. The app is working fine and no console.error firing. Now the app is embedded into webview of IOS and a...
android|ios|reactjs
0
2022-05-18T14:27:07.233Z
2,022
5
14
2
41
0
782
92
3
0
false
true
false
false
false
false
zero
72,291,135
How to open Wireless Debugging submenu in Android programmatically?
<p>I am trying to build a shortcut to the Wireless Debugging screen and so far I have come to opening only up to the <strong>Developer Options</strong> submenu.</p> <p>How do I open the <strong>Wireless Debugging</strong> screen from the code? Refer the screenshot for the screen I am mentioning.<a href="https://i.stack...
I am trying to build a shortcut to the Wireless Debugging screen and so far I have come to opening only up to the Developer Options submenu. How do I open the Wireless Debugging screen from the code? Refer the screenshot for the screen I am mentioning.
android|android-wifi-debugging
1
2022-05-18T14:32:08.050Z
2,022
5
14
2
51
0
252
67
2
0
false
true
false
false
false
false
low
72,291,262
How to Access existing realmDB of clientApp in KotlinMultiPlatform Module
<p>I'm trying to build common data parsing module in KMM where I need to save the data in the same realm DB which is already present in the client's Android App or iOS app? I would like to know if this is feasible or can we access this in the client and KMM Module both?</p>
I'm trying to build common data parsing module in KMM where I need to save the data in the same realm DB which is already present in the client's Android App or iOS app? I would like to know if this is feasible or can we access this in the client and KMM Module both?
android|ios|kotlin|kotlin-multiplatform|kotlin-multiplatform-mobile
0
2022-05-18T14:40:43.203Z
2,022
5
14
2
37
1
267
73
5
0
false
false
false
false
false
false
zero
72,291,294
Why is resolveList for VoiceInteractionService.SERVICE_INTERFACE on Android always empty
<p>Im investigating the use of slices in my android apps shortcuts</p> <p>the google docs have this snippet of code to grant permission to slices</p> <pre><code>public class MyApplication extends Application { private static final String SLICE_AUTHORITY = &quot;...&quot;; @Override public void onCreate() { ...
Im investigating the use of slices in my android apps shortcuts the google docs have this snippet of code to grant permission to slices [CODE] when i execute the above code within my application the following line always returns an empty list [CODE] what is my mistake? if this list is empty no permissions are granted
android|actions-on-google|android-slices
0
2022-05-18T14:42:15.523Z
2,022
5
14
2
15
0
318
88
3
2
true
true
false
false
false
false
zero
72,291,317
Xamarin.Android I have installed API version 28 but the project is not building
<p><a href="https://i.stack.imgur.com/Fj2wl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fj2wl.png" alt="enter image description here" /></a></p> <p>How to fix it?</p> <p>In general, my task is to write a function that connects to a Wifi point. It returns True if the password is correct and False ...
How to fix it? In general, my task is to write a function that connects to a Wifi point. It returns True if the password is correct and False otherwise. I had Api version 31 by default, but my code did not work and I decided to put 28, since I have Android 9 on my phone. [CODE]
c#|android|xamarin
0
2022-05-18T14:43:21.023Z
2,022
5
14
2
23
1
278
79
3
1
true
false
false
false
false
false
zero
72,291,327
Compose LazyColumn laggy while scrolling
<p>Jetpack Compose version: '1.1.0' and Jetpack Compose component used: androidx.compose.* (base components_ Android Studio Build: 2021.2.1 Kotlin version:1.6.10</p> <p>I have simple code inside activity. When i start App and start scroll with speed, i see scrolling lags :( What is wrong with this code?</p> <pre><code...
Jetpack Compose version: '1.1.0' and Jetpack Compose component used: androidx.compose.* (base components_ Android Studio Build: 2021.2.1 Kotlin version:1.6.10 I have simple code inside activity. When i start App and start scroll with speed, i see scrolling lags :( What is wrong with this code? [CODE]
android|android-jetpack-compose|lazycolumn
1
2022-05-18T14:43:58.390Z
2,022
5
14
2
945
1
301
40
3
1
true
false
false
false
false
false
low
72,291,350
React Native WebView StackOverflowExecption on Android
<p><strong>CODE TO REPRODUCE</strong></p> <pre><code>import React from &quot;react&quot;; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import { View, TouchableOpacity, Text } from &quot;react-native&quot;; // import EventScreen from &quot;../screens/EventScreen&quot;; import BottomTab fr...
CODE TO REPRODUCE [CODE] The problem When I navigate back from Event to Home on Android the entire app crashes. The error is: com.facebook.react.uimanager.IllegalViewOperationException: StackOverflowException I tried to run this on the emulator and on a real phone LOG [CODE]
android|reactjs|react-native|webview
0
2022-05-18T14:45:20.953Z
2,022
5
14
2
31
0
275
54
4
2
true
true
false
false
false
false
zero
72,291,404
From completable to observable RxJava
<p>I have the method which return completable</p> <pre><code>interface MyClass{ fun getSomething(): Completable } </code></pre> <p>I would like to map it to <code>Observable.just(true)</code> if it is complete or <code>Observable.just(false)</code> if it is not complete/error.</p> <p>something like this (pseudo code)...
I have the method which return completable [CODE] I would like to map it to Observable.just(true) if it is complete or Observable.just(false) if it is not complete/error. something like this (pseudo code) [CODE] Is there something like my made up method doIf ? I was trying to achieve it using Observable.fromcallable{} ...
java|android|kotlin|rx-java2
0
2022-05-18T14:49:51.417Z
2,022
5
14
2
44
1
429
37
4
2
true
false
false
false
false
false
zero
72,291,442
Android Out of memory error with newNonMovableArray in loading Drawable
<p>I've got a strange (for me) &quot;Out of memory&quot; error in my app.:</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main Process: de.fhkiel.socialrobotcms, PID: 5029 java.lang.OutOfMemoryError: Failed to allocate a 136887708 byte allocation with 3292628 free bytes and 123MB until OOM at dalvik.system.VMRun...
I've got a strange (for me) &quot;Out of memory&quot; error in my app.: [CODE] here the log ends. For me the errors semms to happen, if the system loads a Drwable resource. But besides a 160kb big png, if have only vector assets. Even this error only happens on a real device, not in the emulator with the same specs. Al...
android
0
2022-05-18T14:52:13.890Z
2,022
5
14
2
31
1
624
71
1
2
true
false
false
false
false
false
zero
72,291,462
dart - Flutter - AudioPlayer: open failed: ENOENT (No such file or directory)
<p>I've tried to play an audio file with AudioPlayer. In <code>pubspec.yaml</code> I set the link for audio files as <code>assets/audiofiles/</code>. The url link for my audio file, for example is <code>assets/audiofiles/sample.mp3</code> My code for creating the module for playing audio is as follow:</p> <pre><code>cl...
I've tried to play an audio file with AudioPlayer. In pubspec.yaml I set the link for audio files as assets/audiofiles/ . The url link for my audio file, for example is assets/audiofiles/sample.mp3 My code for creating the module for playing audio is as follow: [CODE] I have tested it on web-server by flutter run -d we...
android|flutter|dart
0
2022-05-18T14:53:48.170Z
2,022
5
14
2
125
0
592
77
3
1
true
true
false
false
false
false
zero
72,291,539
Flutter Stack widget always shows the PlatformViewLink [Android widget] at the top
<p>I have flutter screen, I am using a hosting android widget using PlatformViewLink for video player widget.</p> <p>We designed a player widget with combination 2 widgets, 1st one is video widget and 2nd one is options widget. We used Stack to display options widget on top of player widget.</p> <p>Our code similar to ...
I have flutter screen, I am using a hosting android widget using PlatformViewLink for video player widget. We designed a player widget with combination 2 widgets, 1st one is video widget and 2nd one is options widget. We used Stack to display options widget on top of player widget. Our code similar to the below. [CODE]...
flutter|flutter-layout|flutter-android
2
2022-05-18T14:58:55.727Z
2,022
5
14
2
228
0
596
82
3
1
true
true
false
false
false
false
low
72,291,599
Local server in Android studio
<p>I need to make a local webserver. I´m using this example in git: <a href="https://github.com/Foso/JKAndroidWebserver" rel="nofollow noreferrer">https://github.com/Foso/JKAndroidWebserver</a></p> <p>I put all file in folder <a href="https://i.stack.imgur.com/zDkCE.png" rel="nofollow noreferrer">assets folder</a>. I´m...
I need to make a local webserver. I´m using this example in git: https://github.com/Foso/JKAndroidWebserver I put all file in folder assets folder . I´m executing in two ways: First: in a webview to app and Second: in a localhost In the webview the webpage load the css and images no problem but on localhost it cannot l...
java|html|android-studio
0
2022-05-18T15:02:09.500Z
2,022
5
15
2
31
0
511
30
3
0
false
true
false
false
false
false
zero
72,291,729
MapBox Navigation camera angles depending on the guidance
<p>I would like to know if there is a way to integrate different camera angles + zoom depending on the guidance (ex: Highway=40° / National=30° / Departmental=20° / city=10°) and if it is integrated by default in the MapBox sdk and thanks</p>
I would like to know if there is a way to integrate different camera angles + zoom depending on the guidance (ex: Highway=40° / National=30° / Departmental=20° / city=10°) and if it is integrated by default in the MapBox sdk and thanks
android|navigation|mapbox
-1
2022-05-18T15:10:58.410Z
2,022
5
15
2
24
1
235
57
3
0
false
false
false
false
false
true
negative
72,291,845
Android WebView App give permission on Http camera access
<p>I have a website that runs in HTTP. It also has a QR Scanner that accesses the camera. On the browser, I just need to enable</p> <pre><code> &lt;chrome://flags/#unsafely-treat-insecure-origin-as-secure&gt; </code></pre> <p>to access the camera. Is there a way in Android studio webView to enable this?</p>
I have a website that runs in HTTP. It also has a QR Scanner that accesses the camera. On the browser, I just need to enable [CODE] to access the camera. Is there a way in Android studio webView to enable this?
android|http|webview|qr-code
0
2022-05-18T15:19:00.350Z
2,022
5
15
2
154
0
210
57
4
1
true
true
false
false
false
false
zero
72,291,872
Observe callback is not being triggered with Kotlin coroutines Flow and LiveData?
<p>I'm new to Android development and trying to understand Coroutines and <code>LiveData</code> from various example projects. I have currently setup a function to call my api when the user has input a username and password. However after 1 button press, the app seems to jam and I can't make another api call as if its ...
I'm new to Android development and trying to understand Coroutines and LiveData from various example projects. I have currently setup a function to call my api when the user has input a username and password. However after 1 button press, the app seems to jam and I can't make another api call as if its stuck on a pendi...
android|kotlin|kotlin-coroutines|android-livedata|kotlin-flow
0
2022-05-18T15:21:17.920Z
2,022
5
15
2
244
1
500
81
5
4
true
false
false
false
false
false
zero
72,291,876
Failed build React Native app:mergeDexRelease
<p>Debug version is compiling just fine, however release fails on task app:mergeDexRelease.</p> <ol> <li>I tried so far excluding group in gradle, but without success.</li> <li>I checked also this <a href="https://stackoverflow.com/questions/62279758/failed-to-build-a-react-native-signed-release/62302274#62302274">Fail...
Debug version is compiling just fine, however release fails on task app:mergeDexRelease. I tried so far excluding group in gradle, but without success. I checked also this Failed to build a React Native signed release but there is no direct answer to how to solve the problem. I cleaned gradle cache, build folder, remov...
android|react-native|gradle
0
2022-05-18T15:21:37.820Z
2,022
5
15
2
154
2
526
45
3
1
true
false
false
false
false
false
zero
72,291,891
Problems with uploading to github
<p>When trying to make a push, this error is returned. And even on a new empty project. The authorization was re-passed with a token. What could be the problem?</p> <pre><code>Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at git...
When trying to make a push, this error is returned. And even on a new empty project. The authorization was re-passed with a token. What could be the problem? [CODE]
android|android-studio|github
0
2022-05-18T15:22:51.220Z
2,022
5
15
2
126
1
164
33
3
1
true
false
false
false
false
false
zero
72,291,962
Error while inserting date and time in sql database table. I am getting error while trying to insert date and time in android studio sql database
<p>Mainly the application I am buiding should be able to insert the title, description time and date the title is created. This is the database table I have created for inserting title, content, date and time for an journal application. While I was executing &quot; the error as journal table column does not have a dat...
Mainly the application I am buiding should be able to insert the title, description time and date the title is created. This is the database table I have created for inserting title, content, date and time for an journal application. While I was executing &quot; the error as journal table column does not have a date &q...
javascript|android-studio|freesqldatabase
0
2022-05-18T15:27:27.053Z
2,022
5
15
2
18
1
401
145
3
1
true
false
false
false
false
false
zero
72,291,987
Returning a Map value in Kotlin
<p>I have a data class</p> <pre><code>data class Rates( val currency: String, val rate: Double ) </code></pre> <p>And to get the value for rate I have done this</p> <pre><code>fun getRate(rates: Map&lt;String, Rates&gt;): Double { var rate = 0.0 val map = rates.values.map { it.rate } map...
I have a data class [CODE] And to get the value for rate I have done this [CODE] This returns the correct value but I believe there could be a better performant and fewer steps way to do this. How better can I do this?
android|kotlin|dictionary
0
2022-05-18T15:29:05.240Z
2,022
5
15
2
50
0
218
31
3
2
true
true
false
false
false
false
zero
72,292,029
Trouble setting up Azure Notification Hubs
<p>I have tried following the tutorial to send push notifications to Xamarin Android apps with Visual Studio (<a href="https://docs.microsoft.com/en-us/azure/notification-hubs/xamarin-notification-hubs-push-notifications-android-gcm" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/notification-hubs/xam...
I have tried following the tutorial to send push notifications to Xamarin Android apps with Visual Studio ( https://docs.microsoft.com/en-us/azure/notification-hubs/xamarin-notification-hubs-push-notifications-android-gcm ) but I have had zero success. I have no build errors, I am using the Xamarin Google Android Mater...
android|xamarin|azure-notificationhub
0
2022-05-18T15:32:12.243Z
2,022
5
15
2
55
0
866
42
3
1
true
true
false
false
false
false
zero
72,292,280
getText and setText function not working in android studio
<p>i tried to make my first converter in android studio with java but 2 functions setText and getText are not working</p> <pre><code>package com.example.unitconvertor; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widge...
i tried to make my first converter in android studio with java but 2 functions setText and getText are not working [CODE] i hope that i am clear thankyou
java|android|android-studio
-1
2022-05-18T15:47:42.067Z
2,022
5
15
2
106
2
153
58
3
1
true
false
false
false
false
true
negative
72,292,312
java.net.MalformedURLException: no protocol: [Ljava.lang.String;@f2b1656 when trying to download file in kotlin
<p>wanted to download a file from a website, json file from <a href="https://api.openrouteservice.org/" rel="nofollow noreferrer">https://api.openrouteservice.org/</a> but i get this error: <code>java.net.MalformedURLException: no protocol: [Ljava.lang.String;@f2b1656</code></p> <p>here is the code</p> <pre><code> priv...
wanted to download a file from a website, json file from https://api.openrouteservice.org/ but i get this error: java.net.MalformedURLException: no protocol: [Ljava.lang.String;@f2b1656 here is the code [CODE] creating the url [CODE] the url is working, i checked it in the browser
android-studio|kotlin
0
2022-05-18T15:49:31.167Z
2,022
5
15
2
33
2
281
111
2
2
true
false
false
false
false
false
zero
72,292,386
Do we need Jack to use Java 8 features to make a build using Android.mk?
<p>I have an Android.mk file and I was trying to make a build for Android 8.1 where I was using RxJava but while building it, I was getting the error</p> <pre><code>Lambda coming from jar file need their interfaces on the classpath to be compiled </code></pre> <p>so, I searched a lot and found that</p> <pre><code>&quot...
I have an Android.mk file and I was trying to make a build for Android 8.1 where I was using RxJava but while building it, I was getting the error [CODE] so, I searched a lot and found that [CODE] fixes the issue but I want to know how and why it is like that.
android|java-8|rx-java|android.mk|android-jack-and-jill
1
2022-05-18T15:53:56.733Z
2,022
5
15
2
37
1
260
72
5
2
true
false
false
false
false
false
low
72,292,454
Read/write the contents of an array of doubles to internal storage
<p>I have used sample code from developer.android.com. I was planing to change the code to see if it would accept this: <code>writeObject(123.456)</code>. I can't get it to compile even with out my added code...</p> <pre><code>//converted to Kotlin val fos = FileOutputStream(&quot;t.tmp&quot;) val oos = ObjectOutputStr...
I have used sample code from developer.android.com. I was planing to change the code to see if it would accept this: writeObject(123.456) . I can't get it to compile even with out my added code... [CODE]
android|kotlin
0
2022-05-18T15:58:20.440Z
2,022
5
15
2
78
1
203
66
2
1
true
false
false
false
false
false
zero
72,292,471
Stripe BBPOSE wisepad3 integration with android using USB
<p>I am trying to find documentation about how to use USB communication to connect to BBPOSE wisepad3 terminal. From release 2.7.0 stripe added USB communication as beta test, but could not find documentation. That is what I have done thus far.</p> <pre><code> private final DiscoveryConfiguration discoveryConfig = new ...
I am trying to find documentation about how to use USB communication to connect to BBPOSE wisepad3 terminal. From release 2.7.0 stripe added USB communication as beta test, but could not find documentation. That is what I have done thus far. [CODE] In order to scan all available devices, I did so. [CODE] the discovery ...
java|android|stripe-payments
0
2022-05-18T15:59:43.060Z
2,022
5
15
2
37
0
500
57
3
2
true
true
false
false
false
false
zero
72,292,535
Make deeplink work only when app is already open
<p>I'm working on an android tv app, and I was asked to implement some deeplinks that will be triggered when the user presses certain keys on the remote controller, in order to execute some actions on the app. One of this deeplinks is meant to be triggered when the &quot;Exit&quot; button is pressed, an it has to close...
I'm working on an android tv app, and I was asked to implement some deeplinks that will be triggered when the user presses certain keys on the remote controller, in order to execute some actions on the app. One of this deeplinks is meant to be triggered when the &quot;Exit&quot; button is pressed, an it has to close th...
android|deep-linking|android-tv
0
2022-05-18T16:05:04.897Z
2,022
5
16
2
40
0
813
48
3
0
false
true
false
false
false
false
zero
72,292,563
How to make a transparent button with borders and ripple effect?
<p>There are a few answers on stackoverflow, but none of them seem to help. What I'm trying to achieve is not only the transparent background but also the glowing that happens when the button is clicked and the borders as well.</p> <p><strong>What I tried so far:</strong></p> <pre><code> android:background=&quot;?andro...
There are a few answers on stackoverflow, but none of them seem to help. What I'm trying to achieve is not only the transparent background but also the glowing that happens when the button is clicked and the borders as well. What I tried so far: [CODE] The results (when the button is not clicked): The results (when the...
android|android-studio|kotlin
0
2022-05-18T16:07:13.710Z
2,022
5
16
2
104
1
990
64
3
1
true
false
false
false
false
false
zero
72,292,598
How do I automatically fill my entries with the text generated by scanning a QR code?
<p>So basically something is missing here..</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-css lang-css prettyprint-override"><code>namespace QRFillTest { public partial class MainPage : ContentPage { ...
So basically something is missing here.. [CODE] This code grabs the text from the QR Scanner and cuts it into 26 pieces with unique ID's, so from x1 -> x26, and each ID should go into the corresponding entry hence entry x1 to entry x26. I don't want a display alert ... i want the QR Code to go to the 26 entries i made....
c#|xaml|xamarin|xamarin.forms|xamarin.android
0
2022-05-18T16:09:44.837Z
2,022
5
16
2
81
1
439
85
5
1
true
false
false
false
false
false
zero
72,292,626
Flutter: Execution failed for task ':agora_rtc_engine:compileDebugKotlin'
<p>I am working on an old project. It worked fine before 5 days ago. Now I am facing an error with agora. I didn't any change on my previous code. here is error-</p> <pre><code>FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':agora_rtc_engine:compileDebugKotlin'. &gt; Could not r...
I am working on an old project. It worked fine before 5 days ago. Now I am facing an error with agora. I didn't any change on my previous code. here is error- [CODE] I am using agora_rtc_engine: ^3.3.1 bacause this project developed without null-safety (maybe flutter 1.5). How can I solve this problem ?
android|flutter|agora.io|jitpack|flutter-3.0
3
2022-05-18T16:11:35.807Z
2,022
5
16
2
1,155
2
304
73
5
1
true
false
false
false
false
false
low
72,292,766
How do I get android studio to work on dwm?
<p>When opening android studio , the starting screen comes up , but with no contents (just a grey window).</p> <p>It works flawlessly when I change to kde via the option before login.</p> <p>Even after pasting &quot;export _JAVA_AWT_WM_NONREPARENTING=1&quot; into the terminal , it still does the same. (If it does not w...
When opening android studio , the starting screen comes up , but with no contents (just a grey window). It works flawlessly when I change to kde via the option before login. Even after pasting &quot;export _JAVA_AWT_WM_NONREPARENTING=1&quot; into the terminal , it still does the same. (If it does not work , why should ...
android-studio|x-dwm
1
2022-05-18T16:22:01.270Z
2,022
5
16
2
84
1
425
43
2
0
false
false
false
false
false
false
low
72,292,783
What are the options to store GTFS Data for Android App
<p>I am learning android developement in Java. As part of my learning I have started a project working on Transit App using GTFS data.</p> <p>I have got two concerns:</p> <p><strong>data File Size:</strong></p> <ul> <li>My sqlite db file size has grown to 760MB, since I have denormalized GTFS data and created additiona...
I am learning android developement in Java. As part of my learning I have started a project working on Transit App using GTFS data. I have got two concerns: data File Size: My sqlite db file size has grown to 760MB, since I have denormalized GTFS data and created additional tables and indexes for performance gains. GTF...
android-sqlite|flatbuffers|gtfs
0
2022-05-18T16:23:22.960Z
2,022
5
16
2
47
1
970
55
3
0
false
false
false
false
false
false
zero
72,292,877
Build error androidx.media.session.MediaButtonReceiver: Targeting S+ (version 31 and above)
<p>I tried to run my flutter application on Android 12.0 API 31</p> <p>It fail with error</p> <pre><code>adb: failed to install \build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl1793799027.tmp/base.apk (at Binary XML file line #...
I tried to run my flutter application on Android 12.0 API 31 It fail with error [CODE] It is working fine on API 28. My AndroidManifest.xml has following [CODE] I have search online has there are several reference to add [CODE] would solve this issue. As I can see it is already in there. Are there other places I have t...
android|flutter|build
2
2022-05-18T16:31:08.347Z
2,022
5
16
2
130
0
466
91
3
4
true
true
false
false
false
false
low
72,292,887
How to change the data in ViewPager2 in real time from the input of EditText as user types
<p>I have a ViewPager2 and two editTexts in my layout. The data inside ViewPager2 should come from my EditTexts' input. For example, as I start typing in EditText, the same text should be displayed in ViewPager2's item, as I delete the text from EditText, it should be removed from ViewPager2. I would appreciate if one ...
I have a ViewPager2 and two editTexts in my layout. The data inside ViewPager2 should come from my EditTexts' input. For example, as I start typing in EditText, the same text should be displayed in ViewPager2's item, as I delete the text from EditText, it should be removed from ViewPager2. I would appreciate if one cou...
android|kotlin
0
2022-05-18T16:31:53.220Z
2,022
5
16
2
23
0
369
90
2
0
false
true
false
false
false
false
zero
72,292,898
Test events were not received
<p>I'm trying to unit test some of my viewModels on my modularized project, but in Android Library modules, I receive this <code>Tests events were not received</code>, even the auto generated examples don't work. On Java/Kotlin library modules, works ok.</p> <p>On the Gradle Report File I found this log: <code>Cannot c...
I'm trying to unit test some of my viewModels on my modularized project, but in Android Library modules, I receive this Tests events were not received , even the auto generated examples don't work. On Java/Kotlin library modules, works ok. On the Gradle Report File I found this log: Cannot create Launcher without at le...
android|kotlin|junit|gradle-kotlin-dsl|mockk
0
2022-05-18T16:32:18.963Z
2,022
5
16
2
106
0
546
29
5
1
true
true
false
false
false
false
zero
72,292,900
How run Compose with ASM?
<p>org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering File being compiled: C:/Users/....File(kt) ... The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:50)at org.jetbrains.k...
org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering File being compiled: C:/Users/....File(kt) ... The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:50)at org.jetbrains.kotl...
android|kotlin|android-jetpack-compose|aop
0
2022-05-18T16:32:23.730Z
2,022
5
16
2
45
0
501
25
4
1
true
true
false
false
false
false
zero
72,292,970
Make an control to always have top alignment in Grid in Xamarin Forms
<p>I have a grid with two columns and two rows. In the second column, there is an Editor and it can expand horizontally as more lines are added to it. When it does the control in the first column (in this case a checkbox), also slides down to the middle. Like this, <a href="https://i.stack.imgur.com/mCOtd.png" rel="nof...
I have a grid with two columns and two rows. In the second column, there is an Editor and it can expand horizontally as more lines are added to it. When it does the control in the first column (in this case a checkbox), also slides down to the middle. Like this, I have tried setting the margin as 0 but that does not wo...
c#|xamarin|xamarin.forms|gridview|xamarin.android
0
2022-05-18T16:38:12.913Z
2,022
5
16
2
68
0
557
69
5
3
true
true
false
false
false
false
zero
72,292,997
Every time I update a dependency version in my gradle, it can't seem to resolve the library? For example I tried upgrading OneSignal and it won't work
<p>I recently tried updating a version of OneSignal in my gradle dependencies. Upon adding the new version and syncing, my project can no longer resolve or import OneSignal. But if I revert back to the old version it works fine. Is there an isssue connecting and downloading the latest version? Is it a setting in my And...
I recently tried updating a version of OneSignal in my gradle dependencies. Upon adding the new version and syncing, my project can no longer resolve or import OneSignal. But if I revert back to the old version it works fine. Is there an isssue connecting and downloading the latest version? Is it a setting in my Androi...
android|gradle|onesignal
0
2022-05-18T16:40:24.230Z
2,022
5
16
2
60
0
413
150
3
0
false
true
false
false
false
false
zero
72,293,116
Avoid restart on orientation change for react native + android 12
<p>Problem -</p> <p>My react-native app suddenly keeps restarting whenever I change the device orientation. This was working 2 months back.</p> <p>I started experiencing the problem after I upgraded my android version to v12, Build #SP1A.210812.016.</p> <p>Here are my codes - AndroidManifest.xml</p> <pre><code>&lt;appl...
Problem - My react-native app suddenly keeps restarting whenever I change the device orientation. This was working 2 months back. I started experiencing the problem after I upgraded my android version to v12, Build #SP1A.210812.016. Here are my codes - AndroidManifest.xml [CODE] MainActivity.java [CODE] Please help if ...
android|react-native|orientation|restart
0
2022-05-18T16:50:33.933Z
2,022
5
16
2
164
1
430
65
4
2
true
false
false
false
false
false
zero
72,293,128
Firebase Realtime Database won't store users
<p>I am making a Tinderr clone and i want to store the users in the realtime database of Firebase. I have followed the documentation and multiple youtube vids but nothing works. The users do get stored in the authentication so why not in the database?</p> <p>SignupActivity :</p> <pre><code>package com.example.dogsharev...
I am making a Tinderr clone and i want to store the users in the realtime database of Firebase. I have followed the documentation and multiple youtube vids but nothing works. The users do get stored in the authentication so why not in the database? SignupActivity : [CODE] Data.kt [CODE] Constabts.kt [CODE] I have imple...
android|firebase|kotlin|firebase-realtime-database
0
2022-05-18T16:51:17.070Z
2,022
5
16
2
53
1
443
44
4
3
true
false
false
false
false
false
zero
72,293,186
How to display value in multiple textviews using GET method in android?
<p><strong>What I am trying to do is, fetch the datas from server using GET method and display them in multiple textfields. I have already made model class, interface and created constructor, but still the app throws onFailure message.</strong></p> <pre><code>TextView name; private static final String ARG_PARAM1 = &qu...
What I am trying to do is, fetch the datas from server using GET method and display them in multiple textfields. I have already made model class, interface and created constructor, but still the app throws onFailure message. [CODE] }
java|android
0
2022-05-18T16:56:28.817Z
2,022
5
16
2
23
1
233
71
2
1
true
false
false
false
false
false
zero
72,293,300
bottomNavigationView = findViewById(R.id.navigation); returns null java
<p>I really have no idea why this is happening. I am very new to android development so sorry if this a very nooby question. Basically bottomNavigationView is null after using the method &quot;findViewById()&quot;. I know it's null because I've made it to be printed. I've search other posts and the conclusion I've made...
I really have no idea why this is happening. I am very new to android development so sorry if this a very nooby question. Basically bottomNavigationView is null after using the method &quot;findViewById()&quot;. I know it's null because I've made it to be printed. I've search other posts and the conclusion I've made is...
java|android|null|bottomnavigationview|findviewbyid
0
2022-05-18T17:06:51.907Z
2,022
5
17
2
65
1
536
71
5
4
true
false
false
false
false
false
zero
72,293,341
Exception with Kmm and Ktor
<p>I'm trying to create my first KMM project ( using Ktor to get a simple query ). I've managed to run it in Android, but each time I try in iOS i got an exception when i use Ktor.</p> <p>This is my gradle &quot;Shared&quot;</p> <pre><code>plugins { kotlin(&quot;multiplatform&quot;) kotlin(&quot;plugin.serializ...
I'm trying to create my first KMM project ( using Ktor to get a simple query ). I've managed to run it in Android, but each time I try in iOS i got an exception when i use Ktor. This is my gradle &quot;Shared&quot; [CODE] This is the base gradle [CODE] The Android Studio version I'm using is: Chipmunk / 2021.2.1 The co...
android|ios|kotlin-multiplatform|ktor|kmm
0
2022-05-18T17:09:55.573Z
2,022
5
17
2
212
0
505
27
5
4
true
true
false
false
false
false
zero
72,293,393
How to use okHttp library for ver 4.9
<p>Android-Studio okHttp3</p> <p><img src="https://i.stack.imgur.com/to33Z.png" alt="" /></p> <p>What's the problem here picture. I have implemented this version of okHttp:</p> <pre><code>implementation(&quot;com.squareup.okhttp3:okhttp:4.9.3&quot;) </code></pre> <pre><code>error: cannot find symbol Request req...
Android-Studio okHttp3 What's the problem here picture. I have implemented this version of okHttp: [CODE] [CODE] How do we call the response with okHttp 4.9.0?
android|request|okhttp
0
2022-05-18T17:13:56.970Z
2,022
5
17
2
146
0
159
37
3
2
true
true
false
false
false
false
zero
72,293,688
Box overlay in jetpack compose
<p>I want to create a composable (shown in below image) where one box is larger and one smaller box is placed at bottom center of large box and bottom line of large box is passing through center of small box. How do I do that?</p> <p><a href="https://i.stack.imgur.com/WXT89.png" rel="nofollow noreferrer"><img src="http...
I want to create a composable (shown in below image) where one box is larger and one smaller box is placed at bottom center of large box and bottom line of large box is passing through center of small box. How do I do that?
android|kotlin|android-jetpack-compose
0
2022-05-18T17:38:16.250Z
2,022
5
17
2
884
1
223
30
3
0
false
false
false
false
false
false
zero