Posts by Carlos Diego • 683 points
102 posts
-
8
votes1
answer380
viewsQ: How to remove the background of an image using Watershed on android?
I’m developing an app that classifies images of wounds. For this, I need to highlight the region of interest of the background to facilitate the work of the classification algorithm. The user uses…
-
1
votes1
answer73
viewsQ: I cannot perform color conversion after image rotation
I’m developing an algorithm that rotates images every 10 degrees. For this, I am identifying the center of my region of interest, not the center of the image, because it has region of interest that…
-
7
votes2
answers602
viewsQ: Error splitting image in half using Python
I’m trying to split an image in half using the code below, but I’m having a feedback error. Code: import cv2 import numpy as np # Read the image img = cv2.imread("IMD015.png") width = img.shape #…
-
4
votes1
answer157
viewsQ: Problem generating javascript graph using Spring
I’m implementing Graphics in a web application I’m developing in Spring. I already made my API, it is bringing Json with all the information of my object Cart, however the graphic is not being…
-
0
votes1
answer426
viewsQ: Rendering map using spring boot API
I am developing a web application using spring boot and am trying to implement a map on the main screen of the application. The latitude and longitude are being picked up in the mobile app, so I’m…
-
0
votes1
answer234
viewsQ: How to take user image in session and add to html?
I’m developing a web application using spring boot. I already have saved image of the user in the database, now I would like to assign the image of the user logged in the session in the profile…
-
6
votes2
answers230
viewsQ: Invalid Property 'category.subcategory' of bean class. Error saving user to database
I am developing a web application that has the following mapping: A user has a category; A category has several subcategories; a subcategory has several products. As shown below: What I am trying to…
-
2
votes1
answer210
viewsQ: Error Converting Image to String to Save in Database
I’m trying to save an image in my form at the bank, but I’m having difficulties in solving the error: Field error in object 'usuario' on field 'foto': rejected value…
-
6
votes2
answers2211
viewsQ: How to save images in the database using spring boot?
I’m having trouble saving images from a form in the database. Does anyone know how to save an image in the Mysql database using spring boot? I’m learning this technology now, so with this…
-
0
votes1
answer331
viewsQ: Doubt in database relationship of an application using spring boot
I am developed an application that aims to register a supplier, in which this supplier is Generico (can be a cafeteria, store building material, a pharmacy... etc) in which he will provide products…
-
5
votes2
answers771
viewsQ: How to hide menu items using spring security?
I am using spring security to control access to my web application. I have already managed to implement the control that each type of user will have in relation to the urls, now I would like to hide…
-
4
votes2
answers1052
viewsQ: Cannot pass a null Grantedauthority Collection Spring Security
I am developing a web application with Spring Boot, and I am trying to implement authentication using Spring Security. I am following the tutorial from Michelli, but I’m making the following…
-
0
votes1
answer303
viewsQ: I cannot save form using spring boot
I’m starting to study spring boot now and trying to do a CRUD, but I’m having a hard time saving my form. No error message appears, neither in the console nor in the browser. I have already reviewed…
-
0
votes0
answers93
viewsQ: Jquery Ajax - Problems when rendering graphics using jquery request
I am developing a web application that aims to generate monthly reports of some information coming from the mobile application. As I have little experience with Jquery I am having difficulty loading…
-
1
votes2
answers880
viewsQ: Jquery Ajax - Request problems every x seconds
I am developing a web application that I use ajax to request from time to time to find out if there has been a new update, but my code does not work perfectly. I’m new to jquery and I’m having…
-
1
votes0
answers131
viewsQ: How to add markers to my map dynamically?
Good guys, I’m developing a mobile application in AS, and I’m using the map to add markers of each location of a new registered form, IE, when performing a registration I send along my latitude and…
-
1
votes1
answer51
viewsQ: Error creating Poup menu in cardview
I’m creating an application that I use cardview in my list. And I’m having difficulty adding the menu in cardview, as image below: My class of cardview: class CustomAdapter extends BaseAdapter{…
-
4
votes3
answers1657
viewsQ: Convert string to blob and save to bank
I’m developing a mobile application that has a form where the user can attach an image, the image is being sent as string via Rest to the server and will be saved in the blob database, however, I’m…
-
-1
votes2
answers162
viewsQ: How to pass data from one button switch to another acivity?
I’m developing a mobile app on AS that has a list of cardviews. In these cards I have a switch button that clicking on will open an Alert dialog to confirm the status change. However I’m having…
-
3
votes1
answer2372
viewsQ: How to add the eye to display the password in Android Studio?
I created a login form in my application and would like to put the eye button so that you can display the characters of the login field, as shown in the screenshot: I’ve done some research and tried…
-
1
votes1
answer499
viewsQ: Error saving JPEG image in database as string (Base64)
I’m developing an app that has a form where the user can attach a photo to the form. However I am having difficulty implementing this. In my APK I already capture the image, convert to base 64 and…
-
3
votes1
answer1161
viewsQ: How to save a PDF file to the database and make it available for download?
I am developing a web application using Playframework, and I need a file that will be a kind of guide (documentation) for users who will use my application to be able to download or view by the…
-
0
votes1
answer169
viewsQ: Generate notification on the web platform every time a new form arrives
I am developing two applications one web (service) and another mobile (consumes the service), in apk the user send Formularies to the web application, hence I would like to create a kind of…
-
3
votes1
answer527
viewsQ: How to capture camera image from your phone and send it to the server via Rest using Volley?
I’m developing an application MOBILE that communicates with my web application, the application developed in Android Studio and the web on Playframework. I created a form on APK that already makes…
-
0
votes1
answer309
viewsQ: Validate form
I’m developing a mobile application in android studio and I’m having difficulty implementing the validation of form input fields. Can someone explain to me why I can’t validate? Form class: public…
-
0
votes1
answer50
viewsQ: Send a command without updating the page
I am developing a web application using Playframework, and I have a problem when clicking the command I would like to display an Alert and not redirect the page as it is doing, redirecting to a…
-
1
votes1
answer773
viewsQ: How to save image in database?
I am developing a web application using the play framework, in which I am finishing the CRUD of a user, however this missing only the part where the user saves his profile photos in the register. As…
-
0
votes1
answer37
viewsQ: Error while consuming service using Volley
I am developing an application in Android Studio in which consumes a service I created in Play Framework. This is my service route: GET…
-
0
votes1
answer185
viewsQ: Handle response from the Rest service using Volley
I’m developing an application in android studio in which consumes a service I created in Play Framework. I am learning now how to create and consume services, and I am having difficulties in…
-
0
votes1
answer328
viewsQ: Basicnetwork.performRequest: Unexpected Response code 500 for
I am developing a mobile application that will consume services from my server, developed in the Play Framework. I have already created the login service as below: public class Services extends…
-
0
votes2
answers182
viewsQ: Nullpointerexception when obtaining latitude and longitude
I am developing a mobile application with Android Studio that aims to get the information of latitude and longitude and use the service of Google Geocoder to return the address of the geographical…
-
0
votes1
answer700
viewsQ: java.lang.Arrayindexoutofboundsexception: length=0; index=0
I am developing an application that will consume the mail price and term calculation service, however I have a problem in the service response, it returns me the following message:…
-
1
votes0
answers293
viewsQ: Attempt to invoke virtual method 'java.lang.String java.lang.String.toString()' on a null Object Reference
I am developing an application that aims to consult prices and deadlines of orders consuming the Post Office service. However, I’m having trouble implementing the service in the application.When I…
-
1
votes1
answer128
viewsQ: String Conversion to Double returning null
I have an android application that I need to capture the entries and store in my Order object, but I need to convert the entries(Strings) into Double numbers, but from the following error:…
-
1
votes1
answer87
viewsQ: Problems when creating application to consume postal services
I am developing an application that aims to consult prices and deadlines of orders consuming the Post Office service. However I am having difficulties to implement the service in the application.…
-
0
votes2
answers322
viewsQ: Consume webservice of addresses queries of a given city
I am developing a web project to feed all the addresses of the streets and neighborhoods of the city where I live, and after performing a particular service by the user, link it to an address. Not…
-
0
votes0
answers80
viewsQ: Add boats dynamically to the board
I’m developing an MRI application that simulates the game of naval battle. My code for now dynamically generating the board and automatically positioning the ships on the board, my doubt is how do I…
-
0
votes1
answer104
viewsQ: Dynamically create board
I am solving a problem using RMI of a naval battle, I need to generate the board dynamically according to the user’s need, this code I took from a video and I am adapting as requested in the…
-
2
votes1
answer173
viewsQ: Save value from a select and display
I’m developing a CRUD of a web system. In the employee registration I use two select elements to display the options, when registering work all ok, the information goes to the bank. The problem is…
-
1
votes0
answers62
viewsQ: Take database information and add in inputs
I’m developing a web system and I’m having a hard time finishing CRUD. The system is already saving my pacthpanel object, it has equipment registered to this patch. The information is being saved…
-
1
votes1
answer83
viewsQ: Control animation speed using the Jslider component
Good guys, I’m developing a little project that aims to simulate the controlled environment of train tracks, where I have 3 trains circulating in a clockwise direction, where the three pass by the…
-
2
votes1
answer187
viewsQ: How to move animation in a clockwise direction?
Good guys, I’m developing a little project that aims to simulate the controlled environment of train tracks, where I have 3 trains circulating in a clockwise direction, where the three pass by the…
-
0
votes0
answers415
viewsQ: How to fill in several input fields with data coming from the database?
I have a little problem in my system, I have already registered several equipment in my system, but each equipment has a list of doors. How do I generate inputs dynamically according to the number…
-
0
votes1
answer533
viewsQ: How to get communication response using MQTT
I am developing an application which I use the MQTT communication protocol, where my system sends a command to a certain equipment, my equipment is receiving the command and changing the status. The…
-
0
votes1
answer70
viewsQ: Generate table content through click action
I am with a web project that needs to implement functions to generate the content of a table according to the chosen item. For example on my Dashboard I have a tower icon, and below I have a table…
-
0
votes1
answer49
viewsQ: Generate values dynamically in a table
I am listing the number of equipment saved in my system in a table, only that they will not always have saved equipment, I can have an empty table, or incomplete. What I need is to list the lists of…
-
1
votes1
answer43
viewsQ: Problem editing registration information that has unicity check
I’m developing a web application using the play framework. In the play itself has the @Unique annotation that ensures that equal data cannot be saved in the database. I added this annotation to the…
-
0
votes1
answer2054
viewsQ: datatable does not work properly
I am implementing a datatable in my web project, I have repeated the implementation of the datatable several times to remedy the problem, but without success. The problem is that the datatable…
-
0
votes1
answer44
viewsQ: Error when relating two tables in the database
I’m with a web project in java, in which I’m mapping towers and patchpanels, where a tower has several patchs and a patch has only one tower attached to it. This relationship is all ok, now the…
-
1
votes1
answer247
viewsQ: How to perform form search using ajax?
I am implementing a web application and already have the full CRUD and search implementation. However, I want to use ajax to make the system more efficient and implement the database search using…