[android-developers] Intent to open Marketplace to a chosen category

2011-12-16 Thread Nik Bhattacharya
Is there an intent that I can fire that opens the Android Marketplace to a specific category. Specifically, I would like to open directly to the Widgets category. Thanks, Nik -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Jitter in the Gallery widget

2011-05-17 Thread Nik Bhattacharya
Bump...anyone? Where is @Romain Guy when you need him ;-) (believe he wrote Gallery) On May 13, 9:08 am, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: I would like to get rid of the snap animation in the Gallery widget (android.widget.Gallery). If you look closely at the way

[android-developers] Jitter in the Gallery widget

2011-05-13 Thread Nik Bhattacharya
I would like to get rid of the snap animation in the Gallery widget (android.widget.Gallery). If you look closely at the way the gallery animates, it looks like it overshoots the position it is going to come to rest to and then animates back to the position. I would like to get rid of this

[android-developers] Re: motion effect in Rubber Band

2011-02-02 Thread Nik Bhattacharya
Note that 2.3 is going to allow this in a generic manner. Look at the release notes about overscrolling Support for overscroll New support for overscroll in Views and Widgets. In Views, applications can enable/disable overscroll for a given view, set the overscoll mode, control the overscroll

[android-developers] Re: Is there a time limit I must wait between uploading updates to a single app?

2010-10-12 Thread Nik Bhattacharya
If you want to feel some real **positivity** towards the console, try changing a paid app to a free app and then see how the rest of your day goes when you want to change it back to paid. DON'T DO THAT. ONCE FREE ALWAYS FREE. It's in another thread regarding how there should be some sort of

[android-developers] Re: Distribute app to customer for review but no one else

2010-09-23 Thread Nik Bhattacharya
Another way to do it is to have the customer download the App called 'appInstaller' (available on the Market, by Gregory House). It's free, they can search for it by App Installer. It allows for installation of apps via the SD card. Once they have the appInstaller app installed, all the

[android-developers] Re: Quick Contact Window integration like Facebook and Twitter

2010-09-21 Thread Nik Bhattacharya
information from your 3rd party account. On Sep 20, 3:07 pm, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: I am guessing from the lack of response, either nobody is interested or nobody really knows.  Well, I made some progress on figuring out this seemingly undocumented feature. Here

[android-developers] Re: Quick Contact Window integration like Facebook and Twitter

2010-09-20 Thread Nik Bhattacharya
=android.intent.category.DEFAULT/ data android:mimeType=vnd.android.cursor.item/ vnd.samplesyncadapter.profile/ /intent-filter /activity This is how far I have gotten so far. Will update more if there is interest in this thread. On Sep 19, 6:55 pm, Nik Bhattacharya

[android-developers] Re: Quick Contact Window integration like Facebook and Twitter

2010-09-19 Thread Nik Bhattacharya
Bump. Can anyone help on this subject? How do I integrate with the quick contacts menu? On Sep 9, 10:39 am, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: I would like to add an quick contact option to the Quick Contact window that displays for a contact.  How do I get this option

[android-developers] Quick Contact Window integration like Facebook and Twitter

2010-09-09 Thread Nik Bhattacharya
I would like to add an quick contact option to the Quick Contact window that displays for a contact. How do I get this option to show up when the user taps on a contact? I looked at the Facebook and Twitter applications and can see that they have this: Facebook: activity

[android-developers] Re: One day sale made my paid app free, now I cannot revert!

2010-09-08 Thread Nik Bhattacharya
I got bitten by this on my app. I changed from paid to free, and couldn't revert. I had to pull the app from the market unfortunately and repackage and re-list. Not very intuitive from the developer console (there should atleast be a warning that the developers get when going from paid to

[android-developers] Re: Changing button text color in various states (down, disabled etc)

2010-08-13 Thread Nik Bhattacharya
Thanks. ColorStateList did the trick! I would like to vary the text color of a custom button that I am making depending on which state it is in (enabled, disabled, state pressed).  I know how to use an XML file to describe the different drawables that I need for the different states

[android-developers] Changing button text color in various states (down, disabled etc)

2010-08-12 Thread Nik Bhattacharya
I would like to vary the text color of a custom button that I am making depending on which state it is in (enabled, disabled, state pressed). I know how to use an XML file to describe the different drawables that I need for the different states like so: In the drawables folder I create this

