imation is expensive.
>
>
>
> On Tue, Nov 11, 2008 at 2:29 PM, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
> > Is there a particular reason as to why it will be slow? I have a grid
> > of only 6 images (each image (png) is about 40Kb).
>
> > Rohit
>
>
x27;s gonna be slow on the G1 (unfortunately.)
>
>
>
> On Tue, Nov 11, 2008 at 1:27 PM, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
> > Hmmm...ok - I thought that it might be trying to set the view to
> > invisible while the animation is going on and that might cause
ROTECTED]> wrote:
> Actually the way you did it earlier is simpler and is meant to work.
> No need for a listener.
>
>
>
> On Tue, Nov 11, 2008 at 1:14 PM, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
> > I moved to using an AnimationListener to make the view inv
01 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> I have a Grid View and it has 6 jpeg images. I am applying a scale and
> alpha animation to that grid and then at the end of the animation i
> set the visibility of that view to invisible. The animation seems
> slow. I tried to use an
I have a Grid View and it has 6 jpeg images. I am applying a scale and
alpha animation to that grid and then at the end of the animation i
set the visibility of that view to invisible. The animation seems
slow. I tried to use an AccelerateInterpolator but that doesnt seem to
help. Is there a way t
How do I attach this scroller to the ViewGroup? Does the constructor
with the context do this?
Rohit
On Nov 3, 2:20 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> Hey Romain Guy,
> Can you tell me how to use a scroller? I tried to create a
> scroller and then I called
Hey Romain Guy,
Can you tell me how to use a scroller? I tried to create a
scroller and then I called the startScroll() method on it but it
didn't do anything. I am trying to scroll a Viewgroup (that is larger
than the screen size) and has multiple children laid out side by
side.
Event().
Rohit
On Oct 31, 1:05 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> In addition you need to do the following in your view:
>
> @Override
> public boolean dispatchTouchEvent(MotionEvent ev){
> return mGestureDetector.onTouchEvent(ev);
>
> }
>
> Thanks
Event().
Rohit
On Oct 31, 1:05 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> In addition you need to do the following in your view:
>
> @Override
> public boolean dispatchTouchEvent(MotionEvent ev){
> return mGestureDetector.onTouchEvent(ev);
>
> }
>
> Thanks
de a dispatch method, especially doing so and never calling
> through to the super class.
>
> The correct thing is almost always to override onTouchEvent().
>
> On Oct 31, 2:05 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
> > In addition I had to do the follow
In addition you need to do the following in your view:
@Override
public boolean dispatchTouchEvent(MotionEvent ev){
return mGestureDetector.onTouchEvent(ev);
}
Thanks
Rohit
On Oct 31, 2:01 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> I got fling/swipe to work. In one of
In addition you need to do the following in your view:
@Override
public boolean dispatchTouchEvent(MotionEvent ev){
return mGestureDetector.onTouchEvent(ev);
}
Thanks
Rohit
On Oct 31, 2:02 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> I got fling/swipe to work. In one of
In addition I had to do the following in my view:
@Override
public boolean dispatchTouchEvent(MotionEvent ev){
return mGestureDetector.onTouchEvent(ev);
}
Thanks
Rohit
On Oct 31, 1:59 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> Hey Adam and Jason - thanks ! I tried out t
I got fling/swipe to work. In one of my other posts someone told me to
do the following to make fling/swipe work
1) Set View.setLongClickable to true for the view you are using
2) Set GestureHandler.setIsLongpressEnabled to true
3) Return true in your onDown method
Thanks
Rohit
On Oct 13, 4:55
I and APIs have been
> developed in the emulator.)
>
>
>
> On Thu, Oct 30, 2008 at 4:18 PM, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
> > I THINK the problem is that in the emulator, pressing the left mouse
> > button is more like a tap and that sets the MotionEv
on
>
> On Thu, Oct 30, 2008 at 4:18 PM, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
> > I am facing the same problem. The onFling() method is never called.
>
> > I THINK the problem is that in the emulator, pressing the left mouse
> > button is more like a tap and t
wrote:
> Fling works perfectly in the emulator. It is also normal for onDown()
> to be invoked. A fling is simply an onDown() followed by several
> ACTION_MOVE MotionEvent then an onUp().
>
>
>
> On Thu, Oct 30, 2008 at 4:18 PM, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
&
I am facing the same problem. The onFling() method is never called.
I THINK the problem is that in the emulator, pressing the left mouse
button is more like a tap and that sets the MotionEvent.Action to be
ACTION_DOWN. As a result the onDown() method of the OnGestureListener
is called instead of
I THINK the problem is that in the emulator, pressing the left mouse
button is more like a tap and that sets the MotionEvent.Action to be
ACTION_DOWN. As a result the onDown() method of the OnGestureListener
is called instead of onFling(). There might be a way to emulate the
fling in the emulator
Do you have a development G1? I have heard that you cannot install
apps (via adb) on a production G1 phone
Rohit
On Oct 17, 2:38 am, Ari Block <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I got the G1 and am having somw issues to install an app,
> when i run this : "adb install test.apk"
> and get
I have the following layout for tabs:
http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="horizontal">
What I meant is - if I were to ship a device with the replacement app
as the default (out of the box), rather than confusing the user.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
r
> to see, what it means to replace an app is that you handle the various
> Intent activities etc that the built-in one does, so the user can
> decide to use your app instead of the built-in one.
>
> On Oct 13, 11:36 am, Rohit Mordani <[EMAIL PROTECTED]> wrote:
>
> > How
How about replacing the contacts app with your own - Is there any way
to do that?
Rohit
On Sep 29, 8:00 pm, Xolotl Loki <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
>
> > 2) Hidden Content Providers. The open access guarantees don't
> > necessarily grant acce
Can you tell me how can you replace the entire app/activity?
Rohit
On Aug 29, 10:17 am, hackbod <[EMAIL PROTECTED]> wrote:
> This isn't supported in 1.0. You can only replace the entire
> Dialtacts activity.
>
> On Aug 29, 6:44 am, chokoreto <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am tryi
What do I need to override in that ListAdapter? If you know how to do
this can you please elaborate?
Thanks
Rohit
On Oct 2, 6:20 am, MrSnowflake <[EMAIL PROTECTED]> wrote:
> Implement your own ListAdapter.
>
> On 2 okt, 01:06, Rohit Mordani <[EMAIL PROTECTED]> wrote:
&g
Hi,
I am accessing Contacts data and passing that into a list. I want
to modify the data that I get from the database and then pass it to
the list view. Is there a way to do that ? This is what my OnCreate()
looks like.
public void onCreate(Bundle savedInstanceState) {
super.onCreat
Hi,
I have an app that reads Contacts and displays them in a list. I
want to modify some of the data before passing it to the list. Is that
possible? Here is my applications OnCreate() method
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
28 matches
Mail list logo