- Forum posts: 1
Feb 2, 2015, 7:47:36 AM via Website
Feb 2, 2015 7:47:36 AM via Website
Hello All,
I'd build a 2 screen app with phonegap+jquery+websocket & tried on differnet android screens. it failed to work fully on phones i'd tried with layout & click issues apart from others.
So, wanted to try an android native app. Its a classroom-student list app. FirstScreen contains list of classrooms. On click of a room, list of students is displayed on SecondScreen. Being on jquery, I'd assigned student roll number to the student profile picture on the second screen. On click on the image, simple info like student name, age, address is shown.
How can I acheive the same in android ? I have all the images displayed without the click event. How can assign a unique id (student roll #) to an ImageView dynamically, that I can retrieve info from a HashMap(containing student info) & alert ?
In JS, if theres no profice pic, I displayed animated no user pic & was assiging student id. How can I support in java ?
Regards,
Avinesh
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.