Questions tagged as 'android'

0
answers

Delete multiple records getContentResolver DELETE

This code eliminates call records with only one parameter and is functional. uri = Uri.parse("content://call_log/calls"); String seleccion= CallLog.Calls.NUMBER + " LIKE ?"; String[] mSelectionArgs = {"1111111111"}; int mRowsDeleted = 0; mRows...
asked by 13.01.2017 / 21:19
0
answers

Help Android Studio database

I am doing an App of test questions, in which 30 questions should be left with their possible markable answers in the same layout. My doubts are when I have to create a database. I have created the res -> raw folder where I keep the questions an...
asked by 17.01.2017 / 13:39
1
answer

How to delete margin in my AppBarLayout?

Good day. How could I eliminate margins or spaces? Thank you in advance This is the layout of the AppBarLayout <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:...
asked by 20.01.2017 / 00:16
1
answer

android: NavigationDrawer, return to the main fragment and not to the previous activity

I'm doing an app which has a Login and then enters the activity with the NavigationDrawer , I've already defined a Fragment so that with the interface starts, however when I find myself in another Fragment of the navigation a...
asked by 29.07.2017 / 00:19
1
answer

Do I have to create a Values / dimens.xml for each types of screen in android?

I have all these measures: 7 "screens - mdpi 3.2 "screens - mdpi. Therefore I try to create directories for each type of screen, but not all respond to their respective description, for example, in the case of tablets that are 1024px an...
asked by 29.01.2017 / 17:42
0
answers

Download files from a WebView in a Fragment in Android Studio [closed]

I have a project almost finished, which is an official application for the university. The only drawback is that the WebChromeClient does not allow it in the Fragment . In Main I have this code: Activity activity = this; webview...
asked by 28.01.2017 / 21:04
0
answers

Do not save the photo on the server with the selfie camera

I'm doing an app in android on a form that saves an image ... there is a button that redirects you to the gallery to put it as a profile photo ... the images that have been saved with the front camera if you save it on the server ... but I have...
asked by 08.03.2017 / 21:38
2
answers

Store a data type bool in an integer for DB

I need to store a boolean data in an integer, since I had seen that the SQLite android databases do not allow booleans. But I do not know how, it is to check if a RadioButton is marked, or vulgarly "checkeado". I tried this: int r1 = radio1.is...
asked by 09.03.2017 / 00:13
1
answer

Make the image of a FrameLayout fill the entire screen.

Cordial greeting, I am designing a Navigation Drawer application, the ContentMain I have it with a background image, my ideal is that by clicking on any option the same image appears much more attenuated, for this I put in the fragment the sa...
asked by 09.03.2017 / 03:27
0
answers

Questions about Android programming [closed]

I am interested in software development for Android , but I feel a bit lost, so I have a couple of questions: Where should it start? What languages are there for Android? (Apart from Java) Which language is the best to work on this...
asked by 10.03.2017 / 16:05