[Q] Play audio to the caller - Android Q&A, Help & Troubleshooting

I am a Radio Jockey. My work is kind of reporter for Tv n Radio in India.
Sometimes I ll record some Voice bytes on my phone & i need to send them to the TV/radio station.
Generally i ll whatsApp or Email them.
But sometimes i am in remote locations where i cant have 3g/2g/data & where I can only receive calls.
In such a situation,when someone from the station calls me, i should be able to play the audio to them.
But I found this is impossible with my Android Phone. Nor any Android phone for that matter. I tried many, but for me, all the phones that have Android OS are useless. What should i do with 3ghz or 3gb ram or lollipops or thousands of apps which don't serve my basic need ,when my old Nokia N8 could easily do this task.
Shame on Android,which is hailed as the most popular n advanced OS for phones... not to have such basic functionalities that an Extinct Os like Symbian could do.
After all the research .. i came to u guys..There are senior developers here who are doing wonders..with custom Roms, kernels n frameworks.. My Direct question to you guys is
What changes do I need to Make to the framework or kernel to "play audio to the caller" ?
or Are there any readily available modified frameworks/kernels (like Faux,etc) which serve my purpose?
Thank u

Related

Android app - multi-display video wall

Hi,
Thinking to develop am android app to display a video or part of the video on mutli-android phone device. It will support sync video and play it at the same time.
Anyone can give me some advice or idea how i can do it?
Thanks.
Im not really sure what you are trying to do. You want to display "part of a video"? Are you trying to output video from the device to a screen? Or from another device to the phone?
Anyway, I suggest you get the Android SDK from google. They basically tell you how to write apps. There are also books or classes you can take too.
So your wanting to make an app that allows you to share and play(synced) video over multiple phones?
Yes as above said you will first need to get the Android SDK, but to write this program you will need to be very skilled programmer with alot of times on your hands...
You will first need to know alot about networking, allowing you to connect to other phones and i assume create a buffer system then have all phones play at time that the buffers are reached to maintain steady flow based of network stats.
If you want to do streaming you will need to know even more, not to mention you will need to probably write your own video playing software.
OR you could simply write a program that links the x # of phones together and then streams from phone a to phones x-n through a 3rd party stream capable video player.
♥ ♥ ♥
Need this APPS !!!
Blinkendroid has been found but I'd like to watch a movie on my Android device and broadcast / stream it on other Android device synchronised.
ie :
=> I own 2 tablets 7"
=> I want to watch to a movie / TV Show with subtitles
=> My girlfriend want to watch to the same program... but without subtitles
Is there anything yet for this requirement ?
++
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

[Q] Bluetooth Android to Android remote

Now, before I get flamed, I know that there are plenty of bluetooth remote control apps for controlling your PC from your Android device or controlling your Android device from your PC etc. What I was wondering was, is there an app that allows your to control one Android device from another Android device? Would that be useful, especially with all the tablet devices that are coming out now? How cool would it be to connect your phone to your tablet via bluetooth for the purposes of sending and receiving texts, or making and receiving phone calls etc? Is there any development on such an app?
Comments? Thoughts?
Nothing? Nada?
I don't have an answer for you but I've had the same thought as you that this would be a great app.
I've released two data transfer apps that are used to send data between Android devices, (BlueMuze and Listables if you're interested).
The reason I mention this though, is because I think that for specific tasks like sending music or a photo, or as you suggest, making a phone call, the tech is there. But full-on remote control of another device is a bit more difficult. I'd imagine it would require root and possibly some very clever hacking of the Surface Fliger and Event stream.
That's not to say it's impossible, but it would be a really decent technical challenge. There certainly is a permission related to injecting events into the event stream, that could be a good place to start (if anyone wants to try this).
http://developer.android.com/reference/android/Manifest.permission.html#INJECT_EVENTS
hope that helps
Another quick thought, it's also entirely possible someone will port a VNC server to android someday. There are already VNC clients available...
alostpacket said:
Another quick thought, it's also entirely possible someone will port a VNC server to android someday. There are already VNC clients available...
Click to expand...
Click to collapse
That would certainly be cool! However, the functionality you mentioned in your previous post is something I think would be more functionally useful. Like, say your phone rings, but you answer can answer the call on your tablet as if the phone saw the tablet as a hands-free device, or just answer on the phone (whichever you prefer). Or you dial on your tablet, and then it engages the phone to place the call. Or SMS strings automatically synchronize, and you could answer/respond on either device and they mirror each other in their own respective SMS clients.
That sort of thing I think would be beastly! Y'know, something that gives your tablet and your phone more of a synergistic relationship to each other. Like, rather than two separate devices that fill specific functions, it'd be more like two devices complementing each other and working together to cover all your bases seamlessly.
I just wish I had the knowledge and development-fu to do it myself...
I have also been looking for this kind of thing - primarily so I could run videos from my tablet to my TV, and then use my Android HD2 to control the playback from the comfort of my sofa.
What would be ideal for me would be someone knocking up a bluetooth (or Wifi) solution which sends control commands to something like VPlayer, QQPlayer, MoboPlayer, RockPlayer whatever
smeddy said:
I have also been looking for this kind of thing - primarily so I could run videos from my tablet to my TV, and then use my Android HD2 to control the playback from the comfort of my sofa.
What would be ideal for me would be someone knocking up a bluetooth (or Wifi) solution which sends control commands to something like VPlayer, QQPlayer, MoboPlayer, RockPlayer whatever
Click to expand...
Click to collapse
I pretty much already to that with my SGS2 by using a bluetooth mouse. I know it's not the same as pushing a specific button and having a specific action happening on the other device, but the effect is similar enough.
Bump! Trying get some visibility on potential devs for this idea.
any news for android-android remote access?
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A
Ive also been looking for a app to control my xoom tablet from my HTC phone,there are a couple of simple apps on the market such as "tablet remote" but im looking for one that has more media (music/film) capabilities,i guess the app would involve installing it one both devices then syncing via bluetooth
then you could control the playlist of music,stop pause fw rw any film,the ability to actually stream the music from your phone to table would be awesome !
in my personal situation my tablet is docked with speakers attached,i like to be able to access its music playlist then control that play list with my phone,and maybe even add extra tracks from my phone to the tablets playlist
is there already an app out there that will allow me to do this via bluetooth or wifi ?
has been years since this thread exist, any news?

