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
60,035,816
AOSP x86_64 Emulator not visible in Android Studio
<p>I am using AOSP emulator for testing my code. I downloaded the android10_release source code of AOSP in my pc. Then used the following commands</p> <pre><code>source build/envsetup.sh set_stuff_for_environment lunch aosp_x86_64-eng make -j6 emulator </code></pre> <p>now after running these commands I am succes...
I am using AOSP emulator for testing my code. I downloaded the android10_release source code of AOSP in my pc. Then used the following commands [CODE] now after running these commands I am successfully able to run emulator in my pc OS of my pc is Ubuntu 18.04 I also installed many libraries for working with AOSP like j...
android|android-studio|android-emulator|android-source
6
2020-02-03T08:52:27.190Z
2,020
2
8
0
3,161
2
887
50
4
3
true
false
true
false
false
false
medium
60,035,925
Can't find drawable/ic_stat_ic_launcher , color/petrol
<p><strong>The error I've got</strong> <a href="https://i.stack.imgur.com/IiR7c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IiR7c.png" alt="enter image description here"></a></p> <pre><code>* What went wrong: Execution failed for task ':app:processDebugResources'. &gt; Android resource linking f...
The error I've got [CODE] I just got this project, and trying to build but it's keep getting this not found error, the result from searching is some thing like miss copied from xml file but I don't know if that right. Need some help pleaseeeee EDIT This is the error show in the debug log [CODE]
android|react-native
0
2020-02-03T09:00:02.813Z
2,020
2
9
0
176
0
295
54
2
2
true
true
false
false
false
false
zero
60,036,014
Firebase dependency issue
<p>Hell everyone, i'm new to flutter and after some courses have been able to develop cool apps and design. But to take further my learning I was led to link FireStore with my android application. And when I do so, I get this error message, once I declare dependencies in the pubspect.yaml file:</p> <pre><code>&gt; Cou...
Hell everyone, i'm new to flutter and after some courses have been able to develop cool apps and design. But to take further my learning I was led to link FireStore with my android application. And when I do so, I get this error message, once I declare dependencies in the pubspect.yaml file: [CODE] HOW TO SOLVE IT? The...
android|gradle|flutter|google-cloud-firestore|flutter-dependencies
0
2020-02-03T09:06:24.647Z
2,020
2
9
0
1,136
1
390
25
5
2
true
false
false
false
false
false
zero
60,036,082
Config Glide library for caching
<p>How to set glide in the android project so that once images download to the app each time then displayed by the glide cache</p> <pre><code>Glide.with(context).load(url).into(imageView); </code></pre>
How to set glide in the android project so that once images download to the app each time then displayed by the glide cache [CODE]
java|android|android-glide
-2
2020-02-03T09:11:02.640Z
2,020
2
9
0
180
1
130
32
3
1
true
false
false
false
false
true
negative
60,036,211
How to get USB information by using "lsusb -v" in ADB shell?
<p>I can use <code>lsusb -v</code> command to pull the data about a USB Webcam and I can see all supported formats and resolutions in Terminal (Linux). </p> <p>But I am using an Android device too and I want to connect USB Webcam to that device and to see supported formats and resolutions in ADB shell. When I type <co...
I can use lsusb -v command to pull the data about a USB Webcam and I can see all supported formats and resolutions in Terminal (Linux). But I am using an Android device too and I want to connect USB Webcam to that device and to see supported formats and resolutions in ADB shell. When I type lsusb in ADB shell, the comm...
android|usb|adb|webcam|lsusb
4
2020-02-03T09:19:44.087Z
2,020
2
9
0
2,048
0
731
60
5
0
false
true
false
false
false
false
low
60,036,232
Firebase android impementation realtime database problem
<p>I had a problem when I try to implement <code>implementation 'com.google.firebase:firebase-database:19.2.1'</code> I added google-services.JSON fine but when I try to add realtime database library I found </p> <blockquote> <p>ERROR: Android dependency 'androidx.arch.core:core-runtime:2.0.0' is set to compileOnly/...
I had a problem when I try to implement implementation 'com.google.firebase:firebase-database:19.2.1' I added google-services.JSON fine but when I try to add realtime database library I found ERROR: Android dependency 'androidx.arch.core:core-runtime:2.0.0' is set to compileOnly/provided which is not supported I'm In r...
android|firebase|firebase-realtime-database
0
2020-02-03T09:21:12.747Z
2,020
2
9
0
78
2
445
56
3
1
true
false
false
false
false
false
zero
60,036,301
Why does adding connectycube to android project fail?
<p>I am adding the Connectycube sources to my Android project as indicated in here: <a href="https://developers.connectycube.com/android/?id=create-connectycube-app" rel="nofollow noreferrer">Connectycube Android</a></p> <p>I did the following changes in configuration as it was outlined.</p> <ul> <li><p>build.gradle ...
I am adding the Connectycube sources to my Android project as indicated in here: Connectycube Android I did the following changes in configuration as it was outlined. build.gradle of the whole project [CODE] build.gradle of the application [CODE] The project builds well. However when running the app, the app crashes in...
android|kotlin|connectycube
0
2020-02-03T09:25:43.623Z
2,020
2
9
0
201
1
396
53
3
3
true
false
false
false
false
false
zero
60,036,437
Andorid room two primaryKeys , one autoGenerate
<p>I want to have two primary keys, one should be autogenerated, I try do this:</p> <pre><code>@Entity(tableName = &quot;object_to_group&quot;, primaryKeys = {&quot;id&quot; , &quot;object_id&quot;},) public class ObjectsToGroup { @ColumnInfo(name = &quot;id&quot;,autoGenerate = true) public long id; </code></pre> <p>...
I want to have two primary keys, one should be autogenerated, I try do this: [CODE] but compilators show me error when I do this: [CODE] a compilator show me error, what I should to do?
android-room
0
2020-02-03T09:33:12.337Z
2,020
2
9
0
526
1
185
47
1
2
true
false
false
false
false
false
zero
60,036,504
Does repetitively calling a static method that enqueues a Retrofit network call maintain the value of the passed arguments correspondingly?
<pre><code> public static void sendFeedback(final Feedback feedback, final Context context) { Call&lt;MyServerResponse&gt; sendFeedbackCall = service.sendFeedback(feedback); sendFeedbackCall.enqueue(new Callback&lt;MyServerResponse&gt;() { @Override public void onResponse(@NonNull Call&lt;MySer...
[CODE] I am sending multiple objects of type Feedback to the server sequentially using Retrofit by calling the above static method from a for loop. When trying to access the passed argument which is feedback from inside the callback function, the IDE forced me to make the passed arguments as final. Assumption: Now assu...
java|android|retrofit|retrofit2
0
2020-02-03T09:37:16.590Z
2,020
2
9
0
132
2
1,122
139
4
1
true
false
false
false
false
false
zero
60,036,642
How to prevent an entire class from be modified by proguard?
<p>I need to keep com.package.app.helpers.GraphAdapterBuilder class</p> <p>I tried with:</p> <pre><code>-keep class com.package.app.helpers.GraphAdapterBuilder </code></pre> <p>and</p> <pre><code>-keep class com.package.app.helpers.GraphAdapterBuilder.** { *; } </code></pre> <p>But it seems that it's not working. What ...
I need to keep com.package.app.helpers.GraphAdapterBuilder class I tried with: [CODE] and [CODE] But it seems that it's not working. What is wrong?
java|android|proguard
0
2020-02-03T09:46:36.630Z
2,020
2
9
0
47
1
147
60
3
2
true
false
false
false
false
false
zero
60,036,654
Android spinner scroll to the top
<p>I have spinner with items created in <code>getDropDownView()</code> method. After the spinner is created I don't know why it scrolls to the last item in spinner (spinner is larger than whole screen view). What I have now what scrolls to the bottom:</p> <pre><code> spinner.adapter = adapter spinner.s...
I have spinner with items created in getDropDownView() method. After the spinner is created I don't know why it scrolls to the last item in spinner (spinner is larger than whole screen view). What I have now what scrolls to the bottom: [CODE] spinner.setSelection(-1) does not satisfy me cause it makes 1st item selected...
android|kotlin|spinner
1
2020-02-03T09:47:30.213Z
2,020
2
9
0
543
2
472
33
3
1
true
false
false
false
false
false
low
60,036,675
Android 8 receive of stop receiving media buttons events
<p>I have a service that listens to media buttons, but I only want to listen to those when my service is running since I have a button on the UI to start/stop the service.</p> <p>How can I achieve the following two actions:</p> <ul> <li>On MyService start-up, start receiving media button events to com.myApp/MyService...
I have a service that listens to media buttons, but I only want to listen to those when my service is running since I have a button on the UI to start/stop the service. How can I achieve the following two actions: On MyService start-up, start receiving media button events to com.myApp/MyService. On MyService end, stop ...
c#|android|xamarin|xamarin.android|android-8.0-oreo
0
2020-02-03T09:48:26.290Z
2,020
2
9
0
378
0
1,354
56
5
2
true
true
false
false
false
false
zero
60,036,788
How to bind image icon on ToolbarItem on Platform tag
<p>How to bind an image icon on the <code>ToolbarItem</code> OnPlatform tag in Xamarin.Forms</p> <p>This is my code:</p> <pre><code>&lt;ToolbarItem Icon="{OnPlatform iOS='iconscalendarplus64.png', Android='iconscalendarplus64.png'}" Priority="0" Order="Primary" Command="{Binding PrikaziCommand}" </...
How to bind an image icon on the ToolbarItem OnPlatform tag in Xamarin.Forms This is my code: [CODE] I am trying to bind images for the Android OnPlatform, but it is not working.
xamarin.forms|android-toolbar
1
2020-02-03T09:54:30.217Z
2,020
2
9
0
1,971
2
178
53
2
1
true
false
false
false
false
false
low
60,036,799
Array seems to be updating itself
<p>I am trying to create a simple, local tic tac toe game for some practice in android studio so just for fun I thought I'd add a button that allows the user to undo the last move played, all the way back to before the first move if they wanted. </p> <p>In order to do this, I have a 2 dimensional array that stores the...
I am trying to create a simple, local tic tac toe game for some practice in android studio so just for fun I thought I'd add a button that allows the user to undo the last move played, all the way back to before the first move if they wanted. In order to do this, I have a 2 dimensional array that stores the current sta...
java|android|arrays
-1
2020-02-03T09:55:05.370Z
2,020
2
9
0
128
1
2,472
33
3
2
true
false
false
false
false
true
negative
60,036,880
@subcomponent.factory method is missing parameters for required modules or subcomponents
<blockquote> <p>I am injecting Presenter to <strong>BookDashboard</strong>(Activity) and <strong>BookDashboardPresenter</strong> class require an <strong>MvpView</strong> <code>interface</code> in it's constructor .</p> </blockquote> <p>When i run</p> <p><strong>AppComponent</strong></p> <pre><code>@Component( ...
I am injecting Presenter to BookDashboard (Activity) and BookDashboardPresenter class require an MvpView interface in it's constructor . When i run AppComponent [CODE] ActivityBuilder.kt [CODE] BookEngineModule.kt [CODE] BookDashboardContract [CODE] BookDashboardPresenter.kt [CODE] BookDashboard -> Activity [CODE] But ...
kotlin|dependency-injection|dagger-2|android-mvp
3
2020-02-03T09:59:37.017Z
2,020
2
9
0
1,899
0
475
88
4
8
true
true
false
false
false
false
low
60,036,910
Do I really need a DiffUtil.ItemCallback to update my RecyclerView if its adapter uses reference to a MutableListView managed by a separate class?
<p>Let's say I have an adapter for a RecyclerView that looks like this:</p> <pre><code>class ContentAdapter( private val data: List&lt;ContentModel&gt;, private val itemSelectedListener: OnItemSelected&lt;ContentModel&gt;, private val activityUIFocusListener: ActivityUIFocusListener? ): RecyclerView.Adapte...
Let's say I have an adapter for a RecyclerView that looks like this: [CODE] The data variable in the constructor for this adapter references a MutableList<ContentModel> managed by another class, the BaseMediaListPagingPresenter : [CODE] More specifically, the dataContent in the above. Meanwhile, the Fragment implementi...
android|android-recyclerview|android-diffutils
0
2020-02-03T10:01:55.757Z
2,020
2
10
0
39
0
649
146
3
3
true
true
false
false
false
false
zero
60,036,978
How can I reference a text view that is created through code?
<pre><code>public TextView descriptionTextView(Context context, String text) { final ViewGroup.LayoutParams lparams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT); final TextView textView = new EditText(context); textView.setLayoutParams(lp...
[CODE] Here is the code that I have written for the TextView . I would like to reference it from another classes, or within the same class, but I cannot find a way to pin it down; as in I would like to change the value based on an input.
android|dynamic|reference|generated
1
2020-02-03T10:06:16.767Z
2,020
2
10
0
201
3
237
61
4
1
true
false
false
false
false
false
low
60,037,015
onKeyUp is not working when activity losses focus
<p><code>onKeyUp()</code> is not working when activity losses focus. But at the same time <code>onBackPressed()</code> is working. I am displaying toast in these methods. </p> <p>How can I use <code>onKeyUp()</code> if activity has not focus. Activity is losing focus due to an in app dialog. </p> <p>Please help!</p>...
onKeyUp() is not working when activity losses focus. But at the same time onBackPressed() is working. I am displaying toast in these methods. How can I use onKeyUp() if activity has not focus. Activity is losing focus due to an in app dialog. Please help! [CODE]
android|dialog
0
2020-02-03T10:08:45.817Z
2,020
2
10
0
293
1
262
49
2
1
true
false
false
false
false
false
zero
60,037,064
Moshi and Retrofit2 : Expected BEGIN_OBJECT but was STRING
<p>I'm facing this issue on my project. I receive from api call a response like:</p> <pre><code>{ "aResponse": { "listOfSomething": [ //here some data ] } } </code></pre> <p>And relative data classes are</p> <pre><code>data class ResponseClass( val aResponse : AResponse ) d...
I'm facing this issue on my project. I receive from api call a response like: [CODE] And relative data classes are [CODE] Not it happen that when "listOfSomething" is empty, i receive this response: [CODE] that throws (of course) the exception [CODE] How can i solve it?
android|json|kotlin|retrofit2|moshi
-2
2020-02-03T10:11:42.067Z
2,020
2
10
0
1,882
3
270
58
5
4
true
false
false
false
false
true
negative
60,037,103
why my callable cloud function will always fail even though it is finished with status code 200?
<p>so I have callable cloud function like this</p> <pre><code>exports.callableModeratorSendNotification = functions.https.onCall(async (data, context) =&gt; { try { const platform = data.platform const priority = data.priority const message = data.message const moderatorID = cont...
so I have callable cloud function like this [CODE] at the moment, that function is just to log the user ID. and that function will return 200 code like this in console but the problem is in the client side.... I am using Android to call that function, like this [CODE] and then use it like this [CODE] the problem is, ev...
android|firebase|google-cloud-functions
0
2020-02-03T10:14:01.670Z
2,020
2
10
0
72
0
903
96
3
4
true
true
false
false
false
false
zero
60,037,200
Android fragment crash after returning back to application
<p>I am student and i am working on Android plugin, which uses lifecycle observer, so my plugin just <strong>overlaying the app</strong> in which is implemented. I have to display some flow - set of fragments - to detect if user is suitable for our work.</p> <p>I have a problem, when user <strong>minimize app</strong>...
I am student and i am working on Android plugin, which uses lifecycle observer, so my plugin just overlaying the app in which is implemented. I have to display some flow - set of fragments - to detect if user is suitable for our work. I have a problem, when user minimize app when in flow (displaying some fragment), aft...
android|android-fragments|kotlin|crash|minimize
0
2020-02-03T10:19:37.303Z
2,020
2
10
0
107
0
701
58
5
0
false
true
false
false
false
false
zero
60,037,205
Long press Toolbar menu icon show gray text background
<p>I have Toolbar and I have menu items with icons and descriptions on it.</p> <p>When I do a long press on that icon it appears a pop up with a description for that menu item. </p> <p>The problem is that text in that pop up has a different color than the background color.</p> <p><a href="https://i.stack.imgur.com/G...
I have Toolbar and I have menu items with icons and descriptions on it. When I do a long press on that icon it appears a pop up with a description for that menu item. The problem is that text in that pop up has a different color than the background color. Here is toolbar.xml file code. [CODE] Here is the code for toolb...
android|android-toolbar|android-menu|android-touch-event
0
2020-02-03T10:19:50.833Z
2,020
2
10
0
238
1
506
54
4
2
true
false
false
false
false
false
zero
60,037,212
Kotlin Toast for a multi quiz
<p>I am a complete novice to Kotlin. I am currently trying to build a multiple question quiz in android studio and I would like to know how do I display a toast stating the answer is correct or incorrect once I click submit. I have started the toast in processSubmitButtonClick() but I'm confused on how to get it to kno...
I am a complete novice to Kotlin. I am currently trying to build a multiple question quiz in android studio and I would like to know how do I display a toast stating the answer is correct or incorrect once I click submit. I have started the toast in processSubmitButtonClick() but I'm confused on how to get it to know i...
android|kotlin|android-toast
0
2020-02-03T10:20:17.387Z
2,020
2
10
0
448
1
413
29
3
3
true
false
false
false
false
false
zero
60,037,236
LinearLayout not declaring
<p>I'm having trouble with the following code: </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;string name= "title_activity_driver_map" &gt;Map&lt;/string&gt;&lt;/LinearLayout&gt; </code></pre> <p>The LinearLayout is ...
I'm having trouble with the following code: [CODE] The LinearLayout is not declaring. I'm not sure why I've used the tag Linear Layout elsewhere on my project and it works fine with the same 1st line of code. Would appreciate any help :)
android|android-layout
0
2020-02-03T10:22:28.350Z
2,020
2
10
0
96
3
237
26
2
1
true
false
false
false
false
false
zero
60,037,272
How to disable switch camera feature (front/rear) when opened from my app programmatically
<p>In my app I want to open device's camera facing either front or back.</p> <p>Also I want to disable the switch camera option after the camera is opened.</p> <p>So if I open front camera I should not have the option to switch modes.</p> <p>Below is my code so far.</p> <pre><code>Intent intent = new Intent(MediaSt...
In my app I want to open device's camera facing either front or back. Also I want to disable the switch camera option after the camera is opened. So if I open front camera I should not have the option to switch modes. Below is my code so far. [CODE] How to disable switch camera feature (front/rear) when opened from my ...
android
4
2020-02-03T10:25:06.477Z
2,020
2
10
0
713
0
341
90
1
1
true
true
false
false
false
false
low
60,037,322
Profiler in react-native broken (V8 and systrace)
<p>I would like to see, which function is keeping my JS thread the most busy. But in any profiling option I just cant see any JS related stuff.</p> <h2>1) Profiling</h2> <p>The most useful would be the <a href="https://v8.dev/docs/profile" rel="nofollow noreferrer">V8 profiler</a>, which is accessible in debug mode (...
I would like to see, which function is keeping my JS thread the most busy. But in any profiling option I just cant see any JS related stuff. 1) Profiling The most useful would be the V8 profiler , which is accessible in debug mode (in Chrome DevTools or React Native Debugger). Somebody here suggests to look for debugge...
javascript|android|react-native
1
2020-02-03T10:27:48.870Z
2,020
2
10
0
630
1
1,062
49
3
0
false
false
false
false
false
false
low
60,037,337
How Android ViewModel insures that, it has to bind with the same Activity or Fragment(in case of Screen Rotation)?
<p>I am working on Android ViewModel right now. One Question keep arising in my mind. How ViewModel insures to rebind with the same Activity or Fragment, after screen rotation, despite of we are creating a new object in onCreate or onCreateView?</p> <p>Is anyone have proper answer for this, please let me know. I had t...
I am working on Android ViewModel right now. One Question keep arising in my mind. How ViewModel insures to rebind with the same Activity or Fragment, after screen rotation, despite of we are creating a new object in onCreate or onCreateView? Is anyone have proper answer for this, please let me know. I had tried to fin...
android|android-architecture-components|android-viewmodel|android-mvvm
1
2020-02-03T10:28:38.687Z
2,020
2
10
0
256
1
375
114
4
0
false
false
false
false
false
false
low
60,037,414
Android: Adding Frames to images
<p>I have two images. One is a simple image and the second is a fancy frame. I want to set the frame on the image. I searched through some blogs, but unable to find an answer. Could anyone tell me the idea or any concept about how to do that?</p>
I have two images. One is a simple image and the second is a fancy frame. I want to set the frame on the image. I searched through some blogs, but unable to find an answer. Could anyone tell me the idea or any concept about how to do that?
java|android|image|canvas|image-editing
0
2020-02-03T10:33:16.227Z
2,020
2
10
0
53
1
239
32
5
0
false
false
false
false
false
false
zero
60,037,440
"NDK not configured." in Visual Studio Code
<p>I'm trying to get the Moor library working for Flutter, but I'm getting this error.</p> <pre><code>FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':moor_ffi'. &gt; NDK not configured. Download it with SDK manager. </code></pre> <p>The example <a href="https:/...
I'm trying to get the Moor library working for Flutter, but I'm getting this error. [CODE] The example here is what I'm trying to run. I've downloaded the NDK in the Android Studio SDK manager.
visual-studio|flutter|android-ndk
0
2020-02-03T10:34:45.713Z
2,020
2
10
0
1,928
2
193
43
3
1
true
false
false
false
false
false
zero
60,037,515
Recording audio inside ionic 4 app using media-capture cordova plugin
<p>I'm trying to record audio inside ionic 4 app using media-capture cordova plugin, But the problem is when I hit the record button it opens an external recorder app and records the audio, then I can play it inside my app. I would like to record the audio inside my app itself without opening an external recorder. Plea...
I'm trying to record audio inside ionic 4 app using media-capture cordova plugin, But the problem is when I hit the record button it opens an external recorder app and records the audio, then I can play it inside my app. I would like to record the audio inside my app itself without opening an external recorder. Please ...
javascript|android|ios|cordova|ionic4
2
2020-02-03T10:39:21.957Z
2,020
2
10
0
6,535
2
569
69
5
2
true
false
true
false
false
false
low
60,037,519
force dark mode in android is not responding
<p>I am trying to implement dark theme as described <a href="https://developer.android.com/guide/topics/ui/look-and-feel/darktheme" rel="nofollow noreferrer">here</a>. So, I have created <code>arrays.xml</code> as:</p> <pre><code>&lt;resources&gt; &lt;array name="themes_labels"&gt; &lt;item&gt;"Default"&lt;/item...
I am trying to implement dark theme as described here . So, I have created arrays.xml as: [CODE] and this is my code to change the theme, which is not working, i.e., the theme is not changing, though the first Toast is giving correct value, where the 2nd Toast before switch gives some mysterious value like 16/32 etc. I...
android|android-theme
0
2020-02-03T10:39:45.830Z
2,020
2
10
0
1,173
1
456
44
2
2
true
false
false
false
false
false
zero
60,037,559
Task :react-native-gesture-handler:compileDebugJavaWithJavac FAILED
<p>I need to use react-native-scrollable-tab-view and accompanying that, I also installed/setup react-native-viewpager following this <a href="https://github.com/react-native-community/react-native-viewpager/blob/master/README.md#mostly-automatic" rel="nofollow noreferrer">link</a>. This error suddenly appeared and cur...
I need to use react-native-scrollable-tab-view and accompanying that, I also installed/setup react-native-viewpager following this link . This error suddenly appeared and currently, I still can't find a way to solve it. I hope someone encountered it already and help me. I just started working with React Native 1 wk ago...
java|android|ios|reactjs|react-native
0
2020-02-03T10:42:04.163Z
2,020
2
10
0
1,297
2
4,297
67
5
0
false
false
false
false
false
false
zero
60,037,578
How to change Actionbar title only change font, textsize, textcolor
<p>I don't know how to change only actionbar title text font <a href="https://i.stack.imgur.com/Vv340.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vv340.jpg" alt="enter image description here"></a></p> <p>this picture no font next picture font change together change bottom menubar font</p> <p>i ...
I don't know how to change only actionbar title text font this picture no font next picture font change together change bottom menubar font i want to change only actionbartitle text font At Result I want to change actionbartitle textsize, textcolor I don't know what to touch in my code [CODE]
android|android-studio
0
2020-02-03T10:42:55.433Z
2,020
2
10
0
79
2
293
67
2
1
true
false
false
false
false
false
zero
60,037,617
How to attach the Kotlin sources to android library project?
<p>I have an android library project (.aar file, not .jar), and attaching java sources with task</p> <pre><code>task androidSourcesJar(type: Jar) { classifier = 'sources' from android.sourceSets.main.java.sourceFiles } </code></pre> <p>But kotlin fource files are not showing up for users of my library. How can I ...
I have an android library project (.aar file, not .jar), and attaching java sources with task [CODE] But kotlin fource files are not showing up for users of my library. How can I add kotlin source files as well?
android|kotlin|android-library
0
2020-02-03T10:44:59.373Z
2,020
2
10
0
456
1
211
60
3
1
true
false
false
false
false
false
zero
60,037,645
Why the Share Tray Labeled Intent LinkedIn Icon not displayed while sharing content in Android 10 OS
<p>I am sharing plain/text via Intent share using Share tray read the package name from and filter the App in labeled intent. Some application is showing in that list and have Linkedin package name also in that list but not showing the Linkedin icon in share tray. Why that icon not displayed?</p> <p>Device: Samsung Ga...
I am sharing plain/text via Intent share using Share tray read the package name from and filter the App in labeled intent. Some application is showing in that list and have Linkedin package name also in that list but not showing the Linkedin icon in share tray. Why that icon not displayed? Device: Samsung Galaxy S10 OS...
java|android|share|linkedin
2
2020-02-03T10:47:08.210Z
2,020
2
10
0
319
1
366
100
4
1
true
false
false
false
false
false
low
60,037,670
android data binding generated classes error: package does not exist
<p>I migrated my project to androidx, The code doesn't have an error but once I try to re-build the project, I get the following error in the generated classes. <em>app/build/generated/data_binding_base_class_source_out/debug/dataBindingGenBaseClassesDebug</em> </p> <pre><code>error: package android.support.design...
I migrated my project to androidx, The code doesn't have an error but once I try to re-build the project, I get the following error in the generated classes. app/build/generated/data_binding_base_class_source_out/debug/dataBindingGenBaseClassesDebug [CODE] I've checked my gradle file and all the dependencies are update...
android
1
2020-02-03T10:48:32.047Z
2,020
2
10
0
353
1
359
68
1
2
true
false
false
false
false
false
low
60,037,743
What is the difference between "returning super.getItemId(position)" and just returning "return position"
<p>what is the difference between <code>returning super.getItemId(position)</code> and just returning <code>return position</code>?</p> <pre><code>@Override public long getItemId(int position) { return super.getItemId(position); } @Override public long getItemId(int position) { return position; } </code></pre...
what is the difference between returning super.getItemId(position) and just returning return position ? [CODE]
android|android-recyclerview
1
2020-02-03T10:52:23.760Z
2,020
2
10
0
106
1
110
105
2
1
true
false
false
false
false
false
low
60,037,851
Using JSONObject in Kotlin always throws an error
<p>I know that this question is asked hundreds of time, I've checked more than 30 answer and none worked for me.</p> <p>I'm running a unit test in android studio using Kotlin. I'm trying to build a <code>JSONObject</code> using a <code>String</code>. </p> <p>The method I'm using to build a simple json object is alway...
I know that this question is asked hundreds of time, I've checked more than 30 answer and none worked for me. I'm running a unit test in android studio using Kotlin. I'm trying to build a JSONObject using a String . The method I'm using to build a simple json object is always throwing Cannot evaluate org.json.JSONObjec...
android|kotlin
0
2020-02-03T10:58:50.623Z
2,020
2
10
0
1,323
1
914
49
2
2
true
false
false
false
false
false
zero
60,037,953
Change text color of Material TextView on surface and on background through theming
<p>I'm following Material Design's <a href="https://material.io/develop/android/theming/color/" rel="nofollow noreferrer">guidelines</a> on how to do color theming. We can alter some attributes that are already defined to customize the color and/or shape of a certain component. Some useful attributes that are pertinent...
I'm following Material Design's guidelines on how to do color theming. We can alter some attributes that are already defined to customize the color and/or shape of a certain component. Some useful attributes that are pertinent to color theming include: colorSurface (e.g. changes the fill color of the Material Card comp...
android|android-studio|material-design|android-theme|material-components-android
4
2020-02-03T11:06:15.373Z
2,020
2
11
0
2,427
0
1,621
83
5
1
true
true
false
false
false
false
low
60,038,086
When does FAB's color depend on colorAccent?
<p>According to <a href="https://developer.android.com/reference/com/google/android/material/floatingactionbutton/FloatingActionButton" rel="nofollow noreferrer">doc</a>, the color of the view defaults to our theme's <code>colorAccent</code>. I tried changing <code>colorAccent</code> in my styles resource file, but not...
According to doc , the color of the view defaults to our theme's colorAccent . I tried changing colorAccent in my styles resource file, but nothing happened: [CODE] So I tried changing colorSecondary instead: [CODE] And it worked. So my question is does it really depend on colorAccent ? If yes, when?
android|android-studio|android-theme|floating-action-button|material-components-android
5
2020-02-03T11:14:31.123Z
2,020
2
11
0
527
3
301
44
5
2
true
false
false
false
false
false
low
60,038,145
Unable to resume activity: not allowed to start service Intent, app is in background
<p>I haven't been able to reproduce this crash myself but I see a lot of crashes lately in Crashlytics. The crash only happens on Android 9 and greater:</p> <pre><code>Fatal Exception: java.lang.RuntimeException Unable to resume activity {co.whitesmith.flicks/co.whitesmith.flicks.media.audio.AudioPlayerActivity}: ...
I haven't been able to reproduce this crash myself but I see a lot of crashes lately in Crashlytics. The crash only happens on Android 9 and greater: [CODE] The stack trace: [CODE] I don't understand this crash. Why isn't it possible to start a service in the onResume() method? Isn't supposed to be in the foreground wh...
android|android-activity|android-service|android-9.0-pie
2
2020-02-03T11:18:02.857Z
2,020
2
11
0
1,026
2
361
84
4
2
true
false
false
false
false
false
low
60,038,159
vector path data in android studio
<p>I have created a new icon via vector asset but once I copy and paste it in any of path data in below I get wrong position in icon I have a paste any help to make it </p> <pre><code>&lt;vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="360dp" android:height="66dp" android:viewportHeigh...
I have created a new icon via vector asset but once I copy and paste it in any of path data in below I get wrong position in icon I have a paste any help to make it [CODE]
java|android|android-studio
-3
2020-02-03T11:18:55.853Z
2,020
2
11
0
108
1
171
34
3
1
true
false
false
false
false
true
negative
60,038,238
fetch the data from JSON data through URL and displaying it in android app using list view or recycler view
<p>I want to display the total data present in JSON URL without any third party libraries like Volley,Retrofit etc . But I was unable to get the full data and display it in the app, I was able to display objects only. My requirement is to call each and every array and its internal objects which I am unable to do it. Pl...
I want to display the total data present in JSON URL without any third party libraries like Volley,Retrofit etc . But I was unable to get the full data and display it in the app, I was able to display objects only. My requirement is to call each and every array and its internal objects which I am unable to do it. Pleas...
android|json|xml
-2
2020-02-03T11:23:27.667Z
2,020
2
11
0
382
1
462
107
3
4
true
false
false
false
false
true
negative
60,038,310
Intent for opening an URL doesn't work for one app but does for another
<p>My app wants to open a web link (like <a href="https://www.google.com" rel="nofollow noreferrer">https://www.google.com</a>) by means of this method:</p> <pre><code>public void openUrl(Activity activity, String urlParam) { String url = Uri.encode(urlParam); Intent browserIntent = new Intent(Intent.CATEGORY...
My app wants to open a web link (like https://www.google.com ) by means of this method: [CODE] I'm getting this error: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat= https://www.google.com } If I make the app call the chooser for the user to select an...
java|android|url|android-intent|android-gradle-plugin
0
2020-02-03T11:27:43.417Z
2,020
2
11
0
3,650
2
819
71
5
3
true
false
true
false
false
false
zero
60,038,330
How to load image from url into imageview in widget using picasso
<p>I tried to load the image into the imageview on the widget using Picasso but when i run imageview return blank, no image is displayed just white blank</p> <p><a href="https://i.stack.imgur.com/rWZSD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rWZSD.png" alt="blank image"></a></p> <p>this is ...
I tried to load the image into the imageview on the widget using Picasso but when i run imageview return blank, no image is displayed just white blank this is my code [CODE]
android-studio|kotlin|widget|picasso
3
2020-02-03T11:28:56.123Z
2,020
2
11
0
681
1
173
65
4
1
true
false
false
false
false
false
low
60,038,435
Android 10 - Activity is not opening when App is in background and in lock screen
<p>I am working on call application, In One plus devices (Android 10) When I doing call using twilio from one user to other user, I am getting notification of incoming call while app is in background and then I am starting Incoming call Screen using Incoming Activity but in One plus it is not working. In other devices ...
I am working on call application, In One plus devices (Android 10) When I doing call using twilio from one user to other user, I am getting notification of incoming call while app is in background and then I am starting Incoming call Screen using Incoming Activity but in One plus it is not working. In other devices bel...
android|push-notification|background|firebase-cloud-messaging|twilio-programmable-voice
0
2020-02-03T11:34:59.953Z
2,020
2
11
0
3,281
1
410
81
5
2
true
false
true
false
false
false
zero
60,038,644
What reasons does it have to sign apk?
<p>I knew it's only for managing application in google play store.<br/> But are there also other reasons to protect code from the decompiler?</p> <p>I wonder what is the right answer for this question in the interview.<br/> Anyone, who let me know the reasons why we should sign the application?</p>
I knew it's only for managing application in google play store. But are there also other reasons to protect code from the decompiler? I wonder what is the right answer for this question in the interview. Anyone, who let me know the reasons why we should sign the application?
android|signing
4
2020-02-03T11:47:23.530Z
2,020
2
11
0
100
1
275
38
2
0
false
false
false
false
false
false
low
60,038,650
Admob issue with amazon devices
<p>I have an android app submitted to google play with admob ads and working fine. I also submitted the same app to amazon app store. On amazon side the app doesn't show any ads! Should I look for the issue on my app or just google admob stop showing ads on amazon devices?!</p>
I have an android app submitted to google play with admob ads and working fine. I also submitted the same app to amazon app store. On amazon side the app doesn't show any ads! Should I look for the issue on my app or just google admob stop showing ads on amazon devices?!
android|admob|amazon
2
2020-02-03T11:48:05.957Z
2,020
2
11
0
1,144
4
271
31
3
0
false
false
false
false
false
false
low
60,038,667
How to confirm whether Android app is launched by DeepLink or normal launch?
<p>I have an application where I need to do different task on different launch types. How to detect that app has been launched by deeplink, when my app was in background.</p>
I have an application where I need to do different task on different launch types. How to detect that app has been launched by deeplink, when my app was in background.
android|deep-linking
6
2020-02-03T11:49:19.693Z
2,020
2
11
0
4,485
4
167
76
2
0
false
false
true
false
false
false
medium
60,038,888
Xamarin Forms Android & iOS Background Fetch
<p><strong><em>Hello everyone,</strong> I want to request to my rest api in Xamarin forms , download data and comparing it another one if it suits conditions existing a local notification on background while application is closed. How can i do this with a interval like two minutes on background? I’m researching few day...
Hello everyone, I want to request to my rest api in Xamarin forms , download data and comparing it another one if it suits conditions existing a local notification on background while application is closed. How can i do this with a interval like two minutes on background? I’m researching few days but i could not find a...
rest|xamarin.forms|xamarin.android|xamarin.ios|background-service
0
2020-02-03T12:03:26.533Z
2,020
2
12
0
801
1
362
44
5
0
false
false
false
false
false
false
zero
60,039,010
Observable.then() not working on real device
<p>I have an Ionic app that correctly works in the IonicLab, both while running and debugging it. </p> <p>The same code, when run or debugged on a real Android device, fails to initialize the argument in one of the <code>then()</code> callbacks of an <code>Observable</code>. Most other (I suspect all other) <code>Obs...
I have an Ionic app that correctly works in the IonicLab, both while running and debugging it. The same code, when run or debugged on a real Android device, fails to initialize the argument in one of the then() callbacks of an Observable . Most other (I suspect all other) Observable instances around my code do work cor...
android|angular|cordova|ionic-framework|observable
0
2020-02-03T12:12:19.550Z
2,020
2
12
0
51
0
790
44
5
0
false
true
false
false
false
false
zero
60,039,023
How to handle deep link in navigation component
<p>I have error while using deep link so it is:</p> <p>when click web-link app opens, after it should go to the history fragment but in my case i have fingerprint page, which after goes to home fragment, but i want it should go history page</p> <p>Thank you</p>
I have error while using deep link so it is: when click web-link app opens, after it should go to the history fragment but in my case i have fingerprint page, which after goes to home fragment, but i want it should go history page Thank you
android|deeplink
1
2020-02-03T12:13:06.107Z
2,020
2
12
0
472
1
240
47
2
0
false
false
false
false
false
false
low
60,039,062
NotificationManager.notify() not launching full-screen intent when screen is on
<p>I have an alarm clock app and since android 10 I have to use full-screen intents to trigger the alarms. When the device is off everything works great, but when the device is on it just shows a message at the top of the screen which the user can click on, and then it navigates to the screen it was supposed to launch ...
I have an alarm clock app and since android 10 I have to use full-screen intents to trigger the alarms. When the device is off everything works great, but when the device is on it just shows a message at the top of the screen which the user can click on, and then it navigates to the screen it was supposed to launch aut...
android|android-10.0
1
2020-02-03T12:16:15.093Z
2,020
2
12
0
215
0
393
79
2
1
true
true
false
false
false
false
low
60,039,068
Can someone help me understand what the problem is? its not showing the data correctly in the RecyclerView
<p>when the app is run everything is fine except that the data (Text) does not show how it's supposed to. It was working fine when the first run the app with this code but when I was making amendments to the code it somehow stopped displaying the data the I way I wanted and I can't find out why this is happening. I eve...
when the app is run everything is fine except that the data (Text) does not show how it's supposed to. It was working fine when the first run the app with this code but when I was making amendments to the code it somehow stopped displaying the data the I way I wanted and I can't find out why this is happening. I even u...
java|android|firebase-realtime-database|android-recyclerview
-1
2020-02-03T12:16:35.540Z
2,020
2
12
0
61
3
670
106
4
4
true
false
false
false
false
true
negative
60,039,079
How do we calculate the duration of a streaming session, and subsequently the cost for an individual App User, consuming the Google Speech APIs?
<p>I have a critical question regarding pricing model of Google Cloud Speech APIs. We are integrating Google Cloud Speech APIs in our Android App. Our use case is to continuously transcribe audio bytes getting from microphone. It can be few min to hours in duration.</p> <p>Google Cloud Speech APIs charge $0.009 / 15 s...
I have a critical question regarding pricing model of Google Cloud Speech APIs. We are integrating Google Cloud Speech APIs in our Android App. Our use case is to continuously transcribe audio bytes getting from microphone. It can be few min to hours in duration. Google Cloud Speech APIs charge $0.009 / 15 seconds, but...
android|audio-streaming|price|google-cloud-speech|metering
1
2020-02-03T12:16:58.643Z
2,020
2
12
0
69
0
731
144
5
0
false
true
false
false
false
false
low
60,039,096
ViewPager doesn't call onCreate and onCreateView fragment methods
<p>I created an activity with tabs. However, fragments <code>onCreate</code> and <code>onCreateView</code> are not being invoked.</p> <p>Here is my Fragment class: </p> <pre><code>public static class PlaceholderFragment extends Fragment { private int mPage; private static final String ARG_PAGE = "section_numb...
I created an activity with tabs. However, fragments onCreate and onCreateView are not being invoked. Here is my Fragment class: [CODE] OnCreate method of activity: [CODE] Fragment XML: [CODE] Activity XML: [CODE] Adapter Class: [CODE] I've read somewhere, that it can be layout problem, but I don't know what to change t...
java|android|android-tabs
2
2020-02-03T12:18:10.327Z
2,020
2
12
0
180
1
325
65
3
5
true
false
false
false
false
false
low
60,039,166
Toolbar blind fragment
<p>My project I use toolbar But Toolbar blind fragment</p> <p>how to solve this problem sry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this c...
My project I use toolbar But Toolbar blind fragment how to solve this problem sry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsry this code detailsr...
android|android-studio|kotlin
1
2020-02-03T12:22:45.360Z
2,020
2
12
0
51
1
1,006
22
3
1
true
false
false
false
false
false
low
60,039,172
Android Studio - Button XML Design
<p>Hello Im trying now for a while to recreate one of the Buttons in the Picture below here (The Button with the Text "Fridge")</p> <p>My problem is how do I create a colored bottom line with XML ?</p> <p><a href="https://i.stack.imgur.com/cGXGI.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cGXGI...
Hello Im trying now for a while to recreate one of the Buttons in the Picture below here (The Button with the Text "Fridge") My problem is how do I create a colored bottom line with XML ? Thank
xml|android-studio|android-layout
0
2020-02-03T12:23:17.160Z
2,020
2
12
0
39
1
193
34
3
0
false
false
false
false
false
false
zero
60,039,180
Is it possible to use Jenkins for Flutter?
<p>Is it possible to create pipeline for build release to play store using Jenkins with Flutter? I need to build a release for production/dev to play store.</p>
Is it possible to create pipeline for build release to play store using Jenkins with Flutter? I need to build a release for production/dev to play store.
android|ios|jenkins|flutter|jenkins-pipeline
4
2020-02-03T12:23:51.893Z
2,020
2
12
0
5,677
1
153
42
5
0
false
false
true
false
false
false
low
60,039,244
Select multiple images from gallery and show in recyclerview
<p>I have to select multiple images from gallery and display them into horizontal recycler view, but I'm confusing how to do it right. I've created a recyclerview adapter for it</p> <pre><code>public class HorizontalRecyclerView extends RecyclerView.Adapter&lt;HorizontalRecyclerView.HorizontalViewHolder&gt; { pri...
I have to select multiple images from gallery and display them into horizontal recycler view, but I'm confusing how to do it right. I've created a recyclerview adapter for it [CODE] Can someone explain how can I do right?
android|android-recyclerview
1
2020-02-03T12:28:13.130Z
2,020
2
12
0
6,277
2
221
60
2
1
true
false
true
false
false
false
low
60,039,383
Hot to fix: Injecting a Fragment Array works with Java but not Kotlin
<p>I am gradually converting an app to Kotlin, however, there is one instance where I have an error that I can't comprehend.</p> <p>My <code>Dagger</code> module contains the following:</p> <pre><code> @Provides @Singleton @Named("LOADING_FRAGMENTS") fun providesLoadingFragments(): Arra...
I am gradually converting an app to Kotlin, however, there is one instance where I have an error that I can't comprehend. My Dagger module contains the following: [CODE] The class in Java that works: [CODE] The converted class to Kotlin: [CODE] Only when I convert the LoadingActivity to Kotlin, I'm receiving the follow...
java|android|kotlin|dagger
0
2020-02-03T12:35:59.877Z
2,020
2
12
0
47
0
411
69
4
4
true
true
false
false
false
false
zero
60,039,407
Android jetpack biometric DeviceCredentialHandlerActivity exported=true really needed?
<p>I implemented the new biometric lib using setDeviceCredentialAllowed(true) as shown in the <a href="https://developer.android.com/training/sign-in/biometric-auth" rel="noreferrer">official documentation</a></p> <p>In this lib there is an activity being used "DeviceCredentialHandlerActivity", this activity has <stro...
I implemented the new biometric lib using setDeviceCredentialAllowed(true) as shown in the official documentation In this lib there is an activity being used "DeviceCredentialHandlerActivity", this activity has exported=true in the manifest, why is this/is this really needed? As many should know exporting activities sh...
android|android-jetpack|android-biometric-prompt
8
2020-02-03T12:37:26.783Z
2,020
2
12
0
2,001
1
501
86
3
1
true
false
false
false
false
false
medium
60,039,615
Define a custom AndroidManifest property to fastlane
<p>I have a custom variable on both <code>build.gradle</code> and <code>AndroidManifest.xml</code>:</p> <pre><code>android { defaultConfig { manifestPlaceholders.myCustomProperty = "#" } } </code></pre> <p>and</p> <pre><code>&lt;meta-data android:name="CUSTOM_PROPERTY" android:value="${myCustomProp...
I have a custom variable on both build.gradle and AndroidManifest.xml : [CODE] and [CODE] I want to define myCustomProperty in Fastfile. None of the following work: [CODE] I always get # when using myCustomProperty in the app (after building it with Fastfile).
android|gradle|fastlane
5
2020-02-03T12:51:07.387Z
2,020
2
12
0
416
0
260
52
3
3
true
true
false
false
false
false
low
60,039,786
Android Wakelock open
<p>I am working with zoom call integration in my android application, I need to get call notification and show in app when incoming call received from Zoom. How to unlock the screen and show the app?</p> <p>It means need to unlock device when notification received from the backend.</p>
I am working with zoom call integration in my android application, I need to get call notification and show in app when incoming call received from Zoom. How to unlock the screen and show the app? It means need to unlock device when notification received from the backend.
android|push-notification|android-wake-lock
1
2020-02-03T13:01:59.133Z
2,020
2
13
0
38
0
272
21
3
0
false
true
false
false
false
false
low
60,039,790
While filtering recyclerview, items are beeing duplicated
<p>I have a RecyclerView which shows a data fetched from Room db using MVVM. Also i have an ediitext which I use to search or filter recyclerview items. The problem is when i press on recyclerview item(updates some value in database) and then filter it, it filters but then duplicates all data. Here is the code: Comple...
I have a RecyclerView which shows a data fetched from Room db using MVVM. Also i have an ediitext which I use to search or filter recyclerview items. The problem is when i press on recyclerview item(updates some value in database) and then filter it, it filters but then duplicates all data. Here is the code: Complete A...
android|mvvm|android-recyclerview|filtering|android-livedata
0
2020-02-03T13:02:12.850Z
2,020
2
13
0
642
1
476
57
5
2
true
false
false
false
false
false
zero
60,039,804
What to do when user closes payment browser?
<p>In an Android app, I'm working on, we have a problem regarding payments. </p> <p>When the user wants to place an order, we do an API request that will return a payment URL and a payment ID. The URL is the webpage we will open for the payment, the ID is used to retrieve the status of the payment from our API. When w...
In an Android app, I'm working on, we have a problem regarding payments. When the user wants to place an order, we do an API request that will return a payment URL and a payment ID. The URL is the webpage we will open for the payment, the ID is used to retrieve the status of the payment from our API. When we request th...
android|payment|chrome-custom-tabs
5
2020-02-03T13:03:05.357Z
2,020
2
13
0
2,573
3
3,014
44
3
0
false
false
false
false
false
false
low
60,039,955
How to retrieve double data using intent?
<p>I am trying to pass double data to another activity via this code :</p> <pre><code>btn3.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { String sChicken = Double.toString(chicken); Intent intent = new Intent(ChooseBurger.this,com.examp...
I am trying to pass double data to another activity via this code : [CODE] Data is passing properly but I am unable to retrieve using this code : (I get error in the first line trying to run the app with debugger) [CODE]
java|android-intent|double
0
2020-02-03T13:12:12.950Z
2,020
2
13
0
210
1
220
41
3
2
true
false
false
false
false
false
zero
60,040,002
Task 'publishApkRelease' not found in project ':app'
<p>I am able to run gradlew <code>app:assembleRelease</code>, but when i run <code>gradlew app:publishApkRelease</code>, it gives following error message.</p> <blockquote> <p>What went wrong: Task 'publishApkRelease' not found in project ':app'.</p> </blockquote> <p>I have also tried, <code>gradlew tasks --all</cod...
I am able to run gradlew app:assembleRelease , but when i run gradlew app:publishApkRelease , it gives following error message. What went wrong: Task 'publishApkRelease' not found in project ':app'. I have also tried, gradlew tasks --all , it prints a list, but that list does not have publishApkRelease task. I am wonde...
android|gradle|gradlew
0
2020-02-03T13:14:33.890Z
2,020
2
13
0
428
1
460
52
3
2
true
false
false
false
false
false
zero
60,040,018
Android MotionLayout: How to handle both click and swipe events on same view? (video examples included)
<p>I need to implement this in my app. It's best if you looked at the video examples because I can't explain it precisely with words:</p> <p>Drag motion : <a href="https://streamable.com/i0aen" rel="noreferrer">https://streamable.com/i0aen</a></p> <p>Click motion :<a href="https://streamable.com/7eahj" rel="noreferr...
I need to implement this in my app. It's best if you looked at the video examples because I can't explain it precisely with words: Drag motion : https://streamable.com/i0aen Click motion : https://streamable.com/7eahj I was able to implement them independent one from another. But I can't manage to do them together. I w...
java|android|kotlin|android-motionlayout
9
2020-02-03T13:15:39.643Z
2,020
2
13
0
1,057
1
769
103
4
1
true
false
false
false
false
false
medium
60,040,077
Databinding : InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
<p>For security needs I'm using the <em>char array</em> version of <code>setText</code> to avoid using <code>String</code> version.</p> <pre><code>public final void setText (char[] text, int start, int len) </code></pre> <p><strong><em>BindingAdapter :</em></strong></p> <pre><code>p...
For security needs I'm using the char array version of setText to avoid using String version. [CODE] BindingAdapter : [CODE] Emulator behavior : But the issue is when I enter ABCD in a EditText I got DCBA displayed plus the focus stay always in the beginning of the EditText . Real device behavior : Only the first char ...
android|android-edittext|android-databinding
0
2020-02-03T13:19:41.283Z
2,020
2
13
0
1,085
1
799
90
3
2
true
false
false
false
false
false
zero
60,040,117
Android Trigger of Play Auto Install
<p>Google created the functionality called PAI (Play AUto Install) on Android that automatically downloads apks from Play Store after factory reset if connected to network. What exactly trigger this functionality in android code. (I assume that the stub and the device config apk are correctly installed in the image).</...
Google created the functionality called PAI (Play AUto Install) on Android that automatically downloads apks from Play Store after factory reset if connected to network. What exactly trigger this functionality in android code. (I assume that the stub and the device config apk are correctly installed in the image).
android|google-play-services
1
2020-02-03T13:21:55.960Z
2,020
2
13
0
4,136
1
315
36
2
0
false
false
true
false
false
false
low
60,040,149
Gatt server service list is empty
<p>I am new to BLE and I am trying to communicate from my android device to my pc running linux using BLE. I have added a service to the gatt server in my android device and I am advertising it. I am getting the server and I am able to access the characteristics inside the service from other android devices using appli...
I am new to BLE and I am trying to communicate from my android device to my pc running linux using BLE. I have added a service to the gatt server in my android device and I am advertising it. I am getting the server and I am able to access the characteristics inside the service from other android devices using applicat...
android|linux|bluetooth-lowenergy|bluez|bluetooth-gatt
1
2020-02-03T13:23:30.173Z
2,020
2
13
0
383
1
536
33
5
0
false
false
false
false
false
false
low
60,040,242
Error: Type 'ui.TextHeightBehavior' not found in flutter
<p>I got a problem when I flutter build appbundle in terminal command</p> <p>Compiler message:</p> <pre><code> ../../flutter/packages/flutter/lib/src/widgets/basic.dart:5149:9: Error: Type 'ui.TextHeightBehavior' not found. final ui.TextHeightBehavior textHeightBehavior; ^^^^...
I got a problem when I flutter build appbundle in terminal command Compiler message: [CODE] Where: Script '/Users/mac/Downloads/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 801 [CODE] **this is my flutter doctor: ** [✓] Flutter (Channel master, v1.14.7-pre.83, on Mac OS X 10.15.2 19C57, locale en-ID) • F...
flutter|dart|android-app-bundle|flutter-channel|flutter-build
4
2020-02-03T13:28:43.260Z
2,020
2
13
0
4,116
2
1,704
56
5
2
true
false
true
false
false
false
low
60,040,261
Android Studio add flutter sdk path in preferences
<p>I just started app programming and I wanted to do so using flutter. But when I want to create a new flutter project, it takes eternal and doesn't finish. Tried all fixed, updating flutter and AS, running AS in Admin Mode (btw I'm using Win 10), creating the project offline, not doing so, reinstalling AS in a folder ...
I just started app programming and I wanted to do so using flutter. But when I want to create a new flutter project, it takes eternal and doesn't finish. Tried all fixed, updating flutter and AS, running AS in Admin Mode (btw I'm using Win 10), creating the project offline, not doing so, reinstalling AS in a folder wit...
android-studio|flutter|dart
0
2020-02-03T13:30:00.983Z
2,020
2
13
0
3,216
4
629
50
3
0
false
false
true
false
false
false
zero
60,040,318
Android java - making 1 ImageAdapter for 2 or more viewpagers (currently 2 adapters for 2 viewpagers)
<p>I made an ImageAdapter class that contains images and an activity that contains 2 buttons, on click each one opens a new activity with a viewpager. The 2 viewpagers have different images and this is where my inexperience comes in. </p> <p>I took the easy way and duplicated the ImageAdapter (named it ImageAdapter2) ...
I made an ImageAdapter class that contains images and an activity that contains 2 buttons, on click each one opens a new activity with a viewpager. The 2 viewpagers have different images and this is where my inexperience comes in. I took the easy way and duplicated the ImageAdapter (named it ImageAdapter2) and linked i...
java|android|android-viewpager|android-adapter
1
2020-02-03T13:32:56.750Z
2,020
2
13
0
58
1
1,002
101
4
3
true
false
false
false
false
false
low
60,040,386
Android WebView shows a blank page When play Html with iframe
<p>I am trying html file to show inside WebView in android,bu When I try it, I see black screen at my android phone, Html has iframe </p> <p>Html code </p> <p></p> <p></p> <p></p> <p></p> <pre><code>&lt;iframe style="width:100%; height:100%;" id="webPage" frameborder="0" src="http://www.youtube.com/embed/XGSy3_Cz...
I am trying html file to show inside WebView in android,bu When I try it, I see black screen at my android phone, Html has iframe Html code [CODE] { try { var el = document.getElementById('webPage'); el.setAttribute('src',"about:blank"); el.parentNode.removeChild(el); } catch(err) { console.log("Web Page Delete ERROR:"...
android|iframe|webview
1
2020-02-03T13:37:08.867Z
2,020
2
13
0
660
1
350
61
3
2
true
false
false
false
false
false
low
60,040,524
Actionbar icon click and Up arrow click problem
<p>I'm using the nav component with navgraph. This is how my navgraph is setup:</p> <p><strong>Main activity -> CategoriesFragment (Home Fragment) -> CategoryFragment -> PomoClockFragment</strong></p> <p>I do the following navigation <strong>CategoriesFragment -> CategoryFragment -> PomoClockFragment.</strong></p> <...
I'm using the nav component with navgraph. This is how my navgraph is setup: Main activity -> CategoriesFragment (Home Fragment) -> CategoryFragment -> PomoClockFragment I do the following navigation CategoriesFragment -> CategoryFragment -> PomoClockFragment. At this point, repeatedly pressing the phone's physical bac...
android|android-fragments|android-actionbar|android-navigation
0
2020-02-03T13:44:34.953Z
2,020
2
13
0
89
1
811
47
4
2
true
false
false
false
false
false
zero
60,040,543
Linking AppCenter installationId to the back-end user - is that secure?
<p>As per my understanding, to use push notification i need to pass AppCenter.GetInstallIdAsync() (installationid) to my back-end server and link the installation Id to the user using my Rest API.</p> <p>I am wondering, is it secure enough to allow link any applicationid (which is a simple Guid) to the user ? What is ...
As per my understanding, to use push notification i need to pass AppCenter.GetInstallIdAsync() (installationid) to my back-end server and link the installation Id to the user using my Rest API. I am wondering, is it secure enough to allow link any applicationid (which is a simple Guid) to the user ? What is someone wil...
xamarin|xamarin.forms|xamarin.android|xamarin.ios|visual-studio-app-center
0
2020-02-03T13:45:44.487Z
2,020
2
13
0
43
0
408
71
5
0
false
true
false
false
false
false
zero
60,040,598
Build error when trying to instantiate a class in another module
<p>I must be missing something pretty obvious, but I need to find an answer for this. I started to modularize my app, and this is the setup:</p> <p><a href="https://i.stack.imgur.com/DnHf9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DnHf9.png" alt="setup"></a></p> <p>The <code>:database</code> ...
I must be missing something pretty obvious, but I need to find an answer for this. I started to modularize my app, and this is the setup: The :database module should abstract the connection to the database. But when I remove the dependency of some-lib from the :app module, I get the following error: [CODE] How can I in...
android|android-build|android-module
1
2020-02-03T13:49:53.140Z
2,020
2
13
0
45
0
433
64
3
1
true
true
false
false
false
false
low
60,040,621
How to move data from background thread to ui thread
<p>im a beginner in programming and don't know much. Im using the google directions api to get the distance between two markers. Apparently, it does this on a background thread. Im able to display the received distance on my ui using a runnable, but but im unable to save the distance in a global variable to use in othe...
im a beginner in programming and don't know much. Im using the google directions api to get the distance between two markers. Apparently, it does this on a background thread. Im able to display the received distance on my ui using a runnable, but but im unable to save the distance in a global variable to use in other c...
java|android|multithreading|backgroundworker|ui-thread
0
2020-02-03T13:51:24.870Z
2,020
2
13
0
1,337
3
1,128
52
5
1
true
false
false
false
false
false
zero
60,040,771
latlng cannot be null - a position is required in Autocomplete
<p>i am using Autocomplete search places that get the address but not working on some addresses giving error of </p> <blockquote> <p>Failure delivering result ResultInfo{who=null, request=131190, result=-1, data=Intent { (has extras) }} to activity java.lang.IllegalArgumentException: latlng cannot be null - a posi...
i am using Autocomplete search places that get the address but not working on some addresses giving error of Failure delivering result ResultInfo{who=null, request=131190, result=-1, data=Intent { (has extras) }} to activity java.lang.IllegalArgumentException: latlng cannot be null - a position is required. here is my ...
java|android|google-maps|googleplacesautocomplete
0
2020-02-03T14:00:33.820Z
2,020
2
14
0
171
1
331
62
4
1
true
false
false
false
false
false
zero
60,040,796
password toggle icon textinputlayout override error icon
<p>I am using a password toggle to show and hide the password. And I do not want to use the custom drawable. But, when this edit text generate error it overrides the toggle password icon and unable to add padding or margin to that icon. If there is any solution to this, it will be a pleasure. This is the code I am usin...
I am using a password toggle to show and hide the password. And I do not want to use the custom drawable. But, when this edit text generate error it overrides the toggle password icon and unable to add padding or margin to that icon. If there is any solution to this, it will be a pleasure. This is the code I am using: ...
android|android-textinputlayout|material-components-android|material-components|android-textinputedittext
2
2020-02-03T14:02:37.197Z
2,020
2
14
0
4,943
4
326
56
5
1
true
false
true
false
false
false
low
60,040,830
Making a LiveData to observe multiple retrofit requests in same View
<p>I am using Retrofit 2.0 along with MVVM pattern in kotlin and I am able to observe API results from Retrofit through the repository and ViewModel in my activity.</p> <p>Now my question is that for each API call I have to create a separate LiveData in ViewModel and parallelly a separate observer for each LiveData in...
I am using Retrofit 2.0 along with MVVM pattern in kotlin and I am able to observe API results from Retrofit through the repository and ViewModel in my activity. Now my question is that for each API call I have to create a separate LiveData in ViewModel and parallelly a separate observer for each LiveData in my Activit...
android|kotlin|mvvm|retrofit2|android-livedata
1
2020-02-03T14:04:40.930Z
2,020
2
14
0
1,389
1
876
68
5
0
false
false
false
false
false
false
low
60,040,876
How to do a conditional import in gradle based on package id?
<p>I'm trying to do a conditional import in the gradle based on the package id. Because I manage these package ids according to the hardware on which I will generate the app. I do this due to the specificity of each platform (Pax, Getnet, etc.). </p> <p>However, in one of the imported dependencies, it causes an error ...
I'm trying to do a conditional import in the gradle based on the package id. Because I manage these package ids according to the hardware on which I will generate the app. I do this due to the specificity of each platform (Pax, Getnet, etc.). However, in one of the imported dependencies, it causes an error due to simpl...
android|gradle
1
2020-02-03T14:06:56.013Z
2,020
2
14
0
69
0
496
61
2
1
true
true
false
false
false
false
low
60,040,969
Testing textview displays text as HTML
<p>I'm trying to test a textview in my fragment. In my UI, the textview displays a HTML text, by using HtmlCompat api, as shown below:</p> <pre class="lang-kotlin prettyprint-override"><code>tvNoDeals.text = HtmlCompat.fromHtml(getString(R.string.no_deals), HtmlCompat.FROM_HTML_MODE_LEGACY) </code></pre> <p>My aim is...
I'm trying to test a textview in my fragment. In my UI, the textview displays a HTML text, by using HtmlCompat api, as shown below: [CODE] My aim is to test this behavior via an android Test , by using Espresso . To do so I need to use a mocked context to get my string from strings.xml file. My question is, am I forced...
android|android-espresso|android-testing
1
2020-02-03T14:13:01.083Z
2,020
2
14
0
468
1
399
38
3
2
true
false
false
false
false
false
low
60,041,030
Google Pay returns strange error on Xamarin Forms
<p>I try to integrate Google Pay in my Xamarin.Forms shell application. I haven't found any tutorial without using stripe, only Kotlin one. I've tried to recreate example in my Payment class. Method Pay() looks like this:</p> <pre><code>var activity = Plugin.CurrentActivity.CrossCurrentActivity.Current.Activity; ...
I try to integrate Google Pay in my Xamarin.Forms shell application. I haven't found any tutorial without using stripe, only Kotlin one. I've tried to recreate example in my Payment class. Method Pay() looks like this: [CODE] But after last line, Xamarin returns strange error '6: BuyFlow UI needs to be shown.' . But I ...
android|xamarin|xamarin.android|google-play-services|google-pay
1
2020-02-03T14:16:13.337Z
2,020
2
14
0
402
2
473
49
5
1
true
false
false
false
false
false
low
60,041,114
Pattern matching for Android deep links
<p>My app has to validate Uris like web links and deep links.</p> <p>For web links like <a href="https://www.google.com" rel="nofollow noreferrer">https://www.google.com</a> I found this useful:</p> <pre><code>boolean validWebUrl =Patterns.WEB_URL.matcher(url).matches(); </code></pre> <p>but it yields a negative val...
My app has to validate Uris like web links and deep links. For web links like https://www.google.com I found this useful: [CODE] but it yields a negative value when used for deep links like appname://suitablestring What is the equivalent of the above instruction for deep links?
java|android|regex|uri|deep-linking
0
2020-02-03T14:20:49.620Z
2,020
2
14
0
157
1
278
39
5
1
true
false
false
false
false
false
zero
60,041,140
How can we implement AppUpdateType FLEXIBLE as well as IMMEDIATE in Google Support in-app updates? Does Google provide Anything in Playstore Console?
<p>I want to implement Google In-App Updates dynamically inside my application, Does Google Play console provide anything through which we can decide to AppUpdateType of the App. which can be <strong>IMMEDIATE</strong> or <strong>FLEXIBLE</strong>.</p>
I want to implement Google In-App Updates dynamically inside my application, Does Google Play console provide anything through which we can decide to AppUpdateType of the App. which can be IMMEDIATE or FLEXIBLE .
android|kotlin|in-app-update
0
2020-02-03T14:22:36.667Z
2,020
2
14
0
306
2
212
149
3
0
false
false
false
false
false
false
zero
60,041,228
createFromAsset function from RoomDatabase.Builder not recognized
<p>I was following <a href="https://developer.android.com/training/data-storage/room/prepopulate#kotlin" rel="nofollow noreferrer">Prepopulate your Room database</a> guide but Android Studio doesn't recognize <code>createFromAsset</code> function. I step into RoomDatabase.java file (where is the RoomDatabase.Builder cl...
I was following Prepopulate your Room database guide but Android Studio doesn't recognize createFromAsset function. I step into RoomDatabase.java file (where is the RoomDatabase.Builder class) to see if the function was there and it wasn't, however reference says that functions createFromAsset are part of RoomDatabase....
android|sqlite|android-studio|kotlin
1
2020-02-03T14:28:34.593Z
2,020
2
14
0
472
1
525
65
4
3
true
false
false
false
false
false
low
60,041,437
Bottom Navigation in Android works only on double clicks ,
<p>Creating an app ,and implementing the bottom navigation through setting up the "On navigation selected listener",On clicking the icons in the bottom nav panel , i am trying to replace fragments, The fragments do get replaced but on double clicks. A single click on the menu item does nothing. Here is my Code '''</p>...
Creating an app ,and implementing the bottom navigation through setting up the "On navigation selected listener",On clicking the icons in the bottom nav panel , i am trying to replace fragments, The fragments do get replaced but on double clicks. A single click on the menu item does nothing. Here is my Code ''' class M...
android|bottomnavigationview
1
2020-02-03T14:39:52.677Z
2,020
2
14
0
3,217
3
366
58
2
1
true
false
true
false
false
false
low
60,041,526
SQLiteException: near "between": syntax error (code 1)
<p>private static final int DATABASE_VERSION = 1; private static final String DATABASE_NAME = "UnitConversion.db";</p> <pre><code>private static final String SQL_CREATE_ENTRIES = "CREATE TABLE " + DatabaseContract.FeedEntry.TABLE_NAME + " (" + DatabaseContract.FeedEntry._ID + " INTEGER PRIM...
private static final int DATABASE_VERSION = 1; private static final String DATABASE_NAME = "UnitConversion.db"; [CODE] this is the error code: [CODE] can't figure out what I've done wrong!
android
0
2020-02-03T14:45:04.850Z
2,020
2
14
0
98
1
188
54
1
2
true
false
false
false
false
false
zero
60,041,615
Xamarin.Forms MicroCharts BarChart with Multiple Values
<p>I'm using MicroCharts barChart</p> <pre><code> &lt;forms:ChartView x:Name="chart1" HeightRequest="150"&gt; </code></pre> <p>I read a list of data from Api. I need to show the data grouped by parameter year(i read from every object from the list) and have 3 values for every year to show. Similar like this exampl...
I'm using MicroCharts barChart [CODE] I read a list of data from Api. I need to show the data grouped by parameter year(i read from every object from the list) and have 3 values for every year to show. Similar like this example: [CODE] This is my code but not showing the true data Any suggestions?
xamarin|xamarin.forms|xamarin.android|xamarin.ios
0
2020-02-03T14:50:21.307Z
2,020
2
14
0
709
1
298
55
4
2
true
false
false
false
false
false
zero
60,041,805
RecyclerView: Last item getting cut off when returning back to the activity
<p>I have a <code>RecyclerView</code> inside a <code>CoordinatorLayout</code> with <code>CollapsingToolbar</code></p> <p>I'm experiencing a weird behavior of the last item in the <code>RecyclerView</code> getting cut off when returning back to the activity. I found a solution but it involves changing the scrollflags w...
I have a RecyclerView inside a CoordinatorLayout with CollapsingToolbar I'm experiencing a weird behavior of the last item in the RecyclerView getting cut off when returning back to the activity. I found a solution but it involves changing the scrollflags which would make the toolbar not pin on the top, which is not wh...
android|android-recyclerview|android-coordinatorlayout
1
2020-02-03T15:00:04.547Z
2,020
2
15
0
124
0
497
75
3
1
true
true
false
false
false
false
low
60,041,945
App center: build failed - could not find gradleWrapperMain
<p>I am trying to run my app in appcenter, but everytime i try i always get this error.</p> <pre><code>Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain </code></pre> <p><strong>What i have tried so far:</strong></p> <ul> <li>Removed gradle-wrapper.properties / .jar and ran <code>gradle w...
I am trying to run my app in appcenter, but everytime i try i always get this error. [CODE] What i have tried so far: Removed gradle-wrapper.properties / .jar and ran gradle wrapper in the cmd Made sure gradlew was added when i ran git commit Made sure there is no global gitignore. (or any gitignore who doesnt commit t...
android|gradle|wrapper|visual-studio-app-center
2
2020-02-03T15:08:26.713Z
2,020
2
15
0
327
1
409
59
4
1
true
false
false
false
false
false
low
60,041,999
What is the best way to use startSwipe function of ItemTouchHelper
<p>I created a custom <code>LayoutManager</code> and <code>TouchHelper.Callback</code> to have a tinder-like card stack. I want my layout manager to allow only the first item to have a touch event. Firstly I override the <code>isItemViewSwipeEnabled()</code> of <code>ItemTouchHelper.Callback</code> to disable touch eve...
I created a custom LayoutManager and TouchHelper.Callback to have a tinder-like card stack. I want my layout manager to allow only the first item to have a touch event. Firstly I override the isItemViewSwipeEnabled() of ItemTouchHelper.Callback to disable touch event for each child. As the last step, I need to allow th...
android|android-layout|kotlin|android-recyclerview|itemtouchhelper
-1
2020-02-03T15:11:42.480Z
2,020
2
15
0
204
1
686
66
5
0
false
false
false
false
false
true
negative
60,042,023
How to fully disable the Android webView cache
<p>I'm using a WebView in an app and I have disabled the cache with these two lines:</p> <pre><code>mWebView.getSettings().setAppCacheEnabled(false); mWebView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE); </code></pre> <p>When the app loads the WebView it shows a login page and the strange behavior here is t...
I'm using a WebView in an app and I have disabled the cache with these two lines: [CODE] When the app loads the WebView it shows a login page and the strange behavior here is that the page is remembering the user after his first log in (despite the two lines being added). Another relevant point is that if I delete the ...
android|caching|android-webview
1
2020-02-03T15:13:16.893Z
2,020
2
15
0
575
1
626
46
3
1
true
false
false
false
false
false
low
60,042,096
Can not get the last position of pointer in onTouch event in Android
<p>I'm trying to get the last Position of Pointer on onTouch event in Android. My objectif is try to draw a Line between the first Point and the last Point for exemple, i can track and draw the movement of pointer. However, i can't draw a Line. I tried get Position of Pointer in ACTION_POINTER_UP, however, i see that t...
I'm trying to get the last Position of Pointer on onTouch event in Android. My objectif is try to draw a Line between the first Point and the last Point for exemple, i can track and draw the movement of pointer. However, i can't draw a Line. I tried get Position of Pointer in ACTION_POINTER_UP, however, i see that the ...
android|pointers|position|ontouch
0
2020-02-03T15:17:16.573Z
2,020
2
15
0
162
1
844
68
4
2
true
false
false
false
false
false
zero
60,042,127
In recylerview the edittext the values are repeating when fetched through the interface
<blockquote> <p><strong>Recylerview</strong></p> </blockquote> <pre><code> @Override public void onBindViewHolder(@NonNull CustomListview.ViewHolder holder, int position) { holder.Sno.setText(""+(position+1)); //remove colth unwanted characters String cloth = list.get(position).getCloth();...
Recylerview [CODE] holder.deliverd is a edittext [CODE] Interface [CODE] MAinactivity interface implements and override the interface method [CODE] when i change the 1st,2nd,3rd edittext are correctly fetched the values one time. The problem is 4th,5th,etc edittext repeating the values 2 times and added to the arraylis...
android|android-recyclerview|interface
0
2020-02-03T15:18:52.963Z
2,020
2
15
0
56
0
479
87
3
5
true
true
false
false
false
false
zero
60,042,150
Have to close and relaunch app for correct location to be shown on map
<p>When retrieving the post's location (Latitude and Longitude) from Firebase, the correct location is retrieved and the marker is placed in the correct spot only after stopping the app and relaunching it. Otherwise, I get the location of some other post...</p> <p>Anyone can explain to me why that happens? So if I upl...
When retrieving the post's location (Latitude and Longitude) from Firebase, the correct location is retrieved and the marker is placed in the correct spot only after stopping the app and relaunching it. Otherwise, I get the location of some other post... Anyone can explain to me why that happens? So if I upload a new p...
java|android|firebase
1
2020-02-03T15:20:41.577Z
2,020
2
15
0
54
1
1,011
70
3
3
true
false
false
false
false
false
low
60,042,159
Android Cross Compilation JNI -> No implementation found for
<p>I am using a shared library libToon-c.so in my android app.</p> <p>When running this app via the Android Virtual Device (AVD), the shared library is loaded and running without any problems.</p> <p><strong>However when attempting to load the library on to a phone (Google Pixel) the following error is shown</strong>...
I am using a shared library libToon-c.so in my android app. When running this app via the Android Virtual Device (AVD), the shared library is loaded and running without any problems. However when attempting to load the library on to a phone (Google Pixel) the following error is shown [CODE] The toonJni.h contains the f...
android|c|android-studio|java-native-interface|shared-libraries
1
2020-02-03T15:21:08.320Z
2,020
2
15
0
132
0
1,624
60
5
9
true
true
false
false
false
false
low