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

Analog Game pad compatibility with Android TV

Hello All,
Recently i purchased a no name analog (PS style) gamepad and wanted to play android games. This is pretty old pad since is said is a PC gamepad (USB 2.0). I connected to PC and the red light is on, therefore is recognizing it in windows.
The problem is i connected to my Mi Box TV(xiaomi) usb and the light is Not on.
Is the usb not compatible?? or no drivers for android?
Curious is that i connected the pad to my Huawei Mate 20 through OTG and is working immediately.....

Please help,
Thanks Gabriel

Switching back phone numbers

Right now, as all of my followers probably know, I'm using the Cricket icon that was intended for my LG X Charge friend. He'll probably never use it. However, there's a good chance that he will buy a new phone when he can afford it. Since this one was meant for him, it has his old phone number. If he gets another one I suppose it will be well and good, but if he wants to keep the old number and have a different (presumably better) phone, can he change it? Can I get another number for this disappointing icon, assuming I decide to keep it? It's still doing that same crappy (and creepy) googoo microphone thing.

TGB Global August Security Update rolling out

The 10th update for the global, Exynos, model, SM-98*B, has been released for the unbranded Galaxy S20 phones only 7 days after the TG4 release.

This update should apply to all the Global S20 model phones, SM-98*B.

The update, G98*BXXS4ATGB has the August 2020 Android Security patch. One UI is still v2.1

Download size = 180.97 MB

Build date = 17 July 2020 (11th build for July)

BnA5e1Al.jpg


Camera version is still = 10.0.03.31

Android Security patch = August 2020

This is the 10th update in 147 days = 1 update every 15 days on average

Record audio sound in android studio

I am following this tutorial (
) to record and play sounds. but having the problem in saving sound to folder. everything is working fine but when i check the folder where i saved the file then it is empty.

String recordPath = getActivity().getExternalFilesDir("/").getAbsolutePath();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy_MM_dd_hh_mm_ss", Locale.CANADA);
Date now = new Date();
recordFile = "Recording_"+formatter.format(now)+".3gp";
filenameText.setText("Recording filename : "+recordFile);
Toast.makeText(getActivity().getApplicationContext(),recordPath+"/"+recordFile,Toast.LENGTH_LONG).show();

mediaRecorder = new MediaRecorder();
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mediaRecorder.setOutputFile(recordPath+"/"+recordFile);



kindly help me out of it or suggest any other way to record audio files.

Apps Angle sensors without external influences

Hi,

i have currently developed an app that has a good status but now some logic errors cause me big problems.

Background is that I want to display the current lean angle on my motorcycle with my mobile phone.

I have the following code for this:

if (sensorEvent.sensor.getType() == Sensor.TYPE_ACCELEROMETER) {
CreateGPS(sensorEvent);
accels = sensorEvent.values;
}
if (sensorEvent.sensor.getType() == Sensor.TYPE_MAGNETIC_FIELD)
mags = sensorEvent.values;

if (accels != null && mags != null) {
float R[] = new float[9];
float I[] = new float[9];

boolean success = SensorManager.getRotationMatrix(R, I, accels, mags);

if (success) {
float orientation[] = new float[3];
SensorManager.getOrientation(R, orientation);
azimuth = orientation[0]; // orientation contains: azimuth, pitch and roll
pitch = orientation[1];
roll = orientation[2];

this.SetAngle(Math.toDegrees(-pitch));

}
}


Sounds logical in theory and works too. However, I have the following problems which may be related.

If I put the mobile phone in the car and drive into a curve then I have also once 40 degrees inclination in my car ) (G forces must be calculated somehow out of the logic)
There are vibrations on the bike which cause the wrong values to be displayed (I think it is also related to the G-forces)

What is the best way to edit the code to display meaningful values? Hang something on the logic tube here.

this.SetAngle is a method that shows me the angle graphically.

Thanks for your help.

Help Need MPRG.mbn and msimage.mbn

My device is Zenfone Max Pro M1
ZB602KL 4gbRam 64gbRom snapdragon636 (X00TDB)
Files for sdm660 might work(X00TD)

I need MPRG_XXXXX.mbn and XXXXX_misimage.mbn

I already tried qfil and umt and qcfire
but no success emmc partition seems messed-up by previous owner.

I had emmc softwares installed on pc but 2 files are not pressent in those roms I had.

There are tuturial how to make msimage.mbn but those firmwares that I had doesn't contain "sbl.bin" and "partition.xml"

Please help. I also finding same unit that is working. any guides how to backup full emmc that might include the files i need or even just the files needed to create it.

Thanks in advance.

handset speaker volume

My speaker volume is VERY low (to specify, the speaker at the top of the screen, NOT the loudspeaker). My Blackview 9900 runs Android 9. Blackview says the phone cannot run Android 10, and all I can find is Lineage OS 17.1 if I want to upgrade. Anyway, speaker is clean. No case or screen protector, volume is at max for in call. All other volumes are loud and work well.

