[Q] Google Voice for Jelly Bean development - Android Q&A, Help & Troubleshooting

Hello all.
I have just put Jelly Bean on my Milestone 2 and I must say it is a VAST improvement over GingerBread 2.3.4, which was what Motorola officially pushed out for it. Amongst the many UI and performance increases, there is one I particularly like - the Google Voice engine, and it's integration with the Google Now service.
My question is this - if I were to want to develop plugins or modules for this Google Voice engine (and I give an example of what I mean below) to be released absolutely free on XDA and Google Play, how much of a task would it be for me? I would really like to develop rules to use with Voice - for example, when you now say "show me and image of.." it will show you images of the topic you give it, using Googles search engine. I would like to develop a rule which says "What is this song?" for example - at which point in reaches out to Shazam or SoundHound and starts tagging. Little things like this - "Show me trains at <this train station>" for another example, where it could go out and browse to a specific URL which would show a timetable for a train station. Are there any development outlets for writing these "rules"?
I have not developed for Android before, but do have experience in Java programming. I've been following various streams of interest on XDA as well, having owned an original G1 until a year ago when I got my Milestone 2, both of which have been rooted and flashed with CyanogenMod. So in terms of Android development, I am an amateur. But I am a programmer and an avid Android enthusiast, and would really like to get my teeth into developing for the OS, and would really like to begin with Google Voice.
Any information anyone could give me about this would be great.

Related

[Q] Help developing a simple Java Android App

Hey everyone, my name is Ian. I'm kind of new here, at least in a participatory role as wiki master of the Photon 4g's Sunfire dev team/collaboration. I have some talent in the world of web coding, but I'm useless at real programming.
I also have a rather nasty addiction to the world of flight simming, mostly as stand in for real flight time that I'm trying to orchestrate as I work towards a private pilot's license. Anyways, my program I use for flight simulation is X-plane and lacks in 3rd party applications that it can interface with, especially on the Android side. I would like to help to put together an Android app that can work with the sim and control basic functions. My current goal is to control radio systems and autopilot functions. To interface with the sim, I plan to use the Simulator Control System which is based on the CAN Aerospace protocol. This is cross sim application, so whatever works with X-plane will also work with Microsoft flight sim. I've been looking at the website, http://cross-simulator.com/, and I think that this seems like a fairly easy task. All the functions and commands are well documented and supported (there is even an example android code), I just don't know how to start. If anyone in this great community has some advice, I'd love to hear it because I really have no clue.
Thanks, and happy dev'ing
I would just download the example, import it in Eclipse and run it on the Android emulator (assuming you have downloaded and installed the Android SDK). Later, you can tweak the example code as you become more comfortable.

[Q] New to development!

