Guidance building an app - connecting users voice to voice - Android General

Hi, I'm creating a new app where one of the main features is to connect two users in a voice to voice connection over the phone.
I purchased "Sams Teach Yourself Java in 21 Days including Android" and I am about half way through the book but I still do not have any ideas on how to ultimately execute and do this.
I've also read over PhoneGap, and its various APIs but still do not see a particular one to initiate this connection.
Could anybody offer some guidance?

Related

Speech Recognition API for Windows Mobile 6.1?

I've started developing an application that allows the user to compose and send an email completely hands-free... by voice command only.
However I'm having trouble finding a decent, open source (free) speech recognition (speech-to-text) engine / API to use.
Does anyone know of one? I tried PocketSphinx but had trouble compiling it in Windows using VS2008.
I'm wondering what API the Windows Live Search app uses? Its speech recognition capabilities are already decent, and if it's included with Windows Mobile or .NET Compact Framework 3.5 or Windows Mobile 6.1 itself, then I would prefer to use that. But I'm having trouble determining if this speech recognition is available to 3rd-party developers and, if so, how to interface with it.
Any help would be greatly appreciated!
OMG I hate timeouts lol
So I had this nice long post about how I thought it might be one of three things and I whipped out my omnia and disconnected the network and blah blah.
When I hit post, I got a not logged in timeout.
So here's the short of it:
It uses a server, that's probably related to UC aka Office Communications Server aka Speech Server 2007... you can get to it (and all the Microsoft Speech technologies, including Voice Command) here:
http://www.microsoft.com/speech/speech2007/default.mspx
A little more searching lead me to read the MSDN Channel 9 blog on said subject:
http://blogs.msdn.com/speech/archiv...h-for-mobile-now-with-speech-recognition.aspx
which states:
"The speech recognition functionality for the application doesn't actually sit on the Windows Mobile phone. Instead, the phone takes your speech input, sends it to a server, the server does it's recognition magic, and sends the results back to the phone. "
Speech Server 2007
Thanks for the reply MerlinJim... sucks about the timeout! That's why on a long post I always copy the text to the clipboard... that way if it times out I can just paste it in! (It's happened to me too many times for me to not do that now!)
Yeah I've looked at Speech Server 2007 as well... and I was thinking that maybe Live Search offloaded the speech recognition to a server. There's a little lag between what you say and when it guesses what you said.
I guess something like that would work. If you're writing an email then you need an Internet connection, and so sending the voice data to a speech server would be plausible. The only downside would be if it used up a lot of data transfer/bandwidth, and the user was on metered bandwidth.
The lag would be a bit of a drawback, because if the Speech Server guessed incorrectly what you said, but you kept talking (due to the processing lag), then you would have to go back and correct what you had said.
And also sometimes the Live Maps speech recognition is WAY off. Like I'll say "1 Jefferson Parkway" and it will come back with something like "Did you say 'Parkstone Apartments?'"
It's also speaker-independent, so you don't do any training. I would rather train an app to recognize my voice specifically, because I would be the only user of it.
But it may be my only solution for right now. Thanks for the info! I was beginning to think that no one knew the answer.
acrosser said:
Thanks for the reply MerlinJim... sucks about the timeout! That's why on a long post I always copy the text to the clipboard... that way if it times out I can just paste it in! (It's happened to me too many times for me to not do that now!)
Yeah I've looked at Speech Server 2007 as well... and I was thinking that maybe Live Search offloaded the speech recognition to a server. There's a little lag between what you say and when it guesses what you said.
I guess something like that would work. If you're writing an email then you need an Internet connection, and so sending the voice data to a speech server would be plausible. The only downside would be if it used up a lot of data transfer/bandwidth, and the user was on metered bandwidth.
The lag would be a bit of a drawback, because if the Speech Server guessed incorrectly what you said, but you kept talking (due to the processing lag), then you would have to go back and correct what you had said.
And also sometimes the Live Maps speech recognition is WAY off. Like I'll say "1 Jefferson Parkway" and it will come back with something like "Did you say 'Parkstone Apartments?'"
It's also speaker-independent, so you don't do any training. I would rather train an app to recognize my voice specifically, because I would be the only user of it.
But it may be my only solution for right now. Thanks for the info! I was beginning to think that no one knew the answer.
Click to expand...
Click to collapse
perhaps, but there IS a speech application loaded ON a Windows Mobile 6.1 which has text-to-speech capabilities and speech recognition
(my Blackjack II loaded with Wm6.1 has this capability)
can't find any API to use it though... only way to activate this TTS capability is to
1) sms announcing
2) appointment announcing
3) call announcing
no actual program to do TTS...
Any progress on this or any other speech-to-text program? I'm really interested in finding one.
Wouldn't mind being a beta tester, either.
*Double Post*
DELETE

