To develop a side menù bar like Gmail Android App

Which is the component used to develop the side bar on Gmail Android App ? It seems a Navigation rail but animated like a Navigation drawer.
I want to recreate the same effect but I don’t know how.

google play store – How can I download the last supported/compatible version of an app by knowing the Android OS version?

I have a very old samsung phone (Galaxy Ace) which runs Android Eclair. Surprisingly, Google Play and other apps still work and connect to the Internet, but there’s a few problems. I had to hard reset it a few times, and all the apps I had were removed. Until last year or so, most of the apps were still compatible with my phone, but now they just can’t be installed (they require a later version of Android I suppose, since it says “your device isn’t compatible with this version”).

So what I’m trying to do is to install every single app from an APK file, which I would download from the Internet. The thing is, I waste a lot of time looking for the latest supported version. This means I don’t want an older version, I want the exact last version that was compatible. iOS has this feature, if you previously “purchased” an app you can actually download the last compatible version, but I don’t know how to do this on Android.

Do I have to keep looking for the correct app version or can I get the last compatible version?

permission – Android Studio on Mac fails to build with: (Operation not permitted)

I’m facing a persistent issue when trying to build my app on Android Studio. This happens every time I make a code change and then attempt to build.

I can temporarily fix the issue by invalidating the cache and restarting + cleaning + rebuilding. But then I make another code change and the issue arrises again.

Here is a part of the stack trace:

Caused by: /Users/Kes.Walker/.../app/build/intermediates/javac/productionDebug/classes/.../databinding/ExpandedEventItemBinding.class (Operation not permitted)
... 28 more

Note that the error will come up for different classes each time, it is not an issue with the contents of the class. But the issue does seem to always come from the app/build/ directory.

I am running this on the following Android Studio version:

Android Studio 4.2
Build #AI-202.7660.26.42.7322048, built on April 29, 2021
Runtime version: 11.0.8+10-b944.6916264 x86_64
VM: OpenJDK 64-Bit Server VM by N/A
macOS 10.16
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12

I figure maybe this is a permissions issue? But I have admin rights on this PC and have granted Android Studio full disk access.

android – How can I found out why my app crashes if logcat show no reason?

I have an app that processing some pdf files in background and suddenly it crashes with no ’caused by’ description. Tried with real devices, new emulators, restarted pc and so on. enter image description here
Never had something before and I don’t know where to search for the root cause.

I will develop IOS and android applications, pwa, taxi app for $125

I will develop IOS and android applications, pwa, taxi app

We have vast experience in building custom mobile apps using latest technologies and have created 1200+ apps for 400+ clients across the world.OUR EXPERTISEWith an experience of I have developed numerous apps such as:

  • On-Demand Apps
  • Food Delivery / Table Reservation Apps
  • Social Networking / Dating Apps
  • Chatting Applications
  • Real Estate Apps
  • Online Music Apps
  • Appointment Booking Apps
  • Travel & Entertainment Apps
  • Map Based Apps
  • Education / Online Tutoring Apps
  • Gift Cards / Loyalty Cards Apps
  • Taxi APP / Property / Attendance / 37 Games
  • Inspection Service Platform, and a lot more …


  • Collect & Analyze Client Requirements
  • Wireframing App Flow
  • App Designs / App About Website
  • App Development
  • QA & Testing
  • Maintenance & Support

App design: icon, slash screen, home page and buttons, link to your sites and social media, shop products.Contact me for a advanced custom design***BOOK NOW***


Disabling screenshots systemwide – Android Enthusiasts Stack Exchange

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

How to access texts on rooted android device from terminal

How do I access text messages on my rooted device using the command line?

I specifically want to extract a text transcript, without using any cloud services and possibly exposing sensitive or personal info.


Me sale este error
error: method getPushToken in class PushUtils cannot be applied to given types;
params.put(“tokenfcm”, String.valueOf(getPushToken(getApplicationContext())));
required: Context,GetPushTokenHandler
found: Context
reason: actual and formal argument lists differ in length

Context context;
private static final String APP_FCM_ID = “”;

