• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Convert solar lamp to electric?

I am glad you have your fairy light working too, I almost went up there, like a few days or so back to pick up some art supplies, I might consider o do like a different mediumn, maybe clay with a easel, and just have a pop up artwork, photograph it.. but what would the paint would look like underneath it? Hmmm... I too was thinking oddly enough of a fantasy type thing..

Extract data from .trace files (from the profiler in android studio) for visualization?

So, I have a few .trace (CPU performance) and .heapprofd (Memory usage) files that I exported from android studio profiler. However, I want to know is it possible to extract the performance timeline data from these files to visualize them externally (say using python)?

I understand these files contain a lot of information but I am only really interested in the overall CPU and memory consumption data. Also, if there is any other application that can allow me to export CPU performance and Memory consumption of my app in a more readable file, that works for me as well. All I want is to profile my app and visualize the performance externally (so I can customize the graph).

Any help will be highly appreciated. Thanks.

Can't show custom ProgressDialog

I have had this problem for several days.
I can't see my custom progress dialog optimally.

custom progress dialog layout:
Code:
<?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"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <androidx.cardview.widget.CardView
        android:layout_width="0dp"
        android:layout_height="183dp"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp"
        app:cardCornerRadius="8dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <ProgressBar
                android:id="@+id/progressLoading"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="16dp"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintHorizontal_bias="0.498"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/txtProgress" />

            <TextView
                android:id="@+id/txtProgress"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="16dp"
                android:text="Test..."
                android:textAlignment="center"
                android:textColor="@color/black"
                android:textSize="18sp"
                android:textStyle="bold"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintHorizontal_bias="0.495"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent" />

            <TextView
                android:id="@+id/txtProgressCount"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="16dp"
                android:text="TextView"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintHorizontal_bias="0.501"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/progressBarCount"
                app:layout_constraintVertical_bias="1.0" />

            <ProgressBar
                android:id="@+id/progressBarCount"
                style="?android:attr/progressBarStyleHorizontal"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginTop="12dp"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintHorizontal_bias="0.487"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/progressLoading" />


        </androidx.constraintlayout.widget.ConstraintLayout>


    </androidx.cardview.widget.CardView>

</androidx.constraintlayout.widget.ConstraintLayout>

class:

Java:
public class LoadingDialog{

    Context context;
    private Dialog dialog = null;
    public LoadingDialog(Context context) {
        this.context = context;
    }

    public void startLoadingDialog(String title) {
        dialog = new Dialog(context);
        dialog.setContentView(R.layout.custom_progressbar);
        dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
        dialog.setCanceledOnTouchOutside(false);
        dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
        TextView txtTitleCount = dialog.findViewById(R.id.txtProgressCount);
        TextView txtTitle = dialog.findViewById(R.id.txtProgress);
        ProgressBar barCount = dialog.findViewById(R.id.progressBarCount);
        txtTitle.setText(title);
        txtTitleCount.setVisibility(View.GONE);
        barCount.setVisibility(View.GONE);
        dialog.setCancelable(false);
        dialog.create();
        dialog.show();


    }

    public void dismissDialog() {
        dialog.dismiss();
    }


}

Main (where I call the progress dialog):

Java:
final LoadingDialog loadingDialog = new LoadingDialog(this);

                ExecutorService service = Executors.newFixedThreadPool(10);
                service.execute(() -> {
                    runOnUiThread(() -> loadingDialog.startLoadingDialog("prova"));
                    SystemClock.sleep(1000);

                    runOnUiThread(loadingDialog::dismissDialog);

                });

the screen remains dark but is not presented in front of the dialog

SMANSUNG GEAR ACTIONDIRECT

