Posts by Danilo • 526 points
35 posts
-
0
votes1
answer1114
viewsQ: Laravel with error in Composer install
I moved the Laravel to the homologation server and when I ran the Composer install, I had this problem. Has anyone ever had anything like this? on my machine that rotates under the flat wheel…
-
3
votes1
answer1260
viewsQ: c# read a remote source XML file
I have an API that generates me an XML but whenever I try to get the XML to handle the other side it returns me an error. the XML is this: <ArrayOfResponsaveis…
-
1
votes1
answer77
viewsA: Switching Fragements without loading the whole screen
Able to solve my problem, in Activity I used this code to call Fragments if(mFragmentManager.findFragmentByTag(BuscaFragment.KEY) != null) { //if the fragment exists, show it.…
-
1
votes1
answer77
viewsQ: Switching Fragements without loading the whole screen
I have a problem with my studies, when I change Fragement and then I go back to the source Fragment the data is loaded all over again. And since data comes from the web, it takes time and precious…
-
0
votes1
answer1330
viewsQ: Structure MVP Android
I’m studying MVP and I was left with doubt of how I should structure my packages on android. On the Internet I found this model, but I don’t know if it’s the best project on github.…
-
2
votes2
answers157
viewsA: What does the expression "a+t" mean in the second parameter of fopen in C?
According to the website of fopen. "a+t" or "at+" it opens a text file in read or update mode (adding the new information at the end of the file).…
-
0
votes1
answer463
viewsQ: using Entitymanager to return a List
Guys, I’m having a problem at the bank looking for a list of phones, these phones have to belong to a number. in my query I do this public List<Telefone> buscar(Proprietario proprietario) {…
-
1
votes0
answers43
viewsQ: Passing data from one view to another
I am trying to implement the following function, when the user clicks the edit button, it would send to the page "create" only populated. but when I try to do so, he sends but with nothing. in my…
-
0
votes2
answers104
viewsQ: JPA - Java does not insert data into the database
Bean @Named("proprietarioMB") public class ProprietarioBean implements Serializable { private static final long serialVersionUID = 1L; @Inject private ProprietarioService proprietarioService;…
-
0
votes2
answers974
viewsQ: List 3 tables in a row - MYSQL
I want to make a table together information from 3 tables. This table will be ordered by date (day/month/year Hours:Minutes) and visually speaking would look like this Table image For better…
-
0
votes1
answer111
viewsQ: Myviewholder with error
I’m studying about Recyclerview but when I try to execute the code it has a strange error. android.view.InflateException: Binary XML file line #43: Attempt to invoke virtual method 'boolean…
-
0
votes0
answers279
viewsQ: Error publishing project to Github by Android Studio
I’m trying to share a project I have in Android Studio with git but it always returns me the following error: Successfully created project 'nome' on GitHub, but initial push failed: Could not read…
android-studioasked Danilo 526 -
4
votes2
answers755
viewsQ: Where to store API connection credentials on Android
I wanted to know a suitable place to save the connection with the api (link, user and password), initially I was thinking of saving in an xml, but I believe that any user will have access to this…
-
2
votes2
answers2038
viewsA: How to transform text into input text when clicking?
the best way to do this is with javascript replacing the displaying field in an input, in your example already has javascript: window.onload = function(){ function editTitle(){ var title =…
-
1
votes1
answer680
viewsQ: fill out datatime field
I’m trying to fill in the input datetime-local but the field is blank, I tried to command the format american and brazilian but it doesn’t come at all. in the database is stored in American format:…
-
6
votes1
answer8546
viewsA: What is the difference between FTP, FTPS and SFTP protocols?
briefly: FTP: is the File Transfer Protocol without any kind of encryption, ie it is an unsafe mode. SFTP: SSH File Transfer Protocol, that is to say encrypted, this is a safer way in relation to…
-
0
votes1
answer77
viewsA: Amigavel URL does not allow accessing the index of the site
I believe the following code will work for you # BEGIN <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d…
-
1
votes1
answer54
viewsA: Formatting part of Textview in an event
To do this, you do not need to edit Textview but to insert code into its text, using the following example: String sourceString = "<b>" + texto+ "</b> " + texto;…
-
0
votes1
answer776
viewsQ: How to view HTML elements in an Android Textview?
I am developing an Api that returns some texts, but these texts have tag HTML, is bold <b> or line <P> would like to know what would be the best way to print this in a TextView, or if I…
-
1
votes1
answer117
viewsA: Error installing Mariadb
The image indicates that it is without space, need to clean it: First, check /tmp is empty. Then try to link the space of /home for /var/cache/yum/base/packages mount --bind /home/yum…
-
0
votes1
answer129
viewsQ: MVC standard for Controller in codeigniter
I have the following scenario, some models that will be accessed via administration (website) and via client (app), in the administration it will be able to read and write data and the customer only…
-
1
votes1
answer92
viewsA: MVC structure on remote server
You would have to set the document root as the public folder, example: Painel Cpanel So if the site was accessed like this tmp.dominio.com or domain.com/tmp he would actually be accessing the…
-
2
votes1
answer52
viewsQ: Where to put the Model code in php
I have some tables in my db between them are post_has_categoria post categoria in My Models I have Category.php and Contest.php where should be the sql responsible for the post_has_category?…
-
0
votes1
answer55
viewsQ: Fragments setArguments and getArguments error
I’m trying to pass some information from Activitymain to a fragement but android is complaining, in Activitymain I pass the values so: if (f_caixaTexto== null) { f_caixaTexto = new…
-
0
votes1
answer186
viewsA: Problem importing CSS fonts
Try importing and then adding, like this: @import url('http://www.projetogiulia.com.br/assets/css/font/Futura/Futura.ttc'); font-family: 'Futura', sans-serif; another way would be instead of using…
-
0
votes1
answer53
viewsA: How to Set the Update Language in Wordpress?
Two factors determine whether you will have one or several installation options on your screen: 1) is the languages set in wordpress (via interface) or via code define ('WPLANG', ''); present in…
-
0
votes1
answer1844
viewsQ: How to make text scroll on android screen
I’m wanting to put on a screen a large text. However I have a small problem when it comes to reading more, the text is simply cut and there is no way to scroll to continue reading. Someone tells me…
-
0
votes2
answers135
viewsA: How to upload an image that can be updated but still has the same name?
I think there are three solutions to this: If there is only one user: When the user changes the image you would have to delete the current photo and renew the new one with the name profilepic If…
-
2
votes2
answers396
viewsA: Recycle Bin, Draft and Pending Revision in wordpress, how do they work?
just leave the post in draft it will not be deleted, that line: define( 'EMPTY_TRASH_DAYS', 365 ); is about cleaning the posts that are already in the trash, the draft is not considered trash. I’m…
-
0
votes1
answer214
viewsA: Post on Facebook Fanpage with PHP
I saw some solutions in stackoverflow in English, see if it is useful for you: Facebook PHP SDK - Graph returned an error: Invalid Oauth access token Facebook SDK v5 Graph returned an error: Invalid…
-
0
votes2
answers331
viewsA: Should email HTML 5 still be done inside tables?
No problem people usually do so more for compatibility, depending on the email reader may not be compatible, some even send also the plain text version if the reader does not read html. remembering…
-
1
votes3
answers1270
viewsA: How do I not display the directory list?
I recommend the following readings: Blocking Apache directory lists here you need to edit the httpd.conf or apache.conf file and edit the code so it looks like the following: <Directory…
-
4
votes4
answers1390
viewsQ: How to change the dynamically displayed Layout
I want to do this, I currently have a Listview that is embedded within my activity_main.xml as follows: <include layout="@layout/lista_categoria" /> I would like to know a way to display…
-
0
votes2
answers555
viewsA: Select in Mysql by skipping simple quotes
you have to treat this entry by placing a function to put ' (against bar) in quotes and elements that can interfere with the sql query. I believe that link Block javascript and sql-Injection attack…
-
0
votes0
answers40
viewsQ: Listview does not present first item on android
Hi, how are you? i have a problem using android listview, I realize that it shows only from the second item, and in case of only one item in the list it shows nothing. I’ll show you my codes…