[android-developers] Reliable private number ID in CallLog

2012-04-19 Thread BouHu
Hello. I'm looking for a way to separate CallLog entries from private numbers (i.e Unknown, e.t.c), so i've found in SDK sources file CallerInfo.java which contains: public static final String PRIVATE_NUMBER = -2; Unfortunately seems that several device manufactures change this value, e.g.

[android-developers] Animation across the layouts

2009-08-10 Thread BouHu
Hello. I've met a problem with animation when tried to make a View to perform the animation which should cross 2 layouts, e.g. make a translate animation so a view could move down to the TableRow below. This trick works fine when i try to move a view within a single TableRow but not when i try

[android-developers] Re: Animation across the layouts

2009-08-10 Thread BouHu
I should add that the observed behavior for the animation across the layouts is interrupted movement, while animation within the same layout works fine without any interruptions. On 10 авг, 15:16, BouHu petrov@gmail.com wrote: Hello. I've met a problem with animation when tried to make

[android-developers] Re: How to open or register a new file extension in Android?

2009-07-23 Thread BouHu
Thanks for reply, but Notepad list activity handles its own types, while the thing i'm interested in is related with third party applications like file managers, which are already exist for Android platform, and the main goal to achieve is to find the way to start my activity when specific file

[android-developers] Re: How to open or register a new file extension in Android?

2009-07-23 Thread BouHu
hack...@android.com wrote: It's the exact same thing.  startActivity() is called with a VIEW action whose MIME type is the type of data to be viewed. On Wed, Jul 22, 2009 at 11:44 PM, BouHu petrov@gmail.com wrote: Thanks for reply, but Notepad list activity handles its own types

[android-developers] Re: How to open or register a new file extension in Android?

2009-07-23 Thread BouHu
extensions to MIME types, but there is no support at all for file extensions in the platform itself. On Thu, Jul 23, 2009 at 2:41 AM, BouHu petrov@gmail.com wrote: Exactly, but file manager can't fill type information of the intent because it has no information about custom MIME type

[android-developers] Create custom mime type handler

2009-07-22 Thread BouHu
Hello. I need to create a handler for the files with custom MIME type, e.g. *.my_type. Could anybody please provide me with the detailed tutorial how to archive it? As far as i understand, i need to create a custom content provider to take care about my type object storage, so i can handle the

[android-developers] Re: How to open or register a new file extension in Android?

2009-07-22 Thread BouHu
Hi, i'm stuck with the same issue. Could anybody please provide an example to register MIME type or show another way to catch an VIEW intent for the specific files because the only thing i've seen about it is MimeTypeMap and all the types are hardcoded there. Thanks in advance. On 21 июл,