I am a student developer working on a hands free texting solution for android. After much hard work, the app is finally complete and has been released on the market. However, the very first review I got from a user was a request for google voice integration.
Is there some way to integrate my app with voice? Is there a broadcast receiver or something that I could implement, and a way to send texts? After much googling, I an still unsure where to begin.
All that I need to be able to do is receive text messages from voice and then send out new ones in reply.
There is an unofficial Google Voice API for Java. There are also example apps.
Related
im a new programmer android and i want make an app that users can record the voice and send that then the voice save on my host. for example in Telegram app you can record voice and send that.what shall i do?
As you said that you are a beginner you have to do small projects like making calculator, small blog based app or i do not know parsing JSON , try google maps play with XMLs.
nobody will send you the source code of the app that you need it includes a lot of minor staff that you have to learn step by step..
Best regards.
I have a Android Device that does not have Google Play Services on it and can not because it is not a certified device.
I am looking for a way to send Push Notifications to this device to wake it up and process an incoming message.
We have the ability to customize the Android BSP (ASOP) if there is any possible way to create our own custom Push Notification server to accomplish this?
Yes there is. Just the other day I had the same question. My scenario involved real time notifications though. Everything is updated in real time . and the idea of using web sockets came to me. And luckily I knew socket.io , luckily android had a native build with gradle. Consider researching into this concept.
Right off the bat. Features like back off time checks, back pressure and timeouts.
I searched a lot but I found no solution. I'm pretty sure that it is not possible but maybe one of you how you can do this.
I have a Server that can send Push-Notifications to my app. Therefore I use the Google Cloud Messageing Service https://developers.google.com/cloud-messaging/
Unfortunately the rules for when a notification should be sended are not that easy. So I would feel a lot better if I could write JUnit-Testcases that can subscripe to the project and receive these notifications. And it would be very helpful if I could test this against a real system.
Howoever it seems that you can only recive push-notifications in real Android and IPhone -Apps. Additionally there is a Chrome-App thatcan do it https://developers.google.com/cloud-messaging/gcm
Is there any possibility to receive a GCM Push-Notification in a Java desktop application?
Since there seems to be no Solution for this I wrote Something that suits my needs. Feel free if to do anything you want with this:
https://github.com/codemaker219/gcmproxy
I am working on an Android social app. It contains notification feature such as when A send a friend request to B, B should later get a notification icon shows 1 friend request on App bar (not a toast).
In order to know if the user has a friend request or not, the app will need to periodically send HTTP request to my backend API query for any notification. This should be performed in background. I am not sure what is a good way of implement such a feature. Should I use a Android Service? or should I spin a thread by myself? How to design and implement this to make sure it won't drain the data and battery? If I want to add a toast feature later, how should I design the whole client side notification system to make sure its easy to add the toast functionality?
Code pointers or suggestions will be greatly helpful. Thank you!
Periodically sending web-requests to check whether the user has any notifications or not is very expensive task for battery life.
Rather I suggest to use Push Notifications. There are third-party libraries available for this. Also recently Google Cloud has started Google Cloud Messaging for Android which is powerful framework to sync data between devices for specific app on certain events.
http://developer.android.com/google/gcm/index.html
Please follow the link above for more information to use Google Cloud Messaging for Android.
Also please have a look at following framework. It may of your interest.
https://parse.com/tutorials/android-push-notifications
sending web-requests periodically is even more expensive task (for battery) when the internet is not available in the device.
I would like to repeatedly (every second) ask for the message (object or value) to GAE (if android client did not create or change something there) from another android device. I need to check it pretty fast, but I know that it happens aproximately once in hour.
I use restlet and I don't want to create new thread and poll by get from this thread every second, because this is very battery consuming. I also don't want to use C2DM.
Is it somehow possible to do this? I have found something about NIO nonblocking http connectors here:
http://restlet-code.1609877.n2.nabble.com/Push-data-from-server-using-a-live-HTTP-connection-td2906563.html
But here is described only the client side and I also don't know if this solution would even be possible to use on GAE and how. Does anyone know more about this approach?
Thank you very much in advance.
As the author of uniqush, I created an entry in the FAQ page specific to this question.
Can I use uniqush on Google App Engine?
Yes and no.
If you just want to use GCM on Google App Engine, then there are some code in uniqush-push which you can directly use.
However, because Google App Engine does not support socket connection, there is no way to use APNS. In another work, if you want to setup a server on Google App Engine, you cannot push any notification to iOS devices no matter what software/library you are using.
I did considered to port uniqush to Google App Engine. But because of this fact, I think it may be better to port it until Google let us use client-side socket connections, or provide some way to connect to APNS server.
Again, if you are considering to use Google App Engine as a server for your App, please be aware that you will not be able to push notification to any iOS device right now. If this fact does not bother you, then do it.
Personally, I recommend you to run a server with full control. It is not expensive nowadays. Amazon EC2 or similar cloud products may be a good choice to run uniqush.
As I recommended above, using a (virtual) server with full control would be a better choice if you want to support more platforms besides Android.
If there is any other question, please feel free to reply.
For being future proof I would suggest you have a single push notification service for both kind of devices. You can either build on your own, or leverage something like uniqush or this
Also the Urban Airship's SDK would be a good option to look at, more details here
this is similar to Urban Airship but only a fraction of the cost. The API allows you to send a C2DM message to a user via a call. After you implement the broadcast reciever, when a user installs the app they are prompted to accept the message. If they accept a token is sent to the C2DM server identifying the user. This token is then used to send them a message via the C2DM platform. The Zend PHP Framework has built in functions for this but if reliability is a concern go with an external provider like Remote Queries or Urban Airship