last day (15 days later) » 

1:53 PM
0
Q: How to show popup window on screentouch in webview in android?

Rinnegan Narutoi am in webview right now, well i struggling to show pop-up window on webview. i have to show pop-up window everytime when i touch on the webview at the extact same location where i touched, i tried with the ontouchlistener but still i can't the pop-up view. Can you guys help me to solve this pro...

 
Can you post your logcat message?
 
Well, i didn't get any exception it just crashes.
i will update my question with logcat can you wait please.
@SLee ya its true i am not getting any exception but the popup doesn't display, can you analyse my code and tel me whats wrong with it.
 
Does your app crash or it just does not display your popup window? Also, it could crash since you are calling touch method for every motion events.
 
is not crashing and pop-up window doesn't show.
 
Did you check whether your touch method gets called? Creating popup window part looks fine. Lastly, can you post your popup.xml file?
 
1:53 PM
k no problem can wait a sec i will post my xml.
 
all right
Did you find out whether your touch method gets called though?
 
ya its getting called. can u see now my question, i have posted my xml.
 
your xml looks weird
firstly in your popup window code,
you are calling button id date and beck
but in your xml there is no "beck" button
Also, I don't get this line, android:layout_toLeftOf="@+id/camera".
generally when you use layout_toLeftOf, there should be no + in front of id.
If you are trying to put sign button left of date button, then it should be android:layout_toLeftOf="@id/date"
 
i will check it after doing the changes u subscribed can u wait a minute
 
sure
 
2:05 PM
i think adding + infront of @id won't cause any problem let me theck
 
yea + does not cause any problem. I am just saying it's the wrong way of using it
you should put the existing id
, not create one
 
thanks for waiting man i did the changes but still no change
 
hmm,,
 
here is what i got my touch method gets call repeadtedly
can you implement my code and trying it in your system and you may get changes.
 
Someone just posted up an answer. Please check if that works for you. If it doesn't, please send me your project to prayertreeteam@gmail.com . I will check it on my system.
 
2:15 PM
sure
 
2:30 PM
just create an webview and you do exactly what i had posted in my question same no changes
 
?
hmm,,
don't have enough time for implementing by myself sry
 
can u do it
 
ill go over it if you just send me ur project
 
k i will send u my code
k sure can u check it right now or later
 
3:28 PM
I didn't get your code
prayertreeteam@gmail.com
 
hy sry i am still working in my system gmail is blocked i will send u today my code and after doing the changes can u resend the code to my email id vigneshindarani@gmail.com
 

  last day (15 days later) »