I am trying to make the default tock sound work when you click something in an app, but I have not come across a way to do it without recoding a lot of the app. Specifically, I am looking if a button is pressed I want it to make a sound. When I'm on my android for example, if I'm in Fb or gmail when I click something it makes a sound. I am using Ionic 1.2 right now for the app. Even when I use an emulator, it doesn't seem to make a sound - and it definitely doesn't do it in ionic view
Related
I am developing an MRTK app for Hololens and mobile platforms and I am using the default MRTK buttons with scripts assigned to them.
In-Editor (when using the hand interaction simulation tool) the buttons work as intended (instanciating a 3d model on press, either with finger touching or left mouse click while the button is centered).
When testing the buttons on my mobile phone on Android, tapping the buttons triggers the sound of being pressed, but nothing happens. I use the DefaultHololens2InputSystemProfile in the MRTK.
Things I checked:
Button Events triggering correct in the Editor
Things I don't know how to check:
EventConsole/Some kind of output on Android to check if the Assets or the Buttons are the problem
Any ideas of what I can try?
You got to use the Onclick() event instead of the ButtonPressed, -Released etc. events you usually use for clicking in AR. You should find it right below the ButtonReleased event.
Is there an API method that can be used to simulate shaking an Android device? My reason for wanting to do this -
I had been experimenting with using HockeyApp to provide an in-app feedback facility for my beta testers. Whilst it works I find that in my hybrid Cordova app it displays an ugly feedback screen which
stays put till I hit the Back button
at which point it restarts the app - I suspect because it uses the WebView to display the feedback screen so in effect the app's own screen has to reload later
TestFairy provide a much sleeker UX when offering feedback and their "shake for feedback" concept is very nice. However, it may not be apparent to all my beta testers so I would like to provide a button which I can then use to simulate the shake gesture from the custom Cordova plugin that I am also writing for the app.
developer.chrome.com/apps/getstarted_arc#bestpractices
The ARC allows you to execute native android apps through the chrome browser by wrapping a chrome app around it.(As far as I can tell)
I am re-factoring an Android app to work well on Chrome. The first thing I need to do is to make the back arrow enabled at all times on the top left as shown below.
This is the program that allows Native android apps to run through chrome. I think the answer to my question lies somewhere in "Additional Metadata", or in the source code?
Add {"disableAutoBackButton": "true"} to the metadata. That will enable the back button within an activity. I've found that with my app that has multiple activities, though, it doesn't work to return to my main activity from my settings activity. It could be that I'm doing something wrong with the way I'm handling activities, I guess, but it works on all physical devices.
{"sleepOnBlur":false,"disableAutoBackButton":true}
please supply the above metadata before you download the zip or launch app from the arc welder
the first param prevents excessive pause/resume and also supposed to fix short black screen flash occurring occassionally in some of the apps.
the second params adds persistance back button on top left hence helping to avoid extra code required because of absence of back button in some screens(mostly the first screen)
I want to make an in-app widget, that can pause/play and switch music forward/backward for a lockscreen app for Android. I've tried some different ways, such as working with mediaplayer or Intent, but this didn't help me. I need my app to control music from all the sources: web browser, native music app, social networking apps with music playback support and so on. Something close to that is made in Sony Xperias as a widget. The difference is, that mine won't be a widget, I want it to use inside an application, that replaces the native lockscreen.
Hope that my question is clear.
I've found the answer for Android 4+ versions:
http://forum.xda-developers.com/showthread.php?p=45288378
I want to develop an application for blind using J2ME or Android. but i have few decision problems to make
1) Is it possible to change the functionality of a hard key in J2ME and Android
a) Totally like the home button can be changed to unlock the mobile like that
b) While program is running i.e An application is developed and during its usage the functionality can be modified.
2) Is it possible to add the audio feedback to the hard keys in J2ME or android
a) Totally like from the minute the mobile is switched on , whenever u press a button it will give its functionality in audio output.
b) While the program is running .i.e.An application is developed and during its usage the audio feedback can be added.
Please clear my doubts and help me in making decision
A touchscreen phone for blind people doesn't sound like a good idea to me :)
Android:
1 b) Without building your own custom rom no way to change the functionality of hard buttons globally. You are free to respond to buttons in your app as you like (except for the home button)
2 b) you can play any sounds while your app is running. But same problem here - you are resticted to inside your app.
Edit: Android has some features builtin:
http://eyes-free.googlecode.com/svn/trunk/documentation/android_access/index.html