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

Image size issue

I'm trying to develop my first app for the play store which should resize for different screen sizes/resolutions. For some reason the spinner images are showing up extremely small for mdpi virtual device & huawei 9 on firebase. Please see attached file. The other images are very large currently because I removed the ldpi, mdpi, hdpi, xhdpi, xxhdpi and xxhdpi folders to see how it would appear with just xxhdpi images.
Any ideas why the images would appear so tiny!

Attachments

  • low res mdpi virtual.png
    low res mdpi virtual.png
    84.7 KB · Views: 187

Android phones not opening mp4 send in app via iOS

We are developing a music app and the ios version can open videos sent from android but not all androids can open iOS.

All have 9.0 android

Specifically, the google pixel 3 can open them but the Samsung GALAXY S9 and S10 cannot.

Those same phones can also only upload smaller photos to our video feature and rejects larger photos but can accept larger photos for profile image.

Is anyone aware of an issue for Samsung galaxy android devices why they wouldnt be able to open a video rendered into mp4 format on an iOS phone?

From what I understand, the OS matters for the coding but the hardware can effect as well.

S9 is verizon, s10 and pixel 3 are tmobile phones and both ios phones (xs max and 6 plus) are on verizon.

Thanks in advance to anyone who might have some idea.
Katya

Android phones not opening videos send from iOS

We are developing a music app and the ios version can open videos sent from android but not all androids can open iOS.

All have 9.0 android

Specifically, the google pixel 3 can open them but the Samsung GALAXY S9 and S10 cannot.

Those same phones can also only upload smaller photos to our video feature and rejects larger photos but can accept larger photos for profile image.

Is anyone aware of an issue for Samsung galaxy android devices why they wouldnt be able to open a video rendered into mp4 format on an iOS phone?

From what I understand, the OS matters for the coding but the hardware can effect as well.

S9 is verizon, s10 and pixel 3 are tmobile phones and both ios phones (xs max and 6 plus) are on verizon.

Thanks in advance to anyone who might have some idea.
Katya

How can I record a phone conversation while having headphones plugged in?

I'm currently looking for work, and many of my interviews start out as phone interviews. Part of my process involves going back over the interviews I have and taking thorough notes so if I come in for an in person interview, I have all the facts that might have gotten missed because the interviewer was talking fast and I didn't catch something the first time.
I like to have WIRED headphones in while talking on the phone(I'm fine without bluetooth), it makes it more clear for me to hear the other person talking. Every app I've used isn't able to record a conversation when something is plugged in. Does anyone know of an app that works around this, or some features I can use that will allow for a conversation to be recorded while I have headphones in?

How to set the notification badge count programatically without sending notification?

I want to change the notification badge count, say, whenever the user clicks on a button. At the moment, the only way I know to change the notification badge count is by sending a notification like so:

Java:
Notification notification = new NotificationCompat.Builder(MainActivity.this, CHANNEL_ID)
        .setContentTitle("New Messages")
        .setContentText("You've received 3 new messages.")
        .setSmallIcon(R.drawable.ic_notify_status)
        .setNumber(messageCount)
        .build();

I could technically send a notification every time the user presses the button, but that'd clutter the notification panel (as the goal here is to just change the badge count). So, is there anyway I can change the notification badge count without sending a notification?

Help Pop message

I have a Lenovo TAB 2 A7-30H on which suddenly I am starting to get pop up messages
Android 5.0.1 kernel 3.10.54
"android.process.accore has stopped"
I click Ok and it closes but after a few minutes it pops up again.

I update all Android updates as soon as I am notified

My only recent change to Apps was the new Mozilla Firefox browser which ran fine. I have deleted the app and restarted tablet to see if that eliminated the problem. It has not.

Apps How to include two prebuilt interdependent shared libraries into Android application using cmake

I want to include two shared libraries liba.so and libb.so into my android application. Where function of libb.so is called from function in liba.so.

I have a Java class which calls native JNI Function as,

package com.test.myapplication;

public class MainActivity extends AppCompatActivity {

static{
System.loadLibrary(a);
System.loadLibrary(b);
}
public native void testSample();

@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
testSample();
}
}
My JNI file is

#include"a.h"

extern "C" void JNICALL Java_com_test_myapplication_MainActivity_testSample( JNIEnv* env, jobject thiz) {
a_foo();
}
a.cpp file which is part of my library liba.so is

