The Communicator app: Where to start with Android app development - Android Software Development

Hey guys
Aight so the idea is to create an app that lets the user speak to someone in a different language. You make a recording and using the same function that the voice search feature has that recording gets translated to typed words on the phone. The app then uses some translating service like google translate to convert that writing to a language of your choice. That writing will then get read* by the phone and can be heard through the speakers. So essentially you can talk to someone even if you dont speak the same language.
*I know this is possible because I used to have an app that did just this: it read out loud what you wrote down
I have no experience with android development, and not very much with programming either for that matter (ive done some python stuff). However, I thought of this, which dosen't seem too hard to create, and I thought this would be a great way for me to start off and learn about app development.
Ok so because most of the features already exist it should just be a matter of patching them all together (right?). This is where I need you guys' help. Any suggestions on where I could start?
I appreciate any help, no matter how big or small!
MODERATORS: I wasn't really sure if this was the right place to post this, so feel free to move it to where ever you find suiting if this isn't right.
I would love it if someone wanted to work on this together with me, but
PLEASE DONT BE A D*CK AND JUST STEAL THIS IDEA!

Hi,
I'm relatively new to Android myself. But in my understanding, I would suggest the best method to start coding this app is, to build a Service which is intended to do the network polling, and the translation for the App in Background. So I think you need a server which tracks your Messages, and serves the data for the app. U have to look at IPC (Inter Process Communication) to communicate with you service.
If you finished all these, then you can start to build an Android Activity to communicate with your user.

Related

Please help, info about using java on wm with c# & googlemaps api

Hi first I must apologize for posting here I know I should post in the questions and answers section, I have already done this twice with two similar posts but I have not received a reply I beleive because the expert programmers are less likely to look there to help people as most questions are about useing software not developing it. anyway here is what i posting before I really hope someone can help me...
Hello everyone I was wondering if anyone could answer this question for me.
I am creating a wm app and for part of it i want some information from googlemaps, the maps api is in java and i was thinking of ways to incorperate this into my app. Can i create a java program to get data from google and have my c# program run the java program and get info from it? I could write my program totally in java but i don't like the way i have to first start the vm and launch my program from that is there a way to automate this? also I need quite a lot of information from the phone so using c# will make getting this info easier.
or are there any other ways i might be able to get the info I want, I don't really know anything about applets but could they somehow be used?
oh btw the specific data i want is distance between to map locations (via googles route not direct)
many thanks i hope someone can help
I apologize again for posting in here but this app is for a final year project and I need to know if im barking up the wrong tree as soon as possible.
I might be wrong here, but to the best of my knowledge, Google Maps API is actually JavaScript API, not Java. If you found Java API, it's most likely a wrapper. And if it exists, I'm sure C# wrapper should exist as well. You might want to take a look at this. I know it's not exactly what you are looking for, but it might be helpful to some degree. Also, one other thing I can suggest, is to look at Virtual Earth API. I'm almost 100% positive, that they do have a C# implementation of the API.
Hi hobbbbit thanks so much for your reply, so googlemaps api is javascript , I have never used javascript before and saw that the api used objects methods and looked like java so i just assumed thats what it was. If there isn't a wrapper for c# do you (or anyone) know of a way of using the api to obtain one of the objects and use it in c#?
I would use virtual earth but unless I am totally wrong here I thought to use it you needed a licence which costs around $8000 which I don't want to pay for. Even with google if I wanted to release the app i think I would have to pay although I have contacted them and they say I can develop my app using the free api.
**EDIT**
Ok well I took another look at virtual earth, I really am a complete idiot. I signed up for a FREE developers account so hopefully everything I need I can get from there.
again thanks for your advice if you hadent posted I would probably still be trying different ways to hack google earth to work in my wm app.
On codeplex is a windows forms project that uses googlemaps api as wel as a few others. Im pretty sure you can get an idea of how to go about this from there
cornelha said:
On codeplex is a windows forms project that uses googlemaps api as wel as a few others. Im pretty sure you can get an idea of how to go about this from there
Click to expand...
Click to collapse
Superb this was just the thing I was looking for I will be sure to study this code closely. Thanks so much for the information.

Connect Android to Enterprise Java Bean

