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

Pinning apps - unpinning gets you stuck

I'm trying to use the "app pinning" method on my Samsung Galaxy Tab A (T280). This is for a tablet to be deployed as device controller, so it has to be locked down to a single app, but I don't want screen locking, so the user can at all times unlock the screen and access that one app. They have to be locked into the app.

With the app pinning I'm running into two issues.
1) I have to set up at least some security to prevent the user leaving the app. A screen pattern is good enough for this. But when I set this up for the app unpinning, it does the same for the screen unlock.
The screen unlock I know can be avoided by setting the development mode to not lock while on power supply; the tablet will be connected to a power supply at all times when deployed.

2) and this is a major one: when unpinning the app (pressing the back and recent buttons), the app is unpinned first, then the security pattern is asked. This is wrong (and outright a stupid way of doing things - can't believe Google did this). As it is the app gets unpinned (which is wrong, as the security pattern was not entered yet) and the user gets locked into having to enter the pattern, with no option to repin the app and get back to it (also wrong behaviour, of course).

The proper order is of course to first ask for the unlock pattern, when entered correctly unpin the app, or return to the still pinned app.

Any suggestions on making this pinning work in a useful manner?

Or do I really have to look for a "kiosk mode" app? If so - suggestions?

The main issue is that I (and a few other admins) will know the unlock code, but we will not be anywhere near the thing when it's used. The whole purpose is to lock it down, preventing the end user from accidentally getting into the main Android. I don't care much of them being able to find a workaround, if they do and things go wrong it's their own fault - it's their device, so high levels of security are not needed here.

Can this be done?

I would like to open a file on my android tablet and, by that action, open other, pre-programmed files on other networked (or Bluetoothed) android devices. I would like to use this capability to simultaneously open similar or related pdf files on 3 or more android devices. For example: Using it in a musical context, I would open the "Conductor" file on my device and that would open the "Trumpet" file in one android tablet, the "clarinet" file on another, the "flute" on another, etc.

I toyed with the idea of mirroring my "pointer device" (my finger) motion across all tablets. Making sure that all files are spatially arranged in the same order and physical location on the tablet. Unfortunately, that method seems rather archaic and prone to error.

Screen sharing (casting), which is used in educational settings comes close without the ability to deliver the correct files to the designated devices and multiboxing seems like a possible solution, but I don't know if it can be applied to multiple devices.

Thank you.

Thoughts anyone?

Device downloading random SWF files while browsing

Was browsing the web (duckduckgo) and noticed my Galaxy 8 device randomly doenloading SWF files. I did not click any downloadable media and when i tried to avvess the file it told me i didnt have the proper app. Downloaded a free SWF file player and tried to open the file but nothing came up. See screenshot for details.

Anyone know what this is and why my device would just download it without asking me first? Anyone else have this happen?

Attachments

  • Screenshot_20190529-201051_My Files.jpg
    Screenshot_20190529-201051_My Files.jpg
    133.7 KB · Views: 288

Reminders to be displayed on current screen

Using Galaxy Note 9 I'm having trouble with how to arrange for calendar
event reminders that show up on whatever screen I happen to be
on.

I've tested with the standard calendar and with google calendar.
Following this formula:

After creating an event to occur in 20 minutes and with a reminder/notification set for 5 minutes before
event. Then go on to other screens but I see nothing happen when 5 min before event rolls around.

Can anyone explain how this is done?

Is this a Hidden App Screen?

Phone is Samsung Galaxy S9 and carrier is ATT.
My 19 yr old son has been on some trouble. I pay for his phone so he can pay down some other debt. With that privilege, he has given me permission to place a spy app on his phone to monitor his activity. I do not obsessively check it, but do monitor a few times a week to make sure he is where he is and isnt engaging in the same shady behavior that got him in this mess. A few times I have come across a strange image that looks inlaid behind home screen app icons and folders, it also appears the screen is larger and the system and status bar overlay the app buttons. Unfortunately, I dont know know how to add a screen shot here for you to easily view. The design is symmetrical and almost looks like a reflective image, but it's not. I only see this screen occasionally, but gut instinct or mothers intuition has me wondering??? Hummm. Is anyone familiar with an app that would perform this way? Or can you advise how to post an image on this thread so I can share? Looking for peace of mind or an answer that will help justify a conversation and consequences. Thanks all!

MM phone not allowed

Hi everyone. Hope everyone is fine. I am using Samsung Galaxy Note 8 SM-N950F model currently here in Pakistan. The network i am using currently is Jazz/Warid.
My phone was just working from past 2 months (bought 2nd hand from market). But today its signal just vanished out of nowhere. Everything was just fine. But suddenly i am seeing a message in my notification bar "MM phone Services: Phone not allowed for voice" and my signals were gone, showing "Emergency calls only status".
I have tried several tricks, like changing the sim and putting this sim card in another phone. The other sim card works perfect in my galaxy note 8 and the sim works perfectly in other phones. I am not sure how to resolve this problem.
I have also read a forum that it maybe blacklisted and you should check on imeipro.info. I have checked my IMEI for blacklisting but the it was showing a "Clean" status. It means that my phone is not blacklisted.
Kindly guide me what should i do about it.

Regards,
Daniyal

java.lang.ArrayIndexOutOfBoundsException: length=0; index=0

I am facing some issue in my code, can anyone please help me on this, please find the below crash which i am getting,

Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0

at com.***.in.***.onRequestPermissionsResult(***.java:476)

at android.app.Activity.requestPermissions(Activity.java:4290)

at com.***.in.***.startGeofence(***.java:450)

at com.***.in.***.FunctionCall(***.java:332)

at com.***.in.***.LoadConstants(***.java:238)

at com.***.in.***.access$100(***.java:75)

at com.***.in.***$5$1.run(***.java:267)

at android.os.Handler.handleCallback(Handler.java:754)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:163)

