Open GoogleCodeExporter opened 8 years ago
a little bit change to the requirement.
1. start our android application. point it to ws-test
2. go to our home page
3. type "lmcu dating" in the search box. Dating page will be launched.
4. Click the Search link, and click the Search button in the search page
5. You are now in the search result page. There are three icons for each user
which are chat, message and photo.
6. Currently if you click the icons, javascript function will be called. please
take a look at file
backend/prototype-socialray/src/main/webapp/KISS/dating/search/list/content.jsp,
you will see three javascript functions. They are chat, sendMessage and
showPhotos. You can find that now all of them are calling
SocialRays.startActivity. The startActivity is defined on the Android side. The
file is /frontend/Socialrays_15/src/com/socialrays/GenericWebActivity.java. You
may search startActivity. This java method takes three parameters which are
passsed in by the content.jsp javascript functions.
Please change the activityName in the content.jsp file to the corresponding
Android activity names for chat, message and shared photos. If your activities
need any input data, you may change the content.jsp to pass in the data you
needed. You may also need to modify your activities to make them work with my
current design.
Thanks a lot.
Original comment by zhangyon...@gmail.com
on 25 Nov 2010 at 11:19
[deleted comment]
Got it. Will do.
Original comment by xianhao.lv@gmail.com
on 26 Nov 2010 at 8:35
Lv, please let me know your plan so that I can arrange my work correspondingly.
Original comment by zhangyon...@gmail.com
on 27 Nov 2010 at 8:45
I have modified
backend/prototype-socialray/src/main/webapp/KISS/dating/search/list/content.jsp
to start com.socialrays.chat.activity.ChatTabHostActivity for chat, start
com.socialrays.message.activity.MessageTabHostActivity. Android app side still
needs some enhancement for this. share pictures no implement yet, so show
photo maybe need some time.
Original comment by xianhao.lv@gmail.com
on 28 Nov 2010 at 1:36
Thanks, Lv. It's exactly what I want.
after you finish the share photo, you can set this ticket as fixed.
Original comment by zhangyon...@gmail.com
on 28 Nov 2010 at 8:01
Original issue reported on code.google.com by
zhangyon...@gmail.com
on 25 Nov 2010 at 4:58