WebVR Gamepad Extensions won't enable on Samsung S8 - samsung-mobile

I have a Samsung S8 with a GearVR headset. WebVR is working fine in both Oculus and Samsung Internet browser, but the Gamepad Extensions won't enable.
I have toggled both WebVR and Gamepad Extensions flags using internet://flags
The controller is working fine in non-WebVR apps. But any webpage that uses WebVR does not have a functioning controller (e.g. https://threejs.org/examples/webvr_gearvr.html) . No gamepads are found in the array returned by navigator.getGamepads()
Any thoughts on what the issue could be, or how to debug further?

Related

Sony D2203 and google cardboard

I have a sony xperia E3 (D2203) I can build the demo for google cardboard and load the apk in the phone. When I open it it does starts, I see a menu with [reset] [recenter] [VR mode]
But the movement tracking is not working.
There is also a settings icon, when I click it leads to the cadboard app in google Play store. and In there I find out that my device is not compatible with it.
Can I work with this phone without this configuration app ?
Google Cardboard needs a built-in gyroscope to accurately track movements. Sony D2203 doesn't have this hardware, so it won't be much fun playing with Cardboard.

My Galaxy S6 Edge cannot connect to Android Studio via USB Debugging

When I plug my Galaxy S6 Edge into my computer, Android Studio does not recognize it as an available USB device. I've tried to download a USB Driver update and I have USB Debugging checked on my phone, but nothing is working. What else do I need to do in order to run my app on my phone?
If your settings (S6 USB debugging, driver, Android Studio) are correct, you might try the following:
(On phone) turn USB Debugging OFF
Connect S6 to USB
Click on the notification "connected as MTP device", check the option "camera" (also appropriate for non-MTP connection)
turn USB Debugging back ON
If your device runs Android 6, the notification (step 3 above) should say "Use USB for" and offer 4 choices. You want to click on "Transferring Images".
I had the same problem. I tried with another USB cable (Not the one comes with my s6 edge or any samsung product ) and it worked.
(prior to this i spend almost a day by installing some software and all :(..but only above solution worked for me )
If you see the connected device in the "Other devices" of the Device Manager, try adding "Hardware Ids" of it to android_winusb.inf. Then select "Update Driver Software" in the Device Manager.
The detail can be found in the link below. In my environment, adb_usb.ini was not there, so I skipped it but could recognize my Galaxy S6 Edege.
http://jodieorourke.com/view.php?id=190&blog=news
There are different ways how to connect USB device.
MTP - to enable remote computer browse device's files. Need to be accesible for windows explorer.
Camera - device works as media (photos, videos, music) provider - these media could be imported to other device like PC. Typical usage is with Photo managing SW on PC like Zoner Photo Studi, LightRoom, ...
MIDI (Iam not sure, but another standard how to share music device)
Power only - device does not provide any functions to connected computer, it use only its power over USB cable.
So, change type to MTP or CAMERA and android studio show see your device.
W
Make sure you have enabled developers option this can be enabled by 7 times tapping on Build number in settings ---> About phone.
I know I'm a bit late to answer, but maybe it will help other people in future. Me too I've got a Samsung S7 Edge, and couldn't debug with it. After some checking I realized that the reason is the Knox/My Knox. See here: https://seap.samsung.com/forum-topic/can-i-use-usb-debugging-mode-device-running-knox
What I've done is just go to playstore, found there My Knox and clicked Uninstall, then switched on USB debugging in Developer options that was previously grayed out.
(There are some other manuals on how to disable Knox. Some of them require rooting, but after rooting, I believe Samsung warranty will not work, if something happens to your phone. )

Is the Simulator or Emulator closer to matching device?

When I run my web application on the Tizen Web Simulator and the Tizen Emulator using the same resolution (HD 720x1280) and density (DPI), the display does not match. Which one is closer to the display on the actual Tizen device?
Tizen Emulator is closer to the actual device because does an actual emulation so it has an OS image build on it.
Web Simulator is simulating the API, the Web Runtime, and some of the connectivity using Chromium's Webkit engine. It is a simulated environment and there is support only fort the HTML5 applications and not for the native applications.
From my experience with the Tizen Web application API, Tizen Emulator was closer to the actual device compared with the simulator.
There is a scale menu for Tizen Emulator. You can find context menu when you click to right mouse button on the tizen emulator. 4 scales available.
1x
3/4x
1/2x
1/4x
'1x' is closer to actual Tizen device. Tizen simulator display is similar '1/2x' scale of tizen emulator for me.
The Emulator is indeed closer to the device display than the simulator.
However, if you want to see how your app would look on a device, why not flash the Tizen image on a device?
they can be found here, and i'm sure instructions are there also:
http://download.tizen.org/releases/2.1/tizen-2.1/

music player in iphone simulator 4.2

I am trying to add music player to my iphone app using the MediaPlayer framework. I dont have a real device with me and want to test it on simulator. But, the simulator doesnt support MPMusicPlayer and crashes when i run the add media app.
Is there a way I could test MPMusicPlayer on simulator?
You can't add music to the simulator so MPMusicPlayer will fail. It will have to be tested on a device.

Stream/Play audio files on mobile browsers

I am trying to create a mobile website and want to be able to play/stream audio files.I have tried html5's audio tag and tried testing it on opera mobile 10 simulator but it does not work. I have lots of audio files and the audio should be auto played.
sidenote:
Also, i need to test my website for android and iphone mobile phones. I am downloading android emulator for windows. I tried searching for iphone emulator for windows but there are none...
Phone emulators aren't always a good indicator as they do not usually have a media player installed. The best way to test is to find someone with an actual Andriod / Blackberry / iPhone.
You should try the same HTML5 code with an actual phone. Note that Opera Mobile 10 does not have support for the video/audio tag. If you're interested in streaming to mobiles without HTML5, you should check this FAQ entry for more information.

Resources