Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,687 Members 41,215 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Text to American Sign Language Translator App Development Help

Tip us?
 
Vlasp
Old
(Last edited by Vlasp; 18th August 2014 at 11:00 PM.)
#1  
Vlasp's Avatar
Senior Member - OP
Thanks Meter 106
Posts: 540
Join Date: Mar 2012
Location: Plano, Texas
Question [Q] Text to American Sign Language Translator App Development Help

I am trying to make an app that allows the user to input text, and then images meaning that word come up on the screen. I already have Eclipse set up on my linux 64 bit box. How would I do this, as I am just starting to learn android development? I am trying to make this app using this tutorial: https://developer.android.com/traini...ilding-ui.html but changing the activity so it shows images in a sequence (kinda like a GIF). Any way to do this?
Don't Hesitate, Press the Thanks Button!>>>>><<<<<
 
Rick Clephas
Old
(Last edited by Rick Clephas; 20th August 2014 at 11:29 PM.)
#2  
Senior Member
Thanks Meter 124
Posts: 197
Join Date: Jul 2014
Quote:
Originally Posted by Vlasp View Post
I am trying to make an app that allows the user to input text, and then images meaning that word come up on the screen. I already have Eclipse set up on my linux 64 bit box. How would I do this, as I am just starting to learn android development? I am trying to make this app using this tutorial: https://developer.android.com/traini...ilding-ui.html but changing the activity so it shows images in a sequence (kinda like a GIF). Any way to do this?
I think you should create an ArrayList with the images and keywords.
Then if you click the search button you have to loop trough all the items and check if the keywords contain your searched text if so then you add the image to your layout else you don't.

Hope this helps

Sent from my SM-N9005 using XDA Premium 4 mobile app
 
SimplicityApks
Old
#3  
SimplicityApks's Avatar
Senior Member
Thanks Meter 327
Posts: 323
Join Date: May 2013
Location: Aachen
Quote:
Originally Posted by Rick Clephas View Post
I think you should create an ArrayList with the images and keywords.
Then if you click the search button you have to loop trough all the items and check if the keywords contain your searched text if so then you add the image to your layout else you don't.

Hope this helps
Agreed, but I think a HashMap<String, Integer> would be better in this case .

@OP: I don't get the second part of the question with the GIF, try to start with only an EditText, a Button and an ImageView. Then learn how to get the text which the user entered and set up the hashmap and your image resources.
 
Rick Clephas
Old
#4  
Senior Member
Thanks Meter 124
Posts: 197
Join Date: Jul 2014
Quote:
Originally Posted by SimplicityApks View Post
Agreed, but I think a HashMap<String, Integer> would be better in this case .

@OP: I don't get the second part of the question with the GIF, try to start with only an EditText, a Button and an ImageView. Then learn how to get the text which the user entered and set up the hashmap and your image resources.
Yes that would probably be better :thumbup:

Sent from my SM-N9005 using XDA Premium 4 mobile app
Tags
android, eclipse
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes