Posts by Premiere • 333 points
15 posts
-
4
votes2
answers122
viewsA: android.permission.MODIFY_PHONE_STATE - How to assign system permission?
This permission is only for system applications! No other application may use this permission other than the system. What you need to do?
-
0
votes1
answer118
viewsQ: PHP standardization Fig Namespaces
I have a PHP application with my mvc framework and follow the following template: Namespace Diretorio Desc Nautilus\ root/Nautilus/src/Nautilus_Web/ Aplicação principal Nautilus\Service…
-
0
votes2
answers1260
viewsA: Restart script after load() function
Recently I had the same problem with the company project here which is totally dependent on ajax, only way to solve was to run them again. Note that before binding the click I thinning, avoiding…
-
3
votes2
answers83
viewsA: Responsibilities of the View
In no way would it be bad practice View’s job is exactly this, display the data and these types of validations, which are more than normal, are required. Regarding the security issue, no, because…
-
2
votes3
answers1277
viewsA: Differences between Padding and Margin
Works the same as in HTML/CSS. So much margin and padding regarding the layouts Absolute and Relative. Using the margin on an element you give to the element the spacing defined from the parent…
-
2
votes3
answers2593
viewsA: Hide the destination URL
Forget it! If you encrypt someone you can decrypt, if you overshadow someone you can un-fuse (there is this word?). If the problem is the user accessing a direct page by the address you should check…
-
0
votes2
answers44
viewsA: Planning to update Android messages
Since you need the Activity independent service you cannot create it coupled (binded services) to Activity. Send a service broadcast and receive on Activity saying that the data has been updated.…
-
1
votes1
answer193
viewsA: Variable must provide either Dimension Expression or an array initializer Syntax error on token, misplaced Construct
Stack! In any case try so: String[] alunos = new String[] {"Aluno 1", "Aluno 2", "Aluno 3"}; ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(this,…
-
0
votes2
answers1470
viewsA: How to find out if the session has expired?
Since the server does not have a persistent connection to the client you can create a timer in javascript with the same duration of the Session on your server. When you reach this time you display…
asp.net-mvc-5answered Premiere 333 -
0
votes5
answers1501
viewsA: How to take the name of the variable used in the function argument?
in script3 declare the variable with the same name global, class or not that will access script3 will work!
-
1
votes2
answers830
viewsA: problem with namespace when running project
Where is the definition of the class "Viewclass"? Assuming you misspelled you extending the View will not work as the file containing its definition is not being included in the file it uses…
-
4
votes2
answers1797
viewsA: Develop for iOS using C# in Visual Studio
Yes, for several reasons: Application development for Mac, Windows and Android with the same code Good development tool (Xamarin Studio and Visual Studio) Direct integration with emulators…
-
1
votes1
answer692
viewsA: Java Android Merging Projects
Add the project as a module of your main application (the one that will make use of the Resources) and mark to be compiled together with the project. This will allow you to access the included…
-
1
votes1
answer332
viewsA: Good Practice Fragment and Service
There are several points to weigh. In fact @Piovezan not bad, depends on what needs to be done. If you need to perform functions independent of Activitys create the service without bind, so even…
-
1
votes4
answers3935
viewsA: Automated tool to join multiple style sheets (CSS) into 1 and to join Scripts (JS) into 1 Sheet only
Log in to this site and upload multiple files. http://refresh-sf.com/yui/ Soon the site will be moved, there is a new address being informed on the page, add to your favorites.…