Erro no banco de dados do WordPress: [Invalid default value for 'deleted_at']
CREATE TABLE IF NOT EXISTS `wEADp_scf_leads` ( `id` mediumint(30) NOT NULL AUTO_INCREMENT, `field` text NOT NULL, `meta` text NOT NULL, `created_at` timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, `deleted_at` timestamp DEFAULT NULL, `note` text NOT NULL, PRIMARY KEY (`id`) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;

Erro no banco de dados do WordPress: [Table 'fenixmul_ead.wEADp_scf_leads' doesn't exist]
SHOW COLUMNS FROM wEADp_scf_leads LIKE 'form'

Erro no banco de dados do WordPress: [Table 'fenixmul_ead.wEADp_scf_leads' doesn't exist]
ALTER TABLE wEADp_scf_leads ADD COLUMN form text NULL DEFAULT NULL

Erro no banco de dados do WordPress: [Table 'fenixmul_ead.wEADp_scf_leads' doesn't exist]
SHOW COLUMNS FROM wEADp_scf_leads LIKE 'form_id'

Erro no banco de dados do WordPress: [Table 'fenixmul_ead.wEADp_scf_leads' doesn't exist]
ALTER TABLE wEADp_scf_leads ADD COLUMN form_id mediumint NULL DEFAULT NULL

Erro no banco de dados do WordPress: [Table 'fenixmul_ead.wEADp_scf_leads' doesn't exist]
SHOW COLUMNS FROM wEADp_scf_leads LIKE 'widget_id'

Erro no banco de dados do WordPress: [Table 'fenixmul_ead.wEADp_scf_leads' doesn't exist]
ALTER TABLE wEADp_scf_leads ADD COLUMN widget_id mediumint NULL DEFAULT 1

(app android aula 13) Erro mailto: android Webview - Marketing Digital Fênix Mult

(app android aula 13) Erro mailto: android Webview

Ao clicar em um link de e-mail da um erro no webview como mostra abaixo :'(

Screenshot_20220417-225955-473x1024 (app android aula 13) Erro mailto: android Webview

como arrumar esse erro

Screenshot_20220417-225405-473x1024 (app android aula 13) Erro mailto: android Webview

ao clicar no link de email abrir o app de email 
aqui no exemplo também colocamos um link de telefone se tiver na pagina tel:

copie o código abaixo e substitua no lugar onde mostra a imagem:

if (url.startsWith("tel:")) {
    Intent tel = new Intent(Intent.ACTION_DIAL, Uri.parse(url));
    startActivity(tel);
    return true;
}
else if (url.contains("mailto:")) {
    view.getContext().startActivity(
            new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
    return true;

}else {
    view.loadUrl(url);
    return true;
}

Screen-Shot-2022-04-17-at-23.29.04-1024x616 (app android aula 13) Erro mailto: android Webview

ficando assim:

Screen-Shot-2022-04-17-at-23.30.20-1024x616 (app android aula 13) Erro mailto: android Webview

Facebook Comments Box

Share this content:

You May Have Missed