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

How to complete the android tablet

Currently the TabS8+ and others similar in spec have the app One Hand Operation+ with a Pop-Up widegt Option. This option is is useful - especially when using samsung dex.

There are 6 ways to improve this and make it a very useful and intergal part of Samsung Dex.

  1. The popup widget function should allow for either widgets or certain apps (social media, messaging, music players like spotify, calendars and files) these apps in particular are all about quick reference choose a file, song or check a calendar appointment, maybe even a quick reply for the messenger.

    The current popup app minimization into a logo in tablet mode with the little dock is terrible use only because the logo remains in the way and a taking a few design cues from iOS and the way they implemented the stack dock in SlideOver apps is a better idea and should exist both in tabelt mode or Dex Mode.

    Why? For powerful multitasking - here’s an example of how wanted this feature is in general that a 3rd party indie developer made an app named Slidepad.app for MacOS to add that slideover feature into a desktop for those quick tasks.
The best news is that the One Hand Operation+ has already done the bulk of this work - all we need to do is create the ability to pin and dock so that they minimize or get activated in popup window mode from the Pop-up widget window.

  1. In the same vein of work, the popup widget is activated by a swipe from the edge – when using a keyboard it wold be powerful to be able to move the mouse to the edge of the screen as a push to create that swipe action that opens the popup widget to use either the widgets of the apps that we want to run a quick task with.

  2. Next an alternative way of creating the same experience would be to allow for the dock itself to be moved to the right or left - you can see this in action by using an app from the google play store named Taskbar. Not only does it allow for the task bar to be on the right or lweft but it also allows for the task bar to be transparent to create a cleaner look and when looking to launch an app the interface doesnt fill the entire screen

  3. I see that now we have drag and drop built into the Samsung My Files app and this is great - now we just need to find a way to enocurage 3rd party apps to build into their app the drag and drop function especially for creators that use a Digital Audio Workstation app like Fruity Loops, N track Studio or Cubasis. The same goes for apps like Lumafusion which is set to come soon accoridng to an announcement they made.
This drag and drop is an essential aspect of Desktop workflow and we need to devise a way to encourage apps to upgrade this or have them removed from the apps store as a whole. Also, I realize this one is less a samsung only thing and more of a 3rd party thing but maybe theres an incentive we can drive through the galaxy app store for apps published there to get the message out about how important this is

  1. I prefer Dex mode above tablet mode for literally everythign and would love for Dex mode to be able to rotate even if there are no apps in full screen.

  2. Last one I promise, if we could add a function that allows for a level beyond screen recording with Samsung Dex - this is a key function to desktop work. Please consider adding the ability to record just the feed and audio coming from a conference app like Zoom or Google meet. Being able to record the conference locally for review is an important part of remote work and desktop work.
If these things were added its hard to imagine anyone even debating whether the TabS8 or iPad is preferrable - the key component that hurts the Samsung Tablets is the lack of Drag and Drop files ability between all applications.

The task bar to the righnt or left would be a nice compromise if we can t add popup apps into the PopUp Widget popup from One Hand Operation

2023 MLB Rule Changes

Here are the details of the three rule changes coming to MLB next season:

PITCH TIMER

In an effort to create a quicker pace of play, there will be a 30-second timer between batters. Between pitches, there will be a 15-second timer with the bases empty and a 20-second timer with runners on base. At last check, the pitch timer had reduced the average time of game in MiLB by about 26 minutes. This rule, which includes limits on throws to first base, has also increased stolen-base attempts. With this rule in place in the Minors this season, steal attempts per game have increased from 2.23 in 2019, at a 68% success rate, to 2.83 in 2022, at a 77% success rate.

  • The pitcher must begin his motion to deliver the pitch before the expiration of the pitch timer.
  • Pitchers who violate the timer are charged with an automatic ball. Batters who violate the timer are charged with an automatic strike.
  • Batters must be in the box and alert to the pitcher by the 8-second mark or else be charged with an automatic strike.
  • With runners on base, the timer resets if the pitcher attempts a pickoff or steps off the rubber.
  • Pitchers are limited to two disengagements (pickoff attempts or step-offs) per plate appearance. However, this limit is reset if a runner or runners advance during the plate appearance.
  • If a third pickoff attempt is made, the runner automatically advances one base if the pickoff attempt is not successful.
  • Mound visits, injury timeouts and offensive team timeouts do not count as a disengagement.
  • If a team has used up all five of its allotted mound visits prior to the ninth inning, that team will receive an additional mound visit in the ninth inning. This effectively serves as an additional disengagement.
  • Umpires may provide extra time if warranted by special circumstances. (So if, as an example, a catcher were to be thrown out on the bases to end the previous half-inning and needed additional time to put on his catching gear, the umpire could allow it.)
