Questions tagged as 'android'

1
answer

Display colors in percentage

I'm trying to make an app to take a photo, display it in imageview, and extract the colors with the Palette library. All this I've done. What I need is to display the result (Population) as a percentage of the total, not the number of pixels. C...
asked by 11.03.2016 / 15:28
1
answer

How to retrieve values from EditText created via script?

I have the following code that creates 4 EditText in Layout: LinearLayout myLayout = (LinearLayout) findViewById(R.id.formulario); ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams( ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.La...
asked by 11.01.2016 / 04:24
2
answers

Android, how to do security in JSON?

Use Volley to do POST request to a url that returns user data ... But to see this data, creating a simple html form with action set for the url 192.168.0.101/project/user.php. Hi, I have a JSON application that I want to use. NOTE: I used header...
asked by 29.08.2016 / 03:52
1
answer

Use a class in another class

Good morning. I'm new to Java, but come on. I have a java class and need to use all of its methods in another main class. There is a problem, I'm already using an extends in both classes. I need to use all methods of this class (I pu...
asked by 04.12.2015 / 15:46
1
answer

How to add a buffer to google map v2?

I followed several tutorials and one of them worked, but when I compile the normal fragment appears with the name google in the lower left corner of the screen (normal), but nothing map :( ... When I'm in a good connection with the internet ther...
asked by 10.10.2015 / 20:47
1
answer

Change Fragment from Click

I'm trying to get my app to display a new Fragment from a click. The message is printed on the console when I click the button, but the fragment does not change. @Override public View onCreateView(final LayoutInflater inflater,...
asked by 29.09.2015 / 04:37
1
answer

Are there any keyword rules on Google Play?

How do keywords work on Google Play? Is there any way to enter keywords? Or does it use the App description?     
asked by 24.10.2015 / 01:32
1
answer

Splash Screen Mobile

I'm trying to define Splash Screen in my developed apk with Cordova but I'm not getting it, I'm following the documentation available on the official website but it does not work, my doubts are as follows: Is the config.xml file that I need to...
asked by 21.10.2015 / 21:40
2
answers

How do I turn on the camera flash?

I can not activate the camera flash to use as a flashlight. The code I'm running has taken from tutorials on the internet. package com.getten.home; import android.hardware.Camera; import android.os.Bundle; import android.support.v7.app.Action...
asked by 01.09.2015 / 01:50
1
answer

Android Xzing library (read barcode) with fragment

My application worked perfectly with Zxing, after implementing fragment, the barcode reading stopped working. I tried configuring the return in the fragment, in the activity ... but I was not successful. Has anyone been able to do this implement...
asked by 09.07.2015 / 04:44