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

Fingerprint Sensor

Have had phone for 3 weeks. Verdict is out. Worst. Fingerprint. Sensor. Ever.
I've deleted and rescanned 3 times to get a better "read" on my fingerprint. Still doesn't work any better. I have a ~50% hit rate, and even that has me doing 3-4 attempts. Most time I end up typing in PIN. Miss my LG phone for this function. Glad it works for some that I've seen posted... but no luck here. I'm still within my warranty period so considering taking phone back.
Really is a bad design, software, etc. Bad engineering design, Samsung.

Rooting Samsung Galaxy S6 Edge SM-G9250

I have read multiple guides how to root android phones however it was without succes.

I saw that you have to enable USB debugging and unlock OEM, however I dont have the option to unlock OEM on my phone.

I downloaded many files including SDK with twrp.img/ Odin with twrp.tar? (is it the same as twrp.img?).

So the first step is to install twrp on my phone. The first thing I did was using odin program. I added the twrp tar file on the AP section but it didnt work. On my phone it says: Installation failure. You need to unlock your device to install a custom OS. What do I need to do here?

I also tried cmd command by clicking it in the SDK map containing the twrp.img of my model.

I wrote adb devices to check whether there is an android phone connected to my PC -> I saw my phone on the cmd screen.
Then I wrote adb reboot bootloader -> it rebooted my phone.
Next, I wrote fastboot flash recovery twrp-3.1.0-0-zeroltezt.img -> it says waiting for any devices?

Can someone help me? I have been stuck for 8 hours only to try to install twrp in my phone....

Help Weird Idle Battery Consumption

Hi. Recently bought a Xiaomi Redmi Note 9s(Global Version). It has a 5020mah battery. I had the phone for about 6 days already and have been using it normally (browsing, FB, Instagram, shopping app, bit of Youtube and had been able to game on it for approximately 2hrs only every since I got it). I would start charging it around 10-15% to 80-90%. A few days ago I went to take a nap(around 5hrs) and woke up to a 7% battery discharge. Wifi/mobile data and wake screen notification OFF. I master reset the phone. Re-installed everything again. Left the phone for 3hrs(no wifi/data/wake screen notif) and it discharged 3%. Another 7% discharge after leaving the phone idle for 7 hrs (same setting). Reviews I see in Youtube with wifi/data ON overnight the device would discharge 1-3%. As of this writing the phone is running 3hrs of no usage after charging(cleared apps using built in cleaner after charging) but this time connected to wifi and no wake screen notification and it discharged 5%. Is there something wrong with the battery? Or am I just being paranoid cause tomorrow would be the last day I can replace the device with a brand new one. Please help
crying.png

Really Tiny Strategy

Hello Everyone,

I would like to show you a Game I worked on in the last 6 Months in my spare time. And I kindly ask for some feedback as I am still in a learning process. This is my first Game so any Feedback is welcome. It was really a lot of fun to work on this project, especially creating the enemy AI.:goofydroid:

It is a fairly simple game in which you are supposed to conquer different territories (floating islands that are connected with bridges) to increase your resource income. To do so you can spawn two different units, build defensive Towers, research Upgrades and use two Spells(offensive and defensive). Of course in each level you will find an enemy that will try to do the same.

https://play.google.com/store/apps/details?id=com.Kupferrot.ReallyTinyStrategy

Fighting.PNG

buildings.PNG

buildunits.PNG

Upgrades.PNG


Thank you very much for reading :)

tried this but I get the first image --- when try to get the next image App in emulator closes with

activity_main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/rootContainer"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">

<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:text="Change Image"/>

</LinearLayout>

MainActivity .java

...
...
public class MainActivity extends AppCompatActivity {
...
button.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View view) {
FetchJsonData process = new FetchJsonData(linearLayout, imageView);
process.execute();
}
});

====
FetchJsonData .java
....
public class FetchJsonData extends AsyncTask<Void, Void, Void> {

TextView data;
LinearLayout sourceText;
String dataParsed = "";
String singleParsed ="";
public ImageView imageView;
public Integer imageId = 0;
URL[] imgUrl = new URL[10];

public FetchJsonData(LinearLayout linearLayout, ImageView imageView) {
// loop


loop
{

imgUrl[j] = new URL(attractionPhotosImagesLarge.getString("url"));


}


imageId = imageId + 1;

URL req = imgUrl[imageId];

Bitmap mIcon_val = BitmapFactory.decodeStream(req.openConnection().getInputStream());

this.imageView.setImageBitmap(mIcon_val); // line 119

setting an imageView programmatically... --- in my code I want every time calling the class FetchJsonData to get the next image on an array... I tried this but I get the first image --- when try to get the next image App in emulator closes with error... what to do to delete/remove imageView to appear next image in imageView?????

2020-06-07 07:18:03.866 23338-23497/com.leonidassavvides.tripadvisorapi E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
Process: com.leonidassavvides.tripadvisorapi, PID: 23338
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:318)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6855)
at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:1075)
at android.view.ViewGroup.invalidateChild(ViewGroup.java:5242)
at android.view.View.invalidateInternal(View.java:13574)
at android.view.View.invalidate(View.java:13538)
at android.view.View.invalidate(View.java:13522)
at android.widget.ImageView.setImageDrawable(ImageView.java:514)
at android.widget.ImageView.setImageBitmap(ImageView.java:635)
at com.leonidassavvides.tripadvisorapi.FetchJsonData.doInBackground(FetchJsonData.java:119)
at com.leonidassavvides.tripadvisorapi.FetchJsonData.doInBackground(FetchJsonData.java:27)

