- Forum posts: 1
Feb 2, 2015, 7:47:36 AM via Website
Feb 2, 2015 7:47:36 AM via Website
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 ?