Posts by lima_t • 211 points
15 posts
-
2
votes1
answer1292
viewsQ: Android- Error "The virtual device got no IP address" Genymotion
Recently I had to migrate an android project to my Windows computer which I was installing the emulator Genymotion to test the application, however, after finishing the emulator settings every time…
genymotionasked lima_t 211 -
2
votes2
answers471
viewsA: Place text under the image
That is the resolution. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"…
-
0
votes0
answers139
viewsQ: Insert horizontal scrolling in line chart in Mpchart Android
I’m using the library Android Mpchart (v3.0.1) to draw graphics on my Android app, however I wanted to make my chart scrollable on X-axis, this is my code: private void loadDadosGraficoLinha()…
-
2
votes2
answers1174
viewsQ: Format result of integer division
I have the following code in JAVA: private int metros = 1500, minutos = 60; System.out.println("Distância em km = "+(metros/1000)); System.out.println("Tempo em horas = "+(minutoa/60)); However what…
-
-1
votes1
answer1993
viewsQ: How to leave a fixed footer in the Android layout?
I have the following layout on xml on my Android designer: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"…
-
0
votes1
answer749
viewsA: How to read the wpa_supplicant.conf file?
Well... apparently you can’t read network profiles saved on your device unless it’s rooted (root), otherwise would be a security issue. The resolution of the problem is to create an application of…
-
0
votes1
answer749
viewsQ: How to read the wpa_supplicant.conf file?
Good morning guys, I’m producing an android app that is able to generate a backup on txt of the saved network settings on an android device, until then I know it is necessary to read the file…
-
3
votes1
answer391
viewsQ: Validate data from an object with Dataannotations C# Winforms
Good afternoon, I have the following Entity class marked by Data Annotations: public class Cargo { [Key] [Display(Name ="Código")] public int Codigo { get; set; } [Required(AllowEmptyStrings =false,…
-
0
votes1
answer294
viewsQ: ID sequence advances +1 during error [Postgresql]
I have the following table in the database in postgresql The fact is that the column Description is unique_key so for testing issues I decided to insert some records with the repeated values in the…
-
3
votes1
answer130
viewsQ: What kind of system modeling is that?
I have seen in several places companies that develop commercial systems (usually in DELPHI) and these respective systems are modeled so that they stay with an application "server" in which I believe…
-
1
votes3
answers11041
viewsA: Printing text file on thermal printer with Printdocument?
Friend, if I understand correctly, you want to print in a non fiscal printer right? Well, for this you have to integrate the respective model of the thermal printer that will be used, for example,…
-
4
votes1
answer747
viewsQ: Silent installation of Postgres and creation of the installer base
How I can embed the Postgresql database in my Winforms system installer? I can even put it as a prerequisite to install before system binaries, however I wanted to do a silent installation. I would…
-
1
votes3
answers855
viewsA: Trigger to update modification date in Firebird
Good people, thanks to the tip of friend Anthony Accioly, I managed to solve my problem, I believe that my strategy worked well with the following code: CREATE trigger TBCLIENTE_DATAMODIFICACAO for…
-
1
votes3
answers855
viewsQ: Trigger to update modification date in Firebird
I have a table of clients with the fields of Registration Date of the Registry and Date of Registry Modification someone would know how to create a trigger updating the column of Date of…
-
1
votes0
answers566
viewsQ: How to install Npgsql as a data provider for ADO.NET Entity Framework?
I’ve read everything you can imagine, but I’m out of luck. In Visual Studio 2015 Enterprise update 1, I followed exactly the steps as you describe the tutorial on the page…