audio – VOIP application – How to silent notification sound and vibration of external application during the ongoing VOIP call?

I am developing a VOIP application on android platform. I have a requirement to silent the external app notification sound and vibration when the VOIP call is in progress. If the notification is from my own app and any incoming GSM-P call then the notificaton sound should come from the earpiece along with the VOIP call. Vibration should not happen at all in any of the scenarios.

I am setting audio mode to “MODE_IN_COMMUNICATION” using Audio manager android API when the VOIP call is in progress.

this.audioManager.setMode(android.media.AudioManager.MODE_IN_COMMUNICATION);

Once the VOIP call is over, I am setting audio mode back to Normal in order to have notification sound from the speaker and vibration as per user settings.

this.audioManager.setMode(android.media.AudioManager.MODE_NORMAL);

Using above code, I am able to get all the notification audio from the earpiece along with the VOIP call. But I am not able to silent the external application notification sound. Also I am not able to stop the vibration in all scenarios.

I have checked the WhatsApp voice calling behavior and it is having 80% similar behavior what I wanted. Can you please suggest any Android APIs which can help me to achieve what I want? Thank you in advance.

How send alert to special external form with zabbix?


Your privacy


By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




mount – Link2sd Change external storage location of internal formatted as card?

I had installed linked without pro version without rooting the phone it has an option in setting of auto link apps to add card which moved or partly links installed apps to as card..I had enBled the option

I have Android 6.0.1 and I had formatted my 64gb Microsoft card as internal memory

Now whenever I install app it gives notification error mount failure /data/sdtext/ mount not found

I think that as the sd card formatted as internal so it’s not showing the proper locTion to linked

So my question is how to find the internal formatted SD card device location and how to mount it..or how where to alter change the location in link2sdd app. Even in app mainfest or in Android phone to resolve the error

usb – What is the fastest external storage supported on Intel 2020 27″ iMac?

There are three things which effect compatibility and performance when connecting external storage:

  1. The physical connector and cable. The 2020 iMac has four USB Type A (USB-A) and two USB Type C (USB-C) connectors.

  2. The data transfer protocol – USB 1, USB 2, USB 3 (and later variants 3.1 and 3.2) and Thunderbolt. There is also USB 4, but this is not relevant to 2020 iMac. The 202O iMac supports:

  • USB-A ports: USB 3.0 (maximum speed 5 Gbits/s) and slower USB 2 and
    USB 1.
  • USB-C ports: Thunderbolt 3 (maximum speed 40 Gbits/s), USB 3.1
    gen2 (10 Gbits/s), and slower USB 3.1 speeds.
  1. The drive inside the external device/enclosure. Common types are are SATA (maximum speed 6 Gbits/s) or NVMe (faster). HDD are usually SATA, whilst SSDs might be SATA or NVMe.

The USB 3.1 gen1 and 3.2 gen1 standards are similar to USB 3.0 and storage devices specifying these are generally compatible with USB 3.0 via the USB-A ports.

Further, the USB 3.2 gen2 is very close to USB 3.1 gen2. So storage devices specifying USB 3.2 gen2 should be compatible with the USB 3.1 gen2 protocol delivered by the USB-C ports.

As well as the the iMac ports supporting or being compatible with multiple data protocols, most USB storage devices support multiple data protocols and (in many cases) both USB-A and USB-C cables and computer ports.

For an overview of USB standards read Wikipedia.

But Thunderbolt 3 storage devices can only be connected to the USB-C ports and must use Thunderbolt 3 cables. Older Thunderbolt 1 and 2 devices can only be connected using cables which convert to Thunderbolt 3 – the iMac does not directly support Thunderbolt 1 and 2.

Note that physical USB-C ports which support Thunderbolt 3 have a thunderbolt like symbol next to them. For more detail read Wikipedia.

To further confuse matters (but out of scope for this question) USB-C ports also support connecting monitors using, for examples, Display Port and HDMI standards.

What should you be looking for:

For maximum speed (and cost) you should be looking for a Thunderbolt 3 SSD storage device. These can have performance similar to the internal SSD (~2000 MByte/s). Example: Samsung X5.

For a more modest cost, there are SSDs which use USB 3.1 Gen 2 (or 3.2 Gen 2) and via the USB-C ports on the iMac will deliver ~1000 Mbyte/s. Example: Sumsung T7.

And for a slightly more modest cost there are SSDs which use USB 3.1 Gen 2 (or 3.2 Gen 2), but internally use SATA SSDs and deliver only ~500 Mbyte/s. Example: Samsung T5. These devices can connect to either USB-C or USB-A ports using USB 3.0, 3.1 Gen1/2 or 3.2 Gen1/2 – the differences in speed are minor as the SATA SSD becomes the bottleneck.

Unless you have a professional need for highest speed, devices like the Samsung T7 (or T5) provide fast secondary storage.

I have just used Samsung as examples. There are other equally good (and some not quite so good) brands.

external keyboard – manipulating character strings communicated over Bluetooth

I successfully installed a Bluetooth Keyboard Emulator for an Android device – it has keyboard and mouse control that works nicely.
I wonder if there is a way to “break” the app to get access to the character strings that are communicated from the Android device to the notebook, via the Bluetooth link, to support manipulation or feeding “synthetic” character strings to the notebook.