Updated 12-26: Making progress, calling all DEV for help

Hey devs, still working on making it so that HTC Messaging will handle incoming SMSs from Google Voice. At first I was starting with trying to change HTCMessaging to connect via web instead of SMSC, but that has proven to be a big circular pain, so now I'm trying a different route. I'm tweaking some code that is very similar functionally to OneDialer that will accept the incoming SMS and also send out via packet data, but what I'm trying to do is have it insert the contents of that message directly into whereever HTCMessaging stores SMS(and also activate Notification even), but I can't find it. Any help getting pointed in the right direction would be greatly appreciated, It'd be nice to have free SMS from Google Voice show up in the gorgeous Messaging tab.
Bump...and small update: 1.) I have found and analyzed the dll that handles all the SMS commands with IDA Pro, but past that I'm basically looking at a massive amount of code I could definitely use help sorting through, and 2.) I know that SMS are stored in cemail.vol which obviously is edb format, and I don't know if I can find the code in right applications, like Microsoft My Phone, in order to write to that file.
So right now I'm at a crossroads, with two routes I think I could take:
- I could tweak HTC Messaging to pull from a file of my own making
- I could create a program that is able to write to cemail.vol, while this method would simplify everything after that part of the process, and create the most desirable results, it would be very difficult to unlock the file in the first place because it is locked by the very messaging client I want to read from it.
I would GREATLY appreciate the help of any devs out there who are smarter than me, because I'm sure a lot of people are going to want this app once it is finished.

[Q] Sending files through bluetooth on predetermined devices programmatically

Hi all,
In the app I'm developing I will need to be able to send arbitrary files (probably many at a time) to known and previously paired bt-enabled devices. Is there any way to bypass the discovery dialogue and the devices list by somehow providing a registered intent with the address of a device, say, through a putExtra call? In other words, I will already know the bt mac addresses, so I won't be needing the extra discovery and user input.
Downloading an alternative bt app that is capable of this would also work for me. So far I've tried to use the services offered by both "androbex" and "bluetooth file transfer" but with no luck.
I'm developing for a Samsung Tab, android-8.
Any help would be greatly appreciated.
Many thanks!

2014 Definitive Verizon to Page Plus DIY Free

