[android-developers] GestureListener events

2009-08-09 Thread ayush

i'm using the GestureDetector and GestureListener in a program. i want
to have separate actions for the onFling and onScroll events. for a
"scroll" event there is no problem - only the onScroll event is
called. however for a "fling" event BOTH the onFling and onScroll
events are being called. i tried returning "true" in the onFling
method to prevent further propagation of the event but that didnt
help. following is the code excerpt from the onTouchEvent and the
related gesture events:

private static boolean fling, scroll; //two boolean values to detect
whether the performed action is a fling or scroll
private GestureDetector scanner; //this is the gesture detector

public boolean onTouchEvent(MotionEvent me){

fling = false;
scroll = false;

scanner.onTouchEvent(me);

if (fling) {
scroll = false;
return true;
} else if (scroll){

return true;
}


return super.onTouchEvent(me);
}

public boolean onFling(MotionEvent e1, MotionEvent e2, float
velocityX,
float velocityY) {

fling = true;

return false; //changing this to return true at this point 
makes no
difference
}


public boolean onScroll(MotionEvent e1, MotionEvent e2, float
distanceX,
float distanceY) {

scroll = true;

return false;
}


what i tried in the onTouchEvent method above is to put a kind of a
"lock" so that if a "fling" is detected then the appropriate action is
taken and the event is not propagated further. however despite trying
every combination of returning true / false in each of the above
methods, i am unable to separate out the "fling" event from the
"scroll" event.

as i said - there is no problem in the conventional scroll - in this
case only the action for scroll is being performed.

for the gesture events, is there any particular sequence in which the
event is propagated? i.e. does it first go to the onClick, then the
onFling, then the onScroll ... etc?

any inputs will be greatly appreciated

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Wat to buy???

2009-06-26 Thread ayush

you can purchase the android developer phone. its the same thing as
the G1, only difference being that its unlocked and will work with any
GSM service provider.

check out the following link - this guy has purchased the developer
phone in india and recounts his first-hand experience

http://www.shekhargovindarajan.com/google/anroid-to-india-a-shipping-faq/




On Jun 25, 11:08 am, Sujay Krishna Suresh 
wrote:
> Hi everyone,
>                 i live in India and i wanna own an android phone...
> can anyone gimme suggestions as to wat phone i can buy, from where to buy &
> wat'd be d approx cost???
>
> --
> Regards,
> Sujay
> Laurence J. 
> Peter
> - "If two wrongs don't make a right, try three."

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] MapActivity( 424): Couldn't get connection factory client

2011-04-15 Thread ayush
Hello Experts,

I am facing the error mentioned in subject line on loading my app. I
have generated the key as per the right method and added it at the
right place in mail.xml.
I also read that it might happen because of wrong debug.keystore. i
also went and regenerated keystore & corresponding key but no luck.
Can some one pls help me with this.

regards,
ayush

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Earning in one downloading

2016-12-10 Thread Ayush Saini
How much i earn if one persone download my application in india.
I one persone is download my online application then whis is my income per 
downloading in rupes.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/1ee7463d-e916-4ae6-bc2a-cb011ec4951a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] My new andriod app

2010-09-21 Thread Ayush Dhingra
http://www.infotechse.info/jobs/idevaffiliate.php?id=6655

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: MapActivity( 424): Couldn't get connection factory client

2011-04-15 Thread Ayush Sharma
could someone pls help me ?

On Thu, Apr 14, 2011 at 11:12 PM, ayush  wrote:

> Hello Experts,
>
> I am facing the error mentioned in subject line on loading my app. I
> have generated the key as per the right method and added it at the
> right place in mail.xml.
> I also read that it might happen because of wrong debug.keystore. i
> also went and regenerated keystore & corresponding key but no luck.
> Can some one pls help me with this.
>
> regards,
> ayush

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en