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

Android script to automatically print files copied to a folder?

Is there a script for android that would automatically print files that are copied to a certain folder? Once printed, I would like the script to then delete the files in the folder. At the moment I am using the HP Print Service plugin to print from android to a HP printer, but want to automate this process so that I don't have to open each document that I want to print. I simply want a script to print all files in a folder and when printed delete those files. File types I need printed are jpg, PNG, doc, docx, pdf.

If there is nothing already written to do this, how difficult would it be to write something like this for android?

Verizon android warranty or other warranty companies?

I'm getting a new Verizon S20 phone. I hope there will be no problems with it.

I don't like the warranties that the manufacturers or Verizon offer because they will send you a refurbished phone if there is a problem. I did not have any good experiences with refurbished phones because many companies just send out the damaged phones others sent back without fixing anything.

I'm thinking of buying a warranty from an independent warranty company that will have a repair shop fix my own phone . That way I will know what I'm getting.

Any advice on this?

Wrongs reviews on Google Play

Hello,

I develop an application that I propose on Google Play. I have a problem that I guess is quite common. I'm quite confused by the negative comments I receive. Most of the time, the comments do not contain any usable information. When reviewers say something, it's to focus on small details (colors, menu item).
The rating is then systematically 1/5. All my attempts to contact these people are unsuccessful. Basically, I still don't know what is wrong with my application. How to get out of this situation?

Thanks !

Francky033

Moto Magic Messaging ?

I connect my spare Moto E6 Plus every few days or week to keep it up to date.

It nearly always has a notification of another Motorola offer already on the screen.

There is no sim card in the phone.

WiFi is always turned off when I put it to rest, and shows off when I return to the phone days later with a new Motorola notification.
I don't have home WiFi. I need to turn on Hotspot on another phone, or my Mifi device fitted with another data sim.

When I turn the Moto wifi on, dozens of mostly email notifications flood in. I keep all my regular apps and notes up to date if I ever want to switch. (It's very light and small) It's still getting security patches.

I've had several Motorola"s and get regular emails.

How does it receive Moto Notifications when it's unconnected, in Airplane and Battery Saver Mode in a drawer?


Screenshot_20210705-102004.jpg

re-use workmanager instance between multiple unit tests

Hello,

Is there any way i can re-use an existing workmanager for application instances created by multiple tests?.

My issue:
i have multiple unit tests, my first test runs succesfully, next time onwards i face below error.

W/eSync: Can not re-initialize work manager, Robolectric problem?
2021-07-02T19:40:08.323+0530 [DEBUG] [TestEventLogger] java.lang.IllegalStateException: WorkManager is already initialized. Did you try to initialize it manually without disabling WorkManagerInitializer? See WorkManager#initialize(Context, Configuration) or the class level Javadoc for more information.
so can i use re-use an existing workmanager (created during first unit test) for application instances created by multiple tests?

i tried to old work manager instance, that time work manager state is illegalStateException

2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Illegal connection pointer 1. Current pointers for thread Thread[pool-2-thread-3,5,SDK 28] []
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:516)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:497)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at com.excelfore.esync.agent.JoynextUpdateApp.isWorkScheduled(JoynextUpdateApp.java:254)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at com.excelfore.esync.agent.JoynextUpdateApp.onCreate(JoynextUpdateApp.java:230)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at org.robolectric.android.internal.AndroidTestEnvironment.lambda$installAndCreateApplication$0(AndroidTestEnvironment.java:288)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at org.robolectric.util.PerfStatsCollector.measure(PerfStatsCollector.java:75)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at org.robolectric.android.internal.AndroidTestEnvironment.installAndCreateApplication(AndroidTestEnvironment.java:288)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at org.robolectric.android.internal.AndroidTestEnvironment.setUpApplicationState(AndroidTestEnvironment.java:171)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at org.robolectric.RobolectricTestRunner.beforeTest(RobolectricTestRunner.java:319)
2021-07-05T10:16:54.668+0530 [DEBUG] [TestEventLogger] at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$0(SandboxTestRunner.java:254)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:89)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at java.lang.Thread.run(Thread.java:748)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] Caused by: java.lang.IllegalStateException: Illegal connection pointer 1. Current pointers for thread Thread[pool-2-thread-3,5,SDK 28] []
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at org.robolectric.shadows.ShadowSQLiteConnection$Connections.getConnection(ShadowSQLiteConnection.java:369)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at org.robolectric.shadows.ShadowSQLiteConnection$Connections.prepareStatement(ShadowSQLiteConnection.java:419)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at org.robolectric.shadows.ShadowSQLiteConnection.nativePrepareStatement(ShadowSQLiteConnection.java:90)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at android.database.sqlite.SQLiteConnection.nativePrepareStatement(SQLiteConnection.java)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:903)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:562)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at android.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:323)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at android.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:298)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:549)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:460)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at androidx.sqlite.db.framework.FrameworkSQLiteDatabase.beginTransaction(FrameworkSQLiteDatabase.java:69)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at androidx.room.RoomDatabase.beginTransaction(RoomDatabase.java:354)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at androidx.work.impl.model.WorkSpecDao_Impl.getWorkStatusPojoForTag(WorkSpecDao_Impl.java:1033)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at androidx.work.impl.utils.StatusRunnable$3.runInternal(StatusRunnable.java:130)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at androidx.work.impl.utils.StatusRunnable$3.runInternal(StatusRunnable.java:125)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at androidx.work.impl.utils.StatusRunnable.run(StatusRunnable.java:47)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
2021-07-05T10:16:54.669+0530 [DEBUG] [TestEventLogger] ... 3 more


