[Q] [DEV Q] Google Ears Offline - Android Q&A, Help & Troubleshooting

I am interested in developing an app that would enable offline tagging of music clips which would be cached and then identified by Google Ears, once the device joined a WiFi network. This is ideal for users like me who prefer purchasing unlocked phones and do not have a data plan because they prefer using WiFi that they have frequent access to.
I like Shazam, but I don't like redundancies. Having both Shazam and Google Ears on a device would be redundant. Plus, getting Google Ears to have the same functionality as Shazam poses a fun challenge
I am studying Computer Science (Sophomore) and have quite a bit of experience with Java. I just need a leg-up. Where do I begin? Recording the clip and recognizing WiFi connections would not be difficult at all, however I am uncertain as to how I would integrate it into Google Ears. Is this even feasible? Google Ears seems to use real-time processing from what I could discern from using it for a few minutes. This is contrasted to Shazam, where a fixed-length clip is always recorded and then uploaded and analyzed.
I realize I would be able to answer my own questions through research, and even learn new and valuable things in the process. However, I am in the middle of a very hectic semester what with class projects and a demanding new job, so I would appreciate any advice/help that you guys might be able to share with me, that would spare me some time.
Once I write the app, if I upload it to the marketplace I will NOT charge any money for it. This is just a learning experience for me. FYI, I will be using a Google Nexus S and a Samsung Galaxy Player 4.0 for development.

Big fat bump
BoggyB said:
I am interested in developing an app that would enable offline tagging of music clips which would be cached and then identified by Google Ears, once the device joined a WiFi network. This is ideal for users like me who prefer purchasing unlocked phones and do not have a data plan because they prefer using WiFi that they have frequent access to.
Click to expand...
Click to collapse
Seriously, NOBODY has any feedback?

Sound hound ?

I have some idea. I thing It will good for you.
In thai about 12 year ago.
NECTEC create project name. iSpeech.
It can input .mp3 file and output to txt file
in txt file have alphabet english character .
I see Vaja TTS. Port this script to Java(android) . Vaja TTS use to hear something from user and process infomation from txt file.
Here is official site of iSpeech
http://www.hlt.nectec.or.th/speech/...ontent&view=article&id=101&Itemid=127&lang=th
Here is official site of vaja tts.
http://vaja.nectec.or.th/
Here is vaja tts on playstore
https://play.google.com/store/apps/details?id=com.spt.tts.vaja
Sorry for my bad english. and I think my Idea can help you .
Note. iSpeech original script write by C# not java.

Related

[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?

TV Program Recognition Software Help

Hi everyone. I could use some help in identifying an app I lost track of when I had to reset my phone. I found some app that when you point it at the tv set, it would identify what you're watching, what channel you're on and even tell you where in the program you were. I thought it was kinda cool and I have a colleague who's thinking up some uses for it from a business standpoint but I can't remember the app.
I know there's IntoNow that uses audio technology to determine most of the same things but this was purely a video capture/recognition tool. Does anyone have any idea what this app is? I don't think there's a whole lot out there but I can't find it in a google search.
Thanks for any help.
Teesh
yatman60 said:
Hi everyone. I could use some help in identifying an app I lost track of when I had to reset my phone. I found some app that when you point it at the tv set, it would identify what you're watching, what channel you're on and even tell you where in the program you were. I thought it was kinda cool and I have a colleague who's thinking up some uses for it from a business standpoint but I can't remember the app.
I know there's IntoNow that uses audio technology to determine most of the same things but this was purely a video capture/recognition tool. Does anyone have any idea what this app is? I don't think there's a whole lot out there but I can't find it in a google search.
Thanks for any help.
Teesh
Click to expand...
Click to collapse
Don't think that's possible without some sort of interface that the phone and the tv can use together. That could be DNLA, bluetooth, or wireless, but I think any of those would take some effort on the user's part and knowing it's capable of doing it to begin with.
There are apps to control your computer, but those are far easier to do. There's one for winamp, vlc and media player classic home cinema, just to name a few.
yareally said:
Don't think that's possible without some sort of interface that the phone and the tv can use together. That could be DNLA, bluetooth, or wireless, but I think any of those would take some effort on the user's part and knowing it's capable of doing it to begin with.
There are apps to control your computer, but those are far easier to do. There's one for winamp, vlc and media player classic home cinema, just to name a few.
Click to expand...
Click to collapse
Thanks for the email guys. The app is VideoSurf for anyone that wants to try it out. It's pretty awesome but I did find that it seems to take longer than IntoNow; perhaps cause it's processing the video and not just the sound?
yatman60 said:
Thanks for the email guys. The app is VideoSurf for anyone that wants to try it out. It's pretty awesome but I did find that it seems to take longer than IntoNow; perhaps cause it's processing the video and not just the sound?
Click to expand...
Click to collapse
I didnt think about it using the camera. Yeah, that's most likely.

Make My GS2 Lively

After almost a year of using the phone the only thing I need it for these days is calls and messaging.
Suggest some apps/things to do to make me use the phone a lot more o_0
Cheers
You can
You can browse using a lot of browsers - I like Chrome Beta
You can play Games - Well, I like many of them
You can listen to Music - *sigh* do I need to elaborate on this?
You can watch videos - Depends on your taste. I play HD videos without any problem.
You can check market stats with many applications or browser
You can Read books or listen to audio books
You can play around with themes and mods listed in this forum
You can use it to interact in the various forums like this using their own apps like the XDA app for this forum
You can search on sites like ebay, classified, craigslist, etc - All have their own apps
You can book tickets, plane, bus, train, with apps for the same
you can hire taxi using apps if such a service is available in your city
You can chat or IM or video chat with friends
You can take pictures, shoot videos and edit them and add effects using many many apps
You can create your own memes with custom photos and then share them
You can blog using apps - I use wordpress app and it is awesome
You can of course micro-blog using twitter apps
You can use it to control your computer with VNC or even SSL. There are many many apps for the same
If you are really interested then you can get into development side by learning more about android and coding and design apps, or hook it up with your computer and automate your home even.
In the end its all about your imagination. Let it run wild and enjoy the piece of technology that is in your hand
Overclock it stick it in your trouser pocket and get a thrill .
jje

Request for help with simple app

Cheers! I would like some help with an idea for a simple applet for Android in general, and the HP Touchpad in particular.
There is an application called QVOD that downloads videos to a local cache on the Android device, and for many devices it works just fine. For many devices however. If the device is running ICS, frequently the playback features stuttering audio. I have found where QVOD saves the video files, although it separates them into several pieces, making it difficult to just browse to that directory and use an alternative player, such as MXPlayer. I have found that if you cat the files together into one RMV file, you can then watch it with another application and it plays just fine. That means the audio codec built into QVOD is almost certainly the problem.
What I'd like to do is build a simple graphical app that allows you to view the videos in that folder and automatically cat the files together so you can either save them or view them in another player. Having some background in programming, I understand the process flow of this is very simple. Unfortunately, I do not know how to program in java. If anyone is willing to help with this, there is a pretty good sized community that would appreciate the help. Ideally, it would be great if the makers of QVOD addressed the problem directly, but having spoken with them on QQ, it doesn't seem they have any interest in doing so.
I don't see this program taking more than a hundred lines or so, and would be a great contribution to the Android community. Please message me if you are willing to invest some time into helping with this problem. The application will SURELY get a lot of attention, because it will not only allow those with audio problems to enjoy their videos, but it will allow those that aren't having problems viewing to at least save the files and also have a CHOICE of what application to view them in.
thanks!
Write the details here or PM me, I might give this a try, though I cannot give any specific deadline times.

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