DEFENSIVE SHIFT LIMITS

The defensive team must have a minimum of four players on the infield, with at least two infielders completely on either side of second base. These restrictions are intended to increase the batting average on balls in play, to allow infielders to better showcase their athleticism and to restore more traditional outcomes on batted balls. As of this writing, the league-wide batting average on balls in play of .291 in 2022 is six points lower than in 2012 and 10 points lower than in 2006.

  • The four infielders must be within the outer boundary of the infield when the pitcher is on the rubber.
  • Infielders may not switch sides. In other words, a team cannot reposition its best defender on the side of the infield the batter is more likely to hit the ball.
  • If the infielders are not aligned properly at the time of the pitch, the offense can choose an automatic ball or the result of the play.
  • This rule does not preclude a team from positioning an outfielder in the infield or in the shallow outfield grass in certain situations. But it does prohibit four-outfielder alignments.
BIGGER BASES

The bases, which traditionally have been 15 inches square, will instead be 18 inches square. Home plate is unchanged.

Though this can have a modest impact on stolen-base success rate, the primary goal of this change is to give players more room to operate and to avoid collisions. This is especially important at first base, where fielders have an extra 3-inch advantage to stay out of harm’s way from the baserunner while receiving throws.

This change will create a 4 1/2-inch reduction in the distance between first and second base and between second base and third, which encourages more stolen-base attempts. The bigger bases could also have the effect of reducing oversliding in which a player loses contact with the bag while sliding through it.

is "machinarium" suppose to be able to run Android Tv ?

I red somewhere that machinarium game is suppose to run on android TV - for me its not loading - but works fine on my mobile -

machinarium version - 2.0.39 does Not run on my android TV ? help ?

https://play.google.com/store/apps/details?id=air.net.machinarium.Machinarium.GP

I only post on here - if the Developer does not give me a reply - I did already aske them & No reply !!

QBOX pro shuts off with TV

Hi there...i have a samsung smart TV we just bought and our android box is a Q. box pro.
My previous tv was a a LG and when i shut the TV down the QBOX would stay on so i didn't have to restart it everytime. Now with this new TV, it seems to shut down the QBOX as well. Does anyone know how i can turn my TV off but have the android box still on?
Thanks!

Busybox....HELP PLEASE! What/why/how is it installed on my device without my knowledge or permission

I bought a new Samsung Galaxy Note20 ultra 5g through my phone provider 2 years ago. I recently downloaded the app 'Root Checker Pro' to check for security reasons. While the app's root verification process produced negative results. However, the app's secondary verification process produced a positive result for something called "Busybox" and showed a file path where it says it is installed on my device. I definitely didn't install Busybox as wasn't I even aware of its existence. I brought in my phone into a Asurion verified repair shop to get my screen replaced on 2 separate occasions in December of 2021 and April of this year. I can't remember when exactly when but I began noticing unusual behaviours on my device itself like apps and settings resetting on their own, multiple Note20 ultra name variations signed into various accounts of mine, receiving strange test messages, emails and phone calls. Also, I started to observe large atypical data amounts being used as well as charges on my phone bill that my provider can't even come up with coherent explanations for such as provider linked app and subscription payments. Fees for long distance, texts messages and call waiting both inbound and outbound that I didn't make. I went into my devices recovery mode and found a few suspicious log entries with one section stating that something along the lines of "if debug mode wasn't being used the device isn't intended be used for production use". I downloaded ZArchiver and gave access to "support file operations as the root user" in an attempt to veiw the Busybox file path location implicated by Root Checker Pro. Which only got me 2 file name deep before I was stopped by "access is denied". I'll attach some screenshots for reference. I have spent dozens of hours trying to understand what security weakness possibilities are out there that I should look up on and attempt through the process of elimination troubleshooting anything I found that was simular to what I was experiencing. I just don't have enough time to become technically proficient enough to understand the levels and layers involved with the analysis and protection of computer security systems. I've installed multiple antivirus apps but there worthless against social engineering type attacks. Or at least that I'm aware of. I assistance with this from minds more skilled then mine would be massively appreciated. If there's any additional information that would help I can make available if it would help. Thank you.

