[android-developers] Re: getExternalStorageDirectory() on NEXUS S

2011-01-29 Thread Tabman
"It's forced into the built-in space that will get picked up by the Android media scanner when it indexes EXTERNAL_CONTENT_URI." btw I don't think the media scanner picks it up. The media scanner would need to be explicitly told to look at '/mnt/emmc' On Jan 4, 12:

[android-developers] push audio to caller on android

2011-01-24 Thread Tabman
Is it possible in android to push an audio to the listener (caller) at the other end without using phone's speaker ? -- 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

[android-developers] Re: getThumbnails through droid incredible phoneStorage mount

2011-01-21 Thread Tabman
What I mean to ask is that I think the getThumbnail() looks for media in the wrong location and somehow it should be made aware of the correct URI perhaps someway through ContentResolver. On Jan 21, 4:43 pm, Tabman wrote: > I used the following method to access droid incredible onboard mem

[android-developers] getThumbnails through droid incredible phoneStorage mount

2011-01-21 Thread Tabman
I used the following method to access droid incredible onboard memory data: photosCursor = mActivity.managedQuery(MediaStore.Images.Media.getContentUri("phoneStorage"), photoColumns, null, null, MediaStore.Images.Media.DATE_MODIFIED + " DESC"); How will it effect the following methods, right now

[android-developers] Re: How to monitor android application memory leak? is there tools do it?

2011-01-10 Thread Tabman
http://www.curious-creature.org/2009/02/07/track-memory-allocations-on-android/ http://www.curious-creature.org/2008/12/18/avoid-memory-leaks-on-android/ On Jan 10, 10:36 am, water boiled wrote: > I want to find my android application whether has memory leak  . and > some tool help me do i --

[android-developers] partial wakelock for 3G in Android

2011-01-08 Thread Tabman
Hello, Anyone from android development team confirm the answer to this: http://stackoverflow.com/questions/4628058/partial-wakelock-for-3g-in-android/ Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread Tabman
I think you can extend the InputStream class and override its read method and inside read you can cancel/stop the read loop operation whenever you want to. Here is the source for InputStream.java http://www.docjar.com/html/api/java/io/InputStream.java.html Let me know if this solves your problem

[android-developers] Re: Trying to get my head around multi screen densities. With more info

2011-01-07 Thread Tabman
Not exactly the answer to your question but eventually I think you will find this helpful to test that you got what you are intending from your application: http://2cupsoftech.wordpress.com/2011/01/01/checking-your-app-against-android-market-technical-filters/ On Jan 6, 1:22 pm, Damien Cooke wro

[android-developers] Re: Submitting one application with different apk files for different screen sizes

2011-01-04 Thread Tabman
Why do you wanna such a thing ? Have you read the following: http://developer.android.com/guide/practices/screens_support.html On Dec 30 2010, 3:31 am, "edm...@gosub60.com" wrote: > Hi, > > We want to submit one application but separate the different sizes > with separate apk files. How can we d

[android-developers] Sensitivity of SCROLL_STATE_FLING event

2011-01-04 Thread Tabman
Hello, I'm using AbsListView.onScrollListener, is there a way to decrease the sensitivity of when SCROLL_STATE_FLING is detected, I feel even on small scroll it fires the SCROLL_STATE_FLING event Thanks -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: getExternalStorageDirectory() on NEXUS S

2011-01-04 Thread Tabman
Thanks Doug, Your reply is very helpful, you also replied to another post of mine so thanks again :) On Dec 20 2010, 1:51 am, Doug wrote: > On Dec 19, 2:14 pm, Tabman wrote: > > > I have a question related to this. How many phones are out there with this > > type of be

[android-developers] Does SoftReference calls .recyle() on a Bitmap ?

2011-01-02 Thread Tabman
Hi, If I store bitmaps in a hashmap using SoftReference, will SoftReference call .recycle() on the Bitmap ? And if it doesn't then what would be a way to clear the bitmap properly from memory under the given situation ? thanks -- You received this message because you are subscribed to the Googl

[android-developers] Drawable advantage over bitmap for memory in android

2011-01-01 Thread Tabman
This question is linked with the answers in the following question: http://stackoverflow.com/questions/4259851/error-removing-bitmapsandroid/4260269#4260269 Is there any advantage of using Drawable over Bitmap in Android in terms of memory de-allocation ? I was looking at Romain Guy project Shel

[android-developers] Phones with Large Internal Storage & EXTERNAL_CONTENT_URI

