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

Identify SMS Android Version?

Can anyone tell me what version of android this screenshot is from? I believe it's an LG from around 2016 but don't have any more information.

In particular, I'm wondering why there aren't any timestamps, and what the conversation length is referring to? (see "Conversation with" and "24 min.")

Y1SnTG1.png



Sorry about redactions

The problem with billing! (advice, please)

I've finally reached the alpha testing phase of my first Android project and what a rollercoaster ride it has been getting this far! But I'm now experiencing a few difficulties with the billing aspect.

My project is a database records app and the plan is to offer the app for free, but with access to only a small number of records so that people can try before they buy. If they like the app, there is an in-app purchase for unlimited records (or Go Pro).

I've set it up in the Play console with a closed track test using a list of approved testers (currently me with a couple of Google accounts) and this allows me to test the following:
  • Test card, always approves
  • Test card, always declines
  • Slow test card, eventually approves
  • Slow test card, eventually declines
And this is where I'm having a problem.

The first two options are OK. I'm able to capture the event correctly and the app behaves as it should.
But the slow test cards are causing me a headache and I'm looking for any help or advice that's on offer.
What happens is that the purchase gets flagged as 'PENDING', and although I've triggered the acknowledge function, when checking the purchase status, 'acknowledged' remains false.

According to Google, purchases will remain as 'PENDING' unless they are acknowledged within 3 days. The implication being purchases that fail late will be locked out for 3 days or more! As a user (and a developer) that would infuriate me and I would turn to another app.

I have been able to cancel the payment with 'ConsumeAsync' when I've detected that it is in a PENDING state, but this is not consistently successful.

If the payment is eventually successful, the app automatically picks this up through the Billing API 'queryPurchases' method, so although there is a delay, the user is not significantly inconvenienced.

However, as far as I can tell, if the payment fails, the purchaseState remains at 2 (PENDING) and unless I can find a way to establish that the payment has failed, the user will have a long wait before they can try again. As you likely know, trying the purchase again while the state is pending results in an 'item already owned' error.

So finally to my questions:
  1. In the real world, do failed payments often get reported late in this way and if so, how often (how big a problem is it likely to be)?
  2. What is the best way to handle the 'Slow test card, eventually declines' scenario
Any suggestions, solutions or help of any kind will be very much appreciated.

Kind regards

Cannot Build App from Source Code

Hi,

