id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
60,175,079
Rendering SVG file in flutter is not working
<p>I am trying to render the SVG file in my flutter application using the "flutter_svg 0.17.1" package. It's working fine with most of the online SVG files but it's not working with my custom SVG design which I download from the wireframe. </p> <p><a href="https://xd.adobe.com/view/8cd76b91-61ee-4bc8-473b-45fa935fcc98...
I am trying to render the SVG file in my flutter application using the "flutter_svg 0.17.1" package. It's working fine with most of the online SVG files but it's not working with my custom SVG design which I download from the wireframe. Wire frame design dog.svg [CODE] Any guideline that I have to follow while download...
android|flutter|adobe-xd
2
2020-02-11T18:13:36.910Z
2,020
2
18
1
2,115
1
347
44
3
1
true
false
false
false
false
false
low
60,175,177
API for face Identification (Android Xamarin)
<p>What Nuget package should I use for developing an Android app (Xamarin) with face identification element? I tried to use the "Xamarin.microsoft.cognitive.face" package but for some unknown reason, I can't use this in Xamarin. I can't find any answers on the internet for my problem and I'm kinda hopeless. Or maybe ca...
What Nuget package should I use for developing an Android app (Xamarin) with face identification element? I tried to use the "Xamarin.microsoft.cognitive.face" package but for some unknown reason, I can't use this in Xamarin. I can't find any answers on the internet for my problem and I'm kinda hopeless. Or maybe can I...
android|api|xamarin|nuget-package|facial-identification
0
2020-02-11T18:21:37.553Z
2,020
2
18
1
488
1
369
45
5
0
false
false
false
false
false
false
zero
60,175,193
Store list of One-To-Many relation Using ObjectBox?
<p>I get a json like below from server:</p> <pre><code> { "customers": [ { "customer_name": "name1", "orders_list": [ { "order_id": "1111111", "order_type": "a", "order_date": "11/02/2020 " }, { "or...
I get a json like below from server: [CODE] } I get it using Retrofit and want to store it with Objectbox. Customer entity: [CODE] Order Entity: public class Order { [CODE] Gson convertor returns a List of Customer s with all his orders.I tried to store customers as below : [CODE] And orders : [CODE] Then when i checke...
java|android|retrofit|relation|objectbox
0
2020-02-11T18:23:26.033Z
2,020
2
18
1
422
1
528
51
5
5
true
false
false
false
false
false
zero
60,175,238
How to Get rid of "File is read-only" in android studio?
<p><a href="https://i.stack.imgur.com/jW76b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jW76b.png" alt="enter image description here"></a>I downloaded the android source code from <a href="https://f-droid.org/en/packages/org.ligi.survivalmanual" rel="nofollow noreferrer">this F-Droid</a>. When I ...
I downloaded the android source code from this F-Droid . When I tried to edit the file in android studio i am getting pop-up message which tells " File is Read-only ", which doesn't allow me to edit any of the codes. I tackled with other problems before but I stuck with this. Am I downloading the source code in the wro...
android|apk
0
2020-02-11T18:25:52.357Z
2,020
2
18
1
983
0
667
56
2
0
false
true
false
false
false
false
zero
60,175,259
Display Images from FTP server on android studio (JAVA)
<p>I have an external camera support Capture photo and upload it on FTP server every 15s, also i have paid FTP Server from www.drivehq.com .</p> <p>So, how i can display image from ftp server to my mobile app on android studio :</p> <blockquote> <p>(As you know every 15s there's a new photo uploaded on my ftp serve...
I have an external camera support Capture photo and upload it on FTP server every 15s, also i have paid FTP Server from www.drivehq.com . So, how i can display image from ftp server to my mobile app on android studio : (As you know every 15s there's a new photo uploaded on my ftp server) When i click CHECK button it wi...
java|android-studio|image-processing|ftp|imageview
1
2020-02-11T18:27:54.727Z
2,020
2
18
1
412
0
346
55
5
0
false
true
false
false
false
false
low
60,175,293
how can i custom the JsonObjectRequest so as i can override the getParams method in volley library
<p>i have tried to use json objectRequest and i was unable to post the data to the php file that i have provide below</p> <pre><code> reg=regno.getText().toString().trim(); psw=password.getText().toString().trim(); JSONObject postparams=new JSONObject(); try { postparams.put("re...
i have tried to use json objectRequest and i was unable to post the data to the php file that i have provide below [CODE] below is the php code where i want my params to get posted $login=new loginApi($_POST['reg'],$_POST['password']);
android|android-volley
0
2020-02-11T18:30:36.697Z
2,020
2
18
1
46
1
235
98
2
1
true
false
false
false
false
false
zero
60,175,448
ProGuard for Kotlin: JVM signature cannot be resolved
<p>When activating ProGuard, I get the following error message that seems to stem from Kotlin Reflect.</p> <pre><code>kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Property 'selectedAccount' (JVM signature: getSelectedAccount()Lmy/app/package/data/model/Account;) not resolved in class my.app.package.data....
When activating ProGuard, I get the following error message that seems to stem from Kotlin Reflect. [CODE] SharedPrefsData is a simple KotprefModel to store and load from SharedPreferences: [CODE] And this is what happens in KotprefLiveDataExtensionsKt [CODE] So there seems to be some Kotlin Reflection going on which i...
android|kotlin|reflection|proguard
2
2020-02-11T18:41:52.283Z
2,020
2
18
1
1,188
1
651
53
4
4
true
false
false
false
false
false
low
60,175,558
Changing incoming call screen title - Android Studio Broadcast receiver
<p>Community i wish you all are fine. I was wondering is there any way to over ride the phone number on incoming call screen of android phones. In broadcast listener we can get the phone number but is there any way to change the phone number on incoming call screen with custom text? Thanks in advance !</p>
Community i wish you all are fine. I was wondering is there any way to over ride the phone number on incoming call screen of android phones. In broadcast listener we can get the phone number but is there any way to change the phone number on incoming call screen with custom text? Thanks in advance !
android-studio|kotlin|broadcastreceiver|phone-state-listener
0
2020-02-11T18:49:53.990Z
2,020
2
18
1
131
0
300
71
4
0
false
true
false
false
false
false
zero
60,175,610
Google Places Autocomplete Can't load search results android studio
<p>I am trying to implement the Google Places Autocomplete API sometimes I am able to get location list but sometimes I get "can't load search results" message. Can someone please help me with the issue? added billing option and relevant keys to manifest allows me to type in an address but will not find results?</p> <...
I am trying to implement the Google Places Autocomplete API sometimes I am able to get location list but sometimes I get "can't load search results" message. Can someone please help me with the issue? added billing option and relevant keys to manifest allows me to type in an address but will not find results? [CODE]
java|android|google-maps|google-places-api
1
2020-02-11T18:53:26.567Z
2,020
2
18
1
433
0
317
67
4
1
true
true
false
false
false
false
low
60,175,644
PICK_CONTACT in xiaomi phone id column not found
<pre><code> Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); startActivityForResult(intent, PICK_CONTACT); </code></pre> <p>Fatal Exception: java.lang.RuntimeException</p> <p>Failure delivering result ResultInfo{who=null, request=131073, result=-1, data=Intent { da...
[CODE] Fatal Exception: java.lang.RuntimeException Failure delivering result ResultInfo{who=null, request=131073, result=-1, data=Intent { dat=content://com.mi.android.globalFileexplorer.myprovider/root_files/storage/3B44-17E3/DCIM/Camera/FB_IMG_1553740630380.jpg flg=0x1 }} to activity java.lang.IllegalArgumentExceptio...
android
0
2020-02-11T18:56:34.980Z
2,020
2
18
1
57
1
418
48
1
1
true
false
false
false
false
false
zero
60,175,687
loadermanager.loadercallbacks android studio
<p>I am having trouble with LoaderCallbacks in my project. I have implements LoaderManager in android studio. I am trying to restart the loader whenever search button is press by user. </p> <pre><code>public class MainActivity extends AppCompatActivity implements LoaderManager.LoaderCallbacks&lt;List&lt;Book&gt;&gt; <...
I am having trouble with LoaderCallbacks in my project. I have implements LoaderManager in android studio. I am trying to restart the loader whenever search button is press by user. [CODE] [CODE] But, under restartLoader(), when I try to call getLoaderManager() to restart the loader, it's saying that callback argument ...
java|android|android-studio|android-loadermanager
0
2020-02-11T18:59:00.573Z
2,020
2
18
1
514
1
405
44
4
3
true
false
false
false
false
false
zero
60,175,689
Android Studio has extra unkown device
<p>I am trying to do some remote debugging in Android Studio.</p> <p>Recently I've had an issue where an extra device will pop-up named <code>Unknown Device</code> so when i run <code>adb tcpip 5555</code> I get the error message: <code>error: more than one device/emulator</code></p> <p>So I need to get rid of this <...
I am trying to do some remote debugging in Android Studio. Recently I've had an issue where an extra device will pop-up named Unknown Device so when i run adb tcpip 5555 I get the error message: error: more than one device/emulator So I need to get rid of this Unknown Device So far here is what I've tried: adb kill-ser...
android|android-studio|adb
0
2020-02-11T18:59:06.110Z
2,020
2
18
1
34
1
634
38
3
0
false
false
false
false
false
false
zero
60,175,757
What does the "hash" do in Kotlin?
<p>I have come across this in the android documentation</p> <p><code>CameraDevice#createCaptureSession</code></p> <p>and </p> <p><code>CameraDevice#createReprocessableCaptureSession</code></p> <p>What does the "hash" symbol mean?</p>
I have come across this in the android documentation CameraDevice#createCaptureSession and CameraDevice#createReprocessableCaptureSession What does the "hash" symbol mean?
android|kotlin
0
2020-02-11T19:04:04.630Z
2,020
2
19
1
472
1
171
34
2
0
false
false
false
false
false
false
zero
60,175,852
CLEARTEXT communication not permitted by network security policy working on my mobile
<p>I am building an APP, and facing CLEARTEXT communication not permitted by network security policy error on my friend mobile (I am just testing it on anther mobile). of course i am not able to trace the problem as the application is working OK on my mobile (without USB debugging), I download it from google play. </p>...
I am building an APP, and facing CLEARTEXT communication not permitted by network security policy error on my friend mobile (I am just testing it on anther mobile). of course i am not able to trace the problem as the application is working OK on my mobile (without USB debugging), I download it from google play. I did a...
android|http|android-security|cleartext
51
2020-02-11T19:11:48.697Z
2,020
2
19
1
50,355
3
940
85
4
1
true
false
true
true
true
false
high
60,175,870
package android.support.v4.content does not exist flutter
<p>I got multiple errors here. Please let me know what am I doing wrong. Following errors are generated:</p> <pre><code> C:\Users\Lenovo\flutter_windows_v1.2.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\fluttertoast-2.2.11\android\src\main\java\io\github\ponnamkarthik\toast\fluttertoast\FluttertoastPlugin.java...
I got multiple errors here. Please let me know what am I doing wrong. Following errors are generated: [CODE] FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':fluttertoast:compileDebugJavaWithJavac'. Compilation failed; see the compiler error output for details. * Try: Run with --s...
android|android-studio|flutter|build.gradle|flutter-dependencies
3
2020-02-11T19:13:26.443Z
2,020
2
19
1
1,287
1
639
57
5
4
true
false
false
false
false
false
low
60,175,939
Why can't I get Google's 'Getting a Result from an Activity' to work?
<p>Am just starting out with Android (and programming in general)</p> <p>I'm wanting to receive a Uri from another app so that I can give this Uri to Google's Cloud Print. </p> <p>I'm trying to follow the instructions given here: <a href="https://developer.android.com/training/basics/intents/result#java" rel="nofollo...
Am just starting out with Android (and programming in general) I'm wanting to receive a Uri from another app so that I can give this Uri to Google's Cloud Print. I'm trying to follow the instructions given here: https://developer.android.com/training/basics/intents/result#java However I'm unable to resolve 'PICK_FORM_R...
android|uri
0
2020-02-11T19:19:17.843Z
2,020
2
19
1
43
2
427
69
2
2
true
false
false
false
false
false
zero
60,175,975
AsyncTask and RecyclerView Don't Display the Contents Obtained from JSON on the Internet
<p>I'm making a simple program where I can get a content from JSON in this url </p> <blockquote> <p><a href="https://www.haliminfo.com/feeds/posts/summary/?max-results=10&amp;start-index=1&amp;alt=json" rel="nofollow noreferrer">https://www.haliminfo.com/feeds/posts/summary/?max-results=10&amp;start-index=1&amp;alt=...
I'm making a simple program where I can get a content from JSON in this url https://www.haliminfo.com/feeds/posts/summary/?max-results=10&start-index=1&alt=json and make it a list Using RecyclerView on Android. I have made several necessary components such as Model, Adapter, Post Row Item and HttpHandler when I try Rec...
java|android|json|android-recyclerview|android-asynctask
1
2020-02-11T19:21:05.387Z
2,020
2
19
1
42
0
656
88
5
6
true
true
false
false
false
false
low
60,175,996
Search function not working in android studio
<p>I'm trying to create a search box that will return all the listings in my database that have the same tag as what the user wrote in the search bar, but for some reason, when I go to the new intent, the list just stays the same, showing every listing that I have in the database. Any help?</p> <p>Here is my code:</p>...
I'm trying to create a search box that will return all the listings in my database that have the same tag as what the user wrote in the search bar, but for some reason, when I go to the new intent, the list just stays the same, showing every listing that I have in the database. Any help? Here is my code: [CODE] And if ...
java|android
1
2020-02-11T19:23:06.083Z
2,020
2
19
1
96
0
372
45
2
2
true
true
false
false
false
false
low
60,176,001
How to fix wrong rotation of photo from camera in flutter?
<p>I'm taking a photo with the newest camera plugin version and I'm using code from flutter example. This is how I pick a camera:</p> <pre><code>final cameras = await availableCameras(); final firstCamera = cameras.first; </code></pre> <p>This is inside init:</p> <pre><code>_cameraController = CameraController( wi...
I'm taking a photo with the newest camera plugin version and I'm using code from flutter example. This is how I pick a camera: [CODE] This is inside init: [CODE] This is the rest of the relevant code: [CODE] Afterwards, I show the photo to the user with Image.file(File(_imagePath)) and later I send the photo to API. Th...
flutter|dart|android-camera
20
2020-02-11T19:23:30.523Z
2,020
2
19
1
23,734
8
672
58
3
3
true
false
true
true
true
false
medium
60,176,101
Stacktrace.txt error in installing android studio
<p>I just installed Android Studio on my laptop and it shows an error stating ide fatal error. How can i fix this? Anyone who faces the same problem as mine? </p>
I just installed Android Studio on my laptop and it shows an error stating ide fatal error. How can i fix this? Anyone who faces the same problem as mine?
android-studio
-2
2020-02-11T19:30:27.730Z
2,020
2
19
1
169
1
154
49
1
0
false
false
false
false
false
true
negative
60,176,112
How do I switch back to a previous fragment after switching between activities in my Android app?
<p>I have one custom fragment, Fragment A and two custom activities, Activity A and Activity B. I have a button on each of them in the top left hand corner which when clicked should go back to the previous fragment or activity. I switch from Fragment A to Activity A using an <code>intent(...)</code>call and the same th...
I have one custom fragment, Fragment A and two custom activities, Activity A and Activity B. I have a button on each of them in the top left hand corner which when clicked should go back to the previous fragment or activity. I switch from Fragment A to Activity A using an intent(...) call and the same thing when switch...
android|kotlin|android-activity|fragment
0
2020-02-11T19:31:34.560Z
2,020
2
19
1
45
1
950
97
4
4
true
false
false
false
false
false
zero
60,176,297
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object
<p>Why am I getting that error? It's causing my app to crash. Every time I test my app on my device the logcat puts out that error and I don't know why. I have a reasonable understanding of what a null pointer exception is and I have search thoroughly for an issue similar to mine. I have tried to reformat the click lis...
Why am I getting that error? It's causing my app to crash. Every time I test my app on my device the logcat puts out that error and I don't know why. I have a reasonable understanding of what a null pointer exception is and I have search thoroughly for an issue similar to mine. I have tried to reformat the click listen...
java|android
1
2020-02-11T19:45:11.567Z
2,020
2
19
1
206
0
478
137
2
3
true
true
false
false
false
false
low
60,176,369
Easy Analytics Tool for Ionic 4 Android and IOS
<p>I have been struggling to integrate google analytics, firebase analytics, flurry analytics and every time I try to compile my gradle files after following tutorials it always fails for some other reason. Does anyone know which analytic tool is easy to use and if there are any tutorials for them? I have read and trie...
I have been struggling to integrate google analytics, firebase analytics, flurry analytics and every time I try to compile my gradle files after following tutorials it always fails for some other reason. Does anyone know which analytic tool is easy to use and if there are any tutorials for them? I have read and tried s...
android|ios|ionic4|analytics|ionic-native
1
2020-02-11T19:50:54.483Z
2,020
2
19
1
78
0
431
47
5
1
true
true
false
false
false
false
low
60,176,397
how to loop through 2 array lists and return the number of items matched and the matched items in firestore?
<p>I have an <code>ArrayList</code> where I store array of items of a specific field of a document, and I am sending it to another activity like this:</p> <pre><code>Intent intent = new Intent(ProgramToProgram.this, com.example.newapp.ProgramToProgram1.class); intent.putExtra("fids", arrayList1); startActivity(intent)...
I have an ArrayList where I store array of items of a specific field of a document, and I am sending it to another activity like this: [CODE] I recieve it in the other activity like this: [CODE] Now I have another array list in this activty where I am storing another set of items: [CODE] Now I want to compare the items...
java|android|arrays|google-cloud-firestore
0
2020-02-11T19:52:51.927Z
2,020
2
19
1
108
1
524
108
4
5
true
false
false
false
false
false
zero
60,176,447
Recyclerview los data when rotate display , data is load when push button Android
<p>sorry for my bad english</p> <p>My problem: when I rotate my application, all data is lost, I am using a <code>ViewModel</code>, my data loads when I push the button, this is my code for test .</p> <p><a href="https://github.com/elviss116/androidMvvm-master" rel="nofollow noreferrer">https://github.com/elviss116/...
sorry for my bad english My problem: when I rotate my application, all data is lost, I am using a ViewModel , my data loads when I push the button, this is my code for test . https://github.com/elviss116/androidMvvm-master This is the Fragment : [CODE] this is the ViewModel : [CODE] this is the adapter : [CODE]
java|android|android-recyclerview|viewmodel
0
2020-02-11T19:57:22.893Z
2,020
2
19
1
35
1
312
81
4
3
true
false
false
false
false
false
zero
60,176,497
goback in webview flutter by back button device
<p>I have 4 bottomNavigationBar that each one has a webview. but when tap in a one bottomNavigationBar and select a section in webview page, <strong>I can't back to previous page in webview by button back device.</strong></p> <p><strong>I want back in webview just by back button device.</strong></p> <p>it is now when...
I have 4 bottomNavigationBar that each one has a webview. but when tap in a one bottomNavigationBar and select a section in webview page, I can't back to previous page in webview by button back device. I want back in webview just by back button device. it is now when the press back button exit the app. but I use double...
android|flutter|dart|webview|flutter-dependencies
3
2020-02-11T20:01:29.207Z
2,020
2
20
1
6,137
1
547
47
5
2
true
false
true
false
false
false
low
60,176,648
Cloud Firestore Android codelab
<p>Looking for help to resolve a build error I am encountering in step #4 Write Data of Cloud Firestore codelab The compiler seems to be unaware of the Restaurant object that is defined in the app>java>model folder</p> <pre class="lang-none prettyprint-override"><code>error: cannot find symbol CollectionRefere...
Looking for help to resolve a build error I am encountering in step #4 Write Data of Cloud Firestore codelab The compiler seems to be unaware of the Restaurant object that is defined in the app>java>model folder [CODE] Here is the code from the tutorial: [CODE] Thanks for any ideas. Here is the link to the tutorial: Co...
android|firebase|google-cloud-firestore
0
2020-02-11T20:11:23.050Z
2,020
2
20
1
144
1
335
31
3
2
true
false
false
false
false
false
zero
60,176,673
Navigate up by back button with Navigation Component
<p>I use navigation components to navigate from one fragment to another. However, when the user press the back button, I want to navigate back to first fragment. But it keep showing the second fragment. This is my nav_graph:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;navigation ...
I use navigation components to navigate from one fragment to another. However, when the user press the back button, I want to navigate back to first fragment. But it keep showing the second fragment. This is my nav_graph: [CODE] And this is how I trigger the navigation in the code of my Fragment1-Class: [CODE] .... [CO...
android|android-architecture-navigation
0
2020-02-11T20:13:37.200Z
2,020
2
20
1
1,762
1
388
52
2
3
true
false
false
false
false
false
zero
60,176,743
Android APK includes native libraries but they are not installed
<p>When I build my Android application, I end up with 3 binaries in my APK for each architecture and I have <code>android:extractNativeLibs="true"</code> defined in my <code>AndroidManifest.xml</code> file. When I install the application I expect the binaries to end up in <code>/data/app/my.app-base64==/lib/arm64</code...
When I build my Android application, I end up with 3 binaries in my APK for each architecture and I have android:extractNativeLibs="true" defined in my AndroidManifest.xml file. When I install the application I expect the binaries to end up in /data/app/my.app-base64==/lib/arm64 but instead: If I install using IntelliJ...
android|android-10.0
1
2020-02-11T20:18:59.703Z
2,020
2
20
1
317
1
740
64
2
0
false
false
false
false
false
false
low
60,176,792
Android Studio - Device File Explorer Picture Directory
<p>I have succefully created an Inten to take a photo and save it in this directory: </p> <p><strong>/storage/emulated/0/Android/data/com.iyfuture.peddypaper/files/Pictures/Image.jpg</strong></p> <p>After this I do a display of this picture (using the previous URI directory) to make sure that is working. And it is! M...
I have succefully created an Inten to take a photo and save it in this directory: /storage/emulated/0/Android/data/com.iyfuture.peddypaper/files/Pictures/Image.jpg After this I do a display of this picture (using the previous URI directory) to make sure that is working. And it is! My question now is related with the an...
android|android-studio|android-emulator
0
2020-02-11T20:22:23.260Z
2,020
2
20
1
1,343
1
810
55
3
0
false
false
false
false
false
false
zero
60,177,092
Attempt to invoke interface method 'int android.database.Cursor.getColumnIndex(java.lang.String)' on a null object reference
<p>I would really appreciate some help! I am working on a project and I am stuck at this part!</p> <p>Log Cat:</p> <pre><code>java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndex(java.lang.String)' on a null object reference at com.example.workhours.NotesC...
I would really appreciate some help! I am working on a project and I am stuck at this part! Log Cat: [CODE] Code: [CODE]
java|sqlite|android-studio|android-layout
0
2020-02-11T20:45:28.637Z
2,020
2
20
1
295
0
120
124
4
2
true
true
false
false
false
false
zero
60,177,207
Flutter application crash with no error in log when receive push notification FCM
<p>My application crash when it get cloud notification from FCM, only I did is print the firebase message data on console for debut but it crash the app when receives the notification without any error in log console</p> <p><strong>Dependencies:</strong></p> <pre><code> flutter: sdk: flutter cupertino_icons:...
My application crash when it get cloud notification from FCM, only I did is print the firebase message data on console for debut but it crash the app when receives the notification without any error in log console Dependencies: [CODE] my code in main.dart [CODE] flutter doctor: [CODE] Dependency in build.gradle [CODE] ...
android|flutter|flutter-dependencies
3
2020-02-11T20:53:45.823Z
2,020
2
20
1
474
0
560
81
3
4
true
true
false
false
false
false
low
60,177,372
Alternatives to Google Sign-in in new Huawei Devices(Without Google Play Services) for Google APIS(Drive and Sheets)
<p>I am very worried because the Huawei personal contact me and they explained that new phones do not will have Play Services Installed(Old news). The app in the I work currently uses differents Google Services: play-services-ads,play-services-auth,firebase-messaging,firebase-analytics, Crashlytics, Google Sheets, Goog...
I am very worried because the Huawei personal contact me and they explained that new phones do not will have Play Services Installed(Old news). The app in the I work currently uses differents Google Services: play-services-ads,play-services-auth,firebase-messaging,firebase-analytics, Crashlytics, Google Sheets, Google ...
android|google-drive-api|google-play-services|google-sheets-api|huawei-mobile-services
5
2020-02-11T21:06:43.440Z
2,020
2
21
1
1,169
1
615
116
5
1
true
false
false
false
false
false
low
60,177,737
Xamarin button falling off screen
<p>Perhaps a "stupid" question but I could not found the answer on google or I did not know the right search terms. But how to give a button specific location for all devices even when the screen is turned on it's side.</p> <p>Button on a location in the standing position.</p> <p><a href="https://i.stack.imgur.com/Am...
Perhaps a "stupid" question but I could not found the answer on google or I did not know the right search terms. But how to give a button specific location for all devices even when the screen is turned on it's side. Button on a location in the standing position. Button on a location in the sideway position. I hope thi...
android|xamarin|button
0
2020-02-11T21:36:25.403Z
2,020
2
21
1
339
1
525
33
3
1
true
false
false
false
false
false
zero
60,177,867
Why am I getting null values when using gson to parse a json object in android studio?
<p>I am reading in the following JSON and using GSON to convert it to an object which I can then use to access the properties of said object to help display the images in my app.</p> <p>However one of the field I want to use, imageURL, is returning null values. Looking at the json (link below) we can clearly see that ...
I am reading in the following JSON and using GSON to convert it to an object which I can then use to access the properties of said object to help display the images in my app. However one of the field I want to use, imageURL, is returning null values. Looking at the json (link below) we can clearly see that it is not n...
android|json|android-studio|gson
2
2020-02-11T21:47:56.097Z
2,020
2
21
1
494
1
786
86
4
2
true
false
false
false
false
false
low
60,177,928
Implementing SMS "Share my current location" in flutter
<p>In the messaging app on my android phone, I can share my location. When I share my location, it appears as a text message with a little map preview. The map preview is not a full, embedded map, i.e. you can't interact with it etc. If you click on it, it then opens the actual google maps app. Multiple location previe...
In the messaging app on my android phone, I can share my location. When I share my location, it appears as a text message with a little map preview. The map preview is not a full, embedded map, i.e. you can't interact with it etc. If you click on it, it then opens the actual google maps app. Multiple location previews ...
google-maps|flutter|mobile|sms|google-maps-android-api-2
1
2020-02-11T21:53:03.857Z
2,020
2
21
1
329
0
539
55
5
0
false
true
false
false
false
false
low
60,178,073
Fetch data with Repository Pattern after orientation change
<p>I have a question related to orientation change. In my application I use <code>MVP</code> + <code>Retrofit</code> + <code>RxKotlin</code> and <code>Repository pattern</code>. On app open data are downloaded from API through repository - everything is good. After I rotate device I wonder how should I fetch data with...
I have a question related to orientation change. In my application I use MVP + Retrofit + RxKotlin and Repository pattern . On app open data are downloaded from API through repository - everything is good. After I rotate device I wonder how should I fetch data without asking API again. Should I save data to DB after fi...
android|repository-pattern
0
2020-02-11T22:05:28.100Z
2,020
2
22
1
321
2
374
59
2
0
false
false
false
false
false
false
zero
60,178,193
How to retrieve values in the firebase realtime database
<p>I am struggling with retrieving data from the firebase. <a href="https://i.stack.imgur.com/C3Um5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C3Um5.png" alt="enter image description here"></a></p> <p>For example, I want to get the first record and get the username &amp; password. How can I get...
I am struggling with retrieving data from the firebase. For example, I want to get the first record and get the username & password. How can I get the "key" of the first record? Here is my code: [CODE] [CODE]
java|android|firebase|firebase-realtime-database
0
2020-02-11T22:15:22.717Z
2,020
2
22
1
29
1
208
56
4
2
true
false
false
false
false
false
zero
60,178,295
FileProvider crash XmlResourceParser and ProviderInfo.loadXmlMetaData on a null object reference
<p>I am very new to java and android studio. Im trying to open a pdf file once it has been download on android 10 API 29. When the file link is clicked on from the webview link it downloads fine however fails to open and the app crashes with these errors from the logcat. I have a feeling my code is completely botched a...
I am very new to java and android studio. Im trying to open a pdf file once it has been download on android 10 API 29. When the file link is clicked on from the webview link it downloads fine however fails to open and the app crashes with these errors from the logcat. I have a feeling my code is completely botched as i...
java|android|android-studio
0
2020-02-11T22:25:07.700Z
2,020
2
22
1
881
2
753
96
3
5
true
false
false
false
false
false
zero
60,178,334
How to write in firebase database from another project?
<p>There are 2 projects, one project is about a restaurant internal order management and the other is a food platform with multiple restaurants.</p> <p>I want write into the database of the restaurant from the food ordering app without connecting my app to the restaurant project.</p>
There are 2 projects, one project is about a restaurant internal order management and the other is a food platform with multiple restaurants. I want write into the database of the restaurant from the food ordering app without connecting my app to the restaurant project.
android|firebase|firebase-realtime-database|google-cloud-firestore
0
2020-02-11T22:28:59.393Z
2,020
2
22
1
276
1
270
55
4
0
false
false
false
false
false
false
zero
60,178,424
Getting "java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked." even with InstantTaskExecutor
<p>I am trying to unit test a ViewModel, with Livedata, and despite adding a JUnit5 Extension to my test class for an Instant Task Executor, I am getting:</p> <pre><code>java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details. at android.o...
I am trying to unit test a ViewModel, with Livedata, and despite adding a JUnit5 Extension to my test class for an Instant Task Executor, I am getting: [CODE] Where my unit test begins (including line in stack-trace): [CODE] And InstantTaskExecutorExtension.kt contains [CODE] Finally, the first few lines of the ViewMod...
kotlin|android-livedata|junit5|android-viewmodel|mockk
1
2020-02-11T22:37:08.070Z
2,020
2
22
1
322
0
493
121
5
4
true
true
false
false
false
false
low
60,178,746
Unresolved reference: DrawImage
<p>I'm trying call DrawImage() on my code, I'm following this tutorial <a href="https://developer.android.com/jetpack/compose/tutorial" rel="nofollow noreferrer">Jetpack Tutorial</a>,</p> <p>But I'm getting this error.:</p> <blockquote> <p>Unresolved reference: DrawImage</p> </blockquote> <p>I tried implement on b...
I'm trying call DrawImage() on my code, I'm following this tutorial Jetpack Tutorial , But I'm getting this error.: Unresolved reference: DrawImage I tried implement on build.gradle, this lib.: implementation 'androidx.ui:ui-foundation:0.1.0-dev04' But I getting this error.: Executing tasks: [clean, :app:assembleDebug]...
android|gradle|kotlin|intellij-idea|android-jetpack-compose
2
2020-02-11T23:12:27.720Z
2,020
2
23
1
1,319
3
11,529
31
5
0
false
false
false
false
false
false
low
60,178,755
Make specific parts of resizable image clickable in android app
<p>I have an image (imageview) of a giant remote control with many tiny buttons on it. Users want to click a button, but since it's small they zoom in the image so that it's easier to click one. I tried implementing it but I could only get it either to be resizable or to have clickable parts. In which ways can this be...
I have an image (imageview) of a giant remote control with many tiny buttons on it. Users want to click a button, but since it's small they zoom in the image so that it's easier to click one. I tried implementing it but I could only get it either to be resizable or to have clickable parts. In which ways can this be imp...
android|android-studio
0
2020-02-11T23:13:30.833Z
2,020
2
23
1
45
1
337
63
2
0
false
false
false
false
false
false
zero
60,178,943
Emulator sdcard size limitations
<p>It sounds excessive, but I actually need to load a file of size 1,595,514,880 bytes onto my Google Pixel emulator sdcard. Via Android Studio, I have upped my sdcard memory well past 2GB which would seem to be enough space. However, when I start up the emulated phone and try:</p> <p>adb push bigfile.tar /sdcard</p...
It sounds excessive, but I actually need to load a file of size 1,595,514,880 bytes onto my Google Pixel emulator sdcard. Via Android Studio, I have upped my sdcard memory well past 2GB which would seem to be enough space. However, when I start up the emulated phone and try: adb push bigfile.tar /sdcard it only copies ...
android|memory|emulation
2
2020-02-11T23:34:56.453Z
2,020
2
23
1
94
0
473
32
3
0
false
true
false
false
false
false
low
60,179,051
OpenJDK continues running after closing Android emulator
<h2>Problem</h2> <p>I am using VS Code to edit and run Android projects. The emulator will open and I see the program <code>OpenJDK Platform binary</code> start, followed by the program compiling and running. However, after closing the Android emulator and VS Code, OpenJDK continues to run.</p> <p><a href="https://...
Problem I am using VS Code to edit and run Android projects. The emulator will open and I see the program OpenJDK Platform binary start, followed by the program compiling and running. However, after closing the Android emulator and VS Code, OpenJDK continues to run. (Task manager after closing Emulator/VSC) Solution? I...
java|android|flutter|visual-studio-code
1
2020-02-11T23:46:09.543Z
2,020
2
23
1
1,720
2
716
56
4
0
false
false
false
false
false
false
low
60,179,090
mapFrag.getMapAsync() problems in a while loop
<p>I really need help for a problem I don´t know how to solve. I´m trying to make an application for my father, and I will work with Map. The problem is specific in a <code>mapFrag.getMapAsync()</code> inside a while loop.</p> <pre><code>@Override public void onResume(){ super.onResume(); new Thread(){ ...
I really need help for a problem I don´t know how to solve. I´m trying to make an application for my father, and I will work with Map. The problem is specific in a mapFrag.getMapAsync() inside a while loop. [CODE] while ( mapFrag.getMapAsync() , this line gets an error that says' [CODE] The OnMapReadyCallback was imple...
java|android|google-maps|maps|google-maps-android-api-2
0
2020-02-11T23:52:23.327Z
2,020
2
23
1
132
1
345
46
5
2
true
false
false
false
false
false
zero
60,179,174
is there any way to push the following file in adb using python scripting?
<pre><code>subprocess.call ('adb push \\C:\Dropbox\note\jsmpath.txt\ /sdcard/diag_logs \n',shell = True) </code></pre> <p>I am trying to push the following file but it showing up an error that I need arguments, I indeed have given the source and destination path any leads will be helpful</p> <p>Thanks a ton in advanc...
[CODE] I am trying to push the following file but it showing up an error that I need arguments, I indeed have given the source and destination path any leads will be helpful Thanks a ton in advance
python|android|python-2.7|subprocess|adb
0
2020-02-12T00:03:13.047Z
2,020
2
0
2
332
1
197
74
5
1
true
false
false
false
false
false
zero
60,179,210
Display Table info when picker item is selected
<p>I am still a beginner so bear with me.</p> <p>I am trying to change the displayed information (in an ActionSheet and on other pages) based on the selectedItem of a picker. Each item in the picker refers to a column on a table, and has its own row Id (set to autoIncrement). I am able to save (and display as needed) ...
I am still a beginner so bear with me. I am trying to change the displayed information (in an ActionSheet and on other pages) based on the selectedItem of a picker. Each item in the picker refers to a column on a table, and has its own row Id (set to autoIncrement). I am able to save (and display as needed) the current...
xamarin|data-binding|android-sqlite|picker
0
2020-02-12T00:07:18.500Z
2,020
2
0
2
78
1
1,223
47
4
7
true
false
false
false
false
false
zero
60,179,299
Writing files to publicly accessible documents folder in Android Q - Scoped Storage
<h1>Background</h1> <p>After migrating to Android Q I can no longer find a suitable way to gain write access to the documents folder (<code>/storage/emulated/0/Documents</code>)</p> <p>And before anyone mentions the many other questions on scoped storage I've read through many of them and from what I've seen so far a...
Background After migrating to Android Q I can no longer find a suitable way to gain write access to the documents folder ( /storage/emulated/0/Documents ) And before anyone mentions the many other questions on scoped storage I've read through many of them and from what I've seen so far all of the solutions use a app sp...
android|mediastore|android-10.0|scoped-storage
10
2020-02-12T00:18:19.183Z
2,020
2
0
2
4,249
2
1,918
83
4
0
false
false
true
false
true
false
medium
60,179,370
Cannot read property 'idToken' of undefined ionic Google android authentication
<p>This was previously working...for some reason I had to remove and re-add either my IOS or Android platform. At any rate, this is working for IOS but not Android.</p> <p>I've created an Ionic 4 app and I've implemented Google and Facebook authentication. They both work find on ios but for some reason I keep gettin...
This was previously working...for some reason I had to remove and re-add either my IOS or Android platform. At any rate, this is working for IOS but not Android. I've created an Ionic 4 app and I've implemented Google and Facebook authentication. They both work find on ios but for some reason I keep getting the below e...
android|firebase-authentication|ionic4|google-authentication
0
2020-02-12T00:29:20.103Z
2,020
2
0
2
602
0
926
79
4
2
true
true
false
false
false
false
zero
60,179,464
How to initialize a LiveData in a ViewModel without Transformations.map?
<p>In my Android project, I have a ViewModel class that performs a search in a Movie repository:</p> <pre><code>class MoviesViewModel(private val repository: TmdbRepository) : ViewModel() { private val queryLiveData = MutableLiveData&lt;String&gt;() private val moviesResult: LiveData&lt;MovieSearchResult&gt; =...
In my Android project, I have a ViewModel class that performs a search in a Movie repository: [CODE] Here is the code of the class MovieSearchResult : [CODE] The method repository.search(it) of MoviesViewModel accesses a Dao model that returns the following method: [CODE] In MoviesViewModel , the type of the variable m...
android|viewmodel|transformation|android-livedata
1
2020-02-12T00:40:43.807Z
2,020
2
0
2
546
1
1,133
72
4
4
true
false
false
false
false
false
low
60,179,513
Flutter: How can i improve that app performance?
<p>I want to know why that Flutter code is below 60 fps in some devices (Redmi Go, in that case, profiling mode, showing red bars in UI graph). Is there any way i could optimize it? I began to study Flutter yesterday so i want some tips to help me understand stateful widgets and widgets rendering hierarchy in general.<...
I want to know why that Flutter code is below 60 fps in some devices (Redmi Go, in that case, profiling mode, showing red bars in UI graph). Is there any way i could optimize it? I began to study Flutter yesterday so i want some tips to help me understand stateful widgets and widgets rendering hierarchy in general. Tha...
android|performance|flutter|mobile|dart
2
2020-02-12T00:46:01.157Z
2,020
2
0
2
4,536
1
379
48
5
2
true
false
true
false
false
false
low
60,179,529
Expo android createAlbumAsync does not function
<p>I'm currently running the following code:</p> <pre><code>async createPhotoAlbum(currentOrderId, imgAsset) { console.log(imgAsset); const albumCreated = await MediaLibrary.createAlbumAsync(currentOrderId, imgAsset, false); console.log(albumCreated); return albumCreated } </code></pre> <p>At albumCreated I ...
I'm currently running the following code: [CODE] At albumCreated I get the following error: [CODE] According to the documentation on Android the file has to be a file:/// I've confirmed this is the case imgAsset logs: [CODE] Any idea why I can't create an album on android? This works on iphone.
android|expo
1
2020-02-12T00:47:36.180Z
2,020
2
0
2
115
0
295
47
2
3
true
true
false
false
false
false
low
60,179,636
android:scaleType="centerInside" not respected in androidx ConstraintLayout?
<p>I have two identical constraint layouts except that one is <code>Android X</code>, the other is <code>support</code>.</p> <p>The Android X version does not seem to respect the scale attribute <code>android:scaleType="centerInside"</code>, as when I tilt the phone to landscape mode, the aspect ratio of the ImageView...
I have two identical constraint layouts except that one is Android X , the other is support . The Android X version does not seem to respect the scale attribute android:scaleType="centerInside" , as when I tilt the phone to landscape mode, the aspect ratio of the ImageView in not respected. support [CODE] androidx [COD...
android|android-constraintlayout|androidx
0
2020-02-12T01:01:14.450Z
2,020
2
1
2
93
1
388
76
3
2
true
false
false
false
false
false
zero
60,179,797
Completable.fromAction not executing the code in rjava2
<pre><code> Completable.fromAction(() -&gt; startRecording()) .subscribeOn(Schedulers.io()) .subscribe(() -&gt; { boolean startSuccess = mMediaRecorder.getState() == MediaRecorder.RECORDING_STATE; if (startSuccess) { updateView(); startRepeatingTask(); } },throwable...
[CODE] I am trying to execute code in background using Completable.fromAction but it is not executing the code if I use subscribeOn(Schedulers.io()). if I remove subscribeOn(Schedulers.io()), it is executing the code in main thread. I want to executing the code in background thread.
android|rx-java2
0
2020-02-12T01:26:22.097Z
2,020
2
1
2
805
2
283
55
2
1
true
false
false
false
false
false
zero
60,179,824
Firebase posts information incorrectly
<p>I am currently trying to figure out why my Android application is loading information incorrectly into Firebase. The application is posting the information outside of it's location. This is where the information should be:</p> <pre><code>DriversInformation -UE7cSOf5Thbum6OwEmg9seAPD463 rates: "0" </...
I am currently trying to figure out why my Android application is loading information incorrectly into Firebase. The application is posting the information outside of it's location. This is where the information should be: [CODE] But instead, "rates" loads outside like so: [CODE] In my code, I defined my reference as [...
java|android|firebase|firebase-realtime-database
1
2020-02-12T01:29:56.067Z
2,020
2
1
2
47
0
755
38
4
6
true
true
false
false
false
false
low
60,179,865
Reverse coding Android apk but music files obtained are not working
<p>I have converted the Android apk file to zip, then opened the assets folder and copied the music files from app, but when I go to play them I get error which says music files not supported. The music file is in MP3 and my music player is running absolutely fine.</p> <p>The link to apk file is this - <a href="https:...
I have converted the Android apk file to zip, then opened the assets folder and copied the music files from app, but when I go to play them I get error which says music files not supported. The music file is in MP3 and my music player is running absolutely fine. The link to apk file is this - https://apkpure.com/prajna...
android-studio|mp3|reverse-engineering
1
2020-02-12T01:35:44.043Z
2,020
2
1
2
76
0
621
67
3
0
false
true
false
false
false
false
low
60,180,176
Firebase push notifications is not triggering onMessageReceive on Android when the app is closed
<p>When I don't send the <strong>notification</strong> object in the JSON request to the Firebase API, the onMessageReceive is triggered normally and my notifications work as intended, but, when I use the <strong>notification</strong> or the <strong>android</strong> object in the JSON that I send as params the onMessag...
When I don't send the notification object in the JSON request to the Firebase API, the onMessageReceive is triggered normally and my notifications work as intended, but, when I use the notification or the android object in the JSON that I send as params the onMessageReceive is not triggered when the app is in backgroun...
android|firebase|firebase-cloud-messaging
1
2020-02-12T02:21:29.337Z
2,020
2
2
2
442
2
1,004
96
3
3
true
false
false
false
false
false
low
60,180,329
addListenerOnButton is not working in fragments in andriod studio
<p>This is the fragment code and I've tried various ways here to implement button listener, but none of them are working. I've tried addListenerOnbutton, OnClick method and also tried to use this code in mainactivity. But none of them actually worked.Any suggestion could help me a lot.</p> <pre><code> public class ...
This is the fragment code and I've tried various ways here to implement button listener, but none of them are working. I've tried addListenerOnbutton, OnClick method and also tried to use this code in mainactivity. But none of them actually worked.Any suggestion could help me a lot. [CODE]
java|android|tabs|onclicklistener|buttonclick
1
2020-02-12T02:44:12.183Z
2,020
2
2
2
79
1
290
65
5
1
true
false
false
false
false
false
low
60,180,347
Can't find all translatable strings in strings.xml - Android Studio
<p>I have a strange problem - in application source code I bought recently - there is strings.xml file inside Android Project files, off course, but...not all strings which are present within application are in strings.xml file, and I can't find them anywhere within app.</p> <p>So, I have full sentences within app, tr...
I have a strange problem - in application source code I bought recently - there is strings.xml file inside Android Project files, off course, but...not all strings which are present within application are in strings.xml file, and I can't find them anywhere within app. So, I have full sentences within app, tried even "d...
java|android|xml|kotlin
0
2020-02-12T02:46:17.570Z
2,020
2
2
2
362
2
719
67
4
1
true
false
false
false
false
false
zero
60,180,445
Custom AlertDialog error when click second time
<p>This is the code :</p> <pre><code>class Widgets_TextView : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.widgets_textview) val inflater = layoutInflater val dialogView = inflater.inflate(R.l...
This is the code : [CODE] When clicked first, it goes well , though, when clicked second, it gives error. This is the error: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. What should I do?
android|android-alertdialog
0
2020-02-12T02:59:11.380Z
2,020
2
2
2
53
2
273
47
2
1
true
false
false
false
false
false
zero
60,180,477
List view is not showing data from backendless db
<p>I am building a contact application in android studio. all other things like login, register are working in the application. I am not getting my data from the backendless database in the listview of the android studio. but my activity is running and to crashes are there in-app. can anyone help?</p> <p><strong>view_...
I am building a contact application in android studio. all other things like login, register are working in the application. I am not getting my data from the backendless database in the listview of the android studio. but my activity is running and to crashes are there in-app. can anyone help? view_contacts.java [CODE...
java|android-studio|arraylist|backendless
0
2020-02-12T03:02:23.910Z
2,020
2
3
2
57
1
393
49
4
4
true
false
false
false
false
false
zero
60,180,675
Troubleshooting Android R8 Build
<p>I need help figuring out the issue when building my app with R8. I have a service that performs a job and then terminates. However when I use R8 instead of Proguard, the service never terminates. The only way to make the R8 build work is to leave in the android.util.Log class, specifically comment out the bit:</p...
I need help figuring out the issue when building my app with R8. I have a service that performs a job and then terminates. However when I use R8 instead of Proguard, the service never terminates. The only way to make the R8 build work is to leave in the android.util.Log class, specifically comment out the bit: [CODE] C...
android|android-r8
1
2020-02-12T03:30:00.363Z
2,020
2
3
2
657
1
494
32
2
1
true
false
false
false
false
false
low
60,180,704
How to get the response body and how to set the request body with HttpURLConnection class?
<p>I am using c# and Xamarin.Android.<br> My question may not be very standard,because it doesn't have any code.But I just want to know what's the HttpURLConnection class provides.<br> As everyone knows, an http/https request has request header, request body, response header, and response body.<br> But I think HttpURLC...
I am using c# and Xamarin.Android. My question may not be very standard,because it doesn't have any code.But I just want to know what's the HttpURLConnection class provides. As everyone knows, an http/https request has request header, request body, response header, and response body. But I think HttpURLConnection class...
c#|android|xamarin
1
2020-02-12T03:33:46.317Z
2,020
2
3
2
405
1
1,098
90
3
0
false
false
false
false
false
false
low
60,180,723
Properly send value through many intents
<p>I have tried all the good ole fashion ways of sending data through intents such as getExtra and putExtra. However, this certain piece of information will not travel through intents. The variable is initialized here (driverId):</p> <pre><code> private void findDriver() { DatabaseReference drivers = Firebas...
I have tried all the good ole fashion ways of sending data through intents such as getExtra and putExtra. However, this certain piece of information will not travel through intents. The variable is initialized here (driverId): [CODE] I then send the information for driverId when a button is clicked here: [CODE] I then ...
java|android
1
2020-02-12T03:35:43.367Z
2,020
2
3
2
60
1
622
40
2
4
true
false
false
false
false
false
low
60,180,890
Need basic encryption understanding from existing Android code
<p>I am new in Android and I have started to working on existing project which have some encryption algorithm,</p> <p>Below is existing code</p> <pre><code> var secureRandom = SecureRandom() var masterKey = ByteArray(32) secureRandom.nextBytes(masterKey) var keyGen = KeyPairGenerator.getInstance("RSA"...
I am new in Android and I have started to working on existing project which have some encryption algorithm, Below is existing code [CODE] Can anyone help me how to resolve this issue, I am totally new in this encryption fields, anyone suggest me from where I can get deeper understanding on cryptography, from above code...
android|kotlin|cryptography|bouncycastle|spongycastle
1
2020-02-12T03:57:00.270Z
2,020
2
3
2
131
1
699
62
5
2
true
false
false
false
false
false
low
60,181,107
How do I serialize an NLP classification PyTorch model
<p>I am attempting to use a new NLP model within the PyTorch android demo app <a href="https://github.com/pytorch/android-demo-app/tree/master/PyTorchDemoApp" rel="nofollow noreferrer">Demo App Git</a> however I am struggling to serialize the model so that it works with Android.</p> <p>The demonstration given by PyTor...
I am attempting to use a new NLP model within the PyTorch android demo app Demo App Git however I am struggling to serialize the model so that it works with Android. The demonstration given by PyTorch is as follows for a Resnet model: [CODE] However I am not sure what to use for the 'example' input with my NLP model. T...
android|pytorch|fast-ai|torchscript
0
2020-02-12T04:23:50.987Z
2,020
2
4
2
259
1
551
54
4
2
true
false
false
false
false
false
zero
60,181,165
How to convert christian year to thai year in Java?
<p>Now I get value of date time from JSON like this <code>"end_datetime": "2020-12-31 20:08:00"</code></p> <p>but I want to convert year from 2020 > 2563 when I get value in <code>Textview</code>.</p> <p>sorry, I am not good in english.</p>
Now I get value of date time from JSON like this "end_datetime": "2020-12-31 20:08:00" but I want to convert year from 2020 > 2563 when I get value in Textview . sorry, I am not good in english.
java|android
1
2020-02-12T04:29:05.740Z
2,020
2
4
2
893
1
194
51
2
0
false
false
false
false
false
false
low
60,181,182
Google Places api is not showing
<p>I am trying to add <code>places autocomplete</code> to my app, and hence trying to create a key. I already have a key for Google Maps. But with places, while it is showing that the api is enabled, the key is not available.</p> <p>What I am doing wrong here?</p> <p><a href="https://i.stack.imgur.com/pJO3K.png" rel=...
I am trying to add places autocomplete to my app, and hence trying to create a key. I already have a key for Google Maps. But with places, while it is showing that the api is enabled, the key is not available. What I am doing wrong here?
android|google-api
0
2020-02-12T04:30:21.513Z
2,020
2
4
2
98
1
237
32
2
0
false
false
false
false
false
false
zero
60,181,204
Added layouts folder but not appear in Android Studio
<p>I follow this <a href="https://medium.com/mindorks/how-to-put-android-layout-files-in-subfolders-1f7cf07ff48f" rel="nofollow noreferrer">tutorial</a>. However, the layouts folder does not appear in my Android Studio although I have specified it with it's subfolders in gradle:</p> <p><a href="https://i.stack.imgur.c...
I follow this tutorial . However, the layouts folder does not appear in my Android Studio although I have specified it with it's subfolders in gradle: [CODE] What did I do wrong?
android|android-studio
-1
2020-02-12T04:33:38.830Z
2,020
2
4
2
50
1
178
53
2
1
true
false
false
false
false
true
negative
60,181,232
How to get Firebase users by Google Play Store account used to download the app?
<p>I'm developing an Android app where the owner of the app (Google Play Store account) can sign in using Google sign-in and Email/Password options offered by Firebase Authentication.</p> <p>Let's first consider the following scenario:</p> <ol> <li>User downloads the app with Google Play Store account having email: u...
I'm developing an Android app where the owner of the app (Google Play Store account) can sign in using Google sign-in and Email/Password options offered by Firebase Authentication. Let's first consider the following scenario: User downloads the app with Google Play Store account having email: user123@gmail.com User sig...
android|firebase|firebase-authentication|google-signin
0
2020-02-12T04:38:10.867Z
2,020
2
4
2
358
1
1,178
80
4
0
false
false
false
false
false
false
zero
60,181,245
Recyclerview list to server
<p>I have created a Project in which i have 3 edit text and one button. On button Click it add my data to Recyclerview successfully and it's working fine.</p> <p>Now i want to post the recyclerview data to server using volley Post method can any one help me out how can i do it i just need a idea how to send data of re...
I have created a Project in which i have 3 edit text and one button. On button Click it add my data to Recyclerview successfully and it's working fine. Now i want to post the recyclerview data to server using volley Post method can any one help me out how can i do it i just need a idea how to send data of recyclerview(...
android|android-recyclerview
2
2020-02-12T04:39:25.397Z
2,020
2
4
2
139
2
665
27
2
4
true
false
false
false
false
false
low
60,181,385
React native android Task :app:transformClassesWithMultidexlistForRelease FAILED
<p>I am trying to create an release apk for the app and getting the following error <code>Task:app:transformClassesWithMultidexlistForRelease FAILED</code> Sometimes it shows <code>Expiring Daemon because JVM heap space is exhausted</code> but i have set JVM memory to maximum in android studio </p> <p><strong>The prob...
I am trying to create an release apk for the app and getting the following error Task:app:transformClassesWithMultidexlistForRelease FAILED Sometimes it shows Expiring Daemon because JVM heap space is exhausted but i have set JVM memory to maximum in android studio The problem did not persist earlier i have created mul...
android|gradle|build.gradle|react-native
0
2020-02-12T04:55:13.240Z
2,020
2
4
2
188
1
600
80
4
2
true
false
false
false
false
false
zero
60,181,470
Android Emulator did not show other available WIFI signal
<p>I tried to connect my other local wifi to android emulator but it doesn't show any wifi signal</p>
I tried to connect my other local wifi to android emulator but it doesn't show any wifi signal
java|android|android-studio|android-emulator|adb
-3
2020-02-12T05:06:12.703Z
2,020
2
5
2
69
1
94
57
5
0
false
false
false
false
false
true
negative
60,181,482
Consuming purchase results in a null object reference
<p>Billing flow launches successfully, and I receive the purchase receipt email. <br /> However the fatal error occurs when <code>client.consumeAsync(consumeParams,consumeResponseListener);</code> is called. <br>This is problematic because it means the purchase has not been consumed and can't be purchased again.</p> <...
Billing flow launches successfully, and I receive the purchase receipt email. However the fatal error occurs when client.consumeAsync(consumeParams,consumeResponseListener); is called. This is problematic because it means the purchase has not been consumed and can't be purchased again. Button click: [CODE] setupBilling...
android|in-app-billing|android-billing|play-billing-library
0
2020-02-12T05:07:45.070Z
2,020
2
5
2
662
0
462
53
4
5
true
true
false
false
false
false
zero
60,181,582
Textview with global variable
<p>I simply called the global variable on the Textview object and printed it out, but I got the following error</p> <p>How can I run the following code normally?</p> <p>p.s.textread_buf is global variable.</p> <hr> <p>logcat</p> <p>E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.sentence_app, PID:...
I simply called the global variable on the Textview object and printed it out, but I got the following error How can I run the following code normally? p.s.textread_buf is global variable. logcat E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.sentence_app, PID: 26177 [CODE] //error code [CODE] //textread....
java|android|nullpointerexception
0
2020-02-12T05:18:15.103Z
2,020
2
5
2
219
3
332
29
3
3
true
false
false
false
false
false
zero
60,181,786
How to prevent Android Mock Location in PWA application?
<p>In PWA, we can get device's current position with W3C geolocation API. It is easy.</p> <pre><code> if (!navigator.geolocation) { status.textContent = 'Geolocation is not supported by your browser'; } else { status.textContent = 'Locating…'; navigator.geolocation.getCurrentPosition(success, error); ...
In PWA, we can get device's current position with W3C geolocation API. It is easy. [CODE] But, in Android, W3C location API is affected by user's mock location setting. So user easily able to spoof there current position. Are there any way to prevent mock location setting in PWA?
android|geolocation|progressive-web-apps|mock-location
1
2020-02-12T05:37:08.093Z
2,020
2
5
2
1,088
3
280
56
4
1
true
false
false
false
false
false
low
60,181,824
How can i get Realtime Data from API using Retrofit android
<p>Hello Guys I am trying to realtime get data when change data in API automatic referesh my layout and updated data show it. How can i do that?</p> <p>Here is my Code :-</p> <p><strong>I use this Dependencies :-</strong></p> <pre><code> // retrofit, gson implementation 'com.google.code.gson:gson:2.8.5' implementati...
Hello Guys I am trying to realtime get data when change data in API automatic referesh my layout and updated data show it. How can i do that? Here is my Code :- I use this Dependencies :- [CODE] Here is my API interface method :- [CODE] And this my ApiClient :- [CODE] } And This is my API call Method Where i get Data i...
android|android-recyclerview|retrofit|real-time
2
2020-02-12T05:40:33.667Z
2,020
2
5
2
1,956
2
338
59
4
4
true
false
false
false
false
false
low
60,181,850
How to implement duplicated inner class?
<p>Data Hierarchy is :</p> <ol> <li>Place <ul> <li>id</li> <li>name</li> <li>images <ul> <li>original_image <ul> <li>id</li> <li>image_url</li> <li>width</li> <li>height</li> </ul> </li> <li>thumbnail_image <ul> <li>id</li> <li>image_url</li> <li>width</li> <li>height</li> </ul> </li> </ul> </li> </ul> </li> </ol> <p>T...
Data Hierarchy is : Place id name images original_image id image_url width height thumbnail_image id image_url width height The original_image equals with thumbnail_image. My Place class is [CODE] My Images class is [CODE] My Image class is [CODE] When I compiled this project, room library returns error error: Cannot f...
android|kotlin|android-room
0
2020-02-12T05:42:50.673Z
2,020
2
5
2
674
3
782
40
3
3
true
false
false
false
false
false
zero
60,181,855
How to generate one object using multiple objects in ARCore?
<p>Does anyone know how to generate single object using multiple objects in ARCore?</p> <p>for example, generate a table using table parts like legs etc.</p> <p>In fact, i have no idea whether it's possible or not.</p> <p>is it possible to do this in runtime?</p>
Does anyone know how to generate single object using multiple objects in ARCore? for example, generate a table using table parts like legs etc. In fact, i have no idea whether it's possible or not. is it possible to do this in runtime?
android|unity3d|augmented-reality|arcore|sceneform
1
2020-02-12T05:43:06.430Z
2,020
2
5
2
535
1
235
60
5
0
false
false
false
false
false
false
low
60,181,875
Getting SplitInstallErrorCode.MODULE_UNAVAILABLE for dynamic module
<p>I am getting the following error <code>SplitInstallErrorCode.MODULE_UNAVAILABLE</code> trying to install a dynamic module. I am already using Google play internal app sharing to test the <code>aab</code> file but still getting it. </p> <p>Here is the dynamic feature manifest file:</p> <pre><code> &lt;dist:module ...
I am getting the following error SplitInstallErrorCode.MODULE_UNAVAILABLE trying to install a dynamic module. I am already using Google play internal app sharing to test the aab file but still getting it. Here is the dynamic feature manifest file: [CODE] Here is how I'm starting the download: [CODE] How can I solve thi...
android|android-app-bundle|dynamic-feature|dynamic-delivery
0
2020-02-12T05:45:01.983Z
2,020
2
5
2
291
1
328
67
4
2
true
false
false
false
false
false
zero
60,181,983
Implementing FCM in android app and got dupilcation errors
<p>I making the android app, in my app i implement the FCM, if i add the FCM libraries then i got the duplication errors my libraries is:</p> <blockquote> <pre><code>implementation 'com.google.firebase:firebase-core:16.0.5' implementation 'com.google.firebase:firebase-messaging:17.3.4' implementation 'org.jet...
I making the android app, in my app i implement the FCM, if i add the FCM libraries then i got the duplication errors my libraries is: [CODE] (com.google.firebase:firebase-analytics:16.0.5) and play-services-measurement-base-17.1.0-runtime.jar (com.google.android.gms:play-services-measurement-base:17.1.0) Duplicate cla...
java|android|push-notification
0
2020-02-12T05:55:25.390Z
2,020
2
5
2
260
1
7,396
58
3
2
true
false
false
false
false
false
zero
60,181,996
How to return the status code in parseNetworkResponse in Android?
<p>How can i return the status code of my api? </p> <p>i know that the status code is generating in the parseNetworkResponse but i am using the parseNetworkResponse for the saving of cache, how can i still return the status code? is there other way to do this by using volley?</p> <p>here is my code.</p> <pre><code>i...
How can i return the status code of my api? i know that the status code is generating in the parseNetworkResponse but i am using the parseNetworkResponse for the saving of cache, how can i still return the status code? is there other way to do this by using volley? here is my code. [CODE] this is working, but i still n...
java|android|android-volley
0
2020-02-12T05:56:43.200Z
2,020
2
5
2
78
0
394
65
3
1
true
true
false
false
false
false
zero
60,182,003
Why My SVG Icon Size so larg In EditText Drawable In Android?
<p>when I make SVG file in victor asset and make it as drawable for editText it looks Too Large, I saw many videos they create new victor asset and choose the "SVG" file and it makes it as "XML" file and I make drawableStart For EditText but it Too Large not Like The Videos I make all Steps but it always Fails.</p> <...
when I make SVG file in victor asset and make it as drawable for editText it looks Too Large, I saw many videos they create new victor asset and choose the "SVG" file and it makes it as "XML" file and I make drawableStart For EditText but it Too Large not Like The Videos I make all Steps but it always Fails. This is wh...
android|svg|android-edittext
0
2020-02-12T05:57:14.360Z
2,020
2
5
2
1,005
2
355
61
3
2
true
false
false
false
false
false
zero
60,182,058
Pick First mobile number automatically HintRequest android
<p>I want to pick first phone number automatically from HintRequest android.</p> <p>Is there any possible solution for it?</p> <p>is there any solution, user cannot dismiss the HintRequest Dialog without selecting at least one mobile number?</p> <p><a href="https://i.stack.imgur.com/WNezW.png" rel="nofollow noreferr...
I want to pick first phone number automatically from HintRequest android. Is there any possible solution for it? is there any solution, user cannot dismiss the HintRequest Dialog without selecting at least one mobile number?
java|android|android-pendingintent
0
2020-02-12T06:02:48.280Z
2,020
2
6
2
1,038
1
224
58
3
0
false
false
false
false
false
false
zero
60,182,114
How to pair BLE without BT Classic(BR) between Android and Windows 10
<p>Between Android P and Windows 10 1903, I tried to pair them. Android P Phone is a Client(BLE Master) and Windows 10 laptop is a server(BLE Slave) broadcasting itself.</p> <p>In Android P default bluetooth setting menu panel, it automatically scans and shows the scanned BT/BLE list. The Laptop default BT Classic adv...
Between Android P and Windows 10 1903, I tried to pair them. Android P Phone is a Client(BLE Master) and Windows 10 laptop is a server(BLE Slave) broadcasting itself. In Android P default bluetooth setting menu panel, it automatically scans and shows the scanned BT/BLE list. The Laptop default BT Classic advertiser and...
android|bluetooth|windows-10|bluetooth-lowenergy
1
2020-02-12T06:09:01.757Z
2,020
2
6
2
91
0
1,117
69
4
0
false
true
false
false
false
false
low
60,182,192
Updated AndroidStudio(3.5.3) not building Android Project, Caused by: org.gradle.api.resources.ResourceException:Unable to load Maven meta-data
<p>Updated Android Studio not building Android Project, before it was building. I have checked with Proxy settings still it is getting same Below are the exceptions after rebuilding the Android Project.</p> <pre><code> org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'Gsa2_N...
Updated Android Studio not building Android Project, before it was building. I have checked with Proxy settings still it is getting same Below are the exceptions after rebuilding the Android Project. [CODE] Below is the app gradle file. [CODE] Below is the Project build gradle file [CODE] I have checked online, but non...
android|android-studio|build.gradle
3
2020-02-12T06:15:27.537Z
2,020
2
6
2
2,864
2
455
143
3
3
true
false
true
false
false
false
low
60,182,338
Selecting video from Google Photos provider doesn't give mimetype information
<p>I've created a sample <a href="https://github.com/ShivamPokhriyal/BuggyGooglePhotos" rel="noreferrer">here</a> to reproduce this issue. I'm running this project on an emulator with API level 29 and selecting a video from google photos provider. <strong>But I cannot figure out how to get the mimeType of the selecte...
I've created a sample here to reproduce this issue. I'm running this project on an emulator with API level 29 and selecting a video from google photos provider. But I cannot figure out how to get the mimeType of the selected file. I've used ContentResolver's getType method which returns null and also ContentResolver qu...
android|mime-types|google-photos|google-photos-api
6
2020-02-12T06:27:18.950Z
2,020
2
6
2
387
2
833
77
4
2
true
false
false
false
false
false
medium
60,182,376
How to start an activity from BroadcastReceiver's onReceive() method when app is in background?
<p>I want to start an activity from the <code>onReceive()</code> method of the BroadcastReceiver. This is the code i am using: </p> <pre><code>class TimeReminderReceiver : BroadcastReceiver() { override fun onReceive(p0: Context?, p1: Intent?) { println("RECEIVED") val i = Intent(p0!!, TimeRemi...
I want to start an activity from the onReceive() method of the BroadcastReceiver. This is the code i am using: [CODE] There are many answers for this question in stackoverflow, i tried all of it and none of it is working for me. The app just prints RECEIVED and stays there. Nothing shows at the logcat, no exception, no...
android|kotlin|broadcastreceiver
2
2020-02-12T06:29:29.260Z
2,020
2
6
2
3,933
1
459
95
3
3
true
false
true
false
false
false
low
60,182,377
to save data of two or more recycler view on one activity in android
<p>In an activity adding listing view on button click.</p> <p>In the main view on saving click, I need to save all listing data same time.</p> <p>this is my main view where adding the list</p> <pre><code> &lt;layout xmlns:tools="http://schemas.android.com/tools"&gt; &lt;LinearLayout android:...
In an activity adding listing view on button click. In the main view on saving click, I need to save all listing data same time. this is my main view where adding the list [CODE] And this is my listing view which I can add on button click maximum 5 views and now I need to save all listing data which added in the main v...
android|android-recyclerview
0
2020-02-12T06:29:37.970Z
2,020
2
6
2
36
0
342
68
2
2
true
true
false
false
false
false
zero
60,182,380
MaterialCardView crashes with material:1.1.0
<p>I am using MaterialCardView as my <code>cardview</code> layout. Now, Android-studio started showing me that instead of current <code>implementation "com.google.android.material:material:1.0.0"</code>, I should update to <code>1.1.0</code></p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/ap...
I am using MaterialCardView as my cardview layout. Now, Android-studio started showing me that instead of current implementation "com.google.android.material:material:1.0.0" , I should update to 1.1.0 [CODE] with 1.1.0, I am getting crash Error inflating class com.google.android.material.card.MaterialCardView So, I hav...
android|android-layout|android-cardview|material-components-android|material-components
36
2020-02-12T06:29:42.960Z
2,020
2
6
2
23,990
10
792
44
5
3
true
false
true
true
true
false
high
60,182,427
keyboard doesn't hide on back arrow click on Autocomplete(GooglePlacesPicker)
<p><a href="https://i.stack.imgur.com/OReDC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OReDC.png" alt="enter image description here"></a> </p> <pre><code>List&lt;Place.Field&gt; fields = Arrays.asList(Place.Field.ID, Place.Field.LAT_LNG, Place.Field.ADDRESS, Place.Field.NAME); // Start ...
[CODE] The above code opens GooglePlacesPicker where we can search place. Tapping back arrow should close keyboard. but it doesn't. I tried below method to close keyboard [CODE] but didn't worked. kindly help
android|google-places-api|android-softkeyboard|googleplacesautocomplete|google-place-picker
0
2020-02-12T06:34:33.760Z
2,020
2
6
2
454
1
208
77
5
2
true
false
false
false
false
false
zero
60,182,460
how to handle there is not installed twitter on your device exception when we are trying to login with twitter in flutter
<p>I'm trying o create a flutter application. and I have success working with login with Facebook and Twitter. there is a problem while I'm trying to login with Twitter. My device has not been installed on the twitter application and I'm facing the problem for null value assign. Have anyone maid a solution for the issu...
I'm trying o create a flutter application. and I have success working with login with Facebook and Twitter. there is a problem while I'm trying to login with Twitter. My device has not been installed on the twitter application and I'm facing the problem for null value assign. Have anyone maid a solution for the issue. ...
android|ios|flutter|twitter|twitter-oauth
1
2020-02-12T06:37:15.450Z
2,020
2
6
2
84
1
326
121
5
1
true
false
false
false
false
false
low
60,182,461
Error: java.net.UnknownHostException: Unable to resolve host "api.themoviedb.org
<p>Edit: The emulator didn't have internet :/ if you're having this problem try going to the AVD manager and wiping the emulator. </p> <p>My code was working before I added the adapter but I've triple checked it and my asynhttprequest still isn't working (before it was returning a status code of 200 and the results an...
Edit: The emulator didn't have internet :/ if you're having this problem try going to the AVD manager and wiping the emulator. My code was working before I added the adapter but I've triple checked it and my asynhttprequest still isn't working (before it was returning a status code of 200 and the results and movies var...
java|android
0
2020-02-12T06:37:24.390Z
2,020
2
6
2
692
1
546
80
2
5
true
false
false
false
false
false
zero
60,182,558
How to override in Kotiln Volley JsonObjectRequest class?
<p>I'm writing a Kotlin app that has a class. I need that class to extend JsonObjectRequest, since I need to override the function </p> <pre><code>override fun parseNetworkResponse(response: NetworkResponse?): Response&lt;T&gt; </code></pre> <p>That's because I need to interpret in Kotlin the HTTP response code the s...
I'm writing a Kotlin app that has a class. I need that class to extend JsonObjectRequest, since I need to override the function [CODE] That's because I need to interpret in Kotlin the HTTP response code the server is sending. However, I admit to being new to Kotlin and haven't managed to figure out how to extend the Js...
kotlin|android-volley
0
2020-02-12T06:44:24.043Z
2,020
2
6
2
240
1
430
57
2
1
true
false
false
false
false
false
zero
60,182,630
Issue with android softkeyboard when typing onto texarea inside webview
<p>i have designed a chat app with android webview which has a textarea and a button.The purpose of button is to send the input text like u see in whatsapp.The problem with my app is that when i click on the send button or outside the textarea, anywhere on webview the soft-keyboard automatically hides quickly and it r...
i have designed a chat app with android webview which has a textarea and a button.The purpose of button is to send the input text like u see in whatsapp.The problem with my app is that when i click on the send button or outside the textarea, anywhere on webview the soft-keyboard automatically hides quickly and it reapp...
android|webview|soft-keyboard
0
2020-02-12T06:50:08.210Z
2,020
2
6
2
247
1
522
71
3
0
false
false
false
false
false
false
zero
60,182,701
How to get the new Size of a ViewGroup when its children change visibility?
<p>I have a <code>ConstraintLayout</code>. Give a set of condition the <code>ConstraintLayout</code> children changes visibility and so the <code>ConstraintLayout</code> also change size overtime. I want to animate this size changes but I don't know how to get the new height of the <code>ConstraintLayout</code> when a ...
I have a ConstraintLayout . Give a set of condition the ConstraintLayout children changes visibility and so the ConstraintLayout also change size overtime. I want to animate this size changes but I don't know how to get the new height of the ConstraintLayout when a child (or any number of them) changes visibility? I tr...
android|animation|android-animation
1
2020-02-12T06:56:05.603Z
2,020
2
6
2
31
0
419
75
3
0
false
true
false
false
false
false
low
60,182,928
I am developing an Android app with ArcGIS offline map support. For that which one I have to use? MPK or MMPK package? How to download it?
<p>I am developing an Android app with <strong>ArcGIS offline map</strong> support. To work with an offline map in android what I have to download? <strong>MPK</strong> or <strong>MMPK</strong>? By which tool I can generate the corresponding package? Does anyone have previous experience on the same? I am using <em>com....
I am developing an Android app with ArcGIS offline map support. To work with an offline map in android what I have to download? MPK or MMPK ? By which tool I can generate the corresponding package? Does anyone have previous experience on the same? I am using com.esri.arcgisruntime:arcgis-android:100.7.0 dependancy. The...
android|arcgis-runtime|esri-maps|arcgis-android-api
0
2020-02-12T07:11:35.023Z
2,020
2
7
2
345
1
464
138
4
0
false
false
false
false
false
false
zero
60,183,106
Room, Boolean and kotlin interface lead to ambiguous getter error
<p>Having following interface and class:</p> <pre><code>interface IUserCreated { val userCreated: Boolean } @Entity data class Test( @PrimaryKey @ColumnInfo(name = "test_id") var id: Long, @ColumnInfo(name = "user_created") override val userCreated: Boolean ) : IUserCreated </code></pre> <p>Thi...
Having following interface and class: [CODE] This leads to following error: [CODE] Question How can I use the @Ignore annotation in this example? The userCreated boolean field is part of the entity, I just want to ignore the unused getUserCreated and tell room that it should use the default kotlin getter function isUse...
kotlin|android-room
2
2020-02-12T07:23:22.963Z
2,020
2
7
2
132
0
588
65
2
3
true
true
false
false
false
false
low
60,183,232
Unable to copy file to different location using file picker
<p>I am trying to implement a button for browsing the file and copying it to 'downloads' folder. I used <a href="https://stackoverflow.com/questions/30789116/implementing-a-file-picker-in-android-and-copying-the-selected-file-to-another-l">this</a> solution to do so. Please see my code here:</p> <pre><code>public void...
I am trying to implement a button for browsing the file and copying it to 'downloads' folder. I used this solution to do so. Please see my code here: [CODE] I am using a copy function as mentioned in the solution to copy the file to destination folder as below: [CODE] I tried many other solutions given but I am still g...
android|android-file|filepicker
0
2020-02-12T07:32:46.437Z
2,020
2
7
2
160
1
966
59
3
3
true
false
false
false
false
false
zero