Posts by Ablon • 389 points
16 posts
-
1
votes2
answers259
viewsQ: How to get search links in google using javascript
First of all, yes, I have checked the Apis provided by Google, such as Google Web Search (discontinued) and the new Google Custom Search, which from what I’ve seen works only for searches within a…
-
1
votes0
answers38
viewsQ: How to receive and manipulate data from the browser?
My question is regarding communication with the browser. How to do, for example, a program that receives a notification whenever someone comments on your post on Facebook? I’ve seen someone do this,…
-
1
votes0
answers173
viewsQ: How to underline a specific character in a Jtextfield
How to change, say, the font of one or more characters of a JTextField allowing them to be underlined, bold or italic? But, the rest of the text would be normal. But in this case I need to…
-
1
votes1
answer947
viewsQ: Shared database
First of all, I have no experience with databases. Well, my question is the following, how to create a database for an android application, in which data registered in it, could be accessed by all…
-
5
votes1
answer769
viewsQ: txt file is not found when generating file. jar
I have an application in Java, this application has images, and I had the same problem: when generating the arch. jar(executable) the images did not appear, but if it ran straight into Netbeans, it…
-
0
votes0
answers72
viewsQ: Drawline deletes previous lines
How do I draw more than one line with drawline? It always deletes the previous one when drawing a new one, but I want to keep it. The code is as follows public class DrawLines extends JPanel{…
-
3
votes1
answer460
viewsQ: Spacing with Gridbaglayout
I’m putting together a layout for testing with Gribbaglayout, but I’m having difficulties with the positioning of the elements. The frame has two panel. I want the items on the left panel (Label 1,…
-
-1
votes2
answers126
viewsQ: Std::out_of_range error when using substring C++
I have a file txt containing the following type of information on each line: Example: John-88888888 I need to read every line of that file and separate the name in a variable and the number in…
-
0
votes1
answer2296
viewsA: DUAL BOOT problem with Ubunt and Windows 8.1
I solved my problem by activating the Reset boot again, and keeping UEFI activated, as it says in the link that Daviaragao put, thank you.
-
1
votes1
answer2296
viewsQ: DUAL BOOT problem with Ubunt and Windows 8.1
My notebook (Dell Inspiron 14r 5437) already had windows 8.1 installed. I intend to install Ubuntu in dual boot, however I am having the following error after splitting the required partitions: The…
-
2
votes1
answer740
viewsQ: Call requires API level 21 (Current min is 10)" when using getDrawable()
When I try to compare the Drawable of a Imagebutton with a certain Drawable that mistake happens "Call requires API level 21 (Current min is 10)". I’m using the getDrawable().getConstantState() to…
-
1
votes2
answers5100
viewsQ: How to search in txt file?
How do I search a file .txt which contains for example a list of numbered names, type: 1 - João 2 - Maria ... I would inform the desired number and the return would be the name, or say that nothing…
-
7
votes1
answer609
viewsQ: How to compare "set" images in Imagebuttons?
Personal how do I compare whether the drawable image "set" in an Imagebutton is equal to null for example, or the other Image contained in another Imagebutton? ImageButton q1 = (ImageButton)…
-
1
votes2
answers143
viewsQ: Error placing image on Imagebutton
When there was only one drawable folder this error was not happening, only that the app was distorted in other resolutions, so I created the drawable folders with different resolutions(ldpi,…
-
3
votes1
answer3160
viewsQ: Drawable folders for different dpi do not appear in Android Studio
I can’t find the drawable folders with the proper resolutions in Android Studio. It only has a drawable call, where I should place the images with different resolutions?…
-
0
votes1
answer2031
viewsQ: Distorted background image in Android Studio
Personal created an image for the background of my app, I made it according to the resolution of the smartphone I was testing, but it was distorted, then I remembered I was using Actionbar, so the…