Re: [android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-26 Thread Christopher Van Kirk
It's surprising that you're surprised. On 11/27/2011 9:37 AM, sblantipodi wrote: Something important don't work as expected and google is in silence. On Nov 23, 11:15 pm, sblantipodi wrote: I'm not talking about USB Mass Storage but about the possibility to connect an usb stick or mouse to th

Re: [android-developers] Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-26 Thread Christopher Van Kirk
Once again, where's the evidence of this? The OP implied that Google has stipulated games will not make its front view without an ESRB rating, yet I find no evidence of a press release that says this. On 11/27/2011 6:50 AM, Jim Graham wrote: On Sat, Nov 26, 2011 at 03:57:38PM -0500, Kristopher

[android-developers] Details on the "load apk and start the app" process?

2011-11-26 Thread B Lyon
I am trying to follow the process by which the system takes an apk and fires up the associated app. Specifically, I'm trying to find the framework code where it reads the app manifest and acts on the user-requested permissions and "instrumentation" tag (if it is there). I've can't seem to find th

RE: [android-developers] good videos

2011-11-26 Thread Tommy Hartz
This works pretty good. http://code.google.com/p/androidscreencast/ -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of bob Sent: Saturday, November 26, 2011 9:58 PM To: Android Developers Subject: [android-developers] good

Re: [android-developers] good videos

2011-11-26 Thread Miguel Morales
I believe tablets like the Xoom have HDMI out. Use that. On Sat, Nov 26, 2011 at 6:58 PM, bob wrote: > What can I use to make good videos of my Android games? > > I tried filming my tablet, but those videos are kind of low quality. > > -- > You received this message because you are subscribed t

[android-developers] good videos

2011-11-26 Thread bob
What can I use to make good videos of my Android games? I tried filming my tablet, but those videos are kind of low quality. -- 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@googlegrou

[android-developers] Re: Where do we use uses-feature android:required="false"?

2011-11-26 Thread limtc
What I mean is that since the assumption is both features are true, to switch it off probably need to set both to false: I believe many developers will not declare the camera.autofucus to false. On 11月26日, 下午11时14分, Mark Murphy wrote: > On Sat, Nov 26, 2011 at 9:12 AM, limtc wrote: > > I am

[android-developers] Re: Where do we use uses-feature android:required="false"?

2011-11-26 Thread limtc
Yes, I know. Since the default is true, that means I need to declare to declare autofocus to false too. On 11月26日, 下午11时14分, Mark Murphy wrote: > On Sat, Nov 26, 2011 at 9:12 AM, limtc wrote: > > I am not too sure whether I need to declare or not? Since autofocus is > > often unnecessary for man

[android-developers] any link to browse ICS code online ?

2011-11-26 Thread Dav
any link to browse ICS code online ? -- 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...@googl

[android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-26 Thread sblantipodi
Something important don't work as expected and google is in silence. On Nov 23, 11:15 pm, sblantipodi wrote: > I'm not talking about USB Mass Storage but about the possibility to > connect an usb stick or mouse > to the phone. > This is possible since a modder enabled a kernel options and now it

[android-developers] AudioService grabs audio focus on ICS when I do AudioManager#setMode(MODE_IN_COMMUNICATION)

2011-11-26 Thread Shri
My app does requestAudioFocus(STREAM_VOICE_CALL) and then calls AudioManager#setMode(MODE_IN_COMMUNICATION). The log shows that this immediately causes the audio focus to be lost to AudioService.IN_VOICE_COMM_FOCUS_ID ("AudioFocus_For_Phone_Ring_And_Calls"): I/AudioService(23967): AudioFocus req

Re: [android-developers] hardware acceleration

2011-11-26 Thread New Developer
Thanks that is good to know, then what causes the err=-19 and the image not to show , while the audio plays. It is a std .3gp file recorded using the camera. and plays fine with Gallery All help has been greatly appreciated On 11/26/2011 06:35 PM, Romain Guy wrote: VideoView should not be

Re: [android-developers] hardware acceleration

2011-11-26 Thread Romain Guy
VideoView should not be affected by hardware acceleration since its rendering happens in a different window. On Sat, Nov 26, 2011 at 2:45 PM, New Developer wrote: > Does hardware acceleration effect in any way VideoView when displaying > a video ? > > Thinking back and seeing that onCreate r

Re: [android-developers] Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-26 Thread Jim Graham
On Sat, Nov 26, 2011 at 03:57:38PM -0500, Kristopher Micinski wrote: > ESRB? That huge organization that rates video games and puts the > little "T," "E," and occasionally "M" stickers on the games? Oh, those ratings. Ok, got it now > but it is scary if it is indeed [true] that the market

Re: [android-developers] hardware acceleration

2011-11-26 Thread New Developer
Does hardware acceleration effect in any way VideoView when displaying a video ? Thinking back and seeing that onCreate reports hardwareAcceleration as false, because this is too early and in fact it is true when checked after onCreate. perhaps all along I have had hardware acceleration, s

Re: [android-developers] hardware acceleration

2011-11-26 Thread New Developer
Ok then perhaps I'm barking up the wrong tree looking at hardware acceleration LayoutInflater inflater = (LayoutInflater) getApplicationContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE); view = inflater.inflate(R.layout.image_viewer, screen); Fram

Re: [android-developers] screenshots

2011-11-26 Thread Mark Murphy
It's possible it's a bug in the device. Some devices do not send appropriate screenshot data to DDMS. I've had a couple that did that, notably the Qualcomm MDP. On Sat, Nov 26, 2011 at 2:32 PM, bob wrote: > Anyone know why my screenshots come out all jacked up on my Vizio tab? > > Here's an examp

Re: [android-developers] hardware acceleration

2011-11-26 Thread Romain Guy
You are doing the check from onCreate(), it's too early. At this point, the view hierarchy may have not enabled hardware acceleration yet. On Sat, Nov 26, 2011 at 12:31 PM, New Developer wrote: > Thanks > I would tend to agree, sadly I already have the > android:hardwareAccelerated="true" set

Re: [android-developers] Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-26 Thread Kristopher Micinski
On Sat, Nov 26, 2011 at 3:20 PM, Jim Graham wrote: > On Sun, Nov 27, 2011 at 01:58:57AM +0800, Christopher Van Kirk wrote: > > On 11/26/2011 11:09 PM, Binxalot wrote: > >> How are small developers to pay this fee upfront for the privilege of > >> having their games appear in the marketplace? > >

Re: [android-developers] hardware acceleration

2011-11-26 Thread New Developer
Thanks I would tend to agree, sadly I already have the android:hardwareAccelerated="true" set in manifest android:hardwareAccelerated="true" android:label="@string/app_name" android:debuggable="true" android:theme="@android:style/Theme.NoTitleBar"> I also have it on both Activities androi

Re: [android-developers] Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-26 Thread Jim Graham
On Sun, Nov 27, 2011 at 01:58:57AM +0800, Christopher Van Kirk wrote: > On 11/26/2011 11:09 PM, Binxalot wrote: >> How are small developers to pay this fee upfront for the privilege of >> having their games appear in the marketplace? > > Can you please provide a link to the press release that has c

[android-developers] Re: Android paid technical support

2011-11-26 Thread jtoolsdev
For users Google could do a lot better job about being in the face of new users to understand how the Market works. I occasionally get those "if I get a new phone can I move your app on it" emails which are NOT for the developer to actually answer. I point them to the Market Help and at the

Re: [android-developers] hardware acceleration

2011-11-26 Thread Romain Guy
Try setting the flag before calling setContentView(). You should also not have to do it this way. The best way to enable hardware acceleration is to set android:hardwareAccelerated="true" on the tag of your manifest. You should not do it manually one very activity and/or window unless you have ver

[android-developers] screenshots

2011-11-26 Thread bob
Anyone know why my screenshots come out all jacked up on my Vizio tab? Here's an example: http://i1190.photobucket.com/albums/z449/m75214/vizio-1.png -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

Re: [android-developers] hardware acceleration

2011-11-26 Thread New Developer
my mistake I'm meaning the Activity that the intent calls/starts public class display extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); fName = CURRENT_IMAGE; setContentView(R.layout.image_viewer);

Re: [android-developers] Re: Greystripe

2011-11-26 Thread Raghav Sood
I don't think so. On Sun, Nov 27, 2011 at 12:44 AM, bob wrote: > > > On Nov 25, 9:55 pm, Raghav Sood > wrote: > > TreKing is right, this shouldn't be on this list. > > > > However, I'll try to help. It will take close to 24 hours for the ID to > be > > of any use. And even after that, Greystrip

[android-developers] Re: Greystripe

2011-11-26 Thread bob
On Nov 25, 9:55 pm, Raghav Sood wrote: > TreKing is right, this shouldn't be on this list. > > However, I'll try to help. It will take close to 24 hours for the ID to be > of any use. And even after that, Greystripe will manually review every app > before they pay you for any of the ads displaye

Re: [android-developers] hardware acceleration

2011-11-26 Thread Kristopher Micinski
What would it even mean to hardware accelerate an intent? What? I'm confused. The activity the intent targets uses hardware accelerated graphics? kris On Sat, Nov 26, 2011 at 2:04 PM, Mark Murphy wrote: > There is no such thing as "an intent that is Also hardware accelerated". > > On Sat, N

Re: [android-developers] hardware acceleration

2011-11-26 Thread Mark Murphy
There is no such thing as "an intent  that  is Also hardware accelerated". On Sat, Nov 26, 2011 at 1:57 PM, New Developer wrote: > Using Intent > >     Intent intent = new Intent(); >     intent.setClass(getApplicationContext(),  display.class); >     startActivity(intent); > > The activity is ha

Re: [android-developers] hardware acceleration

2011-11-26 Thread New Developer
Using Intent Intent intent = new Intent(); intent.setClass(getApplicationContext(), display.class); startActivity(intent); The activity is hardware accelerated. When I call this intent the layout is NOT hardware accelerated How can I create an intent that is Also hardware ac

Re: [android-developers] Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-26 Thread Christopher Van Kirk
Can you please provide a link to the press release that has caused your apparent panic? On 11/26/2011 11:09 PM, Binxalot wrote: How are small developers to pay this fee upfront for the privilege of having their games appear in the marketplace? It's already clear Google only wants AAA titles upf

Re: [android-developers] Re: Where do we use uses-feature android:required="false"?

2011-11-26 Thread Mark Murphy
On Sat, Nov 26, 2011 at 9:12 AM, limtc wrote: > I am not too sure whether I need to declare or not? Since autofocus is > often unnecessary for many apps. > > android:required="false" /> AFAIK, if you do not require a camera, you do not require an autofocus camera. -- Mark Murphy (a Commons Guy

[android-developers] Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-26 Thread Binxalot
How are small developers to pay this fee upfront for the privilege of having their games appear in the marketplace? It's already clear Google only wants AAA titles upfront and center on the marketplace splash page which was bound to happen, but can the platform really support itself with only a han

[android-developers] Re: Where do we use uses-feature android:required="false"?

2011-11-26 Thread limtc
I see. Thanks for the explanation! So if I don't declare it, based on the table, it will assume I uses features: android.hardware.camera and android.hardware.camera.autofocus So in order for me to show the app in Android Market that does not support camera (like low end camera-less tablets), I w

Re: [android-developers] How to use PendingIntent to open existing activity and not a new one

2011-11-26 Thread Mark Murphy
On Sat, Nov 26, 2011 at 8:07 AM, KK wrote: > Thank you very much Mark. I used both the flags in "OR" and it worked. I > should have tried it as per your last hint. Thanks again. No problem. Eventually, I'm going to spend the time to try a zillion combinations of Intent flags, activity attributes,

Re: [android-developers] How to use PendingIntent to open existing activity and not a new one

2011-11-26 Thread KK
Thank you very much Mark. I used both the flags in "OR" and it worked. I should have tried it as per your last hint. Thanks again. Regards, KK On Sat, Nov 26, 2011 at 6:12 PM, Mark Murphy wrote: > The only times I've done this with Notifications, I have used > FLAG_ACTIVITY_SINGLE_TOP and FLAG_A

Re: [android-developers] Re: Where do we use uses-feature android:required="false"?

2011-11-26 Thread Mark Murphy
On Sat, Nov 26, 2011 at 7:24 AM, limtc wrote: > Oh, so is this summary correct? Assuming the app requested a CAMERA > permission. > > 1) Do not declare > - Android Market will NOT show app to devices without camera. Correct. Ideally, you'd still put in with required=true for documentation purpo

Re: [android-developers] How to use PendingIntent to open existing activity and not a new one

2011-11-26 Thread Mark Murphy
The only times I've done this with Notifications, I have used FLAG_ACTIVITY_SINGLE_TOP and FLAG_ACTIVITY_CLEAR_TOP. I assumed FLAG_ACTIVITY_REORDER_TO_FRONT would work as well, but apparently I am mistaken. On Sat, Nov 26, 2011 at 7:29 AM, KK wrote: > Thanks for the hints. I'm trying to use the F

Re: [android-developers] How to use PendingIntent to open existing activity and not a new one

2011-11-26 Thread KK
Thanks for the hints. I'm trying to use the FLAG_ACTIVITY_REORDER_TO_FRONT flag but the behavior remains as earlier. After the activity starts, I press "Menu" to go to home and then pull down the "Notification list" click on the current one (for my demopendingintent activity) and it brings me a new

[android-developers] Re: Where do we use uses-feature android:required="false"?

2011-11-26 Thread limtc
Oh, so is this summary correct? Assuming the app requested a CAMERA permission. 1) Do not declare - Android Market will NOT show app to devices without camera. 2) Use - Android Market will show the app to all devices with or without camera. 3) Use - Android Market will need the camera feature

