[android-developers] How should I extract the Package Information from New Installed Package Notification

2011-05-31 Thread varinag gold
Hi,

How should I extract the package name and other information from a new
installed package notification in my application.

Thanks in advance
varinag

-- 
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] 1380 Paid Applications in One Free Torrent then How to SELL it?

2011-05-04 Thread varinag gold
How do you expect to make business if your application already end up
in a free torrent like below?

http://thepiratebay.org/torrent/6287940/1380_Paid_Android_Apps_and_Games_APK

Have they stole these apps from android market or ?

regards,
Varinag

-- 
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: Icons looks blurred instead of being sharp after resizing

2011-04-20 Thread varinag gold
Hi Dianne,

Thanks for your reply.
If I don't resize them some application icons appear larger than
others and suppose the android should choose all resources according
to the device lcd density (hdpi, mdpi or ldpi )?

Regards,
varinag




On Apr 20, 12:09 pm, Dianne Hackborn hack...@android.com wrote:
 The size of app icons is 48x48 dp units.  If you are drawing them at some
 different size, they will be blurry because you are scaling them from their
 designed size.



 On Tue, Apr 19, 2011 at 8:59 PM, varinag gold varinagg...@gmail.com wrote:

  Hi,

  I am displaying a grid of icons of all the applications on my device
  and I found after I resize them to be all same width and height they
  appear on screen some what blurred or foggy .  Also the Icon Text
  looks blurred . I have put code snippet below that actually resizing
  the icons.

  Please let me know if I am missing some thing to make them appear
  sharp on screen.

  Thanks a lot.
  varinag
  -

   if (!info.filtered) {

             int width = 42;
             int height= 42;

             final int iconWidth = icon.getIntrinsicWidth();
             final int iconHeight = icon.getIntrinsicHeight();

             if (icon instanceof PaintDrawable) {
                 PaintDrawable painter = (PaintDrawable) icon;
                 painter.setIntrinsicWidth(width);
                 painter.setIntrinsicHeight(height);
             }

             if (width  0  height  0  (width  iconWidth ||
  height  iconHeight)) {
                 final float ratio = (float) iconWidth / iconHeight;

                 if (iconWidth  iconHeight) {
                     height = (int) (width / ratio);
                 } else if (iconHeight  iconWidth) {
                     width = (int) (height * ratio);
                 }

                 final Bitmap.Config c =
                         icon.getOpacity() != PixelFormat.OPAQUE ?
                             Bitmap.Config.ARGB_ :
  Bitmap.Config.RGB_565;
              //   final Bitmap thumb = Bitmap.createBitmap(80, 80, c);
                 final Bitmap thumb = Bitmap.createBitmap(42, 42, c);
                 final Canvas canvas = new Canvas(thumb);
                 canvas.setDrawFilter(new
  PaintFlagsDrawFilter(Paint.DITHER_FLAG, 0));
                 // Copy the old bounds to restore them later
                 // If we were to do oldBounds = icon.getBounds(),
                 // the call to setBounds() that follows would
                 // change the same instance and we would lose the
                 // old bounds
                 mOldBounds.set(icon.getBounds());
                // icon.setBounds(0, 0, 80, 80);
                 icon.setBounds(0, 0, width, height);
                 icon.draw(canvas);
                 icon.setBounds(mOldBounds);
                 icon = info.icon = new BitmapDrawable(thumb);
                 info.filtered = true;
             }
         }

         final TextView textView = (TextView)
  convertView.findViewById(R.id.label);
         textView.setCompoundDrawablesWithIntrinsicBounds(null, icon,
  null, null);
         textView.setText(info.title);

         return convertView;
     }

  --
  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

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

-- 
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] Icons looks blurred instead of being sharp after resizing

2011-04-19 Thread varinag gold

Hi,

I am displaying a grid of icons of all the applications on my device
and I found after I resize them to be all same width and height they
appear on screen some what blurred or foggy .  Also the Icon Text
looks blurred . I have put code snippet below that actually resizing
the icons.

