What is the AOSP Android 7 OTA for Fire 7 2019

I have a Fire 7 9th Gen (mustang) and I did TWRP and Lineage os. I want 100% Stock AOSP Android 7 with ZERO Modifications. Is there a ROM/OTA for that? Thanks.

google pixel – Navigation bar no longer hides in some games since Android 11

Since updating to Android 11, I’ve noticed some games I used to play no longer hide the navigation bar as expected. Some apps, however, work as expected.

One game in question I have is Carmageddon, with the navigation bar visible on the right.

I have tried:

  • Checking for updates (no update since 2017)
  • Swiping from top, left, right, bottom
  • Restarting phone

Is there a way to restore the original behavior where this game would be able to hide the navigation bar?

Carmageddon with navigation bar visible on right

Declare certificate purposes in Android

In android api 22 I can use only this function to create keys and certificate:

Calendar notBefore = Calendar.getInstance();
                Calendar notAfter = Calendar.getInstance();
                notAfter.add(Calendar.YEAR, 2);
                
                KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getApplicationContext())
                        .setAlias(KEY_ALIAS_CSR)
                        .setKeySize(2048)
                        .setSubject(new X500Principal(
                                "CN=Your Company ," +
                                " O=Your Organization" +
                                " C=Your Coountry"))
                        .setSerialNumber(BigInteger.ONE)
                        .setStartDate(notBefore.getTime())
                        .setEndDate(notAfter.getTime())
                        .build();

                KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore");
                generator.initialize(spec);
                generator.generateKeyPair();

I there possibility to set Purpose_Sign of this certificate?

In Api > 23 is easy:

 KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance(
         KeyProperties.KEY_ALGORITHM_RSA, "AndroidKeyStore");
 keyPairGenerator.initialize(
         new KeyGenParameterSpec.Builder(
                 "key1",
                 KeyProperties.PURPOSE_SIGN)
                 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512)
                 .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_RSA_OAEP)
                 .build());

updates – Where are the download images for Android?

I’m attempting to update my older Samsung 10.1 to a newer version of Android (7.1) which has been confirmed on a few sites that it’s working.

However, the only download links I’ve found are on sites I’m not so sure I trust to download Android. I want to get it directly from Google/Android.

Does anyone know how to get the OS APKs?

youtube – How to be able to keep music playing in the now only Google music subscription app (YT Music) after “Clear All” in Android phone?

Google is or has shut down Google Play Music even for paying subscribers, forcing us to a video-centric Youtube music platform, in which you have to actively set it up to prevent videos from playing at the same time as the music, and where everything is, oh well… just different.

Google Play Music kept on playing whatever song, album or playlist was in use even after closing all open apps in one single swoop by pressing on “Clear All” on an android phone.

This is no longer so in YT Music – closing whatever mess of open apps may be draining your battery also results in the music stopping.

Is there any way of preventing this? Ty

android 11 – Unable to share photos

I just “upgraded” my Pixel3a to 11. Now I can’t share photos from my piktures (yes, that is how it’s spelled) photo management app via Messages or Gmail. Tapping the share button presents only two options: ‘Nearby share’ and ‘bluetooth’. In Android 10, I was greeted with many apps.

I was able to briefly get Messages and Gmail to show up in the list by going to those apps and attaching photos from there. Alas, those apps are no longer visible from piktures. The problem with attaching photos from those apps is that they show the newest photos first. While that is often the right answer, sometimes I want to share an older photo and it is very tedious to scroll and scroll in the hopes of finding it.

As a side note, I can no longer delete photos from piktures either.

Is there a setting somewhere that allows me to share from piktures?

android development – Error class, interface, or enum expected in java

I kept getting this “error: class, interface, or enum expected”. People said it’s because misplacement of { or wrong pairs. But i counted it and it’s all right pairs. Here is my code. Thanks for your help.

Error part is last @override one. Public boolean ~ String url).

(It looks like your post is mostly code; please add some more details.)
(It looks like your post is mostly code; please add some more details.)
(It looks like your post is mostly code; please add some more details.)
(It looks like your post is mostly code; please add some more details.)

package com.stockbutler;

import androidx.appcompat.app.AppCompatActivity;

    import android.content.Intent;
    import android.net.Uri;
    import android.os.Bundle;
    import android.view.KeyEvent;
    import android.webkit.WebView;
    import android.webkit.WebViewClient;

    import java.net.URISyntaxException;

public class MainActivity extends AppCompatActivity {

private WebView webView;


@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    webView= (WebView) findViewById(R.id.webview);
    webView.setWebViewClient(new WebViewClient());
    webView.getSettings() .setJavaScriptEnabled(true);
    webView.loadUrl("https://stockbutler.ga/");
}