Re: [android-developers] How to use PendingIntent to open existing activity and not a new one

2011-11-26 Thread Mark Murphy
Add either FLAG_ACTIVITY_REORDER_TO_FRONT or the combination of FLAG_ACTIVITY_SINGLE_TOP and FLAG_ACTIVITY_CLEAR_TOP as flags to your Intent. The latter finishes all other activities that might be on your back stack; the former simply brings any existing copy of the activity back to the foreground.

[android-developers] removal and shifting

2011-11-26 Thread unionmoversuae
Welcome Enjoy world-class moving services at local rates! Union Mover Dubai is the moving company created to make your moving experience a stress free one. Our focus is on top notch customer service, and fast, professional moving services. We aim to offer our customers the quality of service they

Re: [android-developers] Where do we use uses-feature android:required="false"?

2011-11-26 Thread Jovish P
if an application requests the CAMERA permission but does not declare a element for android.hardware.camera, Android Market considers that the application: http://developer.android.com/guide/topics/manifest/uses-feature-element.htmlrequires a camera and should not be shown to users whose devices d

Re: [android-developers] Re: How to call the activity class

2011-11-26 Thread Kristopher Micinski
Ah yes, it does sound like this is a phonegap specific question, which means it doesn't belong on this list. (Actually, it might belong on the list if there were something sdk related, but it sounds like what you want to do is start an activity, right? You know how to start an activity regularly