[android-developers] Re: Phone Unlocked Notification

2010-06-16 Thread Nik Bhattacharya
after device wakes up (e.g when the keyguard is gone). Anxious to use this : ) On May 24, 12:28 pm, TreKing treking...@gmail.com wrote: On Sat, May 22, 2010 at 8:27 AM, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: I would like to know if there is some sort of system broadcast just

[android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2010-06-15 Thread Nik Bhattacharya
Good work! Any known issues with this droidful? This is totally going to be my full screen Gallery of choice. Thanks! On Jun 15, 6:25 am, droidful austral...@gmail.com wrote: package com.droidful.flinggallery; import android.app.Activity; import android.os.Bundle; import

[android-developers] Re: Gallery elasticity at the ends

2010-06-14 Thread Nik Bhattacharya
Great. The gallery has some problems with the physics elements that make it feel clunky and not delightful especially when it is used in full-screen mode. Unfortunately its not easy to fix in a subclass due to internal unexposed variables in the super class. Will definitely look at your code.

[android-developers] Re: Phone Unlocked Notification

2010-05-24 Thread Nik Bhattacharya
Anybody? Thank you. -- 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

[android-developers] Phone Unlocked Notification

2010-05-22 Thread Nik Bhattacharya
()) { inLockScreen = true; } else { inLockScreen = false; } But really I don't want a polling mechanism. I would like to know if there is some sort of system broadcast just like the Boot Complete broadcast. Thanks! Nik Bhattacharya -- You received this message because you are subscribed

[android-developers] Re: Set the Live Wallpaper programmatically?

2010-05-14 Thread Nik Bhattacharya
In my opinion, the Live Wallpaper is an AWESOME new addition to Android. We can already set the background image via an application. Why not the Live Wallpaper? The most simple usecase is a user sees the live wallpaper on the market, downloads it and then wants to run it. The app associated with

[android-developers] Re: Gallery elasticity at the ends

2010-05-13 Thread Nik Bhattacharya
I added 2 dummy views at the ends of the Gallery then wrote a onItemSelectedListener that essentially listens for items 0 and the last item (the dummy views) and sets the selection to 1 and the last item -1 respectively. This creates the bounce me having to do any animations! I created a full

[android-developers] Set the Live Wallpaper programmatically?

2010-05-13 Thread Nik Bhattacharya
Are there any plans to expose the setLivewallpaperComponent(ComponentName livewallpaperComponent) via the SDK? Right now, its exposed internally but not via the SDK. The permissions seem to be the following which are also not exposed via the SDK: uses-permission

[android-developers] Gallery elasticity at the ends

2010-05-12 Thread Nik Bhattacharya
Hi all, I use the gallery view extensively as a full screen pagination mechanism. It works really well for me without having to create a brand new control. I would like to add a little elasticity at the ends (much like the iPhone homescreen). How could I go about doing this? Any hint as to

[android-developers] Re: Getting contact photos from Facebook only contacts

2010-05-12 Thread Nik Bhattacharya
I can't find the thread, but I read somewhere that the Facebook photos and info are only available to Google apps and are not exposed via the SDK. Can anybody from Google comment on this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Gallery elasticity at the ends

2010-05-12 Thread Nik Bhattacharya
I don't think I understand your suggestion Gyan. I think you are guiding me towards a Layout Animation which is not really what my requirement is. I am trying to signal to the user that they have reached the end of the gallery via the fact that they try to drag past the first or last item and

[android-developers] Live Wallpaper Architecture

2010-04-26 Thread Nik Bhattacharya
Does the Live Wallpaper run in the same process as the Launcher? I looked through the Launcher code and cannot really figure out where the wallpaper layer fits in. I am looking at this with the lens of memory consumption and safeguards that the Launcher has in place against a bloated Live

[android-developers] Pluggable SurfaceView

2010-04-26 Thread Nik Bhattacharya
I would like to create an animated surface view whose contents are pluggable. A picture is worth many words, so I uploaded a quick architecture diagram of what I am trying to achieve. http://twitpic.com/1inr0q/full (hopefully this link goes through otherwise my post won't make much sense).

[android-developers] How to get a reference to the PhoneWindow object