Please let me know if I am missing some thing to make them appear
sharp on screen.

Thanks a lot.
varinag
-

 if (!info.filtered) {

int width = 42;
int height= 42;

final int iconWidth = icon.getIntrinsicWidth();
final int iconHeight = icon.getIntrinsicHeight();

if (icon instanceof PaintDrawable) {
PaintDrawable painter = (PaintDrawable) icon;
painter.setIntrinsicWidth(width);
painter.setIntrinsicHeight(height);
}

if (width  0  height  0  (width  iconWidth ||
height  iconHeight)) {
final float ratio = (float) iconWidth / iconHeight;

if (iconWidth  iconHeight) {
height = (int) (width / ratio);
} else if (iconHeight  iconWidth) {
width = (int) (height * ratio);
}

final Bitmap.Config c =
icon.getOpacity() != PixelFormat.OPAQUE ?
Bitmap.Config.ARGB_ :
Bitmap.Config.RGB_565;
 //   final Bitmap thumb = Bitmap.createBitmap(80, 80, c);
final Bitmap thumb = Bitmap.createBitmap(42, 42, c);
final Canvas canvas = new Canvas(thumb);
canvas.setDrawFilter(new
PaintFlagsDrawFilter(Paint.DITHER_FLAG, 0));
// Copy the old bounds to restore them later
// If we were to do oldBounds = icon.getBounds(),
// the call to setBounds() that follows would
// change the same instance and we would lose the
// old bounds
mOldBounds.set(icon.getBounds());
   // icon.setBounds(0, 0, 80, 80);
icon.setBounds(0, 0, width, height);
icon.draw(canvas);
icon.setBounds(mOldBounds);
icon = info.icon = new BitmapDrawable(thumb);
info.filtered = true;
}
}


final TextView textView = (TextView)
convertView.findViewById(R.id.label);
textView.setCompoundDrawablesWithIntrinsicBounds(null, icon,
null, null);
textView.setText(info.title);

return convertView;
}

-- 
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: How does one post a question here?

2011-04-10 Thread varinag gold


On Apr 8, 12:17 pm, TreKing treking...@gmail.com wrote:
 On Thu, Apr 7, 2011 at 8:07 PM, Greg v.greg...@gmail.com wrote:
  How do people ask questions here?

 Exactly as you just did.

  Did I use too many words?

 Nope.

  Was my code too complicated?

 Uh-uh.

  What's the secret?

 Patience. Google Groups ain't the fastest sometimes.

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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: How does one post a question here?

2011-04-10 Thread varinag gold
 Patience. Google Groups ain't the fastest sometimes.

I want to say, it is very often google Team will not bother to answer
your questions and not 'sometimes'.  But few other guys might try to
answer within their knowledge.

I'll suggest you, try to be clear and concise in asking question and
before posting search the group for similar question posted earlier.

and good luck.

varinag

-- 
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] Search Widget doesn't appear on 2.1 (Eclair) but it appears on 2.2 (froyo)

2011-04-05 Thread varinag gold
Hi,

I have following code to add a widget on custom home screen . when I
run this code it doesn't show 'Search Widget' on Android 2.1 but same
code show 'Search Widget' on Android 2.2 .

Can any one let me know why it is like this? and how I can add 'Search
Widget' for 2.1 on Eclair as well.


protected void doWidgetPick() {
int appWidgetId = 
this.mAppWidgetHost.allocateAppWidgetId();

Intent pickIntent = new
Intent(AppWidgetManager.ACTION_APPWIDGET_PICK);
pickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
appWidgetId);

/* custom extra that has to be there or else NPE will happen
due to android bug   */
  //this is pulled from the Launcher source, I just changed a
few things as it's just a dummy entry at this point
ArrayListAppWidgetProviderInfo customInfo =
new ArrayListAppWidgetProviderInfo();
AppWidgetProviderInfo info = new AppWidgetProviderInfo();
info.provider = new ComponentName(getPackageName(),
XXX.YYY);
info.label = i love android;
info.icon = R.drawable.icon;
customInfo.add(info);
pickIntent.putParcelableArrayListExtra(
AppWidgetManager.EXTRA_CUSTOM_INFO, customInfo);
   ArrayListBundle customExtras = new ArrayListBundle();
