[android-developers] onTouchListener Problem - timeout when running

2011-07-20 Thread Ece OZMEN
After tapping screen it stops in 1 or 2 seconds. It stops get the touch events. I couldn't understand why.. Can anyone help me? Thanks public class HelloGoogleMapsActivity extends MapActivity implements OnTouchListener { private MapView mapView; @Override public void

[android-developers] Re: onTouchListener Problem - timeout when running

2011-07-20 Thread Ece OZMEN
If I won't, touch event doesn't works -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: onTouchListener Problem - timeout when running

2011-07-20 Thread Ece OZMEN
Ok I use Overlay and solve it http://code.google.com/p/android/issues/detail?id=5205 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Getting coordinates

2011-07-19 Thread Ece OZMEN
I want to display androidmarker at where I click on the screen.. My code is above. It is Hello Map View tutorial http://developer.android.com/resources/tutorials/views/hello-mapview.html I think I should do it with onTouchEvent and try to add it as you can see at the code. But I don't know how

[android-developers] Add frames to video stream

2011-05-04 Thread Ece OZMEN
Hi, I can't add frames to the video_stream. Value of index always change but index of video_st never changes. So I think I can't add frames but I can't find why.. Can anyone help me.. Thank you.. Here is some parts of my code static void write_video_frame(AVFormatContext *oc,AVFrame *pFrame,int

[android-developers] Add frames to video stream

2011-05-04 Thread Ece OZMEN
Hi, I can't add frames to the video_stream. Value of index always change but index of video_st never changes. So I think I can't add frames but I can't find why.. Can anyone help me.. Thank you.. Here is some parts of my code static void write_video_frame(AVFormatContext *oc,AVFrame *pFrame,int

[android-developers] Add frames to video stream

2011-05-04 Thread Ece OZMEN
Hi, I can't add frames to the video_stream. Value of index always change but index of video_st never changes. So I think I can't add frames but I can't find why.. Can anyone help me.. Thank you.. Here is some parts of my code static void write_video_frame(AVFormatContext *oc,AVFrame *pFrame,int

[android-developers] Add frames to video stream

2011-05-04 Thread Ece OZMEN
Hi, I can't add frames to the video_stream. Value of index always change but index of video_st never changes. So I think I can't add frames but I can't find why.. Can anyone help me.. Thank you.. Here is some parts of my code static void write_video_frame(AVFormatContext *oc,AVFrame *pFrame,int

[android-developers] seeking with av_seek_frame or url_seek

2011-04-22 Thread Ece OZMEN
Hi, I try to save the keyframes. I found which frames are keyframes. I wrote two function to seek where the keyframes are. One of them is with av_seek_frame and the other is with url_seek ..but none of them work. Here in this function pFormatCtx-pb-pos values of frames are in keyFrames array..

[android-developers] Re: seeking with av_seek_frame or url_seek

2011-04-22 Thread Ece OZMEN
How can I get the iNewPosition variable?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: seeking with av_seek_frame or url_seek

2011-04-22 Thread Ece OZMEN
I think this is what you told ?? but when programm starts, first timestamp =0 , keyframes[i]=1 (keyframe value is right), avseekframe returns 0 , avcodec_decode_video2 returns 7854, framefinished=216.. THey don't make any sense :S (index is 275) for(i=0;iindex+1;i++){ //int64_t