Posts by Regilan Meira • 126 points
12 posts
-
0
votes0
answers476
viewsQ: Where to put PDF files in an application developed in Android Studio
Colleagues. I have a programming question for Android, see if you can help me. I am developing an APP that needs to open some PDF files that should come along with the application. The idea is to…
androidasked Regilan Meira 126 -
0
votes0
answers57
viewsQ: Alarmmanager and Broadcastreceiver stop working when mobile is turned off
I created an Alarmmanager that calls a Broadcast that triggers an event that should happen from time to time. This working but if I restart (turn off/on) the phone loses service and no longer the…
androidasked Regilan Meira 126 -
1
votes0
answers248
viewsQ: Fill Spinner and Listview - Fragment
I am developing an application with Fragment. I have two Fragments, where in one there is a Listview and in the other a Spinner. Listview and Spinner are populated with data coming from the…
-
0
votes1
answer12679
viewsQ: Github - Download project (Beginner)
I’m getting started on Git-Hub... I downloaded the Git-Hub version for Windows (GUI version). I can create repository, commit, and post. I wanted to know how I can download a project made by another…
-
0
votes1
answer61
viewsQ: Passage of parameter Drawable object
I created a method to encapsulate a notification message (Notification.Builder). An excerpt from the code is shown below: public void exibirMensagem(String titulo, String texto,Drawable icone) {…
-
2
votes2
answers3051
viewsQ: Popular Spinner with Sqlite Database -
I have the following table in the database: CREATE TABLE turma(_id integer primary key autoincrement, nome varchar(20)) I need to fill out a SPINNER with this data, so that the class NAME is…
-
2
votes4
answers6715
viewsA: How to clear form fields in c#?
I like to make a generic method. For example, in the following code I clean all the text boxes of a FORM. You can put other conditions to check other types of components of the FORM and do what you…
-
0
votes2
answers73
viewsA: How do you get the time zeroes out?
Hello, you can use the function substring for that reason. In this case you would take HH:MM:SS:MS, which would give 11 characters (considering the :), i.e., you would take the characters from…
-
-1
votes2
answers204
viewsA: SQL Select Where
You can do a sub-query within a SELECT and use the MAX function that returns to adulthood. That is, you will do a WHERE where the comparison with a value will come from a SELECT query. SELECT id,…
-
1
votes1
answer604
viewsA: Query in three tables by a column with Foreign Key
Hello, you need to list the primary and foreign keys of the tables... Make an INNER JOIN. NOTE: I put JOIN wrong. Follow correct code: SELECT PAIS.nome, FILHOS.nome, NETOS.nome FROM PAIS INNER JOIN…
mysqlanswered Regilan Meira 126 -
3
votes2
answers1659
viewsQ: Send notification message to app
I am developing an APP and I have the need to send warnings to users who use this APP. Example, in Apps of shopping websites , when a promotion appears a message arrives the App about the promotion.…
-
1
votes2
answers1597
viewsA: Query per month and year (Php + SQL)
Mysql has a function called Month that you can use to fetch something according to the month of the year.. An example: SELECT nome,endereco FROM clientes WHERE Month(data-nascimento) = '06' In the…