Posts by Douglas William • 321 points
29 posts
-
0
votes2
answers160
viewsQ: Sharedpreferences - Firebase android
I am logging in normally but quado close application, back to login screen. I’m trying to run sharedPreferences but I’m not successful. public static final String PREF_NAME =…
-
0
votes1
answer583
viewsQ: Ionic 3 queries using Angularfire2
I’m trying to perform a search with Ionic 3 + Angularfire2. I have a list of all the data from firebase, but I can’t filter this data, it does not return me anything. ts. import {…
-
1
votes1
answer241
viewsQ: FIREBASE WARNING: Using an unspecified index
I’m getting following error: FIREBASE WARNING: Using an unspecified index. Consider Adding ". indexOn": "rota" at /motoristas to your security Rules for Better performance Firebase rules: { "rules":…
-
0
votes0
answers108
viewsQ: E-mail cangularjs 2 + Php
I’m trying to send email but I’m not getting. My php class require("phpmailer/class.phpmailer.php"); $mail = new PHPMailer(); $mail->SetLanguage("br", "libs/"); // ajusto a lingua a ser…
-
0
votes1
answer1009
viewsQ: Send contact to email with Laravel?
This sending all page to e-mail, but does not send the information of input? Controller public function store(Request $request) { Mail::send('template.contato', array ( 'nome' => $request ->…
-
0
votes1
answer268
viewsQ: The Bug class doesn’t exist?
I’m making the following mistake: Reflectionexception in Container.php line 731: Class App Defeito does not exist I’m using Laravel 5.4, I’ve checked apparently this all right. Code: Defeito.php…
-
1
votes1
answer76
viewsQ: Error: Uncaught Ionic 2
I have this: let loader = this.loadingCtrl.create({ dismissOnPageChange: true, }); loader.present().then(authData => { let alert = this.alertCtrl.create({ title: '', message: 'Cadastrado com…
-
0
votes1
answer81
viewsQ: Angular forms 2
I have a screen called login on the same screen I have two Forms one with user and password and another only with email field. In the first form I have this snippet of code: <a href="#"…
angularasked Douglas William 321 -
0
votes1
answer847
viewsQ: Typeerror: Cannot read Property 'files' of Undefined
I have following code snippet for upload Storage firebse I am using typescript. uploadPhoto(photo) { //Get File this.file = photo.files[0]; // Erro nessa linha this.metadata = { 'contentType':…
firebaseasked Douglas William 321 -
3
votes2
answers139
viewsQ: Typescript Error Ionic 2
Following Error: Type 'typeof Loginpage' is not Assignable to type 'typeof Homepage'. Code: import { LoginPage } from '../pages/login/login'; if(user) { this.rootPage = HomePage; } else {…
-
2
votes1
answer973
viewsQ: Generators are only available for Ionic 2 Projects
I cannot solve following error: Generators are only available for Ionic 2 projects (CLI v2.1.8) Your system information: Cordova CLI: 6.4.0 Ionic CLI Version: 2.1.8 Ionic App Lib Version: 2.1.4…
-
3
votes1
answer269
viewsQ: HTML with Laravel 5.2
I have a button in my index. I want to call another page as I do in Aravel 5.2 ? It would be through the routes ?
-
0
votes1
answer91
viewsQ: Route order in Laravel 5
I’m starting at the Larable, I have the following routes: Route::get('/', function () { return view('indextemplate'); }); Route::get('/', function () { return view('footer'); }); Route::get('/',…
-
2
votes1
answer86
viewsQ: Laravel Template Help!
I have two Blade.php files and I’m not being able to see the content in the browser. @extends('layouts.index') @section('content') @parent <div class="container"> <div class="row">…
laravelasked Douglas William 321 -
0
votes0
answers46
viewsQ: Fatal error: Class 'Viewcontroller' not found
Structure of my project In my Imports.php file I have the following code: //UTIL require_once 'util/Constants.php'; require_once 'util/Page.php'; //Control require_once 'control/ViewController.php';…
phpasked Douglas William 321 -
1
votes1
answer299
viewsQ: Error install Ionic on Ubuntu
When I will install Ionic give Following error: npm ERR! Linux 4.2.0-35-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "cordova" "ionic" npm ERR! node v5.10.1 npm ERR! npm…
ionicasked Douglas William 321 -
0
votes1
answer77
viewsQ: Android - Sharedpreferences
It’s not working my sharedPreferences. public static final String PREF_NAME = "TelaApresentacaoActivityPreferences"; @Override protected void onCreate(Bundle savedInstanceState) {…
androidasked Douglas William 321 -
0
votes1
answer186
viewsQ: Error android.database.sqlite.Sqliteexception
This method of my Activity: private void loginEmailSenha() { editTextEmailLogin.setError(null); editTextSenhaLogin.setError(null); controllerUsuario = new ControllerUsuario(this); String email =…
-
1
votes0
answers867
viewsQ: How to leave Imagebutton edges rounded?
My XML: <item> <shape> <gradient android:angle = "270"/> <corners android:radius = "25dp"/> <padding android:left="5dp" android:top="5dp" android:right="5dp"…
androidasked Douglas William 321 -
0
votes0
answers74
viewsQ: Sqlite android.database.sqlite.Sqliteexception
I’m making the following mistake: android.database.sqlite.Sqliteexception: near "@test": syntax error (code 1): , while compiling: SELECT [email protected], test FROM usuario WHERE email =…
-
0
votes0
answers372
viewsQ: android.view.Inflateexception: Binary XML file line #16: Error inflating class android.support.design.widget.Navigationview
I can’t make a mistake: android.view.Inflateexception: Binary XML file line #16: Error inflating class android.support.design.widget.Navigationview <include layout="@layout/app_bar_options_user"…
androidasked Douglas William 321 -
0
votes1
answer445
viewsQ: Edittext Android Studio
I Have Next Edittext: <EditText android:layout_width = "match_parent" android:layout_height = "wrap_content" android:id = "@+id/textSenha" android:layout_marginTop="40dp" android:hint =…
androidasked Douglas William 321 -
2
votes1
answer6645
viewsQ: How to call a Fragment from an Activity button
I have three Ragments and an Activity. In this Activity I have a button, how do I call a Fragment from that button ? I have a Fragment that has a button from that button I need to call another…
androidasked Douglas William 321 -
0
votes2
answers5089
viewsQ: Find the Sqlite database folder in android studio
How to find the database folder in android studio ? Already tried tools -> Android -> Android device Monitor, the data folder is empty.
-
2
votes1
answer90
viewsQ: android.widget.Framelayout$Layoutparams cannot be cast to android.support.v4.widget.Drawerlayout$Layoutparams
I’m trying to close the Drawer when I click on an item, however I’m getting the error: android.widget.FrameLayout$LayoutParams cannot be cast to android.support.v4.widget.DrawerLayout$LayoutParams…
androidasked Douglas William 321 -
0
votes1
answer526
viewsA: Foreign key php database
$query = "INSERT INTO " . $this -> name_entity . "("; $sep = ""; foreach ($fields as $field) { $query .= $sep . $field; $sep = ", "; } $query .= " ) VALUES ( "; …
-
0
votes1
answer526
viewsQ: Foreign key php database
create table cliente ( id_cliente integer auto_increment, nome varchar (100), primary key (id_cliente) ); create table produto ( id_produto integer auto_increment, id_cliente integer, nome_produto…
-
1
votes1
answer156
viewsQ: Facebook Android Studio
I am with following error I could not find a solution: Error:(15, 0) Could not find Property 'ANDROID_BUILD_SDK_VERSION' on project ':facebook'. I’m using Android studio 1.2.2. build.gradle: apply…
android-studioasked Douglas William 321 -
2
votes1
answer44
viewsQ: Postgresql PHP query
Member of my group who has left us with problems. When I execute the following command: Query: $query = "SELECT c.destino, c.origem, cc.data, cc.informacoes FROM " . $this -> name_entity . " c, "…
phpasked Douglas William 321