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

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

I see that you replaced the battery.
The problem is, this could still be your problem.
Batteries are only produced about the same amount of time that the devices are, so even when a 'new' battery is purchased, it is very probable that the new battery has been sitting in a warehouse since that phone was new.
So it is possible to buy a new battery that is as bad as the one you replace, because they are about the same age.

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.

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?

Huawei p8 lte doesnt turn on

Be sure to explain your dilemma to the service shop person just so they're aware a primary need is to retain your data. They'll probably be very careful of that at least once they're aware it's an issue. Some shops will consider replacing the motherboard as the easiest and quickest fix, and then people freak out when they get their device back. A little open communication on both parts is often very helpful.

Unable to login to AC Central app

Ha Ha! Only I'm only partially mad then.
I did assume our new poster was referring to something like that.
As it happens I have just been perusing Xiaomi phones on the UK web, finally thinking and finding out about their Redmi and Mi devices and following video reviews after initially looking at Realme products. Great reductions on some sub £250 Xaomi atm, They tick a lot of boxes for low cost (extra apps and improving UI aside) and of course they are still big on IR.

Browse archive via Windows Explorer - wifi

Welcome to Android Forums, Uther13! :)

I can easily do on my PCs what you're asking, using KDE Connect. Of course, all of my PCs, including laptops and Chromebooks, run Kubuntu Linux. :D

I know you don't want to use a browser, but if you change your mind, Airdroid is very well known and easy to use. If you give it a try you may find that it's a workable, albeit not ideal, solution.

Factory Reset problems

Any chance your friend can take those Tab E's back to the hospital to have the IT staff there disable MDM?
An important aspect to Mobile Device Management is preventing the user from being to readily bypass the security protocols in place. For the rest of us, typical consumers, Android's FRP is sometimes overcome by flashing an appropriate ROM but MDM is more of a corporate/small business service so it gets extra layers of protection. From your description, it sounds like someone at the hospital still needs to properly 'decommission' those devices from the hospital's inventory records.

the new PS5 announcement.....really Sony?????

this was how i feel right now with Sony's new announcement for their nextgen console, the PS5:

https://www.youtube.com/embed/wQ9wAZ8wruA?wmode=opaque

i can't wait for the ps5 to come out. but Sony's news about their new console was just plain stupid and offered nothing other than a rough estimate on release date.

incase you missed it:
https://www.youtube.com/embed/E429XW4isFs?wmode=opaque

the reason they are so vague about the release date is to keep you anticipating and wondering, so when the new system finally gets released, you will go ahead and purchase it. Its all an advertising tactic.

Filter

Back
Top Bottom