After reading many posts across various forums and buried in the comments of threads spanning many years--I've summed up moving from Verizon to Page Plus in one document. This is the 2014 definitive step-by-step guide to manually programming the 4G LTE Verizon HTC Thunderbolt Smartphone for use with Page Plus Cellular (PPC). This guide might also serve for Kitty Wireless and other PPC resellers. Topics include: (1) Porting your phone number from VZW to PPC (2) Checklist of everything you'll need to succeed (3) Device driver and software installation (4) Configuration & DIY Free Programming (5) Activation (6) PPC Account & Plan Finalization
I hope this benefits anyone still using this excellent smartphone. I gave up my unlimited data on VZW and moved to PPC after realizing I mostly use WiFi these days and was not taking full advantage of unlimited data on a 4G LTE network. Saving $696 per year is a great incentive. I give credit and reference all of the various posts that were summed up. Rather than attempt to reformat the document as a forum post I've made it available on Google Drive. I hope that's fine. I've attached it to this post as a DOCX. Hopefully one or both of these methods works.
http docs.google.com document/d/17Tmz2R-DEHRQqQZmbEPALR7UIYNYyZO8aqBi2_AOFn0/edit?usp=sharing
Peace ~
corezion said:
After reading many posts across various forums and buried in the comments of threads spanning many years--I've summed up moving from Verizon to Page Plus in one document. This is the 2014 definitive step-by-step guide to manually programming the 4G LTE Verizon HTC Thunderbolt Smartphone for use with Page Plus Cellular (PPC). This guide might also serve for Kitty Wireless and other PPC resellers. Topics include: (1) Porting your phone number from VZW to PPC (2) Checklist of everything you'll need to succeed (3) Device driver and software installation (4) Configuration & DIY Free Programming (5) Activation (6) PPC Account & Plan Finalization
I hope this benefits anyone still using this excellent smartphone. I gave up my unlimited data on VZW and moved to PPC after realizing I mostly use WiFi these days and was not taking full advantage of unlimited data on a 4G LTE network. Saving $696 per year is a great incentive. I give credit and reference all of the various posts that were summed up. Rather than attempt to reformat the document as a forum post I've made it available on Google Drive. I hope that's fine. I've attached it to this post as a DOCX. Hopefully one or both of these methods works.
http docs.google.com document/d/17Tmz2R-DEHRQqQZmbEPALR7UIYNYyZO8aqBi2_AOFn0/edit?usp=sharing
Peace ~
Click to expand...
Click to collapse
Thanks a lot for the updated guide. I was hoping to use this to turn on data on my Thunderbolt (voice already works).
However, I am stuck on the part about connecting the phone to the PC. My laptop is on Windows 8.1 Pro. No matter which HTC sync version/drivers I use, the laptop does not recognize the phone.
I tried downloading an older version of HTC Sync, but that did not work either.
I experienced the same setback and, instead of troubleshooting further, used an old Windows XP laptop. See if you can find access to an older machine for the purpose of programming your phone. Perhaps a family member, friend, neighbor, cybercafe, or yard sale.
Before XP was EOL Microsoft offered a downloadable kit to install XP within Windows 7 etc as a virtual machine for running older applications. I'm not sure if USB devices were accessible within the VM. Another option might be WINE from within Linux but I've never attempted that either. The easiest route is to find a 32-bit machine you can borrow.
There may be a simple 64-bit driver workaround but I'm not yet aware of what that might be. When I have some free time, I'll explore the 64-bit driver dilemma and if I'm successful I'll update the documentation.
corezion said:
After reading many posts across various forums and buried in the comments of threads spanning many years--I've summed up moving from Verizon to Page Plus in one document. This is the 2014 definitive step-by-step guide to manually programming the 4G LTE Verizon HTC Thunderbolt Smartphone for use with Page Plus Cellular (PPC). This guide might also serve for Kitty Wireless and other PPC resellers. Topics include: (1) Porting your phone number from VZW to PPC (2) Checklist of everything you'll need to succeed (3) Device driver and software installation (4) Configuration & DIY Free Programming (5) Activation (6) PPC Account & Plan Finalization
I hope this benefits anyone still using this excellent smartphone. I gave up my unlimited data on VZW and moved to PPC after realizing I mostly use WiFi these days and was not taking full advantage of unlimited data on a 4G LTE network. Saving $696 per year is a great incentive. I give credit and reference all of the various posts that were summed up. Rather than attempt to reformat the document as a forum post I've made it available on Google Drive. I hope that's fine. I've attached it to this post as a DOCX. Hopefully one or both of these methods works.
http docs.google.com document/d/17Tmz2R-DEHRQqQZmbEPALR7UIYNYyZO8aqBi2_AOFn0/edit?usp=sharing
Peace ~
Click to expand...
Click to collapse
I was able to follow the instructions and get the voice working. Many thanks for this detailed instruction.
using DFS to change the phone settings works fine on non-9k port. but on 9k port, lots of the parameter was "read only", not allow to change.
I must have a sim card in the phone, otherwise it will stuck in dailing. Incoming calls/txt was first not working at all, but suddenly working and working since. i would guess it has to do i was calling when someone called me, but i have no proof.
Separate question: I am not able to use "settings->software upgrade->check new" to upgrade my phone from gingerband to icecream. Pageplus said they don't support and their OTA will ruin 4g phone. do you know any alternative way?
stupid question: i activated in diag+modem mode. Now everything completes, when the phone restarts, it still do that. do i need to disable it?
Halp!
FIRST A HUGE THANK YOU!
your walk through combined with the one where I found the link to yours both let me set up my phone after a friend accidentally factory reset my store flashed phone lol.
From never flashing a phone to scrounging up the software and getting my phone set up and working without spending a dime!:good:
Now that I have a better understanding I am hoping you guys with more experience can help me figure out shy I'm stuck on 1x
everything else is working except 3g when i boot the phone i see 3g for about a milisecond then just 1x
No matter how many times I enter the "vzw" passwords for PAP, PPP, etc and write them to the phone they are gone when I read the phone.
Everything else is there, [email protected] sticks but not the passwords.

Help with dementia coffeemaker app.

Hi,
I am working on a coffeemaker that helps people diagnosed with dementia getting a bit of there independence back. It has to show the directions of the coffee making process. The coffeemaker has some sensors placed on it to register what steps have already been completed and has a arduino + bluetooth module for communication. I would like to build an app that makes it possible to show a particular page of the app>res>layout depending on what number it gets from the arduino. So basicly it should whent receives like a 4 from the arduino it should set the contentview to r.layout.4. I am a absolute noob at android programming and I have no clue where to start. I even cant get the Bluetooth connection to work. The arduino code is working so when I am using a android Bluetooth serial terminal I can communicate with the arduino.
So it has to fetch the data of the incoming bluetooth (serial) data and according to that data view a page on the app.
I am also able to create the layoutfiles with the desired text and pictures.
Do you guys have some tips and like a good tutorial for me or some help/advice?
I have looked at the android development pages but I simply cant get it to work.
Thank you in advance,
Marijnsp

Categories

Resources