Hey im a programming student in my second year and ive been wanting to play around with some android development (mostly because my school doesnt teach java or php. Im pretty experienced with visual basic and C#. But my questions is can someone help me out with a link to or something where I can take a look at some open source code for some android apps? It can be as simple as tic tac toe I dont car. Im just basically doing some research myself. Also is eclipse the best compiler for android development? Thanks
You can find quite a number of examples under 'Resources' on developer.android.com.
You may be interested to know that Eclipse is not a compiler, it is an Integrated Development Environment (IDE). What is better or not is largely a personal preference, but starting out you are likely to find more tutorials assuming you use Eclipse than anything else.
Source of pre-installed Android Appliaction is open. And you can program with eclips for Android App.
Sent from my LG-SU760 using XDA
Android is open-source, but not the apps.
You can run Eclipse, and create a new project from existing samples. You will be able to choose from a list (this samples come from the sdk, if you downloaded them).
There are some games (snake, ...) and demo apps like API demos.
And Eclipse is very good for Android development, especially if you use the plugin ADT tools.
I am more than happy to have all the eyes I can on my code. I would post a link, but (no rant here)...
AWOL: ArchWiki Offline
by
Tetractys Productions
Search for this on the Google App Store with search term "archwiki".
The code isn't great as I am a novice with both Java and Android, but you will find use of Activities, WebViews, Menus, using external Jars and perhaps a little more. If your scholarly background leads you to make a suggestion or two... please do.
Also... don't buy most of the books. They suck. The "cookbooks" seem pretty good and the Android Developer Documentation and Stackoverflow are your friends. I wasted enough money on Android books I will never read. Hope you don't fall for that too.
Rant:
10 post requirements encourages low quality posts. Perhaps its a good trade-off, but from where I'm sitting I'm drinking HaterAde.

Android: What are Google's rights?

So i did a quick Google search, however, i didn't find anything answering my question.
So when we think about android we (at least the ones who knows their thing) we know it is related to google. However, so far i know that Android is open source, correct me if i'm wrong, but that means that anyone CAN "cook" their own rom of android. (As soon in the numerous threads in android development). So far so good.
A while back i recall reading Google forbidding Cyanogenmod of including their multi-window feature (the one that allows you to surf the web and watch a youtube video simultaneously as seen in Samsung devices(Note 1/2 probably S4 and S3(?)). Anyways, my guess is they came to terms where they can agree or did Samsung ignore what google had to say? So to make a long story short, what are google's rights when it comes to android?
Can google, for instance, if it doesn't like what a manufacturer is adding to their phone be it a feature or a skin say that they only want manufacturers to stick to the AOSP look and if they do add their own skin they will be taken to court? Can they do this?
Just curious to understand how things are running here. I wanna know the rights google has and if it could have went to court with samsung because of using the multi window feature.
I think that you are asking a good question, to which I have no answer, but would be interested in following this.
Personally, I would like to see an Android ROM devoid of Google.
____________________
Sent from my HD2 JB-CM10 with XDA Premium
shadehh said:
So i did a quick Google search, however, i didn't find anything answering my question.
So when we think about android we (at least the ones who knows their thing) we know it is related to google. However, so far i know that Android is open source, correct me if i'm wrong, but that means that anyone CAN "cook" their own rom of android. (As soon in the numerous threads in android development). So far so good.
A while back i recall reading Google forbidding Cyanogenmod of including their multi-window feature (the one that allows you to surf the web and watch a youtube video simultaneously as seen in Samsung devices(Note 1/2 probably S4 and S3(?)). Anyways, my guess is they came to terms where they can agree or did Samsung ignore what google had to say? So to make a long story short, what are google's rights when it comes to android?
Can google, for instance, if it doesn't like what a manufacturer is adding to their phone be it a feature or a skin say that they only want manufacturers to stick to the AOSP look and if they do add their own skin they will be taken to court? Can they do this?
Just curious to understand how things are running here. I wanna know the rights google has and if it could have went to court with samsung because of using the multi window feature.
Click to expand...
Click to collapse
My understanding is while 'Android' or rather the AOSP is completely open source and free to use as you like, there are parts that Google have restrictive licensing over, or example the 'Gapp' (gmail, google+, play store etc). Manufacturers then also hold rights over the parts they add into Android (skins, other apps etc.).
Google has no control over manufacturers sticking Android on a device and that manufacture changing Android in anyway (hence the many many random Chinese devices), however Google can prevent a manufacturer from having a license to include the play store etc if they are unhappy with whats being done.
Google didn't forbid the CM team from including it, they said they would restrict access to the Play Store for devices running CM. The Play services is the only thing Google has power over, since that's their proprietary service. They cannot prevent someone from making a device that runs Android, since that's open source.
And I so believe Samsung's method is different, because apps require some changes before you can run then in multi windows, so you can't just run any app (officially, that is).
Lesicnik1 said:
Google didn't forbid the CM team from including it, they said they would restrict access to the Play Store for devices running CM. The Play services is the only thing Google has power over, since that's their proprietary service. They cannot prevent someone from making a device that runs Android, since that's open source.
And I so believe Samsung's method is different, because apps require some changes before you can run then in multi windows, so you can't just run any app (officially, that is).
Click to expand...
Click to collapse
I see. Doesn't that in theory mean that Samsung could just take their sgs 3, remove all google services and smack their own play store onto it or am i missing something here?
shadehh said:
I see. Doesn't that in theory mean that Samsung could just take their sgs 3, remove all google services and smack their own play store onto it or am i missing something here?
Click to expand...
Click to collapse
Oh they could. But then it would be blocked from other Google projects as well.
Wayne Tech S-III

[Q] Any good books for Android Application Development?

I'm a C# developer by profession and have dabbled in Android application development in the early days of Android (prior to Eclair). At the time, I followed the Google Tutorial, various websites and bought a couple of books. However, I felt there were some things lacking explanation to fully understand how things worked. I've recently had the interest to revisit it. I know there's the Xamarin software that will allow me to develop Android applications using C# and Visual Studio but I was keen to stick with Java code and Eclipse. I know the Google Tutorial has been updated but a brief look at it still seems to show there's not enough explanation behind certain aspects.
Can anyone recommend a good book that takes you through a real and working Android application which has good explanations for things along the way?
TIA

New to android, custom security rom

Hello,
First of all I would like to say that I'm completely new to android (except for the occasional dabblin on a friends phone) so please go easy on me. I am tech savy, but just never had anything to do with this platform, due to my not so nice opinion of google...
I am on blackberry passport and am/was a loyal bb customer with all that follows. But please I do not wish to start android vs bb vs ios etc thread. It is a matter of taste in the end.
So long story short, never had anything to do with IOS or android as I prefered BB for security, productivity and slimeline OS. However due to recent BB swithc to android and priv (which id god awful imho) and apparent abandonment of OS10 i am faced with increasing frustraton over current passport usage as it is more and more laggy problematic every day. So seeming that bb has abandoned os10 I have finnaly decided that perhaps it is a time for a different platform.
I am considering getting the oneplus 3.
So my questions are:
- What kernel and ROM to flash? I explicitly do not want anything to do with google or google services, i do not have gmail and have no intentions to open one. I do not use any service connected to google, no cloud sync, no FB, no instagram etc.... I want my phone google free, bloatware, spyware, ads free, cloud sync free etc. so basically I want as much control over what is installed as possible, with preferably NO personal info shared to any service.
- What is the most open source build? (coming from a viewpoint that google is evil, apple too.. I am putting my trust in the open source community) - replicant project peaked my interest, but the supported phones are too old and too few. I would be extremely pleased tho, if sth like this existed for newer phones.
- Encryption is a must, both of memory and communication (pgp)
- advanced app permission control is a must
- if there exist sth like BB hub or other similar true multitasking option even better
to put it simply, what custom rom and kernel to flash to get the most secure, opensource, google and similar companies free phone with maximum control over os and no to minimum personal info shared.
I would very much appreciate if you could point me in the right direction. As i said no experiance with android, but am quick learner and tech savy. so no need to dumb it down for me.
Thank you !!

Categories

Resources