I am trying to enter engineering mode, I have read that the max volume can be adjusted in there. None of the codes work for me that are to be entered in the keypad. I have downloaded MTK Engineering Mode app, although it says that Cannot find engineering mode app - mediatek chipset is mandatory and stock ROM must be installed. All I have done is update OTA through the manufacturer once since I bought the phone. Any ideas on how to boost the volume, or should I pursue installing Lineage. Thanks for your help!

How to save a file when user closes app

I created an app in which a user will enter words that i want to store in an array. When the user closes the app i want this array to be written to a file for when they open the app again they don't have to reenter the words.

This is my first app and figured this wouldn't be that hard but i've been struggling to find this information online. I did find there are several places to save a file. I know that this list won't be too big and no other apps need access to this list, so i planned on saving it in the app specific internal storage location. I'm also programing in Kotlin.

During my research i saw there is a onPause( ), onStop( ), and onDestroy( ). However, i'm not sure how to have the file save based on a user swiping the app away. Do i create a function and have it save the file, then do something along the lines of if onStop( ) run my function to save file?

Send a broadcast message to group like an amber alert?

I work in IT. Because of COVID, I'm now a 100% work from home as well as the rest of my team. Now that we're all distant, when we're having a system issue where we need all hands on deck, I have a hard time getting ahold of people. Its not like at the office where an emergency happens and I walk to the cubical and get there attention. Can't do that anymore. So, im looking for an app that, if all of us have it installed, if a message is sent to the group, it would be obnoxious noises to get everyone's attention. It would be nice if we could change the priority of a message so we could send a low priority message too. It would need to work for Apple and Android. It would be nice if it was like an amber alert where you cant ignore the message.

Help Why does my Huawei P10 not charge with more power than it consumes?

Device: Huawei P10 (VTR-l09)

Symptoms:

When plugged in, the phone recognizes the charger but the battery state of charge does not increase but rather decreases. The charger and cable are fine (about 1A of charging current measured with other device) and the phones power consumption is not unusually high (no streaming, no games, the phone does not really get hot). When turned off the phone does not even recognize the charger.

The problem occured after i replaced the display with the help of an iFixit tutotial (no offence). After i had checked the corrected installation multiple times and it still did not work I reinstalled the old original display and replaced the old battery with a new one. Didn´t help. I also replaced the charging board. Sadly the problem did not disappear. A factory reset also did not help.
What could be the cause of the Problem?

I appreciate any of your thoughts on this, thanks a lot in advance!

Factory Reset problems

Its been quite a while since I've had any Android device myself, so please forgive me of any ignorance on my part.

A friend who works for a local hospital was given two Galaxy Tab E 9.6's after a vendor who provided them to the hospital didn't want them back after a long-term demo/trial. She'd like to give them to her two children.

The devices seem to be locked down pretty well. The home button is locked down by a security profile and I am not able to access any settings or other apps on the device.

I've tried reinstalling an original firmware/ROM using Odin3 and a USB Cable, which seemed to success, but the security profile still seems to be in place. If I try to do a factory reset I get a message say something to the effect of MDM prevents a Factory Reset.

I see Odin has several additional selections beside AP but I'm not sure what the others do or if they would be useful in this situation. Any advice would be appreciated.

Goodbye to my old Pixel

I still love my original Pixel but I suppose it's time to move on. I can see a few head to head comparisons for the 4 to 4A. I don't see any kind of comparison to my old dinosaur. Bottom line, as long as I get about what I already have with my original Pixel I'm happy. Do you think I should get comparable results from the 4A to what I hvae now? I'm sure I would get an improvement with the 4 but I doubt I need it. I don't game on it. It would be nice to have wireless charging but I don't have it now. My only concern is could the 4A be slower than my original but I don't imagine that would be the case? Thoughts?

Thank you

whats the difference between the Youtube music mixes?

I see 3 mixes for me; your mix, discover mix and new releases.

I don't understand why I have 3 different ones and when I read about them, they sound like they are almost the same, but the "your mix" is giving me some weird music. +95% of my liked tracks and library is electronic music and mostly house-like music, but everything in "your mix" is 90's rock, hiphop or pop...

Can someone explain me this?

auto thumps up

I have a library of app 300 offline songs which I have transferred from Google play music to YT music (because play music is shutting down).

Is there a way to add a thumps up to all those songs, so the music that YT music is recommending me is based on those 300 songs, or do I have to manually add thumps up to all of them?

video games Im waiting for..

Thought I would just put this out there, heres 3 games I am looking forward to coming out soon.

Paper Mario: Origami
Platform(s): Nintendo Switch
Release date: July 17, 2020

Wasteland 3
Platform(s): PS4, Xbox One, PC
Release date: August 28, 2020

Marvel Avengers
Platform(s): PC, Xbox One, PS4
Release date: September 4, 2020

Filter

Back
Top Bottom