Posts by AndersonSouza • 339 points
19 posts
-
0
votes3
answers1096
viewsA: Getting a binary file and saving it again
My problem was at the time of creating the file. After I used "ISO-8859-1" it worked. outputStream.write(content.getBytes("ISO-8859-1")); That "ISO-8859-1" solved my problem!…
-
0
votes3
answers1096
viewsQ: Getting a binary file and saving it again
I’m running a test with a simple code, but it’s going wrong. I simply want to get the contents of a binary file that is an image (jpg), and save it again under another name. My code is this: String…
-
0
votes1
answer84
viewsQ: Using DB in Middleware Lumen
I am trying to get an instance of the DB class inside my Middleware and is giving the following error: Class 'DB' not found public function handle($request, Closure $next) { $results =…
lumenasked AndersonSouza 339 -
0
votes0
answers610
viewsQ: I’m updating the version of Cordova-android and it remains the same
I am trying to install a plugin in Cordova, but it is complaining that my version is not compatible. Fetching plugin "phonegap-plugin-push" via npm Installing "phonegap-plugin-push" for android…
apache-cordovaasked AndersonSouza 339 -
1
votes1
answer472
viewsQ: Authentification Laravel
I am studying the authentication part of Laravel and basing myself on the following documentation Laravel I followed every step: I set up the database I set the routes I put the Views When I walk…
-
1
votes2
answers45
viewsQ: Save user values to C#files
I am looking for some simple way to save user data to file in c#. In Java I always use the class Properties. I’m looking for something similar in C#, I already searched and found some answers but…
-
2
votes1
answer6290
viewsQ: Laravel - Creating select with Form::select + Model::lists
I’m trying to create a select with the following code: My controller is like this: public function create(){ $marcas = Marca::lists('descricao', 'id')->toArray(); return…
-
3
votes1
answer3702
viewsQ: Laravel - validate input arrays and return values in case of error
I am creating form using the following code: In the create.blade.php file {!! Form::open(['route'=>'orcamentos.store']) !!} {!! Form::text('descricao', null, ['class'=>'form-control',…
-
4
votes1
answer982
viewsQ: How to use Laravel Facades outside of its structure?
I am trying to use some classes of the "Laravel structure" in other files, but I am not succeeding. For example: I created a file public/teste.php with the following code: require…
laravelasked AndersonSouza 339 -
0
votes2
answers485
viewsQ: Error adding android platform in Cordova
I’m trying to create a project with Cordova. I already have everything installed, npm, Cordova sdk android and etc.. When I create a project in the directories of my pc, everything works normally.…
-
1
votes1
answer524
viewsQ: Doubt when using the inappbrowser Cordova plugin
I’m using the plugin inappbrowser so I can access from inside my webapp some pages that are on my server. So far so good, works perfectly, but I’m wanting to use another Ordova plugin inside those…
apache-cordovaasked AndersonSouza 339 -
1
votes1
answer575
viewsA: How to set a value in select that is mounted with ng-options
I kept testing here and found the solution. In my $Scope.client I was setting a type value number and it has to be like string. Ex: I switched it on: $scope.cliente = 1; That’s why: $scope.cliente =…
-
0
votes1
answer575
viewsQ: How to set a value in select that is mounted with ng-options
My HTML is like this: <select ng-model="cliente" ng-options="t.value as t.displayName for t in clientes"></select> In the Controller of my JS I have: $scope.clientes // objeto onde tem…
-
0
votes0
answers271
viewsQ: Problem installing Jasperreport Server 5.6.1 on Windwos 8.1
Good night! I am having trouble installing Jasperreportserver 5.6.1 on my Windows 8.1 with Java 8. I downloaded the Jasperreports Server from the link jasperReportsServer . I downloaded the…
-
1
votes1
answer666
viewsQ: How to use ksoap2 library
I have the following situation, I have a PHP server: class Teste { function obtemStatus(){ return 'ok'; } } $server = new SoapServer(null, array('uri'=>'http://test-uri/'));…
-
4
votes1
answer764
viewsQ: How to allow my app to be moved to memory card?
All the applications I’m developing of tests do not allow me to move them to the memory card. Is there any way to do this? You have to ask for some permission on Manifest.xml? I put the property…
androidasked AndersonSouza 339 -
2
votes1
answer654
viewsA: Add data to a database via a link
There are several ways to do this, one is like the our colleague put: simply point out the href from your link to PHP that does this Insert. Another way is to run asynchronously using Javascript…
-
0
votes2
answers1317
viewsA: How to get info from one column of the database via the GET method I receive from another page.
First you have to have a connection to the database, then just do the query and go through the returned records if they exist. Take a look at these functions mysql_connect, mysql_query,…
-
0
votes1
answer747
viewsQ: Problem with Google Maps when creating . apk
I’m creating an app for Android that uses the Google Maps API. Just that I’m having problems when I create the . apk and install on mobile, is giving this error: 09-18 16:05:07.631…