public interface GetPushTokenHandler {
    void onResult(String token, SendBirdException e);


public static void getPushToken(Context context, final GetPushTokenHandler handler) {
    Log.i(BaseApplication.TAG, "(PushUtils) getPushToken()");

    String savedToken = PrefUtils.getPushToken(context);
    if (TextUtils.isEmpty(savedToken)) {
        FirebaseMessaging.getInstance().getToken().addOnCompleteListener(task -> {
            if (!task.isSuccessful()) {
                Log.i(BaseApplication.TAG, "(PushUtils) getPushToken() => getInstanceId failed", task.getException());
                if (handler != null) {
                    handler.onResult(null, new SendBirdException((task.getException() != null ? task.getException().getMessage() : "")));

            String pushToken = (task.getResult() != null ? task.getResult() : "");
            Log.i(BaseApplication.TAG, "(PushUtils) getPushToken() => pushToken: " + pushToken);
            if (handler != null) {
                handler.onResult(pushToken, null);
    } else {
        Log.i(BaseApplication.TAG, "(PushUtils) savedToken: " + savedToken);
        if (handler != null) {
            handler.onResult(savedToken, null);
    SharedPreferences preferencias = context.getSharedPreferences("datos", Context.MODE_PRIVATE);
    SharedPreferences.Editor Obj_editor = preferencias.edit();
    Obj_editor.putString(APP_FCM_ID, savedToken);


public interface PushTokenHandler {
    void onResult(SendBirdException e);

public static void registerPushToken(Context context, String pushToken, PushTokenHandler handler) {
    Log.i(BaseApplication.TAG, "(PushUtils) registerPushToken(pushToken: " + pushToken + ")");

    SendBirdCall.registerPushToken(pushToken, false, e -> {
        if (e != null) {
            Log.i(BaseApplication.TAG, "(PushUtils) registerPushToken() => e: " + e.getMessage());
            PrefUtils.setPushToken(context, pushToken);

            if (handler != null) {

        Log.i(BaseApplication.TAG, "(PushUtils) registerPushToken() => OK");
        PrefUtils.setPushToken(context, pushToken);
        if (handler != null) {

public static void registerPushHandler(MyFirebaseMessagingServices handler) {

public static void unregisterPushHandler(SendBirdPushHelper.OnPushRequestCompleteListener listener) {

public static void setPushNotification(boolean enable, SendBird.SetPushTriggerOptionHandler handler) {
    SendBird.PushTriggerOption option = enable ? SendBird.PushTriggerOption.ALL : SendBird.PushTriggerOption.OFF;
    SendBird.setPushTriggerOption(option, handler);

Me gustaria enviar mi token desde mi php a mi base de datos para poder actualizar los token de mis usuarios y poder enviarle notificaciones, y otros eventos

Copying WhatsApp chat history to new Android

There have been many questions asked and answered on this topic but unfortunately I’ve not found one that addresses my issue.
I have read that to transfer the WhatsApp chat history to a new phone it is necessary to first back up the chat history from the old phone (before removing the SIM) to Google Drive. Unfortunately I didn’t do this. I moved the SIM from my old to the new, installed WhatsApp and registered it with the old number, so losing all my chat history.

I assume that my chat history is still on my old phone but if I run it with a different SIM, WhatsApp presents me with the welcome screen and I have no way of accessing my chat history (I have not tried registering WhatsApp on the old phone with an new number). So I now have a chat history on both my old and new phones.

Is there any way to access the chat history from the old phone and combine it with that on the new phone.

Suppose I temporarily move my original SIM back to my old phone and get WhatsApp running again with the old number, will my chat history be restored? If so, I am thinking I could then do the Backup to Google Drive and then somehow combine the two histories on the new phone

applications – How to purchase premium features of an Android app for a group of people?

For a research project, we are utilizing an app available in the Google Play Store to collect data. However, to do this properly, we need to provide all participants with the paid full version of the app.

One version would be buying Google Play gift codes and telling our participants to use them on the full version.

However, I was wondering if there is any alternative way to directly enable them to download the premium version such as buying the version for the Google Play user with the email address