Bundle b = new Bundle();
b.putString(custom_widget, search_widget);
customExtras.add(b);
pickIntent.putParcelableArrayListExtra(
AppWidgetManager.EXTRA_CUSTOM_EXTRAS,
customExtras);
/* that's a lot of lines that are there for no function at
all */


// start the pick activity
startActivityForResult(pickIntent, REQUEST_PICK_APPWIDGET);
//because we've defined ourselves as a singleTask activity,
it will allow this intent to be part of the task

}

Note: I have take above code sample from a web site.


Please suggest if you know any specific information which might be
helpful.

Regards,
varinaq

-- 
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] How to keep half open SlidingDrawer all the time.

2011-04-03 Thread varinag gold
Hi,

I want to keep SlidingDrawer half open all the time . It means
partially a user will be able to see the contents of a drawer and
interact with it (Touch etc) for the open portion. If a user want it
can still slide it further and open it completely.

Thanks  regards,
varinag

-- 
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] Android Application Sold to 100,000 Users

2011-03-20 Thread varinag gold
Hi Guys,

I'd like to know if any one of you (Individual Developer) have crossed
this limit to sell android application to 100,000 users? If so how
long it took to cross this limit .

I plan to put my application in the market soon for all countries.

Kind regards,
varinag

-- 
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: Android Application Sold to 100,000 Users

2011-03-20 Thread varinag gold
How long it took you to reach 1.5 million users?
I am looking data for applications with some price tag such as 1.00
USD or 0.99 USD.
with a market access all over the world (provided selling/purchasing
is permitted in those countries).


On Mar 21, 11:26 am, Maps.Huge.Info (Maps API Guru)
cor...@gmail.com wrote:
 I've had over 1.5 million sold so far... of course the price is an
 unbeatable free.

 -John Coryat Radar Now!

-- 
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: Android Application Sold to 100,000 Users

2011-03-20 Thread varinag gold
 What difference does it make?

Individual Developer may not have that much resources as a company
have.
not only for marketing but also a work done by individual and a Team
might result in a concrete application.
I guess...so

On Mar 21, 11:37 am, TreKing treking...@gmail.com wrote:
 On Sun, Mar 20, 2011 at 10:18 PM, varinag gold varinagg...@gmail.comwrote:

  I'd like to know if any one of you (Individual Developer) have crossed this
  limit to sell android application to 100,000 users? If so how long it took
  to cross this limit .

 What difference does it make?

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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: Android Application Sold to 100,000 Users

2011-03-20 Thread varinag gold
 You realize this is going to vary wildly between different apps and will
 give you absolutely no indication how your own app will perform ... right?

I agree with it but I want to see general trend of Android Market and
users for priced applications.


On Mar 21, 11:48 am, TreKing treking...@gmail.com wrote:
 On Sun, Mar 20, 2011 at 10:43 PM, varinag gold varinagg...@gmail.comwrote:

  I am looking data for applications with some price tag such as 1.00 USD or
  0.99 USD.
  with a market access all over the world (provided selling/purchasing is
  permitted in those countries).

 You realize this is going to vary wildly between different apps and will
 give you absolutely no indication how your own app will perform ... right?

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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: onItemLongClick and onItemClick for a gridview