Drive Link working on US SGS3

I have a US SGS3, not-rooted - AT&T released an OS update yesterday, and now MirrorLink / DriveLink is functional.
Using the Sony XAV-601BT, firmware updated from UK Sony website, Samsung Drivelink APK installed via USB, from the other MirrorLink thread.
When I plug the unit into USB before I would get a message "USB device not recognized", and would then stream Pandora via Bluetooth. Now it auto-launches DriveLink, Navi works, phone works, music works, but only supports Mp3, etc. files at the moment.
Frankly, I was hoping for more app support (eg ability to launch Pandora, Waze, etc.) - right now it only works with built in Google Maps Navi, Phone book, and local files for Music. Something which is annoying, is that I cannot use Bluetooth audio streaming for Pandora at the same time as DriveLink, so the solution is imperfect - I can now use DriveLink navigation, but not Pandora, Or I can exit fully out of drivelink, and listen to Pandora; music or nav, not both - so while it now launches and works, I still cannot use it regularly.
As a bit of an aside, when I first bought my SGS3 I installed an AppRadio2, which was horrible and got exchanged for the XAV-601BT. Now, however, within the last week, there's been progress on fully unlocking control of android using the AppRadio2:
Youtube link "PFiAWrItAdE" (can't post URL)
Seems like the ultimate solution, away from the nanny limitations of DriveLink, although one would imagine, since these limitations are with Samsung's software, a 3rd party app could provide a similar experience with the MirrorLink standard. So perhaps be patient for 6 months, or switch back to AppRadio2, and hope the laggy connection issues have been fixed.
scorp, welcome to XDA!
Many of us feel the same about Samsungs app - pretty poor effort so far Please check out the last few pages of this thread - http://forum.xda-developers.com/showthread.php?t=1837847&page=15 (from about page 12 onwards)
A growing number of members here are trying to build a donation 'bounty' in the hope that we can get a developer interested in playing with the Samsung Mirrorlink app and removing the current restrictions to allow full mirroring of the whole phone (meaning all apps on the headunit).
The more support we get the more chance of making this a reality, if you'd be willing to donate something to see this happen please make a post in that thread (also stating your phone model and ROM/firmware) and I'll add you to the list.
Thanks,
Olywa
If any members have any interest at all in mirrolink/drivelink (mirroring phone display and control on supported car headunits) please do take a look at the thread: http://forum.xda-developers.com/showthread.php?t=1837847&page=15

[Q] xperia media server for stock rom

I really don't know how to explain what I want, perhaps because its my first post.
After using xflare based on 4.2.2 although I was not fully satisfied by it but really enjoyed its easy connectivity features with my tv, now am on sld rom but wanted those features desperately as no other application(among 10 different ones that I tried) comes even close to Sony's default(throw service, which was available in settings) It somehow integrated media server, smart connect and the default video and music players. Smart connect is good and I have downloaded it but it is only showing option for Bluetooth connectivity. Can anyone please tell me how can I get back the great sharing over WiFi experience again.
Have a116, moto xoom and a Panasonic ut50.
Thanx in advance
P.s: if suggesting any other 3rd party apps be sure they are really tested, preferably by yourself or any other reputed member.

Android as Smart Panel

Hey guys,
I'm not really sure if this is the right place to post this question but as I don't really know where else in the web I could find help on this I'll give it a try
TL;DR:​Do you know any (and I really mean any - including writing an app or other hands on approaches) method to have a permanent (tabbed) navigation at the bottom of the screen to switch between apps or websites/PWAs?
The background of this question:​
I'm coming down a long road trying to hack together a DIY - privacy focused - smart speaker - mainly to switch lights and play some music. I started off back in 2018/19 and found snips.ai one of the most promising FOSS smart speaker projects for my plans and so I got me a Raspberry Pi 3b+ and a Matrix Voice board as foundation. Then half a year I later, when I found the time to put those together, I had to find out, that Sonos just bought snips.ai and their services were to be shut down...
Since then I had a long pause on this but always followed the development of FOSS voice projects including Mycroft (to expensive HW, to bloated, to tied to their web services IMHO), Sepia (to complicated to setup) as well as attempts on hacking OTS speakers like Alexa, Google Home, Sonos et al or combinations with web controllable wifi speakers like Teufel 3sixty (which is really a gold speaker but as tons of other radios has a frontier chip set with its awkward web interface) or even the awesome Squeezelite-ESP32 project. Lately I stumbled upon Rhasspy and got myself together to give my project a new try and was even kind of successful (got a self hosted voice assistant doing what I want - even if I had to learn and write some python here and there). But I figured out that 1) a smart speaker without a display is not really what I want and 2) I'm not really that kind of maker guy to 3d-print cases, plan and build circuitry and what not - or it's just missing me the time to do and especially experimenting on this
So I ended up with the idea of the software that I need (Rhasspy server side + a satellite app, Home Assistant, Logitech Media Server, Spotify/Tidal and maybe some others) and was then looking for some hackable device to serve as interface to that (display, speakers, microphone, wifi + maybe bluetooth). The Sonoff NSPanel Pro was a candidate but I didn't trust the quality of its speakers and read some reviews that were claiming a weak performance. Then I found the Lenovo ThinkSmart View that has all this and this XDA thread and immediately got me a new one for 60 bucks. Now I have a quality device better then I could ever make it with a blank(though not rooted) android, a Rhasspy Voice Assistant running on a local server ready to receive and send audio streams, a promising app to act as a Rhasspy satellite and some quality speakers to play music on. The last opponent I'm facing now is a nice UI on android that can bring all the bits together.
What I'm looking for now is a free (and ideally OSS) panel/kiosk solution with that I can seamlessly switch between Home Assistant (web UI), Spotify (web UI or their app) and some others like a self hosted Web music player. In my imagination I could switch between them with a permanent tab bar at the screen bottom but am open to other ideas. I'm not an Android developer but I consider myself a stable Java dev open to write an own app for this - I'd just need a starting point (read of Webviews, Custom Tabs, Trusted Web Activities but found them not really a solution to what I need - maybe is there some browser which's contents I can just include in an app?). Also I can write (progressive) web apps and do stuff with them but then AFAIK the only method to embed remote sites would be iframes which likely won't work with at least spotify).
I really do not want to bloat this forum with all that stuff - I'm just writing this in the hope that 1) someone is interested in this and maybe is on the same journey and 2) to give some context on my actual question above
Thank you very much in advance!
Just came across your post. I’ve been looking for something very similar and have also been considering the NsPanel pro. I don’t have as much concern for audio quality as I’m less likely to use it for playing music, just responses or notifications from Rhasspy. I have just ordered a Lenovo device as I’m sure I’ll have fun with it.
To answer your question above, I just found this in the HA companion app that might work for you: https://companion.home-assistant.io/docs/integrations/android-webview/#links It’s not perfect but could be used with a button or voice command to launch the app on the device. I’ve also seen other posts about using a key mapping app for using the volume buttons to do other tasks.
I’d be very keen to see what you’ve done for dashboards and how you’re using the Rhasspy app on your device. Has it been as responsive and accurate as you hoped?

Categories

Resources