Posts by Thiago • 393 points
22 posts
-
0
votes1
answer69
viewsQ: Error accessing end-point using restsharp
I have an API (.NET Framework 4.8) that communicates with another layer (.NET Framework 4.0) where I have developed a method that persists an information in the database, and at the end triggers…
-
1
votes1
answer311
viewsQ: Error implementing Room Persistence Library + Kotlin
When trying to run an application developed in Kotlin with ROOM Persistence Library I have the following return: java.lang.Runtimeexception: cannot find implementation for…
-
0
votes1
answer363
viewsQ: Error while building on IONIC 3
I am coding an application in IONIC 3 and while trying to perform the command ionic cordova run android (In order to be able to debug the application in my cell phone) the following error occurs:…
-
1
votes1
answer890
viewsQ: Create Database without Migration in Entity Framework Core
I am developing a study application in Entity Framework Core, and saw that through code-first it is possible to generate the database using the add-on commandMigration, but I wonder if there is any…
-
0
votes1
answer184
viewsQ: EF Core Complex Object Insertion with Webapi
I am developing a Webapi (.NET) application with Entityframework Core. I implemented the following entities: Pais.Cs public class Pais { [Key] public int Id { get; set; } [MaxLength(100), Required]…
-
1
votes1
answer416
viewsQ: Adding JSF in java project
I created a Maven project in Intellij IDEA 2016.2, defined it as a Web Application, and later installed JSF. Before installing the JSF the framework added the index.jsp file, which works normally,…
-
0
votes0
answers360
viewsQ: Persistence.xml file does not find class of the Provider tag
I’m creating a JPA + Maven Hibernate project. I put the required statements in pom.xml, and the project downloaded the Hibernate dependencies, but when configuring the Provider tag of the…
-
1
votes1
answer164
viewsQ: When running PUT method on Grails application system inserts new record instead of updating
When trying to run JSON below via PUT method in a Grails application the system inserts a new record. Urlmappings.groovy class UrlMappings { static mappings = {…
-
1
votes1
answer6018
viewsQ: How to make a POST using the Httpurlconnection class of Android?
I need to send a JSON generated in the application Android for a web application. Using the class HttpUrlConnection I did the following encoding: private void sendPost(String url, String postParams)…
-
4
votes1
answer799
viewsQ: How to create POST, PUT and DELETE method in Grails application?
I have a Grails 2.4.2 application that I want to communicate with another application, and this interaction should occur through a Rest service provided by Grails. Today as it is implemented just I…
-
1
votes1
answer193
viewsQ: Android Toolbar occupying all layout space
I’m trying to carry out the implementation of a Toolbar in my Android application, but for some reason it takes up all screen space. I wonder why, since I am using the Below property in the layout…
-
3
votes1
answer930
viewsA: How to authenticate on site via Httpurlconnection to access the JSON method?
I solved my problem by adapting the code of an example I found on the internet. It was as follows Webservice.java package br.ufscar.dc.controledepatrimonio.Util.Webservice; import android.util.Log;…
-
4
votes1
answer930
viewsQ: How to authenticate on site via Httpurlconnection to access the JSON method?
I have an Android application that must request a JSON from a web application, however to have access to the method it is necessary to login to the site. How do I perform this identification via…
-
2
votes0
answers120
viewsQ: Very slow Httpurlconnection implementation when running
I’m using the class HttpURLConnection to make the connection to a site that returns a JSON and I did the following encoding: URL url = new URL("http://hmkcode.appspot.com/rest/controller/get.json");…
-
9
votes2
answers1683
viewsQ: Convert a collection from Set to List type
I have a class that has an attribute of the type of Set, because I want repeated values to be ignored, however I need to return this in the form of a List to fill in a ListView, so what is the best…
-
2
votes1
answer90
viewsQ: Error returning list to Activity
I made an implementation on Android to return all bluetooth devices (paired and connected) in a list. It all worked properly to return the paired devices. For connected also worked, if I go by debug…
-
0
votes1
answer500
viewsQ: Return Bluetooth devices on Android
Hello, After a lot of research and study I managed to finish a class that returns me the paired and connected bluetooth devices near an Android. The problem I’m encountering is time to update my…
-
3
votes2
answers96
viewsQ: Error generating custom Listview
Hello, I’m trying to accomplish the implementation of a ListView custom on Android, but I’m not getting it. It’s something simple, I’ve done other times, but I can’t see where I’m wrong.…
-
0
votes1
answer176
viewsA: Communicating Android app with Bluetooth
Guys, I’ve come up with a solution. I did it this way: package br.ufscar.dc.controledepatrimonio.Util.RFID; import android.app.Activity; import android.bluetooth.BluetoothAdapter; import…
-
1
votes1
answer176
viewsQ: Communicating Android app with Bluetooth
I’m trying to perform an implementation to display paired Bluetooth devices and those connected around a mobile phone. I did several research, I found a example and now I’m trying to build an…
-
1
votes1
answer555
viewsQ: Visual effect when clicking the button disappears when I assign a background
I’m trying to make a simple button on an Android app. When inserting the button the effects worked normally, but after performing the background color change, the effect when clicking the button is…
-
1
votes1
answer390
viewsQ: Error switching H2 application to Postgresql
I was developing a bank application H2 just for testing and everything was working. At the end of the implementation I changed the connection to JPA to the PostgreSQL, only when I did this the…