at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)

Help Default Dialer

Help a newbie out, please. I went to choose "always use" for my normal dialer to always dial a link in Firefox and now Text Me (NOT the one I chose) seems to be the default. This can't happen, this must never happen again. I've looked everywhere and there is nothing I can find. Deleting text me is not an option. I cannot find any way to change it nor can I find any advice on how to do it.

Apps Setup android studio project with a backend

Hello, I never used android studio before and i have an assignment where i need to develop an app with Jersey.
My teacher said "The Android application and the rear part (in Jersey) communicate through the network. The rear part in Jersey will expose the resources that your android application needs, which will send POST / GET / ... requests to consume them. I don't understand what you want to do to "link" the two."

I'm a little confused about how the two parts are communicating in a project. I created a fresh one using the basic template android studio is offering me but from there I dont really know where to start to create a backend.

What is the next step?

Attachments

  • Capture d’écran, le 2020-06-06 à 14.36.33.png
    Capture d’écran, le 2020-06-06 à 14.36.33.png
    1.1 MB · Views: 210

Help Flash custom ROM or TWRP to HTC One M8

Hello forum,
im struggling on this for a while. Sadly i cant find anyone with the exact same problem as I am facing.
I'm running Ubuntu and installed adb and fastboot. I have NOT installed any drivers for the HTC.

First I try to sum up my situation:
Ive (successfully?) unlocked the HTC One M8 via the HTC websites unlock token.
Then I tried to flash twrp:
" fastboot flash recovery twrp-3.3.1-0-m8.img
< waiting for any device >
target reported max download size of 800000000 bytes
sending 'recovery' (20202 KB)...
OKAY [ 1.847s]
writing 'recovery'...
(bootloader) HOSD CL#820405
(bootloader) start@1
(bootloader) recovery@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 2.605s]
finished. total time: 4.452s"
But after restarting, I wasn't able to get into TWRP...

Then when I tried flashing some TWRP image again, I got errors telling me it failed due to S-ON.

So I tried to boot it directly:
"fastboot boot twrp-3.3.1-0-m8.img
downloading 'boot.img'...
OKAY [ 1.968s]
booting...
^C^C^C"
This gets stuck and does not do anything then. The Screen shows:
"download 100%" but it wont boot at all.
I was able to somehow get out of this by running "fastboot reboot".

Now useally this happens:
"fastboot boot twrp-3.3.1-0-m8.img
downloading 'boot.img'...
OKAY [ 1.216s]
booting...
FAILED (remote: oem unlock is false)"
USB Debugging enabled, OEM unlock is set in Android Developer Settings.
"fastboot oem unlock" is not working either.
Also this does not work:
"fastboot oem device-info
...
(bootloader) [ERR] Command error !!!"

Additional Informations:
(I can not upload any pictures so i have to type a lot.)
When I start with Volume down + Power I get the following Screen with black background:
"hTC download mode
*** UNLOCKED ***
htc_himaruhl PVT S-ON
LK-1.01.0000
RADIO-UNKNOWN
OpenDSP-UNKNOWN
OS-2.32.401.1
Oct 21 2016,15:49:40(820405)

system info
show barcode
reboot to bootloader
reboot to download mode
reboot
power down"
When I select reboot to bootloader the screen has white background and shows:
"*** Software status: Modified ***
*** UNLOCKED ***
HTC_HIMAR 128 SHIP S-ON

CID-HTC__034
LK-1.01.0000
OS-2.32.401.1
[...]
REBOOT
REBOOT TO BOOT-LOADER
BOOT TO DOWNLOAD MODE
BOOT TO RECOVERY MODE
POWER DOWN"
I'm missing something like a "FASTBOOT" option. But calling "fastboot devices" lists the device from both screens (black & white).

As far as I understood, I need to boot into TWRP as S-ON prevents me from flashing.

I would be really happy to get a hint on how I can proceed.
Thank you guys.

Gunfighter Kid Duel ( Sicario Kid ) [Game]

g204419.png


Gunfighter Kid Duel aka Sicario Kid Fast gun duel game vs PC cowboys. The game created long time ago for a WEB, now published on Google Play. Originally called Sicario Kid but title was changed for GP. Made some minor change, fixes and new Leaderboard.

★ Tools: Construct2, Inkscape and SFX from audiojungle


GooglePlay: https://play.google.com/store/apps/details?id=com.SeventhReactor.GunfighterKidDuel

Amazon: https://www.amazon.com/7thReactor-Gunfighter-Kid-Duel/dp/B089FCYKLH


Apps hi, i would like to know why my splash screen doesn't work.

my codes are below
import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.os.Handler;
import android.content.Intent;

public class MainActivity extends AppCompatActivity {

@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
new Handler(). postDelayed(new Runnable() {
@override
public void run() {
Intent homeIntent= new Intent (MainActivity.this, HomeActivity.class);
startActivity(homeIntent);
finish();
}
}, 3000);
}
}

Filter

Back
Top Bottom