Thanks and Regards,
ck

Help Samsung Galaxy S32 5G not registered network

My new Samsung Galaxy S32 5G that has been working OK for the past few weeks, is now not making calls because it is "not registered to the network." Shortly before doing this, it stopped connecting to internet. All this happened after the last update for June 2021.

My carrier is Straight Talk but I think this phone is supposed to use a Verizon network (sorry I don't quite know how this works & hope that makes sense to you all here)

The APN is Tracphone/VZWINTERNET & my phone does not give me an option for any other APNs.

I already tried:
-taking the SIM card out & back in
-taking in and out of airplane mode
-turning mobile data on and off (I have no mobile data limit)
-resetting network settings
-resetting accessibility settings and selecting "reset all settings"
-restarting the phone about 678676 times
-factory reset

I don't know if this is significant or not, but I do have bars that look active & sometimes the LTE/LTE+ will show up next to them, but this doesn't change anything, the internet is still down and calls cannot be made to/from the phone.

Please let me know if you need any more information and thank you so so much whoever is reading this, if you could help it would be so much appreciated. thank you!!

No Cell service following Update

I accepted the pushed update last night and all seemed fine following. This morning I sent a couple of texts only to receive a message that they were pending being sent. I thought nothing about it until my son called my wife asking if all was okay on our end. He had text and called my phone with no response. I checked my phone and my texts were still pending and then I noticed I had no cell service. I had internet service but that was through my local network. I rebooted the phone with zero resolve. I then put my phone into airplane mode and then took it out of airplane mode. A flood of texts flowed in and a number of missed calls and voice mail.
I don't know why the update messed up my phone but the fix was easy enough. I hope my phone was an isolated case but if not... switching to airplane mode and back is the fix.

Help Help needed with Einstein's Riddle

I am seeking some help with Einstein’s Riddle by Rottz Games. The puzzles categorized as Hard, for me, are easy – I have managed to solve several hundred of them without any issues. However, I have run into an issue with a puzzle categorized as Extreme...

Without giving too much away, the way I solve these puzzles is to first solve one row, and from there, solve the rest of the puzzle. While some might feel that the selection of the first row is random luck, I have a process that usually results in the proper first row’s being selected about half the time.

The issue I am having is with Extreme puzzle 18. I have tried each row as the first row, but am unable to solve this puzzle. I have double checked my efforts and have not made any stupid mistakes. My (initial) questions are simply these:
  1. Have you found a solution to this puzzle?
  2. If you have found a solution, and if you use a process similar to mine for solving the puzzle, which is the first row that worked? (My best results, i.e., the most items removed, were with row 3 and row 5 as the first rows.)

Find my phone app for kids?

Ok, my daughter just lost her phone and took her a while to find it. I told her, once you find it, you need to install find my android. Even if the phone is on silent, it will make it make loud noises. They then tried to download it and they got a message that the app is not available for kids. Why would google not want kids to be able to locate their phones?

My God, so much spam via SMS

I'm using chompSMS, and have for years. I'm currently on a Samsung Galaxy Note 9. I don't even do all that much texting, but it's still an important app. Lately, however, I've been frustrated by the number of spam SMS texts I keep getting. Most of them are addressed to like a zillion different phone numbers. Then I get all the "STOP" messages from other people, annoyed by the spam, and I can't really blame them. It's still annoying.

Is there a good anti-spam SMS app or a plug-in I could use with chomp? If I could just tell it to reject any messages that are being sent to more than 5 phone numbers, that would kill off most of them. I don't normally text more than one person at a time. If I do text more than one, it's 5 people max.

Help Strange Rotation Sensor behavior


No problem when rotating/moving the phone, but after I stop the rotation, it jumps position... I don't know which sensor is causing this problem.

Really annoying when watching 360 videos with headset on, since it changes position as soon as I stop moving my head.

Is there any way to fix it?

[EDIT] I meant the rotation of the VR related sensors, not the screen rotation.

Activating an eSIM in an already personalized phone without factory reset?

For the last 2-3 weeks I've been stuck with a problem that I am unable to resolve, for which reason I cannot use my new phone.

I have a new Pixel 4a 5G. A TMo agent botched the eSIM activation -- sent me a "blank" eSIM for an Apple phone that did not work in an Android device -- I had to erase it. Thus I spent those weeks personalizing the phone without an active SIM and no mobile account, using just the WiFi, believing I can install a eSIM later.

All TMo stores in SF are closed. After I talked to about 4-5 clueless agents, I reached a manager (in the Philippines!) who told me that the only solution is to factory reset the phone and activate an eSIM properly, which means I would have to repeat all that personalization -- I cannot afford that.

1. Isn't there a way to activate a SIM without a reset? Does it hold for both eSIM and physical SIM? I have
an old SIM I could transfer from the old phone.
2. Is all the personalization recoverable from backup? Anything that's lost?

I don't trust TMo anymore and would drop it, but it has the plan that suits me best and in my experience the
other carriers are not much better.

Any help will be greatly appreciated.

Android device not detected in ADB but can reboot it BRICKED

I have a weird problem, I have a Huawei P30 Lite that is bricked when I tried to downgrade and skip the google email in the setup. The screen doesn't turn on but when the battery is very low the notification light blinks. So when it plugged into the pc the computer makes a USB input sound and when I take it out it makes a USB output sound. So I downloaded all the drivers ADB and everything but if I type ADB devices it shows nothing but when I do fastboot reboot it restarts the phone because the pc makes a USB input and a USB output sound. My end goal is to unbrick this phone I desperately need someone smarter than me, please!

Is there any way I can unbrick this phone?

Do Not Disturb Mode not working (unable to turn off notifications)

Hi,

I recently purchased a Samsung Galaxy 21. I would like to be able to block calls from anyone not in my contacts, and I'd also like to be able to turn off notifications for voicemails (i.e. when someone leaves me a voicemail, I do not want a notification about it).

I was able to do both of these things on my old phone, which was a Samsung Galaxy 8. On that phone, I used an app called Blacklist Plus to block all calls from anyone not in my contacts, which worked successfully (unfortunately it doesn't work on my Galaxy S21, I already tried). And I was able to go into the settings on my S8 to turn off notifications for Voicemails.

On my Galaxy S21, I am completely unable to turn off notifications for Voicemails. When going into the "Settings" and "Notifications" section of my S21, there is a slider for Voicemail notifications - but I am unable to turn the slider to "off" (the slider appears black and white, and I can't slide it to off).

I was able to turn notifications off for "Visual Voicemail," but not for the "Phone" app (I get voicemail notifications from the "Phone" app).

I even tried "Do Not Disturb" Mode. I changed the settings so that only contacts could get past the "Do Not Disturb" Mode, but shockingly this didn't work at all (non-Contacts can still call me). Furthermore, it did nothing to prevent me from getting notifications about Voicemails.

Any help whatsoever would be very much appreciated. I get a ton of spam calls - so many to the point that I prefer to just block all numbers that aren't in my contacts, and I prefer to just never go into my voicemails.

Thank you
Dave

Help Can't get bubbles to work in Whatsapp

I have a problem getting bubbles with WhatsApp to work. I have bubbles enabled and in WhatsApp's notification settings I have it set to 'all conversations can bubble' but the icon to 'bubble' it won't appear in the bottom right of the notification. I tried reinstalling it and restarting my phone but it simply refuses to work. With telegram it works just fine as with other apps that support it but not WhatsApp. What could be the issue?

Device info
Device: Nokia 8.1
OS: Android 11; Security patch level: May 2021
App version: 2.21.12.21
Screenshot_20210702-185407.png

Screenshot_20210702-184119.png

Proximity sensor problems Huawei p30

Hello I have a question, hopefully someone can help me. I have a Huawei p30 Leica, bought second-hand, the cell phone was previously reviewed by a specialist, it worked perfectly. The day I finally had it in my hand, I did a total formatting and this could perhaps cause the problem: The intelligent diagnosis of my Huawei specifies that the proximity sensor does not work correctly and the same way the ambient light sensor does not work correctly. It is correct since when calling, the screen does not turn off but if the speaker works, it also happens that when listening to audios in WhatsApp it does not enable the upper speaker of the screen so I cannot listen in private mode due to the sensor. I have tried with apps to calibrate, test apps, look for options in the Huawei that is to activate it in case it is disabled but there is no visible option in settings to solve the problem. With the application "Proximity Checker" when starting the test it puts me on the screen "Proximity Sensor is not available" so it is not available. I wonder if it could be emui 10.1 update error, installation error, formatting error or if the sensor is damaged in the terminal? The Huawei unlocks the screen perfectly with facial recognition, it recognizes when it is in front of my face but it does not recognize in calls, it is rare. Any advice?

Video and Image Apps Able to Open One File Only

I have a Galaxy Tab A (2016) running Android 8.1 and I have a weird security problem. Any of the image or video viewing applications, such as MX Player, can open up one file from the File Manager on the SD Card. But if you hit the in-App buttons for "next" or "previous", the App is unable to advance and remains stuck on the video or image you originally viewed. It definitely looks like some kind of security restriction in what the Apps are able to see in the folder. At a deeper level, it looks like they might be unable to get a listing of all files in the current folder, and therefore they do not know what the next file to open is. If I manually try to open the next file, starting from the File Manager, then it opens.

It does not matter which File Manager I use to do this. The behavior is always the same.

Reviewing security options around storage, I do not see any options that would explain this behavior. Does anyone have a theory and is there a solution?

Filter

Back
Top Bottom