Attachments

  • Screenshot_20220928-122912_Root Checker Basic.jpg
    Screenshot_20220928-122912_Root Checker Basic.jpg
    211.1 KB · Views: 457
  • Screenshot_20220928-122919_Root Checker Basic.jpg
    Screenshot_20220928-122919_Root Checker Basic.jpg
    228.3 KB · Views: 385
  • Screenshot_20220928-122927_Root Checker Basic.jpg
    Screenshot_20220928-122927_Root Checker Basic.jpg
    296.6 KB · Views: 362
  • Screenshot_20220928-112710_Root Checker Basic.jpg
    Screenshot_20220928-112710_Root Checker Basic.jpg
    233.8 KB · Views: 338
  • Screenshot_20220928-122842_ZArchiver.jpg
    Screenshot_20220928-122842_ZArchiver.jpg
    108.9 KB · Views: 327
  • Screenshot_20220928-123605_ZArchiver.jpg
    Screenshot_20220928-123605_ZArchiver.jpg
    48.6 KB · Views: 452

tcl 20xe questions

the wife has the tcl 20xe phone and it has that little man in the bottom whre the home back and previous icons are at. how do i turn that thing off?

also she somehow managed to take about all the icons off the home screens and o got mot of them back but i need to get the apps icon back so she can tap that and then see all her apps. she has a buch and only a few on the 3 home screens pages.

and can this this phone use any of the side buttons to answer the phone. she has no conductivity in her and she can't get the phone to answer. i set up the phone button so she can tap it but for some reason it failsher. some phones have the option to use the power or volume buttons to answer the phone and maybe end calls.

so if anyone has some help for these please send that along to me thanks much

Tractors parking and farm game

Hi friends,
I am newbie.
I bought a new android application about tractors parking and farming.
Can you help me to improve my game, more downloads?
I am new about these things, If you help me; I will be so happy
Thank you...

Game : https://www.tennar.com/apkgames/play-drive-my-tractors-farming-game_366.htm
Play google : https://play.google.com/store/apps/details?id=com.TennarOnline.DrivingMyTractors

Anyone study Trout(Cuttlefish for AAOS),help me with Kernel build

Recently I need to compile a special Android Kernel version,whicH includes a special driver named as Virtio-Video。 It's part of Virtio Standards and can be used for Virtualization.In android,it will be part of Cuttlefish/Trout.View repo details please check this link:https://android.googlesource.com/kernel/manifest/+/refs/heads/trout-android12-5.10;view the instructions please check this:https://source.android.com/docs/setup/build/building-kernels

And I have followed the offical instructions:

repo init -u https://android.googlesource.com/kernel/manifest -b trout-android12-5.10

because I need the Virtio-Video driver,so I used the command below to build:

BUILD_CONFIG=common-modules/virtual-device/build.config.virtual_device.x86_64 build/build.sh

But I get some errors like these:


opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/arm_scmi/smc.c:152:2: error: unknown register name 'r1' in asm
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:420:4: note: expanded from macro 'arm_smccc_1_1_invoke'
arm_smccc_1_1_smc(__VA_ARGS__); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:367:32: note: expanded from macro 'arm_smccc_1_1_smc'
#define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:342:33: note: expanded from macro '__arm_smccc_1_1'
register unsigned long r1 asm("r1"); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/arm_scmi/smc.c:152:2: error: unknown register name 'r2' in asm
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:420:4: note: expanded from macro 'arm_smccc_1_1_invoke'
arm_smccc_1_1_smc(__VA_ARGS__); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:367:32: note: expanded from macro 'arm_smccc_1_1_smc'
#define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:343:33: note: expanded from macro '__arm_smccc_1_1'
register unsigned long r2 asm("r2"); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/arm_scmi/smc.c:152:2: error: unknown register name 'r3' in asm
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:420:4: note: expanded from macro 'arm_smccc_1_1_invoke'
arm_smccc_1_1_smc(__VA_ARGS__); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:367:32: note: expanded from macro 'arm_smccc_1_1_smc'
#define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:344:33: note: expanded from macro '__arm_smccc_1_1'
register unsigned long r3 asm("r3"); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/arm_scmi/smc.c:152:2: error: unknown register name 'r0' in asm
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:420:4: note: expanded from macro 'arm_smccc_1_1_invoke'
arm_smccc_1_1_smc(__VA_ARGS__); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:367:32: note: expanded from macro 'arm_smccc_1_1_smc'
#define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:345:3: note: expanded from macro '__arm_smccc_1_1'
__declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:313:2: note: expanded from macro '__declare_arg_5'
__declare_arg_4(a0, a1, a2, a3, a4, res); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:308:2: note: expanded from macro '__declare_arg_4'
__declare_arg_3(a0, a1, a2, a3, res); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:301:34: note: expanded from macro '__declare_arg_3'
register unsigned long arg0 asm("r0") = (u32)a0; \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/arm_scmi/smc.c:152:2: error: unknown register name 'r1' in asm
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:420:4: note: expanded from macro 'arm_smccc_1_1_invoke'
arm_smccc_1_1_smc(__VA_ARGS__); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:367:32: note: expanded from macro 'arm_smccc_1_1_smc'
#define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:345:3: note: expanded from macro '__arm_smccc_1_1'
__declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:313:2: note: expanded from macro '__declare_arg_5'
__declare_arg_4(a0, a1, a2, a3, a4, res); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:308:2: note: expanded from macro '__declare_arg_4'
__declare_arg_3(a0, a1, a2, a3, res); \
^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/include/linux/arm-smccc.h:302:31: note: expanded from macro '__declare_arg_3'
register typeof(a1) arg1 asm("r1") = __a1; \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[4]: *** [/opt/FranzKafkaYu/Android_Trout_Kernel/common/scripts/Makefile.build:273: ../common-modules/virtual-device/arm_scmi/smc.o] Error 1
/opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/virtio_video/virtio_video_driver.c:118:12: error: no member named 'dma_ops' in 'struct device'
if (!dev->dma_ops)
~~~ ^
/opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/virtio_video/virtio_video_driver.c:119:26: error: no member named 'dma_ops' in 'struct device'
set_dma_ops(dev, pdev->dma_ops);
~~~~ ^
2 errors generated.
make[4]: *** [/opt/FranzKafkaYu/Android_Trout_Kernel/common/scripts/Makefile.build:273: ../common-modules/virtual-device/virtio_video/virtio_video_driver.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/opt/FranzKafkaYu/Android_Trout_Kernel/common/../common-modules/virtual-device/virtio_video/virtio_video_vq.c:362:6: warning: unused variable 'ret' [-Wunused-variable]
int ret;
^
LD [M] ../common-modules/virtual-device/virtio_snd/virtio_snd.o
LD [M] ../common-modules/virtual-device/goldfish_drivers/goldfish_pipe.o
LD [M] ../common-modules/virtual-device/wlan_simulation/virt_wifi_sim.o
1 warning generated.
make[3]: *** [/opt/FranzKafkaYu/Android_Trout_Kernel/common/scripts/Makefile.build:516: ../common-modules/virtual-device/virtio_video] Error 2
make[3]: *** Waiting for unfinished jobs....
LD [M] ../common-modules/virtual-device/virtio_gpu/virtio-gpu.o
make[3]: *** [/opt/FranzKafkaYu/Android_Trout_Kernel/common/scripts/Makefile.build:516: ../common-modules/virtual-device/arm_scmi] Error 2
make[2]: *** [/opt/FranzKafkaYu/Android_Trout_Kernel/common/Makefile:1909: ../common-modules/virtual-device] Error 2
make[2]: Leaving directory '/opt/FranzKafkaYu/Android_Trout_Kernel/out/android12-5.10/common'
make[1]: *** [Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/opt/FranzKafkaYu/Android_Trout_Kernel/common'
make: *** [Makefile:2: all] Error 2
make: Leaving directory '/opt/FranzKafkaYu/Android_Trout_Kernel/common-modules/virtual-device'


And when I check the commit log,I found another command:

BUILD_CONFIG=common-modules/virtual-device/build.config.trout.coqos build/build.sh

this command excuted OK and I got the output virtio-vedio.ko but it's ARM arch.But I need x86 arch.Can someone tell me how can I fix the compile errors?

load local html file in webview android studio

Hello
I converted a game from Cordova
After that I open the project on َAndroid Studio
I add WebView to my project in order to add Banner Ads

this my code:
----------------------------------
Code:
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    // BannerPrapared();
    // enable Cordova apps to be started in the background
    Bundle extras = getIntent().getExtras();
    if (extras != null && extras.getBoolean("cdvStartInBackground", false)) {
        moveTaskToBack(true);
    }

    // Set by <content src="index.html" /> in config.xml
    myWebView = (WebView) findViewById(R.id.webview);
    WebSettings webSettings = myWebView.getSettings();
    webSettings.setJavaScriptEnabled(true);
    WebView myWebView = (WebView) findViewById(R.id.webview);
    BannerPrapared();
    //
    //
    // myWebView.loadUrl(launchUrl);
  myWebView.loadUrl("file:///android_asset/www/index.html");

----------------------------------------

The problem is that the game starts downloading and then celebrates

But when I put the link "https:// " of the game it works fine

I hope you get my idea

thanks

tracfone issue

i got a tracfone a21 phone and after 90 days i unlocked it and then put a metro sim into it. but i keep the account active and tracfone still thinks the phone is active. as i keep getting new cards for it. i took the tracfone and transferred it to metro pcs with a new number and now i want to get an updated TracFone to put that metro sim in but i can't get past the verification code. i asked them to send the code to the wifes phone and my metro phone number and it fails. so how do it get past that issue? what i want to do is put the tracfone sim back into the a21 phone i got last year and then after 90 days put the metro sim into the a51. i want to get this phone for metro and then get rid of the a21 with a gazilion minutes on it as i'm not using it anymore.

so does anyone know how i can get this done? or if i pick a phone that i have to pay for will that phone get past the verification code? so is there a generic code?

reti ad hoc

Ciao a tutti
Ho uno smartphone Realme 8 con Android 8 e avrei bisogno di collegarmi ad una rete ad hoc per ricezione di dati. Prima dell'ultimo aggiornamento accendevo il WiFi dello smartphone cercavo la rete e mi conettevo, quando lo smartphone si collegava alla rete mi usciva una finestra con scritto " rete senza internet , Connetti o annulla" scegli o connetti e iniziavo a ricevere dati. Ora, dopo l'aggiornamento, lo connetto alla rete e mi scrive la solita frase " rete senza internet" e invece di darmi le due opzioni "connetti o annulla" si sconnette in automatico e se è selezionato la spunta connetti alla rete in automatico, crea un loop di connessione e disconnessione.
Chiedo se qualcuno ha riscontrato lo stesso problema e come lo ha risolto.
Grazie anticipatamente
atramazz

Layout Editor: Vertical/Horizontal Dashed/dotted lines

Hi,

A few years I created a simple app. I don't remember what version of Android Studio I used. The app has worked fine. A few days ago I installed Dolphin 2021.3.1 and successfully walked through some tutorials.

To make some changes to my simple app I opened it. The attachment shows 2 vertical and 1 horizontal dashed/dotted lines in the Layout Editor, that I annotated with yellow arrows,.

Deleting all constraints and dragging the lines away from the area made them disappear.

Question: what did I do to cause the dashed/dotted lines, to show up?.

Thanks,
Bill

Attachments

Help Wifi control

Hello, First my Samsung is an A03 Core but this looks closest. I am new to smartphones. I have no idea which apps to let control my wifi since I don't know what that means. I don't have any 10-year-olds, so I need to ask some help. There is a fairly large list of apps which have control of my wifi connection. Can someone just let me know which apps are safest/best to leave on and which ones are best to leave off in a way that I won't have to mess in there again? Thanks for any help. Have a good day. :)

Help Unable to record video during temperature too high

Hello,

After taking videos for about 15mins or more, it shows this message "temperature too high to use camera. wait for phone to cool down before using camera." I missed some info that should be recorded due to this problem. Using Samsung Galaxy Note 8 default camera app to take video. Default camera app auto exit and I need to wait for it to cool down then I can use the default camera app again. I missed some info that should be recorded due to this problem.

How to solve the problem?

SlKjY2p.png


(When temperature is too high I have tried using another app called Open Camera for a few seconds and it works but I am too afraid of damaging my phone so I did not use any camera and let the phone cool down for about 10mins minimum then try to use the default camera app again.)

Can't run Gradle on Android Studio

Hello everyone!

I have a problem using Gradle on Android Studio. I'm doing my final degree project and I received an application made in Android Studio, I have instructions to run it in Java 8, using Android Gradle Plugin Version 3.3.0 and Gradle Version 4.10.1, apparently these are values that they don't want me to change.

The error message I get when building the project is: "Cause: com/android/tools/idea/gradle/run/OutputBuildAction has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
".

From what I understand the project is being compiled using Java 11 and trying to run using Java 8. To fix this problem I have gone to Project Structure, Gradle Settings and selected Gradle JDK version 1.8. I have also tried building the program on Windows, Ubuntu, having only Java 8 or Java 11 installed on my computer, changing the JAVA_HOME environmental variable, but nothing works.

I apologize if my explanation was not very good, English is not my native language and I am new to Android Studio and Gradle. I will give you any information you think is convenient to solve the problem, thanks!

Android Ver 9 & Google sign-in issue

When I try and visit a website on my Moto (g) play (XT1922-2) Android version 9, Google asks me, "Signed in to Google as" It then lists all my email accounts and more. Any email account I select to continue to the website has the same result, A Google page giving me the option of "Remove account". I just want to visit the website. Any help would be appreciated.

Chasing origin of error A resource failed to call close

I've spend a day and an half now trying to chase the origin of a LeakedCloseableViolation in my app, developed to target API v32.

I have enabled strict mode with:
Code:
StrictMode.setVmPolicy( new StrictMode.VmPolicy.Builder()
  .detectLeakedClosableObjects()
  .penaltyListener( this.getMainExecutor(), ( Violation v ) -> {
   v.fillInStackTrace();
   v.printStackTrace();
  } )
  .build());
And in LogCat I get
Code:
W/System.err: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. Callsite: close
W/System.err:     at com.wattthis.reflowmate.App.lambda$onCreate$0(App.java:30)
W/System.err:     at com.wattthis.reflowmate.App$$ExternalSyntheticLambda0.onVmViolation(Unknown Source:0)
W/System.err:     at android.os.StrictMode.lambda$onVmPolicyViolation$3(StrictMode.java:2462)
W/System.err:     at android.os.StrictMode$$ExternalSyntheticLambda3.run(Unknown Source:4)
W/System.err:     at android.os.Handler.handleCallback(Handler.java:942)
W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err:     at android.os.Looper.loopOnce(Looper.java:201)
W/System.err:     at android.os.Looper.loop(Looper.java:288)
W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:7898)
W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
W/System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Stacktrace doesn't appear to have any cause listed. I tried added getCause() to Violation that is thrown, but it returns Null.

I audited my code, and don't see any streams or observers, that are not being properly closed.

The error is perfectly reproducible.
I just open the app, and leave it open on the main Activity for 30 seconds. I don't touch the phone at all.
After 30 seconds, when garbage collection comes around, this error appear.

Anyone have any idea on how I can get more information about what is causing this issue?

Filter

Back
Top Bottom