android Programming Glossary: significantly
Fragment design: Adapting to multiple screen layouts by showing/hiding fragments within a single Activity? http://stackoverflow.com/questions/10051962/fragment-design-adapting-to-multiple-screen-layouts-by-showing-hiding-fragments Frag3. So far we have not considered anything which is significantly different from the News Reader example presented in the Android..
Android - MediaPlayer Buffer Size in ICS 4.0 http://stackoverflow.com/questions/10060165/android-mediaplayer-buffer-size-in-ics-4-0 the MediaPlayer's buffering implementation has changed significantly in 4.0. This is frustrating as the API provides no way to alter..
PhoneGap 1.4 wrapping Sencha Touch 2.X - What about performance? http://stackoverflow.com/questions/10085637/phonegap-1-4-wrapping-sencha-touch-2-x-what-about-performance built on Javascript like Sencha Touch iOS performance is significantly better than Android. However Sencha Touch dev team is trying..
Decoding Video using FFMpeg for android http://stackoverflow.com/questions/11322952/decoding-video-using-ffmpeg-for-android
Unmarshalling XML files into Java objects in Android? http://stackoverflow.com/questions/1351218/unmarshalling-xml-files-into-java-objects-in-android SDK that I've missed Is there another library that's significantly smaller that will do this Thanks. java xml android xsd share..
How to avoid reverse engineering of an APK file? http://stackoverflow.com/questions/13854425/how-to-avoid-reverse-engineering-of-an-apk-file Java code . This usually slows down reverse engineering significantly. 3. Is there a way to make hacking more tough or even impossible..
Low-latency audio playback on Android http://stackoverflow.com/questions/14842803/low-latency-audio-playback-on-android But on Android you actually need to process each buffer in significantly less time than it takes to play it currently it seems like 15..
How to check visibility of software keyboard in Android? http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android The basic logic is that if the layout finds itself filling significantly less than the total area of the window then a soft keyboard..
How to scale an Image in ImageView to keep the aspect ratio http://stackoverflow.com/questions/2521959/how-to-scale-an-image-in-imageview-to-keep-the-aspect-ratio image using just one ImageView. 2 This comment was edited significantly later than othe original post was written You should also see..
Android and obfuscation http://stackoverflow.com/questions/2531187/android-and-obfuscation By preprocessing the original jar files ProGuard can significantly reduce the file sizes and boost the run time performance of..
Android NativeActivity http://stackoverflow.com/questions/4372899/android-nativeactivity NativeActivity The Android NDK has just been significantly expanded to include support for writing android applications..
Create a NinePatch/NinePatchDrawable in runtime http://stackoverflow.com/questions/5079868/create-a-ninepatch-ninepatchdrawable-in-runtime about the npTc chunk and your images are being screwed up significantly then my answer changes a little. Instead of sending the compiled..
How to crop image in android http://stackoverflow.com/questions/6464123/how-to-crop-image-in-android panDeltaY If the cropping rectangle's size changed significantly change the view's center and scale according to the cropping..
Multiple screen resolutions/aspect ratios (games) http://stackoverflow.com/questions/7061258/multiple-screen-resolutions-aspect-ratios-games screen ratio degrades the experience for all the others significantly. Besides we do not even know what the smallest resolution is..
Why are annotations under Android such a performance issue (slow)? http://stackoverflow.com/questions/7417426/why-are-annotations-under-android-such-a-performance-issue-slow size. Doing the .equals by comparing fields would be significantly faster. EDIT An interesting reflection performance improvement..
Apply custom filters to camera output http://stackoverflow.com/questions/8371055/apply-custom-filters-to-camera-output it. This conversion is quite expensive operation and significantly lowers the output fps. It depends on what you actually want..
Limitation on texture size? Android Open GL ES 2.0 http://stackoverflow.com/questions/8573178/limitation-on-texture-size-android-open-gl-es-2-0 textures . From the previous link Texture compression can significantly increase the performance of your OpenGL application by reducing..
Video processing in Android http://stackoverflow.com/questions/8620560/video-processing-in-android to work with a Bitmap's pixels in native code which is significantly faster than at the Java layer. Take the contents of your resultant..
onSaveInstanceState limit? http://stackoverflow.com/questions/9805441/onsaveinstancestate-limit limit is about 1MB. You want to keep your marshalled size significantly smaller than that 100K is probably a good maximum. And really..
Fragment design: Adapting to multiple screen layouts by showing/hiding fragments within a single Activity? http://stackoverflow.com/questions/10051962/fragment-design-adapting-to-multiple-screen-layouts-by-showing-hiding-fragments contains Frag1 ActivityB contains Frag2 and ActivityC contains Frag3. So far we have not considered anything which is significantly different from the News Reader example presented in the Android developer guide. The only major difference is having three..
Android - MediaPlayer Buffer Size in ICS 4.0 http://stackoverflow.com/questions/10060165/android-mediaplayer-buffer-size-in-ics-4-0 on the SGS2 once upgraded to Android 4.0.3. So it seems like the MediaPlayer's buffering implementation has changed significantly in 4.0. This is frustrating as the API provides no way to alter the behaviour. EDIT 3 Android bug created. Please add comments..
PhoneGap 1.4 wrapping Sencha Touch 2.X - What about performance? http://stackoverflow.com/questions/10085637/phonegap-1-4-wrapping-sencha-touch-2-x-what-about-performance it could be say that to every cross platform mobile apps built on Javascript like Sencha Touch iOS performance is significantly better than Android. However Sencha Touch dev team is trying their best to improve this hopefully it would be better in..
Decoding Video using FFMpeg for android http://stackoverflow.com/questions/11322952/decoding-video-using-ffmpeg-for-android
Unmarshalling XML files into Java objects in Android? http://stackoverflow.com/questions/1351218/unmarshalling-xml-files-into-java-objects-in-android to get SAX to do what I want Is there another tool in the Android SDK that I've missed Is there another library that's significantly smaller that will do this Thanks. java xml android xsd share improve this question There are lots of tools to translate..
How to avoid reverse engineering of an APK file? http://stackoverflow.com/questions/13854425/how-to-avoid-reverse-engineering-of-an-apk-file hacking harder though. For example use obfuscation if it's Java code . This usually slows down reverse engineering significantly. 3. Is there a way to make hacking more tough or even impossible What more can I do to protect the source code in my APK..
Low-latency audio playback on Android http://stackoverflow.com/questions/14842803/low-latency-audio-playback-on-android audio than it does to play it you'll never get low latency. But on Android you actually need to process each buffer in significantly less time than it takes to play it currently it seems like 15 of playback time is a good choice for the Galaxy Nexus. Low..
How to check visibility of software keyboard in Android? http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android top level layout class into one which overrides onMeasure . The basic logic is that if the layout finds itself filling significantly less than the total area of the window then a soft keyboard is probably showing. import android.app.Activity import android.content.Context..
How to scale an Image in ImageView to keep the aspect ratio http://stackoverflow.com/questions/2521959/how-to-scale-an-image-in-imageview-to-keep-the-aspect-ratio be useful for things like displaying a frame around the main image using just one ImageView. 2 This comment was edited significantly later than othe original post was written You should also see android adjustViewBounds to make the ImageView resize itself..
Android and obfuscation http://stackoverflow.com/questions/2531187/android-and-obfuscation ordinary jar files into files that run on Android devices. By preprocessing the original jar files ProGuard can significantly reduce the file sizes and boost the run time performance of the code. It optimizes shrinks and obfuscates your application...
Android NativeActivity http://stackoverflow.com/questions/4372899/android-nativeactivity NativeActivity The Android NDK has just been significantly expanded to include support for writing android applications entirely in native C C code. One can now capture input events..
Create a NinePatch/NinePatchDrawable in runtime http://stackoverflow.com/questions/5079868/create-a-ninepatch-ninepatchdrawable-in-runtime in the upstream codebase. In the event that it does not know about the npTc chunk and your images are being screwed up significantly then my answer changes a little. Instead of sending the compiled ninepatch images to the client you write a quick Android..
How to crop image in android http://stackoverflow.com/questions/6464123/how-to-crop-image-in-android 0 panDeltaY1 panDeltaY2 if panDeltaX 0 panDeltaY 0 panBy panDeltaX panDeltaY If the cropping rectangle's size changed significantly change the view's center and scale according to the cropping rectangle. private void centerBasedOnHighlightView HighlightView..
Multiple screen resolutions/aspect ratios (games) http://stackoverflow.com/questions/7061258/multiple-screen-resolutions-aspect-ratios-games screen ratio lack of detail or supporting even the smallest screen ratio degrades the experience for all the others significantly. Besides we do not even know what the smallest resolution is or can restrict it in any way other than disabling ldpi.....
Why are annotations under Android such a performance issue (slow)? http://stackoverflow.com/questions/7417426/why-are-annotations-under-android-such-a-performance-issue-slow with a bunch of append methods without a good initializing size. Doing the .equals by comparing fields would be significantly faster. EDIT An interesting reflection performance improvement was given to me. We are now using reflection to peek inside..
Apply custom filters to camera output http://stackoverflow.com/questions/8371055/apply-custom-filters-to-camera-output to be converted to some sort of RGB format if you want to display it. This conversion is quite expensive operation and significantly lowers the output fps. It depends on what you actually want to do with the camera preview. Because the best solution is..
Limitation on texture size? Android Open GL ES 2.0 http://stackoverflow.com/questions/8573178/limitation-on-texture-size-android-open-gl-es-2-0 use efficiency note that you cannot modify these compressed textures . From the previous link Texture compression can significantly increase the performance of your OpenGL application by reducing memory requirements and making more efficient use of memory..
Video processing in Android http://stackoverflow.com/questions/8620560/video-processing-in-android In 2.2 you have the option of using the NDK and jnigraphics to work with a Bitmap's pixels in native code which is significantly faster than at the Java layer. Take the contents of your resultant Bitmap and display it. For fast moving data you would..
onSaveInstanceState limit? http://stackoverflow.com/questions/9805441/onsaveinstancestate-limit quite sizeable. This data goes through an IPC and the IPC limit is about 1MB. You want to keep your marshalled size significantly smaller than that 100K is probably a good maximum. And really you want to keep this as small as possible think about what..
|