Hi!
Im sorry if this is a dumb question but I googled some stuff about it and never found a straight YES/NO answer.
Im a student in my final year and as a semestral project I have an electronic voting system built on Java Enterprise technology with enterprise java beans (EJBs) running on Glassfish.
For my final work id like to create an app for android that could communicate with those beans on a Glassfish server and thus a people could vote by a cell phone.
My question is Is this even possible? Over the past three days ive been googling stuff concerning this matter but nothing really helped. Id really appreciate a straightforward answer because my time for choosing a final project is almost up and I dont want to end up doing something that is impossible.
Don't take it bad, but it looks like you are a student who doesn't even know what he's working with. Not that it surprises me, but I'm willing to help you.
Answer these straight questions.
1. What is an EJB?
2. Who "runs" an EJB?
3. Where does an EJB "live"?
If and when you answer these three questions you'll know what is needed for a project where "people could vote with a cellphone".
What I can tell you in the most straightforward way is that it is possible for you to have people using their android phones to vote with your Glassfish server.
Android <-> Glassfish
I am looking for the same thing - to write Android apps that communicate with session beans on an app server (i.e. Glassfish). Since I will own both ends of the app, I am looking for a simple approach (e.g. RMI) as opposed to a lot of unnecessary bru-ha-ha (e.g. why turn Java objects into SOAP, just so we can turn them back into the same Java object ... not that Android really supports SOAP).
It looks like Google, for some reason, crippled the Android's ability to communicate. About the only built-in mechanisms I've found are REST (and I don't like REST) or writing my own protocol and using servlets.
Surely, by now, someone has come up with a simple, concise, mechanism for addressing this issue ... I just can't find it.

[Q] writing code

Hi i need help!!!! lol i am new to develepment and i believe i have a great idea for an app, but i dont have any expirence writing code. if anyone knows of a great preferably free tutorial on how to write code i will be using eclipse im all ready to write. but i dont know where to start. my app will be changing something in the internal workings of android.....therefore probably will require superuser permissions......im so lost i dont even have a clue.....lol
if you have NO programming experience what so ever than you should start by learning Java first (get an ebook or find an online webiste that teaches it to beginners or get a physical book on it, I got one last year called "Java: in easy steps" and it really helped me). Once you know enough about java, you should get a book on programming android (I got the "for dummies" one) ... make sure its a new edition (i.e., covers upto android 2.1/2.2 at least). the developers.android site that google set up is confusing and not overly helpful I found, but the books written by other people provide good insight into the theory as well as provide many examples on almost every kind of program.
Good luck!
ok thanks for the input.....i would like to learn for free as much as possible if anyone else has any input it would be greatly appreaciated.

Where to start in Android application development?

Hello everybody, long time lurker, first time poster. I'm posting to ask about where to get started in developing Android applications? I have half a degree in computer science, am familiar with coding, and work in Android software QA, but I'm trying to get my skillset up to the next level and actually start developing applications on Android. Is there any specific books or literature I should read to get me started on my journey? I'm also a long time IT guy on both Windows and Unix-based systems, so I'm by no means computer illiterate. I'm also a long time phone modder as I've been tweaking Android phones since the original G1 running 1.0. Thanks in advance!
Take a look at the Android Developer guide. It has samples and tutorials. If you google, there are also several free PDFs on the subject.
A good Java book will also help a lot. Just start to write a few trial apps and you will get there quickly!
The best place to learn for me, is android web page:
Here you have everything to start:
http://developer.android.com/guide/index.html
And to set up the environment for developing:
http://developer.android.com/sdk/index.html
If you want to learn from the scratch, the links I posted are your point. You can also take a look to the tutorials:
http://developer.android.com/intl/es...llo-world.html
You can also start with java, if you want.. I reccomend you take a look to this:
http://download.oracle.com/javase/tu...ava/index.html
http://download.oracle.com/javase/tutorial/
and start from Java SE 6 (http://download.oracle.com/javase/6/docs/)
http://www.oracle.com/technetwork/ja...sp-135888.html
I don't know what your college classes are like for CS, but you should have the basics of programming, why not start writing some Android apps?
Start with the basic "Hello World". Get used to working with main.xml and TextViews, EditViews, ListViews, Buttons and Listeners. Android is mostly JAVA, some Android-specific operations and your xml files.
Take some of your CS 101 type programs and try to write them on Android. The more programs you write, the more you learn.
Try to learn something new everyday and in no time at all you'll be impressed with how far you have come.
Rootstonian said:
I don't know what your college classes are like for CS, but you should have the basics of programming, why not start writing some Android apps?
Start with the basic "Hello World". Get used to working with main.xml and TextViews, EditViews, ListViews, Buttons and Listeners. Android is mostly JAVA, some Android-specific operations and your xml files.
Take some of your CS 101 type programs and try to write them on Android. The more programs you write, the more you learn.
Try to learn something new everyday and in no time at all you'll be impressed with how far you have come.
Click to expand...
Click to collapse
Yes this is really a good advice
Just start writting little programs and you will go up soon
You could use the sample code that comes with the sdk, and start with different things: First, layout, xml and the like. You could then start with some othe things, like services, broadcast receivers, content providers, to get the feel of them. And finally, work with the hardware: Internet (wifi or 3g), bluetooth..
Hey guys, Sorry to get off Track but I've been trying to Complete my ROM for Everyone that's Currently using it. Anyways... Reading All the Posts in this Thread it seems to me that there Definitely are some Well-Seasoned Veteran Developers here, so Forgive Me but I have to ask, Is there Anyone that can maybe Help assist me with getting FlashLite Working on my Rom.... Please?
The link to my Rom Thread is in my Signature... and my phone is a (CDMA) Sprint Hero!
Thanx in Advance!!
*Sent on My*
Fast as its Ever Been....
"Sprint" Hero.... Running My, *ExEnHeroC* Rom, w/Kifno's Twist, Also The XDA-BLUE.apk!! "Page 10" of My Thread!!
http://forum.xda-developers.com/showthread.php?t=957867
http://www.megaupload.com/?d=WTMLMK6M
http://www.mediafire.com/?bb1axugm0bw7oro
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS
At Barnes and Noble there is a book called Android App Development in 24 Hours. It is a freaking great book. Helped me a lot when I started. It breaks down the chapters in to hours with exercises and explanations. Being familiar with Java fundamentals would be good, but not necessary. The first couple hours(chapters) explains the a general overview of the history of the OS and helps you build your first app. My favorite part of the book is how it teaches you to build and app piece by piece over the rest of the chapters adding new features each hour. So, by the end you have and app with quite a bit of features that work and you actually understand how and why. At the end, you have an app that has a lot of Android features as well as knowledge of how they work and can be used. It doesn't go into the more advanced features, but it is well worth the money for beginners. I still use it as a reference because of the easy to understand instructions. Sometimes, the Internet guides assume you have been using Java for 10 years and skip how and why they are doing something. And even then I doubt every veteran Java programmer remembers everything. I am half asleep so forgive any grammar errors.
Ken
Sent from my iPhone with the bigger Gee Bees.
http://www.youtube.com/watch?v=SVZ1P35xgNQ
Really good tutorial for the first basic steps. In terms of installing eclipse/java and hello world. He continues with his tutorial in part 2, part 3 and so on.
Android/fruItphone app. idea needs help...
If there is anyone who has knowledge on building apps for Android, I would be extremely interested to share with them an idea for an app. I'd hope this app would be able to work on that other fruIt based dumbphone, too.
Well, there is planty of developers out here I'm one of them (thought not the smartest ) so, if you want to share the knowledge, feel free to PM me

[HELP] Android unlock mechanism

Hi,
I'm new in Android environment, but I have some experience with Java programming. I want to try some mobile apps, so i started to writing my first game. Everything is ok, but I don't know how to create mechanism like in "maze" Android unlock screen (can't put any link with photo ). I have list of points on screen and I want to give user ability to draw a path between these points. I've heard that there is special listener for this, but I can't find that.
Thanks for your help and sorry for my English
chris_black
chris_black said:
Hi,
I'm new in Android environment, but I have some experience with Java programming. I want to try some mobile apps, so i started to writing my first game. Everything is ok, but I don't know how to create mechanism like in "maze" Android unlock screen (can't put any link with photo ). I have list of points on screen and I want to give user ability to draw a path between these points. I've heard that there is special listener for this, but I can't find that.
Thanks for your help and sorry for my English
chris_black
Click to expand...
Click to collapse
Don't know it at the top of my head either, but checkout the source of this lockpattern library, I'm sure you can find out how they did it

Resources