Posts by Jaquisson Nunes • 111 points
5 posts
-
1
votes3
answers7988
viewsA: How to put an animated GIF in an APP on Android?
Hello! I had problems to implement animated gif in my project and solved in a very simple way: <ImageView android:layout_height="wrap_content" android:layout_width="wrap_content"…
-
4
votes5
answers11978
viewsA: How to get the current file name
Just a little observation: There are two ways to get the file name. Ex. A.php file <?php $dir1 = basename($_SERVER['PHP_SELF']); $dir2 = basename( __FILE__ ); echo "<br><br>Dir 1:…
-
1
votes3
answers5404
viewsA: How to create an array with Object from an SQL query
To print as you said, use the function below: public function listar(){ //new Pessoa(id, nome, telefone, endereco) $query = "SELECT *FROM pessoa "; try { $stmt =…
-
2
votes4
answers1275
viewsA: How to identify changing the state of connectivity to the Internet to perform a method when connecting?
Good morning, you guys! It is 2:30 in the morning and I was able to understand this bagasse (I do not know if with the best practice, but it worked). First of all, I don’t know if it’s right for me…
-
3
votes4
answers1275
viewsQ: How to identify changing the state of connectivity to the Internet to perform a method when connecting?
I’m trying to implement this train and I’m not getting it. I wanted to do the same thing as the colleague who opened the topic, but I could not even follow these examples. I have some questions: In…