[android-developers] Behaviour of EditText.

2012-12-20 Thread monty
Hello, I have lot of edittext in my application some of contains (Numberic,Text,Date) data only . but i want to use setInputType(InputType.TYPE_TEXT_VARIATION_FILTER); to avoid add dictonary. so i add this code in my EditTextClass extends EditText { public EditTextClass() { init(); }

[android-developers] Re: OnDragListener ACTION_DRAG_LOCATION called only a few times

2012-12-20 Thread Grzegorz Patynek
then you can try to manage touching and dragging from entire screen, remembering positions of elements - it should work faster. W dniu środa, 19 grudnia 2012 10:49:32 UTC+1 użytkownik Frank napisał: 15 right now. but I also want to be able to handle up to 200 items in the end. Op woensdag

[android-developers] Detect when activity destruction come from rotation

2012-12-20 Thread Paolo Mancini
Hi, how can I detect when an activity destruction come from a rotation instead a normal application end? Thanks -- 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: Detect when activity destruction come from rotation

2012-12-20 Thread skink
Paolo Mancini wrote: Hi, how can I detect when an activity destruction come from a rotation instead a normal application end? Thanks isFinishing()? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Android example code and Apache 2.0 licence

2012-12-20 Thread saladbowl
Hello there, If I copy a few lines here and there (but not entire functions/files) from example code on the Android Developers site and the samples, modify them and use them in my commercial project, I assume as they are licensed under Apache 3.0 that my work will be a derivative I need to

[android-developers] Emulator support for multi -display

2012-12-20 Thread anat cooperman
Hi I would like to test the new 4.2 Presentation API, which supports multi-display. for this aim i want to simulate a connection of an extra display to the emulator. is this supported by the emulator?, can i configure some virtual display or utilize an additional display connected to my dev

Re: [android-developers] Re: Send bug report from 4.1

2012-12-20 Thread Latimerius
I introduced logging into an app-private file a while ago for different reasons (partly because the system log on some devices is spammed beyond belief) and I'm happy for having done that. Access to the private log is uniform across platform versions, everything's fully automatic (no need to ask

Re: [android-developers] Re: Further Mediacodec API issues in Jellybean

2012-12-20 Thread Peter Kolarov
I have heard that someone supposedly got it to work but may be it was only for Nexus 7 - I noticed that on Samsung Jellybean devices there is not even the AOSP videoeditor included which uses similar API on native level May be with 4.2 Miracast implementation the manufacturers will

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-20 Thread Goncalo Oliveira
Robert, Any updates on this? Cheers On 18 December 2012 10:06, Goncalo Oliveira gonc...@minkan.net wrote: consider opening up the addre -- Gonçalo Oliveira -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2012-12-20 Thread kaciula
I have a similar issue. My users on Samsung Galaxy S 3 report that after reboot, my app's alarms don't work anymore. On my nexus one and other tested devices, everything works OK after reboot. What would be the solution for this? On Monday, February 7, 2011 12:18:52 AM UTC+2, Kostya Vasilyev

Re: [android-developers] Re: How to delete app in new console

2012-12-20 Thread Keith Wiley
I don't think we're having the same conversation here. I'm not talking about anything on the phone at all. I'm talking about the web console Android developers use to manage their apps in Google Play. I'm honestly surprised no one else has chimed in on this discussion. It seems like a

Re: [android-developers] Re: RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2012-12-20 Thread Piren
add this to your boot receiver filter action android:name=android.intent.action.QUICKBOOT_POWERON/ On Thursday, December 20, 2012 2:43:15 PM UTC+2, kaciula wrote: I have a similar issue. My users on Samsung Galaxy S 3 report that after reboot, my app's alarms don't work anymore. On my nexus

Re: [android-developers] Re: How to delete app in new console

2012-12-20 Thread Nikolay Elenkov
On Fri, Dec 21, 2012 at 12:15 AM, Keith Wiley kbwi...@gmail.com wrote: I don't think we're having the same conversation here. I'm not talking about anything on the phone at all. I'm talking about the web console Android developers use to manage their apps in Google Play. I'm honestly

Re: [android-developers] Re: How to delete app in new console

2012-12-20 Thread Keith Wiley
Thanks, that makes a lot of sense I suppose. I haven't tried unpublishing a previously published app because I don't have a good candidate at the current time, but I do know that draft or otherwise as-yet unpublished apps offer no obvious method for removal...in stark contrast with the old

[android-developers] Re: Android example code and Apache 2.0 licence

2012-12-20 Thread Lew
saladbowl wrote: If I copy a few lines here and there (but not entire functions/files) from example code on the Android Developers site and the samples, modify them and use them in my commercial project, I assume as they are licensed under Apache 3.0 that my work will be a derivative I

[android-developers] disabling camera automatic intensity adjustment

2012-12-20 Thread Qianqian Fang
hi developers I am working on a camera program with my android phone. The camera takes images through preview buffer. The scene switches between two lighting conditions, one brighter, one weaker. I found that when the lighting condition changes, the camera will adjust image intensity (I guess via

[android-developers] Re: Android example code and Apache 2.0 licence

2012-12-20 Thread saladbowl
I'm sorry if this is not relevant. I understand that no-one on here is a lawyer - but I thought that developers need to have some appreciation of software licensing and was hoping for some general guidance. Many apologies. On Thursday, 20 December 2012 19:17:32 UTC, Lew wrote: saladbowl

[android-developers] Re: disabling camera automatic intensity adjustment

2012-12-20 Thread RichardC
http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setAutoExposureLock(boolean) On Thursday, December 20, 2012 7:34:26 PM UTC, Qianqian Fang wrote: hi developers I am working on a camera program with my android phone. The camera takes images through preview

[android-developers] Re: Android example code and Apache 2.0 licence

2012-12-20 Thread Jonathan S
http://www.apache.org/legal/3party.html this may help you On Thursday, December 20, 2012 2:50:22 PM UTC-5, saladbowl wrote: I'm sorry if this is not relevant. I understand that no-one on here is a lawyer - but I thought that developers need to have some appreciation of software licensing

[android-developers] Re: Android example code and Apache 2.0 licence

2012-12-20 Thread Lew
saladbowl wrote: I'm sorry if this is not relevant. I understand that no-one on here is a lawyer - but I thought that developers need to have some appreciation of software licensing and was hoping for some general guidance. Many apologies. I, as a computer programmer, do not find the

Re: [android-developers] Re: Android example code and Apache 2.0 licence

2012-12-20 Thread Chloe Fotherby
I am more than happy to attribute. I am just a bit confused where one draws the line because if a developer uses a framework, then surely they need to refer to some sample code provided by the framework provider on how to do something in that framework. If a framework is designed properly, then

Re: [android-developers] Re: disabling camera automatic intensity adjustment

2012-12-20 Thread Jim Graham
On Thu, Dec 20, 2012 at 12:22:03PM -0800, RichardC wrote: http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setAutoExposureLock(boolean) True, but only if you're running ICS (API level 14) or higher. There are still at least some (haven't checked to see how many

[android-developers] Re: android adt 17 - add jar to project - jar in dexedlibs/ only contains a manifest

2012-12-20 Thread Ray Tayek
On Friday, December 7, 2012 4:13:12 PM UTC-8, Ray Tayek wrote: hi, i am using a 4 day old download of adt 17 on win 7 x64 with java 1.7. adding a jar to my new sample project (by copying it to libs/) compiles fine, but throws at runtime because the classes in the jar are not in the

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-20 Thread Robert Greenwalt
The GCM is part of the platform - 3rd party apps depend on it and so there's no mechanism for deactivating it. If you can allow the GCM connection to succeed, you should avoid the current problems, but if you're going for a secure platform you may not want the GCM connection to succeed. You

[android-developers] Limited support for gamepads

2012-12-20 Thread Bram Stolk
It looks like Android has very limited support for gamepads. If I plug in a PS3 controller into the USB Host port of my tablet, I see this on the tty: D/EventHub( 281): No input device configuration file found for device 'Sony PLAYSTATION(R)3 Controller'. I/EventHub( 281): New device: id=5,

[android-developers] Re: Android bulk app purchases B2b

2012-12-20 Thread Carl
In general, Google does not require that you sell your app exclusively through Google Play. Therefore, as far as I know, you have the option of selling a site license to your clients and allowing them to download it off your own Web site. That also would save you the 30 percent that Google

Re: [android-developers] Re: In App Billing Error

2012-12-20 Thread Sandeep Venkat
Please let me know if get of it!! I too facing the same buddy -- 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] How to avoid cut/copy/paste in smart phone after rotation port to land on Android 4.x?

2012-12-20 Thread monty
I am working on to avoid cut/copy/paste in smart phone (for tablet its fine). Its fine in port mode but coming in land mode EditText shows a Button Next. after selecting the text, next button converts into Edit Button which has copy,cut and select option. So is there any way to disable

[android-developers] OnStop and OnDestroy are not Called after finish ?

2012-12-20 Thread Amit Dwivedi
I have two activities Activity A and B, Activity A has 3 fragments namely a1,a2 and a3. a3 is the default selected fragment which shows videos, a2 contains one big textView and a small edittext in it and a1 contains a listview. Now On activity A's title bar I have a button, and since it is on

[android-developers] Re: OnCallStateChanged Method Triggers more then three times when a call comes

2012-12-20 Thread sujit dubey
I am facing similar problem, did you get any solution for it, please let me know if you got it resolved. On Monday, 10 October 2011 17:19:20 UTC+5:30, Umesh Sharma wrote: Hello, Here is my code for Phone State Listener the phone call state changed should be called first when state =

[android-developers] Toast in phone state listener

2012-12-20 Thread sujit dubey
I am trying to display a toast on incoming call and the toast should disappear on CALL_STATE_IDLE but toast continues to appear even after reaching to idle state, here is my code: @Override public void onCallStateChanged(int state, String incomingNumber) {

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-20 Thread Amit Dwivedi
i also have a similar problem... please have a look on my Detailed Questionhttp://stackoverflow.com/questions/13928591/a-strange-behavior-of-android-activities-fragments-and-intent On Friday, October 15, 2010 5:25:18 PM UTC+5:30, Kumar Bibek wrote: While starting an Activity, use the