id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
59,956,645 | Lifecycle in Activity is not triggered in ViewModel | <p>I am trying to execute a method(fun onCreateViewModel()) in viewModel whenever the onCreate of the Activity is invoked. But the method is not getting executed. </p>
<p><strong>ViewModel</strong></p>
<pre><code>class MainActivityViewModel(startingCount : Int) : ViewModel(), LifecycleObserver {
var count = 0
... | I am trying to execute a method(fun onCreateViewModel()) in viewModel whenever the onCreate of the Activity is invoked. But the method is not getting executed. ViewModel [CODE] Activity [CODE] | android|kotlin|android-jetpack|android-viewmodel | 1 | 2020-01-28T20:36:31.113Z | 2,020 | 1 | 20 | 1 | 392 | 1 | 192 | 51 | 4 | 2 | true | false | false | false | false | false | low |
59,956,666 | Speed of objects in libGDX | <p>What is the correct way to move objects in-game with the given speed in libGDX? Eg. I have a circle at the bottom of the screen and I want to move it to the top with speed 10 pixels per second. All phones have different speeds so delta time of render function on every phone is different so how I can do it?</p> | What is the correct way to move objects in-game with the given speed in libGDX? Eg. I have a circle at the bottom of the screen and I want to move it to the top with speed 10 pixels per second. All phones have different speeds so delta time of render function on every phone is different so how I can do it? | java|android|android-studio|libgdx | 0 | 2020-01-28T20:39:04.707Z | 2,020 | 1 | 20 | 1 | 242 | 2 | 307 | 26 | 4 | 0 | false | false | false | false | false | false | zero |
59,956,672 | retrofit2 rxjava 2 - how can access to body of response when have error | <p>I use Retrofit with Rxjava together for request to server.<br>
the my server return defined json format that Include data , and defined message.<br>
server return http response. it's ok if server return success code(200).<br>
but I want, if server return other code, i manage the body of that response.<br>
for examp... | I use Retrofit with Rxjava together for request to server. the my server return defined json format that Include data , and defined message. server return http response. it's ok if server return success code(200). but I want, if server return other code, i manage the body of that response. for example: the server retur... | android|android-studio|observable|retrofit2|rx-java2 | 0 | 2020-01-28T20:39:35.433Z | 2,020 | 1 | 20 | 1 | 932 | 2 | 598 | 71 | 5 | 2 | true | false | false | false | false | false | zero |
59,956,683 | Transitioning to a new child with a custom transition in Flutter | <p><a href="https://api.flutter.dev/flutter/widgets/AnimatedSwitcher-class.html" rel="nofollow noreferrer"><strong>AnimatedSwitcher</strong></a> is the basic version of what I want to achieve. When the child changes to a new child, the old one transitions out and the new one transitions in using the specified transitio... | AnimatedSwitcher is the basic version of what I want to achieve. When the child changes to a new child, the old one transitions out and the new one transitions in using the specified transition. However, I want the old child fade out and new child fade in to have different animations. Just as an example, I'd want to fa... | android|flutter|material-design | 1 | 2020-01-28T20:40:34.340Z | 2,020 | 1 | 20 | 1 | 56 | 0 | 748 | 64 | 3 | 0 | false | true | false | false | false | false | low |
59,956,684 | On Groupie Recycler view every 7 rows it repeats the same uid of firebase database | <p>I dont know what to do in this case because every 7 rows the image drawable is favorite even when it shouldn't be.</p>
<pre><code>class RecipesActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity... | I dont know what to do in this case because every 7 rows the image drawable is favorite even when it shouldn't be. [CODE] This class is to put the items in the views. I need them to be, but when I check for favourite or not there's the problem. [CODE] Basically I have 20 recipes and I have a favorite system, but the re... | android|firebase|android-studio|kotlin|firebase-realtime-database | 0 | 2020-01-28T20:40:34.837Z | 2,020 | 1 | 20 | 1 | 175 | 1 | 606 | 82 | 5 | 2 | true | false | false | false | false | false | zero |
59,956,784 | set screen orientation for Fragment Manager - Android | <p>I want to rotate my app when the landscape mode is activated, and to be fixed in Portrait mode(like a normal app).
As I use a fragment manager, I decided to create an init method to programmatically decide to rotate or not my app instead of doing rotation for every fragments.
here's the method:</p>
<pre><code>publi... | I want to rotate my app when the landscape mode is activated, and to be fixed in Portrait mode(like a normal app). As I use a fragment manager, I decided to create an init method to programmatically decide to rotate or not my app instead of doing rotation for every fragments. here's the method: [CODE] The problem is th... | android | 0 | 2020-01-28T20:47:24.120Z | 2,020 | 1 | 20 | 1 | 40 | 0 | 406 | 53 | 1 | 1 | true | true | false | false | false | false | zero |
59,956,876 | Get the index of an array of maps(data model), Kotlin, Android Studio | <p>I am trying to get the index of a specific value in an array of maps.</p>
<p>the map is getting data from a data class so when I try to get the index it wants all the values of the map instead of me being able to ask for the index based on one value.</p>
<p>Here is the array of maps.</p>
<pre><code>var skillsList... | I am trying to get the index of a specific value in an array of maps. the map is getting data from a data class so when I try to get the index it wants all the values of the map instead of me being able to ask for the index based on one value. Here is the array of maps. [CODE] and my SkillsSelect Post [CODE] I am tryin... | android|arrays | 0 | 2020-01-28T20:54:01.147Z | 2,020 | 1 | 20 | 1 | 1,174 | 1 | 362 | 69 | 2 | 4 | true | false | false | false | false | false | zero |
59,957,366 | Algorithm which removes duplicates while realtime firebase pagination | <p>I need to make sure that my recycler has only unique items. Just because in pagination im getting items in small portions before adding new data i need to check if there are any items which already been added to the recycler. I have created filter method but for some reason its not working.</p>
<p>My logic is that ... | I need to make sure that my recycler has only unique items. Just because in pagination im getting items in small portions before adding new data i need to check if there are any items which already been added to the recycler. I have created filter method but for some reason its not working. My logic is that I have a li... | java|android|algorithm | 1 | 2020-01-28T21:34:35.900Z | 2,020 | 1 | 21 | 1 | 150 | 1 | 571 | 69 | 3 | 2 | true | false | false | false | false | false | low |
59,957,506 | Android app works in debug but not in release, idk why | <p>The login with Twitter works ins debug, but not in release, also the size of the apk is bigger in the debug.
Where is the problem??</p>
<p>i have 3 activitys</p>
<p>this is the build.grandle</p>
<pre><code>apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
... | The login with Twitter works ins debug, but not in release, also the size of the apk is bigger in the debug. Where is the problem?? i have 3 activitys this is the build.grandle [CODE] | android|firebase|twitter | 0 | 2020-01-28T21:45:29.553Z | 2,020 | 1 | 21 | 1 | 849 | 1 | 183 | 54 | 3 | 1 | true | false | false | false | false | false | zero |
59,957,795 | What is equivalent of val bundle = bundleOf(..) for communication between fragments in java? | <p>I'm learning navigation component in android. What is the equivalent of val bundle = bundleOf(..) for communication between fragments in java?</p> | I'm learning navigation component in android. What is the equivalent of val bundle = bundleOf(..) for communication between fragments in java? | java|android|android-studio|kotlin | 2 | 2020-01-28T22:07:51.933Z | 2,020 | 1 | 22 | 1 | 1,068 | 1 | 142 | 92 | 4 | 0 | false | false | false | false | false | false | low |
59,957,891 | How to align a TextView according to its length | <p>i have an interface with two ImageButtons and a TextView among them. The TextView contains a number and the two ImageButtons control that number, adding or removing 1.
The problem is when the number becomes two digits: the TextView width increase and one of two ImageButtons moves.</p>
<p><a href="https://i.stack.im... | i have an interface with two ImageButtons and a TextView among them. The TextView contains a number and the two ImageButtons control that number, adding or removing 1. The problem is when the number becomes two digits: the TextView width increase and one of two ImageButtons moves. As you can see when the number is one ... | java|android|layout|textview | 0 | 2020-01-28T22:15:58.053Z | 2,020 | 1 | 22 | 1 | 156 | 3 | 742 | 47 | 4 | 1 | true | false | false | false | false | false | zero |
59,958,010 | setStrokeColor not working programmatically | <p>I'm trying to set my color for the outline of my button, but I don't get it to work</p>
<p>I'm using material button and when I use</p>
<pre><code> button.setStrokeColorResource(Color.parseColor(#e4dcd4))
</code></pre>
<p>is not working and tells me this</p>
<blockquote>
<p>Expected a color resource id (R.col... | I'm trying to set my color for the outline of my button, but I don't get it to work I'm using material button and when I use [CODE] is not working and tells me this Expected a color resource id (R.color.) but received an RGB integer I tried almost everything I could found about in stack, but I can't get it to set this ... | android|android-studio|kotlin|android-button | 0 | 2020-01-28T22:24:46.880Z | 2,020 | 1 | 22 | 1 | 1,748 | 3 | 527 | 43 | 4 | 2 | true | false | false | false | false | false | zero |
59,958,030 | Android TextToSpeech Get Speech Rate From System | <p>I have an Android TV app, running on a Fire TV Stick. I have initialized a <code>TextToSpeech</code> engine and I am calling it via the <code>speak</code> function. My problem is that the speech rate (talk back speed) does not change when I change those in settings. I know that I am able to set the speech rate to a ... | I have an Android TV app, running on a Fire TV Stick. I have initialized a TextToSpeech engine and I am calling it via the speak function. My problem is that the speech rate (talk back speed) does not change when I change those in settings. I know that I am able to set the speech rate to a float of my liking using setS... | android|text-to-speech|accessibility|amazon-fire-tv|android-tts | 0 | 2020-01-28T22:26:25.627Z | 2,020 | 1 | 22 | 1 | 181 | 0 | 1,108 | 48 | 5 | 1 | true | true | false | false | false | false | zero |
59,958,032 | Purpose of FrameLayout? | <p>All examples I find for <code>FrameLayout</code> use the <code>FrameLayout</code> to stack multiple children on top of each other. Even e.g. Stackoverflow answer <a href="https://stackoverflow.com/questions/25679369/what-does-framelayout-do">here</a> says</p>
<blockquote>
<p>You use a FrameLayout to stack child v... | All examples I find for FrameLayout use the FrameLayout to stack multiple children on top of each other. Even e.g. Stackoverflow answer here says You use a FrameLayout to stack child views on top of each other, The official documentation however states FrameLayout is designed to block out an area on the screen to displ... | android|android-framelayout | -1 | 2020-01-28T22:26:47.383Z | 2,020 | 1 | 22 | 1 | 148 | 1 | 610 | 23 | 2 | 0 | false | false | false | false | false | true | negative |
59,958,151 | Can I disable R8 just for some flavors without using command line? | <p>I'm trying to release my app on amazon and apparently I can't use R8 if I want to use IAP. </p>
<p>Currently I'm handling pretty much everything just using Gradle flavors. So how can I tell it to not use R8 for my Amazon flavor on Gradle?</p>
<p>Thanks. </p> | I'm trying to release my app on amazon and apparently I can't use R8 if I want to use IAP. Currently I'm handling pretty much everything just using Gradle flavors. So how can I tell it to not use R8 for my Amazon flavor on Gradle? Thanks. | android|gradle|amazon-appstore|android-r8 | 1 | 2020-01-28T22:38:13.470Z | 2,020 | 1 | 22 | 1 | 222 | 1 | 238 | 66 | 4 | 0 | false | false | false | false | false | false | low |
59,958,374 | Where "mUiThread" is assigned to reference UI thread in the class Activity.java? | <p>I've seen people referencing the following block of codes from android app
Activity.java many times. My confusion here is that it doesn't make sense to me that "if(Thread.currentThread() != mUiThread)" is checking if the current thread is the UI thread, since I coudn't find anywhere in the Activity.java that
"mUiT... | I've seen people referencing the following block of codes from android app Activity.java many times. My confusion here is that it doesn't make sense to me that "if(Thread.currentThread() != mUiThread)" is checking if the current thread is the UI thread, since I coudn't find anywhere in the Activity.java that "mUiThread... | java|android|multithreading|user-interface | 0 | 2020-01-28T23:00:00.750Z | 2,020 | 1 | 23 | 1 | 49 | 0 | 899 | 80 | 4 | 1 | true | true | false | false | false | false | zero |
59,958,697 | Trying to make the soft keyboard enter button say search or display search magnifying glass and handle its click for an EditText | <p>I have tried the highly popular answer <a href="https://stackoverflow.com/a/3205405/3536292">suggested here</a> </p>
<p>Although this hasn't worked for me like it seems to have for the other users. Perhaps it is outdated or I have something conflicting in my code. </p>
<p>Here is the xml for my <code>EditText</cod... | I have tried the highly popular answer suggested here Although this hasn't worked for me like it seems to have for the other users. Perhaps it is outdated or I have something conflicting in my code. Here is the xml for my EditText : [CODE] As you can see I have the android:imeOptions="search" & android:inputType="text"... | android|xml | 2 | 2020-01-28T23:37:36.073Z | 2,020 | 1 | 23 | 1 | 228 | 1 | 1,036 | 128 | 2 | 2 | true | false | false | false | false | false | low |
59,958,819 | Flutter Navigator.pop won't send data back | <p>This is my code so far. I dont know whats wrong, I tried a lots of youtube turolial and other things as well, but its looks like the pop wont give back the correct data. I really need help, i spend 2 days already</p>
<pre><code>void main() {
List<String> names = [];
List<String> mgs = [];
runApp(... | This is my code so far. I dont know whats wrong, I tried a lots of youtube turolial and other things as well, but its looks like the pop wont give back the correct data. I really need help, i spend 2 days already [CODE] This is the AddProduct i want this to send back the data and then i should be able to put in into a ... | android-studio|flutter | 0 | 2020-01-28T23:54:11.357Z | 2,020 | 1 | 23 | 1 | 2,133 | 2 | 346 | 42 | 2 | 2 | true | false | false | false | false | false | zero |
59,958,820 | How do I get typo warnings in locale-specific strings.xml according to my custom dictionaries in Android Studio? | <p>Same question <a href="https://stackoverflow.com/questions/42251944/enable-android-studio-spell-checking-on-language-specific-strings-xml-files">here</a>, but I'll try to explain it better.</p>
<p>I want Android Studio to give me typo warnings according to my custom dictionaries. Typo inspections are enabled proper... | Same question here , but I'll try to explain it better. I want Android Studio to give me typo warnings according to my custom dictionaries. Typo inspections are enabled properly. I have already set up my project dictionary and portuguese.dic in settings, and spell checking works fine in code. It also works in values/st... | android-studio|intellij-idea|localization|android-resources|spell-checking | 2 | 2020-01-28T23:54:14.967Z | 2,020 | 1 | 23 | 1 | 207 | 0 | 1,374 | 112 | 5 | 0 | false | true | false | false | false | false | low |
59,958,848 | Error inflating class android.support.design.widget.FloatingActionButton on Androidx library | <p>I added a simple widget button to my Android activity:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="@style/Theme.AppCompat"
android:layout_width="match_parent"
android:layout_height="match_parent"
... | I added a simple widget button to my Android activity: [CODE] Then I get [CODE] Here are my gradle dependencies [CODE] I tried all solutions here on stackoverflow. Some mentions using backgroundTint but I don't even use that. Some others mention about v7 compact library, but I'm using androidx one. So this problem look... | android|android-studio|android-layout | 0 | 2020-01-28T23:59:08.833Z | 2,020 | 1 | 23 | 1 | 3,477 | 1 | 414 | 92 | 3 | 4 | true | false | true | false | false | false | zero |
59,959,039 | React Native CLI failed to determine Android project configuration | <p>I'm trying to build my android project but I'm facing a configuration error.
Previously I built an app bundle, but after that, I'm receiving the following error.</p>
<p>I already deleted node_nodules and tried "yarn install" but the error persist.</p>
<pre><code> D:\ReactNative\Mapin\android>gradlew assembl... | I'm trying to build my android project but I'm facing a configuration error. Previously I built an app bundle, but after that, I'm receiving the following error. I already deleted node_nodules and tried "yarn install" but the error persist. [CODE] | android|reactjs|react-native|android-studio | 4 | 2020-01-29T00:27:15.587Z | 2,020 | 1 | 0 | 2 | 5,002 | 1 | 247 | 66 | 4 | 1 | true | false | true | false | false | false | low |
59,959,091 | JNI calling C++ method from Android | <p>I am trying to call a c++ method from my Android Activity. I have the c++ source code as well as the .so file for this code.
Is it possible to call this c++ method directly without the JNI wrapper?</p>
<p>If not, do I have to rewrite the logic of the c++ method in JNI wrapper or can I directly invoke my method from... | I am trying to call a c++ method from my Android Activity. I have the c++ source code as well as the .so file for this code. Is it possible to call this c++ method directly without the JNI wrapper? If not, do I have to rewrite the logic of the c++ method in JNI wrapper or can I directly invoke my method from there? | android|c++|java-native-interface | 0 | 2020-01-29T00:35:13.937Z | 2,020 | 1 | 0 | 2 | 83 | 1 | 316 | 35 | 3 | 0 | false | false | false | false | false | false | zero |
59,959,093 | Android Updating Security Provider | <p>I'm working on Xamarin.Native and trying to implement a security patch for Xamarin.Android project.</p>
<p>According to this <a href="https://developer.android.com/training/articles/security-gms-provider#java" rel="nofollow noreferrer">doc</a> from Google, you invoke <code>ProviderInstaller.InstallIfNeeded()</code>... | I'm working on Xamarin.Native and trying to implement a security patch for Xamarin.Android project. According to this doc from Google, you invoke ProviderInstaller.InstallIfNeeded() or the async version of it. This method throws 2 types of exceptions, GooglePlayServicesRepairableException and GooglePlayServicesNotAvail... | android|security|xamarin|xamarin.android|google-play-services | 1 | 2020-01-29T00:35:38.097Z | 2,020 | 1 | 0 | 2 | 794 | 1 | 1,162 | 34 | 5 | 0 | false | false | false | false | false | false | low |
59,959,150 | My App which uses Camera does NOT record the Latitude and Longitude (file meta data) | <p>.... but when do with the standard camera it works perfectly.</p>
<p>I´m struggling against a code that allows me to take a photo in a fragment and also allows me to check
it´s preview with de LatLng in a map (another fragment) with two labels showing both lat and long.</p>
<p>I got to the conclusion that the prob... | .... but when do with the standard camera it works perfectly. I´m struggling against a code that allows me to take a photo in a fragment and also allows me to check it´s preview with de LatLng in a map (another fragment) with two labels showing both lat and long. I got to the conclusion that the problem must be when ta... | java|android|camera|latitude-longitude|exif | 0 | 2020-01-29T00:45:07.740Z | 2,020 | 1 | 0 | 2 | 49 | 1 | 756 | 84 | 5 | 1 | true | false | false | false | false | false | zero |
59,959,222 | how to pass jointMatrix to shader glTF? (java opengles20) | <p>I'm trying to figure out how to display the GLTF file on Android.</p>
<p>I do everything according to the instructions <a href="https://github.com/KhronosGroup/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_020_Skins.md" rel="nofollow noreferrer">here.</a></p>
<p>it is required to pass the parameter float []... | I'm trying to figure out how to display the GLTF file on Android. I do everything according to the instructions here. it is required to pass the parameter float [] [] to the shader I tried it this way, [CODE] but the float [] [] array does not want to transmit. [CODE] please tell how to pass u_jointMat to shader glTF? | java|android-studio|opengl-es-2.0|vertex-shader|gltf | 0 | 2020-01-29T00:59:00.987Z | 2,020 | 1 | 0 | 2 | 58 | 0 | 319 | 57 | 5 | 2 | true | true | false | false | false | false | zero |
59,959,252 | How to update progressbar at 10 percent increments? | <p>I have a service running that uploads photos. Currently it's updating the progressbar every one percent. 1%...2%..3%... </p>
<p>How would I update it only at increments of 10%?</p>
<pre><code> @Override
public void writeTo(@NonNull BufferedSink sink) throws IOException {
long fileLength = mFile... | I have a service running that uploads photos. Currently it's updating the progressbar every one percent. 1%...2%..3%... How would I update it only at increments of 10%? [CODE] | android | 0 | 2020-01-29T01:02:56.220Z | 2,020 | 1 | 1 | 2 | 123 | 1 | 175 | 51 | 1 | 1 | true | false | false | false | false | false | zero |
59,959,269 | Where can I access Google Play App Historical monthly downloaded data? | <p>I am working on my school data visualization project, which needs to use historical monthly downloaded data to track on some social media Apps, like Facebook, Twitter and Snapchat.</p>
<p>Someone says this data is available in <a href="https://www.androidrank.org/" rel="nofollow noreferrer">https://www.androidrank.... | I am working on my school data visualization project, which needs to use historical monthly downloaded data to track on some social media Apps, like Facebook, Twitter and Snapchat. Someone says this data is available in https://www.androidrank.org/ , I checked the API they offer, it doesn't provide the daily installed ... | android|api|web-scraping|google-play|data-science | 2 | 2020-01-29T01:05:57.753Z | 2,020 | 1 | 1 | 2 | 197 | 0 | 490 | 70 | 5 | 0 | false | true | false | false | false | false | low |
59,959,273 | Fetching data from firebase within android | <p>Say if I have my data in firebase stored as the following:</p>
<pre><code>{
"sensor_data": {
"duration": 41143403,
"activity": "unknown"
},
"sensor_name": "Activity",
"timestamp": {
"start_time": "Mon Mar 6 00:00:00 EST 2017",
"end_time": "Mon Mar 6 11:25:44 EST 2017"
}
... | Say if I have my data in firebase stored as the following: [CODE] I want to get the duration value within the sensor_data object by entering a string input, comparing that string input to the start_time value within the timestamp object. How is it possible to execute a query as such? does the string input have to match... | android|firebase | 0 | 2020-01-29T01:06:36.453Z | 2,020 | 1 | 1 | 2 | 32 | 1 | 353 | 42 | 2 | 1 | true | false | false | false | false | false | zero |
59,959,384 | How to figure out when Android memory is too fragmented | <p>I understand that my question is too vague, but here is the problem. I parse a very large file creating a linked list of my objects (BTW, they are not related to bitmaps). At some moment I get infamous 'OutOfMemoryError'. Right before that I see my own:</p>
<pre><code>available 478.0M, 47.5%, low=false
message in l... | I understand that my question is too vague, but here is the problem. I parse a very large file creating a linked list of my objects (BTW, they are not related to bitmaps). At some moment I get infamous 'OutOfMemoryError'. Right before that I see my own: [CODE] Note the large amount of free memory. After that I see a bu... | java|android|memory-fragmentation | 0 | 2020-01-29T01:26:03.797Z | 2,020 | 1 | 1 | 2 | 519 | 0 | 912 | 55 | 3 | 2 | true | true | false | false | false | false | zero |
59,959,428 | JNI Callback to JAVA from Native Library | <p>i am facing an issue while calling a callback from Native library to Java, The callback is being called to the Java, but from the Java function which being called i am not able to start my activity. The new Intent call returns NULL. What is the issue with my code?</p>
<p>Below is my Native Callback function( C Code... | i am facing an issue while calling a callback from Native library to Java, The callback is being called to the Java, but from the Java function which being called i am not able to start my activity. The new Intent call returns NULL. What is the issue with my code? Below is my Native Callback function( C Code ) [CODE] B... | java|android|java-native-interface | 0 | 2020-01-29T01:32:11.690Z | 2,020 | 1 | 1 | 2 | 186 | 0 | 794 | 40 | 3 | 2 | true | true | false | false | false | false | zero |
59,959,445 | Is there a better way than self-assign value for the Livedata to update view? | <p>For Android's LiveData, I sometimes use self-assignment so that my views can be updated.</p>
<p>For example:</p>
<pre><code>fun retry() {
myModel.setLoadingRetry()
loadStatesMap
.forEach {
it.value.first?.value = t.value.first?.value
}
retryCallback?.invoke()
}
</code></pre>... | For Android's LiveData, I sometimes use self-assignment so that my views can be updated. For example: [CODE] However, it makes Sonarqube code quality bug, since it it not usual. Bug description: There is no reason to re-assign a variable to itself. Either this statement is redundant and should be removed, or the re-ass... | java|android|android-livedata|android-lint | 0 | 2020-01-29T01:35:26.877Z | 2,020 | 1 | 1 | 2 | 146 | 1 | 526 | 77 | 4 | 1 | true | false | false | false | false | false | zero |
59,959,468 | Flutter For Loop | <p>Hi learning Flutter and I am trying to transfer this for loop from Appcelerator to Flutter. </p>
<pre><code>Appcelerator:
Alloy.Globals.networkRequest.send({
url : Alloy.Globals.networkConfigs.albums_url,
method : "GET",
payload : null,
success : function(e_response) {
... | Hi learning Flutter and I am trying to transfer this for loop from Appcelerator to Flutter. [CODE] On Flutter I am just grabbing data and showing it in order but would like to add the for loop instead so that I focus the data a bit better. Here is the code on Flutter I am trying to change. If someone could assist I wou... | android|ios|flutter|appcelerator | 1 | 2020-01-29T01:37:28.480Z | 2,020 | 1 | 1 | 2 | 2,766 | 1 | 352 | 16 | 4 | 2 | true | false | true | false | false | false | low |
59,959,559 | How to notify adapter by position with multiple view type | <p>I have an Adapter which has multiple view type {Profile, About, Photo, Friend and Timeline}. After I request to service success for those type, I want to notify adapter by position. Thanks for your answer.</p> | I have an Adapter which has multiple view type {Profile, About, Photo, Friend and Timeline}. After I request to service success for those type, I want to notify adapter by position. Thanks for your answer. | android | 0 | 2020-01-29T01:51:24.650Z | 2,020 | 1 | 1 | 2 | 63 | 0 | 205 | 57 | 1 | 0 | false | true | false | false | false | false | zero |
59,959,623 | EditText Numbers Only using C#? | <p>I'm calling an EditText within a AlertDialogue and I want it to only accept numbers/have the number keyboard.
There's no XML of the EditText to android:input="numbers" it.</p>
<pre><code>...
EditText en = new EditText(this);
Android.App.AlertDialog.Builder at = new Android.App.AlertDialog.Builder(this);
at.SetTitle... | I'm calling an EditText within a AlertDialogue and I want it to only accept numbers/have the number keyboard. There's no XML of the EditText to android:input="numbers" it. [CODE] The current method isn't great and will make the popup fail to add the item to the list if you don't enter a number. I'd rather just have a w... | c#|android|xamarin|android-edittext|int | 0 | 2020-01-29T02:02:45.273Z | 2,020 | 1 | 2 | 2 | 174 | 1 | 494 | 31 | 5 | 1 | true | false | false | false | false | false | zero |
59,959,666 | Android: Android Build failed with an exception: error: attribute tagetAlpha y error: attribute depensOn | <p>I’m something new on Android.</p>
<p>You see when I run the application I get the following error.</p>
<blockquote>
<p>"AAPT: error: attribute depensOn not found"<br>
"AAPT: error: attribute tagetAlpha not found".</p>
</blockquote>
<p>I’m trying to use dependent behavior or plain sight, <a href="https://githu... | I’m something new on Android. You see when I run the application I get the following error. "AAPT: error: attribute depensOn not found" "AAPT: error: attribute tagetAlpha not found". I’m trying to use dependent behavior or plain sight, Simple View Behavior for Android Coordinatorlayout . First add the dependency as exp... | android | -1 | 2020-01-29T02:10:18.087Z | 2,020 | 1 | 2 | 2 | 316 | 1 | 3,142 | 104 | 1 | 3 | true | false | false | false | false | true | negative |
59,959,752 | Kivy Launcher closes after loading .kv file with a working python script containing kivy code | <p>I have been learning how to use kivy as an GUI and touch navagation for android. I won't post any code, that may limit any answer that could fix the problem. The problem I'm having is that I cannnot run python scripts with a .kv file named after the Main Class (all lowercase without 'app' in its name) with the build... | I have been learning how to use kivy as an GUI and touch navagation for android. I won't post any code, that may limit any answer that could fix the problem. The problem I'm having is that I cannnot run python scripts with a .kv file named after the Main Class (all lowercase without 'app' in its name) with the build me... | python|android|python-3.x|kivy | -1 | 2020-01-29T02:27:12.800Z | 2,020 | 1 | 2 | 2 | 282 | 1 | 810 | 93 | 4 | 0 | false | false | false | false | false | true | negative |
59,959,824 | [android]how do use a vertical stepper github-code posted by 'ernestoyaquello' | <p>i'm interested in android app developing.
I want a make calculating month wage about some job.</p>
<p>so i've watched adaptable source in github. url: <a href="https://github.com/ernestoyaquello/VerticalStepperForm" rel="nofollow noreferrer">https://github.com/ernestoyaquello/VerticalStepperForm</a>
I first moved t... | i'm interested in android app developing. I want a make calculating month wage about some job. so i've watched adaptable source in github. url: https://github.com/ernestoyaquello/VerticalStepperForm I first moved the usage posted by this developer to my gradle, xml and java. But it is because of my lack of basics, I do... | java|android|github|stepper | 1 | 2020-01-29T02:41:11.867Z | 2,020 | 1 | 2 | 2 | 105 | 0 | 726 | 78 | 4 | 0 | false | true | false | false | false | false | low |
59,959,845 | Issue while Building/Compiling flutter application | <p>Getting this error every time I try to build my flutter application</p>
<pre><code>FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not download kotlin-gradle-plugin.... | Getting this error every time I try to build my flutter application [CODE] I'm running Windows 10. Ran Flutter Doctor, everything seems fine from there. Please help me debug this, seems like I could never start android development. Wasted all of yesterday to debug everything and now this.. | java|android|gradle|kotlin|flutter | 3 | 2020-01-29T02:45:02.433Z | 2,020 | 1 | 2 | 2 | 332 | 0 | 290 | 50 | 5 | 1 | true | true | false | false | false | false | low |
59,960,012 | OpenGL ES 2.0 Android drawing textured triangles | <p>I have the book "OpenGL ES 2 for Android A Quick-Start Guide" and it is going through a good tutorial on OpenGL and android. The issue I am having though is that it's examples don't use index buffers for the creation of their shapes.</p>
<p>I am trying to texture a square which I define the 4 verticies of the squar... | I have the book "OpenGL ES 2 for Android A Quick-Start Guide" and it is going through a good tutorial on OpenGL and android. The issue I am having though is that it's examples don't use index buffers for the creation of their shapes. I am trying to texture a square which I define the 4 verticies of the square (plus an ... | android|opengl-es|glsl|opengl-es-2.0 | 0 | 2020-01-29T03:10:36.823Z | 2,020 | 1 | 3 | 2 | 64 | 1 | 836 | 48 | 4 | 3 | true | false | false | false | false | false | zero |
59,960,084 | Single code for OpenGL ES 2.0 and OpenGL ES 3.0 | <p>Situation: Android application supports two versions of OpenGL ES: 2.0 and 3.0. Differences are only in shaders. I do not want to make separate sets of classes for versions 2 and 3, but want merge them. That is, instead of two similar classes:</p>
<pre><code>import android.opengl.GLES20;
class ObjectGLES20 {
pu... | Situation: Android application supports two versions of OpenGL ES: 2.0 and 3.0. Differences are only in shaders. I do not want to make separate sets of classes for versions 2 and 3, but want merge them. That is, instead of two similar classes: [CODE] Do something like this: [CODE] But this approach (create instances GL... | java|android|opengl-es | 0 | 2020-01-29T03:23:40.677Z | 2,020 | 1 | 3 | 2 | 169 | 1 | 442 | 47 | 3 | 2 | true | false | false | false | false | false | zero |
59,960,098 | How can I check bluetooth connection state? (not paired state) | <p>I want to get information whether the device is connected via bluetooth and send message if it's not.
First of all I get the set of paired devices. And if the device name is 'AAA' or 'AA.A', connects the device. If device is connected, it has no problem, but if device isn't connected, it just attempts to connect and... | I want to get information whether the device is connected via bluetooth and send message if it's not. First of all I get the set of paired devices. And if the device name is 'AAA' or 'AA.A', connects the device. If device is connected, it has no problem, but if device isn't connected, it just attempts to connect and ov... | android|bluetooth | 0 | 2020-01-29T03:25:06.550Z | 2,020 | 1 | 3 | 2 | 61 | 0 | 534 | 62 | 2 | 1 | true | true | false | false | false | false | zero |
59,960,124 | when i connect django API to my app in android studio it shows error | <p>I have a Django version that is installed on my laptop and I would like to connect the API to my android app.</p>
<p>I have created a virtual environment too.</p>
<p>I am not able to connect to my Django API, so please help me with how to connect to API. Thanks in advance.</p>
<p>I surfed on the internet but I co... | I have a Django version that is installed on my laptop and I would like to connect the API to my android app. I have created a virtual environment too. I am not able to connect to my Django API, so please help me with how to connect to API. Thanks in advance. I surfed on the internet but I couldn't get any output.I am ... | java|android|api|android-studio|django-rest-framework | 0 | 2020-01-29T03:29:52.390Z | 2,020 | 1 | 3 | 2 | 547 | 1 | 781 | 68 | 5 | 2 | true | false | false | false | false | false | zero |
59,960,127 | Can't Scroll To Auto Middle of TextView in Kotlin using ScrollTo | <p>I am decently experienced in Java, but brand new to Kotlin and Android development (I hope learning Kotlin pays off in the end). On certain scenarios, I want my scrollable TextView to autoscroll toa certain spot of the text view and scroll to the bottom on other scenarios. </p>
<p>I found I can use the scrollTo() m... | I am decently experienced in Java, but brand new to Kotlin and Android development (I hope learning Kotlin pays off in the end). On certain scenarios, I want my scrollable TextView to autoscroll toa certain spot of the text view and scroll to the bottom on other scenarios. I found I can use the scrollTo() method to scr... | android|kotlin | 1 | 2020-01-29T03:30:33.923Z | 2,020 | 1 | 3 | 2 | 137 | 1 | 1,170 | 64 | 2 | 0 | false | false | false | false | false | false | low |
59,960,182 | Xamarin.Forms application analytics tracking concerns | <p>I am trying to track my Xamarin.Forms application below details using App Center Analytics for enhance our application in the future.</p>
<ol>
<li>Device API version.</li>
<li>Most visited page.</li>
<li>Time Spend per page.</li>
</ol>
<p>Is this legal?
Can I publish my application to PlayStore with App Center Ana... | I am trying to track my Xamarin.Forms application below details using App Center Analytics for enhance our application in the future. Device API version. Most visited page. Time Spend per page. Is this legal? Can I publish my application to PlayStore with App Center Analytics? | android|tracking|visual-studio-app-center | 0 | 2020-01-29T03:37:12.633Z | 2,020 | 1 | 3 | 2 | 123 | 1 | 277 | 53 | 3 | 0 | false | false | false | false | false | false | zero |
59,960,201 | Android Bluetooth getProxyProfile returns true but listener is never called | <p>I am trying to get a BluetoothHeadset proxy profile in Android.</p>
<p>I'm using the Kotlin code from the <a href="https://developer.android.com/guide/topics/connectivity/bluetooth#Profiles" rel="nofollow noreferrer">SDK documentation</a></p>
<p>In my activity I have a field for the bluetoothHeadset and the profil... | I am trying to get a BluetoothHeadset proxy profile in Android. I'm using the Kotlin code from the SDK documentation In my activity I have a field for the bluetoothHeadset and the profile listener to set it: [CODE] In onCreate I get the bluetooth adapter and call getProxyProfile: [CODE] The weird thing is that bluetoot... | android|kotlin|bluetooth | 2 | 2020-01-29T03:41:15.530Z | 2,020 | 1 | 3 | 2 | 289 | 0 | 752 | 75 | 3 | 2 | true | true | false | false | false | false | low |
59,960,221 | How to catch Stripe Invalidrequest exception error in Android | <p>I am following this <a href="https://stripe.com/docs/payments/save-and-reuse" rel="nofollow noreferrer">link</a> to implement stripe in Android. When I enter test card number from diners or discover, I am getting the below error.</p>
<blockquote>
<p>E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1
Proce... | I am following this link to implement stripe in Android. When I enter test card number from diners or discover, I am getting the below error. E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1 Process: com.xxxxx.app, PID: 11990 java.lang.RuntimeException: Request-id: req_edpbJzvr4Zkk9V com.stripe.android.exc... | java|android|kotlin|stripe-payments | 1 | 2020-01-29T03:45:55.180Z | 2,020 | 1 | 3 | 2 | 369 | 0 | 4,194 | 61 | 4 | 1 | true | true | false | false | false | false | low |
59,960,265 | Java : implementing a template interface several time (with different class parameter) | <p>I'm facing the following issue in a personnal project using java (I'm used to c++ but very novice in java). This is an application for Android.</p>
<p>Basically I have an abstract template class and 2 other child classes using different class parameter (String and LocationItem)</p>
<p>I wanted to implement both in... | I'm facing the following issue in a personnal project using java (I'm used to c++ but very novice in java). This is an application for Android. Basically I have an abstract template class and 2 other child classes using different class parameter (String and LocationItem) I wanted to implement both interface in my main ... | java|android | 0 | 2020-01-29T03:52:23.453Z | 2,020 | 1 | 3 | 2 | 217 | 1 | 860 | 86 | 2 | 1 | true | false | false | false | false | false | zero |
59,960,284 | Global variable value assignment remains the same after re-assignment in function (Android Studio) | <p>programmers, I am very new to android studio and java, in this case, I am trying to upload retrieved user info and store them in firebase database. the retrieve process is successful, and the retrieve URL can be seen after logged. However, the <code>String pathToProfile</code> is not assigned with the URL, when I ch... | programmers, I am very new to android studio and java, in this case, I am trying to upload retrieved user info and store them in firebase database. the retrieve process is successful, and the retrieve URL can be seen after logged. However, the String pathToProfile is not assigned with the URL, when I checked the log, i... | java|android|google-cloud-firestore|firebase-storage | 0 | 2020-01-29T03:55:46.283Z | 2,020 | 1 | 3 | 2 | 236 | 1 | 475 | 98 | 4 | 3 | true | false | false | false | false | false | zero |
59,960,396 | How to only call NotificationManager at 10% increments | <p>I have a service running that uploads photos. I have a progressbar that is updated by NotificationManager, however its being called multipletimes.</p>
<p><code>IntentService[n identical 127 lines</code></p>
<p>How can I make it so that the manager only notifies when increments of 10% are uploaded?</p>
<pre><code>... | I have a service running that uploads photos. I have a progressbar that is updated by NotificationManager, however its being called multipletimes. IntentService[n identical 127 lines How can I make it so that the manager only notifies when increments of 10% are uploaded? [CODE] Edit: [CODE] The Log.d(TAG, "writeTo: tes... | android | 0 | 2020-01-29T04:17:03.877Z | 2,020 | 1 | 4 | 2 | 30 | 1 | 433 | 54 | 1 | 2 | true | false | false | false | false | false | zero |
59,960,451 | android accessibility dispatchGesture - is it possible to specify pressure for a stroke | <p>When generating a stroke via dispatchGesture() in an Android Accessibility service, is it possible to somehow specify the 'pressure' and 'size' for the stroke/gesture? In looking at the Android code, it looks like the pressure and size are 'hard-coded' to be 1.0f.</p>
<pre><code>GestureDescription.Builder gestureB... | When generating a stroke via dispatchGesture() in an Android Accessibility service, is it possible to somehow specify the 'pressure' and 'size' for the stroke/gesture? In looking at the Android code, it looks like the pressure and size are 'hard-coded' to be 1.0f. [CODE] | android|accessibility|gesture|stroke | 0 | 2020-01-29T04:25:24.017Z | 2,020 | 1 | 4 | 2 | 264 | 1 | 271 | 87 | 4 | 1 | true | false | false | false | false | false | zero |
59,960,657 | How do i call a random integer between 1-6 in the latest version of Kotlin for android? | <p>im going through a kotlin coding course, but android studio wont take (random) as any acceptble code. Anybody know why?</p>
<pre><code>val drawableResource = when (randomInt) {
1 -> R.drawable.dice_1
2 -> R.drawable.dice_2
3 -> R.drawable.dice_3
4 -> R.dra... | im going through a kotlin coding course, but android studio wont take (random) as any acceptble code. Anybody know why? [CODE] | android|kotlin | -1 | 2020-01-29T04:52:54.527Z | 2,020 | 1 | 4 | 2 | 55 | 2 | 126 | 87 | 2 | 1 | true | false | false | false | false | true | negative |
59,960,675 | Firebase database retrieve datas | <p>Hi guys im very new with app development ,any ideas how im i able to store my Latitude and Longitude of my users positions with its names and plot in my google maps?</p>
<p>I used this code below and it is working fine it plot the multiple marker as expected , my problem is ,i have my datas from firebase data base ... | Hi guys im very new with app development ,any ideas how im i able to store my Latitude and Longitude of my users positions with its names and plot in my google maps? I used this code below and it is working fine it plot the multiple marker as expected , my problem is ,i have my datas from firebase data base please see ... | java|android | 0 | 2020-01-29T04:55:36.437Z | 2,020 | 1 | 4 | 2 | 62 | 2 | 358 | 32 | 2 | 1 | true | false | false | false | false | false | zero |
59,960,777 | ADB Root Grant Root Permission to App or Package | <p>I am having a little trouble with my Development Board it is <a href="http://www.orangepi.org/Orange%20Pi%204B/" rel="nofollow noreferrer">Orange Pi 4B</a>, running <a href="http://www.orangepi.org/downloadresources/" rel="nofollow noreferrer">Android 8.1</a> </p>
<p>Currently I have access to ADB root and also can... | I am having a little trouble with my Development Board it is Orange Pi 4B , running Android 8.1 Currently I have access to ADB root and also can modify the system folder or even place files inside the system folder but I want to grant Root Permission to my Application which the OS is not allowing. It also has SU placed... | android|adb|root|bootloader|fastboot | 3 | 2020-01-29T05:08:31Z | -1 | -1 | -1 | -1 | 3,470 | 0 | 983 | 48 | 5 | 3 | true | true | true | false | false | false | low |
59,960,833 | How to handle screen rotation with bottom navigation menu where each menu refers to a new viewpager with limited tabs (3-4)? I am Using ViewModel | <p>I am having Bottom navigation menu, and each menu is having their separate viewpager with 3 tabs. Everything works fine in portrait mode but once rotate the device Viewpager is reset to that of first menu item. </p>
<p>To be specific I am on second bottom menu item and in second page of viewpager and i want to rest... | I am having Bottom navigation menu, and each menu is having their separate viewpager with 3 tabs. Everything works fine in portrait mode but once rotate the device Viewpager is reset to that of first menu item. To be specific I am on second bottom menu item and in second page of viewpager and i want to restore this sta... | android|screen-rotation | 0 | 2020-01-29T05:15:26.747Z | 2,020 | 1 | 5 | 2 | 377 | 1 | 474 | 145 | 2 | 0 | false | false | false | false | false | false | zero |
59,960,890 | AVD Manager GUI without Android Studio on Mac | <p>I am running macOS catalina on my macbook pro. I would like to run the AVD manager <strong>Graphical User interface</strong> without running Android Studio.</p>
<p>I am aware that there are similar questions, like this one: <a href="https://stackoverflow.com/questions/9940732/how-to-run-avd-manager-on-mac">How to r... | I am running macOS catalina on my macbook pro. I would like to run the AVD manager Graphical User interface without running Android Studio. I am aware that there are similar questions, like this one: How to run AVD Manager on Mac However, they are different from what I am trying to achieve here: I want to run the Graph... | android|android-studio|avd|avd-manager | 1 | 2020-01-29T05:20:10.663Z | 2,020 | 1 | 5 | 2 | 657 | 0 | 776 | 45 | 4 | 1 | true | true | false | false | false | false | low |
59,961,014 | How to connect Couchbase with couchbase lite version 2.7? | <p>Code</p>
<pre><code>Replicator replicator = null;
try {
CouchbaseLite.init(context);
Database.setLogLevel(LogDomain.ALL, LogLevel.ERROR);
DatabaseConfiguration databaseConfiguration = new DatabaseConfiguration();
Database database = new Database("company-3", databaseConfiguration);
URLEndpoint... | Code [CODE] Getting below error while connecting the CouchDB server using Replicator to android client [CODE] | android|couchdb|couchbase|couchbase-lite | 0 | 2020-01-29T05:35:29.420Z | 2,020 | 1 | 5 | 2 | 170 | 0 | 109 | 57 | 4 | 2 | true | true | false | false | false | false | zero |
59,961,064 | How to encrypt & decrypt large video file | <p>I would like to store video files in storage that can be accessed only my application. outside the user should not be able to access his video. I tried Encryption & Decryption but the video file is too large (1GB) it takes a lot of time. </p>
<p>Do you have any Idea guys how can I do? </p>
<p>Please find belo... | I would like to store video files in storage that can be accessed only my application. outside the user should not be able to access his video. I tried Encryption & Decryption but the video file is too large (1GB) it takes a lot of time. Do you have any Idea guys how can I do? Please find below my Encryption & Decrypti... | java|android | 3 | 2020-01-29T05:41:06.660Z | 2,020 | 1 | 5 | 2 | 2,884 | 2 | 336 | 41 | 2 | 1 | true | false | true | false | false | false | low |
59,961,106 | Add a neutral button to androidx EditTextPrefence / DialogPreference | <p>I have been using my own preference class derived from EditTextPreference to include a neutral button (so that the user can select a default value).
I did this by overriding onPrepareDialogBuilder (from searching stackoverflow of course.
)</p>
<pre><code>override fun onPrepareDialogBuilder(builder: AlertDialog.Buil... | I have been using my own preference class derived from EditTextPreference to include a neutral button (so that the user can select a default value). I did this by overriding onPrepareDialogBuilder (from searching stackoverflow of course. ) [CODE] However, this method does not seem possible with the androidx EditTextPre... | androidx|edittextpreference | 0 | 2020-01-29T05:45:28.613Z | 2,020 | 1 | 5 | 2 | 130 | 1 | 430 | 68 | 2 | 1 | true | false | false | false | false | false | zero |
59,961,190 | How to copy data from one table to another table in Firebase? | <p>I have two tables - cartOrders and placedOrders. cartOrders is used to add products to cart, and placedOrders is activated when the user presses "Place Order" button.
I need to copy data from cartOrders to placedOrders when the user clicks the "Place Order" button, but I'm not able to do so.</p>
<pre><code>cartData... | I have two tables - cartOrders and placedOrders. cartOrders is used to add products to cart, and placedOrders is activated when the user presses "Place Order" button. I need to copy data from cartOrders to placedOrders when the user clicks the "Place Order" button, but I'm not able to do so. [CODE] In the code, I was c... | java|android|firebase|firebase-realtime-database | 1 | 2020-01-29T05:52:11.207Z | 2,020 | 1 | 5 | 2 | 826 | 1 | 534 | 61 | 4 | 2 | true | false | false | false | false | false | low |
59,961,210 | Crop Image getting height and width on the move of cropper | <p>In Cropping Image,it is a requirement that on the move of cropper height and width automatically adjust according to cropper height width. if there is any lib pls suggest me.</p>
<p>i tried most of libs but not meet my requirement.</p> | In Cropping Image,it is a requirement that on the move of cropper height and width automatically adjust according to cropper height width. if there is any lib pls suggest me. i tried most of libs but not meet my requirement. | android|android-crop | 0 | 2020-01-29T05:54:08.683Z | 2,020 | 1 | 5 | 2 | 514 | 1 | 224 | 58 | 2 | 0 | false | false | false | false | false | false | zero |
59,961,275 | WorkManager: Hide logs in the logcat | <p>I'm making an SDK which uses workManager to handle the background tasks. The thing is, I want my sdk to show the useful logcats I specify. But when I run a workManager task I get debug logs about SUCCESS, RETRY, etc of the workManager.</p>
<pre><code>Worker result SUCCESS for Work [ id=44a0ed5d-69c5-4318-84eb-69680... | I'm making an SDK which uses workManager to handle the background tasks. The thing is, I want my sdk to show the useful logcats I specify. But when I run a workManager task I get debug logs about SUCCESS, RETRY, etc of the workManager. [CODE] Is there anyway to hide these logs since they are not useful for the develope... | android|android-workmanager | 1 | 2020-01-29T06:00:33.843Z | 2,020 | 1 | 6 | 2 | 216 | 1 | 343 | 36 | 2 | 1 | true | false | false | false | false | false | low |
59,961,325 | webView in Fragment to Upload File (like image) | <p>I've several combinations of codes, but I still can't find a way to able to make the upload image functioning. I have given permission for the camera, write and read storage. I think the problem is the Java code. Below is my current java fragment code. I hope some of you can help me how to make the code below functi... | I've several combinations of codes, but I still can't find a way to able to make the upload image functioning. I have given permission for the camera, write and read storage. I think the problem is the Java code. Below is my current java fragment code. I hope some of you can help me how to make the code below functioni... | android|image|webview|upload|fragment | 0 | 2020-01-29T06:04:22.253Z | 2,020 | 1 | 6 | 2 | 333 | 1 | 397 | 47 | 5 | 1 | true | false | false | false | false | false | zero |
59,961,340 | lateinit property value assigned but i face kotlin.UninitializedPropertyAccessException in Kotlin | <p>I have assigned value for a lateinit variable in Kotlin when creating instance for fragment, Then i used the variable in fragment's oncreateview method. It works perfectly, but sometime it return kotlin.UninitializedPropertyAccessException and my application was closed. I don't know when it occurred, i have checked ... | I have assigned value for a lateinit variable in Kotlin when creating instance for fragment, Then i used the variable in fragment's oncreateview method. It works perfectly, but sometime it return kotlin.UninitializedPropertyAccessException and my application was closed. I don't know when it occurred, i have checked mul... | android|kotlin | 1 | 2020-01-29T06:06:22.350Z | 2,020 | 1 | 6 | 2 | 100 | 1 | 385 | 97 | 2 | 1 | true | false | false | false | false | false | low |
59,961,384 | How to open an existing android app and send data to it using flutter | <p>Hello i want to open an existing app(which i also made) i can launch the app from my flutter app using this package flutter_appavailability: ^0.0.21 what i want is to send a data from the flutter app then to the app which i'm opening.</p>
<p>what i want is to send data sample "test data" to the one textbox in the a... | Hello i want to open an existing app(which i also made) i can launch the app from my flutter app using this package flutter_appavailability: ^0.0.21 what i want is to send a data from the flutter app then to the app which i'm opening. what i want is to send data sample "test data" to the one textbox in the app which i'... | java|android|android-studio|flutter|dart | 0 | 2020-01-29T06:11:34.500Z | 2,020 | 1 | 6 | 2 | 161 | 0 | 391 | 69 | 5 | 1 | true | true | false | false | false | false | zero |
59,961,415 | Checking camera permissions returns null object reference | <p>I'm currently trying to activate the camera of the phone and before activating I am checking the permissions of the camera to see if it is allowed. However, for some reason when checking the permissions, I will get the error as shown below :</p>
<pre><code>Attempt to invoke virtual method 'int android.content.Conte... | I'm currently trying to activate the camera of the phone and before activating I am checking the permissions of the camera to see if it is allowed. However, for some reason when checking the permissions, I will get the error as shown below : [CODE] I've tried adding to the manifest [CODE] and still it doesn't seem to w... | java|android|android-camera | 1 | 2020-01-29T06:15:01.960Z | 2,020 | 1 | 6 | 2 | 214 | 1 | 744 | 57 | 3 | 5 | true | false | false | false | false | false | low |
59,961,509 | Test Cordova App on Android with external PC-based Database | <p>I have Programmed an Javascript jQuery based Website with connection to a php file.
I tested id on the Computer and everything worked bud if I start the Application on the Phone the App starts without the Information from the Database.
I use xampp for hosting on my computer.</p>
<p>How I have to change the Ajax req... | I have Programmed an Javascript jQuery based Website with connection to a php file. I tested id on the Computer and everything worked bud if I start the Application on the Phone the App starts without the Information from the Database. I use xampp for hosting on my computer. How I have to change the Ajax request to get... | javascript|php|android|cordova|phonegap | 0 | 2020-01-29T06:23:01.570Z | 2,020 | 1 | 6 | 2 | 29 | 0 | 336 | 59 | 5 | 1 | true | true | false | false | false | false | zero |
59,961,564 | How to know if data Saver is enabled on android phones | <p>I know there are a few questions similar to this,
<code>ConnectionManager.getRestrictBackgroundStatus()</code> will give me whether background data is disabled for my app.</p>
<p>For my use case I want to know specifically if the Data Saver is enabled for all apps</p>
<blockquote>
<p>settings->dataSaver->restric... | I know there are a few questions similar to this, ConnectionManager.getRestrictBackgroundStatus() will give me whether background data is disabled for my app. For my use case I want to know specifically if the Data Saver is enabled for all apps settings->dataSaver->restrictBackgroundData or specific app background data... | java|android|kotlin|android-datasaver | 0 | 2020-01-29T06:28:20.287Z | 2,020 | 1 | 6 | 2 | 419 | 2 | 528 | 54 | 4 | 0 | false | false | false | false | false | false | zero |
59,961,576 | How to remove ""[], from list | <p>I have </p>
<blockquote>
<p>["A","B","C","D"]</p>
</blockquote>
<p>I want to bind this to the android spinner. How can I remove []"", from <code>["A","B","C","D"]</code> so only characters will display in the spinner.</p>
<pre><code> sp1.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {... | I have ["A","B","C","D"] I want to bind this to the android spinner. How can I remove []"", from ["A","B","C","D"] so only characters will display in the spinner. [CODE] | android|list|arraylist|spinner|android-studio-3.0 | -1 | 2020-01-29T06:29:25.230Z | 2,020 | 1 | 6 | 2 | 36 | 1 | 169 | 29 | 5 | 1 | true | false | false | false | false | true | negative |
59,961,752 | Google Play store Console Release error and Warning Messages Review summary | <p>Error :
Check these errors before starting the rollout of this release. Addressing the errors on this page will ensure your existing users are able to upgrade to the latest version of your app.</p>
<p>Warnings : </p>
<p>Check these warnings before starting the rollout of this release. Addressing the warnings on t... | Error : Check these errors before starting the rollout of this release. Addressing the errors on this page will ensure your existing users are able to upgrade to the latest version of your app. Warnings : Check these warnings before starting the rollout of this release. Addressing the warnings on this page will ensure ... | android | 0 | 2020-01-29T06:46:51.623Z | 2,020 | 1 | 6 | 2 | 538 | 0 | 394 | 75 | 1 | 0 | false | true | false | false | false | false | zero |
59,961,780 | Change Splash Screen Programmatically in ionic 4 | <p>I have a challenge to change Splash dynamic. Server upload Image and I show as a splash. there are some points</p>
<ol>
<li>show splash instead of default splash.</li>
<li>download image from URL and store in App or local Storage. </li>
<li>Hit to the server and store every time image.</li>
</ol>
<p>Kindly help me... | I have a challenge to change Splash dynamic. Server upload Image and I show as a splash. there are some points show splash instead of default splash. download image from URL and store in App or local Storage. Hit to the server and store every time image. Kindly help me to resolve this challenge. I find the solution lik... | android|ios|ionic-framework|ionic4|ionic-native | 0 | 2020-01-29T06:49:01.390Z | 2,020 | 1 | 6 | 2 | 1,493 | 2 | 410 | 48 | 5 | 0 | false | false | false | false | false | false | zero |
59,961,786 | How to create multiple share targets for Image sharing? | <p>I would like to have multiple share options when we try to share an image.Similar to how instagram is doing in the shared image.</p>
<p><a href="https://i.stack.imgur.com/5dY5Hm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5dY5Hm.jpg" alt="Multiple Share Options"></a></p>
<p>I could not find ... | I would like to have multiple share options when we try to share an image.Similar to how instagram is doing in the shared image. I could not find proper documentation on how to do it. Thanks | android | 1 | 2020-01-29T06:49:26.253Z | 2,020 | 1 | 6 | 2 | 146 | 1 | 190 | 55 | 1 | 0 | false | false | false | false | false | false | low |
59,961,805 | Application restart suddenly | <p>I made simple picture matching game with four Activities After finishing you can play again.
The problem is most of the time the game stops and return to previous</p>
<p>The error:</p>
<blockquote>
<p>2020-01-29 15:05:51.001 11438-11438/? E/AndroidRuntime: FATAL
EXCEPTION: main
Process: com.mk_kadish.pla... | I made simple picture matching game with four Activities After finishing you can play again. The problem is most of the time the game stops and return to previous The error: 2020-01-29 15:05:51.001 11438-11438/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.mk_kadish.playandlearn, PID: 11438 android.view.WindowM... | android | 0 | 2020-01-29T06:51:05.373Z | 2,020 | 1 | 6 | 2 | 69 | 2 | 1,359 | 28 | 1 | 1 | true | false | false | false | false | false | zero |
59,961,825 | How to set Custom font face for Calenderview? | <p>How to set custom font face for calenderview? using "android:dateTextAppearance" i can only change the size or appearance and not font face.i have tried via asset. that also didnt work.please suggest me a solution.</p> | How to set custom font face for calenderview? using "android:dateTextAppearance" i can only change the size or appearance and not font face.i have tried via asset. that also didnt work.please suggest me a solution. | android-studio|android-layout|android-calendar|calendarview | 0 | 2020-01-29T06:53:00.950Z | 2,020 | 1 | 6 | 2 | 165 | 0 | 214 | 45 | 4 | 0 | false | true | false | false | false | false | zero |
59,961,860 | parsing multidimensional json data | <p>I'm new to android developing and I'm learning parsing json data and I'm stuck at parsing multidimensional json data.
this is the json data I want to parse.</p>
<pre><code>{
"responseCode": 200,
"message": "Category List",
"category_data": [
{
"id": "24",
"slug": "product",
... | I'm new to android developing and I'm learning parsing json data and I'm stuck at parsing multidimensional json data. this is the json data I want to parse. [CODE] please help me parsing this. | android|json|android-studio|jsonparser | 0 | 2020-01-29T06:55:06.620Z | 2,020 | 1 | 6 | 2 | 86 | 3 | 192 | 34 | 4 | 1 | true | false | false | false | false | false | zero |
59,961,862 | How does zipflinger the new packaging tool in andorid studio work? | <p>I came across a new feature "New default packaging tool called <a href="https://developer.android.com/studio/preview/features#zipflinger" rel="nofollow noreferrer">zipflinger</a>". Which is used to build your APK in android studio. i want to know what exactly is zipflinger and how does it work.</p> | I came across a new feature "New default packaging tool called zipflinger ". Which is used to build your APK in android studio. i want to know what exactly is zipflinger and how does it work. | android|android-studio | 1 | 2020-01-29T06:55:07.573Z | 2,020 | 1 | 6 | 2 | 451 | 1 | 191 | 66 | 2 | 0 | false | false | false | false | false | false | low |
59,961,970 | Saving file to storage programmatically | <p>I have tried with the following code: (Previously it was working fine, Now I am testing its not working may be due to android 10 or some other error). </p>
<pre><code> import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
... | I have tried with the following code: (Previously it was working fine, Now I am testing its not working may be due to android 10 or some other error). [CODE] I have tried with the above code. I have added WRITE_INTERNAL_STORAGE and also ask run time permission | android|android-storage | 0 | 2020-01-29T07:02:55.877Z | 2,020 | 1 | 7 | 2 | 1,751 | 2 | 260 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
59,961,971 | Modules list is not coming after parsing json | <p>Hi in the below code modules list is not coming after parsing the json and i have created different pojo classes for different classes and i am not getting the expected json response from server.</p>
<p>Can any one tell me where i did the mistake for json parsing and complete json is not coming as json</p>
<p>Acti... | Hi in the below code modules list is not coming after parsing the json and i have created different pojo classes for different classes and i am not getting the expected json response from server. Can any one tell me where i did the mistake for json parsing and complete json is not coming as json Activity.java: [CODE] L... | java|android|json | -1 | 2020-01-29T07:03:11.533Z | 2,020 | 1 | 7 | 2 | 48 | 2 | 464 | 45 | 3 | 6 | true | false | false | false | false | true | negative |
59,962,076 | Flutter-Use Android XML as Widget | <p>Is it possible to use Android XML as a widget in Flutter? I wanna use mapbox but some methods dont exist in ios or android. I wanna use android and ios views in flutter and use all methods as native. How can i do it?</p> | Is it possible to use Android XML as a widget in Flutter? I wanna use mapbox but some methods dont exist in ios or android. I wanna use android and ios views in flutter and use all methods as native. How can i do it? | android|ios|flutter|dart|flutter-platform-channel | 0 | 2020-01-29T07:11:37.603Z | 2,020 | 1 | 7 | 2 | 2,516 | 2 | 216 | 33 | 5 | 0 | false | false | false | false | false | false | zero |
59,962,184 | Where can we get all the list of fontfamily we can use without importing it externally in Flutter? | <p>What are all default font families supported by flutter? I don't want it to download manually and use it by manually adding <code>pubspec.yaml</code></p> | What are all default font families supported by flutter? I don't want it to download manually and use it by manually adding pubspec.yaml | android|flutter | 0 | 2020-01-29T07:20:05.237Z | 2,020 | 1 | 7 | 2 | 24 | 1 | 136 | 98 | 2 | 0 | false | false | false | false | false | false | zero |
59,962,227 | I used tabview inside the bottom navigation, but recyclerview is not showing | <p>I inflated view and created xml layout for tab. iam getting views Textview Edittext everything but Recyclerview is not showing in tabview</p> | I inflated view and created xml layout for tab. iam getting views Textview Edittext everything but Recyclerview is not showing in tabview | android|android-recyclerview|layout-inflater|tabview | 0 | 2020-01-29T07:22:49.843Z | 2,020 | 1 | 7 | 2 | 50 | 0 | 137 | 76 | 4 | 0 | false | true | false | false | false | false | zero |
59,962,241 | How to put ArrayObjectAdapter items in order | <p>I am displaying multiple rows in one header and there is 5 more categories like drama and I am doing the same job for them. My question is when I set the adapter categories displaying randomly.(assuming of request speed).For example I want the display Drama on the first line always. I gave them id of adapter's con... | I am displaying multiple rows in one header and there is 5 more categories like drama and I am doing the same job for them. My question is when I set the adapter categories displaying randomly.(assuming of request speed).For example I want the display Drama on the first line always. I gave them id of adapter's construc... | android|android-arrayadapter|leanback | 0 | 2020-01-29T07:23:54.727Z | 2,020 | 1 | 7 | 2 | 239 | 1 | 358 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
59,962,278 | Default Activity Not Found & App Not Showing in Launcher | <p>I cleared all the bugs... Recently before running this app it was showing "No default activity found" I changed configuration to "Nothing" & also added Android Manifest.xml file.</p>
<p>After successful build, Emulator shows app in settings>>app management.</p>
<p>But,</p>
<p>There is nothing in Apps Menu. Ev... | I cleared all the bugs... Recently before running this app it was showing "No default activity found" I changed configuration to "Nothing" & also added Android Manifest.xml file. After successful build, Emulator shows app in settings>>app management. But, There is nothing in Apps Menu. Even I tried manually installing ... | android|android-launcher | 0 | 2020-01-29T07:27:22.250Z | 2,020 | 1 | 7 | 2 | 453 | 2 | 567 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
59,962,312 | Databinding to Spinner using Static array using mvvm pattern | <p>I am trying to apply data binding to the spinner by fetching the static array. I am confused on how to get the selected item string through this MVVM approach. Kindly help me . Your help would be much more appreciated</p>
<p>Here is my xml where i have spinner </p>
<pre><code> <Spinner
... | I am trying to apply data binding to the spinner by fetching the static array. I am confused on how to get the selected item string through this MVVM approach. Kindly help me . Your help would be much more appreciated Here is my xml where i have spinner [CODE] I really dont know how to get selected item value in my vie... | android|kotlin|android-spinner|android-databinding|android-mvvm | 0 | 2020-01-29T07:29:56.507Z | 2,020 | 1 | 7 | 2 | 1,446 | 1 | 328 | 60 | 5 | 1 | true | false | false | false | false | false | zero |
59,962,367 | How to building React Native App using WebRtc | <p>Thank you for your help in advance.</p>
<p>I want to make a new WebRtc mobile application for video calling using react native, i checked many articles but not getting exact information how to start. Can any person please help me and guide me the path to create an application.</p>
<pre><code>.\gradlew /clean
</cod... | Thank you for your help in advance. I want to make a new WebRtc mobile application for video calling using react native, i checked many articles but not getting exact information how to start. Can any person please help me and guide me the path to create an application. [CODE] FAILURE: Build failed with an exception. W... | android|ios|webrtc|react-native | 1 | 2020-01-29T07:34:14.653Z | 2,020 | 1 | 7 | 2 | 7,865 | 2 | 816 | 45 | 4 | 1 | true | false | true | false | false | false | low |
59,962,504 | android AVD arm wont start | <p>I want to use AVD with arm system image to do some testing
problem is none of the images I select <code>arm64-v8a , armeabi-v7a</code>
whether I select android 7 or 5 the AVD won't start up </p>
<p>error log </p>
<pre><code>10:39 AM Emulator: emulator: ERROR: This AVD's configuration is missing a kernel file! ... | I want to use AVD with arm system image to do some testing problem is none of the images I select arm64-v8a , armeabi-v7a whether I select android 7 or 5 the AVD won't start up error log [CODE] tried all the images all gives same issue . please help :) | android|android-studio|android-emulator|avd|android-image | 1 | 2020-01-29T07:44:22.663Z | 2,020 | 1 | 7 | 2 | 942 | 1 | 252 | 26 | 5 | 1 | true | false | false | false | false | false | low |
59,962,512 | Errors while using MaskedEditText | <p>I'm trying to use MaskedEditText for the phone number.
This is the xml code:</p>
<pre><code> <br.com.sapereaude.maskedEditText.MaskedEditText
android:id="@+id/phone"
android:inputType="number"
android:layout_width="200dp"
android:layout_marginTop="10dp"
android:layout_height="wrap_content"
an... | I'm trying to use MaskedEditText for the phone number. This is the xml code: [CODE] What I added to grade: [CODE] And the errors are: error: attribute met_mask (aka com.example.app2:met_mask) not found. error: failed linking file resources. Please help me! | java|android|android-edittext | 0 | 2020-01-29T07:45:13.130Z | 2,020 | 1 | 7 | 2 | 660 | 1 | 256 | 33 | 3 | 2 | true | false | false | false | false | false | zero |
59,962,577 | Is it possible to send an SMS over Wifi? | <p>I'm working on an Android application in Android Studio and wanted to add a feature that allowed a text (SMS) message to be sent from the application to a mobile phone number. </p>
<p>I found one way to do this by using the SMS Manager API, but it seems like this only works if the application is run on a cell phone... | I'm working on an Android application in Android Studio and wanted to add a feature that allowed a text (SMS) message to be sent from the application to a mobile phone number. I found one way to do this by using the SMS Manager API, but it seems like this only works if the application is run on a cell phone with a SIM ... | android|sms|android-wifi|smsmanager | -2 | 2020-01-29T07:49:39.877Z | 2,020 | 1 | 7 | 2 | 1,761 | 2 | 1,014 | 40 | 4 | 0 | false | false | false | false | false | true | negative |
59,962,616 | What is equant Class to "NSScanner" Class in Android? | <p>I am working on one bel project on android and converting the one application already developed in iOS I am stuck one bunch of lines and didn't find equant code in java</p>
<p>I need to convert the below code and want a class performing below actions in android.</p>
<pre><code>NSString *strOneHour = [NSString stri... | I am working on one bel project on android and converting the one application already developed in iOS I am stuck one bunch of lines and didn't find equant code in java I need to convert the below code and want a class performing below actions in android. [CODE] Thanks | java|android|objective-c|bluetooth-lowenergy|nsscanner | 0 | 2020-01-29T07:52:40.150Z | 2,020 | 1 | 7 | 2 | 38 | 1 | 269 | 53 | 5 | 1 | true | false | false | false | false | false | zero |
59,962,759 | Custom extensions for open file intent (forced extension) | <p>My code looks like following:</p>
<pre><code>@RequiresApi(Build.VERSION_CODES.KITKAT)
private fun selectExportDirectory(activity: FragmentActivity) {
lastExportName = createNewExportFileName()
val intent = Intent(Intent.ACTION_CREATE_DOCUMENT).apply {
addCategory(Intent.CATEGORY_OPENABLE)
ty... | My code looks like following: [CODE] What I want I want to force the selection of a file with the extension .backup . The Intent takes care to adjust a user selected export file automatically if the file already exists and I want this behaviour as well. Problem if I pass "application/zip" as backupFileType I can select... | android|android-intent | 3 | 2020-01-29T08:04:38.283Z | 2,020 | 1 | 8 | 2 | 406 | 2 | 660 | 57 | 2 | 1 | true | false | false | false | false | false | low |
59,962,794 | When media recorder start recording video then "onPreviewFrame" method of Camera.PreviewCallback stopped working | <p>I am writing code to record video after analyzing frame. If the frame contains a redness level above 240 then it starts recording or redness goes bellow 230 stop video recording. </p>
<p>But the issue is that when media recorder starts recording than the <strong>onPreviewFrame</strong> method of <strong>Camera.Pr... | I am writing code to record video after analyzing frame. If the frame contains a redness level above 240 then it starts recording or redness goes bellow 230 stop video recording. But the issue is that when media recorder starts recording than the onPreviewFrame method of Camera.PreviewCallback stopped working for custo... | android|android-camera|mediarecorder|android-mediarecorder|miui | 2 | 2020-01-29T08:06:39.510Z | 2,020 | 1 | 8 | 2 | 86 | 0 | 543 | 112 | 5 | 1 | true | true | false | false | false | false | low |
59,962,800 | How to include large string array resources in an application? | <p>I am developing a dictionary app where users can download vocabulary through an API. But I don't want to make my app look empty until they searched for their first word. So I have managed to arrange all the words with their definitions as string array and thought of displaying them as a list.</p>
<p>The problem her... | I am developing a dictionary app where users can download vocabulary through an API. But I don't want to make my app look empty until they searched for their first word. So I have managed to arrange all the words with their definitions as string array and thought of displaying them as a list. The problem here is that a... | java|android | 0 | 2020-01-29T08:06:57.960Z | 2,020 | 1 | 8 | 2 | 71 | 2 | 706 | 62 | 2 | 0 | false | false | false | false | false | false | zero |
59,962,872 | How to use webrtc in a mobile app using node.js and express api? | <p>I have read an article about live video streaming apps and how to build them.</p>
<p>In the article, there were solutions for adding this feature.</p>
<p>One of them was WebRTC, My question is can I use it in an android app using node.js with express API?</p>
<p>if yes, how to do this in the best way?</p>
<p>I a... | I have read an article about live video streaming apps and how to build them. In the article, there were solutions for adding this feature. One of them was WebRTC, My question is can I use it in an android app using node.js with express API? if yes, how to do this in the best way? I am a flutter developer. Thanks, | android|node.js|express|flutter|webrtc | 3 | 2020-01-29T08:12:23.690Z | 2,020 | 1 | 8 | 2 | 270 | 0 | 315 | 64 | 5 | 0 | false | true | false | false | false | false | low |
59,962,875 | Extra permissions are being added to apk and bundle | <p>I'm encountering very strange problem. When I build apk or bundle dangerous permissions like write external storage is being added to manifest. I found out it when wanted to publish on play store, it gave me that warning. After extracting bundle I looked at manifest file and there were bunch of permissions which I d... | I'm encountering very strange problem. When I build apk or bundle dangerous permissions like write external storage is being added to manifest. I found out it when wanted to publish on play store, it gave me that warning. After extracting bundle I looked at manifest file and there were bunch of permissions which I don'... | android|android-permissions | 1 | 2020-01-29T08:12:44.343Z | 2,020 | 1 | 8 | 2 | 162 | 1 | 369 | 51 | 2 | 0 | false | false | false | false | false | false | low |
59,962,889 | DevicePolicyManager.lockNow() in SystemUI quick settings using custom ROM | <p>I am starting with learning and customizing SystemUI of AOSP. </p>
<p>I was wondering how to implement <code>lockNow()</code> feature on click of an icon. </p>
<p>I have added that icon in <code>qs_panel.xml</code> layout and trying to get that working on <code>QSFragment.java</code>. </p>
<p>I know how to do... | I am starting with learning and customizing SystemUI of AOSP. I was wondering how to implement lockNow() feature on click of an icon. I have added that icon in qs_panel.xml layout and trying to get that working on QSFragment.java . I know how to do in normal apps but not able to achieve it in SystemUI app. If I directl... | android|android-fragments|android-source|android-settings|custom-rom | 1 | 2020-01-29T08:13:48.503Z | 2,020 | 1 | 8 | 2 | 109 | 0 | 599 | 73 | 5 | 1 | true | true | false | false | false | false | low |
59,962,901 | Xamarin.Forms on button click open popup with list of items | <p><a href="https://i.stack.imgur.com/daKc6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/daKc6.png" alt="enter image description here"></a></p>
<p>I have a button on command i need to load list from api an show in a popup. After that i need to choose one item from the list. Any suggestion how to ... | I have a button on command i need to load list from api an show in a popup. After that i need to choose one item from the list. Any suggestion how to import this? Similar like on the image! | xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2020-01-29T08:14:25.660Z | 2,020 | 1 | 8 | 2 | 769 | 1 | 189 | 59 | 4 | 0 | false | false | false | false | false | false | zero |
59,962,959 | Google Play store: edit one of the images of my app | <p>I see guides out there on how to upload a new version of your app to Google store, but in my case I'm not interested in uploading a new apk, I would just like to change one of the uploaded preview images of my app:</p>
<p><a href="https://i.stack.imgur.com/nDcbH.jpg" rel="nofollow noreferrer"><img src="https://i.st... | I see guides out there on how to upload a new version of your app to Google store, but in my case I'm not interested in uploading a new apk, I would just like to change one of the uploaded preview images of my app: What would be the easiest way to achieve this? | android|google-play | 3 | 2020-01-29T08:18:16.060Z | 2,020 | 1 | 8 | 2 | 2,628 | 1 | 261 | 51 | 2 | 0 | false | false | true | false | false | false | low |
59,962,965 | Android Studio missing icon | <p>My Android project has a problem... I can open it in Android Studio. But I can not launch it, the background icon has vanished. In the settings, instead of button launch, it has only a deflected button. Here's my AndroidManifest.xml...</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
... | My Android project has a problem... I can open it in Android Studio. But I can not launch it, the background icon has vanished. In the settings, instead of button launch, it has only a deflected button. Here's my AndroidManifest.xml... [CODE] | java|android|android-studio|icons | 1 | 2020-01-29T08:18:33.387Z | 2,020 | 1 | 8 | 2 | 47 | 0 | 242 | 27 | 4 | 1 | true | true | false | false | false | false | low |
59,963,097 | error: cannot find symbol method readLines(File,Charset) | <p>I'm working on a project and I updated the gradle dependencies so I could get FileUtil. The last line in my build (Module:app) is what I updated (implementation 'commons-io:commons-io:2.6'). I've used this in the past and it worked, but now I'm getting errors for both readLines and writeLines. Any ideas? Thank you!<... | I'm working on a project and I updated the gradle dependencies so I could get FileUtil. The last line in my build (Module:app) is what I updated (implementation 'commons-io:commons-io:2.6'). I've used this in the past and it worked, but now I'm getting errors for both readLines and writeLines. Any ideas? Thank you! [CO... | java|android|android-studio | 0 | 2020-01-29T08:27:59.477Z | 2,020 | 1 | 8 | 2 | 756 | 1 | 332 | 56 | 3 | 2 | true | false | false | false | false | false | zero |
59,963,104 | android livedata Observer didn't notified | <p>Hi guys its my first shot to livedata and i will be thankful if you help me to find whats wrong with this Observer</p>
<p>Observer section in my MainActivity can't receive anything, every thing is ok from my Dialogfragment and MainModel class to MainViewModel and I've got triggered logs but nothing happens to Observ... | Hi guys its my first shot to livedata and i will be thankful if you help me to find whats wrong with this Observer Observer section in my MainActivity can't receive anything, every thing is ok from my Dialogfragment and MainModel class to MainViewModel and I've got triggered logs but nothing happens to Observer in Main... | android|kotlin|android-livedata|android-viewmodel | 0 | 2020-01-29T08:28:16.627Z | 2,020 | 1 | 8 | 2 | 490 | 2 | 349 | 41 | 4 | 3 | true | false | false | false | false | false | zero |
59,963,141 | Setting error enabled to false on TextInputlayout not removing extra space in Android 9.0 | <p>I am using basic <code>TextInputLayout</code>. I am setting error when <code>EditText</code> is empty. When user enters some text, I am removing error text like this. </p>
<pre><code> tilPassword.isErrorEnabled = false
tilPassword.error = null
</code></pre>
<p>This is working fine and good. The reason for calling... | I am using basic TextInputLayout . I am setting error when EditText is empty. When user enters some text, I am removing error text like this. [CODE] This is working fine and good. The reason for calling tilPassword.isErrorEnabled = false is that it is helping me to remove extra space that TextInputLayout adds to the la... | android|android-9.0-pie|android-textinputlayout | 1 | 2020-01-29T08:30:27.730Z | 2,020 | 1 | 8 | 2 | 769 | 1 | 579 | 89 | 3 | 1 | true | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.