#include"b.h"
void a_foo()
{
/* ..... code .....*/
b_foo();
/* ..... code .....*/
}
My b.cpp which is part of libb.so is

void b_foo()
{
/* ..... code .....*/
}
I want to include liba.so and libb.so as librares and not as source into my application. Both the libraries are built using android-ndk independently.

Line System.loadLibrary(a); gives a runtime exception
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "b_foo" referenced by "/data/app/com.test.myapplication-yyA38UEBmsXvaqOY-hm_HQ==/lib/arm64/liba.so" when loading

Complete lock-out

My youngest daughter has a S7. She shattered the screen, and we did not have it repaired for several months. (Teaching life lessons, etc., etc.) We just had the screen repaired, and my daughter had placed a pass code on the phone which she does not remember. Also, airplane mode is on, and there is no wifi or hotspot capabilities, so we cannot use the find my android feature. Now, one would think that doing a hard reset would solve the problem. Unfortunately, the phone WILL NOT TURN OFF. I've held the power button for 5 minutes, nothing happens. In addition, when I try to use the Volume Up, Home Button, Power Button combo when the phone's battery has run down and is just coming back on, the phone will cycle through the the Samsung information, and then will reboot with the words Samsung and the At&t logo. No little green android man.

Is there any other way to get into this phone?!

How to make whatsapp unread message led blinking indicator blink continuously if still unread?

My phone is on the table, I received a new whatsapp message and I did not touch my phone (Samsung Note 8), the whatsapp indicator led light blinks for about 30 seconds and stopped by itself. I usually put my phone on my desk and when I do not see any led indicator blinking, I will not pick up my phone as I assume is no unread messages. In this case the whatsapp indicator blinking period is too short so I do not know I have unread messages after 30 seconds have passed. (When I am doing work, I usually leave my phone on table untouched and take a glance at the led indicator to know if there is any new unread whatsapp.).

How can I lengthen the whatsapp unread message led blinking time to blink continuously if the message is still unread?

Thanks

Update: Problem seems solved, I think the indicator disappeared because when screen is locked and I pressed the home button on note 8 and press the whatsapp icon and read the small popup of the whatsapp notification, the whatsapp blinking led indicator will disappear even if I did not read the whole whatsapp message. If I did not read any part of the message, the whatsapp blinking led indicator will blink forever.

apps

Getting started on new fone having lost previous one. SIGH.....

When I go to the app store to find and reinstall an app it seems the app is not what was on the previous fone.

Do the apps generally look, if not act, different for the new fone?

Down loaded a couple. Uninstalled because I was very disappointed.

Am I gonna have to live with it?

Everything labeled progress ain't neccesarily so.

Is it me?

I'm furious with Verizon. I've been with them since 2004. Their customer service has seemed to decline. They currently are offering a 500 dollar trade in plus a 200 dollar gift card for new clients but are only offering current clients 200 toward a 2 year upgrade. I feel de-prioritized as a customer. It seems to me that you have to leave in order to get a better deal. I'm furious. I pay for extended warranty. The csr promised me that the iPhone they would send out to my wife would have a 100% battery capacity. The one they sent had only 80 something, which I know, is "passable"... all things taken together? I feel like that they couldn't care less about their customers.

My foot is out the door. Is tmo any good? Or are all crap? When I say furious? I am serious. i expect better care from my phone company. Not happening.

OGYoutube or any alternative

Hi everyone, i truly know so few about this and i wish if you could advise me

For couple of years been using OGYoutube with no issues until i had to reset my phone to factory few days ago (Galaxy note 9 - unrooted as far as i know since i got it brand new). I truly failed every single time although i watched countless videos on Youtube nothing seems to work, tried also with Youtube Vanced and i'm stuck, had to reset it again to factory and i truly donna wanna use the normal Youtube app. Question is:

Could you please provide working links and steps on how to download and install OGYoutube /or Youtube Vanced /or any other alternative for youtube? Please note that i'm also struggling to uninstall Youtube app as it come installed from factory into my Note 9. Thanks very much

Help Click on widget suddenly stopped working

I have a Xiaomi Mi 8 Pro running MIUI 11 (Android 9) and it was working ok.
Until yesterday after updating a few apps with Google Play (not the home launcher apps), suddenly clicking on a widget on the home screen did not work. And a reboot did not help.
I use Nova launcher, but then I switched to the system miui launcher, but the problem persisted, so it is not the launcher ?
Presumably, a system setting is spontaneously changed without notice.
What can it be ?

Filter

Back
Top Bottom