[android-developers] How to use PendingIntent to open existing activity and not a new one

2011-11-26 Thread KK
hi All, I'm trying to use Notification manager and Pending Intent so that whenever the user clicks the notification the currently running activity's UI is shown. However in the code I'm using, as shown below opens up a new instance of the app instead of leading the user to the currently running one

[android-developers] [help]my app is moving while navigating one activity to another activity

2011-11-26 Thread chandra sekhar
Hi All, This is Chandrasekhar. actually iam facing one problem in my app that is " my app is moving while navigating one activity to another activity even though i had use the following line in onClick listener intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); finish(); pl help me Thanks in

Re: [android-developers] Trying to exit app( using finish() ) gives ANR on device but not on emulator

2011-11-26 Thread skink
KK wrote: > hi Pskink, > That actually worked, I moved the timer.cancel() before releasing the > mediaplayer. But what is the logical reasoning behind this, would you mind > explaining in a word or two? or may be point me to any web reference that > explains the thing. Thanks in advance. > > Rega

Re: [android-developers] Trying to exit app( using finish() ) gives ANR on device but not on emulator

2011-11-26 Thread skink
KK wrote: > hi Pskink, > That actually worked, I moved the timer.cancel() before releasing the > mediaplayer. But what is the logical reasoning behind this, would you mind > explaining in a word or two? or may be point me to any web reference that > explains the thing. Thanks in advance. > > Rega