exchange – Tag External Emails from NEW external addresses

We work with a giant company that prepends an email tag to every externally originating (to them) email that goes something like:

“Warning, this email originated outside your organization – don’t click any links unless you recognize the sender”

I don’t want to implement tagging exactly like this because 90% of all our mail flow is between us and this company. I’m worried the tagging would just become noise that gets ignored. (not to mention clutters email chains)

What I would like to set up instead would be tagging that only applies when an external account emails our organization for the first time For example, the tag would look like:

“Warning – you’ve never received an email from jon.doe@gmail.com before – Use caution if you were not expecting this email”

which I believe would be much more effective.

Does anyone know how to do this? Our environment:

On prem Exhchange 2013 / Proofpoint Spam Filtering

privacy – Does NW.js send “crash reports” to Google (or anyone external) by default?

https://nwjs.readthedocs.io/en/latest/References/Manifest%20Format/

crash_report_url

Once the app crashed, the crash dump file and information about the runtime environment will be sent to the crash server. It’s sent in the same way as in Chromium browser: a HTTP POST request with multipart/form-data as the content type. In theory, any breakpad/crashpad server could handle the request, since breakpad/crashpad work in the same way in NW as they do in Chromium.

Nothing is said about any default value/behaviour. I get the gut feeling that, by default, if a NW.js application crashes, it sends a bunch of data (“crash report”) to some Chromium (= Google) server.

Can somebody please verify that this is/isn’t the case? And what should I set this value to in order for it to never happen?

I don’t want any data to leave my NW.js application for any reason unless I very explicitly tell it to.

PS: I would ask on their Github repo if Github allowed me to register/ask. Which it doesn’t.

Timestamp filter on a Date type of column in the SharePoint External Content Type

  1. I have created an ECT with no Timestamp filter and I see all the values I need to in the list view in SharePoint. No problem.

enter image description here

  1. I have created another ECT with the same data source but with Timestamp filter defined ON the “Date” (NOT DateTime, ”””) type of column with DatTimeField checkbox checked during the creation of ECT.
    AND NOW I DO NOT SEE ANY VALUES COMING FROM THE DATA SOURCE.

enter image description here

  1. I do not see the data source filter when I edit the view of the list of ECT with Timestamp filter.

enter image description here

At this point I am not sure if Timestamp filter can be used the way I am trying to do. I have read that it would be used by the search engine of the SharePoint. For that it would be crawled by the indexer.

Am I missing something?

All other filters are perfectly working in every ECT I have ever created in my life so far. No problems.

external sd – Unable to set removable SD card as the default location using ADB

I have a Sony Xperia (E2303) running Android 6.0.1. I have a 32 GB removable SD card. I got Android to format it. I think it is still a FAT32 file system. I was not given an option to format as internal as ext4.

I tried the suggestion: Installing to SDCard by default in this article by Izzy.

I am not rooted. When I run the command, this is what I get – a permission related issue on a folder created by the Android OS on the SD Card:

$ adb shell pm set-install-location 2
Error: java.lang.SecurityException: Package android does not belong to 2000
$ 

Does anyone have any ideas of what I can do to resolve this?

macos – Big Sur automatic hfs_convert to APFS STUCK at 10% on external rotational drive

So I have a 3TB external rotational drive that I only ever used with older macOS versions.

Big Sur then decided to automatically do a background hfs_convert to APFS on the external rotational drive which is now permanently STUCK at 10% encryption no matter what I have tried.

Even worse, after a few seconds of being mounted it then declares that it is fully filevault encrypted and refuses to decrypt.

All files are listed correctly in their directories but are inaccessible.

I did manage to trigger the encryption progress one time on another mac running Mojave but it was USB 2.0 and took a day to get to 14%. Upon putting it back on the Big Sur machine it’s gone back to mounting at 10% for few seconds and then FileVault encrypted.

Have googled this extensively and tried everything I can find.

The most useful solutions were to use another mac, and also if it says 10% (Paused) to then copy a file onto the drive to get it started. These don’t work anymore… perhaps the older machine remembers the drive?

Here are the errors I get when doing an fsck_apfs:

** Checking the container superblock.
   Checking the checkpoint with transaction ID 5023576.
** Checking the EFI jumpstart record.
** Checking the space manager.
** Checking the space manager free queue trees.
** Checking the object map.
** Checking volume.
** Checking the APFS volume superblock.
   The volume Elemental was formatted by hfs_convert (748.77.12) and last modified by apfs_kext (1677.120.9).
** Checking the object map.
error: ersb_total_blk_to_encrypt (681983560) exceeds bm_bit_count (366237179)
   Encryption Rolling data structures are invalid.
** The volume /dev/disk3s1 could not be verified completely.

Can I delete some checkpoints or snapshots for the volume?

Any help or suggestions greatly appreciated! <–(mods don’t remove, I am free to be appreciative)

P.S. I have no idea why on earth Apple decided it would be a good idea to automatically convert HFS+ encrypted volumes to APFS encrypted on large rotational drives with seemingly no warning. I have noticed in Big Sur Disk Utility that HFS+ Encrypted is no longer an option but that shouldn’t mean auto background conversion rendering files inaccessible during conversion.