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?
Related
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?
I am trying to stream video over RTSP protocol in Android phones. I have created an application that receive packets over RTSP protocol, decode using FFMPEG, and present it to the window using SDL 2.0. In that application, creating the SDL window and SDL texture looks like this:
screen = SDL_CreateWindow ("Test ffmpeg",SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 1280, 720, SDL_WINDOW_SHOWN|SDL_WINDOW_FULLSCREEN );
bmp = SDL_CreateTexture (renderer, SDL_PIXELFORMAT_IYUV, SDL_TEXTUREACCESS_STREAMING, 1280, 720);
This application runs smoothly (without any flickering or distortions) on Samsung Galaxy S3 (but with reddish overlay), but on HTC sensation xe, samsung galaxy grand, sony xperia S, there is a lot of flickering and distortions. When I tried to reduce the resolution in both of the above functions (i.e) creating texture and creating window (640*360 in HTC sensation xe and 800*480 in samsung galaxy grand), the application runs smoothly. Now I have two questions
Why mobiles other than samsung galaxy s3 (out of all the mobiles mentioned above) unable to stream video of higher resolution (1280*720)?
On all samsung galaxy s3 mobiles, I can see a reddish overlay. Anybody have any idea what is the cause of that reddish overlay?
Re 2, I have solved the reddish display issue on samsung galaxy s3 mobiles by disabling the hardware overlay option in the developer options menu (Settings->Developer Options->Check the "disable hardware overlay" checkbox)
I have created an application with different layout folders. When I tested the application I found that both Samsung galaxy Note2 and Samsung Galaxy Grand Duos is taking the same layout folder 'layout-sw320dp-long-port'. What is the issue here? Can anybody tell that what is the correct layout for both phones?
Thanks in advance
Sundeep.S.
I never believe that Note2 has same screen resolution as Grand Duos.
Check this links :
ScreenSupports
Review Samsung Note2
Review Samsung Galaxy Grand Duos
As you see this phones has different screen resolution.
Any one please help me to create emulator for Samsung Galaxy Note 3. And will it come under large or xlarge category?
I don't have a Note3, but looking at my Note2 which is a normal-xhdpi device (like the S3) and the specs of the Note3 itself, I guess it's a normal-xxhdpi device like an S4.
It's confirmed by this website: http://checkscreensize.appspot.com/listdevice.jsp
search for "9005" which is one of the IDs of the Note 3.
For other details you can look at this SO question: Samsung Galaxy Note III emulator settings
For a full list of specs: http://www.gsmarena.com/samsung_galaxy_note_3-5665.php
I'm working on an android app, and almost done, the only problem is screen layouting, I have a samsung ace and samsung s4. According to the docs, they are both on normal screen, and s4 is categorized on both normal and large.
I don't know what to do, I have layout-normal that works for my samsung ace but not for s4.
I'd tried layout-sw600dp for s4 but still don't work, if you have a better idea please help me.
Try layout-large for your s4.
if that doesn't work you can handle checking and reacting to the s4 programmatically.