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,987,873
Android: How to configure a loading screen with background color and centered image
<p>So, I've almost finished my Android app using Flutter, and now I've just created the icons using Android studio tools (right click on "res" folder -> new -> image asset...). So far so good, but now I'm having an hard time trying to figure out how to put the app icon in the loading screen. What I did so far is:</p> ...
So, I've almost finished my Android app using Flutter, and now I've just created the icons using Android studio tools (right click on "res" folder -> new -> image asset...). So far so good, but now I'm having an hard time trying to figure out how to put the app icon in the loading screen. What I did so far is: Creating...
android|flutter
1
2020-01-30T14:08:39.187Z
2,020
1
14
3
344
3
817
83
2
2
true
false
false
false
false
false
low
59,987,895
How can I allow the background music from another app to continue playing while my app still plays its sounds in android.. nativescript-angular
<p>I am working in nativescript-angular application, How can I allow the background music from another app to continue playing while my app still plays its sounds in android. </p>
I am working in nativescript-angular application, How can I allow the background music from another app to continue playing while my app still plays its sounds in android.
android|angular|nativescript|nativescript-angular
1
2020-01-30T14:10:05.450Z
2,020
1
14
3
92
0
171
143
4
0
false
true
false
false
false
false
low
59,987,936
How to open a file explorer and get selected file path using implicit intent kotlin
<p>I want to open a file explorer and get selected file path in Kotlin Is there any guid for this purpose?</p>
I want to open a file explorer and get selected file path in Kotlin Is there any guid for this purpose?
android|kotlin
0
2020-01-30T14:12:19.817Z
2,020
1
14
3
1,760
1
103
83
2
0
false
false
false
false
false
false
zero
59,987,967
Not Getting Data From Firebase Realtime DataBase
<p>I was making an app and In my main Screen I have an Edit Text and a RecyclerView which was fixed below the Edit Text. and I have a Search Button also in the screen. I want to make a Funcion like when user Enter some value in Edit Text and after adding the value when user clicks the Search Button then it retrieves th...
I was making an app and In my main Screen I have an Edit Text and a RecyclerView which was fixed below the Edit Text. and I have a Search Button also in the screen. I want to make a Funcion like when user Enter some value in Edit Text and after adding the value when user clicks the Search Button then it retrieves the v...
java|android|firebase|firebase-realtime-database|android-recyclerview
0
2020-01-30T14:14:00.110Z
2,020
1
14
3
33
0
780
48
5
2
true
true
false
false
false
false
zero
59,988,019
Emulator pulseaudio access denied
<p>I'm trying to run the android emulator (v 29.3.4.0) on ubuntu 19.10 but I have no sound. When starting from the console, I can see the following errors:</p> <pre><code>$ emulator -avd firstPhone pulseaudio: Wrong context state pulseaudio: Reason: Access denied pulseaudio: Failed to initialize PA contextaudio: Could...
I'm trying to run the android emulator (v 29.3.4.0) on ubuntu 19.10 but I have no sound. When starting from the console, I can see the following errors: [CODE] I've tried reinstalling pulseaudio and deleting ~/.config/pulse. Nothing helped. I still get the same behavior. Any ideas where the problem is?
android-emulator|pulseaudio
0
2020-01-30T14:16:59.120Z
2,020
1
14
3
1,567
1
303
33
2
1
true
false
false
false
false
false
zero
59,988,046
How to get Video thumbnail from URL
<p>I am trying to generate a thumbnail of the video. But I cannot use Glide as it colliding with other gallery libraries. I have tried Picasso that is not giving me thumbnail from the URL. <code>ThumbnailUtils.createVideoThumbnail</code> is working in my code but it is too slow.</p> <p>Can someone suggest any effecti...
I am trying to generate a thumbnail of the video. But I cannot use Glide as it colliding with other gallery libraries. I have tried Picasso that is not giving me thumbnail from the URL. ThumbnailUtils.createVideoThumbnail is working in my code but it is too slow. Can someone suggest any effective tool or technique, to ...
android|url|thumbnails|libraries|video-thumbnails
1
2020-01-30T14:18:15.600Z
2,020
1
14
3
202
1
360
35
5
0
false
false
false
false
false
false
low
59,988,064
Is it possible to link Java method from Kotlin comment?
<p>I have an Android project where Java and Kotlin files are mixed. I am writing a comment in one of the Kotlin files and I want to link some method in Java file. </p> <p><strong>Is this possible? How?</strong></p> <p>For Kotlin I do:</p> <pre><code>/** * [ResultMatcher.getCount] */ </code></pre> <p>But when <co...
I have an Android project where Java and Kotlin files are mixed. I am writing a comment in one of the Kotlin files and I want to link some method in Java file. Is this possible? How? For Kotlin I do: [CODE] But when ResultMatcher is java class it doesn't work. I tried adding different symbols ( _ , # ) and .java or ::c...
java|android|kotlin|comments
4
2020-01-30T14:19:18.803Z
2,020
1
14
3
62
1
344
55
4
1
true
false
false
false
false
false
low
59,988,211
What is the difference between Flutter Android Embedding V1 and V2
<p>I am working on a plugin for Flutter with background stuff.<br> Recently, I faced somethings about <strong>Flutter android embedding</strong> in the <a href="https://pub.dev/packages/android_alarm_manager" rel="noreferrer">android_alarm_manager</a> plugin.</p> <p>A part of the <code>README</code> says:</p> <blockq...
I am working on a plugin for Flutter with background stuff. Recently, I faced somethings about Flutter android embedding in the android_alarm_manager plugin. A part of the README says: For the Flutter Android Embedding V1, the background service must be provided a callback to register plugins with the background isolat...
android|flutter|dart|flutter-android|android-embedded-api
13
2020-01-30T14:26:47.590Z
2,020
1
14
3
13,228
1
418
66
5
0
false
false
true
true
true
false
medium
59,988,213
How to run PenAndPdf project in Android
<p>So Pen and Pdf is an open source PDFViewer/Annotater app for android and other platforms. It is written on top of MuPDF and as such is written in C. When I get the code from github and add it to android studio it gives me all kinds of problems. How to I run the project? </p> <p><a href="https://github.com/cgogolin/...
So Pen and Pdf is an open source PDFViewer/Annotater app for android and other platforms. It is written on top of MuPDF and as such is written in C. When I get the code from github and add it to android studio it gives me all kinds of problems. How to I run the project? Pen And Pdf
android|c|kotlin
0
2020-01-30T14:26:59.577Z
2,020
1
14
3
42
0
282
39
3
0
false
true
false
false
false
false
zero
59,988,274
How to move from a fragment of a navigation drawer to an Activity on Android Studio?
<p>So, this is my first question here. I am doing a project on Android Studio and I cannot seem to move from a fragment of a navigation drawer activity to one another. I've tried the solutions provided here earlier such as using:- </p> <blockquote> <p>Intent i = new Intent(getActivity(), Main3Activity.class);</p> ...
So, this is my first question here. I am doing a project on Android Studio and I cannot seem to move from a fragment of a navigation drawer activity to one another. I've tried the solutions provided here earlier such as using:- Intent i = new Intent(getActivity(), Main3Activity.class); startActivity(i); The intent keep...
java|android|android-intent
0
2020-01-30T14:30:12.597Z
2,020
1
14
3
119
2
470
84
3
1
true
false
false
false
false
false
zero
59,988,290
Save documentReference.getId() in a varible to use it in a different Statement
<p>I new here, becuase I need some help with my code. I trying to make friend request in my app. In my case I want to save my <strong>requestid</strong>, which i just created in a string. I can do it and it works perfectly fine with documentReference.getId(). But now i want to use this ID in my second if-Statement as w...
I new here, becuase I need some help with my code. I trying to make friend request in my app. In my case I want to save my requestid , which i just created in a string. I can do it and it works perfectly fine with documentReference.getId(). But now i want to use this ID in my second if-Statement as well, but it does no...
java|android-studio|google-cloud-firestore
0
2020-01-30T14:31:18.163Z
2,020
1
14
3
40
1
649
78
3
1
true
false
false
false
false
false
zero
59,988,410
ScrollView not scrolling with onTouch
<p>My scroll view isn't scrolling. I have a feeling it may be due to an "onTouch" method I have that instead of scrolling is incrementing the counter shown. I have tried to find some solutions but none seem to be directly related to mine and any attempt to change the scroll view has not worked. I am not sure how to get...
My scroll view isn't scrolling. I have a feeling it may be due to an "onTouch" method I have that instead of scrolling is incrementing the counter shown. I have tried to find some solutions but none seem to be directly related to mine and any attempt to change the scroll view has not worked. I am not sure how to get ar...
java|android|android-scrollview
0
2020-01-30T14:37:31.783Z
2,020
1
14
3
37
2
405
37
3
2
true
false
false
false
false
false
zero
59,988,414
Show pin lables on load
<p><a href="https://i.stack.imgur.com/IKVaA.jpg" rel="nofollow noreferrer">I want make something like this image</a>I am using the Xamarin.Forms.GoogleMaps Plugin.<br> I want to show my pin label by default without tapping on the pin in a map. Is this possible? </p>
I want make something like this image I am using the Xamarin.Forms.GoogleMaps Plugin. I want to show my pin label by default without tapping on the pin in a map. Is this possible?
google-maps|xamarin|xamarin.forms|xamarin.android|xamarin.ios
0
2020-01-30T14:37:44.857Z
2,020
1
14
3
322
1
179
23
5
0
false
false
false
false
false
false
zero
59,988,435
Chrome LITE mode (android) keep my old VueJs app on clients (google server cache?)
<p>I am using IIS and my application is made with VueJs (SPA). I am already using cache busting, and no-cache configs on my web.config.</p> <p>When updating my application, I made the web.config turn another index page as a default page (app_offline.htm), but when I tried to turn things back, mobile Chrome users got s...
I am using IIS and my application is made with VueJs (SPA). I am already using cache busting, and no-cache configs on my web.config. When updating my application, I made the web.config turn another index page as a default page (app_offline.htm), but when I tried to turn things back, mobile Chrome users got stucked on t...
android|google-chrome|vue.js|iis|caching
3
2020-01-30T14:38:59.267Z
2,020
1
14
3
165
0
589
82
5
1
true
true
false
false
false
false
low
59,988,440
RecyclerView Perform Item Click
<p>I have a <code>RecyclerView</code> that contains expandable items. clicking on an item expands it. The problem is it also expand some other cards, unexpectedly. I checked everything and I couldn't find why is this happening, but I did manage to find out that the clicked item always somehow has the same id as the oth...
I have a RecyclerView that contains expandable items. clicking on an item expands it. The problem is it also expand some other cards, unexpectedly. I checked everything and I couldn't find why is this happening, but I did manage to find out that the clicked item always somehow has the same id as the other expanded item...
java|android|android-layout|android-recyclerview|android-viewholder
4
2020-01-30T14:39:18.323Z
2,020
1
14
3
383
3
1,014
31
5
1
true
false
false
false
false
false
low
59,988,506
Can't call MainActivity methods from its class
<p>I looked everywhere and couldn't find what's wrong with my code, I am simply trying to call a MainActivity method from its own class:</p> <p><strong>MainActivity.java:</strong></p> <pre><code>import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatAct...
I looked everywhere and couldn't find what's wrong with my code, I am simply trying to call a MainActivity method from its own class: MainActivity.java: [CODE] TestiClass.java: [CODE] mActivity.testi_method() says - cannot resolve method... Any Thoughts?
java|android|android-activity
-3
2020-01-30T14:43:07.333Z
2,020
1
14
3
110
2
254
46
3
2
true
false
false
false
false
true
negative
59,988,556
Sending MMS from android app prepared but not sent
<p>I'm facing a problem on my android app, I have a function to send MMS to a phone number but my application only prepare the mms and don't send it.</p> <p>as you can see here: <a href="https://i.stack.imgur.com/Jzw7t.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jzw7t.jpg" alt="enter image descr...
I'm facing a problem on my android app, I have a function to send MMS to a phone number but my application only prepare the mms and don't send it. as you can see here: I can send SMS without any troubles but not MMS My permissions in the manifest [CODE] Here is my fonction [CODE]
java|android|mms
1
2020-01-30T14:45:58.373Z
2,020
1
14
3
75
0
280
50
3
2
true
true
false
false
false
false
low
59,988,570
java.io.UnsupportedEncodingException: java.nio.charset.CharsetICU[UTF-8]
<p>android studio 3.6</p> <p>in build.gradle:</p> <pre><code>compileOptions { targetCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8 } api 'org.apache.commons:commons-io:1.3.2' </code></pre> <p>in my code</p> <pre><code>import org.apache.commons.io.FileUtils imp...
android studio 3.6 in build.gradle: [CODE] in my code [CODE] but I get error: [CODE]
android|apache-commons
3
2020-01-30T14:46:40.737Z
2,020
1
14
3
2,185
1
84
72
2
3
true
false
false
false
false
false
low
59,988,706
Requests are failing sending from installed APK, but working fine using the simulator and same phone connected to Android Studio, why?
<p>I have successfully tested and created my first app with Flutter. Tested both on Simulator (Pixel 3 API 29) and also tested to run it directly on my phone which is Mi A2 with Android v9. I have no problem using the app and all the functionality, but when I create an APK file using Android Studio - Build - Flutter - ...
I have successfully tested and created my first app with Flutter. Tested both on Simulator (Pixel 3 API 29) and also tested to run it directly on my phone which is Mi A2 with Android v9. I have no problem using the app and all the functionality, but when I create an APK file using Android Studio - Build - Flutter - Bui...
android-studio|flutter
0
2020-01-30T14:54:35.123Z
2,020
1
14
3
464
1
1,786
134
2
2
true
false
false
false
false
false
zero
59,989,064
Setting Custom-Theme to Button-Background programmatically
<p>I've created some custom themes, which help me customize the layouts based on user preferences.. in my App (Quiz-App) I'm changing the button color if it was the correct answer. After that I show a "correctAnswer"-Dialog with an onClick where the buttons should be reseted and get their normal color again. But since ...
I've created some custom themes, which help me customize the layouts based on user preferences.. in my App (Quiz-App) I'm changing the button color if it was the correct answer. After that I show a "correctAnswer"-Dialog with an onClick where the buttons should be reseted and get their normal color again. But since I'm...
java|android|xml|android-studio|android-layout
0
2020-01-30T15:15:07.550Z
2,020
1
15
3
522
1
1,213
58
5
5
true
false
false
false
false
false
zero
59,989,088
Chat app android native using C# and Firebase
<p>I want to develop a chat module in my existing app built using <strong>android native java</strong>. Currently my user account and all data saved in <strong>sql server with backend built on C# MVC framework</strong>. Now I am confused what structure I need to follow to built chat module, I have watched many firebase...
I want to develop a chat module in my existing app built using android native java . Currently my user account and all data saved in sql server with backend built on C# MVC framework . Now I am confused what structure I need to follow to built chat module, I have watched many firebase tutorials but they all used fireba...
c#|android|asp.net-mvc|firebase|chat
1
2020-01-30T15:16:07.633Z
2,020
1
15
3
1,005
0
500
45
5
0
false
true
false
false
false
false
low
59,989,121
Flutter release APK build - Intermittent white screen
<p>My app works perfectly on the Android emulator. When I create a release APK I get this error:</p> <p>Intermittently, the Scaffold content does not load. The Nav bar and drawer are visible, but not the central content.</p> <p>This does not happen every time I open the app, only about 1/3 times, on average. There is...
My app works perfectly on the Android emulator. When I create a release APK I get this error: Intermittently, the Scaffold content does not load. The Nav bar and drawer are visible, but not the central content. This does not happen every time I open the app, only about 1/3 times, on average. There is no obvious pattern...
android|flutter|release
0
2020-01-30T15:17:35.653Z
2,020
1
15
3
153
1
2,197
53
3
0
false
false
false
false
false
false
zero
59,989,138
Best way of dealing with Android text translations / app internationalization
<p>I find it out that dealing with text translations in Android is difficult. There are some discussions about this topic, but I haven't found a definitive good solution yet. (which is weird since I believe there are tons of apps that need to manage translations. Also, I assume Google wants to provide better-quality ap...
I find it out that dealing with text translations in Android is difficult. There are some discussions about this topic, but I haven't found a definitive good solution yet. (which is weird since I believe there are tons of apps that need to manage translations. Also, I assume Google wants to provide better-quality apps ...
android|android-studio|internationalization
1
2020-01-30T15:18:16.043Z
2,020
1
15
3
69
0
1,686
77
3
0
false
true
false
false
false
false
low
59,989,213
javax/xml/bind/JAXBException building with gradle
<p>I'm trying to update to gradle 5.4 and thus JDK 11 but I'm having errors when building:</p> <pre><code> Task :app:compileDesarrolloDebugJavaWithJavac FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileDesarrolloDebugJavaWithJavac'. &gt; javax/xml/bind/JAXBExc...
I'm trying to update to gradle 5.4 and thus JDK 11 but I'm having errors when building: [CODE] I've been searching for some solution and I found that I had to add some dependencies on my app/build.gradle because Java 9+ does not install jre anymore: [CODE] But I'm still getting the same error: [CODE] Full app/build.gra...
java|android|gradle
5
2020-01-30T15:21:52.020Z
2,020
1
15
3
7,995
2
478
49
3
3
true
false
true
false
false
false
low
59,989,324
Failing to create SearchView
<p>I am trying to create a SearchView for one of my 4 MenuItems, that are being created programmatically, however I am getting a NPE when I use xml for my SearchView.</p> <p>xml/search_view.xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;SearchView xmlns:android="http://schemas.android.com/apk/res...
I am trying to create a SearchView for one of my 4 MenuItems, that are being created programmatically, however I am getting a NPE when I use xml for my SearchView. xml/search_view.xml [CODE] Java [CODE] How can I resolve this so I can have one of my MenuItems act as a SearchView?
android|searchview
0
2020-01-30T15:27:37.380Z
2,020
1
15
3
68
1
280
28
2
2
true
false
false
false
false
false
zero
59,989,343
How to make SearchView with same RecyclerView?
<p>I have some fragments within a RecyclerView which is added to the MainActivity body container. I have a fragment with toolbar and RecyclerView which is added to the MainActivity head container. I want to do a search on all elements of all RecyclerView and make <code>setVisibility(View.GONE)</code> for body container...
I have some fragments within a RecyclerView which is added to the MainActivity body container. I have a fragment with toolbar and RecyclerView which is added to the MainActivity head container. I want to do a search on all elements of all RecyclerView and make setVisibility(View.GONE) for body container and setVisibili...
java|android|android-fragments|android-recyclerview|searchview
1
2020-01-30T15:28:22.667Z
2,020
1
15
3
72
1
539
46
5
4
true
false
false
false
false
false
low
59,989,468
How can I change the color of the drawer icons?
<p>How can I change the color of the drawer icons ? it is currently white, and I want it in black.</p> <pre><code>drawer: new Drawer( child: new ListView( children: &lt;Widget&gt;[ new UserAccountsDrawerHeader( accountName: Text('test'), accountEmail: Text('test')) </code></pr...
How can I change the color of the drawer icons ? it is currently white, and I want it in black. [CODE]
android|flutter
0
2020-01-30T15:36:14.430Z
2,020
1
15
3
82
2
102
47
2
1
true
false
false
false
false
false
zero
59,989,507
AAPT: error: unbound prefix error when using androidx.constraintlayout.widget.ConstraintLayout
<p>I am trying to use databinding so I have a layout root and a constraintlayout child, however when trying to compile I am getting AAPT: error: unbound prefix error, even though the namespaces are defined.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;layout xmlns:app="http://schemas.android.com/apk...
I am trying to use databinding so I have a layout root and a constraintlayout child, however when trying to compile I am getting AAPT: error: unbound prefix error, even though the namespaces are defined. [CODE] Any advice?
android|android-layout|android-constraintlayout
0
2020-01-30T15:38:28.723Z
2,020
1
15
3
506
1
222
94
3
1
true
false
false
false
false
false
zero
59,989,586
Publishing app to google play - where is the demo account data?
<p>As of late, google play is "reviewing" new apps that were published to google play.</p> <p>My app requires the reviewer to have a demo account, otherwise the user cannot go past the initial screen.</p> <p>Where is the place that I provide the reviewer with the demo account?</p>
As of late, google play is "reviewing" new apps that were published to google play. My app requires the reviewer to have a demo account, otherwise the user cannot go past the initial screen. Where is the place that I provide the reviewer with the demo account?
android|google-play|google-play-console|review
11
2020-01-30T15:42:38.087Z
2,020
1
15
3
3,777
2
260
63
4
0
false
false
true
false
true
false
medium
59,989,679
Force creation of Couchbase Lite 2.6 database
<p>Whenever I want to open my Couchbase lite database on an empty <code>data/com.my.app/files/databaseName.cblite2</code> folder i.e.:</p> <pre><code>DatabaseConfiguration config = new DatabaseConfiguration(); database = new Database(databaseName, config); </code></pre> <p>I get the following error:</p> <pre><code>C...
Whenever I want to open my Couchbase lite database on an empty data/com.my.app/files/databaseName.cblite2 folder i.e.: [CODE] I get the following error: [CODE] How can I enforce that a new database is created instead? So in case loading succeeds I would like to get the old database and in case the data is corrupt (erro...
android|couchbase-lite
1
2020-01-30T15:47:02.527Z
2,020
1
15
3
80
1
1,508
45
2
2
true
false
false
false
false
false
low
59,989,945
try to categorize list of items under specific category
<p>I am trying to make a project in Android applications using ((SQLite)) and this project has categories and I have to print a group of elements under a certain category I was able to write this function, but this function prints only the first item that I add for each category, but when I try to add another item to t...
I am trying to make a project in Android applications using ((SQLite)) and this project has categories and I have to print a group of elements under a certain category I was able to write this function, but this function prints only the first item that I add for each category, but when I try to add another item to the ...
java|android|sqlite
1
2020-01-30T16:01:53.013Z
2,020
1
16
3
139
0
558
55
3
4
true
true
false
false
false
false
low
59,990,031
how to create and open dialog when click on recyclerview items in adapter
<p>I want to open a dialog box when I click on <code>RecyclerView</code> item. <code>Toast</code> is working after click show on the screen but not open dialog box and this error:</p> <blockquote> <p>Unable to add window -- token null is not valid; is your activity running?</p> </blockquote> <p>I think I need <code...
I want to open a dialog box when I click on RecyclerView item. Toast is working after click show on the screen but not open dialog box and this error: Unable to add window -- token null is not valid; is your activity running? I think I need getAvtivity instead of context in dialog but how can I do that? [CODE]
android|android-dialog
0
2020-01-30T16:06:01.870Z
2,020
1
16
3
232
1
311
73
2
1
true
false
false
false
false
false
zero
59,990,042
specifically in SQLite on android, do views need to be "refreshed" if you change the schema of the table they are built off of?
<p>Simple question really. We have to do this on sql server, but sqlite on android is a totally different paradigm. For example you can't drop columns. I was wondering if anyone knew if a view (with a select * in it) needed to be dropped and readded if you changed the schema of the table. There is as far as i can te...
Simple question really. We have to do this on sql server, but sqlite on android is a totally different paradigm. For example you can't drop columns. I was wondering if anyone knew if a view (with a select * in it) needed to be dropped and readded if you changed the schema of the table. There is as far as i can tell no ...
android|sqlite
0
2020-01-30T16:06:53.897Z
2,020
1
16
3
137
1
341
127
2
0
false
false
false
false
false
false
zero
59,990,200
String allocation in Xamarin
<p>Suppose I have the following code which assigns a string to a Android.Widget.Button or a UIKit.UIButton:</p> <pre><code>btn.SetText("Some text"); </code></pre> <p>Does this mean the app has two strings in memory? One in managed (Xamarin .NET) and the other one in the unnmanged (native iOS/Android)?</p> <p>It soun...
Suppose I have the following code which assigns a string to a Android.Widget.Button or a UIKit.UIButton: [CODE] Does this mean the app has two strings in memory? One in managed (Xamarin .NET) and the other one in the unnmanged (native iOS/Android)? It sounds like the app ends up with a duplicate of the string in memory...
xamarin|xamarin.android|xamarin.ios|mono
3
2020-01-30T16:16:52.847Z
2,020
1
16
3
61
0
480
28
4
1
true
true
false
false
false
false
low
59,990,225
Android textview inside progressbar
<p>I would make a textview inside progressbar in Android. I wrote this code : </p> <pre><code>&lt;ProgressBar android:id="@+id/hamlebar" android:layout_width="140dp" android:layout_height="wrap_content" android:minHeight="10dp" android:maxHeight="65dp" ...
I would make a textview inside progressbar in Android. I wrote this code : [CODE] But the text looks : https://i.hizliresim.com/6D4lY9.jpg How I can make a good textview inside progressbar? I need your help.
android|textview|progress-bar
0
2020-01-30T16:18:32.127Z
2,020
1
16
3
180
1
207
35
3
1
true
false
false
false
false
false
zero
59,990,433
Android: Theme changes on Alert and AlertDialog depending on the Android version
<p>We have different looks on alert dialogs and dialogs depending on the version. </p> <p>At styles.xml we have the below</p> <pre><code>&lt;style name="Theme.AppSomething" parent="Theme.MaterialComponents.Light.DarkActionBar"&gt; &lt;item name="alertDialogTheme"&gt;@style/Theme.AppSomething.Alert&lt;/item&gt; ...
We have different looks on alert dialogs and dialogs depending on the version. At styles.xml we have the below [CODE] All AlertDialogs are imported on the code like this [CODE] Now, removing the android:alertDialogTheme works great for Android 8 (window width and buttons), but buttons for Android 5 get messed up. Remov...
android|android-alertdialog|android-theme|material-components-android|material-components
1
2020-01-30T16:30:47.983Z
2,020
1
16
3
178
1
675
80
5
2
true
false
false
false
false
false
low
59,990,494
How to build an Android Studio project cloned from git?
<p>I'm building a library for Android in Android Studio. In order to test and debug this library, I created a project with two modules: a library module (my code) and an app module (for testing)</p> <p>Creating these was pretty easy. I just clicked <code>File &gt; New... &gt; Project</code> and followed the prompts. A...
I'm building a library for Android in Android Studio. In order to test and debug this library, I created a project with two modules: a library module (my code) and an app module (for testing) Creating these was pretty easy. I just clicked File > New... > Project and followed the prompts. Afterwards I was able to write ...
android|git|android-studio
1
2020-01-30T16:34:10.410Z
2,020
1
16
3
1,545
1
1,877
55
3
1
true
false
false
false
false
false
low
59,990,504
Start app activity from android phone module
<p>I have 2 modules in my app: app module (which is the original module) and a second module which hold an activity.</p> <p>I want to launch the main activity which is in my second module when clicking on a button and get back to my app module's main activity when clicking on another button. <a href="https://i.stack.i...
I have 2 modules in my app: app module (which is the original module) and a second module which hold an activity. I want to launch the main activity which is in my second module when clicking on a button and get back to my app module's main activity when clicking on another button. I've tried to do the following but go...
android
0
2020-01-30T16:34:53.987Z
2,020
1
16
3
59
1
477
44
1
3
true
false
false
false
false
false
zero
59,990,606
Outlined Edit Text stroke color
<p>I'm trying to style a TextInputLayout:</p> <pre><code>&lt;style name="AppTheme.TextInputLayout.OutlinedBox" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox"&gt; &lt;item name="boxStrokeColor"&gt;@color/text_input_layout_outlined_box_stroke&lt;/item&gt; &lt;item name="hintTextColor"&gt;@color/t...
I'm trying to style a TextInputLayout: [CODE] And that's the color selector: [CODE] And that's my View: [CODE] Why this works as expected applying to the view: [CODE] And theme is not working: [CODE] I'm not getting the differences between these two... EDIT: maybe I've found this to avoid repeating for each view: [CODE...
android|material-design|android-theme|android-styles|android-textinputlayout
1
2020-01-30T16:40:36.043Z
2,020
1
16
3
467
1
321
31
5
6
true
false
false
false
false
false
low
59,990,612
I never enter inside the LiveDataScope inside my ViewModel
<p>I have developed 2 functions for the login. </p> <p>The first "<strong><em>loginOne</em></strong>" works when I use the ViewModel scope. </p> <p>The other one doesn't work when I use the LiveData scope. </p> <p>Do you have an idea? I want to make "<strong><em>loginTwo</em></strong>" work.</p> <p><strong>API</str...
I have developed 2 functions for the login. The first " loginOne " works when I use the ViewModel scope. The other one doesn't work when I use the LiveData scope. Do you have an idea? I want to make " loginTwo " work. API [CODE] Repository [CODE] ViewModel [CODE] Fragment , my viewModel is injected with Koin [CODE]
android|kotlin|viewmodel|android-livedata|kotlin-coroutines
3
2020-01-30T16:40:57.130Z
2,020
1
16
3
811
2
316
58
5
4
true
false
false
false
false
false
low
59,990,651
how to add multiple flutter modules built into aar into an existing android project?
<p>I have tried integrating multiple flutter modules after building the <code>aar</code> file for both modules.</p> <p>But once I include the dependencies , i am getting class conflicts in the gradle build process of android.</p> <p>How do I fix this ? How do I add multiple flutter modules into a single android app ?...
I have tried integrating multiple flutter modules after building the aar file for both modules. But once I include the dependencies , i am getting class conflicts in the gradle build process of android. How do I fix this ? How do I add multiple flutter modules into a single android app ?
android|performance|flutter|aar
1
2020-01-30T16:43:35.427Z
2,020
1
16
3
528
1
288
84
4
0
false
false
false
false
false
false
low
59,990,782
Android Google Maps no UI
<p>Replicating some behavior in an iOS app to Android and one of the requirements is to be able to generate a map snapshot. Google maps does offers the ability to create a <a href="https://github.com/kaeawc/android-maps-example/blob/master/maps/src/com/example/mapdemo/SnapshotDemoActivity.java" rel="nofollow noreferrer...
Replicating some behavior in an iOS app to Android and one of the requirements is to be able to generate a map snapshot. Google maps does offers the ability to create a snapshot of a map but unlike the iOS app I don't see a way of creating the map purely in memory and then saving it to a DB. I've created maps before bu...
android|google-maps|kotlin
0
2020-01-30T16:51:25.367Z
2,020
1
16
3
42
2
803
25
3
2
true
false
false
false
false
false
zero
59,990,857
Flutter multiscreen using DisplayManager or MediaRouter
<p>I'm developing an app in Flutter which is supposed to run on a <a href="https://www.jassway.com/product/471.html" rel="nofollow noreferrer">POS with two screens</a>. It's basically a tablet connected to another screen via a HDMI cable.</p> <p>My problem is that whatever I run on <strong>my side of the screen</stron...
I'm developing an app in Flutter which is supposed to run on a POS with two screens . It's basically a tablet connected to another screen via a HDMI cable. My problem is that whatever I run on my side of the screen also appears to the client's screen , and I need to hide it and show other content (as promotions for exa...
android|flutter|display-manager|mediarouter|presentation-api
2
2020-01-30T16:55:11.493Z
2,020
1
16
3
1,582
2
834
55
5
0
false
false
false
false
false
false
low
59,990,891
Securing API key in Android
<p><strong>Scenario :</strong></p> <p>Say you have an Android Application that uses some API on the server.</p> <p>The application doesn't have a login funcionality (there is no need for it as the user doesn't have any personal data on the server)</p> <p>In order to send a request to the server, you create an OAuth2...
Scenario : Say you have an Android Application that uses some API on the server. The application doesn't have a login funcionality (there is no need for it as the user doesn't have any personal data on the server) In order to send a request to the server, you create an OAuth2 functionality on your server. You make a re...
android|security
3
2020-01-30T16:57:15.860Z
2,020
1
16
3
1,905
2
1,288
27
2
0
false
false
false
false
false
false
low
59,990,905
How can I using Kotlin libraries implementation in a Java Project (Konfetti)
<p>I want to use a library written entirely in kotlin from the application. I did everything as described in the description. however, the linked activity crashes when I include the library. I have tried a few projects written with kotlin and they all give the same error. When I import to my project; android studio cra...
I want to use a library written entirely in kotlin from the application. I did everything as described in the description. however, the linked activity crashes when I include the library. I have tried a few projects written with kotlin and they all give the same error. When I import to my project; android studio crashe...
java|android|kotlin|libraries
0
2020-01-30T16:58:04.713Z
2,020
1
16
3
240
0
498
76
4
2
true
true
false
false
false
false
zero
59,990,928
Bluetooth Scanner for iOS and Android (Xamarin Forms)
<p>We are implementing Xamarin Forms App which works on iOS and Android. App needs to have Barcode Scanning Functionality using Camera and a Bluetooth Device. Although Camera part is done we are still looking for Bluetooth Devices integration. We tried Socket Scanner and it works perfectly on iOS but not on Android. Ar...
We are implementing Xamarin Forms App which works on iOS and Android. App needs to have Barcode Scanning Functionality using Camera and a Bluetooth Device. Although Camera part is done we are still looking for Bluetooth Devices integration. We tried Socket Scanner and it works perfectly on iOS but not on Android. Are t...
xamarin.forms|xamarin.android|bluetooth|xamarin.ios|bluetooth-lowenergy
2
2020-01-30T16:59:22.107Z
2,020
1
16
3
6,382
1
527
53
5
0
false
false
true
false
false
false
low
59,991,007
drawing directly to canvas and creating layout using java code
<p><a href="https://www.youtube.com/watch?v=ziMD-VvZRg4&amp;list=PLQRwIPDHLeOKkI3qYpG7vRoDMGijqeSOO&amp;index=10" rel="nofollow noreferrer">I was following the series on canvas drawing</a> , and at <code>1:27</code> , the author quotes: "<strong>A class responsible for managing and drawing the layout has to extend the ...
I was following the series on canvas drawing , and at 1:27 , the author quotes: " A class responsible for managing and drawing the layout has to extend the SurfaceView and also needs to implement a thread, so we're going to implement the Runnable interface " The author is implementing a direct draw to canvas without us...
java|android|canvas|surfaceview
2
2020-01-30T17:04:24.067Z
2,020
1
17
3
80
1
882
62
4
2
true
false
false
false
false
false
low
59,991,021
Android Jpeg Capturing (CameraX) produces broken black images with size 192 KB on some devices
<p><strong>Goal</strong></p> <p>I tried to convert the <a href="https://github.com/android/camera-samples/tree/master/CameraXBasic" rel="nofollow noreferrer">CameraXBasic</a> sample code into a separate class <code>CapturingProcess</code></p> <ul> <li>which binds the <code>capture</code> use case in <code>new Capturi...
Goal I tried to convert the CameraXBasic sample code into a separate class CapturingProcess which binds the capture use case in new CapturingProcess(context, lifecycleOwner) which offers a simple requestPicture() method to capture multiple pictures (e.g. one each second) Bug description Executing requestPicture() multi...
android|android-camera2|android-camerax
2
2020-01-30T17:05:07.353Z
2,020
1
17
3
656
0
1,709
94
3
2
true
true
false
false
false
false
low
59,991,041
Save file in background by Kotlin coroutines
<p>In my android app in ViewModel</p> <pre><code> private fun finishProcessRecognizedCheck( firebaseVisionImage: FirebaseVisionImage, firebaseVisionText: FirebaseVisionText, recognizedCheck: Check ) { val file_prefix = resultRecognizedCheckList.size.toString() RecognizedCheckDataSer...
In my android app in ViewModel [CODE] as you can see I save image file to internal folder in UI thread . As result the application is freeze. Is it possible to save image on background by Kotlin's coroutines? AA
android|kotlin-coroutines
2
2020-01-30T17:06:05.977Z
2,020
1
17
3
1,230
1
211
44
2
1
true
false
false
false
false
false
low
59,991,109
Download Large File with MediaStore Android 10
<p>I am trying to download a file to download the directory in Android 10 and above. I did as following.</p> <pre><code>val resolver = contentResolver val contentValues = ContentValues().apply { put(MediaStore.MediaColumns.DISPLAY_NAME, "CuteKitten001") put(MediaStore.MediaColumns.MIME_TYPE, "image/jpeg") ...
I am trying to download a file to download the directory in Android 10 and above. I did as following. [CODE] outputStream?.write(buffer, 0, byteSize) in this line it take an integer as an offset, but if I want to move the offset over 2 gigabytes I need a Long.
android|kotlin|mediastore
3
2020-01-30T17:09:54.667Z
2,020
1
17
3
1,410
0
260
46
3
1
true
true
false
false
false
false
low
59,991,168
Duplicate class names in two external third party obfuscated libraries
<p>I have a project that includes two external third party libraries. Both these libraries have the class file names obfuscated and gradle barfs when trying to build the project.</p> <pre><code>Duplicate class a.a.a.a.a.b found in modules... </code></pre> <p>I can't exclude any classes, as they are not duplicates, n...
I have a project that includes two external third party libraries. Both these libraries have the class file names obfuscated and gradle barfs when trying to build the project. [CODE] I can't exclude any classes, as they are not duplicates, nor do I see a way for gradle to prefix the names. Any easy fix for this?
android|gradle
7
2020-01-30T17:13:36.887Z
2,020
1
17
3
1,250
2
313
70
2
1
true
false
false
false
false
false
medium
59,991,173
If I store a private key inside KeyStore from app A, is it possible to retrieve that same key from app B?
<p>I'm working on an <code>Android</code> multi module (multiple apps) project and encountered a use case where I have to save some secret information that could be accessed by all these apps. My idea is to encrypt the secret information using a private key that is saved inside the <code>KeyStore</code>, and save this ...
I'm working on an Android multi module (multiple apps) project and encountered a use case where I have to save some secret information that could be accessed by all these apps. My idea is to encrypt the secret information using a private key that is saved inside the KeyStore , and save this information in a file that I...
android|cryptography|private-key|android-keystore|android-security
4
2020-01-30T17:14:04.213Z
2,020
1
17
3
1,046
2
994
105
5
0
false
false
false
false
false
false
low
59,991,185
Flow of location
<p>I want to use a coroutine flow as a source of the current phone position and mark it on the map. Here what I have in my <code>ViewModel</code>:</p> <pre class="lang-kotlin prettyprint-override"><code>private val gpsAwareLocationFlow = broadcastFlow(BroadcastTransformers.gpsReceiver) .flatMapConcat { locationNoti...
I want to use a coroutine flow as a source of the current phone position and mark it on the map. Here what I have in my ViewModel : [CODE] When I use locationFlow.asLiveData , activity receives data as long as the GPS option is on. When it's turned off stream is closed and activity doesn't react on GPS option disabled ...
kotlin|google-maps|kotlin-coroutines|android-livedata|kotlin-flow
2
2020-01-30T17:14:41.210Z
2,020
1
17
3
317
1
751
16
5
2
true
false
false
false
false
false
low
59,991,225
Android Build with Kotlin DSL - how to access flavor extra properties?
<p>Traditionally, in Groovy, it was possible to define flavor-specific variables in the <code>ext {}</code> block, but switching to Kotlin DSL it seems that the <code>extra</code> map has the project scope.</p> <p>It looks like it is possible to force a flavor scope for extras by using:</p> <pre><code>productFlavors ...
Traditionally, in Groovy, it was possible to define flavor-specific variables in the ext {} block, but switching to Kotlin DSL it seems that the extra map has the project scope. It looks like it is possible to force a flavor scope for extras by using: [CODE] (source: https://github.com/gradle/kotlin-dsl-samples/issues/...
android|gradle|android-flavors|kotlin-dsl
2
2020-01-30T17:16:56.317Z
2,020
1
17
3
791
1
491
70
4
2
true
false
false
false
false
false
low
59,991,227
ConstraintLayout in Android Studio - overlapping title bar, but title bar doesn't appear in design view or XML
<p>So, if you build an app in Android Studio, you can of course use ConstraintLayout. I set the constraints, but often find that when I actually launch the app, the content is under the title bar at the top. But the title bar isn't apparently something you can access while designing (either in Design or Text view of ...
So, if you build an app in Android Studio, you can of course use ConstraintLayout. I set the constraints, but often find that when I actually launch the app, the content is under the title bar at the top. But the title bar isn't apparently something you can access while designing (either in Design or Text view of the l...
android|android-studio|layout|android-constraintlayout
1
2020-01-30T17:17:01.010Z
2,020
1
17
3
218
1
426
110
4
0
false
false
false
false
false
false
low
59,991,282
How to Resolve the "Cannot parse result path string:" when trying to build application on android?
<p>when i try to build the application by connecting my Phone [using 5.1 lollipop] in android studio, Build gives me an error "Cannot parse result path string".</p> <p>the detailed error is below</p> <pre><code>org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':app:mergeDebugJavaResour...
when i try to build the application by connecting my Phone [using 5.1 lollipop] in android studio, Build gives me an error "Cannot parse result path string". the detailed error is below [CODE] i have no clue what is means. need help. i'll provide you all the information needed. what could be done to remove this error ....
android-studio|build|runtime-error
4
2020-01-30T17:19:42.443Z
2,020
1
17
3
7,009
4
339
98
3
1
true
false
true
false
false
false
low
59,991,294
Android - Accessibility "Talkback" make system read image word aloud; add "image" suffix to image
<p>I have the following (quite standard) view. <code>ImageView</code> with <code>android:contentDescription</code> is the important part. My question concerns only <strong>Accessibility features</strong>.</p> <p>ImageView is the default: <code>android.widget.ImageView</code></p> <p><code>android:contentDescription</c...
I have the following (quite standard) view. ImageView with android:contentDescription is the important part. My question concerns only Accessibility features . ImageView is the default: android.widget.ImageView android:contentDescription is set to "My cool dog" and the system reads (speaks) via Android Talkback exactly...
android|accessibility|uiaccessibility|talkback
1
2020-01-30T17:20:29.830Z
2,020
1
17
3
956
1
601
97
4
1
true
false
false
false
false
false
low
59,991,558
(Android, java) Cannot rename a child node twice in Firebase realtime database (Solved: Read the bottom of my first post for answer)
<p>I have a button to rename a child node in firebase database, and an editTextView for users to input a string for the new child node name. On button pressed, the string will be extracted from the editTextView and be used to rename the child node. </p> <p>In my coding approach to renaming a child node from username "...
I have a button to rename a child node in firebase database, and an editTextView for users to input a string for the new child node name. On button pressed, the string will be extracted from the editTextView and be used to rename the child node. In my coding approach to renaming a child node from username "Paul" to use...
java|android|firebase|firebase-realtime-database|children
0
2020-01-30T17:37:49.557Z
2,020
1
17
3
102
1
2,768
132
5
3
true
false
false
false
false
false
zero
59,991,586
How to stop a timer in android studio and then start again from when it was stopped?
<p><strong>I am making a Pomodoro TImer app. I've already implemented the play and stop functions. Now I'm trying to implement the pause function. When I press the pause button, it successfully pauses the timer, but, when I press the play button once again, it restarts from 25:00 and not from the time I stopped at. How...
I am making a Pomodoro TImer app. I've already implemented the play and stop functions. Now I'm trying to implement the pause function. When I press the pause button, it successfully pauses the timer, but, when I press the play button once again, it restarts from 25:00 and not from the time I stopped at. How do I imple...
java|android|android-studio|timer
1
2020-01-30T17:39:56.317Z
2,020
1
17
3
155
1
564
84
4
1
true
false
false
false
false
false
low
59,991,612
AndroidX Test - ActivityScenario API Destroy the activity starightaway
<p>I have been trying to move my Robolectic test cases to Android X Test. I've followed the documentation but unable to launch the activity through Activity Scenario Launch API. </p> <p><a href="https://developer.android.com/reference/androidx/test/core/app/ActivityScenario" rel="noreferrer">https://developer.android....
I have been trying to move my Robolectic test cases to Android X Test. I've followed the documentation but unable to launch the activity through Activity Scenario Launch API. https://developer.android.com/reference/androidx/test/core/app/ActivityScenario http://robolectric.org/androidx_test [CODE] Above code does not c...
java|android|android-studio|testing
6
2020-01-30T17:41:25.553Z
2,020
1
17
3
1,033
1
771
70
4
2
true
false
false
false
false
false
medium
59,991,733
Adding and displaying data from a locally stored GeoJSON file using MapBox
<p>I'm attempting to add markers to a map from a GeoJSON File that has been added to the "asset" folder.</p> <p>I've attempted to follow <a href="https://docs.mapbox.com/android/maps/overview/data-driven-styling/" rel="noreferrer">the documentation</a> however have been unable to get the expected result since the mark...
I'm attempting to add markers to a map from a GeoJSON File that has been added to the "asset" folder. I've attempted to follow the documentation however have been unable to get the expected result since the markers are no where to be found when running the app. My Attempt: [CODE] I have noticed that SymbolLayer expects...
java|android|mapbox|geojson|mapbox-android
7
2020-01-30T17:49:24.393Z
2,020
1
17
3
626
1
388
74
5
1
true
false
false
false
false
false
medium
59,991,797
Admob Rewarded ads without button
<p>So my problem is actually pretty simple. I have a Rewardable admob adview, but it is triggered right now in a onclick method. How can I first some how load the Rewardvideoad and then display it without an onclick method ?</p> <p>my oncreate method:</p> <pre><code>protected void onCreate(Bundle savedInstanceState) ...
So my problem is actually pretty simple. I have a Rewardable admob adview, but it is triggered right now in a onclick method. How can I first some how load the Rewardvideoad and then display it without an onclick method ? my oncreate method: [CODE] Please help, Thanks;)
android|admob
0
2020-01-30T17:53:11.767Z
2,020
1
17
3
44
1
270
33
2
1
true
false
false
false
false
false
zero
59,991,814
Why won't `parcelize` pass data between my custom recycler adapter class and my custom activity class?
<p>I am trying to pass a custom class instance from my custom recycler adapter class to a custom activity class using <code>parcelize</code> but not all of the custom class properties are being passed correctly. The instantiated class properties not being passed are properties which are instantiations of another custom...
I am trying to pass a custom class instance from my custom recycler adapter class to a custom activity class using parcelize but not all of the custom class properties are being passed correctly. The instantiated class properties not being passed are properties which are instantiations of another custom class defined o...
android|kotlin|parcelable
0
2020-01-30T17:54:07.910Z
2,020
1
17
3
359
2
558
102
3
5
true
false
false
false
false
false
zero
59,991,856
bottomnav FindViewById get null (kotlin)
<p>I am trying to implement bottom navigation with an <code>Activity</code> and use Kotlin. So I search in youtube and I seen a lot of content which uses <code>Fragment</code> for bottom navigation T_T</p> <p>So I try to copy code from <a href="https://www.youtube.com/watch?v=JjfSjMs0ImQ" rel="nofollow noreferrer">htt...
I am trying to implement bottom navigation with an Activity and use Kotlin. So I search in youtube and I seen a lot of content which uses Fragment for bottom navigation T_T So I try to copy code from https://www.youtube.com/watch?v=JjfSjMs0ImQ because they use Activity not Fragment But the problem is they use Java. So ...
java|android|kotlin|bottomnavigationview|findviewbyid
3
2020-01-30T17:57:32.553Z
2,020
1
17
3
751
1
926
40
5
3
true
false
false
false
false
false
low
59,992,038
Flutter Firebase CloudFirestore shopping App need to get sum of all products from cloudfirestore
<p>I am creating a Shopping App with Flutter Firebase cloudfirestore Application. So, I am having a problem while implementing the cart Page. All the details of the products are coming from the firestore collection ('cart'), Now I want to add the price of all those products from all the documents inside the 'cart' coll...
I am creating a Shopping App with Flutter Firebase cloudfirestore Application. So, I am having a problem while implementing the cart Page. All the details of the products are coming from the firestore collection ('cart'), Now I want to add the price of all those products from all the documents inside the 'cart' collect...
android|firebase|flutter|google-cloud-firestore
0
2020-01-30T18:08:58.430Z
2,020
1
18
3
1,227
2
480
96
4
0
false
false
false
false
false
false
zero
59,992,041
Connect to wifi programmatically in Xamarin Forms Android 10
<p>I am unable to connect to wifi in Android 10. The code I have works fine till Android 9, I have been trying to implement the same for Android 10 without any luck :(</p> <pre><code> private void RequestNetwork(string _ssid, string _passphrase) { var specifier = new WifiNetworkSpecifier.Bui...
I am unable to connect to wifi in Android 10. The code I have works fine till Android 9, I have been trying to implement the same for Android 10 without any luck :( [CODE]
c#|android|xamarin|xamarin.forms|xamarin.android
0
2020-01-30T18:09:21.453Z
2,020
1
18
3
2,088
2
171
60
5
1
true
false
false
false
false
false
zero
59,992,204
Android not calling first method/skipping first method
<p>I'm using Azure Face API for facial recognition, some of my methods are only running correctly in debug mode:</p> <pre><code>public void detectFace(MenuItem item){ getPicture(); startFaceRecognition(); } </code></pre> <p>I first noticed the issue with the code above. The getPicture() method doe...
I'm using Azure Face API for facial recognition, some of my methods are only running correctly in debug mode: [CODE] I first noticed the issue with the code above. The getPicture() method does not seem to run if the second method is called after, though does run if the startFaceRecognition() is called from within getPi...
java|android|azure|android-studio|face-api
1
2020-01-30T18:20:44.450Z
2,020
1
18
3
37
0
757
54
5
2
true
true
false
false
false
false
low
59,992,259
Not currently allowed to connect to camera "1"
<p>ANDROID Caused by java.lang.SecurityException: validateClientPermissionsLocked:1102: Callers from device user 0 are not currently allowed to connect to camera "1"</p> <p>Camera permission is granted.</p> <p>It is runned by a FOREGROUND SERVICE.</p> <p>Works on most devices, but there are few Android 9, Huawei, Mo...
ANDROID Caused by java.lang.SecurityException: validateClientPermissionsLocked:1102: Callers from device user 0 are not currently allowed to connect to camera "1" Camera permission is granted. It is runned by a FOREGROUND SERVICE. Works on most devices, but there are few Android 9, Huawei, Motorola and Xiaomi devices t...
java|android|kotlin
3
2020-01-30T18:24:03.297Z
2,020
1
18
3
261
1
709
46
3
1
true
false
false
false
false
false
low
59,992,275
RecyclerView with StaggeredGridLayoutManager row Height problem
<p>I'm facing a problem with a <code>RecyclerView</code> with a <code>StaggeredGridLayoutManager</code>. The issue is that i have a two columns span but I want some full span items in the middle of the recycler. Something like this: <img src="https://i.stack.imgur.com/N4mRM.png" alt="recycler with one full span cell"> ...
I'm facing a problem with a RecyclerView with a StaggeredGridLayoutManager . The issue is that i have a two columns span but I want some full span items in the middle of the recycler. Something like this: The problem is that empty space between the full span cell and the upper one. Is there a method or something to tel...
android|kotlin|android-recyclerview|staggeredgridlayoutmanager
1
2020-01-30T18:24:51.807Z
2,020
1
18
3
272
0
439
63
4
0
false
true
false
false
false
false
low
59,992,363
ArrayIndexOutOfBoundsException: length=12; index=-1 from delete position from alertdialog box
<p>I want to delete items with through alert dialog box. At the same time that I click yes, my app crashes, but the item is deleted at the same time, which is what I want, minus the crash. </p> <p><a href="https://i.stack.imgur.com/7tBeA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7tBeA.png" alt...
I want to delete items with through alert dialog box. At the same time that I click yes, my app crashes, but the item is deleted at the same time, which is what I want, minus the crash. Below I've pasted my RecycleAdapter. Here's my code: [CODE] Here is the error: [CODE] I've been stuck on this for a while. Any help is...
android|android-studio|android-alertdialog|android-recyclerview
0
2020-01-30T18:31:43.380Z
2,020
1
18
3
156
1
333
93
4
2
true
false
false
false
false
false
zero
59,992,466
How to generate hexadecimal pair for each byte and with leading zeroes
<p>I am receiving a <code>string array</code> through the usb port and need to convert this to <code>hexadecimal pairs</code> for each byte, separated by zero each pair and eading zeroes, </p> <p>Using my code I get this:</p> <pre><code>41 54 2B 43 53 51 C A </code></pre> <p>But I need this:</p> <pre><code>41 54 ...
I am receiving a string array through the usb port and need to convert this to hexadecimal pairs for each byte, separated by zero each pair and eading zeroes, Using my code I get this: [CODE] But I need this: [CODE] Here is my code: [CODE] but it does not work, what is the error?.
android
0
2020-01-30T18:38:07.050Z
2,020
1
18
3
49
0
281
70
1
3
true
true
false
false
false
false
zero
59,992,477
npx react-native run-android: E/Device: Error during Sync: EOF
<p>I am trying to run react native app to my real android device. I checked my device before running</p> <pre><code>adb devices List of devices attached 3357425441473098 device </code></pre> <p>I started with</p> <pre><code>npx react-native start </code></pre> <p>and in other console</p> <pre><code>npx rea...
I am trying to run react native app to my real android device. I checked my device before running [CODE] I started with [CODE] and in other console [CODE] But got an error.. [CODE] And right after that error. I lost my device connection. [CODE] shows nothing.. and at the bottom of stacktrace I see this error also [CODE...
android|react-native|gradle|build.gradle
1
2020-01-30T18:38:48.697Z
2,020
1
18
3
1,733
3
600
62
4
7
true
false
false
false
false
false
low
59,992,666
File Chooser unsupported by cordova
<p>I' m looking for a File chooser plugin for my ionic 5 app, but FileChooser is now unsupported by cordova. Are there other plugins that i can use. Thank you!</p>
I' m looking for a File chooser plugin for my ionic 5 app, but FileChooser is now unsupported by cordova. Are there other plugins that i can use. Thank you!
android|cordova|ionic-framework|cordova-plugins
0
2020-01-30T18:52:17.533Z
2,020
1
18
3
273
1
156
35
4
0
false
false
false
false
false
false
zero
59,992,695
Android: Video does not play
<p>This is link for video:</p> <p><a href="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" rel="nofollow noreferrer">http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4</a></p> <p>In manifest:</p> <pre><code>&lt;manifest xmlns:android="http://schemas.a...
This is link for video: http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 In manifest: [CODE] This is code for playing this video: [CODE] But the video does no play. Please, tell me, there is a mistake?
android|android-videoview
0
2020-01-30T18:54:07.347Z
2,020
1
18
3
39
0
234
28
2
2
true
true
false
false
false
false
zero
59,992,696
Difference between res/ and resources/
<p>Is there a difference between <code>res/</code> and <code>resources/</code>.?? If I simply create a new directory and title it <code>resources</code>, it is not displayed as a normal directory, seems like <code>resources</code> is a keyword unlike <code>temp</code> which shows as a normal directory. </p> <p><a href...
Is there a difference between res/ and resources/ .?? If I simply create a new directory and title it resources , it is not displayed as a normal directory, seems like resources is a keyword unlike temp which shows as a normal directory. We commonly name a resource folder res in the lib directory to hold drawables, val...
android-studio|android-resources|jetbrains-ide|android-assets
0
2020-01-30T18:54:08.600Z
2,020
1
18
3
576
1
513
38
4
0
false
false
false
false
false
false
zero
59,992,697
Kotlin - Is it possible to return a variable from a higher order function?
<p>I have a Kotlin function from a separate library that takes a function as a parameter and gets the variable I need from the callback:</p> <pre><code>object Session { fun get(callback: (accessToken: String?) -&gt; Unit): Boolean { SomeOtherClass(callback).get() return true } } </code></pre> ...
I have a Kotlin function from a separate library that takes a function as a parameter and gets the variable I need from the callback: [CODE] Then to call it from another class I make the call (in java): [CODE] Is there a way to return the variable accessToken from getToken() directly, or at least the equivalent value? ...
java|android|kotlin|higher-order-functions
0
2020-01-30T18:54:13.173Z
2,020
1
18
3
433
2
537
74
4
3
true
false
false
false
false
false
zero
59,992,728
Could not resolve com.android.tools.build:gradle:3.2.1. error in gradle
<p>i'm trying to compile my project but i get this error, i tried to resolve my problem with other answers but nothing helped:</p> <blockquote> <p>Could not resolve com.android.tools.build:gradle:3.5.3. Could not get resource '<a href="https://maven.google.com/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom"...
i'm trying to compile my project but i get this error, i tried to resolve my problem with other answers but nothing helped: Could not resolve com.android.tools.build:gradle:3.5.3. Could not get resource ' https://maven.google.com/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom '. Could not GET ' https://dl.google...
android|android-studio|gradle
2
2020-01-30T18:56:12.647Z
2,020
1
18
3
479
0
738
71
3
2
true
true
false
false
false
false
low
59,992,749
Displaying email in navigation drawer after logging in
<p>I am trying to show email from login.java page in the navigation drawer after they login to Android App. I am getting a FATAL EXCEPTION error and java.lang.NullPointerException when I run. </p> <p>I have put code into DoctorHome.java: </p> <pre><code>package com.example.medicationmanagementsystem; import android...
I am trying to show email from login.java page in the navigation drawer after they login to Android App. I am getting a FATAL EXCEPTION error and java.lang.NullPointerException when I run. I have put code into DoctorHome.java: [CODE] DatabaseHelper.java [CODE] I am using SQLite as the database to save user details. I j...
java|android|sqlite|android-sqlite
2
2020-01-30T18:57:57.557Z
2,020
1
18
3
114
2
457
54
4
2
true
false
false
false
false
false
low
59,992,759
Change TabbedPage Item FontSize on Android
<p>I use a TabbedPage with position bottom in my xamarin forms project.</p> <p>On Android, the font size is too big.</p> <p>I'm looking for a way to reduce the font size.</p> <p>I'm also trying to remove the effect that makes the selected menu item bigger.</p> <pre class="lang-xml prettyprint-override"><code>&lt;Ta...
I use a TabbedPage with position bottom in my xamarin forms project. On Android, the font size is too big. I'm looking for a way to reduce the font size. I'm also trying to remove the effect that makes the selected menu item bigger. [CODE] Here is the result We're finding that the "videoconsultation" doesn't have enoug...
android|xamarin|xamarin.forms|font-size|tabbedpage
1
2020-01-30T18:58:10.447Z
2,020
1
18
3
1,247
2
657
42
5
1
true
false
false
false
false
false
low
59,992,799
Can't run react-native run-android on Mac
<p>I have a complete react native environment on my iMac, the project run completely when i run react-native run-ios, but when i'll do this with android it doesn't work, metro bundler window opens but doesn't work and don't appear any message.</p> <p>What i have to do?</p> <p>My terminal after i run "react-native run...
I have a complete react native environment on my iMac, the project run completely when i run react-native run-ios, but when i'll do this with android it doesn't work, metro bundler window opens but doesn't work and don't appear any message. What i have to do? My terminal after i run "react-native run-android" [CODE] My...
android|macos|react-native
2
2020-01-30T19:01:04.077Z
2,020
1
19
3
4,161
3
394
41
3
1
true
false
true
false
false
false
low
59,992,898
Has anyone solved the problem of a Facebook app, restricted for TOS failures, related to log in failures, that you cannot recreate?
<p>Facebook has restricted our app for violating their TOS -- as far as we can tell the issue is only related to the Android app. They say it's crashing and creating a bad user experience.</p> <p>However, we cannot recreate the failure and have no idea what is causing the problem -- making it very hard to fix.</p> <p...
Facebook has restricted our app for violating their TOS -- as far as we can tell the issue is only related to the Android app. They say it's crashing and creating a bad user experience. However, we cannot recreate the failure and have no idea what is causing the problem -- making it very hard to fix. Facebook gave us a...
android|facebook|authentication
0
2020-01-30T19:07:44.450Z
2,020
1
19
3
47
1
470
131
3
0
false
false
false
false
false
false
zero
59,992,956
Could not find accessor when binding LiveData in XML
<p>I am trying to Bind a <code>LiveData&lt;Result&lt;String&gt;&gt;</code> to a <code>TextView</code> using DataBinding. The "Result" is a sealed class used to wrap my response from DataSource.</p> <p>But no matter what I do I am getting this error:</p> <blockquote> <p>Could not find accessor com.saiful.gotravel.do...
I am trying to Bind a LiveData<Result<String>> to a TextView using DataBinding. The "Result" is a sealed class used to wrap my response from DataSource. But no matter what I do I am getting this error: Could not find accessor com.saiful.gotravel.domain.Result.data Result.kt [CODE] SearchUseCase.kt [CODE] SearchViewMode...
android|kotlin|android-databinding|android-livedata
0
2020-01-30T19:11:10.187Z
2,020
1
19
3
120
0
421
52
4
5
true
true
false
false
false
false
zero
59,992,958
Android Studio Cant change from Advance attribute view to basic Attribute View
<p>I had a problem where I can't change my attribute view to basic attribute view (which is lot of features on the common attribute section). This is my current attribute pane. I tried to restore the default setting but nothing happens. </p> <p>here's my view: <a href="https://i.stack.imgur.com/3ZfBs.png" rel="nofollo...
I had a problem where I can't change my attribute view to basic attribute view (which is lot of features on the common attribute section). This is my current attribute pane. I tried to restore the default setting but nothing happens. here's my view: This is the example of basic view/ common attribute that I want to acc...
android|android-studio
0
2020-01-30T19:11:12.453Z
2,020
1
19
3
90
0
324
78
2
0
false
true
false
false
false
false
zero
59,993,163
Safely post last task to Handler before quitting its thread
<p>I've got a background Handler and associated HandlerThread.</p> <pre><code>val handlerThread = HandlerThread("my background thread").apply { start() } val handler= Handler(handlerThread) </code></pre> <p>When exiting the lifecycle of this class, I want to clean up something in the background thread. So I post a ru...
I've got a background Handler and associated HandlerThread. [CODE] When exiting the lifecycle of this class, I want to clean up something in the background thread. So I post a runnable to clean it up, and then call handlerThread.quitSafely() : [CODE] But I get the LogCat warning "sending message to a Handler on a dead ...
android|multithreading
2
2020-01-30T19:25:20.007Z
2,020
1
19
3
40
1
930
59
2
2
true
false
false
false
false
false
low
59,993,209
NativeScript CleartextHTTPTrafficNotPermitted
<p>I want to make a HTTP-Request to my local Node-Backend. So I configured my AndroidManifest.xml and my network_security_config.xml to allow cleartext HTTP traffic. But it seems that my NativeScript App is not correctly initializing the AndroidManifest.xml.</p> <pre><code>&lt;manifest xmlns:android="http://schemas.an...
I want to make a HTTP-Request to my local Node-Backend. So I configured my AndroidManifest.xml and my network_security_config.xml to allow cleartext HTTP traffic. But it seems that my NativeScript App is not correctly initializing the AndroidManifest.xml. [CODE] network_security_config.xml: [CODE] Where the problem app...
android|angular|http|nativescript|nativescript-angular
0
2020-01-30T19:28:03.713Z
2,020
1
19
3
124
1
633
45
5
3
true
false
false
false
false
false
zero
59,993,321
Opening the last fragment view in Java Android Apps
<p>I created a <strong><em>bottom navigation</em></strong> for my app and was wondering how could I make it so when the user opens the app, it returns to the <strong><em>last fragment they were viewing</em></strong>? At the moment even if you just switch apps for a second, it reverts to the home page immediately. Thank...
I created a bottom navigation for my app and was wondering how could I make it so when the user opens the app, it returns to the last fragment they were viewing ? At the moment even if you just switch apps for a second, it reverts to the home page immediately. Thanks in advance! [CODE]
java|android
0
2020-01-30T19:36:34.317Z
2,020
1
19
3
19
2
286
51
2
1
true
false
false
false
false
false
zero
59,993,352
STRIKE_THRU_TEXT_FLAG not working as Expected
<p>This is my RecyclerView Adaptor Class</p> <pre><code>public class TodoAdaptor extends RecyclerView.Adapter&lt;TodoAdaptor.SingleTodoView&gt; { private CheckBox checkbox; private TextView title, dueDate; private Context context; private ArrayList&lt;SingleTodo&gt; todoList; private onItemCLickLi...
This is my RecyclerView Adaptor Class [CODE] This is My Adaptor [CODE] and This is my SingleTodo Class [CODE] Whenever I check the checkbox, Text of that item should paint Strikethrough and Its not working as Expected I have 3 Items in the list, when i click checkbox Item get Checked and Text Strikethrough works but wh...
java|android|android-studio|checkbox
0
2020-01-30T19:38:39.767Z
2,020
1
19
3
283
1
1,005
45
4
3
true
false
false
false
false
false
zero
59,993,379
What are the advantages of using parcelable?
<p>Is it any different that we refer to a class object that doesn't use parcelable?</p> <p>When we value a Parcel, we have to make an object of that class. The same is true when reading it.</p> <p>If we are actually referring to a class object when reading and writing, what difference does it make to using Parcelabl...
Is it any different that we refer to a class object that doesn't use parcelable? When we value a Parcel, we have to make an object of that class. The same is true when reading it. If we are actually referring to a class object when reading and writing, what difference does it make to using Parcelable that class?
java|android
1
2020-01-30T19:41:01.650Z
2,020
1
19
3
403
1
313
44
2
0
false
false
false
false
false
false
low
59,993,396
Android Java MVC structure
<p>I'm just starting to work on Android Studio and I need to make a mobile application using the MVC pattern but I have no idea where to start. I've seen in some place that the activity_layout.xml is the view, the MainActivity is the model and I need to make just a new Controller class but for me it seems sketchy, is t...
I'm just starting to work on Android Studio and I need to make a mobile application using the MVC pattern but I have no idea where to start. I've seen in some place that the activity_layout.xml is the view, the MainActivity is the model and I need to make just a new Controller class but for me it seems sketchy, is that...
java|android|mobile
0
2020-01-30T19:42:28.900Z
2,020
1
19
3
113
1
785
26
3
0
false
false
false
false
false
false
zero
59,993,509
Can't build android app due to ClassNotFoundException
<p>The project I try to build:<br> <a href="https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android" rel="nofollow noreferrer">https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android</a></p> <p>The configuration of my Android studio:<br> Proj...
The project I try to build: https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android The configuration of my Android studio: Project SDK: Android API 29 (Java version 1.8.0_202) Project language level: 8 Project compiler output: set No extra libraries Nothing under the Problems tab ...
android|android-studio|tensorflow|android-sdk-tools
3
2020-01-30T19:50:59.180Z
2,020
1
19
3
424
1
917
53
4
1
true
false
false
false
false
false
low
59,993,637
How to load and write data from the SD?
<p>The idea is the following. when I start the app it goes to the method of loading data. Search for the file if there is a load from it if you do not load the array with the data that I have given it. When you click on the button to save in SD, you will create the file in the app folder in the SD. I leave my code. The...
The idea is the following. when I start the app it goes to the method of loading data. Search for the file if there is a load from it if you do not load the array with the data that I have given it. When you click on the button to save in SD, you will create the file in the app folder in the SD. I leave my code. The me...
java|android-studio
-1
2020-01-30T20:00:15.007Z
2,020
1
20
3
28
1
428
39
2
1
true
false
false
false
false
true
negative
59,993,699
Sending Image from Android with Retrofit and Getting the Image with Python Flask
<p>I am trying to send an image to flask endpoint from android application using retrofit 2 but I seem to fail every time. Flask endpoint is working with both html and postman posts so the problem is on the retrofit part.</p> <p>Here is the Flask endpoint:</p> <pre><code>@app.route("/uploadfile", methods=["POST"]) de...
I am trying to send an image to flask endpoint from android application using retrofit 2 but I seem to fail every time. Flask endpoint is working with both html and postman posts so the problem is on the retrofit part. Here is the Flask endpoint: [CODE] Below is the interface for retrofit: [CODE] And finally, the uploa...
python|android|flask|retrofit2
2
2020-01-30T20:04:02.477Z
2,020
1
20
3
816
2
442
80
4
3
true
false
false
false
false
false
low
59,993,731
Android display a square image view next to two stacked views
<p>I am trying to display an image view next a label and a text box. The end result should look like this: <a href="https://i.stack.imgur.com/4df3X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4df3X.png" alt="enter image description here"></a></p> <p>The height of the image view should be the sam...
I am trying to display an image view next a label and a text box. The end result should look like this: The height of the image view should be the same as whatever space the label and the text box take up and the width should be the same as the height so it is a square. I have looked at this question to make an image v...
android|android-layout|kotlin|androidx
1
2020-01-30T20:06:30.517Z
2,020
1
20
3
167
1
600
61
4
0
false
false
false
false
false
false
low
59,993,784
Connecting to Local FTP server in Android Studio Emulator
<p>So My problem is as follows: I have problem uploading/downloading files from FTP LOCAL server, But I can connect and login to the server successfully. </p> <p>I'm using Apache Common-net API to connect to FTP server in Java.</p> <p>This is the error I get: <a href="https://i.stack.imgur.com/ChsoR.png" rel="nofollo...
So My problem is as follows: I have problem uploading/downloading files from FTP LOCAL server, But I can connect and login to the server successfully. I'm using Apache Common-net API to connect to FTP server in Java. This is the error I get: Android Studio Error This is the code I used to connect: [CODE] I'm also using...
java|android|ftp|apache-commons-net
0
2020-01-30T20:11:33.290Z
2,020
1
20
3
564
0
723
57
4
2
true
true
false
false
false
false
zero
59,993,861
Flutter: Using Expandable Textfield with BottomNavigationBar
<p>I need some help with this layout :) </p> <p>The Layout contains a <code>BottomNavigationBar</code>. The body consists of a <code>Container</code> at the top (which serves as some kind of header) and a <code>Textfield</code> below the <code>Container</code>. The <code>Textfield</code> should expand to fill the r...
I need some help with this layout :) The Layout contains a BottomNavigationBar . The body consists of a Container at the top (which serves as some kind of header) and a Textfield below the Container . The Textfield should expand to fill the remaining space. As soon as the user enters enough lines so that the text doesn...
android|flutter|flutter-layout
0
2020-01-30T20:17:40.267Z
2,020
1
20
3
802
1
855
60
3
2
true
false
false
false
false
false
zero
59,993,903
How to get rid of issue 'Binary XML file line #8: Binary XML file line #8: Error inflating class com.androidplot.xy.XYPlot' when working with XYPlot
<p>I'm trying to familiarize myself with android XYPlot, using android studio 3.5. I have tested several examples first, and I'm ending up with the same error - <code>Caused by: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class com.androidplot.xy.XYPlot Caused...
I'm trying to familiarize myself with android XYPlot, using android studio 3.5. I have tested several examples first, and I'm ending up with the same error - Caused by: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class com.androidplot.xy.XYPlot Caused by: android.vie...
java|android|xml|androidplot
0
2020-01-30T20:20:35.043Z
2,020
1
20
3
226
2
859
148
4
5
true
false
false
false
false
false
zero
59,993,952
MainActivity.OnActivityResult(int, Result, Intent)': no suitable method found to override in Xamrine
<p>I am trying to create project in xamarin but it causes error when i try to use method in mainactivity.cs file in Xamarin.android project -</p> <pre><code>protected override void onActivityResult(int requestCode, int resultCode, Intent data) { } </code></pre> <p>Error is :</p> <pre><code>MainActivity.OnActivityRes...
I am trying to create project in xamarin but it causes error when i try to use method in mainactivity.cs file in Xamarin.android project - [CODE] Error is : [CODE]
xamarin|android-activity|xamarin.android
1
2020-01-30T20:23:42.047Z
2,020
1
20
3
428
2
163
100
3
2
true
false
false
false
false
false
low
59,993,970
On Android 7 (rooted), libusb_init fails with LIBUSB_ERROR_OTHER
<p>I am trying to use libusb in an Android app, it is embedded in an Android native module and built with cmake. The code only call libusb_init and returns a string to the activity and it systematically fails with LIBUSB_ERROR_OTHER.</p> <p>The thing is I can get it to work when it is launched from a small command-lin...
I am trying to use libusb in an Android app, it is embedded in an Android native module and built with cmake. The code only call libusb_init and returns a string to the activity and it systematically fails with LIBUSB_ERROR_OTHER. The thing is I can get it to work when it is launched from a small command-line program d...
android|native|libusb|rooted
1
2020-01-30T20:24:53.477Z
2,020
1
20
3
173
0
992
64
4
3
true
true
false
false
false
false
low
59,994,025
Android List Adapter not showing all data using Live Data, ViewHolder and ViewModelProvider
<p>I am following this tutorial and adapting things to my project on the go: <a href="https://codelabs.developers.google.com/codelabs/android-training-livedata-viewmodel/index.html?index=..%2F..android-training#0" rel="nofollow noreferrer">https://codelabs.developers.google.com/codelabs/android-training-livedata-viewmo...
I am following this tutorial and adapting things to my project on the go: https://codelabs.developers.google.com/codelabs/android-training-livedata-viewmodel/index.html?index=..%2F..android-training#0 I have a database with conversation lists which I want to show in an activity, and clicking them should get me to conve...
android|android-listview
0
2020-01-30T20:29:59.303Z
2,020
1
20
3
222
1
697
91
2
4
true
false
false
false
false
false
zero
59,994,114
Accessing volume changer in a gridView
<p>In android studio, I made a gridView that shows an image and each image is linked with it's own sound and it works, but if I add a volume changer to the view it won't play the sound anymore. any ideas how to make the volume changer and the image independent in the gridview?</p> <p>the View (it s a linear layout)</p...
In android studio, I made a gridView that shows an image and each image is linked with it's own sound and it works, but if I add a volume changer to the view it won't play the sound anymore. any ideas how to make the volume changer and the image independent in the gridview? the View (it s a linear layout) [CODE] the ad...
java|android|xml|android-studio|gridview
1
2020-01-30T20:37:05.907Z
2,020
1
20
3
28
0
356
38
5
3
true
true
false
false
false
false
low