[android-developers] Solved problem
HI! All you have to do to solve the overriding problem is to delete the annotations from the project. Create a new project from existing samples and delete the annotations from it! The project will have no errors. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Memory allocation for a process, when the that application is not really active
Hi, I have a receiver which sets an alarm for 4hours. The code snippet is below. Intent myIntent = new Intent(context,XYZService.class); myIntent.setAction(com.android.LavaDeviceTracker.SEND_SMS_SERVICE); pendingIntent = PendingIntent.getService(context, 0,myIntent, 0); AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, 4*60*1000, pendingIntent); The receiver sets the alarm and stops. Until the 4 hours I mean until the alarm goes off, believe there is no action is going on. Still I can see chunks of 4-8 bytes getting allocated to the PSS and “shared dirty” in Native and Other. (Dalvik allocation seems unchanged) continuously. After probably 5-10minutes the PSS value becomes almost static for “Native” but “other” usage keeps multiplying. Does the Alarm Manager perform any action during this period? Due to which the memory allocation keeps increasing? Also when I tried using AlarmManager.RTC instead of AlarmManager.ELAPSED_REALTIME_WAKEUP, the frequency of memory allocation was considerably less. Any idea on this? 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] want to install google contacts and google calender on my android 2.2.1 tablet.Pls help
Hi there, i just bought HCL ME tablet AE7-A1 having ANDROID 2.2.1. But I found that its missing the google contacts and calender. Can anyone please help me out how to install these two things in my tablet and what files will be required and from where can i get the same. Loads of Thanks in advance. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Issue while using android.support.v4.jar compatibility library
I am trying to modify an app (core app) using the android provided library: android.support.v4.jar. Have included the jar and set the build path. Still while I compile it throws me the above error. Seems to be like the app uses proguard to obfuscate and It actually excludes some of the library classes while building. Please help. Logs: Reading library jar [/home/m/GingerBread/android/out/target/common/obj/ JAVA_LIBRARIES/framework_intermediates/classes.jar] Warning: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2: can't find superclass or interface android.os.Parcelable$ClassLoaderCreator Warning: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os.Parcelable$ClassLoaderCreator Warning: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os.Parcelable$ClassLoaderCreator Warning: android.support.v4.app.ActivityCompatHoneycomb: can't find referenced method 'void invalidateOptionsMenu()' in class android.app.Activity Warning: android.support.v4.app.ActivityCompatHoneycomb: can't find referenced method 'void dump(java.lang.String,java.io.FileDescriptor,java.io.PrintWriter,java.lang.String[])' in class android.app.Activity Reading library jar [/home/m/GingerBread/ android/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/ classes.jar] Reading library jar [/home/m/GingerBread/android/out/ target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar] Warning: android.support.v4.view.MenuCompatHoneycomb: can't find referenced method 'void setShowAsAction(int)' in class android.view.MenuItem Reading library jar [/home/m/GingerBread/android/ out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/ classes.jar] Note: com.android.common.SharedPreferencesCompat accesses a method 'apply()' dynamically Maybe this is library method 'android.app.ContextImpl$SharedPreferencesImpl$EditorImpl { void apply(); }' Maybe this is library method 'android.content.SharedPreferences$Editor { void apply(); }' Note: the configuration refers to the unknown class 'com.android.email.mail.MessageRetrievalListener' Note: there were 1 references to unknown classes. You should check your configuration for typos. Note: there were 1 accesses to class members by means of introspection. You should consider explicitly keeping the mentioned class members (using '-keep' or '-keepclassmembers'). Warning: there were 3 unresolved references to classes or interfaces. You may need to specify additional library jars (using '-libraryjars'), or perhaps the '-dontskipnonpubliclibraryclasses' option. Warning: there were 3 unresolved references to program class members. Your input classes appear to be inconsistent. You may need to recompile them and try again. Alternatively, you may have to specify the options '- dontskipnonpubliclibraryclasses' and/or '- dontskipnonpubliclibraryclassmembers'. Error: Please correct the above warnings first. make: * [out/target/common/obj/APPS/ Email_intermediates/proguard.classes.jar] Error 1 -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Debugging C++ code in Android
Hi all, I am able to debug only till framework level using eclipse. Can anyone let me know how to debug C++ or library code in android. Thanks in advance, POP -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Background color of selected text
Hi all, In a web page..if i select some text, the background color changes from white to pink. I am trying to understand where exactly this change is happening. Interested to know more about color change of rectangular area of selected text. Kindly help me to locate this piece of code. Thanks in advance, pop -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Canvas + Bitmap + ColorMatrixFilter is great. How to SAVE the bitmap?
I guess from the lack of responses this isn't possible? Too bad. Shane On Aug 2, 2:14 pm, Shane shanemenchi...@gmail.com wrote: So I have a Canvas which uses a bitmap to store the draw calls on. I have applied a ColorMatrixFilter to the underlying bitmap of the canvas. It looks awesome when on the phone and during the OnDraw calls. The ColorMatrixFilter is making the bitmap look exactly like I want it when the Canvas is drawn. Now how do I SAVE the Colormatrix effect? I normally take the underlying bitmap that is attached to the Canvas and Bitmap.Compress save it. But this method doesn't save the ColorMatrixFilter effect. How can I get the ColorMatrixFilter to actually alter the Bitmap itself so I can Bitmap.compress save the damn thing!! Thanks Everyone, Shane --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Canvas + Bitmap + ColorMatrixFilter is great. How to SAVE the bitmap?
Off screen bitmap might be a possibility - let me look into that. Thanks Jason. Shane On Aug 3, 5:06 pm, Jason Proctor jason.android.li...@gmail.com wrote: the problem i think is that the filters and transforms and all that are done in native code, then that code writes to the frame buffer. getting that stuff back and turning it into a java Bitmap would be expensive. can you draw into an offscreen bitmap somehow? ISTR something being possible along those lines. I guess from the lack of responses this isn't possible? Too bad. Shane On Aug 2, 2:14 pm, Shane shanemenchi...@gmail.com wrote: So I have a Canvas which uses a bitmap to store the draw calls on. I have applied a ColorMatrixFilter to the underlying bitmap of the canvas. It looks awesome when on the phone and during the OnDraw calls. The ColorMatrixFilter is making the bitmap look exactly like I want it when the Canvas is drawn. Now how do I SAVE the Colormatrix effect? I normally take the underlying bitmap that is attached to the Canvas and Bitmap.Compress save it. But this method doesn't save the ColorMatrixFilter effect. How can I get the ColorMatrixFilter to actually alter the Bitmap itself so I can Bitmap.compress save the damn thing!! Thanks Everyone, Shane -- jason.software.particle --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Canvas + Bitmap + ColorMatrixFilter is great. How to SAVE the bitmap?
So I have a Canvas which uses a bitmap to store the draw calls on. I have applied a ColorMatrixFilter to the underlying bitmap of the canvas. It looks awesome when on the phone and during the OnDraw calls. The ColorMatrixFilter is making the bitmap look exactly like I want it when the Canvas is drawn. Now how do I SAVE the Colormatrix effect? I normally take the underlying bitmap that is attached to the Canvas and Bitmap.Compress save it. But this method doesn't save the ColorMatrixFilter effect. How can I get the ColorMatrixFilter to actually alter the Bitmap itself so I can Bitmap.compress save the damn thing!! Thanks Everyone, Shane --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---