I have never used android studio before but I have been asked to build an app from source code provided on github (https://github.com/STMicroelectronics/STBlueMS_Android), for my university project. I have opened this code in android studio but am getting error messages so it will not build. The error codes are:

ERROR: Unable to resolve dependency for ':BlueMSCloud@debug/compileClasspath': Could not resolve project :BlueSTSDK.
ERROR: Unable to resolve dependency for ':BlueMSCloud@debug/compileClasspath': Could not resolve project :BlueSTSDK_Gui_Android.
ERROR: Unable to resolve dependency for ':BlueMSCloud@debugAndroidTest/compileClasspath': Could not resolve project :BlueSTSDK.
ERROR: Unable to resolve dependency for ':BlueMSCloud@debugAndroidTest/compileClasspath': Could not resolve project :BlueSTSDK_Gui_Android.
ERROR: Unable to resolve dependency for ':BlueMSCloud@debugUnitTest/compileClasspath': Could not resolve project :BlueSTSDK.
ERROR: Unable to resolve dependency for ':BlueMSCloud@debugUnitTest/compileClasspath': Could not resolve project :BlueSTSDK_Gui_Android.
ERROR: Unable to resolve dependency for ':BlueMS@debug/compileClasspath': Could not resolve project :BlueSTSDK.
ERROR: Unable to resolve dependency for ':BlueMS@debug/compileClasspath': Could not resolve project :BlueSTSDK_Gui_Android.
ERROR: Unable to resolve dependency for ':BlueMS@debugAndroidTest/compileClasspath': Could not resolve project :BlueSTSDK.
ERROR: Unable to resolve dependency for ':BlueMS@debugAndroidTest/compileClasspath': Could not resolve project :BlueSTSDK_Gui_Android.
ERROR: Unable to resolve dependency for ':BlueMS@debugUnitTest/compileClasspath': Could not resolve project :BlueSTSDK.
ERROR: Unable to resolve dependency for ':BlueMS@debugUnitTest/compileClasspath': Could not resolve project :BlueSTSDK_Gui_Android.

Any advice on how to fix this would be greatly appreciated.

Thank you in advance

Accessories [App][Free][5.0+] ExifTool - Edit metadata, IPTC, XMP on Photo, video

What is EXIF data?
EXIF, GPS, IPTC, XMP, ... is a set of metadata attached to photo or video files. This metadata is a list of information, bellow is some kind of popular data.
- Make: Which camera is taken these photos.
- Model: Which model of camera.
- GPS Latitude, GPS LongItude: a set of GPS coordinates of a photo attached when taking a photo by the camera.
- ISO, Flash, Exposure, White Balance, Color Space, ...: parameter set of a photo after taking.
- Shutter Count: current number of photos taken by that camera.
... you can take a look at some documents on the internet to explore more metadata as on.

What is EXIFTool on Android
This is a ported application of ExifTool make by Phil Harvey into the Android environment, we're working on it to make our app is useful and friendly with nice UI/UX based, to help the user can be easily modified EXIF data with an easy way.

Features
✔️DarkMode theme supported.
✔️Powerful, fast, flexible and customizable.
✔️Other than ExifInterface based on Google Developer, this application is supported by many types of files, e.g photo (jpg, jpeg, heic, heif, webp,...), video (mp4, avi, wkv, heif, ...), audio (mp3, mp4, ogg, flac, ...), photoshop project file (psd), raw photo (raw...) or some executing files (.exe, .msi, ...).
✔️Read/View EXIF, GPS, IPTC, XMP, JFIF, MakerNotes, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP, ID3 and more...
✔️Modify/Edit EXIF, GPS, IPTC, XMP, JFIF, MakerNotes, GeoTIFF, ICC Profile, Photoshop IRB, AFCP and more...
✔️Change currently metadata tags.
✔️Add GeoTag into Photos, Videos.
✔️Date Photo Editor: change Created Date, Modified Date easy by using Date Time Picker.
✔️Change the GPS, location attached to the photo with a little bit of interaction.
✔️Wiping/Remove all metadata (EXIF, XMP ...) of the photo, video ...
✔️Export Exif Data into CSV file.
✔️And more, more features but keep in mind we always keep its FREE to end-user.
✔️Extracts thumbnail images, preview images, and large JPEG images from RAW files


Download
https://play.google.com/store/apps/details?id=com.exiftool.free

App Gallery

So I have read a couple articles about Huawei alternative play store App Gallery and it being the 3rd biggest market place behind Google and Apple. Does anyone have any experience with this

I have experience of Huawei's App Gallery.
Screenshot_20200303_143438.jpg

Many of the apps in there are only really relevant to China.

About it been the third biggest app market place after Google and Apple? It probably is, given that Google is blocked in the country that has probably the world's largest number of Android devices by far, and Huawei is the most popular phone brand in the PRC.

Android notification not seen on secondary users in case of multi user support

I have android system application which need to support multi user (i.e single device having different user profile). My application shows notification to user. I want notification should be seen all users along with with user 0. But only USER 0 is showing the notification. Other users not showing notification.

I am expecting notification to be shown in other user when it is ACTIVE. I am not seeing that notification when it is ACTIVE

I added below permission in my code.

<permission android:name="android.permission.INTERACT_ACROSS_USERS"
android:protectionLevel="signatureOrSystem"
tools:ignore="ProtectedPermissions"/>

<permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
android:protectionLevel="signature"
tools:ignore="ProtectedPermissions"/>

Also added
android:singleUser="true" for all the receivers and services. Still not able to see notification on other users other than USER 0.

adb command used to switch users : am switch-user USER_ID. when i run this command i am seeing my other user is also running
Example:
$ adb shell pm list users
Users:
UserInfo{0:Owner:13} running
UserInfo{10:New User:10} running
UserInfo{12:Guest:14}

I added multiple user by using System->multiple users -> add user settings

What could be the reason?. I kindly request you to help me to resolve this issue

V40 camera colours

I believe the lagging is more related to the amount of light and the difficulty getting in focus. In bright light 'AI' &amp; 'Auto' are about the same. In low light, both are slower (have more lag) with 'AI' being a little slower. With photos where the field of view is more complex (lots of items in the picture at varying distances) again both settings are slower and can take a horrible amount of time to shoot.

Ok cool thanks man I really appreciate your help &#128513;&#128513;&#128513;

Deleting whatsapp account

I've had a few responses of this thread ,I have also looked at another thread , it's a little confusing as some say it will delete and remove all data with device switched off and some say it will only delete and remove with device switched on ?
If the device is off ( offline as no data connection or WIFI ) then when it does receive a signal will that trigger a response to delete and remove data I. E local back ups ect

Block incoming connections

If you had been able to decrypt the encryption lock securing this phone, you would have complete access to using it again. But whatever.
Try flashing a stock ROM, flashing the existing Android install with a clean, new one 'might' work and allow you to re-use this phone:
https://blogthetech.com/flash-file-xiaomi-redmi-note-4x-firmware-download-stock-rom/
Thanks for the help!

Android asks for USB access permission twice

I have an application designed to operate the USB serial device. The Manifest contains the corresponding filter:

<intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_filter" />

When I plug the USB device, the system pop-up dialog asks "Open ... when this USB device is connected?". I can confirm or decline, and this part works fine. However, if I decline and then restart the application from the menu, my phone hangs out. In the stack trace, I see the error:

User has not given permission to device UsbDevice...

Therefore, I have to ask for the USB permission explicitly. I have tried several implementations and the simplest one looks like this (I use the usb_serial_for_android library: https://github.com/mik3y/usb-serial-for-android):

@override
protected void onResume() {
....
UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
...
List<UsbSerialDriver> availableDrivers = CustomProber.getCustomProber().findAllDrivers(manager);
...
UsbSerialDriver driver = availableDrivers.get(0);
if (!manager.hasPermission(driver.getDevice())) {
manager.requestPermission(
driver.getDevice(),
PendingIntent.getBroadcast(this, 0, new Intent("com.android.example.USB_PERMISSION"), 0));
return;
}
....
}

The problem is that "manager.requestPermission" executes twice.

When I start the application from the menu, the pop-up dialog asks "Allow the app ... to access the USB device?" If I confirm, the same dialog appears again. It's a rather annoying behavior :(

Here is the Log:
...
I/storage permission: DENIED
V/PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = null, this = DecorView@8856cab[]
D/WindowClient: Add to mViews: DecorView@8856cab[MainActivity], this = android.view.WindowManagerGlobal@5653205
...

The pop-up on storage access appeared. I pressed "allow"

I/storage permission: GRANTED
I/directory: EXISTS
I/usb permission: DENIED
V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = ViewRoot{632025a com.ERG.erglogger/com.ERG.erglogger.MainActivity,ident = 0}, this = DecorView@8856cab[MainActivity]

The first pop-up on USB access appeared. I pressed "OK".

I/storage permission: GRANTED
I/directory: EXISTS
I/usb permission: DENIED
V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = ViewRoot{632025a com.ERG.erglogger/com.ERG.erglogger.MainActivity,ident = 0}, this = DecorView@8856cab[MainActivity]

I pressed "OK", but the permission was not granted (manager.hasPermission(driver.getDevice()) is false). So, the second pop-up on USB access appeared, and after I pressed "OK", the permission was granted:

I/storage permission: GRANTED
I/directory: EXISTS
I/usb permission: GRANTED
D/CdcAcmSerialDriver: trying default interface logic
...

What do I miss?

P.S. I have also tried a "canonical" way described by Android Developers (https://developer.android.com/guide/topics/connectivity/usb/host). However, this BroadcastReceiver based implementation behaves in the same way. I have read the related posts, like this one Android asks for USB permission twice and communicated with the author. The problem is still actual.

Configure Google Authenticator

I must install Google Authenticator for Coinbase. When I try to follow the instructions I get to places where it says press <this> and I cannot find <this> on my phone.

Specifically from here: https://support.google.com/accounts/answer/1066447?co=GENIE.Platform=Android&hl=en
The instructions state:
  1. On your Android phone or tablet, open your device's Settings app
    3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w18-h18
    Google
    3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w18-h18
    Google Account.
  2. At the top, tap Security.
I get to Google and there is no "Google Account"

I have some tremors in my hands. I can type on a keyboard but typing and selecting tiny things on the phone is really difficult and frustrating.

So: How can I set up Google Authenticator? A link to a good set of instructions will greatly appreciated.

When I try to do the install Google Authenticator it wants an account name and key. I have a gmail account so I enter that account name. When trying to enter the password the app states: key value has illegal character.

That tells me there is something I don't understand here. Please try to clue me in here.

Does you phone have Google services on it, and is it logged into Google. It's not a China variant is it? Because to use Authenticator, the device it's running on must be logged into a Google account.

I use Authenticator for quite a few sites, including AF.

Filter

Back
Top Bottom