I'm doing an algorithm that converts a bitmap leaving it in shades of gray.
I was able to do it using for but I would like to do it recursively.
Using for (This is working fine)
//BUTTON - ON CLICK . . .
public void go(View v){
//...
I've created a class to make it easier to use Dialogs, and I'd like to know if you can simplify it even further.
My Class looks like this:
public class FVRDialog {
private Activity act;
private Context context;
private AlertDial...
Someone can help: How to increase and decrease seekBarHomem's progress through Button action?
@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);tv_QtdHomem=(Tex...
Is there any way when I call the virtual keyboard ( SoftKeyboard ) set the cursor position?
I have a EditText that already is filled by default the number 10 , when the keyboard starts I want the cursor to be just after...
I'm studying MVP and I was unsure how I should structure my packages on android. On the internet I found this template, but I do not know if it's the best
github project .
How can I get my code back to what it was before I did something wrong in android studio?
Apparently I deleted my code and there is only the gradle script. How can I recover it?
How to put this Toast to last only a few seconds? For example, 10 seconds.
if (mEmail.equals(email) && mPassword.equals(password)) {
Intent intent = new Intent(LoginActivity.this, MainActivity2.class);...
Hello, I need to insert a ScrollView into the entire layout . But I can not. Here's my code.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http:/...
I'm trying to use a Dialog but the following message appears
Follow my code
package com.example.gustavo.vigilantescomunitarios;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.Nullable;
import andr...