Re: [android-developers] Help please

2011-11-26 Thread sourabh sahu
Thanks:) On Sat, Nov 26, 2011 at 2:37 PM, Raghav Sood wrote: > Seeing as you only want the user to click on the product, I'd image you > could overlay and invisible view onto that part of the screen and listen > for touch events on that. If you don't know how to do that, I suggest that > you s

Re: [android-developers] Help please

2011-11-26 Thread Raghav Sood
Seeing as you only want the user to click on the product, I'd image you could overlay and invisible view onto that part of the screen and listen for touch events on that. If you don't know how to do that, I suggest that you search the web. On Sat, Nov 26, 2011 at 2:30 PM, sourabh sahu wrote: > I

Re: [android-developers] Help please

2011-11-26 Thread sourabh sahu
I am talking about a video, How to put a click event on a video. On Sat, Nov 26, 2011 at 2:25 PM, Raghav Sood wrote: > I just told you. You need to know at what time your product comes onto the > screen, what it is and where on the screen it will be displayed. You can > then watch for a click on

Re: [android-developers] Trying to exit app( using finish() ) gives ANR on device but not on emulator

2011-11-26 Thread skink
KK wrote: > hi Pskink, > That actually worked, I moved the timer.cancel() before releasing the > mediaplayer. But what is the logical reasoning behind this, would you mind > explaining in a word or two? or may be point me to any web reference that > explains the thing. Thanks in advance. > > Rega

