wi fi – Android 10: Connecting to hidden network through ConnectivityManager.requestNetwork()

I’m trying to figure out how to use Android’s new and “improvedNetworkSpecifier APIs to properly connect to a hidden network programmatically, instead of using the old and deprecated WifiConfiguration method.

Currently, my application can already connect to a visible network using the following code:

networkRequestCallback = BlockingNetworkCallback(connectivityManager, future)
connectivityManager.requestNetwork(
    NetworkRequest.Builder().apply {
        addTransportType(NetworkCapabilities.TRANSPORT_WIFI)
        removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)
        setNetworkSpecifier(
            WifiNetworkSpecifier.Builder().apply {
                setSsid(ssid)
            }.build()
        )
    }.build(),
    networkRequestCallback
)

Where the BlockingNetworkCallback simply implements the NetworkCallback interface, and it calls connectivityManager.bindProcessToNetwork(network) inside its onAvailable() once it finds the desired network. I can post this code if necessary, though I find it somewhat trivial.

Once the requirements of our app changed, and we were now required to find a connect to a hidden network instead of a visible one, my hope was that adding this line setIsHiddenSsid(true) into the NetworkSpecifier would do the trick. But as it is very usual with Android, that is not the case all the time.
Pixel phones work like a charm to no surprise, but it seems that no other phone wants to make that happen — I’ve tried a few devices from the Samsung-family, Motorolas, LGs, even a random Sony device we’ve got.

Long story short, I’d like to know if there’s a better way of connecting to a hidden network in Android 10 and above and, ideally, using some kind of NetworkRequest, unless of course there’s a better solution.

sharepoint online – How to set field as hidden in list content type using API?

I need to set field as hidden (not visible on list form) using REST API. I don’t know how to setup command. I found location of this parameter in xml but I don’t know how to refer and update them, you can see on screenshots Hidden=”TRUE” in <d:Schemaxml> – by default it is “FALSE” – how to update it?

hidden

schema

hiddenn

command line – how to recursively list only hidden files from a terminal

I would like to do something like

ls -RA .?* >> LSRA.list

but with this command and some other variants I tried, I always get also all non-hidden files in the directory where I am.

Namely, if the directory contains files

.hiddenfile foo

with above command I get ther recursive list of both, while I would like to ave only the recursive list of files and directory starting with . (but not the . directory itself!)

I checked answers to this question but I did’t find the solution to my problem.

HIDDEN DEVICE ADMIN – Android Enthusiasts Stack Exchange

I’m trying to install package disabler pro + (premium)
and I’ve done so many times before on this phone and others.
it requires the command

./adb shell dpm set-device-owner "com.pdp.deviceowner/.receivers.AdminReceiver"

But now it returns an error stating that it already has an admin within seconds of manually removing all admin controllers, also even after shutdown and restart.


ps the previous moderater is retarded. this answer is back open again and meets community guidelines.
Error: Unknown admin: ComponentInfo{com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiver}
PS C:adbtool> ./adb shell dpm set-device-owner "com.pdp.deviceowner/.receivers.AdminReceiver"
java.lang.IllegalStateException: Not allowed to set the device owner because there are already some accounts on the device
        at android.os.Parcel.readException(Parcel.java:1691)
        at android.os.Parcel.readException(Parcel.java:1636)
        at android.app.admin.IDevicePolicyManager$Stub$Proxy.setDeviceOwner(IDevicePolicyManager.java:4591)
        at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:148)
        at com.android.commands.dpm.Dpm.onRun(Dpm.java:96)
        at com.android.internal.os.BaseCommand.run(BaseCommand.java:51)
        at com.android.commands.dpm.Dpm.main(Dpm.java:41)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)

My issue is that I cannot install the new admin fast enough to block out this (probably viral) other admin

and

I cannot remove/list/factory reset the fake admin as there are currently no issued commands that I can find to do so

Is there a way to concatenate a string together so it will delete all previous DeviceOwners and install the proper admin fast enough?

