[android-developers] At symbol with star

2014-07-13 Thread Jose Ayerdis
I encounter this lately in a manifest does anyone know what does the star standfor in an id http://www.linkedin.com/pub/jose-luis-ayerdis-espinoza/28/7b4/704> | Careers StackOverflow -- You received this message because you are subscribed to the Google

[android-developers] Re: IllegalAccessError occur in a receiver,when a new version apk replaced a older one!

2014-07-13 Thread shiqun.shi
I wondered that why a receiver can be instantiated(by cl.loadClass(component).newInstance())before *packageInfo.makeApplication(false, mInstrumentation);* and *instrumentation.callApplicationOnCreate(app);*. Everything works well if *handleBindApplication()* is first called,which will i

Re: [android-developers] Re: IllegalAccessError occur in a receiver,when a new version apk replaced a older one!

2014-07-13 Thread shiqun.shi
I wondered that why a receiver can be instantiated(by cl.loadClass(component).newInstance())before *packageInfo.makeApplication(false, mInstrumentation);* and *instrumentation.callApplicationOnCreate(app);*. Everything works well if *handleBindApplication()* is first called,which will int

Re: [android-developers] What services provide AccessibilityService with KeyEvents

2014-07-13 Thread Tom
Thanks, I thought to look into AccessibilityManagerService, I just couldn't find anywhere where it was invoking the onKey/ onKeyEvent methods in the IAccessibility stubs. My issue isn't with receiving events, I get all events expected and am able to override their behaviors. I want to know where

Re: [android-developers] What services provide AccessibilityService with KeyEvents

2014-07-13 Thread Peter Teoh
On Sun, Jul 13, 2014 at 10:05 PM, Tom wrote: > Android API 18 introduced the onKey method AccessibilityService along > with the necessary flags to enable filtering KeyEvents. What system > service/ method deals with the delivery of these events, and *is it > possible to register for key events wh

Re: [android-developers] Android internals

2014-07-13 Thread Peter Teoh
On Mon, Jun 16, 2014 at 6:15 PM, ANKUR GOEL wrote: > Hi all , > > i wanna some tutorials and videos where i can see how the android internal > works , > which part of OS reads the manifest , how the intent service works > internally etc > > Thanks > For basic Android internals: https://developer

[android-developers] What services provide AccessibilityService with KeyEvents

2014-07-13 Thread Tom
Android API 18 introduced the onKey method AccessibilityService along with the necessary flags to enable filtering KeyEvents. What system service/ method deals with the delivery of these events, and *is it possible to register for key events when the screen is off*? I've noticed that hardware b

Re: [android-developers] Re: IllegalAccessError occur in a receiver,when a new version apk replaced a older one!

2014-07-13 Thread Sérgio Faria
On Dalvik you'll get that error if you use a custom ClassLoader that loads classes from other ClassLoader(s) (eg. the API of a plugin). If you're using this, you have two options: either dont export the symbols or remove them at runtime[1] (you'll need to move the class definitions and zero out the

[android-developers] Re: IllegalAccessError occur in a receiver,when a new version apk replaced a older one!

2014-07-13 Thread shiqun.shi
As this receiver was loaded and instantiated by the default PathClassLoader. While in application.onCreate(),we change the default PathClassLoader’s parent classloader to another one(a custom HostClassLoader)。Both PathClassLoader and HostClassLoader are refer to the same apk file。So,when r

Re: [android-developers] ObjectAnimator starting with a frame jump on Android 4.4 (nexus 5) but not in 4.1 device

2014-07-13 Thread Sérgio Faria
Doesn't the same thing happens when the animation restarts? Shouldn't your cloud start fully hidden because when the animation resets, it will show the whole view on the left at once. int start = cloud1ImageView.getLeft() - cloud1ImageView.getRight(); // start < 0 cloudAnim = ObjectAnimat

[android-developers] Re: IllegalAccessError occur in a receiver,when a new version apk replaced a older one!

2014-07-13 Thread shiqun.shi
> I notice this two methods, handleReceiver() and makeApplication()。 > > In which case,packageInfo.makeApplication(false, mInstrumentation); was > called and mApplication == null? Which will make a receiver be > instantiated(by cl.loadClass(component).newInstance())before > *packageInfo.makeAp

Re: [android-developers] ObjectAnimator starting with a frame jump on Android 4.4 (nexus 5) but not in 4.1 device

2014-07-13 Thread saex
Hi thanks for your answer, i tryed it, and not working :( El domingo, 13 de julio de 2014 12:34:53 UTC+2, Sérgio Faria escribió: > > My guess would be that you're starting the animation before the view is > ready. > You can use an "old" Animation or try to start the Animator in > OnPreDrawList

Re: [android-developers] ObjectAnimator starting with a frame jump on Android 4.4 (nexus 5) but not in 4.1 device

2014-07-13 Thread Sérgio Faria
My guess would be that you're starting the animation before the view is ready. You can use an "old" Animation or try to start the Animator in OnPreDrawListener or in onResume(). 2014-07-13 10:44 GMT+01:00 saex : > I have a simple activity that shows an animation with ObjectAnimator. The > animatio

[android-developers] ObjectAnimator starting with a frame jump on Android 4.4 (nexus 5) but not in 4.1 device

2014-07-13 Thread saex
I have a simple activity that shows an animation with ObjectAnimator. The animation is created and started in onCreate method of the activity, it is a very simple animation: cloudAnim = ObjectAnimator.ofFloat(cloud1ImageView, "x", sw); cloudAnim.setDuration(35000); cloudAnim.se