Re: [android-developers] Help please

2011-11-26 Thread Raghav Sood
I just told you. You need to know at what time your product comes onto the screen, what it is and where on the screen it will be displayed. You can then watch for a click on that part of the screen at the time it is supposed to come. Then do whatever you want with the click. On Sat, Nov 26, 2011

Re: [android-developers] Help please

2011-11-26 Thread sourabh sahu
MY question is how to achieve this kind of functionality. On Sat, Nov 26, 2011 at 12:37 PM, Raghav Sood < raghavs...@androidactivist.org> wrote: > If you know which product, when it will come, and where on the screen it > will be displayed, you could probably manage it. Get back to us when you >

Re: [android-developers] Trying to exit app( using finish() ) gives ANR on device but not on emulator

2011-11-26 Thread KK
hi Pskink, That actually worked, I moved the timer.cancel() before releasing the mediaplayer. But what is the logical reasoning behind this, would you mind explaining in a word or two? or may be point me to any web reference that explains the thing. Thanks in advance. Regards, KK On Sat, Nov 26,

Re: [android-developers] Trying to exit app( using finish() ) gives ANR on device but not on emulator

2011-11-26 Thread skink
KK wrote: > hi, > Seems the logcat > > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): FATAL EXCEPTION: Timer-0 > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): > java.lang.IllegalStateException > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): at > android.media.MediaPlayer.getCurrentPos

Re: [android-developers] Trying to exit app( using finish() ) gives ANR on device but not on emulator

2011-11-26 Thread KK
hi, Seems the logcat 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): FATAL EXCEPTION: Timer-0 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): java.lang.IllegalStateException 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): at android.media.MediaPlayer.getCurrentPosition(Native Method) 11-26