[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 memory > d

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Kostya Vasilyev
Filip, The system panel does show battery consumed by the WiFi radio and the display as separate entities. I also think if you allow interaction while doing your test, then it's not really clear what you are measuring (at least not clear to me). A clean device (no 3rd party programs, disabl

[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 detect Face and Smile & Face matching in Android?

2011-01-21 Thread Hari Edo
On Jan 21, 1:12 am, Ankit Nigam wrote: > 1. Pick a photo and detects faces and show rectangle, and detect smile > of each face and show smile percentage of each. > 2. Pick a photo from photo library and show faces. if you click faces, > it search all photo library and show list of possible same

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Oh yeah, this approach works fine for all other Android devices. I saw this problem only on Galaxy. -- 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] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Hi, Pardon me, i forgot that i set the fullscreen at runtime, just before showing the application's ui: if (fullscreen) getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); thanks guich -- You received this message because yo

Re: [android-developers] How to play audio file in android ?

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:49 AM, Amit Mangal wrote: > this is giving me error R.raw canot be resolved ? > > Any idea ? > Use Eclipse. Type "R.". See your options? Now type "raw.". See your options? Now select the right one.

Re: [android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread Justin Giles
On Fri, Jan 21, 2011 at 1:28 AM, Zsolt Vasvari wrote: > Does Google send us a W-2? > > No. At least last tax season they didn't. Don't rely on any ad companies to do it either. Basically it's the honor system it appears. Again, talk to a professional you trust and always err on the side of ca

Re: [android-developers] Detecting Search button

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:06 AM, Zsolt Vasvari wrote: > Is there a way to know whether a phone has a Search button or not? > I believe Search is optional and not all phones have it. I would like to > hide my UI elements for invoking search if I could determine the presence of > the hard button.

[android-developers] Problem with adjustPan andadjustResize

2011-01-21 Thread Alok Kulkarni
Hi. i am having an activity in which i am adding controls such as EditText and TextView at runtime in a listiiew. What happens is that for the Edittext the keyboard pops up and the controls at the bottom of the screen are not visible even when i scroll down.So when i add the property android:windo

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread Yahel
Seems like you are missing the fullscreen bit of the syntax : android:theme="@android:style/Theme.NoTitleBar.Fullscreen" Yahel -- 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@googleg

Re: [android-developers] Code please : Youtube video player API for my Android

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 5:23 AM, Cliff Davies wrote: > You could try asking in a bigger font Also, red and all capitals and even less descriptive. These are the traits that people look for when deciding which posts to help with. --

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Filip Havlicek
Kostya, I'm pretty sure it shows up, but this kind of measurement is really not precise - I need time-based values, ie "the application consumed 2,5% of total battery power after 1 hour of running", you can't really take any values from the application list, because they are influenced by other ap

[android-developers] another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Hi, I'm running our application on galaxy tab. My app draws everything on a bitmap and displays it on screen. I always use fullscreen by using the properties: However, on galaxy tab, even if it correctly detects that the screen is 600x1024, the bottom pixels of the bitmap beco

Re: [android-developers] estate properties

2011-01-21 Thread Marcin Orlowski
On 21 January 2011 14:33, Jeyanthi Kumar wrote: > addicted to downloading applications! I wish I was a doctor. So many cool diseases to cure :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

Re: [android-developers] Difference between "Cancel Entire Order" and Refunding in Google Checkout?

2011-01-21 Thread TreKing
On Thu, Jan 20, 2011 at 10:44 PM, Mark Carter wrote: > Does this difference result in a different response from LVL? I doubt anyone here can say for sure, and the gnomes behind the Checkout / Market interaction are not going to answer you. This could be easily tested though with some willing pa

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Exactly... and that's what I'm trying to find out, whether there's anything that can achieve this. I'll need to take a closer look at http://code.google.com/p/vudroid/ to see if that can achieve it. On Jan 21, 1:07 pm, Mark Murphy wrote: > That means you cannot use an external PDF viewer, regar

[android-developers] estate properties

2011-01-21 Thread Jeyanthi Kumar
Hey Android Lovers and those addicted to downloading applications! The votes are in! Which must-have Android app won the Android Developer ... forums.t-mobile.com/t5/ARCHIVED-Market-Applications/Goo... http://123maza.com/75/kings546/ -- You received this message because you are subscribed to the

Re: [android-developers] How to Launch Home Screen Programmatically in Android

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:50 AM, sjor wrote: > Any idea to do this? > Tell the user "Press your Home Key". Or figure out an intent to launch using this: http://developer.android.com/reference/android/content/Intent.html#CATEGORY_HOME

[android-developers] current details in computer

2011-01-21 Thread Jeyanthi Kumar
© Lenovo 2009. All rights reserved. Lenovo, the Lenovo logo, OneKey and VeriFace are trademarks or registered trademarks of Lenovo. Celeron, Celeron Inside, Centrino, Centrino Inside, Core Inside, Intel, Intel Logo, Intel Atom, Intel Atom Inside, Intel Core, Intel Inside, Intel Inside Logo, Intel V

Re: [android-developers] Re: PDF API

2011-01-21 Thread Mark Murphy
On Fri, Jan 21, 2011 at 8:01 AM, Neilz wrote: > Ok, sorry if I've confused things! > > What I ideally want is to be able to view PDFs in my own app, and > control the frame which they sit within. That means you cannot use an external PDF viewer, regardless if one is installed. You have to have on

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Ok, sorry if I've confused things! What I ideally want is to be able to view PDFs in my own app, and control the frame which they sit within. So for example, if I were designing the app for a tablet with a larger screen, I may have a list of PDFs in a narrow frame on the left side of the screen, a

[android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Yahel
Thanks for your answer, I was going to go this way but then I read the wikipedia article about jpeg and I think I understood that sometimes the icc is coded in the pixels and sometimes it's not. Making it quite difficult to work out. I'm thinking of using the capture ability of a webview and the

[android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread DanH
I would imagine it depends on what country you're in. In the US you can deduct those expenses, but you need to fill out some paperwork -- you can't simply report the $900 and call it done. On Jan 20, 2:51 pm, vistaman wrote: > Last year, I made about $1200 selling my apps on Market, including ad

Re: [android-developers] Accessing resources or call a method from another app

2011-01-21 Thread Mark Murphy
Your Java class approach will never work. You can access resources of another app through PackageManager and getResourcesForApplication(). On Fri, Jan 21, 2011 at 1:34 AM, Logan Masten wrote: > Hello, > I am creating an application that will have a lot of data that will not > appeal to everyone,

Re: [android-developers] Re: PDF API

2011-01-21 Thread Mark Murphy
> Though at a quick glance, it looks like it could be a lot of work to > port that into my own app... I was probably looking for something > simpler! I would hope that all devices now come with a standard > PDFreader - certainly all that I've tested on do. I'm confused. First, you suggest that you

[android-developers] how to get the current shown text from a textview embeded in scrollview

2011-01-21 Thread dylan-cool
hi everyone,i have been frustrated by this problem,i am now try to get the current shown text in the textview as a bookmark for future reference.but how can i located to this site,and save a portion of my string?,any one know how,please let me know.thank u in advance. -- You received this

Re: [android-developers] Code please : Youtube video player API for my Android

2011-01-21 Thread Cliff Davies
You could try asking in a bigger font On Fri, Jan 21, 2011 at 10:32 AM, Pradeep M wrote: > > *How can I configure Youtube video player API for my Android application > to play Youtube video* > -- > > ** > > ** > > * * > > -- > You received this message because you are subscribed to the Google

Re: [android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Kostya Vasilyev
I don't have any insight, but here is an idea for an ugly workaround. Inject your own InputStream between the source and the bitmap (by wrapping the source) and skip over the ICC chunks, so that BitmapFactory.decodeStream doesn't see them. -- Kostya 21.01.2011 13:16, Yahel пишет: Up ? Any

Re: [android-developers] Re: PDF API

2011-01-21 Thread Kostya Vasilyev
I don't, sorry. But since you're willing to pay, maybe you could contact the authors of one of these viewers, see if they would provide a commercial license. -- Kostya 21.01.2011 13:04, Neilz пишет: Are there any other open source solutions that you know of? We may be prepared to purchase on

[android-developers] Re: Calling WebView.addJavascriptInterface after onPageFinished

2011-01-21 Thread jamesh
Thanks, Sukumar My understanding is that MyLateJavaObject is not represented in Javascript as an object, so there are limited things we can do with it. From experimentation: e.g. you can do this: var obj = MyJavaObject; obj.method(); But not this: var fn = MyJavaObject.method; method(); It does

[android-developers] extended AbsSpinner class work fine in Eclips+SDK but gets error message when compiled in AOSP

2011-01-21 Thread argongold
Hi, I have extended AbsSpinner class and resulting application runs fine when complied in Eclips + SDK (all version). But when I try to compile it with Android Source Code it gives me error message to implement an abstract method layout(int delta, boolean animate) of class AbsSpinner. but the code

[android-developers] Code please : Youtube video player API for my Android

2011-01-21 Thread Pradeep M
*How can I configure Youtube video player API for my Android application to play Youtube video* -- ** ** * * -- 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 uns

[android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Yahel
Up ? Any insight of any kind from anyone ? Thanks. Yahel -- 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-devel

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Are there any other open source solutions that you know of? We may be prepared to purchase one if it's suitable... On Jan 21, 9:06 am, Kostya Vasilyev wrote: > 21.01.2011 11:42, Neilz пишет: > > > Yes, there's this...http://code.google.com/p/vudroid/ > > > Though at a quick glance, it looks like

[android-developers] cannot play video

2011-01-21 Thread Pradeep M
*how to issue solve : sorry this video cannot be played android* youtube video download Code here: private String path = ""; private VideoView mVideoView; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.videoview);

[android-developers] Re: openGLES different behavior on different devices

2011-01-21 Thread RyanMcNally
One thing to watch out for is that the GL debug flag has no effect if you are using the android.opengl.GLES** classes to make your GL calls. If you're using these classes, you have to check for errors manually, like so: /** * Throws {@link GLException} if {@link GLES11#glGetError

Re: [android-developers] Re: PDF API

2011-01-21 Thread Kostya Vasilyev
21.01.2011 11:42, Neilz пишет: Yes, there's this...http://code.google.com/p/vudroid/ Though at a quick glance, it looks like it could be a lot of work to port that into my own app... I was probably looking for something simpler! I would hope that all devices now come with a standard PDFreader -

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Kostya Vasilyev
Filip, If your application doesn't show in the phone's battery usage list, I believe this means that it uses so little that its usage comes out as zero due to limited measurement precision. In that case, you have nothing to worry about. You can test if this is the case by adding wake locks j

[android-developers] How to Launch Home Screen Programmatically in Android

2011-01-21 Thread sjor
Hi. I want to launch home screen of Android with my application. The main target is to show all of apps to user when he/she presses a specialized key. Actually, the way is not important. Any idea to do this? -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] How to play audio file in android ?

2011-01-21 Thread Amit Mangal
Hi Every one i am trying to play >WAV file in android using below code i have created a raw folder in side my res folder and copy .wav file there but i am not able to play. Any one plays audio in android mobile ? MediaPlayer mp = MediaPlayer.create(context, R.raw.test.wav); mp.start(); this

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Yes, there's this... http://code.google.com/p/vudroid/ Though at a quick glance, it looks like it could be a lot of work to port that into my own app... I was probably looking for something simpler! I would hope that all devices now come with a standard PDFreader - certainly all that I've tested o

[android-developers] Re: AudioManager.VOLUME_CHANGED_ACTION does not resolve

2011-01-21 Thread Pent
> Was this in the SDK and then removed? If you look at the source code > for AudioManager.java, the string is there! Lots of things are defined in the source code but not part of the SDK. > I have found references to this message from email archives in 2009. > > AudioManager.ADJUST_LOWER and ADJU

[android-developers] Detecting Search button

2011-01-21 Thread Zsolt Vasvari
Is there a way to know whether a phone has a Search button or not? I believe Search is optional and not all phones have it. I would like to hide my UI elements for invoking search if I could determine the presence of the hard button. -- You received this message because you are subscribed to th

<    1   2