2010-12-25 Thread Tabman
Hi, Has anyone development experience with any of the following large internal storage phones: Nexus S http://www.google.com/phone/detail/nexus-s Droid 2 Global http://www.google.com/phone/detail/droid-2-global-by-motorola Samsung Captivate http://www.google.com/phone/detail/samsung-captivate-a-

Re: [android-developers] getExternalStorageDirectory() on NEXUS S

2010-12-19 Thread Tabman
In fact to add to that is there a link between EXTERNAL_CONTENT_URI & .getExternalStorageDirectory() as I use attributes from MediaStore (DATE_MODIFIED etc.) how could I use those with .getExternalStorageDirectory(). Is getContentUri

Re: [android-developers] getExternalStorageDirectory() on NEXUS S

2010-12-19 Thread Tabman
Hi, I have a question related to this. How many phones are out there with this type of behavior ? I want to access Camera Photos/Videos on a phone and for that I've used EXTERNAL_CONTENT_URI but it seems that approach would fail on a phone like Droid Incredible. How should I design my app such

[android-developers] How to access internal storage on htc incredible

2010-09-20 Thread Tabman
Hello, How do I access photos/videos on htc incredible ? Will INTERNAL_CONTENT_URI work? I don't have the phone to actually test it. I designed my whole app around EXTERNAL_CONTENT_URI and just today came to know about htc incredible internal storage issues. Has anyone address this problem ? Than

[android-developers] Re: testing android app for different devices

2010-09-19 Thread Tabman
Do Google searches in these groups and elsewhere to > determine what the fragmentation is like for the particular Android > features your app requires. > > On Sep 18, 2:24 pm, Tabman wrote: > > > > > hello > > > my app works fine on samsung galaxy and nexus one. It is

[android-developers] testing android app for different devices

2010-09-18 Thread Tabman
hello my app works fine on samsung galaxy and nexus one. It is giving problem on htc incredible. How should I test my application for various phones ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: when video duration or date_modified attribute available through content provider

2010-08-09 Thread Tabman
;file://" + Environment.getExternalStorageDirectory(; On Aug 8, 6:48 pm, Tabman wrote: > I'm having some trouble accessing attributes like DURATION and > DATE_MODIFIED of video and image. My app access these attributes for > both type of data but if I take a picture or shoot a video the

[android-developers] when video duration or date_modified attribute available through content provider

2010-08-08 Thread Tabman
I'm having some trouble accessing attributes like DURATION and DATE_MODIFIED of video and image. My app access these attributes for both type of data but if I take a picture or shoot a video the related attributes are not immediately available through content provider e.g. for DURATION for that spe

[android-developers] Re: ListView with lazy loading of images

2010-07-22 Thread Tabman
Hi Davide, see the logic for calling two functions in the following code (private void updateBookCovers() & private void postUpdateBookCovers() ) It implements lazy loading of images. The idea is to load images when scrolling stops. http://code.google.com/p/shelves/source/browse/trunk/Shelves/src

[android-developers] MediaStore.Images.Thumbnails sort order

2010-07-20 Thread Tabman
Hello, I want to change the sort order for the query given to MediaStore.Images.Thumbnails Is that possible ? I want it sorted by DATE_MODIFIED which is a column available in MediaStore.Images.Media but not in MediaStore.Images.Thumbnails How can I achieve this ? -- You received this message bec

[android-developers] Re: How to obtain ID of an image by the id of the thumbnails?

2010-07-15 Thread Tabman
IMAGE_ID of the Thumbnail record is the id of the original image. On Jun 25, 2:27 pm, ReyLith wrote: > Hi! > > I'm developing animageeditor for android. In the main activity, I > get to show all images by viewing thethumbnailsto make the process > faster. The problem it's that I need to process t

[android-developers] GridView zoom in/out

2010-06-19 Thread Tabman
I have a GridView that displays thumbnails of images, I want to change the thumbnail size (zoom in/out) during runtime, what is the best way to achieve this ? I changed the columnWidth of gridView during runtime but after that I scroll the gridview and I get memoryoutoferror exception. Thanks --

[android-developers] accessing phone images through content provider

2010-05-22 Thread Tabman
Hi, I need a sample code or tutorial for accessing phone images/media through content provider ? I know the following, what next ? ContentResolver cr = mContext.getContentResolver(); Cursor cursor = cr.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, null, null, null, null); -- You receiv

[android-developers] Picassa Like Pictures Album Zoom

2010-05-19 Thread Tabman
Hi, I want to implement a custom UI component that acts in a similar manner to picassa web albums for zooming in-out of pictures. If you open an album in picassa there is a horizontal slider that is used to increase decrease zoom of the thumbnails. So I want to make a similar UI control for Androi