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
59,919,149
How is the initial and recurrent `FirebaseRemoteConfig` requests authenticated in an android app to get remote configuration values?
<p>How is the initial and recurrent <code>FirebaseRemoteConfig</code> requests authenticated in an android app to get remote configuration values?</p> <pre><code>FirebaseRemoteConfig firebaseRemoteConfig = FirebaseRemoteConfig.getInstance() firebaseRemoteConfig.fetchAndActivate() .addOnCompleteListener(this, n...
How is the initial and recurrent FirebaseRemoteConfig requests authenticated in an android app to get remote configuration values? [CODE] Edit: I would like to access the configuration values through curl The documented REST API uses a bearer token, but the android implementation doesn't have any bearer or authorizatio...
android|kotlin|firebase-remote-config
0
2020-01-26T14:14:53.817Z
2,020
1
14
6
69
0
333
132
3
2
true
true
false
false
false
false
zero
59,919,168
MathJax on Android browsers
<p>I want to write some math notes on my website, but I am in trouble with MathJax. MathJax equations are good on PC, but they are very small on browsers for Android. </p> <p>I have used the following code <a href="http://matefis.altervista.org/example.php" rel="nofollow noreferrer">on this webpage</a> </p> <pre><cod...
I want to write some math notes on my website, but I am in trouble with MathJax. MathJax equations are good on PC, but they are very small on browsers for Android. I have used the following code on this webpage [CODE] It looks good on PC, but it doesn't look good on mobile browsers. MathJax equations are smaller than t...
android|google-chrome|browser|mathjax
0
2020-01-26T14:16:51.563Z
2,020
1
14
6
94
0
399
27
4
1
true
true
false
false
false
false
zero
59,919,186
Android App Session + JWT in api good practice?
<p>I am making Android app and API for it. I want to keep user logged in on the app until it logs out or reinstall the app etc. But I also want to secure API with JWT that will expire in let's say an hour. </p> <p>My idea was, to keep username in the app storage after successfully logged in, and last JWT. Then when ap...
I am making Android app and API for it. I want to keep user logged in on the app until it logs out or reinstall the app etc. But I also want to secure API with JWT that will expire in let's say an hour. My idea was, to keep username in the app storage after successfully logged in, and last JWT. Then when app is opened,...
android|api|session|jwt
1
2020-01-26T14:18:43.690Z
2,020
1
14
6
1,134
2
487
47
4
0
false
false
false
false
false
false
low
59,919,198
Using firebase realtime database
<p>I've got problem with using database values in app. I can't find way to use them in app. </p> <pre><code>auth = FirebaseAuth.getInstance() FirebaseUser = auth.getCurrentUser()!! val uid = auth.getUid()!! val fireBase = FirebaseDatabase.getInstance() userRef = fireBase.getReference("...
I've got problem with using database values in app. I can't find way to use them in app. [CODE] This is the way to retrive data from firebase. I get it in logcat : [CODE] I'd like to use it in App How to get it to varable? in MainActivity I've got lateinit var name :String lateinit var lastname :String how to get value...
android|firebase|kotlin|firebase-realtime-database
1
2020-01-26T14:20:32.440Z
2,020
1
14
6
56
1
466
32
4
2
true
false
false
false
false
false
low
59,919,242
Better way than datasnapshot to retrieve specific data from Firebase for each specific post? Location returned is wrong
<p>Need to retrieve <code>Latitude</code> and <code>Longitude</code> for each specific event from Firebase where the user when creating en event also picks event location (<code>Latitude</code> and <code>Longitude</code>) by setting marker at a specific location. </p> <p>The problem that I am having is that the last e...
Need to retrieve Latitude and Longitude for each specific event from Firebase where the user when creating en event also picks event location ( Latitude and Longitude ) by setting marker at a specific location. The problem that I am having is that the last event saved overrides all other existing event locations and so...
java|android|firebase|google-maps|firebase-realtime-database
1
2020-01-26T14:25:26.173Z
2,020
1
14
6
72
2
1,308
119
5
1
true
false
false
false
false
false
low
59,919,261
Huawei HMS Maps Android Codelab not working
<p>I am trying to use the Huawei Maps Kit for the new devices that don't include Google Play Services. Codelab demo is located at:</p> <p><a href="https://developer.huawei.com/consumer/en/codelab/HMSMapKit/index.html#7" rel="noreferrer">https://developer.huawei.com/consumer/en/codelab/HMSMapKit/index.html#7</a></p> <...
I am trying to use the Huawei Maps Kit for the new devices that don't include Google Play Services. Codelab demo is located at: https://developer.huawei.com/consumer/en/codelab/HMSMapKit/index.html#7 I haven't changed any single line of code of the demo and the app has automacally downloaded Huawei Mobile Services vers...
android|dictionary|huawei-mobile-services|huawei-map-kit
7
2020-01-26T14:28:15.843Z
2,020
1
14
6
3,343
5
537
43
4
1
true
false
true
false
false
false
medium
59,919,275
How to resolve 'com.android.support:appcompat-v7:28.0.0'
<p>the app already had <strong><code>implementation 'com.android.support:appcompat-v7:26.0.0'</code></strong>.so to stay updated i changed it to 28.0.0. and i still get the <strong>Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'</strong>. error. </p> <p>how can i solve this er...
the app already had implementation 'com.android.support:appcompat-v7:26.0.0' .so to stay updated i changed it to 28.0.0. and i still get the Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api' . error. how can i solve this error permanently. i've tried a lot of different solutions ...
android|android-studio|error-handling|build
0
2020-01-26T14:30:01.430Z
2,020
1
14
6
207
1
588
56
4
1
true
false
false
false
false
false
zero
59,919,309
Try block throws exception, but catch block does not catch it
<p>I am using google login and I'm getting an exception. However, it looks like I'm unable to catch it.</p> <p>I have the following code:</p> <pre><code>override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { super.onActivityResult(requestCode, resultCode, data) when (request...
I am using google login and I'm getting an exception. However, it looks like I'm unable to catch it. I have the following code: [CODE] From Logcat I can see, that ApiException is the right Exception to catch: And its definetly the one I am catching: At first I thought the direct assignment with val task = try... might ...
android|kotlin|google-signin
1
2020-01-26T14:34:39.817Z
2,020
1
14
6
79
1
791
61
3
3
true
false
false
false
false
false
low
59,919,340
android canvas animate background?
<p>I'm trying to animate a background in a game I'm making. <a href="https://imgur.com/kQGWsLu" rel="nofollow noreferrer">https://imgur.com/kQGWsLu</a> Should look like this(terrible recording quality) My first attempt work well on my phone but a lot of people saw their fps cut in half:</p> <pre><code> public void dra...
I'm trying to animate a background in a game I'm making. https://imgur.com/kQGWsLu Should look like this(terrible recording quality) My first attempt work well on my phone but a lot of people saw their fps cut in half: [CODE] So now I'm thinking about of pre rendering a image and drawing it as a bitmap that covers the ...
android|canvas
0
2020-01-26T14:38:35.797Z
2,020
1
14
6
99
0
727
34
2
2
true
true
false
false
false
false
zero
59,919,366
What is RecyclerView.Adapter<MyAdapter.MyViewHolder> and how it is different from RecyclerView.Adapter in Android?
<p>I'm learning RecyclerView and in <a href="https://developer.android.com/guide/topics/ui/layout/recyclerview" rel="nofollow noreferrer">developer</a>'s site the Adapter class extends <code>RecyclerView.Adapter&lt;MyAdapter.MyViewHolder&gt;</code>. The implementation shows:</p> <pre><code>public class MyAdapter exten...
I'm learning RecyclerView and in developer 's site the Adapter class extends RecyclerView.Adapter<MyAdapter.MyViewHolder> . The implementation shows: [CODE] And in this tutorial , the adapter class extends RecyclerView.Adapter . The implementation is: [CODE] So what is the difference between RecyclerView.Adapter<MyAdap...
java|android|android-recyclerview
0
2020-01-26T14:40:47.203Z
2,020
1
14
6
1,479
1
510
114
3
2
true
false
false
false
false
false
zero
59,919,437
Problem with the splashscreen after resume ( Flutter - Android )
<p>I've got a problem with my flutter app when I want to resume my app on android. So I tested the example flutter app that gets generated, but the problem also exists there. I modified only the launch_background.xml file to change the background color to black and put the launcher icon to the splash screen.</p> <p>Th...
I've got a problem with my flutter app when I want to resume my app on android. So I tested the example flutter app that gets generated, but the problem also exists there. I modified only the launch_background.xml file to change the background color to black and put the launcher icon to the splash screen. The problem i...
android|flutter
2
2020-01-26T14:48:27.330Z
2,020
1
14
6
1,284
1
597
64
2
1
true
false
false
false
false
false
low
59,919,459
Android Notifications - replace one notification with another
<p>I am building a React Native application where in some circumstances I need to replace a data only notification that has been sent from one client to another. </p> <p>I understand that with data only messages the client handles the notification. I have read that a notification can be replaced or cancelled if anothe...
I am building a React Native application where in some circumstances I need to replace a data only notification that has been sent from one client to another. I understand that with data only messages the client handles the notification. I have read that a notification can be replaced or cancelled if another is receive...
java|android|react-native|push-notification|firebase-cloud-messaging
1
2020-01-26T14:51:13.750Z
2,020
1
14
6
912
1
832
61
5
2
true
false
false
false
false
false
low
59,919,679
Unity - Vuforia - Raycast Hits work fine on Unity Editor but bugs on Android Device build
<p>for my bachelor thesis im augmenting a physical paper map. Therefor as written in the title im using unity in combination with vuforia for imagetarget detection and further functions.</p> <p>So far so good.</p> <p>Now the problem:</p> <p>Im using cube elements that are augmented beside the map as interaction elem...
for my bachelor thesis im augmenting a physical paper map. Therefor as written in the title im using unity in combination with vuforia for imagetarget detection and further functions. So far so good. Now the problem: Im using cube elements that are augmented beside the map as interaction elements to filter the projecte...
c#|android|unity3d|vuforia|raycasting
1
2020-01-26T15:14:26.237Z
2,020
1
15
6
624
0
3,007
89
5
1
true
true
false
false
false
false
low
59,919,825
Why Kivy app is scaled down in Android but not in development
<p>I've got this code which works like a charm on my Linux machine (imports omitted):</p> <pre><code>class Background(Widget): def __init__(self, source): super(Background, self).__init__() self.image = Sprite(source=source) self.add_widget(self.image) self.size = self.image.size ...
I've got this code which works like a charm on my Linux machine (imports omitted): [CODE] This gives me background nicely stretched on the laptop but when I try the game in Android phone background picture is shrunk. How can I troubleshoot this ? Suggested edit: [CODE] another edit: [CODE] Here I'm trying to convert al...
python|android|kivy
0
2020-01-26T15:31:34.670Z
2,020
1
15
6
70
0
438
61
3
3
true
true
false
false
false
false
zero
59,919,869
Xamarin.Forms cannot reference Xamarin.Android
<p>I have a simple Xamarin project</p> <p>+-MyProject <br />|<br />+-MyProject.Android<br />|<br />+-MyProject.iOS</p> <p>What I want is to be able to reference MyProject.Android in MyProject (Xamarin.Forms environment). I've seen in some other example project that you can use <code>using MyProject.Android;</code> bu...
I have a simple Xamarin project +-MyProject | +-MyProject.Android | +-MyProject.iOS What I want is to be able to reference MyProject.Android in MyProject (Xamarin.Forms environment). I've seen in some other example project that you can use using MyProject.Android; but when I try that in my project it says The type or n...
xamarin|xamarin.forms|xamarin.android|reference|using
0
2020-01-26T15:35:56.133Z
2,020
1
15
6
249
0
452
46
5
0
false
true
false
false
false
false
zero
59,919,927
react native force light mode in android app
<p>when I run my react native app in the emulator (pixel android 10), I noticed that the app change the white background to black when the phone set to dark mode. this made hard to read the black text or anything else. is there a way that forces the app to run in light theme despite the OS in dark or light mode</p> <p...
when I run my react native app in the emulator (pixel android 10), I noticed that the app change the white background to black when the phone set to dark mode. this made hard to read the black text or anything else. is there a way that forces the app to run in light theme despite the OS in dark or light mode [CODE]
android|react-native|android-layout|themes|android-dark-theme
6
2020-01-26T15:41:51.783Z
2,020
1
15
6
4,087
1
316
44
5
1
true
false
true
false
false
false
medium
59,919,938
How do I get linear acceleration with respect to Earth in Android?
<p>I am creating an application that needs to measure linear acceleration with respect to the Earth and not with respect to the android phone. Is there a system within the SDK that allows this? If not, are there some java libraries that do this? Thanks</p> <pre><code>Type_LINEAR_ACCELERATION </code></pre> <p>only gi...
I am creating an application that needs to measure linear acceleration with respect to the Earth and not with respect to the android phone. Is there a system within the SDK that allows this? If not, are there some java libraries that do this? Thanks [CODE] only gives acceleration with respect to the device minus gravit...
java|android|rotation|accelerometer|android-sensors
1
2020-01-26T15:43:31.840Z
2,020
1
15
6
89
0
322
66
5
1
true
true
false
false
false
false
low
59,919,945
not build with nxp library TapLinx?
<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.ex5"&gt; &lt;application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:ro...
[CODE] Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml:6:9-35 is also present at [:nxp] AndroidManifest.xml:14:9-36 value=(false) . Suggestion: add ' tools:replace="android:allowBackup" ' to element at AndroidManifest.xml:5:5-19:19 to override. what is it?
android|android-manifest
0
2020-01-26T15:44:05.167Z
2,020
1
15
6
150
0
305
35
2
1
true
true
false
false
false
false
zero
59,919,988
Receiving a notification when Firebase node updates
<p>I have 2 apps a customer booking app and an admin receiver app. they are both connected to the same Firebase database. When a customer makes a booking I can view this in my admin app. But how can I make it so that I receive a notification in the admin app once a booking is made in the customer app? </p> <p>I have f...
I have 2 apps a customer booking app and an admin receiver app. they are both connected to the same Firebase database. When a customer makes a booking I can view this in my admin app. But how can I make it so that I receive a notification in the admin app once a booking is made in the customer app? I have found this co...
java|android|firebase-realtime-database|notifications
0
2020-01-26T15:50:13.803Z
2,020
1
15
6
328
2
768
51
4
2
true
false
false
false
false
false
zero
59,919,991
How to read data from assets folder and feed into listView program
<p>I have this ListView that i use to list title of songs and when a title of the song is clicked, it then open into a new Activity to show the full song lyrics/wordings. And my app prject i have more than 1500 song titles and lyrics to program. But my problem is i don't want to hardcode my song-lyrics/wordings in the ...
I have this ListView that i use to list title of songs and when a title of the song is clicked, it then open into a new Activity to show the full song lyrics/wordings. And my app prject i have more than 1500 song titles and lyrics to program. But my problem is i don't want to hardcode my song-lyrics/wordings in the the...
javascript|android
0
2020-01-26T15:50:31.033Z
2,020
1
15
6
45
0
612
66
2
3
true
true
false
false
false
false
zero
59,920,055
How to delete a file/object stored in an AWS S3 bucket, using the Android SDK?
<p>I have searched the <a href="https://aws-amplify.github.io/docs/sdk/android/storage" rel="nofollow noreferrer">latest AWS docs for the Android SDK,</a> on the official site. Unfortunately I couldn't find anything related to this. How can I delete a particular -- or multiple -- file(s) or object(s) <em>using the Andr...
I have searched the latest AWS docs for the Android SDK, on the official site. Unfortunately I couldn't find anything related to this. How can I delete a particular -- or multiple -- file(s) or object(s) using the Android SDK ?
android|amazon-web-services|amazon-s3|aws-amplify|aws-amplify-sdk-android
1
2020-01-26T15:56:55.793Z
2,020
1
15
6
1,022
3
227
78
5
0
false
false
false
false
false
false
low
59,920,085
How to deserialize a multi-shape JSON response with GSON and Retrofit2?
<p>I have a restApi which its response can be something like this (if there is only one object to return):</p> <pre><code>{ "keys": { "id":0, "name":"john", "pItems":12 } } </code></pre> <p>or like this if there is more:</p> <pre><code>{ "keys": [ { "id...
I have a restApi which its response can be something like this (if there is only one object to return): [CODE] or like this if there is more: [CODE] When I use a list for Model object, the first case doesn't work. How can I deserialize it using Gson and Retrofit2?
java|android|json|gson|retrofit2
2
2020-01-26T16:00:53.677Z
2,020
1
16
6
96
2
264
71
5
2
true
false
false
false
false
false
low
59,920,093
How to display music player notification using support libs v25
<p>I use the following code to display a custom notification, but it's not displaying. The following is taken from my service class. Playback is successful upon clicking on a song, everything works but the notification.</p> <p>compile sdk version 25 - min sdk 21 - target sdk 25</p> <pre><code>private void updateNoti...
I use the following code to display a custom notification, but it's not displaying. The following is taken from my service class. Playback is successful upon clicking on a song, everything works but the notification. compile sdk version 25 - min sdk 21 - target sdk 25 [CODE] I have no idea what's going wrong in here. A...
android|android-notifications
0
2020-01-26T16:01:26.433Z
2,020
1
16
6
29
1
479
63
2
1
true
false
false
false
false
false
zero
59,920,104
How to disable Firestore Datastore mode for new project and switch to Native Mode
<p>I'm developing a new iOS / Android App for which I need Firestore Native Mode. In my old project I see my Cloud Firestore (in native mode) but in my new project I think I accidentally selected Data-store somewhere, but I didn't add data yet. How can I revert this because I don't want to start a complete new project....
I'm developing a new iOS / Android App for which I need Firestore Native Mode. In my old project I see my Cloud Firestore (in native mode) but in my new project I think I accidentally selected Data-store somewhere, but I didn't add data yet. How can I revert this because I don't want to start a complete new project. I'...
android|ios|firebase|google-cloud-datastore
3
2020-01-26T16:02:34.927Z
2,020
1
16
6
2,595
1
473
81
4
0
false
false
false
false
false
false
low
59,920,108
I have RecyclerView and Bottom app bar but it doesn't show bottom app bar
<p>I have RecyclerView and Bottom app bar but it doesn't show bottom app bar.what should i add to my code?</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_w...
I have RecyclerView and Bottom app bar but it doesn't show bottom app bar.what should i add to my code? [CODE]
android|android-recyclerview|android-bottomappbar
1
2020-01-26T16:03:35.850Z
2,020
1
16
6
189
1
110
73
3
1
true
false
false
false
false
false
low
59,920,188
Unlock Linux with Bluetooth low energy
<p>Have you ever seen the apple watch unlock a Mac? The idea is amazing, but I don't want a smart watch because I already have a phone which has similar capabilities AFAIK. Also, I moved from OSX to Linux recently :)</p> <p>I don't know how the Apple watch manages to unlock the Mac. But I know what would be desirable...
Have you ever seen the apple watch unlock a Mac? The idea is amazing, but I don't want a smart watch because I already have a phone which has similar capabilities AFAIK. Also, I moved from OSX to Linux recently :) I don't know how the Apple watch manages to unlock the Mac. But I know what would be desirable from a user...
android|bluetooth|bluetooth-lowenergy|bluez|proximity
3
2020-01-26T16:11:02.357Z
2,020
1
16
6
2,665
1
1,724
38
5
1
true
false
true
false
false
false
low
59,920,247
create xamarin process never end
<p>I have a plan and want to periodically check a URL every 5 minutes(NOTIFY CENTER SERVER(Listener)).</p> <p>My problem: Once the program closes, the process closes Is it possible that the project will not be shut down if the original program is closed ?</p> <p>My Code After Changed Worked with : <strong>Matcha.Back...
I have a plan and want to periodically check a URL every 5 minutes(NOTIFY CENTER SERVER(Listener)). My problem: Once the program closes, the process closes Is it possible that the project will not be shut down if the original program is closed ? My Code After Changed Worked with : Matcha.BackgroundService [CODE]
xamarin|xamarin.forms|xamarin.android
1
2020-01-26T16:17:32.407Z
2,020
1
16
6
411
1
313
32
3
1
true
false
false
false
false
false
low
59,920,265
Video, and image files merge using FFMPEG in android
<p>I want to merge video and images in single video file like following with dynamic.</p> <p>For example: Video-1 + Image-1 (3 sec should be display) + Video-2 + Image-2 (3 sec should be display) ...</p> <p>So, video and image will be dynamic and different resolution.</p> <p>Thanks in Advance</p>
I want to merge video and images in single video file like following with dynamic. For example: Video-1 + Image-1 (3 sec should be display) + Video-2 + Image-2 (3 sec should be display) ... So, video and image will be dynamic and different resolution. Thanks in Advance
android|ffmpeg|android-ffmpeg
0
2020-01-26T16:20:11.833Z
2,020
1
16
6
189
0
269
52
3
0
false
true
false
false
false
false
zero
59,920,369
Is there a way to use NPM packages in Android project with Kotlin
<p>I was wondering if there is a way to use NPM packages in Android project with Kotlin. I know there is a Gradle plugin <code>kotlin.js</code> and it seems to work with a standalone project like <a href="https://github.com/JetBrains/kotlin-js-demo-1.3.50/blob/master/build.gradle.kts" rel="nofollow noreferrer">a demo</...
I was wondering if there is a way to use NPM packages in Android project with Kotlin. I know there is a Gradle plugin kotlin.js and it seems to work with a standalone project like a demo provided by JetBrains, but when I try to use it with Android I get this error: [CODE] There is even a little tutorial on how to setup...
javascript|android|kotlin
6
2020-01-26T16:32:01.723Z
2,020
1
16
6
1,360
0
952
65
3
1
true
true
false
false
false
false
medium
59,920,519
How to check permission on fragment using mvvm in andorid
<p>I am using kotlin with MVVM. I want to check multiple permission in fragment. I have used bellow code. It does not show permsion. But I off the permission, it show not show.here is my code..</p> <pre><code>class HomeFragment : Fragment() { private val PermissionsRequestCode = 123 override fun onViewCreated(view: V...
I am using kotlin with MVVM. I want to check multiple permission in fragment. I have used bellow code. It does not show permsion. But I off the permission, it show not show.here is my code.. [CODE] Please help how properly handle the permission in kotiln fragment using mvvm.
android|kotlin
0
2020-01-26T16:48:54.790Z
2,020
1
16
6
1,740
1
275
57
2
1
true
false
false
false
false
false
zero
59,920,527
For how long an app in background would keep receiving bluetooth packets?
<p></p> <p>I'm researching for a PoC that users would have a mobile app (Android and iOS) connected to a Bluetooth device. Users would lock their cellphone, put them away (close enough for keeping the Bluetooth connection) then the mobile app would stream (broadcast the Bluetooth packets) to an HTTP endpoint.</p> <p>...
I'm researching for a PoC that users would have a mobile app (Android and iOS) connected to a Bluetooth device. Users would lock their cellphone, put them away (close enough for keeping the Bluetooth connection) then the mobile app would stream (broadcast the Bluetooth packets) to an HTTP endpoint. The mobile app would...
android|ios|bluetooth
0
2020-01-26T16:49:57.530Z
2,020
1
16
6
30
1
481
73
3
0
false
false
false
false
false
false
zero
59,920,547
Android attribute works only from style?
<p>I have textinputlayout and want to add an attribute to it but it work only when assigned from style</p> <p>my style</p> <pre><code> &lt;style name="round_text" parent="Base.Widget.MaterialComponents.TextInputLayout"&gt; &lt;item name="editTextStyle"&gt;@style/Widget.MaterialComponents.TextInputEditText.Outline...
I have textinputlayout and want to add an attribute to it but it work only when assigned from style my style [CODE] my view with style [CODE] my view without style and attribute assigned directly [CODE]
android|xml|styles
2
2020-01-26T16:51:28.583Z
2,020
1
16
6
231
1
202
40
3
3
true
false
false
false
false
false
low
59,920,548
androids studio sqlite issue with selectionArgs argument
<p>I have the following function in android studio, which is supposed to return a sqlite cursor. The problem comes in the selectionArgs argument. Whenever I am passing more than one value to it, it returns a cursor with 0 records.</p> <pre><code> public Cursor getCursor(String strListWhere, String strTable, String ...
I have the following function in android studio, which is supposed to return a sqlite cursor. The problem comes in the selectionArgs argument. Whenever I am passing more than one value to it, it returns a cursor with 0 records. [CODE] The value in strColsToReturn is animal_class = ? and province_name = ? The value in s...
android|sqlite|android-sqlite
0
2020-01-26T16:51:28.683Z
2,020
1
16
6
53
1
611
56
3
2
true
false
false
false
false
false
zero
59,920,549
How to create JSON file in assets dynamically using java code OR update existing json file using java code in android
<p><strong>how to update JSON file in assets folder or how to create a new JSON file in assets dynamically using java code.</strong></p> <p>I want to update my JSON file dynamically from web data</p>
how to update JSON file in assets folder or how to create a new JSON file in assets dynamically using java code. I want to update my JSON file dynamically from web data
java|android|json|assets
0
2020-01-26T16:51:40.427Z
2,020
1
16
6
288
1
168
117
4
0
false
false
false
false
false
false
zero
59,920,578
In Android imageView wrap_content does not work
<p>I've got an ImageView with <em>match_parent</em> width and <em>wrap_content</em> height. When I set an image with a size of 1080x500, the ImageView takes up the entire screen in width, but for some reason takes up extra space in height.I know about AdjustViewbounds, but I'm wondering why imageView takes up extra spa...
I've got an ImageView with match_parent width and wrap_content height. When I set an image with a size of 1080x500, the ImageView takes up the entire screen in width, but for some reason takes up extra space in height.I know about AdjustViewbounds, but I'm wondering why imageView takes up extra space in height. I have ...
android|imageview
0
2020-01-26T16:54:42.410Z
2,020
1
16
6
78
1
364
47
2
0
false
false
false
false
false
false
zero
59,920,656
Call an Actvity from inside a Class
<p>I need to call an activity from inside a Class separate which contains a method <code>onDataChange</code> of Firebase.</p> <p>So, I will can call the Activity after Firebase deliver the datas I want. I just don't can get insert a methods <code>startActivity</code> or <code>getBaseContext</code> of <code>Intent</cod...
I need to call an activity from inside a Class separate which contains a method onDataChange of Firebase. So, I will can call the Activity after Firebase deliver the datas I want. I just don't can get insert a methods startActivity or getBaseContext of Intent from inside my Class. My class is myUser: [CODE] My code (IN...
java|android|firebase|firebase-realtime-database|android-activity
1
2020-01-26T17:03:15.883Z
2,020
1
17
6
35
1
729
35
5
2
true
false
false
false
false
false
low
59,920,685
Databinding : Failed to call observer method / Resources$NotFoundException
<p>I am working on a very simple sample app that uses ViewModel, coroutines and databinding.</p> <p>Here the very simple classes used :</p> <pre><code>class MainFragment : Fragment() { companion object { fun newInstance() = MainFragment() } private val viewModel by viewModels&lt;MainViewModel&gt...
I am working on a very simple sample app that uses ViewModel, coroutines and databinding. Here the very simple classes used : [CODE] [CODE] [CODE] Unfortunately, this very simple app crashs with the following stacktrace : [CODE] The line 168 of the MainFragmentBindingImpl.java class is the following one: [CODE] So, the...
android|android-databinding|android-viewmodel|android-ktx
0
2020-01-26T17:06:42.050Z
2,020
1
17
6
1,486
1
487
74
4
5
true
false
false
false
false
false
zero
59,920,712
pass array list of <LatLng,String> from main activity to another class
<p>I have a class called latLng that create an object of LatLng and string, in MainActivity I created an arraylist of this type and parced json into it. now I want to pass it to another class but everything I try doesnt work, the program crash down or fill my array in null in the second activity. here is my code:</p> ...
I have a class called latLng that create an object of LatLng and string, in MainActivity I created an arraylist of this type and parced json into it. now I want to pass it to another class but everything I try doesnt work, the program crash down or fill my array in null in the second activity. here is my code: latLng.j...
java|android|google-maps|arraylist|latitude-longitude
0
2020-01-26T17:09:09.113Z
2,020
1
17
6
533
1
423
70
5
4
true
false
false
false
false
false
zero
59,920,721
I have a problem with a function that I write incorrectly and I can't guess how to change it
<p>I would like to create a function that will calculate a number from one column. Then I'd like to dress her in a textview. I have a database from room and dao. The problem is that I can't call the function because I am doing something wrong. Can anyone help me?</p> <p>POMIAR : </p> <pre><code>package com.example.mw...
I would like to create a function that will calculate a number from one column. Then I'd like to dress her in a textview. I have a database from room and dao. The problem is that I can't call the function because I am doing something wrong. Can anyone help me? POMIAR : [CODE] DATABASE: [CODE] Dao: [CODE] The last one i...
android|sqlite|kotlin|android-room
0
2020-01-26T17:09:54.550Z
2,020
1
17
6
53
1
430
92
4
3
true
false
false
false
false
false
zero
59,920,724
How do I bind data from MySQL database to Xamarin ListView?
<p><strong>Working on a project for school with xamarin and online MySQL database, but I'm having trouble.</strong> <strong>This is my teme.cs, i don't know how to code a reader so it will read all the rows in the database</strong> </p> <pre><code>MySqlConnection con = new MySqlConnection("server=xxx; databa...
Working on a project for school with xamarin and online MySQL database, but I'm having trouble. This is my teme.cs, i don't know how to code a reader so it will read all the rows in the database [CODE] } } This is my teme.xaml file where I would like to bind data to the bindings [CODE]
c#|android|mysql|xamarin.forms
0
2020-01-26T17:10:19.327Z
2,020
1
17
6
1,220
1
286
59
4
2
true
false
false
false
false
false
zero
59,920,895
Android Studio Virtual Device Emulator Not Functioning (Invisible) on Dell XPS 15 Windows 10
<p>I'm having some issue with Android Studio's Android Virtual Device (AVD) emulator. I can build and run my apps but the emulator is never properly displayed, as I can't even see any emulated device at all. I've tried different graphics drivers, different graphics (dedicated vs integrated), different Android devices...
I'm having some issue with Android Studio's Android Virtual Device (AVD) emulator. I can build and run my apps but the emulator is never properly displayed, as I can't even see any emulated device at all. I've tried different graphics drivers, different graphics (dedicated vs integrated), different Android devices, re-...
android|android-studio|android-emulator|avd|android-studio-3.5.3
1
2020-01-26T17:29:11.523Z
2,020
1
17
6
164
0
1,089
92
5
0
false
true
false
false
false
false
low
59,920,908
As per oAuth2.0 authentication should happen in device native browser, then why all known apps having native login screens
<p>This is something very confusing and I cant find any solution for this, as per oAuth 2.0 guidelines for mobile integration,</p> <blockquote> <p>OAuth 2.0 authorization requests from native apps should only be made through external user-agents, primarily the user's browser. This specification details the security an...
This is something very confusing and I cant find any solution for this, as per oAuth 2.0 guidelines for mobile integration, OAuth 2.0 authorization requests from native apps should only be made through external user-agents, primarily the user's browser. This specification details the security and usability reasons. Ref...
android|ios|mobile|oauth|oauth-2.0
3
2020-01-26T17:30:33.013Z
2,020
1
17
6
184
1
662
122
5
0
false
false
false
false
false
false
low
59,920,985
Save multiple radio buttons state using an Intent instead of 'saveInstance'
<p>To put it short, I am making a simple Symptom Checker which allows general users to answer yes/no questions. I'm very new to Android Studio (only been coding less than a week) and have tried to make the mobile application save the radio buttons states so if a user backtracks a page the checked radio buttons show up....
To put it short, I am making a simple Symptom Checker which allows general users to answer yes/no questions. I'm very new to Android Studio (only been coding less than a week) and have tried to make the mobile application save the radio buttons states so if a user backtracks a page the checked radio buttons show up. I ...
java|android
0
2020-01-26T17:39:57.720Z
2,020
1
17
6
131
1
1,041
75
2
3
true
false
false
false
false
false
zero
59,921,057
404 File not found exception when calling ASP.NET webapi
<p>When I'm trying to POST a parameter from android to asp.net web api, I got file not found exception. But the same web api is working with postman. Please suggest in which part I should need to correct?</p> <p>Android code is : </p> <pre><code> public String CallWebAPI() { OkHttpClient client = new OkHt...
When I'm trying to POST a parameter from android to asp.net web api, I got file not found exception. But the same web api is working with postman. Please suggest in which part I should need to correct? Android code is : [CODE] And webAPI is : [CODE]
android|asp.net|post|asp.net-web-api|http-status-code-404
0
2020-01-26T17:47:34.203Z
2,020
1
17
6
235
1
249
56
5
2
true
false
false
false
false
false
zero
59,921,058
ListView cannot show a List retrieved from URL
<p>I'm new to Android Studio. I'm trying to custom a Fragment automatically created by the IDE using the option create -> new Fragment (List). I'm not able to show the List retrieved from an http page, but if I manually add items to my list, the emulator let me see it. How can I solve this problem?</p> <blockquote> ...
I'm new to Android Studio. I'm trying to custom a Fragment automatically created by the IDE using the option create -> new Fragment (List). I'm not able to show the List retrieved from an http page, but if I manually add items to my list, the emulator let me see it. How can I solve this problem? municipioFragment.java ...
java|android|url|fragment
1
2020-01-26T17:47:38.417Z
2,020
1
17
6
49
1
432
46
4
4
true
false
false
false
false
false
low
59,921,161
Exception while trying to connect JSON Server
<p>I am currently working on a CRUD android app for homework, and I am getting an strange problem that doesn't happen on the example provided by the teacher.</p> <p>We are working with Docker JSON Server and we are adding data to that server, but there is an error when I click the button to go to the activity.</p> <p...
I am currently working on a CRUD android app for homework, and I am getting an strange problem that doesn't happen on the example provided by the teacher. We are working with Docker JSON Server and we are adding data to that server, but there is an error when I click the button to go to the activity. I will paste the l...
java|android|json|retrofit|crud
0
2020-01-26T17:58:53.133Z
2,020
1
17
6
172
2
617
45
5
2
true
false
false
false
false
false
zero
59,921,200
Start Camera RuntimeException - android Camera API
<p>The following code throws a runtime exception when trying to <strong>start</strong> a camera with deprecated Camera API for android:</p> <pre><code>E/MediaRecorder: start failed: -19 E/AndroidRuntime: FATAL EXCEPTION: IntentService[RecordIntentService] Process: com.example.songtry2, PID: 15956 java.lang.Run...
The following code throws a runtime exception when trying to start a camera with deprecated Camera API for android: [CODE] I really tried using the new camera2 API, but had no luck with it... The service I am trying to create should open the camera in a service and record video in the background until the camera should...
java|android|android-camera|deprecated
0
2020-01-26T18:02:44.567Z
2,020
1
18
6
116
0
601
50
4
5
true
true
false
false
false
false
zero
59,921,217
Get the color from the night folder on Android
<p>I have two folders</p> <p>values-night -> colors.xml</p> <pre><code>&lt;color name="iconColor"&gt;#ffffff&lt;/color&gt; </code></pre> <p>values -> colors.xml</p> <pre><code>&lt;color name="iconColor"&gt;#000000&lt;/color&gt; </code></pre> <p>When I want to read 'iconColor'</p> <p>Normally with code</p> <pre><...
I have two folders values-night -> colors.xml [CODE] values -> colors.xml [CODE] When I want to read 'iconColor' Normally with code [CODE] If night mode is enabled, it reads from the values-night folder If night mode is not enabled, it reads from the values folder Now I want to read the values-night folder under any ci...
java|android|xml
0
2020-01-26T18:04:04.337Z
2,020
1
18
6
441
1
331
46
3
3
true
false
false
false
false
false
zero
59,921,274
Is there any way to make a ArrayList of TextView from one TextView defined in xml?
<p>I want to make an ArryList of TextView.</p> <p>sector.xml:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:gravit...
I want to make an ArryList of TextView. sector.xml: [CODE] Now i want to create an ArrayList like this: [CODE] When i use the arLst, it shows that every TextView in arrLst has text "10". But i want to store it as each TextView will have different text like "1", "2", "3", ... ... ... "10". Even i want to dynamically add...
java|android
1
2020-01-26T18:10:49.043Z
2,020
1
18
6
34
1
474
82
2
2
true
false
false
false
false
false
low
59,921,525
SharedPreferences: Why is my value not overwritten?
<p>I am trying to overwrite a value in SharedPreferences. It's a Boolean but somehow it seems buggy or I am doing something wrong. Check out this little code snippet:</p> <pre><code>sharedPref.edit().remove("bool1"); sharedPref.edit().putBoolean("bool1", true); sharedPref.edit().commit(); Log.v("TEST" ,"" + sharedPref...
I am trying to overwrite a value in SharedPreferences. It's a Boolean but somehow it seems buggy or I am doing something wrong. Check out this little code snippet: [CODE] Output will be: [CODE] I couldn't find answer on this on the internet. Does anyone know?
java|android|boolean|sharedpreferences
0
2020-01-26T18:41:46.383Z
2,020
1
18
6
44
1
259
51
4
2
true
false
false
false
false
false
zero
59,921,547
DelayedConfirmationView on Android X
<p>I used DelayedConfirmationView on an android wear app I am trying to refactor to work for API 22 devices (Lollipop). Is there an equivalence for this on API 22 (Android 5.1)? </p>
I used DelayedConfirmationView on an android wear app I am trying to refactor to work for API 22 devices (Lollipop). Is there an equivalence for this on API 22 (Android 5.1)?
java|android|android-studio|androidx
0
2020-01-26T18:44:32.543Z
2,020
1
18
6
150
2
174
36
4
0
false
false
false
false
false
false
zero
59,921,634
How to set on click listener to nested scroll view when scrolling up in the nested scroll view
<p>Hello am having a nested scroll view, i want to set on click listener to the nested scroll view such that it does something when am scrolling up the nested scroll view for example displaying a toast showing scrolling up when am scrolling up nested scroll view and for displaying a toast showing scrolling down when am...
Hello am having a nested scroll view, i want to set on click listener to the nested scroll view such that it does something when am scrolling up the nested scroll view for example displaying a toast showing scrolling up when am scrolling up nested scroll view and for displaying a toast showing scrolling down when am sc...
android|android-studio|android-nestedscrollview
1
2020-01-26T18:54:16.107Z
2,020
1
18
6
1,228
2
392
94
3
1
true
false
false
false
false
false
low
59,921,638
Change text color in navigation bar Android Studio with getSupportActionBar()
<p>is there an option to programatically change the navigation bar text color in Android Studio? I have changed the background color successfully in one line but I cannot change the text color. Sorry, very beginning at Android Studio :)</p> <p>here's how I changed the background color: </p> <pre><code> getSupportAct...
is there an option to programatically change the navigation bar text color in Android Studio? I have changed the background color successfully in one line but I cannot change the text color. Sorry, very beginning at Android Studio :) here's how I changed the background color: [CODE]
android|navbar|textcolor
0
2020-01-26T18:54:59.133Z
2,020
1
18
6
555
1
283
77
3
1
true
false
false
false
false
false
zero
59,921,745
Android Kivy JsonStore data.json does not persist across upgrades
<p>I'm using the JsonStore with a Kivy app</p> <pre><code>from kivy.storage.jsonstore import JsonStore stored_data = JsonStore('data.json') </code></pre> <p>On my PC, the store is preserved even if I rebuild the program.</p> <p>On my android phone, reloading the same apk file keeps the data, but any change to the pr...
I'm using the JsonStore with a Kivy app [CODE] On my PC, the store is preserved even if I rebuild the program. On my android phone, reloading the same apk file keeps the data, but any change to the program (and rebuild) seems to wipe the stored data. Am I doing something wrong, how can I keep the data through upgrades?
android|json|kivy|store
0
2020-01-26T19:07:15.940Z
2,020
1
19
6
197
1
320
65
4
1
true
false
false
false
false
false
zero
59,921,860
Restrict Retrofit/OkHttp to only Https
<p>I am developing an Android app which accesses different web services with retrofit. The base url is entered by the user in a field. Nevertheless, the client (retrofit or okhttp-client) should be limited to connecting to Https pages only. Is there a better way than checking the user input to see if they use the Https...
I am developing an Android app which accesses different web services with retrofit. The base url is entered by the user in a field. Nevertheless, the client (retrofit or okhttp-client) should be limited to connecting to Https pages only. Is there a better way than checking the user input to see if they use the Https sc...
android|https|retrofit2|okhttp
1
2020-01-26T19:19:34.650Z
2,020
1
19
6
76
0
325
38
4
0
false
true
false
false
false
false
low
59,921,907
Best practise for testing Android Deep Links navigation into activities
<p>I have an activity for holding a fragment. I created this for being able to run Deep Link to the profile. Also I pass PROFILE_ID as a query parameter. So the whole deep link looks this: "<strong>tigranes://home/profile?profileId=3545664</strong>".</p> <pre><code>class ProfileActivity : BaseActivity() { compani...
I have an activity for holding a fragment. I created this for being able to run Deep Link to the profile. Also I pass PROFILE_ID as a query parameter. So the whole deep link looks this: " tigranes://home/profile?profileId=3545664 ". [CODE] So my question is what will be the best strategy for writing test checking if th...
android|unit-testing|kotlin|deep-linking|android-testing
1
2020-01-26T19:25:12.557Z
2,020
1
19
6
852
1
456
71
5
1
true
false
false
false
false
false
low
59,921,981
how to make one back-end and database for two android apps
<p>I want to make two android apps with java one for the buyer and one for the seller each one has its front-end but they share the same back-end and database, and I want to add the feature that allows buyers to communicate with the seller using realtime message, is there a way to implement this or it is impossible?</p...
I want to make two android apps with java one for the buyer and one for the seller each one has its front-end but they share the same back-end and database, and I want to add the feature that allows buyers to communicate with the seller using realtime message, is there a way to implement this or it is impossible?
java|android|firebase
0
2020-01-26T19:33:28.207Z
2,020
1
19
6
89
1
314
58
3
0
false
false
false
false
false
false
zero
59,921,998
Material Components Default to colorAccent instead of colorPrimary
<p>My <code>AppTheme</code> in <code>styles.xml</code> looks like this: </p> <pre><code> &lt;style name="AppTheme" parent="Theme.MaterialComponents.Light.NoActionBar"&gt; &lt;!-- Customize your theme here. --&gt; &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt; &lt;item name="...
My AppTheme in styles.xml looks like this: [CODE] I set this in Manifest as: [CODE] According to https://material.io/develop/android/components/ The default color applied to my widgets should be the defined colorPrimary, but mine are picking up colorAccent as the default color. For example, this button: [CODE] Am I mis...
android|material-design|android-button|material-components-android|material-components
2
2020-01-26T19:35:11.873Z
2,020
1
19
6
670
3
426
66
5
3
true
false
false
false
false
false
low
59,922,060
Build Failed while run-android
<p>I want to run my project on physical device. However while I run android Build failed. then getting an error.</p> <p><strong>Task :app:transformDexArchiveWithDexMergerForDebug FAILED</strong></p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-co...
I want to run my project on physical device. However while I run android Build failed. then getting an error. Task :app:transformDexArchiveWithDexMergerForDebug FAILED [CODE] NOTE: I am using 11. verison of jdk. It's just a hello world project. yesterday I builded smoothly for apk. How can I fix that problem ?
android|reactjs|react-native
0
2020-01-26T19:42:12.940Z
2,020
1
19
6
180
1
311
30
3
1
true
false
false
false
false
false
zero
59,922,340
How do I with Dagger inject an instance of a class which have a listener as its constructor argument?
<p>How would I inject an instance of <code>GetTodoRepository</code> to <code>MainViewModel</code> when <code>GetTodoRepository</code> requires a listener in its constructor? Obviously the easist solution would be to have <code>setListener()</code> instead of setting it in the constructor or using RxJava, but I would st...
How would I inject an instance of GetTodoRepository to MainViewModel when GetTodoRepository requires a listener in its constructor? Obviously the easist solution would be to have setListener() instead of setting it in the constructor or using RxJava, but I would still like to know how it would be done otherwise. MainVi...
java|android|dagger-2|dagger
1
2020-01-26T20:16:44.347Z
2,020
1
20
6
154
0
383
101
4
3
true
true
false
false
false
false
low
59,922,422
can't send http request on android release apk (built in react-native)
<p>I am sending an HTTP request with dummy username and password to test the my App. </p> <p>On working with non-release variants i.e <code>react-native run-android</code>, I am capable of sending http requests to the server and receive a token, thus, logging in. However, this is not true when I try it on the release ...
I am sending an HTTP request with dummy username and password to test the my App. On working with non-release variants i.e react-native run-android , I am capable of sending http requests to the server and receive a token, thus, logging in. However, this is not true when I try it on the release version of the apk react...
javascript|android|react-native
0
2020-01-26T20:26:29.770Z
2,020
1
20
6
2,193
1
405
70
3
1
true
false
false
false
false
false
zero
59,922,464
Android Studio IDE: how to debug through my code only in Flutter?
<p>In Android Studio, I want to debug only my code, but step in to keep taking into dependency library. I see <a href="https://stackoverflow.com/questions/19486163/android-studio-how-to-debug-through-my-code-only">question</a> , <a href="https://stackoverflow.com/questions/33604163">also</a> , but they don't solve the ...
In Android Studio, I want to debug only my code, but step in to keep taking into dependency library. I see question , also , but they don't solve the problem. I could not find a way to not debug into message_codecs.dart, message_codecs.dart or method_channel_firebase_auth.dart (firebase_auth_platform_interface-1.1.2). ...
android-studio|debugging|flutter|dart|step-into
5
2020-01-26T20:31:14.163Z
2,020
1
20
6
830
3
525
65
5
0
false
false
false
false
false
false
low
59,922,499
How to pass a method of xamarin.android specific functionnality to a xamarin.forms using DependencyService and a delegate of Interface?
<p>I am using the following resource <a href="https://msicc.net/how-to-avoid-a-distorted-android-camera-preview-with-zxing-net-mobile/" rel="nofollow noreferrer">https://msicc.net/how-to-avoid-a-distorted-android-camera-preview-with-zxing-net-mobile/</a> to solve resoultion destortion of zxing barcode scanner. I arrive...
I am using the following resource https://msicc.net/how-to-avoid-a-distorted-android-camera-preview-with-zxing-net-mobile/ to solve resoultion destortion of zxing barcode scanner. I arrived at the point where the method SelectLowestResolutionMatchingDisplayAspectRatio is implemented in the android project but I need to...
c#|xamarin.forms|xamarin.android|delegates|zxing.net
3
2020-01-26T20:35:39.590Z
2,020
1
20
6
473
1
888
135
5
3
true
false
false
false
false
false
low
59,922,543
Recycler View and Cards Creating Multiple Copies When Scroll
<p>I am trying to make a bottom sheet with a recyclerview with cards. I was able to put the the cards within the bottom sheet but I am having problems with the recyclerview. As shown in the photo, it creates multiple bottom sheets with the cards within them. I have tried to fix this but so far have no luck. How can I m...
I am trying to make a bottom sheet with a recyclerview with cards. I was able to put the the cards within the bottom sheet but I am having problems with the recyclerview. As shown in the photo, it creates multiple bottom sheets with the cards within them. I have tried to fix this but so far have no luck. How can I make...
android|android-studio|android-layout|kotlin|android-cardview
1
2020-01-26T20:41:11.187Z
2,020
1
20
6
86
2
574
60
5
4
true
false
false
false
false
false
low
59,922,561
How to find nearby places using new places sdk for android?
<p>I am trying to apply the new library that android added after 29,January 2019. All the old apps are using maps and places sdk are their methods are deprecated. I have tried to read all the new docs but it seems that the new library doesn't support nearby search but only current location. Correct me if I am wrong, pl...
I am trying to apply the new library that android added after 29,January 2019. All the old apps are using maps and places sdk are their methods are deprecated. I have tried to read all the new docs but it seems that the new library doesn't support nearby search but only current location. Correct me if I am wrong, pleas...
android|google-maps|google-places-api
3
2020-01-26T20:43:21.747Z
2,020
1
20
6
5,451
1
322
59
3
0
false
false
true
false
false
false
low
59,922,597
Firebase Messaging turning Android Device Screen Black
<p>I have written a Firebase Cloud Function to send a notification. After successfully sending the notification (as per logs), when I swipe down the notification bar to check Notifications in my Android Phone, the screen turns black. This is some weird behavior and has been happening with both the devices I tried this....
I have written a Firebase Cloud Function to send a notification. After successfully sending the notification (as per logs), when I swipe down the notification bar to check Notifications in my Android Phone, the screen turns black. This is some weird behavior and has been happening with both the devices I tried this. [C...
android|firebase-cloud-messaging
0
2020-01-26T20:46:54.127Z
2,020
1
20
6
208
2
366
54
2
2
true
false
false
false
false
false
zero
59,922,732
Pass ListView values to multiple EditText in another Activity
<p>I have an Activity that has two clickable EditTexts and I am trying to pass value from two different ListView Activities. Every time I try to populate value to the second EditText, the value of the other EditText is cleared.</p> <p>I need help in figuring out where I am wrong and a possible resolution.</p> <p>This...
I have an Activity that has two clickable EditTexts and I am trying to pass value from two different ListView Activities. Every time I try to populate value to the second EditText, the value of the other EditText is cleared. I need help in figuring out where I am wrong and a possible resolution. This is the code for th...
java|android|android-studio|listview
0
2020-01-26T21:05:28.583Z
2,020
1
21
6
102
1
452
61
4
3
true
false
false
false
false
false
zero
59,922,777
Android Studio: illegal start of type
<p>When I build my project, the error "illegal start of type" pop ..</p> <p>I suppose the line who creates problem is the last <code>Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();</code></p> <p>Everything works excepts this</p> <p>Thanks</p> <p>MainActivity</p> <pre><code>package com.example.pilotage; impo...
When I build my project, the error "illegal start of type" pop .. I suppose the line who creates problem is the last Toast.makeText(this, msg, Toast.LENGTH_SHORT).show(); Everything works excepts this Thanks MainActivity [CODE]
java|android-studio
-1
2020-01-26T21:11:48.533Z
2,020
1
21
6
589
1
227
37
2
1
true
false
false
false
false
true
negative
59,922,891
Notification actions are not shown in service notification
<p>I have a notification for a foregroundservice with 2 Actions, but they are not shown when I start the Service. I also can not expand the notification. Here ist my Code:</p> <pre><code>if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) { registerNotificationChannel(); //sendMessageToNotif...
I have a notification for a foregroundservice with 2 Actions, but they are not shown when I start the Service. I also can not expand the notification. Here ist my Code: [CODE]
android|service|notifications
0
2020-01-26T21:27:05.917Z
2,020
1
21
6
61
0
175
58
3
1
true
true
false
false
false
false
zero
59,923,064
Why doesn't Flow.onCompletion get called for ConflatedBroadcacstChannel.asFlow()?
<p>In <a href="https://codelabs.developers.google.com/codelabs/advanced-kotlin-coroutines/#0" rel="nofollow noreferrer">the new Android code lab for Coroutines+Flow/LiveData</a> you update a LiveData api to use Flow, but I noticed some unintended behavior around <code>onCompletion</code> not getting called as expected....
In the new Android code lab for Coroutines+Flow/LiveData you update a LiveData api to use Flow, but I noticed some unintended behavior around onCompletion not getting called as expected. The LiveData code we are replacing: [CODE] The Flow code we get at the end of the code lab: [CODE] When you run the Flow the spinner ...
android|kotlin|kotlin-coroutines|kotlin-flow
4
2020-01-26T21:50:08.737Z
2,020
1
21
6
1,448
0
852
81
4
2
true
true
false
false
false
false
low
59,923,114
why do i get this error MeteorWebApp: Asset /socket.io/ not found in bundle?
<p>I'm having an issue, I'm running <code>meteor 1.8.1</code> with <code>vue</code>. My app runs okay on web no errors , but when i compile the app for android i get this error in the console MeteorWebApp: Asset /socket.io/ not found in bundle. the app crashes and I'm not sure where to begin.</p> <p>My packages </p> ...
I'm having an issue, I'm running meteor 1.8.1 with vue . My app runs okay on web no errors , but when i compile the app for android i get this error in the console MeteorWebApp: Asset /socket.io/ not found in bundle. the app crashes and I'm not sure where to begin. My packages [CODE] Plugins installed [CODE] METEOR@1.8...
android|cordova|vue.js|meteor
1
2020-01-26T21:58:47.003Z
2,020
1
21
6
271
0
322
76
4
2
true
true
false
false
false
false
low
59,923,128
Firebase cpp linking with clang++ android
<p>I recently learnt that android is soon switching from gcc to clang and I compiled by download ndk 19.0 and the firebase 6.9.0. But when I try to build my project, I get a bunch of ~129 errors and I'm about to give up and continue using gcc( with gcc, everything is fine) here is my log </p> <pre><code>D:\mashmellow\...
I recently learnt that android is soon switching from gcc to clang and I compiled by download ndk 19.0 and the firebase 6.9.0. But when I try to build my project, I get a bunch of ~129 errors and I'm about to give up and continue using gcc( with gcc, everything is fine) here is my log [CODE] Im using Qt 5.14 i really n...
android|firebase|qt|gcc|clang
0
2020-01-26T22:00:55.370Z
2,020
1
22
6
747
1
333
41
5
1
true
false
false
false
false
false
zero
59,923,154
Share viewmodel between multiple fragments in Bottom Navigation with Android Navigation Component
<p>I have app, where i'm using fragment with navHost and connected navigation graph to it. This fragment, let's call it main fragment needs to download some data, that will be used by each of the tabs in bottom navigation. This looks like perfect usage of Shared ViewModel.</p> <p>But there is no obvious way of using i...
I have app, where i'm using fragment with navHost and connected navigation graph to it. This fragment, let's call it main fragment needs to download some data, that will be used by each of the tabs in bottom navigation. This looks like perfect usage of Shared ViewModel. But there is no obvious way of using it with bott...
android|mvvm|viewmodel|android-architecture-components|android-navigation
2
2020-01-26T22:04:10.373Z
2,020
1
22
6
1,614
1
947
97
5
2
true
false
false
false
false
false
low
59,923,179
What is the best way to declare a bunch of drawables (Kotlin)?
<p>I have a lot of vector icons as XML drawable resources (96 to be exact). I display them in 8 categories. Currently i declared them as follows:</p> <pre><code>private val categoryA = arrayListOf(R.drawable.a1, ... R.drawable.an) private val categoryB = arrayListOf(R.drawable.b1, ... R.drawable.bn) *** private val ca...
I have a lot of vector icons as XML drawable resources (96 to be exact). I display them in 8 categories. Currently i declared them as follows: [CODE] Everything works fine and fast, but i am not sure if that is a good way for a real app. I also use Room DB for other purposes in the app, so should i add new table and pr...
android|kotlin|drawable|xml-drawable
0
2020-01-26T22:08:48.483Z
2,020
1
22
6
211
1
510
62
4
1
true
false
false
false
false
false
zero
59,923,242
In recyclerview, how do I get each event to open new activities?
<p>I am new at coding and have been using a combination of headfirst java and youtube tutorials to create my first app. I am stuck on trying to get each event to open on their own activities. At this point, they open up the same activity. I implemented onclicklistener and adapter. I have been racking my brains as to...
I am new at coding and have been using a combination of headfirst java and youtube tutorials to create my first app. I am stuck on trying to get each event to open on their own activities. At this point, they open up the same activity. I implemented onclicklistener and adapter. I have been racking my brains as to what ...
java|android-recyclerview|onclicklistener
0
2020-01-26T22:14:50.753Z
2,020
1
22
6
20
1
384
64
3
3
true
false
false
false
false
false
zero
59,923,246
Cannot Successfully Generate Model files Using Amplify for Android
<p><strong>Expected Results</strong> Java classes for the models in <code>schema.graphql</code> are created. </p> <p><strong>Actual Results</strong> I get this message:</p> <blockquote> <p>Error: No AppSync API configured. Please add an API</p> </blockquote> <p><strong>What I have tried</strong></p> <p>As sugges...
Expected Results Java classes for the models in schema.graphql are created. Actual Results I get this message: Error: No AppSync API configured. Please add an API What I have tried As suggested in the Amplify API documentation , have tried to execute amplify codegen models from the project directory. As suggested in th...
android|amazon-web-services|aws-amplify|aws-appsync|aws-amplify-sdk-android
6
2020-01-26T22:15:05.213Z
2,020
1
22
6
1,056
0
731
66
5
2
true
true
false
false
false
false
medium
59,923,495
Background service stops after 20 sec after destroy app in Android 10 java
<p>i have an app that detects the location in the background. In the devices with android 9 (api 28) or lower it works, but in android 10 it stops after 20 sec </p> <p>there is some code</p> <p>how i call the service</p> <pre><code>Intent intent = new Intent(getApplicationContext(), GoogleService.class); startServic...
i have an app that detects the location in the background. In the devices with android 9 (api 28) or lower it works, but in android 10 it stops after 20 sec there is some code how i call the service [CODE] main activity [CODE] google service [CODE]
java|android|service|background-process|android-10.0
1
2020-01-26T22:54:13.180Z
2,020
1
22
6
1,085
1
248
74
5
3
true
false
false
false
false
false
low
59,923,592
Firebase notification setSound() not working with React-Native
<p>i'm trying to create a channel to receive notification with sound, i'm sending the notificatiton from the <strong>Firebase Cloud Messaging</strong> and i setted the Sound to Actived. I do have a file inside <strong>android/app/src/main/res/raw named alert.mp3</strong> and i've tried to use <strong>.setSound('alert.m...
i'm trying to create a channel to receive notification with sound, i'm sending the notificatiton from the Firebase Cloud Messaging and i setted the Sound to Actived. I do have a file inside android/app/src/main/res/raw named alert.mp3 and i've tried to use .setSound('alert.mp3') . Here's my current code: [CODE]
android|reactjs|firebase|react-native|push-notification
0
2020-01-26T23:10:37.517Z
2,020
1
23
6
264
1
312
62
5
1
true
false
false
false
false
false
zero
59,923,597
Android Vector image is becoming pixelated after scaling/zooming
<p>I have a vector xml (derived from an SVG) that I'm drawing via an ImageView on a FrameLayout, zoomed in. It's noticeably pixelated, even though the source is a vector. I've tried playing with the scaleType attribute, and the properties of the vector, and nothing seems to address the issue.</p> <p>The layout is simp...
I have a vector xml (derived from an SVG) that I'm drawing via an ImageView on a FrameLayout, zoomed in. It's noticeably pixelated, even though the source is a vector. I've tried playing with the scaleType attribute, and the properties of the vector, and nothing seems to address the issue. The layout is simple: [CODE] ...
android|svg|vector|imageview|android-vectordrawable
1
2020-01-26T23:11:26.937Z
2,020
1
23
6
196
1
365
64
5
2
true
false
false
false
false
false
low
59,923,623
How to properly initialize value from firebase with model class
<p>I am making a firebase app where the user is able to rate another user. I am occasionally getting a null pointer on this like of code:</p> <pre><code>averageStars+=Double.parseDouble(rate.getRates()); </code></pre> <p>I seem to mess things up like this often, where I create a model class and then somehow never ini...
I am making a firebase app where the user is able to rate another user. I am occasionally getting a null pointer on this like of code: [CODE] I seem to mess things up like this often, where I create a model class and then somehow never initialize it. However, even with some research, I am not sure why these are not con...
java|android|firebase-realtime-database
0
2020-01-26T23:15:57.057Z
2,020
1
23
6
174
2
621
63
3
5
true
false
false
false
false
false
zero
59,923,627
cannot access DataBindingComponent dagger 2
<p>I want to inject data binding to activity using Dagger 2. I have a problem with its. I don't understand what is wrong.</p> <p><strong>ERROR</strong></p> <pre><code>cannot access DataBindingComponent class file for androidx.databinding.DataBindingComponent not found </code></pre> <p>And my code: </p> <p><strong>M...
I want to inject data binding to activity using Dagger 2. I have a problem with its. I don't understand what is wrong. ERROR [CODE] And my code: MainActivity.kt [CODE] StepperApplication.kt [CODE] StepperComponent.kt [CODE] ContextModule.kt [CODE] ActivityMainModule.kt [CODE] ActivityMainComponent.kt [CODE] Gradle [COD...
android|kotlin|dagger-2|android-databinding
1
2020-01-26T23:16:30.937Z
2,020
1
23
6
538
0
388
43
4
9
true
true
false
false
false
false
low
59,924,065
databind slider in xml
<p>I'm developing an application using MVVM and have successfully been able to add simple ui elements like button and textinput but now I'm trying to figure out how to bind a <a href="https://material.io/components/sliders/" rel="nofollow noreferrer">material slider</a>. </p> <p>I've been reading up on <a href="https:...
I'm developing an application using MVVM and have successfully been able to add simple ui elements like button and textinput but now I'm trying to figure out how to bind a material slider . I've been reading up on listener bindings and while the xml at a glance appeared to have let me dp the below app:onChange to resem...
android|kotlin|mvvm
0
2020-01-27T00:33:38.153Z
2,020
1
0
0
1,244
1
733
22
3
3
true
false
false
false
false
false
zero
59,924,140
Android Java AsyncTask executes twice after activity restarts
<p>I am using some AsyncTasks in background for purposes in my Native Android Java application, however when i click the button "Apply changes and Restart Activity", once the activity is restarted AsyncTasks execute twice. this is really strange. because i have some monitoring purposes with AsyncTasks, so i used <code>...
I am using some AsyncTasks in background for purposes in my Native Android Java application, however when i click the button "Apply changes and Restart Activity", once the activity is restarted AsyncTasks execute twice. this is really strange. because i have some monitoring purposes with AsyncTasks, so i used new MyAsy...
java|android|android-studio
0
2020-01-27T00:49:49.023Z
2,020
1
0
0
68
3
595
61
3
0
false
false
false
false
false
false
zero
59,924,194
Back button always triggers previous activity's onCreate() unless launchMode is singleTop
<p>The <a href="https://developer.android.com/guide/components/activities/tasks-and-back-stack" rel="nofollow noreferrer">official Android documentation</a> states the following:</p> <blockquote> <p><img src="https://developer.android.com/images/fundamentals/diagram_backstack.png"></p> <p><strong>Figure 1.</strong> A r...
The official Android documentation states the following: Figure 1. A representation of how each new activity in a task adds an item to the back stack. When the user presses the Back button, the current activity is destroyed and the previous activity resumes. However, whenever I start at Activity A, use an intent to ope...
android|kotlin|android-intent|android-activity|android-lifecycle
2
2020-01-27T01:00:54.163Z
2,020
1
1
0
356
0
1,097
89
5
3
true
true
false
false
false
false
low
59,924,302
Fragment webView can't detect Google Map (Your Location)
<p>While browsing using webView, the google map failed to detect "Your location". How to support and enable GeoLocation on webView environment, which can detect your location. Perhaps there's additional code i need to add on the Java? I'm using webView in a Fragment. So far, the google map itself can be load successfu...
While browsing using webView, the google map failed to detect "Your location". How to support and enable GeoLocation on webView environment, which can detect your location. Perhaps there's additional code i need to add on the Java? I'm using webView in a Fragment. So far, the google map itself can be load successfully....
java|android|webview|geolocation|gps
0
2020-01-27T01:25:39.070Z
2,020
1
1
0
91
1
367
56
5
2
true
false
false
false
false
false
zero
59,924,321
How to create a service that never stops running even if the app is closed by the user (e.g. instagram, whatsapp, facebook)?
<p>I'm building an app that uses MQTT protocol to receive a message if a button connected to ESP8266 is pressed (like an alarm system). I'm showing a Toast to indicate that the app received the message from the MQTT Broker that the button was pressed and it works fine so far, even if the app is minimized.</p> <p>If I ...
I'm building an app that uses MQTT protocol to receive a message if a button connected to ESP8266 is pressed (like an alarm system). I'm showing a Toast to indicate that the app received the message from the MQTT Broker that the button was pressed and it works fine so far, even if the app is minimized. If I close the a...
android|service|android-service|mqtt
0
2020-01-27T01:29:37.937Z
2,020
1
1
0
170
2
1,196
124
4
0
false
false
false
false
false
false
zero
59,924,411
NavigationComponent navigation within a BottomSheetDialogFragment
<p>Can Android's Navigation Component be used for navigation WITHIN a BottomSheet (i.e. replacing/adding fragments within a single bottom sheet)? </p> <p>I know how to launch a <code>BottomSheetDialogFragment</code> using the <code>&lt;dialog&gt;</code> tag within a Navigation Graph. For example, the below <code>nav_g...
Can Android's Navigation Component be used for navigation WITHIN a BottomSheet (i.e. replacing/adding fragments within a single bottom sheet)? I know how to launch a BottomSheetDialogFragment using the <dialog> tag within a Navigation Graph. For example, the below nav_graph.xml allows the user to navigate from one Bott...
android|android-architecture-components|android-jetpack|android-navigation|android-navigation-graph
13
2020-01-27T01:47:25.793Z
2,020
1
1
0
3,732
1
725
65
5
1
true
false
true
false
true
false
medium
59,924,427
ScrollView with Accordion Lists overflowing navigator boundaries
<p>I need to use <code>ScrollView</code> because of the amount of data shown on the screen.<br> However, when it is first shown, the accordion lists are all collapsed. After any of them are expanded by a user click, the <code>ScrollView</code> (which is inside a flex layout) expands over the boundaries of the bottom na...
I need to use ScrollView because of the amount of data shown on the screen. However, when it is first shown, the accordion lists are all collapsed. After any of them are expanded by a user click, the ScrollView (which is inside a flex layout) expands over the boundaries of the bottom navigator bar. I wanted to limit it...
javascript|android|react-native|react-navigation
0
2020-01-27T01:52:46.713Z
2,020
1
1
0
449
1
595
64
4
1
true
false
false
false
false
false
zero
59,924,635
App Update without needing PlayStore like Facebook
<p>Apps that under Facebook can do update automatically without needing PlayStore. As I recall this is against PlayStore policy to do, so why this is still exist then? Is this feature has something to do with the React framework?</p> <p>I also read some post on Reddit <a href="https://www.reddit.com/r/Android/comments...
Apps that under Facebook can do update automatically without needing PlayStore. As I recall this is against PlayStore policy to do, so why this is still exist then? Is this feature has something to do with the React framework? I also read some post on Reddit here and blog that says apps that are distributed in PlayStor...
android|react-native|google-play
2
2020-01-27T02:38:20.157Z
2,020
1
2
0
119
2
378
50
3
0
false
false
false
false
false
false
low
59,924,712
Android Gradle issue?
<p>I imported an application in Android studio(the newest Android Studio version), and I tried everything like: uninstall and install the JDK again, re-apply for each library, updating the SDK manager, the code is before 5-6 years ago, so now im trying to update the Gradle and I couldn't fix this issue.</p> <p>build.gr...
I imported an application in Android studio(the newest Android Studio version), and I tried everything like: uninstall and install the JDK again, re-apply for each library, updating the SDK manager, the code is before 5-6 years ago, so now im trying to update the Gradle and I couldn't fix this issue. build.gradle(modul...
android|android-studio|gradle
0
2020-01-27T02:56:29.283Z
2,020
1
2
0
457
3
405
21
3
4
true
false
false
false
false
false
zero
59,924,737
How to avoid Null Pointer Exception in Two Activities Communication
<p>I'm trying to call a method that is inside another class that will populate TextViews when an item is clicked inside AutoCompleteTextView that is also inside an AlertDialogInput.</p> <p>But my app crashes when I click an Item.</p> <p>I'm new in android development so any help would be pretty much appreciated.</p> ...
I'm trying to call a method that is inside another class that will populate TextViews when an item is clicked inside AutoCompleteTextView that is also inside an AlertDialogInput. But my app crashes when I click an Item. I'm new in android development so any help would be pretty much appreciated. Custom Alert Dialog Ale...
android|android-alertdialog
2
2020-01-27T03:00:36.517Z
2,020
1
3
0
81
4
980
67
2
6
true
false
false
false
false
false
low
59,924,764
constraintlayout margin not getting applied
<p>I have a margin applied to a <code>constraintlayout</code> in order for widgets to stop touching edges of the screen, like below</p> <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto...
I have a margin applied to a constraintlayout in order for widgets to stop touching edges of the screen, like below [CODE] Although things show up correctly in design pane, but when I ran the app, there is no margin applied. I tried to reproduce the issue in a new project but there margin was applying correctly. What I...
android|android-constraintlayout|layoutmargins
1
2020-01-27T03:07:21.493Z
2,020
1
3
0
322
0
460
43
3
1
true
true
false
false
false
false
low
59,924,794
How to install ffmpeg for android studio?
<p>Hi I'm trying to do a project in video processing. I want to demux and mux the videos from an mp4 container. I did it with MediaMuxer and all but now whenever i search everyone is recommending ffmpeg will be much easier. So I want to try this library. But for the life of me I can't figure out how to use this library...
Hi I'm trying to do a project in video processing. I want to demux and mux the videos from an mp4 container. I did it with MediaMuxer and all but now whenever i search everyone is recommending ffmpeg will be much easier. So I want to try this library. But for the life of me I can't figure out how to use this library. I...
java|android-studio|ffmpeg|video-processing
1
2020-01-27T03:13:47.793Z
2,020
1
3
0
1,839
1
661
41
4
0
false
false
false
false
false
false
low
59,924,796
Indonesian Text To Speech
<p>I have problem with Indonesia text to speech, this is my code</p> <pre><code>public class ButtonListener { private final TextToSpeech mTextToSpeech; private final DictionaryFragment mDictionaryFragment; private final DictionaryTypeState mDictionaryTypeState; @BindView(R.id.search_words) EditText mEditText; publi...
I have problem with Indonesia text to speech, this is my code [CODE] I made a dictionary application, that can use English and Indonesian text to speech , I made a code for Indonesian, but what appears in the emulator is always English, is there something missing in my code? I beg for your help
android
1
2020-01-27T03:14:40.150Z
2,020
1
3
0
213
3
295
25
1
1
true
false
false
false
false
false
low
59,924,847
How to create an android app for store's digital scale
<p>Is there any way to write an app for store's digital scales , to get some data like weight , price ... and generate a QR code to pay for the shopping basket ? the digital scale has WiFi , QRCode reader port and printer . and i wanna connect the digital scale to android tablet .</p> <p>this is the device picture :<a...
Is there any way to write an app for store's digital scales , to get some data like weight , price ... and generate a QR code to pay for the shopping basket ? the digital scale has WiFi , QRCode reader port and printer . and i wanna connect the digital scale to android tablet . this is the device picture :
java|android|qr-code
0
2020-01-27T03:27:35.557Z
2,020
1
3
0
245
0
307
54
3
0
false
true
false
false
false
false
zero
59,925,037
How to detect shake level perfectly across all android devices?
<p>I want to perform a certain task when a shake is detected through an accelerometer but the problem is every device's sensitivity level is different. For example: look at this code on sensor changed `</p> <pre><code>public void onSensorChanged(SensorEvent event) { float[] values = event.values; // Movement ...
I want to perform a certain task when a shake is detected through an accelerometer but the problem is every device's sensitivity level is different. For example: look at this code on sensor changed ` [CODE] For my Nokia 6.1 the shake detection is min 1 to max 10 and if the value is above 10 nothing will be detected, fo...
java|android|accelerometer|android-sensors
2
2020-01-27T04:08:35.757Z
2,020
1
4
0
468
1
861
63
4
1
true
false
false
false
false
false
low
59,925,123
Android: Best practice for logging sequential events of a user in production?
<p>I am an amateur developer and I am wondering how to record all events of a user in my production app for debugging purposes of non-crash bugs. We would need to know sequentially how the user came to that point.</p> <p>I have looked into Firebase Analytics but it doesn't seem to sequentially record sequential user-s...
I am an amateur developer and I am wondering how to record all events of a user in my production app for debugging purposes of non-crash bugs. We would need to know sequentially how the user came to that point. I have looked into Firebase Analytics but it doesn't seem to sequentially record sequential user-specific eve...
android|firebase|firebase-analytics
0
2020-01-27T04:23:32.290Z
2,020
1
4
0
311
2
686
77
3
0
false
false
false
false
false
false
zero
59,925,129
play and stop sound by different button click in same time
<p>I tried with the following code. My app is a kids' learning app and there I set many sounds. While one button is clicked it's playing, but in the same time, another button click is not working before end of the first sound. I want to release the first sound while another button will click at the same time.</p> <pre...
I tried with the following code. My app is a kids' learning app and there I set many sounds. While one button is clicked it's playing, but in the same time, another button click is not working before end of the first sound. I want to release the first sound while another button will click at the same time. [CODE] Can y...
java|android|android-mediaplayer|media-player|onclicklistener
0
2020-01-27T04:24:40.747Z
2,020
1
4
0
61
1
384
58
5
1
true
false
false
false
false
false
zero
59,925,224
Android: Oncreate layout loading on network response
<p>My use-case requires the loading of layout setcontentview, depending on the network request and the response it receives, I have to load the view on the network response. For eg. *I have teacher layout and student layout. The decission is got from the network. Now the issue I face is when I make network call, it ru...
My use-case requires the loading of layout setcontentview, depending on the network request and the response it receives, I have to load the view on the network response. For eg. *I have teacher layout and student layout. The decission is got from the network. Now the issue I face is when I make network call, it runs o...
android
-2
2020-01-27T04:40:59.927Z
2,020
1
4
0
88
1
532
52
1
0
false
false
false
false
false
true
negative
59,925,288
FileDataStoreFactory and posix on android?
<p>I'm looking into making a simple calendar application on android and was thinking of using google calendar API, and target SDK 24 and up, but I see a potential problem, google doesn't have an equivalent implementation for <a href="https://developers.google.com/calendar/overview" rel="nofollow noreferrer">this</a> on...
I'm looking into making a simple calendar application on android and was thinking of using google calendar API, and target SDK 24 and up, but I see a potential problem, google doesn't have an equivalent implementation for this on android, but they do have a java implementation, which leads to another problem, a hidden ...
android|google-calendar-api
0
2020-01-27T04:53:22.173Z
2,020
1
4
0
295
2
978
42
2
1
true
false
false
false
false
false
zero