2011-03-18 Thread varinag gold
Below is the code:

 OnItemClickListener listener1 = new OnItemClickListener() {

  @Override
  public void onItemClick(AdapterView? parent, View
view,
  int position, long id) {
  Log.d(TAG1, OnItemClickListener);

  final String message = OnTouchGrid:Icon No. + id+ is
Touched.;
   Toast.makeText(myCardList.this, message,
Toast.LENGTH_SHORT).show();

  }
  };
  mGrid.setClickable(true);
  mGrid.setOnItemClickListener(listener1);


 OnItemLongClickListener listener2 = new OnItemLongClickListener() {

  @Override
  public boolean onItemLongClick(AdapterView? parent,
View view,
  int position, long id) {
Log.i(TAG1, OnItemLongClickListener);

  final String message = OnLongTouchGrid:Icon No. + id
+ is Touched.;
Toast.makeText(myCardList.this, message,
Toast.LENGTH_SHORT).show();
  return true;
  }
  };
  mGrid.setLongClickable(true);
  mGrid.setOnItemLongClickListener(listener2);


Here is what I tried but found its not working when I implement both
onItemClickListener and onItemClickLongListener then only
onItemClickLongListener works and onItemClickListener doesn't work. If
I just implement onItemClickListener it works but with
onItemClickListener.
Any Idea?




Regards,
varinag























On Mar 17, 12:55 pm, Kostya Vasilyev kmans...@gmail.com wrote:
 There is a long item click listener in grid view - you do know that, right?
 17.03.2011 4:30 пользователь varinag gold varinagg...@gmail.com написал:



  I want to activate a drag and drop function once a user long press the
  GridView items.
  I am not sure if OnCreateContextMenuListener and handle it
  straightforwardly.

  Thanks,
  Varinag

  On Mar 17, 1:20 am, Justin Anderson magouyaw...@gmail.com wrote:
  Are you just wanting to display a context menu with the long press?  If
 so
  you can implement OnCreateContextMenuListener and use
  setOnCreateContextMenuListener()

 http://developer.android.com/reference/android/view/View.html#setOnCr...

  Thanks,
  Justin Anderson
  MagouyaWare Developerhttp://sites.google.com/site/magouyaware

  On Wed, Mar 16, 2011 at 12:41 AM, varinag gold varinagg...@gmail.com
 wrote:

   Any one?

   On Mar 15, 4:38 pm, varinag gold varinagg...@gmail.com wrote:
Hello,

For a gridview I am able to set the onItemClick and it works fine but
I don't know how should I implement  onItemLongClick so that I can
get both type of responses from a gridview items.

I googled but could'n get an understandable code where both have been
implemented properly.

Please respond if you have done it .

Regards,
varinag

   --
   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

  --
  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



-- 
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: onItemLongClick and onItemClick for a gridview

2011-03-18 Thread varinag gold
Hi Fina,

I didn't try GestureDetector as I don't want to implement fling
function as default scrolling in GridView already good enough.
I am not sure if with fling function (onScroll) I can transfer
scrolling to default one.

Thanks,
varinag

