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,023,766 | Appcompatactivity onCreate() not getting triggered when instantiating a class | <p>I am still learning Android development and I am stuck at a point where I assume I am doing something wrong. Would appreciate your help.</p>
<p>I have my main class that extends AppCompatActivity like this, and inside it, I have a function that instantiates another class where I want to do some calculations based o... | I am still learning Android development and I am stuck at a point where I assume I am doing something wrong. Would appreciate your help. I have my main class that extends AppCompatActivity like this, and inside it, I have a function that instantiates another class where I want to do some calculations based on the store... | android|sharedpreferences | 0 | 2020-02-02T06:28:17.180Z | 2,020 | 2 | 6 | 6 | 299 | 2 | 795 | 77 | 2 | 2 | true | false | false | false | false | false | zero |
60,023,777 | Camera crashing on Android 10 when launching intent | <p>I'm trying to add the ability to take a photo to my app which should be fairly simple however I'm running into issues on android 10 for some reason.</p>
<p>I followed the implementation details at <a href="https://developer.android.com/training/camera/photobasics" rel="nofollow noreferrer">https://developer.android... | I'm trying to add the ability to take a photo to my app which should be fairly simple however I'm running into issues on android 10 for some reason. I followed the implementation details at https://developer.android.com/training/camera/photobasics (so far I've only implemented the basic functionality which should launc... | android | 3 | 2020-02-02T06:30:10.990Z | 2,020 | 2 | 6 | 6 | 5,090 | 2 | 1,155 | 51 | 1 | 2 | true | false | true | false | false | false | low |
60,023,804 | dagger multibinding, Map<java.lang.Integer,? extends javax.inject.Provider<VersionMigration>> cannot be provided without an @Provides-annotated method | <p>I am trying to implement Realm Version management with dagger2, with this link <a href="http://adavis.info/2017/03/realm-migrations-supercharged-with.html" rel="nofollow noreferrer">Adavis Realm Migration</a>,
but getting following error,</p>
<blockquote>
<p>[Dagger/MissingBinding] java.util.Map> cannot be provid... | I am trying to implement Realm Version management with dagger2, with this link Adavis Realm Migration , but getting following error, [Dagger/MissingBinding] java.util.Map> cannot be provided without an @Provides-annotated method. public abstract interface CoreComponent { ^ The codes are as follows, [CODE] This is my in... | android|realm|dagger-2|dagger|realm-migration | -1 | 2020-02-02T06:35:21.243Z | 2,020 | 2 | 6 | 6 | 170 | 1 | 552 | 150 | 5 | 3 | true | false | false | false | false | true | negative |
60,023,808 | Using FirestoreRecyclerAdapter but cannot query any data from Firebase | <p>Base on guideline at <a href="https://github.com/firebase/FirebaseUI-Android/tree/master/firestore" rel="nofollow noreferrer">https://github.com/firebase/FirebaseUI-Android/tree/master/firestore</a>, I make a list items with FirestoreRecyclerAdapter but I don't know why the couldn't retrieve any data. In fact, the n... | Base on guideline at https://github.com/firebase/FirebaseUI-Android/tree/master/firestore , I make a list items with FirestoreRecyclerAdapter but I don't know why the couldn't retrieve any data. In fact, the number view items are shown correctly, but the content always null. Anyone can help me. Below is source code: Ac... | android|firebase|google-cloud-firestore|firebaseui | 0 | 2020-02-02T06:36:07.040Z | 2,020 | 2 | 6 | 6 | 245 | 1 | 392 | 70 | 4 | 3 | true | false | false | false | false | false | zero |
60,023,835 | Adding * and # key to the soft keyboard | <p><strong>1) PROBLEM:</strong></p>
<p>I have an <strong>EditText</strong> in which the user has to enter <strong>USSD</strong> code. </p>
<p><strong>Problem</strong> is, for entering <strong>USSD</strong> code the user has to switch to <strong>symbol keyboard</strong> (two to three times) which creates a very bad us... | 1) PROBLEM: I have an EditText in which the user has to enter USSD code. Problem is, for entering USSD code the user has to switch to symbol keyboard (two to three times) which creates a very bad user experience. USSD Code Examples: *345*77#, *333*25#, *123*678# etc. [CODE] 2) What I need: How can I replace the highlig... | android|android-softkeyboard|custom-keyboard | 4 | 2020-02-02T06:42:27.893Z | 2,020 | 2 | 6 | 6 | 313 | 1 | 579 | 39 | 3 | 1 | true | false | false | false | false | false | low |
60,023,946 | Android: Issue in switching between menus of Bottom Navigation View | <p>I'm using Bottom Navigation View for my application. Here I have added 3 items in menu and have customized the app:itemTextAppearanceActive & app:itemTextAppearanceInactive attribute of Bottom Navigation View as follows:</p>
<pre><code> <android.support.constraint.ConstraintLayout
android:layout_b... | I'm using Bottom Navigation View for my application. Here I have added 3 items in menu and have customized the app:itemTextAppearanceActive & app:itemTextAppearanceInactive attribute of Bottom Navigation View as follows: [CODE] in style xml file: [CODE] When a click is made on navigation menu, there is no change in Act... | java|android|android-studio|android-layout|bottomnavigationview | 0 | 2020-02-02T07:03:42.617Z | 2,020 | 2 | 7 | 6 | 75 | 1 | 473 | 67 | 5 | 3 | true | false | false | false | false | false | zero |
60,023,975 | Android: Always receiving null object in extras passed in the intent | <p>I am creating a recycler view in my app and fetching data from firestore for the same. In the process, I am passing some arguments to the intent which is called when an item in the recycler view is clicked. </p>
<pre class="lang-java prettyprint-override"><code>RecyclerView recyclerView = findViewById(R.id.my_recyc... | I am creating a recycler view in my app and fetching data from firestore for the same. In the process, I am passing some arguments to the intent which is called when an item in the recycler view is clicked. [CODE] The output from the print statements in above code is as follows : [CODE] The onClick method of the called... | java|android|android-intent|android-activity|android-recyclerview | 0 | 2020-02-02T07:10:56.473Z | 2,020 | 2 | 7 | 6 | 254 | 3 | 525 | 68 | 5 | 5 | true | false | false | false | false | false | zero |
60,024,150 | JNI ERROR Didn't find class DexPathList while trying to create module for POS | <p>I have a project and i want to use it to create a module.
But i keep getting this error as i try to load the native file;
To be specific, its triggered on running System.loadLibrary("")
The gradle file is right after the error log.</p>
<pre><code>A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICA... | I have a project and i want to use it to create a module. But i keep getting this error as i try to load the native file; To be specific, its triggered on running System.loadLibrary("") The gradle file is right after the error log. [CODE] [CODE] If interested in reproducing the issue kindly inbox github handle. Thanks ... | java|android|c++|java-native-interface|libc | 0 | 2020-02-02T07:46:45.313Z | 2,020 | 2 | 7 | 6 | 261 | 0 | 330 | 77 | 5 | 2 | true | true | false | false | false | false | zero |
60,024,213 | Android: Pass custom state to child imageview inside custom layout | <p>I have a custom toolbar view in my app. Using custom attributes, i defined custom states for this toolbar (enum with values HOME=0, SUBPAGE=1). </p>
<p>In this toolbar i have a selector drawable custom_nav_icon.xml which has different drawables based on state. </p>
<p>I want the drawable to update based on the sta... | I have a custom toolbar view in my app. Using custom attributes, i defined custom states for this toolbar (enum with values HOME=0, SUBPAGE=1). In this toolbar i have a selector drawable custom_nav_icon.xml which has different drawables based on state. I want the drawable to update based on the state of my custom toolb... | android|xml | 0 | 2020-02-02T07:58:14.490Z | 2,020 | 2 | 7 | 6 | 53 | 0 | 638 | 66 | 2 | 4 | true | true | false | false | false | false | zero |
60,024,242 | How to resolve No such property:Gradle Version for classes :jetGradleplugin? | <p>I get the project from github. When I want to build that project, I get this Error:</p>
<pre><code> No such property:Gradle Version for classes :jetGradleplugin
</code></pre>
<p>My build api version is 28 and my gradle version is 5.1.1 .
How can I resolve this?</p> | I get the project from github. When I want to build that project, I get this Error: [CODE] My build api version is 28 and my gradle version is 5.1.1 . How can I resolve this? | android|gradle | 4 | 2020-02-02T08:03:42.327Z | 2,020 | 2 | 8 | 6 | 2,851 | 3 | 174 | 76 | 2 | 1 | true | false | true | false | false | false | low |
60,024,318 | i cant load camera preview in my app but all other things working fine | <p>commenting the line "camerasource.start();" inside the try catch made preview appear,but cant do that because the face detector doesn't work.please help...
my mainactivity.java is</p>
<pre><code>package com.example.android.drownsinessdetector;
import android.Manifest;
import android.content.Context;
import android... | commenting the line "camerasource.start();" inside the try catch made preview appear,but cant do that because the face detector doesn't work.please help... my mainactivity.java is [CODE] } my layout xml file is [CODE] my manifest file is [CODE] i can see only black screen in the place of camera preview.but the eye and ... | java|android|android-studio|android-camera | 2 | 2020-02-02T08:15:52.940Z | 2,020 | 2 | 8 | 6 | 141 | 0 | 443 | 70 | 4 | 3 | true | true | false | false | false | false | low |
60,024,356 | How can i show progress for MultipartBody.Part[] in retrofit2 per request? | <p>I visit the below links but it upload <strong>one</strong> image per request.</p>
<p>I want to upload <strong>multiple</strong> images per request with <strong>retrofit2</strong> with <strong>progress</strong>.</p>
<p><a href="https://stackoverflow.com/questions/33338181/is-it-possible-to-show-progress-bar-when-up... | I visit the below links but it upload one image per request. I want to upload multiple images per request with retrofit2 with progress . Is it possible to show progress bar when uploading the image via Retrofit 2? retrofit-multiple-file-upload-with-progress | android|retrofit2 | 0 | 2020-02-02T08:20:35.013Z | 2,020 | 2 | 8 | 6 | 198 | 1 | 257 | 74 | 2 | 0 | false | false | false | false | false | false | zero |
60,024,358 | A widget with image and text below | <p>I want to create a widget with image and text below image.
<a href="https://i.stack.imgur.com/op6LE.jpg" rel="nofollow noreferrer">widget i want</a></p>
<p>If I write this code:</p>
<pre><code><LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
... | I want to create a widget with image and text below image. widget i want If I write this code: [CODE] I have an image without text. And I want to known how to do a widget if the text could be variable lenght If I use Relative layout the text is above the Image | android|widget|android-widget | -1 | 2020-02-02T08:20:59.660Z | 2,020 | 2 | 8 | 6 | 141 | 1 | 260 | 34 | 3 | 1 | true | false | false | false | false | true | negative |
60,024,411 | Howw to fix Android dependency is set to compileOnly/provided which is not supported | <p>I have an Android project that works fine on my Pc but when I take it to my partner PC it display Errors: </p>
<blockquote>
<p>ERROR: Android dependency
'com.google.android.gms:play-services-base:17.0.0' is set to
compileOnly/provided which is not supported</p>
</blockquote>
<p>and </p>
<blockquote>
<p>E... | I have an Android project that works fine on my Pc but when I take it to my partner PC it display Errors: ERROR: Android dependency 'com.google.android.gms:play-services-base:17.0.0' is set to compileOnly/provided which is not supported and ERROR: Unable to resolve dependency for ':@debug/compileClasspath': Could not r... | android | 1 | 2020-02-02T08:29:58.047Z | 2,020 | 2 | 8 | 6 | 606 | 1 | 1,239 | 84 | 1 | 1 | true | false | false | false | false | false | low |
60,024,431 | Enabling javascript in webview causing page loading issue | <p>I enabled javascript in my android webview. Now the page loads initially and then displays a blank white page. Disabling javascript causes the url to load fine.</p>
<pre><code>class MainWebViewActivity : AppCompatActivity()
{
lateinit var webview: WebView
override fun onCreate(savedInstanceState: Bundle?) ... | I enabled javascript in my android webview. Now the page loads initially and then displays a blank white page. Disabling javascript causes the url to load fine. [CODE] | javascript|android|kotlin|webview | 0 | 2020-02-02T08:33:28.030Z | 2,020 | 2 | 8 | 6 | 123 | 0 | 167 | 57 | 4 | 1 | true | true | false | false | false | false | zero |
60,024,472 | Dagger2 Map multibinding : What do I provide for this java.util.Map<java.lang.Class<?.....> for viewmodel map multibinding? | <p>I want to provide viewmodel through dagger, So I was using a ViewModelProviderFactory which has the map multibinding. Here is the code for ViewModelProviderFactory.kt:</p>
<pre><code>@Singleton
class ViewModelProviderFactory @Inject constructor(private val viewModels: MutableMap<Class<out ViewModel>, Provi... | I want to provide viewmodel through dagger, So I was using a ViewModelProviderFactory which has the map multibinding. Here is the code for ViewModelProviderFactory.kt: [CODE] And this is my ViewModelFactoryModule.kt : [CODE] This is my ViewModelKey.kt : [CODE] I want to add AuthViewModel to my activity named Login, her... | android|kotlin|dagger-2|dagger|android-viewmodel | 0 | 2020-02-02T08:39:58.043Z | 2,020 | 2 | 8 | 6 | 438 | 2 | 648 | 123 | 5 | 10 | true | false | false | false | false | false | zero |
60,024,485 | Error with CollectionView RemainingItemsThreshholdReached Command | <p>I use Prism MVVM in my app. So here is my XAML code</p>
<pre><code> IsRefreshing="{Binding IsRefreshing}"
Command="{Binding RefreshCommand}">
<CollectionView ItemsSource="{Binding Images}"
RemainingItemsThreshold="1"
RemainingItemsThres... | I use Prism MVVM in my app. So here is my XAML code [CODE] As you can see here I have parameter RemainingItemsThreshold with the value "1", and binding anUpdateImagesCommand to the RemainingItemsThresholdReachedCommand Here is a part of a code in view model of this xaml page [CODE] As you can see I in my VIewModel cons... | mvvm|xamarin.forms|xamarin.android|prism|collectionview | 1 | 2020-02-02T08:41:58.950Z | 2,020 | 2 | 8 | 6 | 557 | 1 | 753 | 65 | 5 | 2 | true | false | false | false | false | false | low |
60,024,543 | Android Q: How to get a list of images from a specific directory | <p>Android Q: I need to get a list of images from a specific directory I saved images on it and display these images on my app.</p>
<p>Save images code:</p>
<pre><code>final String relativeLocation = Environment.DIRECTORY_PICTURES + File.separator + "MyMedia" + File.separator + "Photo";
ContentResolver re... | Android Q: I need to get a list of images from a specific directory I saved images on it and display these images on my app. Save images code: [CODE] Get images code: [CODE] I need a direct query to get list of all images saved in the RELATIVE_PATH , ("MyMedia/Photo") without add, if condition in the cursor loop to che... | android|mediastore | 3 | 2020-02-02T08:52:40.240Z | 2,020 | 2 | 8 | 6 | 2,356 | 1 | 502 | 64 | 2 | 2 | true | false | false | false | false | false | low |
60,024,561 | Set header in retrofit http post request | <p>I have a retrofit interface (kotlin):</p>
<pre><code>interface Api {
@POST("updates")
fun getDetails(@Header("Authorization") token: Token,
@Body body: RequestBody): Single<ResponseObject>
}
</code></pre>
<p>When I call it like this (in java),</p>
<pre><code>List<String> ... | I have a retrofit interface (kotlin): [CODE] When I call it like this (in java), [CODE] It works and returns the proper data. My problem is that I don't want to create a new RequestBody object for each call, so instead of receiving a RequestBody, I want my interface to receive the JSON Object. When I try this however, ... | java|android|kotlin|retrofit2|okhttp | 0 | 2020-02-02T08:56:05.080Z | 2,020 | 2 | 8 | 6 | 826 | 0 | 563 | 40 | 5 | 3 | true | true | false | false | false | false | zero |
60,024,703 | Trying to make my reset button make counters go to zero | <p>I'm currently trying to make a simple app where I have a strike, ball, and reset button. When the strike and ball button are pressed, then the counters will add 1. If the strike counter hits 3 then it will pop up a message and reset the counters. The same logic applies to the ball counter. The strike and ball counte... | I'm currently trying to make a simple app where I have a strike, ball, and reset button. When the strike and ball button are pressed, then the counters will add 1. If the strike counter hits 3 then it will pop up a message and reset the counters. The same logic applies to the ball counter. The strike and ball counters ... | java|android|android-button | 0 | 2020-02-02T09:17:48.647Z | 2,020 | 2 | 9 | 6 | 283 | 2 | 532 | 55 | 3 | 2 | true | false | false | false | false | false | zero |
60,024,715 | Unable to Upgrade my android code to gradle 3.5.3 while using android-apt | <p>I am unable to upgrade code to gradle 3.5.3 when I tried a lot of error occurs.</p>
<p>here my old code <strong>app.gradle</strong></p>
<pre><code>apply plugin: 'com.android.application'
apply plugin: 'android-apt'
apply plugin: 'me.tatarka.retrolambda'
android {
compileSdkVersion 25
buildToolsVersion '25... | I am unable to upgrade code to gradle 3.5.3 when I tried a lot of error occurs. here my old code app.gradle [CODE] and this old project.gragle [CODE] my updated code app.gradle but still give a lot of issues [CODE] and this updated project.gragle [CODE] I tried a lot of code from stack but did not successed please how ... | android-studio|android-gradle-plugin|android-build|android-apt|android-variants | 0 | 2020-02-02T09:18:54.450Z | 2,020 | 2 | 9 | 6 | 181 | 1 | 344 | 73 | 5 | 4 | true | false | false | false | false | false | zero |
60,024,875 | Facebook Dialog is opening and closes immediately | <p>I am new there. Hope you are doing well. I have integrate Facebook login api in android. Unfortunately, When I click on "Login with Facebook" Button. The dialog box opens and closes immediately. It will not entering even in onSuccess method. </p>
<p>Here is my code. Please have a look on it. Plus I have set the sta... | I am new there. Hope you are doing well. I have integrate Facebook login api in android. Unfortunately, When I click on "Login with Facebook" Button. The dialog box opens and closes immediately. It will not entering even in onSuccess method. Here is my code. Please have a look on it. Plus I have set the status to live ... | android|facebook-graph-api|facebook-login | 3 | 2020-02-02T09:44:20.940Z | 2,020 | 2 | 9 | 6 | 126 | 0 | 562 | 49 | 3 | 1 | true | true | false | false | false | false | low |
60,024,934 | How to read query parameters from Firebase dynamic links (FDL) in an android APP | <p>I'm developing an Android app where I have used Firebase Password Authentication to sign in users. </p>
<p>After users provide their email and password, <strong>I'm sending a verification e-mail using FirebaseAuth SDK.</strong> </p>
<pre><code>/** SEND A VERIFICATION MAIL TO THE USER **/
ActionCodeSettings.Builde... | I'm developing an Android app where I have used Firebase Password Authentication to sign in users. After users provide their email and password, I'm sending a verification e-mail using FirebaseAuth SDK. [CODE] While verifying their email, I want users to be redirected in the app directly if it is installed, that's wher... | android|firebase|firebase-dynamic-links | 2 | 2020-02-02T09:52:37.460Z | 2,020 | 2 | 9 | 6 | 2,080 | 1 | 1,109 | 80 | 3 | 4 | true | false | false | false | false | false | low |
60,024,965 | integrating amazon fling sdk and whisperplay sdk to android | <p>I'm trying to make a wifi remote control using <code>connect-sdk</code> project (<a href="https://github.com/ConnectSDK/Connect-SDK-Android" rel="nofollow noreferrer">https://github.com/ConnectSDK/Connect-SDK-Android</a>).</p>
<p>it says to download the amazon sdk, so I'm following amazon tutorial, which in there i... | I'm trying to make a wifi remote control using connect-sdk project ( https://github.com/ConnectSDK/Connect-SDK-Android ). it says to download the amazon sdk, so I'm following amazon tutorial, which in there it says to download WhisperPlay lib: https://developer.amazon.com/docs/fling/setting-up-your-amazon-fling-develop... | android|amazon-web-services | 0 | 2020-02-02T09:58:02.273Z | 2,020 | 2 | 9 | 6 | 388 | 2 | 544 | 59 | 2 | 0 | false | false | false | false | false | false | zero |
60,025,007 | Splash Screen - how to? | <p>I have a problem with the splash screen because once the app is started I see the MainActivity first and after the splash screen, what is the errors?</p>
<pre><code>public class MainActivity extends AppCompatActivity {
int time = 3000;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCre... | I have a problem with the splash screen because once the app is started I see the MainActivity first and after the splash screen, what is the errors? [CODE] XML code of MainActivity. [CODE] XML code of Splash_screen. [CODE] These are the xml codes of the MainActivity file and the Splash_screen. Thanks for your help, i ... | java|android|splash-screen | 0 | 2020-02-02T10:02:59.377Z | 2,020 | 2 | 10 | 6 | 54 | 2 | 368 | 23 | 3 | 3 | true | false | false | false | false | false | zero |
60,025,029 | Search on GoogleMap | <p>I develop an Android app. I want to create a search system on GoogleMap using SearchView. I want to get multiple place names from the entered string (as in the original search on Google Maps), but Geocoder always returns a List with a single Address.</p>
<p>How I can solve this problem?</p>
<pre><code>SearchView s... | I develop an Android app. I want to create a search system on GoogleMap using SearchView. I want to get multiple place names from the entered string (as in the original search on Google Maps), but Geocoder always returns a List with a single Address. How I can solve this problem? [CODE] | java|android|searchview|google-geocoder | -2 | 2020-02-02T10:06:36.807Z | 2,020 | 2 | 10 | 6 | 167 | 1 | 287 | 19 | 4 | 1 | true | false | false | false | false | true | negative |
60,025,079 | Every time when i open class teacher's project to my system it shows this error.Error running app: Default activity not found | <p><a href="https://i.stack.imgur.com/AHwru.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AHwru.png" alt="Error"></a></p>
<p>I'm a beginner in Android.
Every time when I open class teacher's project to my system it shows this error.</p>
<pre><code>Error running app: Default activity not found.
... | I'm a beginner in Android. Every time when I open class teacher's project to my system it shows this error. [CODE] What should I do to match the same project as my teacher's? I've tried many solutions. My Manifest file is [CODE] | android|android-studio|android-activity | -2 | 2020-02-02T10:13:58.383Z | 2,020 | 2 | 10 | 6 | 35 | 1 | 228 | 125 | 3 | 2 | true | false | false | false | false | true | negative |
60,025,153 | Data is inserted but wont retrieve using Room | <p>Trying to fetch the data from the server using Retrofit and caching it offline using Room Database.</p>
<p><strong>Problem</strong> I have fetched the data from the server and inserted it into the room but could not populate it. After evaluating the expression, the LiveData list is null.</p>
<p>I am certain that t... | Trying to fetch the data from the server using Retrofit and caching it offline using Room Database. Problem I have fetched the data from the server and inserted it into the room but could not populate it. After evaluating the expression, the LiveData list is null. I am certain that the insertion is successful, as I wen... | android|kotlin|android-room | 0 | 2020-02-02T10:23:15.517Z | 2,020 | 2 | 10 | 6 | 350 | 1 | 653 | 45 | 3 | 6 | true | false | false | false | false | false | zero |
60,025,299 | Issue with Appium server: error: more than one device/emulator'; Code: '1'” | <p><strong>The problem</strong>
I try to run 1 test on multiple Android smartphones in parallel for app Instagram with Python.</p>
<p>I have the very popular issue:</p>
<blockquote>
<p>“Encountered internal error running command: Error executing adbExec.
Original error: 'Command
'C:\Users\Nino\AppData\Local\And... | The problem I try to run 1 test on multiple Android smartphones in parallel for app Instagram with Python. I have the very popular issue: “Encountered internal error running command: Error executing adbExec. Original error: 'Command 'C:\Users\Nino\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 535197167363... | appium|appium-android|python-appium|appium-desktop | 0 | 2020-02-02T10:43:38.383Z | 2,020 | 2 | 10 | 6 | 656 | 1 | 1,447 | 75 | 4 | 2 | true | false | false | false | false | false | zero |
60,025,359 | How to enable AllOpen plugin for android | <p>I am trying to add the <a href="https://kotlinlang.org/docs/reference/compiler-plugins.html#all-open-compiler-plugin" rel="nofollow noreferrer">allopen</a> plugin for android.</p>
<p>I added this to my <code>build.gradle(.)</code></p>
<pre><code>ext.kotlin_version = '1.3.61'
classpath "org.jetbrains.kotlin:kotlin... | I am trying to add the allopen plugin for android. I added this to my build.gradle(.) [CODE] I added this to my app/build.gradle [CODE] Due to the project structure, the annotation is in a different module than the one belonging to App I added this In sidemodule/debug/Mockable [CODE] And then this in sidemodule/debug/O... | android|kotlin-allopen | 4 | 2020-02-02T10:51:25.780Z | 2,020 | 2 | 10 | 6 | 374 | 1 | 495 | 40 | 2 | 6 | true | false | false | false | false | false | low |
60,025,396 | How to make 4 different calls to 4 different endpoints on same activity in android and pass the cumulative result to an adapter | <p>I am developing an android app where i want to make 4 different api calls to different endpoints of the tmdbapi. I am using retrofit and java. How can i combine these calls within a single fragment wait for them to finish and pass all the results from each individual call to an adapter class for view binding.</p>
<... | I am developing an android app where i want to make 4 different api calls to different endpoints of the tmdbapi. I am using retrofit and java. How can i combine these calls within a single fragment wait for them to finish and pass all the results from each individual call to an adapter class for view binding. Here is m... | java|android|networking|retrofit2 | 0 | 2020-02-02T10:55:49.613Z | 2,020 | 2 | 10 | 6 | 44 | 1 | 454 | 127 | 4 | 1 | true | false | false | false | false | false | zero |
60,025,414 | Navigating from click listener in a row to another fragment | <p><a href="https://i.stack.imgur.com/0tFpc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0tFpc.png" alt=""></a></p>
<p>I need to click the <strong>button</strong> in <strong>Fragment A</strong> to Navigate to <strong>Fragment C</strong></p>
<p>am using <a href="https://developer.android.com/guid... | I need to click the button in Fragment A to Navigate to Fragment C am using Navigation Component , Data binding and Android ViewModel row.xml [CODE] FragmentA [CODE] navigation.xml [CODE] i also tried to make the navigation from nav_fragment_a to nav_fragment_c but it always give me an exception java.lang.IllegalArgume... | android|navigation|android-architecture-navigation | 2 | 2020-02-02T10:58:24.580Z | 2,020 | 2 | 10 | 6 | 870 | 1 | 414 | 59 | 3 | 3 | true | false | false | false | false | false | low |
60,025,426 | Using LocationServices to get latitude and longitude | <p>I'm trying to get the latitude and longitude for on my android application using the following code.</p>
<pre><code>public class MainActivity extends AppCompatActivity {
private FusedLocationProviderClient client;
private double latitude;
private double longitude;
private String test;
@Override
... | I'm trying to get the latitude and longitude for on my android application using the following code. [CODE] However location in the onSuccess method is always null and I can't figure out why. I have the following permissions in my manifest file: [CODE] | java|android | 0 | 2020-02-02T11:00:26.763Z | 2,020 | 2 | 11 | 6 | 31 | 1 | 252 | 52 | 2 | 2 | true | false | false | false | false | false | zero |
60,025,585 | KeyPair from PEMKeyPair with BouncyCastle on Android | <p>Got exception on Android while converting PEMKeyPair to KeyPair:</p>
<pre><code> org.bouncycastle.openssl.PEMException: unable to convert key pair: The BC provider no longer provides an implementation for KeyFactory.RSA. Please see https://android-developers.googleblog.com/2018/03/cryptography-changes-in-android-p... | Got exception on Android while converting PEMKeyPair to KeyPair: [CODE] This code works fine on vanilla Java on my desktop PC while fails on Android: [CODE] How to solve this problem? | java|android|certificate|bouncycastle | 0 | 2020-02-02T11:22:51.593Z | 2,020 | 2 | 11 | 6 | 1,070 | 1 | 183 | 52 | 4 | 2 | true | false | false | false | false | false | zero |
60,025,602 | Deleting RecyclerView Row with visible button not working as expected | <p>So I have a weird bug which I think I've introduced into my code. It involves a RecyclerView.</p>
<p>So when a user wants to delete a row in my app, the following should occur:</p>
<ol>
<li>User long presses row</li>
<li>Delete row button becomes visible.</li>
<li>User clicks button to delete the row.</li>
<li>Con... | So I have a weird bug which I think I've introduced into my code. It involves a RecyclerView. So when a user wants to delete a row in my app, the following should occur: User long presses row Delete row button becomes visible. User clicks button to delete the row. Confirmation dialog shows (this is yet to be implemente... | android|android-recyclerview | 0 | 2020-02-02T11:24:31.370Z | 2,020 | 2 | 11 | 6 | 32 | 1 | 1,095 | 69 | 2 | 3 | true | false | false | false | false | false | zero |
60,025,624 | Flutter - Recording Android system/application Or saving audio as mp3 | <p>hope you have a wonderful weekend . I am making a text to speech App that saves the speech as mp3 . I am using the "flutter_tts" package which plays audio upon giving it a text , how can i output the audio as mp3 or record it while it's playing.</p>
<pre><code>FlutterTts flutterTts = FlutterTts();
flutterTts.speak(... | hope you have a wonderful weekend . I am making a text to speech App that saves the speech as mp3 . I am using the "flutter_tts" package which plays audio upon giving it a text , how can i output the audio as mp3 or record it while it's playing. [CODE] | android|flutter|dart|text-to-speech|audio-recording | 0 | 2020-02-02T11:27:30.043Z | 2,020 | 2 | 11 | 6 | 801 | 1 | 252 | 69 | 5 | 1 | true | false | false | false | false | false | zero |
60,025,741 | Motion Layout - The text size does not change when using two layout files for Transition constraintSetEnd and constraintSetStart | <p>I have two layout files which I am using to do the start and end transition using a motion layout. </p>
<p>The text moves as expected, based on start layout file to end layout file. But the text size does not change, even though different text sizes have been defined in each of the two layouts. </p>
<p>Could someo... | I have two layout files which I am using to do the start and end transition using a motion layout. The text moves as expected, based on start layout file to end layout file. But the text size does not change, even though different text sizes have been defined in each of the two layouts. Could someone please help? The f... | android|android-view|android-transitions|android-motionlayout | 0 | 2020-02-02T11:45:37.867Z | 2,020 | 2 | 11 | 6 | 1,583 | 1 | 460 | 128 | 4 | 3 | true | false | false | false | false | false | zero |
60,025,804 | How to get the random key paired with a specific value in firebase database and delete the value? | <p>I have a simple database structure like so:</p>
<p><a href="https://i.stack.imgur.com/S1rcS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S1rcS.png" alt="database jason"></a></p>
<p>I need to remove the value <code>earphone</code> by using its key which is <code>-M-4XBDqv-ve396r5EHm</code>.
I ... | I have a simple database structure like so: I need to remove the value earphone by using its key which is -M-4XBDqv-ve396r5EHm . I have a button for deleting that value, and I want to use this line of code to remove it: mReferenceForListA.child("List A").child("Items").child(key).removeValue() . But how do I get the ke... | java|android|firebase|firebase-realtime-database|nodes | 0 | 2020-02-02T11:52:17.680Z | 2,020 | 2 | 11 | 6 | 164 | 2 | 1,105 | 97 | 5 | 1 | true | false | false | false | false | false | zero |
60,025,875 | How to getContext() in LIBGDX android app | <p>I need to get the <code>Context</code> of my app but in my main Class extends from <code>Game</code> so I can not extends from <code>Activity</code>. Does anybody know how to do it?</p>
<p>Thank you!</p> | I need to get the Context of my app but in my main Class extends from Game so I can not extends from Activity . Does anybody know how to do it? Thank you! | android|android-activity|libgdx|android-context | 2 | 2020-02-02T12:01:26.807Z | 2,020 | 2 | 12 | 6 | 567 | 3 | 154 | 41 | 4 | 0 | false | false | false | false | false | false | low |
60,026,057 | Android Studio with scrolled activity | <p>Sorry I'm new to android studio and Stack Overflow.
How can I create a page where image buttons are scrolled?
My project is made with java.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xm... | Sorry I'm new to android studio and Stack Overflow. How can I create a page where image buttons are scrolled? My project is made with java. [CODE] | java|android|android-studio|smartphone | -2 | 2020-02-02T12:23:29.440Z | 2,020 | 2 | 12 | 6 | 38 | 1 | 146 | 37 | 4 | 1 | true | false | false | false | false | true | negative |
60,026,176 | How to set text in android, through a text watcher | <p>I have recently created a class that has a text view and an edit text.
I am using the edit text in order to get some input from an user, and I would like for my text view to display what the user types in.
I need to mention that my labels are created dynamically and I am not sure how to reference them.
C0uld you giv... | I have recently created a class that has a text view and an edit text. I am using the edit text in order to get some input from an user, and I would like for my text view to display what the user types in. I need to mention that my labels are created dynamically and I am not sure how to reference them. C0uld you give m... | android|dynamic | 0 | 2020-02-02T12:41:32.893Z | 2,020 | 2 | 12 | 6 | 46 | 1 | 365 | 50 | 2 | 1 | true | false | false | false | false | false | zero |
60,026,306 | EditTextPreference inputType=textPassword not working | <p>I've created a SettingsActivity with the template and put an EditTextPreference in my root_preferences.xml. It should contain a password, so I edited it like this:</p>
<pre><code><PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
andro... | I've created a SettingsActivity with the template and put an EditTextPreference in my root_preferences.xml. It should contain a password, so I edited it like this: [CODE] My problem is that neither inputType, singleLine nor setAllOnFocus is working. Do you know what's the problem? | android|xml|preferences|edittextpreference | 3 | 2020-02-02T12:56:10.573Z | 2,020 | 2 | 12 | 6 | 1,095 | 4 | 281 | 53 | 4 | 1 | true | false | false | false | false | false | low |
60,026,470 | Google Play store Cross App Scripting Error | <p>Every time I upload my app update to google playstore , I am sent the message: <strong>Your app(s) are using a WebView that is vulnerable to cross-app scripting</strong>. However, I am not using any Webview in my application and i have effected all the changes google recommended. I contacted Google so many times to ... | Every time I upload my app update to google playstore , I am sent the message: Your app(s) are using a WebView that is vulnerable to cross-app scripting . However, I am not using any Webview in my application and i have effected all the changes google recommended. I contacted Google so many times to direct me to the so... | android|android-security | 0 | 2020-02-02T13:16:04.623Z | 2,020 | 2 | 13 | 6 | 268 | 1 | 472 | 43 | 2 | 0 | false | false | false | false | false | false | zero |
60,026,528 | How to open SAF (Storage Access Framework) to select storage? | <p>How to open SAF (Storage Access Framework) to select storage as in the picture? <a href="https://i.stack.imgur.com/uJIFf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uJIFf.png" alt="enter image description here"></a></p>
<p>I tried:</p>
<pre><code>Intent intent = new Intent(Intent.ACTION_OPEN... | How to open SAF (Storage Access Framework) to select storage as in the picture? I tried: [CODE] but this opens only Recent and user have to click to ... and Show Internal Storage and after that select for example SDCard or Internal Storage . That's not user friendly. Is there any way to open view as in the picture or n... | android|storage-access-framework|android-storage | 0 | 2020-02-02T13:23:28.837Z | 2,020 | 2 | 13 | 6 | 2,177 | 2 | 551 | 61 | 3 | 2 | true | false | false | false | false | false | zero |
60,026,554 | How can I create a counter that counts down to a given time and date? | <p>I have a given time and date and I want to create a counter in my game that is counting down to this given date. I want to display the counter in this format: Days/Hours/Minutes/Seconds</p>
<p>How can I convert the DateTime {2/3/2020 12:00:00 AM} to something like this: 0 Days / 9 Hours / 30 Minutes / 20 Seconds ?
... | I have a given time and date and I want to create a counter in my game that is counting down to this given date. I want to display the counter in this format: Days/Hours/Minutes/Seconds How can I convert the DateTime {2/3/2020 12:00:00 AM} to something like this: 0 Days / 9 Hours / 30 Minutes / 20 Seconds ? The counter... | c#|xamarin.android|xamarin.ios|xna | -2 | 2020-02-02T13:26:30.607Z | 2,020 | 2 | 13 | 6 | 263 | 1 | 611 | 69 | 4 | 1 | true | false | false | false | false | true | negative |
60,026,619 | Center bitmap verticaly and horizontaly while preserving it's aspect ratio | <p>I am working on a splashcreen drawable that has black background and logo image in the center. At present that file looks like this:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
<!-- the bac... | I am working on a splashcreen drawable that has black background and logo image in the center. At present that file looks like this: [CODE] However there is an issue that is demonstrated in image below. Image is bigger than device width and get's cut off. Ideally I'd like to preserve this image's aspect ratio but fit i... | android | 0 | 2020-02-02T13:35:48.770Z | 2,020 | 2 | 13 | 6 | 79 | 1 | 468 | 74 | 1 | 1 | true | false | false | false | false | false | zero |
60,026,650 | ImportError: No module named requests on android kivy launcher | <p>I am trying to run my python3 code through the kivy launcher on my android device but it crashes on launch, pointing towards the requests module in the error log. Is there any way to get the requests module to work on my android device?
As a side note, I am not using buildozer for this as I do not have a Linux mach... | I am trying to run my python3 code through the kivy launcher on my android device but it crashes on launch, pointing towards the requests module in the error log. Is there any way to get the requests module to work on my android device? As a side note, I am not using buildozer for this as I do not have a Linux machine,... | python|android|kivy | 0 | 2020-02-02T13:39:29.457Z | 2,020 | 2 | 13 | 6 | 518 | 1 | 360 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
60,026,662 | Passing data from android studio to php | <p>I amm new in android. I want to get value of my id using json to my php server
so I can get all data i want from my database.</p>
<p>This is query I want to do</p>
<pre><code>$query1=mysqli_query($con,"SELECT * FROM jadwal_matakuliah WHERE nim_mhs ='$id'");
</code></pre>
<p><strong>my php code</strong></p>
<pre... | I amm new in android. I want to get value of my id using json to my php server so I can get all data i want from my database. This is query I want to do [CODE] my php code [CODE] my android code [CODE] | php|mysql|json|android-studio | -1 | 2020-02-02T13:40:40.803Z | 2,020 | 2 | 13 | 6 | 60 | 1 | 201 | 39 | 4 | 3 | true | false | false | false | false | true | negative |
60,026,704 | Android Same app bundle for multiple os versions | <p>How to use the same app bundle & based on minimum SDK & target SDK versions for the old API version it would be a very lite version of the app with less Gradle dependencies & code.</p>
<p>The old way to implement this to have two projects with one key store signing & to upload multiple Apks.</p>
<p... | How to use the same app bundle & based on minimum SDK & target SDK versions for the old API version it would be a very lite version of the app with less Gradle dependencies & code. The old way to implement this to have two projects with one key store signing & to upload multiple Apks. Is there a difference while using ... | android|google-play|android-app-bundle | 3 | 2020-02-02T13:45:58.487Z | 2,020 | 2 | 13 | 6 | 565 | 1 | 501 | 48 | 3 | 0 | false | false | false | false | false | false | low |
60,026,769 | How to control component visibility in Java android applications based on user role? | <p>I'm implementing Android Java application in which there are two types of User. Each of them have permission to use some of the application features but not all of them.</p>
<p>My current implementation includes setting of all components visibility inside one activity every time user is redirected to that same acti... | I'm implementing Android Java application in which there are two types of User. Each of them have permission to use some of the application features but not all of them. My current implementation includes setting of all components visibility inside one activity every time user is redirected to that same activity. Examp... | java|android|user-permissions|user-management | 0 | 2020-02-02T13:54:25.423Z | 2,020 | 2 | 13 | 6 | 123 | 1 | 500 | 84 | 4 | 1 | true | false | false | false | false | false | zero |
60,026,785 | Fatal exception while removing duplicate strings from a list | <p>Basically one function of my app should get an array with different strings from Firestore. Then another function should select 3 different strings from that array and store it in a list. The strings should not be identical, so in the end the list should have 3 unique random strings from the array I got from Firesto... | Basically one function of my app should get an array with different strings from Firestore. Then another function should select 3 different strings from that array and store it in a list. The strings should not be identical, so in the end the list should have 3 unique random strings from the array I got from Firestore.... | java|android|arraylist|random | 1 | 2020-02-02T13:56:03.970Z | 2,020 | 2 | 13 | 6 | 76 | 1 | 1,027 | 60 | 4 | 2 | true | false | false | false | false | false | low |
60,026,818 | Why doesn't this function give me a true result? | <p>I'm doing a duplicate registration check on this page. When the function is running, I can see how many entries are from the same record. I saw this with println. but I cannot get this number with this function. the number returns zero. If I think it is my default value.
How can I solve this problem, can you help me... | I'm doing a duplicate registration check on this page. When the function is running, I can see how many entries are from the same record. I saw this with println. but I cannot get this number with this function. the number returns zero. If I think it is my default value. How can I solve this problem, can you help me? [... | android|parsing|kotlin | 1 | 2020-02-02T14:00:36.030Z | 2,020 | 2 | 14 | 6 | 51 | 0 | 325 | 48 | 3 | 1 | true | true | false | false | false | false | low |
60,026,842 | How do I force apply a dark theme on Android? | <p>According to the <a href="https://developer.android.com/guide/topics/ui/look-and-feel/darktheme#force_dark" rel="nofollow noreferrer">docs</a>, I only need to set <code>android:forceDarkAllowed=true</code> in my activity manifest and inherit theme from <code>parent="Theme.MaterialComponents.DayNight"</code... | According to the docs , I only need to set android:forceDarkAllowed=true in my activity manifest and inherit theme from parent="Theme.MaterialComponents.DayNight" . I tried that, but it didn't work. Here's my manifest file: [CODE] And here's my styles.xml styles: [CODE] I tried to get the theme name of the ac... | android|android-theme|android-dark-theme | 9 | 2020-02-02T14:02:56.617Z | 2,020 | 2 | 14 | 6 | 17,729 | 3 | 595 | 45 | 3 | 3 | true | false | true | true | false | false | medium |
60,026,918 | error: incompatible types: android.content.Context cannot be converted to com.google.firebase.database.core.Context | <p>public class MyCategoriesAdapter extends RecyclerView.Adapter {</p>
<pre><code>Context context;
List<CategoryModel> categoryModelList;
public MyCategoriesAdapter(Context context, List<CategoryModel> categoryModelList) {
this.context = context;
this.categoryModelList = categoryModelList;
}
@Non... | public class MyCategoriesAdapter extends RecyclerView.Adapter { [CODE] } here is the full code the contetx is to get datatabase from firebase i also have this error error: no suitable method found for with(com.google.firebase.database.core.Context) method Glide.with(android.content.Context) is not applicable (argument ... | java|android|firebase|firebase-realtime-database|compiler-errors | -4 | 2020-02-02T14:12:11.470Z | 2,020 | 2 | 14 | 6 | 719 | 1 | 1,200 | 115 | 5 | 1 | true | false | false | false | false | true | negative |
60,027,043 | Android glTexSubImage2D with GL_TEXTURE_EXTERNAL_OES problem (OpenGL + OpenCV + CameraX) | <p>I am writing an app utilizing CameraX to capture the camera feed, OpenCV to modify the frames and the OpenGL to render them on a <code>GLSurfaceView</code>.</p>
<p>My current approach was to render the original frames from CameraX, construct a pixel buffer, an OpenCV <code>Mat</code>, use <code>glReadPixels</code> ... | I am writing an app utilizing CameraX to capture the camera feed, OpenCV to modify the frames and the OpenGL to render them on a GLSurfaceView . My current approach was to render the original frames from CameraX, construct a pixel buffer, an OpenCV Mat , use glReadPixels to copy the pixel buffer ( ByteBuffer ) into the... | android|opencv|opengl-es|glsurfaceview|android-camerax | 0 | 2020-02-02T14:26:22.460Z | 2,020 | 2 | 14 | 6 | 791 | 1 | 1,244 | 88 | 5 | 2 | true | false | false | false | false | false | zero |
60,027,322 | SQLite Android multiple selectionArgs for one selection parametr | <p>I now there are similar questions here, but I can't figure out what to do by them, I got following code</p>
<pre><code> Cursor getterCursor = null;
String selection = "topic" + " =? ";
String[] selectionArgs = new String[] {"topic1", "topic2"};
getterCursor = questionsDatabase.query(mDBName, null, sel... | I now there are similar questions here, but I can't figure out what to do by them, I got following code [CODE] And it returns an error java.lang.IllegalArgumentException: Cannot bind argument at index 2 because the index is out of range. The statement has 1 parameters. . I understand that it happens because I got two e... | java|android|sqlite|android-sqlite | 2 | 2020-02-02T14:57:40.143Z | 2,020 | 2 | 14 | 6 | 174 | 1 | 610 | 64 | 4 | 1 | true | false | false | false | false | false | low |
60,027,369 | How To add different Chrome Custom tab toolbar colors for multiple websites in one app? | <p>I am using the Chrome Custom tab in my android app to open multiple websites, so I want to keep different toolbar colors for each website, so kindly help me how to do that?</p> | I am using the Chrome Custom tab in my android app to open multiple websites, so I want to keep different toolbar colors for each website, so kindly help me how to do that? | android-studio|chrome-custom-tabs | 1 | 2020-02-02T15:01:52.430Z | 2,020 | 2 | 15 | 6 | 56 | 0 | 172 | 87 | 2 | 0 | false | true | false | false | false | false | low |
60,027,398 | Using Firebase autogenerated key to return post specific data | <p>I need to retrieve from Firebase a post's specific location which places a marker on the map where that location is (Latitude and Longitude). I have to do this by querying the autogenerated key that Firebase creates because each post has it's specific autogenerated Firebase key. </p>
<p>I looked up how to query a F... | I need to retrieve from Firebase a post's specific location which places a marker on the map where that location is (Latitude and Longitude). I have to do this by querying the autogenerated key that Firebase creates because each post has it's specific autogenerated Firebase key. I looked up how to query a Firebase key ... | java|android|firebase|firebase-realtime-database | 0 | 2020-02-02T15:04:43.133Z | 2,020 | 2 | 15 | 6 | 62 | 2 | 1,153 | 61 | 4 | 2 | true | false | false | false | false | false | zero |
60,027,494 | Android Studio - Alert Box is to big | <p>Hello Im a beginner in Androidstudio</p>
<p>I tried to fix the Alertbox for about 2 hours now, but I dont get whats wrong with it.</p>
<p>Here is a picture of the Alertbox</p>
<p><a href="https://i.stack.imgur.com/C6UiK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C6UiK.png" alt="Picture of ... | Hello Im a beginner in Androidstudio I tried to fix the Alertbox for about 2 hours now, but I dont get whats wrong with it. Here is a picture of the Alertbox The Alertbox should end after the word "WEITER" (Yes, I speak German.) I hope we can figure out what the problem is. Down there are all relevant Informations. Her... | java|android-studio|size|alert | 0 | 2020-02-02T15:14:36.970Z | 2,020 | 2 | 15 | 6 | 27 | 1 | 566 | 36 | 4 | 2 | true | false | false | false | false | false | zero |
60,027,630 | How to add analytics label when we send data message via legacy app server protocols | <p>We are using legacy app server protocols to send Firebase data message, for several years.</p>
<p><a href="https://firebase.google.com/docs/cloud-messaging/send-message#send-messages-using-the-legacy-app-server-protocols" rel="nofollow noreferrer">https://firebase.google.com/docs/cloud-messaging/send-message#send-m... | We are using legacy app server protocols to send Firebase data message, for several years. https://firebase.google.com/docs/cloud-messaging/send-message#send-messages-using-the-legacy-app-server-protocols [CODE] However, recently, we cannot see any delivery report in Firebase console. We notice we need to add analytics... | python|android|firebase|push-notification | 0 | 2020-02-02T15:29:03.820Z | 2,020 | 2 | 15 | 6 | 2,468 | 1 | 641 | 84 | 4 | 1 | true | false | false | false | false | false | zero |
60,027,669 | Android WorkManager PeriodicWorkRequest execution issue | <p>I have an app that downloads data from an online database. It uses PeriodicWorkRequest and it doesn't work as expected. I use WorkManager 2.3.0.</p>
<p>There is my WorkManager settings</p>
<pre><code>public class ReminderUtil {
public static final String ARTICLE_WORK_TAG = "article_work";
public static void sched... | I have an app that downloads data from an online database. It uses PeriodicWorkRequest and it doesn't work as expected. I use WorkManager 2.3.0. There is my WorkManager settings [CODE] Worker class [CODE] } And there is my log [CODE] As you can see the worker should run every 120 minutes with 10 minutes flexi time but ... | android|android-workmanager | 2 | 2020-02-02T15:33:21.317Z | 2,020 | 2 | 15 | 6 | 847 | 1 | 773 | 55 | 2 | 5 | true | false | false | false | false | false | low |
60,027,693 | How to make an underlined border only for OutlineButton in Flutter | <p>I'm trying to create a button that will display a colored border underneath my image, but only on the bottom side. In OutlineButton it only lets me change the whole border, and not one side of it. Can anyone help me! I need it to be a button because I'm using onPressed(){} to perform my color changing from Colors.tr... | I'm trying to create a button that will display a colored border underneath my image, but only on the bottom side. In OutlineButton it only lets me change the whole border, and not one side of it. Can anyone help me! I need it to be a button because I'm using onPressed(){} to perform my color changing from Colors.trans... | android-studio|flutter|dart | 1 | 2020-02-02T15:36:45.280Z | 2,020 | 2 | 15 | 6 | 2,850 | 2 | 382 | 66 | 3 | 0 | false | false | true | false | false | false | low |
60,027,708 | Crash after BottomNavigation click while animation is still fading in/out | <p>I have BottomNavigation and 4 fragments. The App crashes after I click on the BottomNavigation symbols but only if the animation (fade in/out) is still in process. If I disable the animation in my code like shown: /<em>setCustomAnimations(R.anim.fade_in, R.anim.fade_out).</em>/ everything works fine but without anim... | I have BottomNavigation and 4 fragments. The App crashes after I click on the BottomNavigation symbols but only if the animation (fade in/out) is still in process. If I disable the animation in my code like shown: / setCustomAnimations(R.anim.fade_in, R.anim.fade_out). / everything works fine but without animation of c... | android|android-fragments|animation|bottomnavigationview|fragment-animation | 0 | 2020-02-02T15:38:56.653Z | 2,020 | 2 | 15 | 6 | 160 | 1 | 688 | 73 | 5 | 3 | true | false | false | false | false | false | zero |
60,027,746 | Error while adding another table in room database | <p>I already was using room database in my application. Now I have migrated my project to androidX, so dependencies are changed.</p>
<p>Now when I am adding a table and trying to run the project, I am getting an error for multiple files:</p>
<pre><code>error: cannot find symbol class BR
</code></pre>
<p>Here is my m... | I already was using room database in my application. Now I have migrated my project to androidX, so dependencies are changed. Now when I am adding a table and trying to run the project, I am getting an error for multiple files: [CODE] Here is my model class: [CODE] Here is my NotificationDao Class: [CODE] Here is the c... | android|android-room | 0 | 2020-02-02T15:43:09.223Z | 2,020 | 2 | 15 | 6 | 147 | 1 | 488 | 49 | 2 | 6 | true | false | false | false | false | false | zero |
60,027,761 | Look for a GC friendly way to replace substring frequently | <p>My goal is simply replace the substring, but very frequently. The program runs in Android.</p>
<p>Such as I have a string = <code>{a} is a good {b}.</code> with a map=<code>{{a}=Bob, {b}=boy}</code>, and the result should be <code>Bob is a good boy.</code> I need to deal with such replacement for different string u... | My goal is simply replace the substring, but very frequently. The program runs in Android. Such as I have a string = {a} is a good {b}. with a map= {{a}=Bob, {b}=boy} , and the result should be Bob is a good boy. I need to deal with such replacement for different string up to 400 times peer second because the value of ... | android|string|kotlin|garbage-collection|stringbuilder | 1 | 2020-02-02T15:44:24.413Z | 2,020 | 2 | 15 | 6 | 146 | 1 | 869 | 58 | 5 | 1 | true | false | false | false | false | false | low |
60,027,792 | Xamarin Forms WithParentActivityOrWindow not working if lauched from a link | <p>I'm doing a Xamarin Forms application and have all wired to integrate with <code>MSAL.net</code>. In Android, when I launch the application from the drawer, everything works fine, the authentication it's done and the
<code>MainActivity.OnActivityResult</code> it's called (it's where I have <code>Authenticatio... | I'm doing a Xamarin Forms application and have all wired to integrate with MSAL.net . In Android, when I launch the application from the drawer, everything works fine, the authentication it's done and the MainActivity.OnActivityResult it's called (it's where I have AuthenticationContinuationHelper.SetAuthenticationCont... | android|xamarin.forms|msal|android-app-links | 0 | 2020-02-02T15:47:31.157Z | 2,020 | 2 | 15 | 6 | 479 | 0 | 810 | 75 | 4 | 1 | true | true | false | false | false | false | zero |
60,027,829 | Frida - Error: access violation accessing 0x0 | <p>I'm running Frida on Android application, After period time I got the following exception:</p>
<pre><code>Error: access violation accessing 0x0
at NativePointer.readU8 (frida/runtime/core.js:144:17)
at parseLibffiClosureEntrypointForIA32 (frida/node_modules/frida-java-bridge/lib/android.js:1165:1)
at... | I'm running Frida on Android application, After period time I got the following exception: [CODE] Frida-server version: frida-server-12.8.10-android-x86.xz Frida-Node version: 12.8.10 Any suggestions? | android|frida | 2 | 2020-02-02T15:51:52.143Z | 2,020 | 2 | 15 | 6 | 2,341 | 0 | 200 | 45 | 2 | 1 | true | true | false | false | false | false | low |
60,027,883 | Take photo in Android app and save it into gallery | <p>I am developing an Android app, and at some point I have to take a photo and save it to the gallery. The camera opens and takes the photo but does not save it to the gallery.
Here is my code:</p>
<pre><code>public class CameraActivity extends AppCompatActivity {
@RequiresApi(api = Build.VERSION_CODES.M)
@O... | I am developing an Android app, and at some point I have to take a photo and save it to the gallery. The camera opens and takes the photo but does not save it to the gallery. Here is my code: [CODE] Layout: [CODE] Can anyone help me? I've searched other similar questions but neither could help me. Thanks to everyone, a... | java|android|android-camera | 2 | 2020-02-02T15:58:03.813Z | 2,020 | 2 | 15 | 6 | 9,366 | 1 | 342 | 50 | 3 | 2 | true | false | true | false | false | false | low |
60,027,908 | android.media.AudioTrack stereo volume 0 on one channel: still very soft sound of other channel | <p>When using <strong><em>android.media.AudioTrack</em></strong> to generate a sinus sound at runtime there are two ways to set the volume to 0 in the left or right channel: with the <strong><em>setStereoVolume</em></strong> method or by generating a 0 sound on one channel. With both methods, when there is a sound in t... | When using android.media.AudioTrack to generate a sinus sound at runtime there are two ways to set the volume to 0 in the left or right channel: with the setStereoVolume method or by generating a 0 sound on one channel. With both methods, when there is a sound in the other channel, this sound is also played at very low... | android|volume|audiotrack | 0 | 2020-02-02T16:00:43.440Z | 2,020 | 2 | 16 | 6 | 88 | 0 | 812 | 95 | 3 | 0 | false | true | false | false | false | false | zero |
60,028,042 | When onRestoreInstanceState is not called? | <p><a href="https://developer.android.com/reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle)" rel="nofollow noreferrer">Docs</a> describes when <code>onRestoreInstanceState</code> IS called:</p>
<blockquote>
<p>This method is called after <code>onStart()</code> when the activity is being r... | Docs describes when onRestoreInstanceState IS called: This method is called after onStart() when the activity is being re-initialized from a previously saved state, given here in savedInstanceState. (...) This method is called between onStart() and onPostCreate(Bundle) . This method is called only when recreating an ac... | android|android-lifecycle|activity-lifecycle|onsaveinstancestate | 1 | 2020-02-02T16:14:03.020Z | 2,020 | 2 | 16 | 6 | 279 | 1 | 515 | 42 | 4 | 0 | false | false | false | false | false | false | low |
60,028,057 | flutter aar file does not give classes in lib | <p>recently im asked to develope a flutter project and release a <em>flutter sdk</em> in order to use it in native android and native ios projects.
i have already used <strong>flutter build aar</strong> command to build an aar file to use it in android projects but that aar file does not create classes that i had creat... | recently im asked to develope a flutter project and release a flutter sdk in order to use it in native android and native ios projects. i have already used flutter build aar command to build an aar file to use it in android projects but that aar file does not create classes that i had created in flutter lib folder.it o... | android|ios|flutter|aar | 2 | 2020-02-02T16:15:57.933Z | 2,020 | 2 | 16 | 6 | 94 | 0 | 566 | 45 | 4 | 1 | true | true | false | false | false | false | low |
60,028,137 | Automate download of google-services.json for Android | <p>Is it possible to automate downloading the google-services.json configuration file for a Firebase app?</p>
<p>I'm using Firebase and looking for a way to automate a new application incl. Crashlytics.</p>
<p><a href="https://support.google.com/firebase/answer/7015592?hl=en" rel="nofollow noreferrer">https://support... | Is it possible to automate downloading the google-services.json configuration file for a Firebase app? I'm using Firebase and looking for a way to automate a new application incl. Crashlytics. https://support.google.com/firebase/answer/7015592?hl=en | android|firebase | 1 | 2020-02-02T16:26:09.430Z | 2,020 | 2 | 16 | 6 | 101 | 1 | 249 | 53 | 2 | 0 | false | false | false | false | false | false | low |
60,028,154 | Android Studio 3.5.3 does not import some widget | <p>Android Studio does not import some widget.
<a href="https://i.stack.imgur.com/x7sIt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x7sIt.png" alt="widget ImageButon is not impoted"></a></p>
<p>I have tried the following options and all have failed.</p>
<p>1.Invalidate cache and Restart</p>
<p... | Android Studio does not import some widget. I have tried the following options and all have failed. 1.Invalidate cache and Restart 2.Clean and Rebuild Project 3.Exit AS,delete .iml file and .deal folder,import the project 4.Sync with File Sytem 5.Sync Project with Gradle files. 6.Uninstall AS and reinstall with the sam... | java|android-studio|android-layout|android-widget | 2 | 2020-02-02T16:28:45.517Z | 2,020 | 2 | 16 | 6 | 438 | 1 | 443 | 48 | 4 | 2 | true | false | false | false | false | false | low |
60,028,196 | Where is stored the backing data of a bitmap in Android > 3.0? | <p>In Android's <a href="https://developer.android.com/topic/performance/graphics/cache-bitmap.html" rel="nofollow noreferrer">cache bitmap docs.</a> there is:</p>
<blockquote>
<p>In addition, prior to Android 3.0 (API Level 11), the backing data of a bitmap was stored in native memory (...)</p>
</blockquote>
<p><s... | In Android's cache bitmap docs. there is: In addition, prior to Android 3.0 (API Level 11), the backing data of a bitmap was stored in native memory (...) So after Android 3.0, what is the backing data of a bitmap? | android|bitmap|android-bitmap|android-memory | 0 | 2020-02-02T16:33:00.587Z | 2,020 | 2 | 16 | 6 | 40 | 1 | 214 | 62 | 4 | 0 | false | false | false | false | false | false | zero |
60,028,203 | How to move Firebase realtime database child value into another child value in an android studio? | <p>I want to move Firebase realtime database child value into another child value in an android studio. ( points: 25 into totalpoints: from the same user uid.</p>
<pre><code>{
"Users" : {
"8xNAsCfc3Afta2lPHHsMWHEOw8C2" : {
"points" : 25,
"users" : "umar"
}
},
"wFinal" : {
"8xNAsCfc3Afta2l... | I want to move Firebase realtime database child value into another child value in an android studio. ( points: 25 into totalpoints: from the same user uid. [CODE] I want this [CODE] | android|firebase|firebase-realtime-database | 0 | 2020-02-02T16:33:24.800Z | 2,020 | 2 | 16 | 6 | 360 | 2 | 181 | 97 | 3 | 2 | true | false | false | false | false | false | zero |
60,028,265 | App crashes after upgrading expo from 35 to 36 | <p>I updated my expo SDK from 35 to 36. Android build does not work on android x versions. The application gives error after splash screen. "Application keeps stopping". and no error.</p>
<p>While I am on the development mode my expo app works fine but once I build it crashes. I am also using sentry for capturing my e... | I updated my expo SDK from 35 to 36. Android build does not work on android x versions. The application gives error after splash screen. "Application keeps stopping". and no error. While I am on the development mode my expo app works fine but once I build it crashes. I am also using sentry for capturing my errors but i... | android|react-native|expo | 0 | 2020-02-02T16:39:36.207Z | 2,020 | 2 | 16 | 6 | 1,368 | 0 | 390 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
60,028,288 | Transfer from fragment to another in kotlin | <p>I am trying to make a button that will go to another fragment, but instead, it shows the second fragment above the first one, I really need help with the fragments because am new.</p>
<p>Here is my code for the first fragment:</p>
<pre><code> class ToolsFragment : Fragment() {
override fun onCreateView(
... | I am trying to make a button that will go to another fragment, but instead, it shows the second fragment above the first one, I really need help with the fragments because am new. Here is my code for the first fragment: [CODE] Here is my second fragment [CODE] Here is nav_host_fragment [CODE] | android|android-fragments|kotlin | 0 | 2020-02-02T16:42:07.720Z | 2,020 | 2 | 16 | 6 | 438 | 1 | 293 | 43 | 3 | 3 | true | false | false | false | false | false | zero |
60,028,290 | How to implement a full repository with kotlin flow | <p>I'm trying to implement a full repository using room's new flow support and retrofit's coroutine support. I'm running in some issues that I don't seem to find a solution to.</p>
<p>So first, let's state where i got so far. This is my ViewModel class:</p>
<pre><code>class InvViewModel : ViewModel() {
val repo = Rep... | I'm trying to implement a full repository using room's new flow support and retrofit's coroutine support. I'm running in some issues that I don't seem to find a solution to. So first, let's state where i got so far. This is my ViewModel class: [CODE] In this class, I create a flow that sets a state of loading, requests... | android|retrofit|android-room|kotlin-coroutines|kotlin-flow | 3 | 2020-02-02T16:42:18.807Z | 2,020 | 2 | 16 | 6 | 3,703 | 0 | 1,760 | 51 | 5 | 3 | true | true | true | false | false | false | low |
60,028,338 | IONIC 5 , some css/Scss works fine in browser but doesn't in phone | <p>It seems like the <code>display:..</code> is causing the problem (not sure) because every thing works just fine except:</p>
<pre><code>display:grid;,
display:content;,
display:bloc;
</code></pre>
<p><strong>The page in the browser:</strong></p>
<p><a href="https://i.stack.imgur.com/iVMQc.jpg" rel="nofollow nore... | It seems like the display:.. is causing the problem (not sure) because every thing works just fine except: [CODE] The page in the browser: The page in Android: | android|html|css|sass|ionic5 | 0 | 2020-02-02T16:48:41.333Z | 2,020 | 2 | 16 | 6 | 150 | 1 | 159 | 66 | 5 | 1 | true | false | false | false | false | false | zero |
60,028,554 | Android disable Scrollview end animation | <p>There is animation when reaching the end of Scrollview with great velocity. The animation basically pulling the ScrollView up when scrolling down reaching the end, indicating that it's the end of that view. <strong>How can i disable it?</strong></p>
<p>My situation is that the ScrollView sitting on top of another v... | There is animation when reaching the end of Scrollview with great velocity. The animation basically pulling the ScrollView up when scrolling down reaching the end, indicating that it's the end of that view. How can i disable it? My situation is that the ScrollView sitting on top of another view that has dark background... | android|android-scrollview | 4 | 2020-02-02T17:11:38.840Z | 2,020 | 2 | 17 | 6 | 3,013 | 1 | 364 | 40 | 2 | 0 | false | false | true | false | false | false | low |
60,028,587 | Background service with isolated process in xamarin forms | <p>Hello friends how are you?.
I tell you that I am doing an exercise to run a service in the background. What I want to achieve is that even if the application is closed this service is still running. I have followed the microsoft documentation that says the following:
<a href="https://docs.microsoft.com/en-us/xamarin... | Hello friends how are you?. I tell you that I am doing an exercise to run a service in the background. What I want to achieve is that even if the application is closed this service is still running. I have followed the microsoft documentation that says the following: docs.microsoft.com/en-us/xamarin/android/app-fundame... | c#|xamarin.forms|xamarin.android | 2 | 2020-02-02T17:14:16.493Z | 2,020 | 2 | 17 | 6 | 2,756 | 1 | 1,202 | 57 | 3 | 5 | true | false | true | false | false | false | low |
60,028,627 | Dynamic image resource on foreground notification not working properly | <p>Android foreground notification was working properly before i replaced</p>
<pre><code>.setSmallIcon(R.drawable.img1)
</code></pre>
<p>with dynamic image resource</p>
<pre><code>int dynamicImageResource = getApplicationContext().getResources().getIdentifier("img"+i, "drawable", getPackageName());
.setSmallIcon(dyn... | Android foreground notification was working properly before i replaced [CODE] with dynamic image resource [CODE] where i is a variable. The problem is, it issues a notification stating that: Touch for more information or to stop the app. instead of actual notification. Help appreciated. Thanks. | java|android|notifications | 1 | 2020-02-02T17:19:01.120Z | 2,020 | 2 | 17 | 6 | 40 | 1 | 295 | 70 | 3 | 2 | true | false | false | false | false | false | low |
60,028,655 | React Native onFocus and onBlur TouchableOpacity | <p>I am using react natives Touchable Opacity to animate/give an effect to the box I am hovering over. I am developing an app for android TV. I wanted to make a hover effect similar to the default android tv home screen (When navigating, on focus, the cards enlarge and on blur the cards get smaller). I am also using ma... | I am using react natives Touchable Opacity to animate/give an effect to the box I am hovering over. I am developing an app for android TV. I wanted to make a hover effect similar to the default android tv home screen (When navigating, on focus, the cards enlarge and on blur the cards get smaller). I am also using map t... | android|react-native | 3 | 2020-02-02T17:21:14.713Z | 2,020 | 2 | 17 | 6 | 8,033 | 1 | 1,004 | 48 | 2 | 2 | true | false | true | false | false | false | low |
60,028,662 | When 2 ImageViews are declared in xml layout then there are 2 copies of drawable in memory? | <p>When I have an xml layout like:</p>
<pre><code><ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/my_image" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/my_image... | When I have an xml layout like: [CODE] Then there are 2 instances of the bitmap associated with drawable in memory or just one? | android|android-imageview|android-drawable|android-bitmap|android-memory | 4 | 2020-02-02T17:22:04.723Z | 2,020 | 2 | 17 | 6 | 165 | 3 | 127 | 91 | 5 | 1 | true | false | false | false | false | false | low |
60,028,699 | How to remove Google account from an app in kiosk mode? | <p>We are working on an tablet app where users are given option to sign in their Google accounts and use these to access files stored on Google Drive. The tablets are locked in kiosk mode and multiple users are sharing the same tablet, therefore I need to find a way to provide users the option to remove their credentia... | We are working on an tablet app where users are given option to sign in their Google accounts and use these to access files stored on Google Drive. The tablets are locked in kiosk mode and multiple users are sharing the same tablet, therefore I need to find a way to provide users the option to remove their credentials ... | android|google-oauth|android-7.0-nougat|accountmanager|google-account | 1 | 2020-02-02T17:25:36.567Z | 2,020 | 2 | 17 | 6 | 113 | 1 | 901 | 55 | 5 | 0 | false | false | false | false | false | false | low |
60,028,738 | Android firebase authentication with wordpress | <p>i would like to add firebase authentication to my android app that is based on wordpress . </p>
<p>I would like to provide facebook and google authentication , and automatically create a user in my wordpress database </p>
<p><strong>What i have done so far</strong></p>
<p>Configured WP REST API so that i can regi... | i would like to add firebase authentication to my android app that is based on wordpress . I would like to provide facebook and google authentication , and automatically create a user in my wordpress database What i have done so far Configured WP REST API so that i can register new users Configured firebase authenticat... | android|firebase|firebase-authentication | 2 | 2020-02-02T17:29:33.903Z | 2,020 | 2 | 17 | 6 | 131 | 1 | 472 | 46 | 3 | 0 | false | false | false | false | false | false | low |
60,028,765 | Android - Inconsistent finish() behavior in onCreate | <p>I would like to create an Android application that is capable of setting timer and that would handle implicit intent <a href="https://developer.android.com/reference/android/provider/AlarmClock.html#ACTION_SET_TIMER" rel="nofollow noreferrer"><code>AlarmClock.ACTION_SET_TIMER</code></a>. This also will allow it to r... | I would like to create an Android application that is capable of setting timer and that would handle implicit intent AlarmClock.ACTION_SET_TIMER . This also will allow it to react to Google assistant 'Set timer for' command. Upon receiving this special intent i would like the app to set timer without showing the activi... | android|kotlin|android-intent|android-lifecycle | 1 | 2020-02-02T17:33:37.093Z | 2,020 | 2 | 17 | 6 | 110 | 1 | 1,749 | 52 | 4 | 5 | true | false | false | false | false | false | low |
60,028,812 | Android rotating text: I use dynamiclayout.draw(canvas) but it doesn't animate along the path, and can't use canvas.drawTextOnPath(dynamiclayout) | <p>I'm using my own version of <a href="https://github.com/mdg-iitr/RotatingText" rel="nofollow noreferrer">https://github.com/mdg-iitr/RotatingText</a> in order to show a rotating text widget. A video is available in this GitHub, allowing you to see the animation. The idea is to set up rows of words. The rows are show... | I'm using my own version of https://github.com/mdg-iitr/RotatingText in order to show a rotating text widget. A video is available in this GitHub, allowing you to see the animation. The idea is to set up rows of words. The rows are shown row after row. The whole row rotates (so do its words). A row is shown after the p... | android|android-layout|android-widget|android-view|android-canvas | 12 | 2020-02-02T17:39:00.363Z | 2,020 | 2 | 17 | 6 | 767 | 1 | 1,802 | 145 | 5 | 4 | true | false | false | false | true | false | medium |
60,028,828 | Remove and navigate a fragment from a specific location in fragment backstack | <p>This question has been asked before but wasnt the exact answer I was looking for.</p>
<p>Suppose my back stack is: A>B>C>D>E>F>G with A being the first fragment. If I only want to remove E and navigate the user to D while keeping the other fragments in the backstack. My back stack would then look like: A>B>C>D>F>G.... | This question has been asked before but wasnt the exact answer I was looking for. Suppose my back stack is: A>B>C>D>E>F>G with A being the first fragment. If I only want to remove E and navigate the user to D while keeping the other fragments in the backstack. My back stack would then look like: A>B>C>D>F>G. Im basical... | android|android-fragments | 0 | 2020-02-02T17:40:21.647Z | 2,020 | 2 | 17 | 6 | 51 | 0 | 715 | 77 | 2 | 0 | false | true | false | false | false | false | zero |
60,028,829 | Unity 2019.3 Job failed with exception: GooglePlayServices.JavaUtilities+ToolNotFoundException: jar not found | <p>I am trying to build my Unity project, which I work on with another developer via the collab system. They don't have any issues and we are on the exact same project version, however, I get this error every time I open the project and haven't been able to find a fix. I have tried reinstalling Unity and messing with t... | I am trying to build my Unity project, which I work on with another developer via the collab system. They don't have any issues and we are on the exact same project version, however, I get this error every time I open the project and haven't been able to find a fix. I have tried reinstalling Unity and messing with the ... | android|unity3d|sdk|google-play-services|google-play-games | 1 | 2020-02-02T17:40:31.313Z | 2,020 | 2 | 17 | 6 | 3,504 | 1 | 5,115 | 109 | 5 | 0 | false | false | true | false | false | false | low |
60,028,843 | How To Use An NFC Tag On Android When Scanned To Open App | <p>I'm asking the following question for advice, I've had a look online (and similar questions here on stackoverflow) with no solution that works for me. </p>
<p>I'm writing an Android app (for full disclosure I'm doing it in Xamarin - but the technology <em>should</em> be irrelevant) and all I want it to do is to sho... | I'm asking the following question for advice, I've had a look online (and similar questions here on stackoverflow) with no solution that works for me. I'm writing an Android app (for full disclosure I'm doing it in Xamarin - but the technology should be irrelevant) and all I want it to do is to show an alert / toast me... | android|xamarin.android|nfc | 1 | 2020-02-02T17:42:32.463Z | 2,020 | 2 | 17 | 6 | 1,385 | 2 | 820 | 57 | 3 | 1 | true | false | false | false | false | false | low |
60,028,905 | During running android test with Espresso application start on the home page with logged in state | <p>I create automation tests for android application using Espresso framework.
But for any test I run - application stars on the Home page (second page after user login) for some reason. I reinstall my emulator to make sure it doesn't cash anything - but after first test run (before the first test step) - application r... | I create automation tests for android application using Espresso framework. But for any test I run - application stars on the Home page (second page after user login) for some reason. I reinstall my emulator to make sure it doesn't cash anything - but after first test run (before the first test step) - application runs... | android|automation|automated-tests|android-espresso | 0 | 2020-02-02T17:48:55.630Z | 2,020 | 2 | 17 | 6 | 247 | 1 | 378 | 97 | 4 | 0 | false | false | false | false | false | false | zero |
60,029,018 | How to signout a user from the app in android | <p>I'm new to android and now I'm working on making users to login using their facebook and gmail things going well but i need to know how do make the user to signout from the app and login in the user with new accounts. i tried a lot of tutorials but none of them are not as i thought and expected. The user when clicks... | I'm new to android and now I'm working on making users to login using their facebook and gmail things going well but i need to know how do make the user to signout from the app and login in the user with new accounts. i tried a lot of tutorials but none of them are not as i thought and expected. The user when clicks on... | java|android|google-signin|facebook-sdk-4.0 | 0 | 2020-02-02T18:03:28.160Z | 2,020 | 2 | 18 | 6 | 206 | 1 | 558 | 45 | 4 | 1 | true | false | false | false | false | false | zero |
60,029,107 | Android, Attaching e-signature on pdf using drag and drop | <p>I'm developing an Android application, I need to implement placing user signature(image) on pdf draging by user. I'm using pdf viewer(<code>com.github.barteksc.pdfviewer.PDFView</code>) to show pdf and I'm using drag and drop listener to get coordinates from view. but it is not placing in proper position on pdf. I s... | I'm developing an Android application, I need to implement placing user signature(image) on pdf draging by user. I'm using pdf viewer( com.github.barteksc.pdfviewer.PDFView ) to show pdf and I'm using drag and drop listener to get coordinates from view. but it is not placing in proper position on pdf. I spent lot of ti... | android|pdf|itext|pdf-generation|electronic-signature | 3 | 2020-02-02T18:13:19.517Z | 2,020 | 2 | 18 | 6 | 1,175 | 1 | 544 | 57 | 5 | 1 | true | false | false | false | false | false | low |
60,029,128 | PHP is not receieving data from a POST request with AsyncTask | <p>I am trying to receieve a simple string from my PHP script by using a POST request in Android Studio.
If I write for example echo "Hello"; I can receive this message in my app, but it seems like as soon as I send a POST request my webserver doesen't really get the message.</p>
<p>Here is how I do the POST request i... | I am trying to receieve a simple string from my PHP script by using a POST request in Android Studio. If I write for example echo "Hello"; I can receive this message in my app, but it seems like as soon as I send a POST request my webserver doesen't really get the message. Here is how I do the POST request in my AsyncT... | java|php|android | 0 | 2020-02-02T18:15:16.833Z | 2,020 | 2 | 18 | 6 | 57 | 1 | 642 | 61 | 3 | 4 | true | false | false | false | false | false | zero |
60,029,132 | External storage: can't query a file that I have read access to | <p>I am using a "ACTION_OPEN_DOCUMENT" intent to choose a file and open it.</p>
<p>This works just fine when I go to read the file.</p>
<p>However, when the file resides on EXTERNAL storage, and I run a query to obtain the file name, my program crashes. If the file resides on INTERNAL storage, I have no issues.</p>
... | I am using a "ACTION_OPEN_DOCUMENT" intent to choose a file and open it. This works just fine when I go to read the file. However, when the file resides on EXTERNAL storage, and I run a query to obtain the file name, my program crashes. If the file resides on INTERNAL storage, I have no issues. I DO have (and check for... | java|android|android-external-storage|chromebook | 0 | 2020-02-02T18:15:33.410Z | 2,020 | 2 | 18 | 6 | 297 | 0 | 1,177 | 63 | 4 | 1 | true | true | false | false | false | false | zero |
60,029,138 | Call to create Socket just hangs and doesn't connect | <p>I have a simple app in Android and Kotlin that connects to a socket. I have added the following permissions to my manifest:</p>
<pre><code><uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</code></pre>
<p>I have a si... | I have a simple app in Android and Kotlin that connects to a socket. I have added the following permissions to my manifest: [CODE] I have a singleton object that connects to a Socket . Here's the code I have for the init : [CODE] The output of the following is: [CODE] For some reason, it doesn't even want to create the... | android | 0 | 2020-02-02T18:15:50.790Z | 2,020 | 2 | 18 | 6 | 119 | 0 | 424 | 52 | 1 | 3 | true | true | false | false | false | false | zero |
60,029,290 | After importing react-native-firebase/firestore in to my app, I get the build error 'Could not find com.google.firebase:firebase-bom:21.3.0.' | <p>I have just added <a href="https://invertase.io/oss/react-native-firebase/v6/firestore/quick-start" rel="nofollow noreferrer">react-native-firebase/firestore</a> v6.2.0 to my React Native app. It was previously building fine whilst using the auth and messaging modules.</p>
<p>Now when I build the app I get the erro... | I have just added react-native-firebase/firestore v6.2.0 to my React Native app. It was previously building fine whilst using the auth and messaging modules. Now when I build the app I get the error: [CODE] I'm not sure what this file is or why it would have been removed. Any help much appreciated! | android|firebase|react-native|react-native-firebase | 1 | 2020-02-02T18:32:21.510Z | 2,020 | 2 | 18 | 6 | 588 | 1 | 299 | 141 | 4 | 1 | true | false | false | false | false | false | low |
60,029,389 | How to disable the GridView from being scrolled by a PopupWindow | <p>In my GridView I show a Popupwindow when user makes a long tap. But according to documentation, if there's no room, the Popupwindow tries to scroll the view's parent. <strong>And this's what I want to avoid.</strong></p>
<blockquote>
<p>showAsDropDown(View anchor) If there is not enough room on screen to show
... | In my GridView I show a Popupwindow when user makes a long tap. But according to documentation, if there's no room, the Popupwindow tries to scroll the view's parent. And this's what I want to avoid. showAsDropDown(View anchor) If there is not enough room on screen to show * the popup in its entirety, this method tries... | android|gridview|android-gridview | 0 | 2020-02-02T18:45:46.627Z | 2,020 | 2 | 18 | 6 | 68 | 1 | 531 | 64 | 3 | 1 | true | false | false | false | false | false | zero |
60,029,408 | ArrayList ERROR: same size, containing "null" elements after remove() some of them | <p>I have a <code>ArrayList</code> of objects, and sometimes I'm calling <code>remove()</code> for deleting some of them.</p>
<p>I noticed some reports of <code>NullPointerException</code> in Google Android Developer Console, and finally I disscovered that in some cases, I'm iterating that array to access the objects,... | I have a ArrayList of objects, and sometimes I'm calling remove() for deleting some of them. I noticed some reports of NullPointerException in Google Android Developer Console, and finally I disscovered that in some cases, I'm iterating that array to access the objects, and for some reason, after removing some of the o... | java|android|arraylist|nullpointerexception | 0 | 2020-02-02T18:47:36.050Z | 2,020 | 2 | 18 | 6 | 35 | 1 | 844 | 82 | 4 | 0 | false | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.