I developed a game in LibGDX.
I added some sound effects in mp3 format into my project.
When I deploy my project to HTML, browsers on PC play those sounds, but browsers on mobile phones don't play them.
How can I solve this problem?
Related
I am implementing a WebRTC project for mobile devices using Cordova, in that I want the play the audio in earpiece of mobile device instead of speaker.
Is there any API/ way to play audio in earpiece,
I'm using cordova-plugin-iosrtc for iOS app and cross-walk for android.
Thanks,
Shinto
You can try with:
cordova.plugins.iosrtc.selectAudioOutput('earpiece');
Here you can find iosrtc documentation
I'm following this tutorial that describes the way of connecting the node.js app with adobe action script 3.0. In that way I could present live video data (received by UDP from different application) to some other user. My question is - is it possible to make the video player with received data embedded on my html/php website?
I checked the official documentation and there's a sentence:
The DatagramSocket class can only be used in Adobe AIR applications and only in the application security sandbox.
and on this forum someone wrote:
You can run an Adobe Air application FROM the browser.
But you cannot run an Adobe Air applicatin WITHIN the browser.
Indeed, Adobe Air wraps webkit (a very famous html rendering engine).
Think of Adobe Air as a shell built around an browser.
If you want to run something within the browser you can go with Flash/Flex.
But it's pretty old post, so maybe something has changed? Or maybe there's a way to convert the AIR app to Flash/Flex?
Thanks!
This can kind of be done. I'm not sure if you need it to run in the browser or not, but you could do an Install Badge. It allows the user to temporarily download the AIR file and run it on there computer from the browser through a seamless link without having to actually download and save the AIR files to there computer. You can read more here:
http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e15.html
It is not possible.
What is ADOBE AIR?
Adobe AIR is a cross-operating-system runtime that lets developers
combine HTML, JavaScript, Adobe Flash® and Flex technologies, and
ActionScript® to deploy rich Internet applications (RIAs) on a broad
range of devices including desktop computers, netbooks, tablets,
smartphones, and TVs. AIR allows developers to use familiar tools such
as Adobe Dreamweaver®, Flash Builder®, Flash Catalyst®, Flash
Professional, or any text editor to build their applications and
easily deliver a single application installer that works across
operating systems.
Adobe AIR is used to run desktop applications rather than content in the web browser, and just like a SWF file doesn't run in the browser without Flash Player installed, an AIR application won't work on your computer without Adobe AIR installed.
In short:
Flash Player is a browser plugin that takes adavantage over browsers incase Adobe AIR supporting users by providing RIAs in the devices.
And there is two kinds of AIR developemnt available for now.
AIR with SWf: AIR SDK with actionscript libraries.
AIR with HTML: HTMl and javascript within the AIR are handled by the open source Webkit/ javascript engine.
Reference
I was to develop a simple j2me application for microworks. The application is to send sms.
But I found that most of the mobile phone they carry are very simple and even some of them don't have Bluetooth, infrared, browser. How to make it work out?
We can assume configuration as nokia 2100, nokia 1616. How am I supposed to deploy my app on such handsets?
OTA is required to work on every MIDP mobile device, just navigate with the device browser to the jad URL and click it.
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.
How can i start the development of a site that can be browse from mobile phones? For example, if i browse my website http://xavytech.com site from a browser it looks fine which is known by everyone... I am extending my website to browse through nokia mobile phones..
Where should i start?
How to write css or should i
recreate a new website for mobile
phones?
The Sencha Project here was just announced that offers an HTML5 framework for mobile devices. It works well with Safari on iOS and the Android web browser.
Try out the examples here with a Nokia phone to see if it's something you want.