Or to list the DeviceOwners, so I can remove one, or all of them at once?

The accounts are literally blank right now, I even tried to poke for a single space symbol that might be there that is the dummy DeviceOwner or viral DeviceOwner so that I could purge it manually.

accessibility – Should a Carousel hide visibly hidden content from screen readers

There’s a carousel on the site I am on which does as most accessible carousels, visibly hidden items are also hidden from screen readers (in this case using aria-hidden). This seems to be the normal suggestion for all carousels which strikes me as weird.

First off the elements in the carousel are statically present in the DOM, so it is just a list of elements that could be read sequentially.

Second of all the display of carousel items is done using css transforms, meaning that from a screen readers viewpoint I don’t think you end up with anything actually changing position in reading order, so you shouldn’t lose the context of where you are – example transform:

transform: translate3d(-200%, 0px, 0px); 

Should the Screen reader still be forced to treat this as a carousel, or can it just read it as a list of content in a region?

What is difference between Hidden Markov Model and Non-deterministic Finite-State Machine?

Deterministic Finite State Machines have at most one trace for a given input. Nondeterministic Finite State Machines may have many traces for a given input. A Hidden Markov Model in some sense fits “in between” these extremes as the traces are probabilistic. With a Hidden Markov Model we do not have complete freedom to choose which trace to follow as we are governed by probabilities. A Hidden Markov Model is essentially a transducer-style Finite State Machine having outputs & transitions governed by a random process; the outputs generated at states are per a random variable model of what happens at that state, e.g., “if the weather is cloudy then 20% it will turn rainy / 80% it will turn sunny”.

backup – How to handle hidden files and folders (which begin with a period/dot) when backing up Android to a Windows NTFS volume?

Over on Superuser, I asked about whether or not it’s okay to have filenames and/or folder names that begin with a period (dot) on a Windows NTFS volume.

The immediate response I received was to avoid doing this.

What’s an effective way to backup Android hidden files and folders (which begin with a period) onto a Windows NTFS volume?

The person answering my question on Superuser recommended renaming the files on Android, if possible. Well, that’s certainly possible. It involves these steps:

  1. Finding every file/folder that begins with a period
  2. Making a copy of each file/folder found
  3. Renaming each file/folder copied to a unique name that does not begin with a period
  4. Backing up the copies (most likely via FTP)
  5. Deleting all the copies

Ugh. Is there a better way to accomplish this task? And if not, is there a way to automate all this work?

finder – How to get access to hidden folders from another Macintosh HD (Users/Applications)?

I need to back up the main Users folder, as well as all other data, from my main Mac (2013 13″ MBP). I’ve gotten the dreaded UEFI-inspired flashing question mark, and tried running Disk Utility’s repair options on it, both on in recovery mode on the main machine, as well as from another machine (with the drive connected via a SATA-to-USB cable into another older MBP — my wife’s).

B/c I didn’t have the option of backing up the machine “normally” — copying all files and folders through the Finder of my wife’s machine, due to perms issues — I’ve used the utility app Disk Drill to create a .dmg file, encompassing the whole drive’s contents (a byte-for-byte copy, is what it’s called in this software).

First, is there any other way of getting to the main Users folder, and the Applications, too? They’re all hidden, as they were installed/created by a user not present on my wife’s machine? (I just wanted the assurance of copying the files by hand, too, before wiping my machine’s 1TB SSD and restoring the files from the disk image file I’d created in Disk Drill.) Secondarily (as a bonus question), is there anything suspect with the above approach?

Many, many thanks, to all who take the time to read, much less answer.

hidden – How do I display what songs I hid on Spotify?

Accidentally I hid one song inside of the android app of Spotify and pressed the back button accidentally, as well. I used Google to look for a solution to show hidden songs. I only found solutions, which require to know, what song was hidden, in order to show it again. As I don’t know, what song was hidden (described above), I’d like to know if there’s an ability to display what songs were hidden inside of Spotify. If there’s one, please tell me, how it works!