@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
    if (event.getAction()== KeyEvent.ACTION_DOWN){
        switch (keyCode){
            case KeyEvent.KEYCODE_BACK:
                if (webView.canGoBack()){
                    webView.goBack();
                }
                else{
                    finish();
                }
                return true;
        }
    }
    return super.onKeyDown(keyCode, event);
    }
}




@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)
{if (url != null && url.startsWith("intent:")) {
    try {
        Intent intent = Intent.parseUri(url, Intent.URI_INTENT_SCHEME);
        Intent existPackage = getPackageManager().getLaunchIntentForPackage(intent.getPackage());
        if (existPackage != null) {
            startActivity(intent);
        } else {
            Intent marketIntent = new Intent(intent.ACTION_VIEW);
            marketIntent.setData(Uri.parse("market://details?id=" + intent.getPackage()));
            startActivity(marketIntent);
        }
        return true;
    } catch (Exception e) {
        e.printStackTrace();
    }
} else if (url != null && url.startsWith("market:")) {
    try {
        Intent intent = Intent.parseUri(url, Intent.URI_INTENT_SCHEME);
        if (intent != null) {
            startActivity(intent);
        }
        return true;
    } catch (URISyntaxException e) {
        e.printStackTrace();
    }
}
    view.loadUrl(url);
    return false;
}

button – Vários botões para abrir a mesma activity e mudar a textview em android

Olá pessoal estou a começar a programar em android.
Tenho vários botões em uma activity e preciso que em cada botões que eu clicar abre uma mesma activity e altera a textview

Eu tentei assim:

Activity1

t1.setOnClickListener(new View.OnClickListener() {

public void onClick(View v) {
 Intent intent = new Intent(activity1.this, activity 2.class);
    String a = "vida";
                    
intent.putExtra("a", a); 
     startActivity(intent);
        }
    });
     
     t2.setOnClickListener(new View.OnClickListener() {
            
    public void onClick(View v) {
    Intent intent = new Intent(Activity1.this, Activity2.class);
String b = "Morte";
                        
intent.putExtra("b" ,b ); 
    startActivity(intent);            
                
            }
        });

Segunda activy

Intent intent = getIntent();
String t1 = intent.getStringExtra(“b”);
TextView tt1 = (TextView) findViewById(R.id.text);
tt1.setText(t1);

Intent intent1 = getIntent();
String t2 = intent.getStringExtra(“a”); TextView tt2 = (TextView) findViewById(R.id.text);
tt1.setText(t2);

Mas quando clico no segundo botão a activity2 aparece vazia.

BITCOIN SWITCH | MAKE 10$/DAY OF BITCOIN USING YOUR ANDROID DEVICE | WITH PAYMENT PROOF |

Bitcoin Switch is new android game available ONLY on android . If you are interrested in earning a big amout of bitcoin , just intall it from play store and start playing the game . When you reach 1500 coins (1500 coins = 0.00015 btc) , you can withdraw your earning view Coinbase only and trust me it took me like 25 minutes to get 1500 coins . To download the game from play store , click on this link :…

BITCOIN SWITCH | MAKE 10$/DAY OF BITCOIN USING YOUR ANDROID DEVICE | WITH PAYMENT PROOF |

java – SplashScreen no funciona. Android

Tengo una app funcionando y ahora le quise agregar motionLayout a mi splash screen para que tenga una aminación bonita pero, por algún motivo, dejó de funcionar. Ahora, cuando le doy click a run, en el virtual device me aparece por un par de segundos una pantalla blanca y luego la activity que le debería seguir al splash, saltandose por completo la primera activity.
Intenté deshacer todo volviendo al constraint layout para que vuelva a funcionar pero no lo hace. Le borré incluso el xml asociado al splash y creé otro (solo debería mostrar una imagen ahora) pero aun así no funciona.
Le agregué unos breakpoint al splash para ver si tenía algún error pero no para en ninguno, como que no ejecuta esa activity para nada.

Esta es mi SplashScreen (JAVA)

public class Splash extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_splash);

        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent = new Intent("independent.dev.ui.mainactivity");
                startActivity(intent);
                finish();
            }
        }, 1000);
    }

    @Override
    protected void onResume() {
        super.onResume();
    }
}

el código del layout del splash

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:background="@color/green">

    <ImageView
        android:id="@+id/imageView2"
        android:layout_width="300dp"
        android:layout_height="300dp"
        android:layout_marginStart="55dp"
        android:layout_marginEnd="55dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:srcCompat="@drawable/logo" />
</androidx.constraintlayout.widget.ConstraintLayout>

en el build.gradle tengo esto implementado
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'

en el manifest:

<activity
            android:name=".Splash"
            android:configChanges="orientation|keyboardHidden"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

Ayuda porfavor!!! no sé qué hacer para que ejecute esta activity