Hi I am hoping to make an android application that can listen to different whistles of a person (long whistle long whistle short whistle for example) and compare it with a prerecorded whistle of the same type by a different person and determine if they whistled the same way.
I was hoping to use the library musicg for this but I'm unsure whether it would be possible before I even tried? Unfortunately I'm also having trouble getting the demo to work which seems to be an issue in the issue log of the site, but I haven't found any answers yet.
Cheers for any help, apologies for the vague question.
So I ended up just diving into musicg and seeing how it go's. Turns out you can compare the foot print of two sound files quite easily, and it even outputs a float value in terms of how likely to be similar it is.
As someone has said above its quite slow, especially on a phone, but works great for what I need it for. Thanks guys for your help.
Related
I've been experimenting today with trying to build a call-blocking app for Android to prevent receiving unwanted robocalls from telemarketers and scammers. After a little tinkering I was able to whip up a very crude proof of concept using a fork of the stock Android Phone application. The crude proof of concept simply allows me to enter a number into an EditText and then add the number to the block list-- nothing special but it's a start.
I estimate that there are likely 500,000 spammer/scammer/telemarketing phone numbers that would need to be added to the BlockedNumbers list in Android to make this work. At first I thought this wouldn't be possible, but after a little back of the envelope math, it looks like 500,000 phone numbers only comes to around 5 megabytes worth of data.
So does anyone have any idea how many phone numbers can be added to BlockedNumbers in Android? Any guesses would be appreciated! And yes I know that I could develop an experiment to test this myself, and I might just do that eventually.
P.S. If anyone happens to stumble upon this in the future trying to build the same thing, here is a link to the modified and "hackable" version of the stock Android Phone application:
https://github.com/dangleon/customdialer
NOTE: The Android application responsible for receiving phone calls doesn't seem to be something you can "hack on." The fork posted above is simply a dialer application, and doesn't handle incoming calls.
Okay, so it's been 12 days now since I asked my question here on StackOverflow and I didn't receive any answers. However, I'm proud to say that I built an application last night to test how many phone numbers can be added to the BlockedNumbers list in Android. Running my test application I was able to add 500,000 numbers to the BlockedNumbers list, no problem. I'm not sure what the exact upper limit is on how many numbers can be added to this list, but I know for sure that you can add at least 500,000 numbers to BlockedNumbers on a Moto G4 running Android 7.0. I'm not sure if anyone is ever going to stumble upon this post, but if someone does, I hope you've found my post helpful! And if everything goes as planned, maybe you will have heard of the app I'm building: PhreakPhone-- A Crowdsourced Telemarketing Call-Blocker for Android
P.S., This is the first answer I've ever posted on StackOverflow, feels great to have finally contributed to such an awesome site.
I know this has been asked before (did not find a straight forward answer) but can I (Or how can I) create and Android App using CSS/HTML/Jquery ?
I will not need to hook into native functions, such as the accelerometer, camera, or even the Toast Messages...I only need to create an app to show a list of names and some details when name is selected, therefore I don't know if it's worth learning to make my life more complicated for something like this.
PS: I need the app to work offline, otherwise I would have just made it with jQuery Mobile and uploaded it on a server.
UPDATE AFTER GETTING DOWNVOTED
Ok, so I get downvotes for this question, probably because it's been asked before, or maybe not, since he/she didn't take the time to write a reason...
Anyway, my point is: I did googled it and searched, but at this moment there are a lot of ads of websites and web apps that will help you do this BUT are they reliable, safe..do they really do the trick or it comes with bugs? That is why I asked the question, to see who used what and what was their experience with it. So yeah, you can downvote me for not trusting every ad and not taking the time to try out everything out there!
Well you can use https://software.intel.com/en-us/html5/tools to develop cross-platform apps. I used it to develop too. It is quite good but it only has one major issue: you can't use php. It also enables you to do on-device testing.
Ok, here we go, I have to develop an application, which has to allow electricty and water bill payment, and naturally it's supposed to generate at the end of the transaction a receipt, I particullary need to know how to transfer data and determine what would be displayed on the reciept.
I'v gone through this forum and i've found out some StarIO android sdk, knowing that I have a weak english, and it's a bit hard for me to figure out what's going on in the starIO's documentation, i would like to know if StarIO's packages' are what I need for this application or I just misunderstood the objective behind it.
Thanks in advance.
Well, if you have to work with a Star printer, then yes, their SDK is the way to go. If not, though, we'd need a lot more details to answer your question fully.
Phone numbers can be expressed lots of different ways:
555-555-5555
1-555-555-5555
+1-555-555-5555
Are all the same number, just expressed differently. Android's ContactsContract.PhoneLookup class Is designed to solve this problem. I'm about to run this through some tests and post the results, but I figured it would be worth making a question to see if anyone else had some experience with this and knows the answer. I could save a ton of headaches by not needing to filter out the +1 and other extraneous symbols before the number if I can count on this PhoneLookup class to do its job for the users. Can anyone testify in support of it?
Thanks. If I don't hear back from anyone I will run some tests and let you know how it goes.
Wrote a quick application to test this, found that the class can account for every variation of a phone number:
+15555555
15555555
5555555
Including hyphens (-) as well. Hope this save someone time in the future.
I know there is a similar question to this floating around stackoverflow. What I would like to know is if there's a simple way to do beat mapping for a song in Android? I don't need to do anything as complicated as beat matching between different varieties of songs, as the other question requests; at least I don't think it's anymore complicated, more experienced programmers please feel free to comment.
I simply would like to map the beat of a single song to be able to use it later in my program. I'm very new to both Android programming and sound processing in programs, so any suggestions or comments are appreciated.
Check out the open source (actually made by a member of the Android team) project RingDroid...there's some pretty basic sound processing there, so that should give you a start.
Here's the RingDroid site.