Ok so I use Ajax Chat (http://sourceforge.net/projects/ajax-chat/) and it is a great chat script. I use the MyBB Integrated version and all is well. What I am wanting to know is how I could add voice capabilities.
Basically each channel would be similar to a Yahoo chat room and have a talk button. This way someone could talk and the rest of the room could hear.
Flash is NOT an option, and I tried RED5 with it and the results were terrible. Bad quality, couldnt hear half of the time, etc.
I have searched and searched and searched and all I find is calling, IP-to-IP, etc.
I would like to do this in JAVA if possible which is not one of my best languages. I do have root access to my server and it is linux (CentOS). So what I really need is a point in the right direction on how to do this.
Thanks in advance.
The best way to do this is to use the Java Speech API. You can find out more information about this at this site. This question was already answered actually in this link.
Related
I want to create an app for a website that I don't own, like youtube or reddit. Every time I search for help, all I keep getting is how to create a webview. I've done that but that's not what I want. I want to take the website's content and create an app with it, like create my own buttons and such. I want to convert a website into an app.
I was thinking of somehow loading the website in the background and creating activities/buttons/intents that basically do what the webpage does but I don't know how to go about that or if there's a better way.
Thank you in advance.
Please let me know if clarification is needed.
Alright i got -3 votes for some reason and it has been 12 hours since i posted this question, i'm guessing the question has been consumed by the abyss of questions by now.
I made a reddit post and got some responses:
one user:
The term you’re looking for is “web scraping“ or “site scraping”. I think that’s probably what you need to research before you’re ready to handle how to make that into an app.
That’s a good starting point and once you have the content from scraping, making the app is no different than any other app.
second user:
If the website has a public (or private) API, you can use your buttons and networking calls to their API to build your client app. You are building a "YouTube client" in this case using the YouTube API.
If they dont have an API and you don't want to display their website, what you are doing is trying to reverse engineer their website and hijack the UI which is not a good practice and may even be illegal depending on the site and terms.
third user:
#second user is right on the money, but one thing I'll like to add is, the goal is to get data off of the website so that you can use in your app. An API is one (convenient) way of doing that but others are,
RSS or similar feed content (prefer this if there website supports)
HTML scraping
The above two will require you store the data somewhere else (and possible expose an API instead) because of technical reasons: you don't have access to older entries in RSS feeds and it's atrocious to keep on scraping everytime you need to access the website data. They can be done on the client (mobile app) but are best done on a server. This means you might need to get your hands dirty writing server code but you don't have to.
/thread
I'm going to do research on website scrapping and APIs to see which route i should go.
Hopefully this helped someone else.
I am interested to enable google push notification for my web application in Chrome. I want to use Java as primary programming language. I tried to look at many examples but I didn't get caught of any information which helps me. Can anyone please let me know how to start with?
Regards,
Rakesh
I would start by looking at the notification API. It is much simpler to use. To find examples of the I would direct you to Youtube with the exact same question. The Rich Notification is a very complex system, but google also but out a few videos on how to use them.
I'm new to Stack Overflow, but I asked a question last night regarding some code and it was answered just over night. I'm very glad I finally signed up here. Anyway, on to my question...
I need to make a mobile version of my website [www.famebyname.us]
I am using Dreamweaver CS6, and my intention with the domain is to turn it into an online nightclub/chat/music type thing. It has a long way to go, but it's basic for now and can do for basic communication. I'd like to make a mobile version of it. But instead of just going forth with that, I thought I'd ask here if anyone could share some experience designing mobile sites [IE button sizes, content alignment, and above all how to keep the smartchatbox working for the mobile device while being size friendly.]
On a site note I'm going to be using the java code below to redirect users with a screen size under 699px to the mobile version aif anyone has any better recommendation for this type of redirection, I'm open to new ideas.
<!--if (screen.width <= 699) { document.location = "mobile.html"; } //-->
Thanks in advance.
Instead of doing all the coding for mobile site. Why not use the framework? There are many frameworks out there that support mobile friendly site. All you need to do is setup files and start calling them in div tags as classes and it will do all by itself. You would need to understand tho how it works.
Checkout this frameworks :
Bootstrap
Foundation
Ui kit
Semantic UI
Dont reinvent the wheel when you such powerful frameworks to help you.
I want to develop an application based on Voice Biometric Recognition.
Specifically, I want to develop an application which will record a voice from the telephone, and identify the speaker. If the same person calls again it will recognize the voice. Like other Biometric applications do here my need is to do a voice biometric. Are there any URLs or examples which will help me. I searched but not able to find a solution.
FreeSpeech is a text-independent speaker verification system that verifies a caller's identity
I want to achieve the above one FreeSpeech Recognition in my application.
Is it possible to do the below things by using any Open Source.
The individual records a voice print, then
The system keeps track of the voice prints and can distinguish recordings from live speech
If yes, can you please provide me a URL or example which will help me.
Well, I got the light from This Url to achieve the above task but not able to get the expected out put.
After wasting 20 to 25 Hrs, Finally I got the solution by using MARF Framework.
I got the sample app from the http://sourceforge.net/projects/marf/files/Applications/%5Bf%5D%20SpeakerIdentApp/0.3.0-devel-20060226/
And for now, it's working fine for me. This links is very useful for me to make the sample app executable. http://marf.sourceforge.net/
You can take a look at this previous SO post in which various Java Speech Recognition Engines are described such as Sphinx.
I am not an expert on this domain so please take my answer as is , it's not an authorative one... I think you have different ways to achieve your goals :
- finding a Java library is one , the most natural one
- recording the voice in Java then applying one of the several algorithms available for such job , you may find many research papers dealing with that subject
- depending from the architecture choices, you may find different libraries implemented in C dealing with voice signal, using JNI or JNA is one way to deal with C/C++ libraries, Web Services or CORBA are other ways to achieve this....
HTH
Jerome
I have been tasked for university to program a mobile phone application. I have oppted for two mobiles to communicate with each other via message.
I would like the application to connect the mobile to the internet to send the message and the other mobile to connect to the internet to recieve the message.
I am using Eclipse IDE.
Does anyone have any ideas for good examples of similar application source code so I can develop my application using appropriate protocols.
I would appreciate any advice and I am certainly not looking for someone to give me "the answer" I am really looking forward to getting stuck in. Though I have never touched an android phone let alone programed one. So some advice would be amazing!!
Thanks
Si
Get used to this site: http://developer.android.com/index.html Learn it, love it. It's full of useful information. The Videos section gives plenty of live talks about what exactly Android is among other topics. One of the first things you need to do is go to the SDK section. It gives a detailed guide on how to get setup. The Dev Guide is great for learning more about Android and how to program Android apps (not just Java programs) especially while just getting started. Resources is full of code examples and articles on specific issues and Reference is the entire platform documentation. #Matthew Willis has already given a helpful link from the Dev Guide.
Look around the site, download and install the SDK, and come back whenever you have any questions. Good Luck!
Before you determine the technical solution you need to figure out how any two devices that don't know about each other will communicate.
In your case, where you seem to be attempting to develop some kind of peer-to-peer solution you most probably will need some kind of server in between where your phones send messages to and poll for messages.
If you are using WIFI, you would have each phones IP address and could configure each phone to communicate with each other directly.
Once you determine your architecture then something simple like http may be enough to communicate.
You might check out What is Android? to get an idea of the frameworks/libraries that are available on Android. Reading the links in the left pane at that site lead you through a nice series of articles about Android.
In terms of ways for two devices to communicate, they are many and difficult to enumerate. In general you will have much better luck with specific questions here than you will with broad questions.
You might be interested in reading about C2DM for pushing messages to a device; if not, there are many other alternatives involving polling.
GCM CSS is probably your best bet
https://developer.android.com/google/gcm/ccs.html