Posts by pedrofsn • 103 points
11 posts
-
0
votes1
answer184
viewsA: How to resolve this error when using Room Persistence Library with Kotlin?
@ramaral solved the mystery! If you Previously used the Android support for Annotation Processors, replace usages of the annotationProcessor Configuration with Kapt. If your project contains Java…
-
0
votes1
answer184
viewsQ: How to resolve this error when using Room Persistence Library with Kotlin?
When I send run the app, I get a crash like this on the first call to the database: java.lang.RuntimeException: Unable to start activity ComponentInfo{.../....ActivityLogin}:…
-
2
votes0
answers457
viewsQ: How do I process a JSON in the event of a request-Promise failure?
I have 2 Microservices, one in Nodejs and the other in Spring. Nodejs contains the domain of events (parties, birthdays etc) and Java the domain of users. When viewing Nodejs event endpoints, I also…
-
0
votes2
answers92
viewsQ: In firebase, how do you read the value of the users' "Created in" metadata?
I intend to get the date of creation of the user registration in the application, to compute a trial period. I thought about creating a Function cloud to feed a variable with this value, which would…
-
1
votes1
answer86
viewsA: I cannot create a new Activity
If you are including support v4 e bibliotecas AppCompat v7 in your application, you must specify a minimum version SDK de 7 (and not 4). The highest level of the support library you include in your…
-
1
votes1
answer652
viewsA: Listview displays only one line, why?
It’s because you’re using a listview inside a scrollview. Listview already has a scrollview internally, so in practice it has a lot of scroll inside the other. I recommend redoing the layout, but if…
-
0
votes1
answer219
viewsA: User Resize photo in Imageview
You can do this with the library Simplecropview…
-
1
votes3
answers1859
viewsA: How to get the serial number (not the IMEI) of iOS and Android devices?
Solution for Android. In Delphi I have no idea, but you can search the native classes of android, as if it were in Java (I believe) and try to do something similar. In java:…
-
1
votes1
answer184
viewsA: How to create "dynamic" blocks?
I found some libraries that can help you. http://blahti.wordpress.com/2013/03/04/drag-drop-for-gridview-v4/ https://stackoverflow.com/a/11431768/1565769 https://github.com/askerov/DynamicGrid…
-
3
votes1
answer208
viewsQ: What are the differences between <MERGE> and <INCLUDE>?
I usually work with INCLUDE, but I never understood MERGE. What are its uses and advantages?
-
0
votes3
answers2371
viewsA: Create a button in a Listview
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout…