Questions tagged as 'android'

0
answers

EditText does not open the keyboard within the listView

A listView was created within a dialog and I placed in front of each information a EditText , but when I click on EditText to change the information it puts the cursor inside EditText , but not% open the keyboard...
asked by 27.10.2017 / 15:07
1
answer

Fit Image / Bitmap to ImageView or adjust ImageView to Image / Bitmap

I'm trying to create a menu screen something like this: Tomakethiscutdiagonally,Imadethisimagetostayontopofthebackground: However,inAndroidStudio,Icannotscaletheimagetofilltherequiredspaceonthescreen,I'musingConstraintLayoutandtryingtoenlarg...
asked by 29.10.2017 / 01:35
1
answer

event onclik () Error opening camera

I'm developing an android application that has an event on Button to open the camera: In AndroiManifest.xml <!-- Permissão para acessar a área de memória externa --> <uses-permission android:name="android.permission.WRITE_E...
asked by 16.11.2017 / 22:06
1
answer

Autoincremet in SQLite is not working on Android

Autoincrement is not working on my tables in SQLite. Table: db.execSQL("create table usuario(_idUsuario integer primary key autoincrement, nome text not null, email text not null, senha text not null)"); Insert: public String insertUsu...
asked by 16.11.2017 / 17:59
1
answer

Progress Dialog during download

I use the following method to download an image. public void downloadFile(String uRl, String title, String description) { File direct = new File(Environment.getExternalStorageDirectory() + "/FPSWallpapers"); if (!direct....
asked by 17.11.2017 / 16:23
2
answers

I can only resolve dependencies if I use '+' in the versions of the Libraries

22 Dec 2017 Error that occurred while offline AfterswitchingtoOnlineWork ORIGINAL:I'vebeentryingtoavoiddoingitthisway:dependencies{compilefileTree(include:['*.jar'],dir:'libs')compile'com.android.support:appcompat-v7:26.+'Becausetheuseof'+'is...
asked by 02.12.2017 / 18:50
1
answer

Receiving notifications within an activity

I can send a Firebase notification to my App but when I open that same notification it does not open within the Activity I want. How do I direct this notification to the activity so that I can see the message sent from Firebase?     
asked by 07.12.2017 / 13:44
0
answers

How to insert runtime permission into a webview that gets the user's location?

So I'm starting to create a webview and the site I'm basing on has an option to get the coordinates of a certain location, on the site this works perfectly, but when I put in APP it opens the Google maps (which is what I want) only that it...
asked by 03.12.2017 / 04:22
2
answers

Error when calling activity [closed]

main Activity import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Toast; public class principal extends AppCom...
asked by 10.12.2017 / 16:00
0
answers

Show notifications on any screen

I have an app and want to make it show a pop-up style notification, like WhatsApp and / or iOS reminders, but with a custom layout. I've tried and so far nothing, does anyone have any idea how to do? Example:     
asked by 09.12.2017 / 13:33