Posts by Carlos Diego • 683 points
102 posts
-
1
votes1
answer236
viewsQ: Store values temporarily in text fields (inputs)
I’m with a web application that I made a simple filter to store values of a patchpanel and I made a dynamic input that by telling the amount of ports that that patch has, automatically generate new…
-
0
votes1
answer261
viewsQ: Encrypting passwords in web application
I am developing a web application in play framework 1.4 and implemented the critptography of passwords using CRYPTO, but it is not encrypting and consequently decrypting, where I am wrong? In the…
-
0
votes1
answer547
viewsQ: How can I generate temporary URL to recover password in the play framework?
I am developing a web application using the play 1.4 framework (didactic version) and I want to implement the password recovery functionality where the user will place his email and will be sent a…
-
2
votes2
answers1721
viewsQ: How to use jQuery to dynamically add text field in the form
I have a form where the client needs to inform the number of ports of the patch panel, and according to the value he fill this field, appear more new fields dynamically to add other relevant…
-
2
votes2
answers512
viewsQ: Error creating child - Process scheduling using Fork
Write a program in C/C++ called novel.cpp that does the following: The Father process creates a Filho1 process in 10 seconds and a Filho2 process in 20 seconds and then you’re running indefinitely.…
-
0
votes1
answer2905
viewsQ: Segment image and highlight object border using python
I’m testing some algorithms to improve the image quality that my hardware is getting. I have in the image a pick and I would like to highlight the object contained in it. I used the code below to…
-
0
votes1
answer612
viewsQ: Pyqt calling file created by Qtdesigner
I developed a Pyqt window with Dialog with Buttons Right template but calling me in my main class gives me an attribute error. I saw in the YT video that the guy used Main Window as a template and…
-
-1
votes1
answer265
viewsQ: How to run an application on multiple Threads?
I’m developing an interface application by Swing. The application aims to simulate a computer network in which I will monitor using the implementation InetAddress. Well, I created my interface,…
-
1
votes1
answer374
viewsQ: How to order a table using Collections?
I’m developing an application similar to the Olympic medal board. I’ve done the classes and the table with the countries and their medals. Now I’m hooked on the part I need to organize the table by…
-
1
votes1
answer1191
viewsQ: Dynamically Create Jlabels
I have to create, from a click of a button, a JLabel dynamically. So that these honeys are organized in an order, assigning a name to that JLabel. The user can create as many Abels as he wants...…
-
-1
votes1
answer279
viewsQ: Simulate the operation of a processor using java swing
I need to simulate the workings of a processor using queue concepts. This processor will be color, where the user adds the color they want to be processed and its run time, this color needs to enter…
-
3
votes1
answer4136
viewsQ: How to convert color image to black and white and highlight only the white of a video
I would like to highlight the white color using webcam and opencv python, however my image is colored, first I need to convert to black and white and then I would like to highlight only white, which…
-
2
votes1
answer581
viewsQ: Read all txt files in a folder
I am trying to list in my project all the files that I saved previously in the program inside the query folder, however it does not only show the files, it also shows their respective paths. How do…
javaasked Carlos Diego 683 -
2
votes1
answer940
viewsQ: Find and open file . txt, add info and save to java
I have a little project of a system for clinics where the receptionist makes the register of the patient by placing his personal information and saving it in a txt file. Then when the doctor…
javaasked Carlos Diego 683 -
1
votes1
answer914
viewsQ: Problem calling class inside Switch
I’m developing a facul project that’s a basic clinical system. After the user logs in, they choose an option in the menu where the responsible class will be called. The problem that when I choose…
-
7
votes1
answer1825
viewsQ: How to Identify and Count Prefabs Collision in Unity
I am developing a game for android on the platform Unity that is similar to the game Tetris, the difference that is geared to chemistry, and instead of descending the tetrominos will descend the…
-
1
votes0
answers1181
viewsQ: Wampserver 2.1 does not open localhost, phpadmin or turn green
I installed wampserver 2.1 and since I can’t open phpadmim or my localhost, the installation was without any configuration. Someone’s been through it?…
-
0
votes1
answer100
viewsQ: Configure GPRS module
I am developing a project that aims to take the location of the GPS and send via GPRS to the server. However I want to know how to configure the APN so that it can be accepted chip of any carrier in…
-
0
votes2
answers970
viewsQ: Close all applications in the background except my app
I am thinking of an application that aims to close all other applications that are running in the background, however, leave only my application running. Does anyone have any idea how to do that?…
androidasked Carlos Diego 683 -
1
votes2
answers681
viewsQ: How to record a txt file with each patient’s name?
I’m developing a college project which is a clinic system where the receptionist makes the patient’s registration and other more options. I’m trying to get the employee to register a new patient,…
-
1
votes0
answers314
viewsQ: Display text in python application
I’m developing an application that makes people count by video, but it is showing the count by the terminal, how do I display "Found N people" on the video screen? follows my code: print…
-
2
votes1
answer230
viewsQ: Resources$Notfoundexception: Resource ID #0x7f060007 type #0x12 is not Valid
When finished creating a listFragment and calling it in main the apk terminates giving the error below: Here is my Listfragment: ArrayList<HashMap<String, String>> data = new…
androidasked Carlos Diego 683 -
3
votes1
answer734
viewsQ: How to call Fragments in Drawernavigation?
I created a new project in android studio and chose to use the navigationDrawer, created my screens now I would like to call them. How do I implement this method and switch windows in menu of an…
androidasked Carlos Diego 683 -
1
votes2
answers776
viewsQ: Menu screens are above the app’s home screen
I was implementing the standard Navigation Drawer and when I emulated the apk was the screens of the options above the initial screen of the apk, this way: Mainactivity.java file. @Override public…
-
2
votes1
answer277
viewsQ: Navigation Drawer without interaction when clicked
I’m using the default menu Navigation Drawer and complemented the method that already comes in the project to open my activities(Atividades). I have already created the classes and called each of…
-
0
votes1
answer124
viewsQ: libpng error: Not a PNG file
After I edited the icon of my application and I went around the emulator it appears to me with the following error: I’ve searched for images in another format, I’ve reviewed my code and nothing,…
-
1
votes1
answer221
viewsQ: Direct photo taking method of the application only works on some mobile phones
I have a problem in my apk that allows the user to take a photo straight from the application, however, in some cell phones give error and closes the app. Here is my manifest: <?xml version="1.0"…
-
1
votes1
answer645
viewsQ: Android studio installing the app over another app
I’ve been using the same apk to perfect it, went to the folder and gave a Ctrl v Ctrl c and started editing the new apk. I changed the name, the name of the folders, I changed some screens, only…
-
3
votes1
answer1380
viewsQ: Problems with the layout of the application in several cell phones
I have an app that I made and emuiled using my cell phone lg G2 mini, when emulo it gets all straight, the form the way I designed in its proper corner. When I install the same apk on other phones,…
-
5
votes1
answer903
viewsQ: Android studio generating two apps the same way
I developed an apk, but from the end of the project here he was always emulating two identical applications on my phone, same functions, icons. The difference between one and the other is that one…
-
1
votes0
answers1597
viewsQ: Cannot attach due to e/s error via e-mail
I’m finishing developing a form in android studio, where the user send an image along with information via email. Already managed to do everything, the problem now is when I take the photo and I…
androidasked Carlos Diego 683 -
4
votes1
answer118
viewsQ: Error when implementing method to take photo by application
I am wanting to add the method of taking photos by the application only when running my application error: below is my form class code: Spinner option; Button btnSend; EditText Nome; EditText…
androidasked Carlos Diego 683 -
1
votes1
answer350
viewsQ: Invisible spinner in form
I’m developing a form where I added the spinner, the code went all right, I was able to add and get the selected item, the problem is in the visibility of the spinner. It only appears on the screen…
-
0
votes1
answer80
viewsQ: Problem adding spinner to my form
I am developing a form where I want to add the spinner, but when I add it in the xml file, nothing appears on the screen, only the box marked as you can see below: I already added my spinner options…
-
2
votes1
answer386
viewsQ: Problem while doing method that checks which button was clicked
I am creating a screen with 3 buttons in which each button clicked will need to be redirected to a different site. I implemented this code, there is no error, I can even click the button, only when…
androidasked Carlos Diego 683 -
-1
votes1
answer1689
viewsQ: I can’t send email using android studio
I am making a form that will be sent by email, I have already created the email of gmail to use in the application, I have imported the necessary libraries, added permissions in Manifest, the code…
androidasked Carlos Diego 683 -
1
votes0
answers59
viewsQ: Error when choosing theme for form
I am making a form and when choosing the Dialog theme it informs that: Missing Styles. Is the correct Theme Chosen for this layout? as you can see below. If you cannot really use this theme, there…
-
0
votes1
answer46
viewsQ: Error with findViewById in email sending class per application
I’m developing an apk where there are forms that will be sent by email. Hence my class for window change was like this: By adding the methods needed for me to send emails directly from my…
androidasked Carlos Diego 683 -
-1
votes1
answer678
viewsQ: Permission error in Android Studio
I’m adding a function in the application I’m developing in android studio, which makes direct links from the app, but this error is asking for some kind of permission, and I’ve already added…
-
1
votes1
answer1285
viewsQ: Flip a stack using an additional stack and some variables
I’m needing to reverse an A stack using another additional stack B and some variables in pseudo code. For the stack A to be reversed at the end of the algorithm. Someone can help?
-
1
votes0
answers1186
viewsQ: Gradle Sync error when compiling project
I’m finishing a project in Android Studio, and I updated to version 2.1, then started to appear me errors, some already solved, the one chases me; When synchronizing Gradle appears me these…
-
2
votes1
answer597
viewsQ: Netbeans Error: org package does not exist
I am developing a desktop application using netbeans. I spent a few months without touching the project, and when I open it again I get the message that the org package does not exist. I’ve already…
-
1
votes1
answer118
viewsQ: Generic vector with error
I’m concluding this generic vector activity, but I’m having trouble returning the last and first element of the list. and to remove the element. public class Vetor<T>{ T[] vetor; int…
-
0
votes1
answer1597
viewsQ: Plot a graph of the loading and unloading of a capacitor in MATLAB
I need to create a program that shows through Plot the loading and unloading of a capacitor as shown below: There are 3 constants where the user needs to enter the values: C = capacitance; R =…
-
6
votes1
answer2344
viewsQ: Make a generic vector in Java
How to create a dynamic vector in Java with generic programming? This vector must have initial size 4 and be increased in size as new elements need to be inserted. The class must have: Constructor.…
-
0
votes0
answers77
viewsQ: Error while opening android studio
When I open my android studio it loads the Gradle and then shows the message: `Error:Execution failed for task ':app:processDebugGoogleServices'. > File google-services.json is missing from…
-
0
votes0
answers58
viewsQ: Open android studio app in phonegap? t
I developed an application in Android Studio and would like to export it to phonegap in order to be able to use it for cross-platform. How can I enjoy my project in android studio in phonegap ja…
-
0
votes2
answers525
viewsQ: Where do I find ready-to-edit phonegap application projects?
Where can I find fully-ready IOS and/or Android application projects? That can customize, edit them and if possible already with communication with web server, without having to do one from scratch.…
-
0
votes0
answers106
viewsQ: My tetris game descends one piece and in the second piece it game over
My game tetris descends the first normal piece, but in the second piece there in the same high, he of the game over. As if the second piece had reached the top entering the condition of the GAME…
-
0
votes1
answer29
viewsQ: Maps.getPhoto()' on a null Object Reference
The program I am developing compiles, does not show any error, emulo on mobile, however when opening certain screen the application shows error message and closes. In the AS terminal shows the…
androidasked Carlos Diego 683