Posts by antunesleo_ • 624 points
28 posts
-
1
votes1
answer1750
viewsA: Label printing with barcode on Argox printer (USB)
This problem can be solved in many ways, it all depends on how you need to make the impression. If the system you are developing is in Delphi, the situation becomes much easier, there are components…
-
1
votes1
answer1750
viewsQ: Label printing with barcode on Argox printer (USB)
I am developing an application where I need to generate and print barcode on a label through the printer Argox with USB connection. Despite being a web application, the system will run locally, that…
-
1
votes1
answer339
viewsQ: Inappbrowser plugin does not work (Unknown Provider)
I have the following code: <input type="text" id="input-url" name="input-url" placeholder="URL do Servidor"> <button class="button button-block button-dark" ng-controller="AppCtrl"…
-
3
votes2
answers574
viewsQ: How to get meta tag information from an external url?
I need to get the meta tag from a specific external url, but I only found examples using jquery to perform this feature, not pure javascript. In pure js, I found this post where is performed what I…
-
0
votes1
answer485
viewsQ: How to hide the Inappbrowser bar?
I am developing a mobile application that basically loads a web interface inside the app through the Inappbrowser plugin. The idea of the project is exactly to simulate the operation of an app.…
-
0
votes3
answers1806
viewsA: Ionic Android Build Problem "Failed to find 'ANDROID_HOME' Environment variable"
The problem was in the "sudo" before the execution of the command ionic build. Apparently in Ubuntu sudo uses different paths. He was using sudo because without it he was informed that he was not…
-
0
votes3
answers1806
viewsQ: Ionic Android Build Problem "Failed to find 'ANDROID_HOME' Environment variable"
I tried several answers to the below error found right here in the OS but none solved the problem. Running the command sudo ionic build android is returned the following message Error: Failed to…
-
1
votes3
answers646
viewsA: Import eclipse project to latest Android Studio API
After much research, I was able to find where the problem was. The class AppCompatActivity is only available from sdk tools 22, and my project was using 21. So, I updated the sdk tools of my…
-
13
votes2
answers4510
viewsQ: What is the difference between Activity, Fragmentactivity and Fragment?
What are the differences in functioning, performance etc. in inheriting from each of the classes in controllers views (XML) on Android?
-
8
votes3
answers646
viewsQ: Import eclipse project to latest Android Studio API
I imported the project from an eclipse app for Android Studio. The import went smoothly and Gradle was created. However, I realize that the visual components like Edittext, Progressbar, Appbar,…
-
3
votes3
answers3871
viewsQ: How to put hint on a spinner?
I have a Spinner, where the user should select his gender: So far everything works well, but I need to leave a hint written the word sex in the spinner component, as well as in the image below: Code…
-
0
votes3
answers1437
viewsA: Find higher sum value and show id
I believe this query solves your problem: SELECT SUM(HORAS) AS HORAS, NUM_PROJETO FROM EMPREGADO_PROJETO GROUP BY NUM_PROJETO ORDER BY HORAS DESC Upshot:…
-
3
votes1
answer3483
viewsQ: How to center a card panel in materialize css?
I have the following login form inside a card panel: What I could do to center my card on the page? This is the code I have so far: <div class="input-field col s12"> <input id="user_name"…
-
1
votes1
answer360
viewsQ: Define the class of a li element created at runtime
Below I have a stylized list with the bootstrap (defining the class of ul and li) <!DOCTYPE html> <html> <head> <link href="bootstrap-3.3.6-dist/css/bootstrap.min.css"…
-
3
votes1
answer398
viewsQ: Relationship 0.. 1 in practice
Having the following tables: request address table Orders can be made at the pizzeria, that is, for a table. It can be a delivery(address) or it can be a request for travel, where it does not belong…
-
2
votes1
answer1116
viewsQ: Create buttons at runtime
I intend to create a small web game where the user will make the decision of the characters at runtime. At the moment I have the following screen: When the user clicks on the left button, for…
-
0
votes1
answer223
viewsQ: How to create this process
I have these two tables in the bank cadcha (Cadastro de chamadas) cadram (Cadastro de ramal) All calls made in a particular company will be saved in this table cadcha. The destination extension…
-
2
votes2
answers676
viewsQ: Query does not sort records by Asc/Desc
I have a table called cadcha (registration of call) in the database where all calls made by employees of a particular company are stored. cadcha --------------------------------------------------…
-
2
votes1
answer1551
viewsA: How to perform statistical fashion in SQL?
I was able to perform the calculation by grouping by value and ordering in descending order. SELECT COUNT(telpretot) as qtde, telpretot FROM cadcha WHERE teldata = '08/03/2015' GROUP BY telpretot…
-
1
votes1
answer1551
viewsQ: How to perform statistical fashion in SQL?
I work for a telephone charging system company, all calls generated by the central (PABX) are charged by the system and stored in a call table cadcha. cadcha…
-
0
votes1
answer92
viewsQ: Identification and marking of SQL script keywords within a Word document
I am making a system error manual for the company where I work. Within this manual you will have a description of the error as well as its solution. Many of the solutions are very extensive SQL…
-
0
votes1
answer63
viewsA: Error in SQL statement
Probably when you run this INNER JOIN tbValores ON (tbListaConformidades.L_ID = tbValores.V_L_ID) your select will only bring the records where tbListaConformidades.L_ID = tbValores.V_L_ID. Every…
-
0
votes1
answer848
viewsQ: Toolbox gets all the items disabled
It had an express version of visual studio 2015. I uninstalled and installed the visual studio professional 2013. When creating an Asp.net/web Forms application, my Toolbox items are disabled. I…
-
0
votes1
answer3634
viewsA: It is possible to disable the Primary key of a table
It is possible to disable a Primary key. I will use a client table as an example: CREATE TABLE cliente( id_cliente int NOT NULL, nome VARCHAR(100) NOT NULL, CONSTRAINT pk_cliente_id PRIMARY KEY…
-
2
votes1
answer345
viewsA: Using multiple group by in a query
I advise you to normalize your database. A product belongs to 1 or n categories. A category belongs to 1 or n subcategories. Building your database with this structure, it would be much simpler to…
-
0
votes1
answer53
viewsA: Rollback code in repository
I believe you have a question to answer that, take a look there: How to get the project back to a specific commit?…
-
0
votes2
answers438
viewsA: How to consult with Where and like between two tables?
Come on Wesley, first the field 'friends' of table friends should be a new table in the database (friend_item), it is not advisable for you to have a multivariate attribute in a table. A solution to…
-
2
votes2
answers1880
viewsA: Delphi XE Firemonkey mobile app - How to resize an image?
The error is because the Timage component is configured to receive a square image, and eventually images are sent in portrait/landscape (rectangular) mode. A way to solve this serial requires the…