Samsung Galaxy S7 (Android 7.0) taken image path is null - android

I have a Samsung Galaxy S7 with Android 7.0. In my app the user takes an image and then I show it in my application. It works fine with other phones with lower Android versions (5 and 6), but for Samsung Galaxy S7 with Android 7.0 the path is always null.
Any ideas how to solve this?

Related

ExtractMpegFramesTest example doesn't work on API23 Devices

I tried to run this bigflake example on some android devices.
I tried it on Galaxy S3, S4 and S7.
For Galaxy S3 everything works fine. I've taken the first frame and this is what I've got:
And then I tried to run the same code on Galaxy S6 and S7, but then I received a strange image for the same video
Do someone(fadden lol) know what could cause this problem?

headerDividersEnabled not respected on some devices

I've tried this on a few devices but it looks like the headerDividersEnabled property I have set to true for my listview isn't respected on all devices. As an example I've uploaded how the app renders on my different devices. Header is the blue bar plus join our tournaments section. Only the first listed device properly displays the header divider as specified.
Samsung Galaxy S3
Android 4.4.4 - cyanogenmod 11-20150831-SNAPSHOT-XNG3CAO3FN-d2lte
http://imgur.com/ab6TBkI
Samsung Galaxy S3
Android 4.2.2 - cyanogenmod 10.1.3-d2att
http://imgur.com/OwkfK69
LG Lucid 2
Android 4.1.2 - Xperion_l1v_11-2-2014
http://imgur.com/vVw38A2

How to run an emulator using Galaxy S4 configuration?

I have created an galaxy s4 emulator using this post how to open galaxy S4 emulator
but my problem is when I tried to run this emulator it takes very long time and at last it said time is out. My ram is 6GM. And I created emulator by providing 800MB ram. And my laptop screen resolution is HD.
How to resolve my problem immediately because I have to test my app in galaxy s4.
I got it working with the settings the other link holds (How to test android app in Galaxy S4 configuration using emulator?) and "Target Google APIs (Google Inc.) - API Level 17" and also I let the Emulator help by my GPU "Emulator Options: Use Host GPU".
Hope you folks get it working to :)
Samsung has not released Add-on for galaxy s4.
But we have an alternatives for the Same Configurations.
Actual:Samsung S4 (1080 x 1920 pixels, 5.0 inches (~441 ppi pixel density))
Alternative:Sony Xperia Z (1080 x 1920 pixels, 5.0 inches (~441 ppi pixel density))
Both are using Drawable-xxhdpi resource folder.
To configure Sony Xperia Z:
http://developer.sonymobile.com/knowledge-base/sdks/sony-add-on-sdk/install-the-sony-add-on-sdk/
Testing on Sony Xperia Z emulator,will effect the same result in Samsung galaxy s4.
Emulators are slow. No matter what configuration you have. So testing in emulator doesn't mean it'll give you same behaviour in the real device.
Unless samsung decided to do so, it won't be available with Android SDK as predefined config. You may need to manually set the configurations (which is what you have done). Even then the OS gonna run in S4 is customised by Samsung yet again as I said earlier you won't get it with your SDK package.

Android reference devices for responsive webdesign

Which devices (smartphone and tablet) do you recommend to buy as reference?
And what version of Android do you prefer?
Main goal: testing responsive websites in our small web studio.
Smartphones:
Samsung Galaxy — S2, S3, S4 (but S4 and S3 seem to be too expensive).
Google Nexus 4.
4.0 — 4.5 branded devices in middle cost segment.
bi-brands or Chinese devices (low cost, Android 4.1+).
Tablets (I think, only 9.7/10.1 inches not 7 inches):
Samsung (dunno which).
Chinese devices.
We have limited resources, so…
I would go for Google Reference Devices, as they always go through all Android versions, and they have always the latest version available. Right now they are:
Nexus 7 (2012 and 2013 versions). 2012 version is the most sold Android Tablet. also works as a reference Portrait Tablet.
Nexus 4
Nexus 10. Reference Landscape Tablet.
Nexus One or Nexus S for a reference Android Gingerbread device.
Then, if you have the budget, I would go for typical best sellers in all ranges:
Galaxy S2, S3 and S4
Galaxy Y, Ace, HTC Desire X
Samsung Galaxy Tab 7, 8.9 and 10.

Android Install Location Auto Not Working

I've set installocation="auto" in the manifest and on most devices this works.
Doesn't Work (No option to move to SD Card):
Razr Max HD (Android 4.0)
Samsung GS3 (4.0 and 4.1)
Samsung Note 2 (4.0)
Droid 4 (Android 4.0). This only said it would move to internal space however error'ed out saying there was no space (wrong).
Works:
Rooted, Incredible (4.1)
Samsung Note 1 (2.3.6)
Any ideas? It seems like +4.0 doesn't want to recognize the tag.
Some phones (such as the Razr Max HD and Galaxy S3) simply do not support moving apps to the SD card. Manufacturers unfortunately have the ability to remove this feature from their Android releases, and some use that power.

Categories

Resources