2010-02-23 Thread Nik Bhattacharya
I am trying to get a refrence to the android internal class PhoneWindow (android.policy.PhoneWindow) object from an application. I would like to call a method on it (specifically I would like to call getDecorView on PhoneWindow). How do I do this? Nik Bhattacharya -- You received this message

[android-developers] Popping up a custom Dialog from a Widget (AppWidget)

2010-02-08 Thread Nik Bhattacharya
, intent, 0); remoteViews.setOnClickPendingIntent(viewId, pendingIntent); Thanks, Nik Bhattacharya -- 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

[android-developers] Thread.setDefaultUncaughtExceptionHandler usage

2009-05-20 Thread Nik Bhattacharya
I wanted to get your opinions on the usage of Thread.setDefaultUncaughtException. Here is my scenario: I have an activity that starts up a LocalActivityManager, which in turn starts up several Activities and pulls in their decor views and puts them into current activities view. However, there

[android-developers] Pointers towards monitoring of memory usage in Android

2009-05-20 Thread Nik Bhattacharya
I have an application that allows the user to add many bitmap images onto the screen (think of lots of picture frame widgets). If the applications memory is getting close to reaching its 16MB limit, I would like to stop the user from adding more images to the application. The scenario is much

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Nik Bhattacharya
What if I want to animate a view (lets say a button) in an S shape from the top right of the screen to the bottom left of the screen? Use a FrameLayout and then have a whole bunch of translate animations that I have to hand-code? With a handler and an AbsoluteLayout, I can do this easily wherein

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Nik Bhattacharya
will the xml parser take to even read the file leave alone animating. Not sure I entirely agree with this method for complex animations. Nik On Apr 30, 5:48 pm, Romain Guy romain...@google.com wrote: Just use an AnimationSet containing several TranslateAnimation. On Thu, Apr 30, 2009 at 3:37 PM, Nik

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Nik Bhattacharya
That is a much better answer. I can certainly live with that. Nik On Apr 30, 6:32 pm, Romain Guy romain...@google.com wrote: Then write a custom Animation class, which should not be different than what you are doing already. On Thu, Apr 30, 2009 at 4:31 PM, Nik Bhattacharya

[android-developers] Re: Using Linkify on a TextView and event bubbling

2008-12-18 Thread Nik Bhattacharya
Anybody?? On Dec 9, 8:57 pm, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: Hello, I have the following situation.  I have a LinearLayout that has an onclick listener on it.  In the linear layout, I have a TextView that has some text in it.  I use Linkify on the TextView

[android-developers] Using Linkify on a TextView and event bubbling

2008-12-09 Thread Nik Bhattacharya
Hello, I have the following situation. I have a LinearLayout that has an onclick listener on it. In the linear layout, I have a TextView that has some text in it. I use Linkify on the TextView with the following intention: If there is a linkable item (I used Linkify.ALL) on the TextView, I

[android-developers] Re: Using Linkify on a TextView and event bubbling

2008-12-09 Thread Nik Bhattacharya
Note the the line: copyTo.setClickable(false) was something I had inserted while testing. Taking it out still makes the code exhibit the same behavior. Nik On Dec 9, 8:57 pm, Nik Bhattacharya [EMAIL PROTECTED] wrote: Hello, I have the following situation.  I have a LinearLayout that has

[android-developers] Licensing question pertaining to the dex compilation process

2008-11-20 Thread Nik Bhattacharya
I have a requirement that any 3rd party libraries that I use in my Android project should be dynamically linked from our source. I have put third party jars into a lib directory and use those jars on the classpath for my project. However, with the dex compilation process, all of the classes are

[android-developers] Re: ListView setTextFilterEnabled showing semi transparent overlay

2008-10-03 Thread Nik Bhattacharya
attribute to set on list, showPopup() is private and dismissPopup() is package private. I would like to turn this off and currently there is no way. Opening an API request to make this configurable. http://code.google.com/p/android/issues/detail?id=936 On Oct 2, 3:20 pm, Nik Bhattacharya [EMAIL

[android-developers] Multiple listeners needed on a subclass of EditText

2008-09-19 Thread Nik Bhattacharya
instead of a setListener. Thanks, Nik Bhattacharya Senior Technologist frog design --~--~-~--~~~---~--~~ 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