On Mar 18, 6:15 pm, Fina Perez fina.pere...@gmail.com wrote:
 Hi!

 I haven't seen your code, but have you tried using a GestureDetector?
 (seehttp://developer.android.com/reference/android/view/GestureDetector.O...)
 Using the method onTouchEvent + a gestureDetector, you can be able of
 detecting a simple click, a long click, or even a fling, so you can
 implement the drag and drop easily.

 On Mar 18, 10:15 am,varinaggold varinagg...@gmail.com wrote:

  Below is the code:

   OnItemClickListener listener1 = new OnItemClickListener() {

                @Override
                public void onItemClick(AdapterView? parent, View
  view,
                        int position, long id) {
                    Log.d(TAG1, OnItemClickListener);

                    final String message = OnTouchGrid:Icon No. + id+ is
  Touched.;
                     Toast.makeText(myCardList.this, message,
  Toast.LENGTH_SHORT).show();

                }
            };
            mGrid.setClickable(true);
            mGrid.setOnItemClickListener(listener1);

   OnItemLongClickListener listener2 = new OnItemLongClickListener() {

                        @Override
                        public boolean onItemLongClick(AdapterView? parent,
  View view,
                                int position, long id) {
                          Log.i(TAG1, OnItemLongClickListener);

                            final String message = OnLongTouchGrid:Icon No. 
  + id
  + is Touched.;
                                  Toast.makeText(myCardList.this, message,
  Toast.LENGTH_SHORT).show();
                            return true;
                        }
                    };
                    mGrid.setLongClickable(true);
                    mGrid.setOnItemLongClickListener(listener2);

  Here is what I tried but found its not working when I implement both
  onItemClickListener and onItemClickLongListener then only
  onItemClickLongListener works and onItemClickListener doesn't work. If
  I just implement onItemClickListener it works but with
  onItemClickListener.
  Any Idea?

  Regards,
 varinag

  On Mar 17, 12:55 pm, Kostya Vasilyev kmans...@gmail.com wrote:

   There is a long item click listener in grid view - you do know that, 
   right?
   17.03.2011 4:30 пользователь varinaggold varinagg...@gmail.com 
   написал:

I want to activate a drag and drop function once a user long press the
GridView items.
I am not sure if OnCreateContextMenuListener and handle it
straightforwardly.

Thanks,
   Varinag

On Mar 17, 1:20 am, Justin Anderson magouyaw...@gmail.com wrote:
Are you just wanting to display a context menu with the long press?  If
   so
you can implement OnCreateContextMenuListener and use
setOnCreateContextMenuListener()

   http://developer.android.com/reference/android/view/View.html#setOnCr...

Thanks,
Justin Anderson
MagouyaWare Developerhttp://sites.google.com/site/magouyaware

On Wed, Mar 16, 2011 at 12:41 AM,varinaggold varinagg...@gmail.com
   wrote:

 Any one?

 On Mar 15, 4:38 pm,varinaggold varinagg...@gmail.com wrote:
  Hello,

  For a gridview I am able to set the onItemClick and it works fine 
  but
  I don't know how should I implement  onItemLongClick so that I 
  can
  get both type of responses from a gridview items.

  I googled but could'n get an understandable code where both have 
  been
  implemented properly.

  Please respond if you have done it .

  Regards,
 varinag

 --
 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

--
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



-- 
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: onItemLongClick and onItemClick for a gridview

2011-03-16 Thread varinag gold

Any one?


On Mar 15, 4:38 pm, varinag gold varinagg...@gmail.com wrote:
 Hello,

 For a gridview I am able to set the onItemClick and it works fine but
 I don't know how should I implement  onItemLongClick so that I can
 get both type of responses from a gridview items.

 I googled but could'n get an understandable code where both have been
 implemented properly.

 Please respond if you have done it .

 Regards,
 varinag

-- 
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: onItemLongClick and onItemClick for a gridview

2011-03-16 Thread varinag gold

I want to activate a drag and drop function once a user long press the
GridView items.
I am not sure if OnCreateContextMenuListener and handle it
straightforwardly.

Thanks,
Varinag

On Mar 17, 1:20 am, Justin Anderson magouyaw...@gmail.com wrote:
 Are you just wanting to display a context menu with the long press?  If so
 you can implement OnCreateContextMenuListener and use
 setOnCreateContextMenuListener()

 http://developer.android.com/reference/android/view/View.html#setOnCr...

 Thanks,
 Justin Anderson
 MagouyaWare Developerhttp://sites.google.com/site/magouyaware

 On Wed, Mar 16, 2011 at 12:41 AM, varinag gold varinagg...@gmail.comwrote:



  Any one?

  On Mar 15, 4:38 pm, varinag gold varinagg...@gmail.com wrote:
   Hello,

   For a gridview I am able to set the onItemClick and it works fine but
   I don't know how should I implement  onItemLongClick so that I can
   get both type of responses from a gridview items.

   I googled but could'n get an understandable code where both have been
   implemented properly.

   Please respond if you have done it .

   Regards,
   varinag

  --
  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

-- 
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] onItemLongClick and onItemClick for a gridview

2011-03-15 Thread varinag gold
Hello,

For a gridview I am able to set the onItemClick and it works fine but
I don't know how should I implement  onItemLongClick so that I can
get both type of responses from a gridview items.

I googled but could'n get an understandable code where both have been
implemented properly.

Please respond if you have done it .

Regards,
varinag

-- 
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