Please understand that Samsung Gear Action Director is the stitching program for the Gear 360 VR camera, which is abandonware and no longer supported by Samsung. In fact, the Samsung Gear app that connects the camera to the phone will not even work with Android versions newer than Android 7 - which is why I'm experimenting with it using my OLD Android 6 Moto X Pure Edition. Not knowing what phone you are using with the Gear 360, it's difficult to determine a cause for the failure if the camera is not sending images to the phone (or the phone can't process them). Make sure you go to APK Mirror and get the latest version of Action Director for your PC.

Help Prevent bt speaker ringtone

You can set the bluetooth connection to be media only. Under Bluetooth connections tab tap the gear to the right of the device you are connected to and you can toggle of calls. This should stop the ringtone on the speaker (it does on my S20). Unfortunately, I can't stop the ringer from muting my audio stream.

Maybe there is also a setting in your music app to allow for ignoring interruptions?

I know BlackPlayer has this.

Help Please Help

T Angel post:
I'm not a fan of Microsoft products. Is anyone able to plz suggest the name of a non-malicious call record app via Google Play Store???

Personally, I consider Google Play Store to be a malicious app.

If I were to record phone calls, I would use a VoIP app like Dingtone to do so.

That is because Google has depricated the ability of Android to record phone calls, and so far has been unwilling to change that.

If I were to use a call recording app to record a normal cellular call, I would use an open source app to do so.
Because of Google policies, apps like this may or may not work.

https://f-droid.org/en/packages/com.github.axet.callrecorder/

Desperately seeking Raiders jacket

Not meaning to rain on your parade, but finding that exact, near 40 year old jacket, that would be a proper fit, is more like a needle in many haystacks. You could try contacting the Raiders front office and they might have some record as to who made the jacket in 1983. The city of Oakland might have some record of businesses active in 1983. I doubt either avenue mention will be of help.

I still suggest creating a search on ebay. Do a search for vintage Raiders jacket. Look through the many pages of hits I just found to see if you might find the jacket you want. Once you have gone through ever page of jackets and don't find a match, safe your search and have an email sent to you whenever a new ad is placed. I have had success finding some 70 year old tools I wanted. It didn't happen over night but it did happen.

I'm sure your friend would love to get his jacket back. Even if you find the same jacket... it will not be the one that's lost. He might have to settle for one that's similar or simply deal with his loss.

The last option, but I'm sure quite expensive, would be to take your pictures to a reputable tailor and have one made. I'm sure it can be reproduced... if money was no object.

Have the following problems with Samsung Galaxy A50

Hello.

I am a new member, and have the following problems with Samsung Galaxy A50 phone,

The phone is running android version 10 and is up to date.

The phone crashed and had to have the software re-stalled so I sent the phone to Samsung and they fixed the problem and re-stalled the software but when I started to setup the phone up as soon as I connected the phone to my router the setup software said checking for updates and then it download the updates, then the setup carried on.

I use a pin to sign in to my phone but sometimes when I switch my phone off the pin screen
does not appear on the screen and other times the pin screen will appear.

sometimes find that the ringtone does not work someone can ring me but don’t hear the phone ring but most of the time the phone ringtone works fine.

I use a pin to sign in But sometimes I find that the when I tap the screen the phone does not enter the number I am tapping. Also sometimes when I enter the right pin the phone tells me wrong pin entered but I have entered the right pin.

find that the battery drains down fast, have turned the brightness down and have screen saver on as well but still the battery drains down fast.

Find that the brightness has a mind of its own turn the brightness down to half way but the brightness is still to bright.

Find that when changing the battery the phone changes the battery fast, but have fast change turned off.

Any help with these problems would be great.

Thanks

Matthew
Sounds scary

WiFi calling questions

All new to me.
But EXACTLY what I wanted to learn. (I have been struggling for some time with how to ask the questions.)
I sincerely thank you for the information.

I wonder if you might be in a position to share your thoughts as to how texting and email would work if I have wifi calling enabled on my phone ?
Would both text and emails get to me the same way as you described telephone calls above ?
Or would things take a different path ?
And if I sent a text or email from my phone, how might both travel to the destination phone ?
yes texting is exactly like voice calls. in wifi calling your text will be sent and received via the internet.

your emails are internet only. it is not sent any other way.

Help Help with photos organisation & backup

Keep in mind that when you're viewing your photos using the Google Photos app, it's just displaying your photos in a graphical, arranged way. So when you create an album, the photos in that album are just being shown to you that way. The actual photo files themselves are a completely different manner. The Google Photos app is for viewing and such, but you need to dig down deeper and use an actual file manager app to manually arrange, sort, and re-organize your photo library. Depending on how big your entire photo library is, this is going to be something of a daunting project. But once you get all your photos sorted out it's a lot easier in the long run to maintain everything in an organized way.

There a lot of good file manager apps out there. They all have the same basic functionality with the big differences being the user interface, and a lot of them include more features like added networking capability so you can manage files/folders both in your phone, connected devices, and online storage services. So it's important to pick the right one that suits you particular needs. We all have our own preferences so what I might find to be best option works for me but might not for you. Go the Play Store, do a search for file manager apps and find the one that you like. Read through the feature listings of different choices, find what you want, and look through the screen captures for which ones that have a look and feel you'll be comfortable using. I'll suggest 'MiXplorer Silver' app -- it has a really extensive feature set, but a very popular file manager that gets a lot of good press is 'Solid Explorer' app. But again, pick what you find to be what you like. You might just want a simple, basic file manager. If you have a Samsung phone, it already has in included file manager, the 'My Files' app.
Anyway, once you have a file manager utility then it becomes a matter of getting control of all your photos. That can be a real chore as there isn't an established default any longer. At one time there was a DCIM folder (Digital Camera IMages) that was the more or less central location to store photos. But now it's something of a mess as depending your phone model, the version of Android its currently running, and which apps you have installed on it there could be a DCIM folder or using names like Photos, or Pics, or Images, etc., with the added twist that browser apps and text messaging apps usually default to a Downloads folder, and some apps might use their own folders. So it's likely you have photos scattered in different locations in your phone's storage media. And since you want to exclude some of those WhatsApp images you need to be more selective about which files you move around. Again, this could be an involved task.

But it's important to differentiate between how things get displayed to you (using the Google Photos app) and actually maintaining your photo library (use a file manager app to actually manage your photo files themselves and their folders). Also, if you start nesting folders within other folders than you will need to go into the Settings menu of the Google Photos app and add those nested folders so the app will auto-index and display your content.

Filter

Back
Top Bottom