at android.app.ActivityThread.main(ActivityThread.java:6393)

at java.lang.reflect.Method.invoke(Method.java)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)


Please find my code where the crash is happening,

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
if (checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
requestPermissions(
new String[]{
Manifest.permission.ACCESS_FINE_LOCATION
},
4500);
}

@override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
if(requestCode != RESULT_CANCELED) {
if (requestCode == 4500) {
***(grantResults[0] == PackageManager.PERMISSION_GRANTED); - #Crash in this line#
} else {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
}
}
}

Note: This crash is not happening in all devices, only some devices like (ViVo, Redmi, Oppo) - that too specific with specific devices and OS this crash occurs.

Creating a new Battery Update Service app

So im buikding a app that doesnt require root access and gentky searches updates for your model(s) battery so not only your keeping your OS up-to-date but as well keep your battery up-to-date.

This process will take approximately up to 30 mins to find the correct update for your specific android version, model and battery specs and install them in the battery(s) main power boared, it works the same way as a "Pandora's Battery for the PSP" but this is tokeep tge bosrd updated so it can save your battery and force it to output less power even if Power Saving is off.

The point of this app is to force the battery to use the lowest power output without affecting system performance, and with our database we can safely update your batteies binary code by searching the right binary configuration for your specific device, and itll onky update after your system gets a full restart!

Any feedback about this idea?

Help Earphone mic volume is very low in my phone. Any fixes?

Its Lenovo Z2 Plus. It used to work well before. Now, the issue is, people on the other end of phone call are not able to hear me properly while I'm using earphone plus voice recording through earphone mic results in too feeble sound. I've tried this with several earphones. I am using custom ROM AEX now. I think after I have changed to this rom, the mic problem has started. I prefer not to change rom again and again, for I have to spend more time adjusting settings and installing apps and login into all of them, also apps like GPay, Phone Pe may not work. Any solutions for this?

Spots on my screen?

Hey guys! So, I dropped my phone of the floor a while back, and the screen is cracked. At the start, the only issue was the cracks. Over time, however, yellow spots on certain parts of the screen, and yellow streaks along the cracks have formed. Two of the dots are like a purple-y color. Should I be worried?

Help Displaying contact organisation when someone calls

Hi,

My S6 used for work only displays the contact name when someone calls, is it possible to also display organisation and job title? This seems like a really silly thing not to show, I have several thousand work contacts and this information would help me figure out who is calling if I don't recognise the name.

I have done some searching for this but all the strings I've searched for just bring up how to change which contacts are displayed in the contacts list :/

Thanks

Help (Galaxy J2) "Settings keeps stopping." when trying to change language priority in Language settings.

Hi there. I've got a family member who's having problems switching the language priority in the settings between English and Spanish. I've tried many different things like clearing the RAM, uninstalling excess apps, taking out the SD card, and resetting the phone settings (except for factory reset) and nothing seems to work. By switching the number 1. language from English to Spanish then selecting Done, Settings will simply stop working every time. I'm trying to avoid a factory reset as I've set the user up with a work around. Not sure what I need to do at this point. I am somewhat inexperienced with Android OS as I just haven't put time aside to learn it.

Any suggestions and advice will be greatly appreciated on my end.

Thanks in advance!

Help Samsung galaxy tab A 10.5'' 2018 major bug

Hey so I recently got a software update on my samsung galaxy tab A 10.5'' 2018 (the version without the SIM card slot) and I noticed that in Device Maintenance > Battery > Advanced Settings there is an option called "Protect Battery" and it says it stops charging the device when it reaches 85% to extend the battery life, but for some reason when I enable this option it keeps charging past 85%. I tried restarting, disabling the feature and enabling it again, letting the tablet charge completely, restarting the tablet while the charger is connected but nothing worked, it keeps charging even after it reaches 85%. Also, when I made this post the samsung galaxy tab A 10.5 was not available in the drop-down menu which is also kind of weird (perhaps it's a less known tablet?)
I appreciate any help with this.

Filter

Back
Top Bottom