| android Programming Glossary: enumsporting libcurl on android with ssl support http://stackoverflow.com/questions/11330180/porting-libcurl-on-android-with-ssl-support  mlong calls ffunction sections fstack protector fno short enums fomit frame pointer fno strict aliasing finline limit 64 D__ARM_ARCH_5__.. 
 arm-linux-androideabi-gcc is unable to create an executable -  compile ffmpeg for android armeabi devices http://stackoverflow.com/questions/12660043/arm-linux-androideabi-gcc-is-unable-to-create-an-executable-compile-ffmpeg-fo  Dipv6mr_interface ipv6mr_ifindex fasm Wno psabi fno short enums fno strict aliasing finline limit 300 OPTIMIZE_CFLAGS disable.. 
 BlackBerry class equivalent to AsyncTask? http://stackoverflow.com/questions/12982021/blackberry-class-equivalent-to-asynctask  little more is needed to match Android's AsyncTask . Since enums and generics aren't available with Java 1.3 on BlackBerry you.. 
 Class members in Fragment become null after Home button press and wait http://stackoverflow.com/questions/17161159/class-members-in-fragment-become-null-after-home-button-press-and-wait  do it without storing the ViewPager 's fragment in lists enums etc a quick search on stackoverflow should show you a question.. 
 Android XML Object Serialization http://stackoverflow.com/questions/3587504/android-xml-object-serialization  PS Already tried XStream but it doesn't serialize enums correctly with Android. The issue is here http stackoverflow.com.. questions 3533894 serialization problem with enums at android  android xml serialization   share improve this question.. 
 unicode support in android ndk http://stackoverflow.com/questions/3944207/unicode-support-in-android-ndk  DU_USING_ICU_NAMESPACE 0 DU_GNUC_UTF16_STRING 0 fno short enums nostdlib And for LDFLAGS lc Wl rpath link NDK_ROOT build platforms.. 
 Why doesn't Android use more enums? http://stackoverflow.com/questions/4822877/why-doesnt-android-use-more-enums  doesn't Android use more enums  I've started to really like using C# and Java enums in my code.. more enums  I've started to really like using C# and Java enums in my code for several reasons They are much more type safe.. need to be passed around but none of them seem to use enums. A couple of examples where I would think their use would be.. 
 Android: What are the recommended configurations for Proguard? http://stackoverflow.com/questions/5068251/android-what-are-the-recommended-configurations-for-proguard  android.util.AttributeSet int #Maintain enums keepclassmembers enum public static values public static valueOf.. 
 Why was “Avoid Enums Where You Only Need Ints” removed from Android's performance tips? http://stackoverflow.com/questions/5143256/why-was-avoid-enums-where-you-only-need-ints-removed-from-androids-performanc  developer documentation . See Why doesn't Android use more enums for the old section content Why Was there a change in the Android.. in the Android VM that made the tip obsolete  android enums   share improve this question   the original version of that.. 
 Garbage collector in Android is running, but nothing is shown as being allocated in ddms' allocation tracker http://stackoverflow.com/questions/7296781/garbage-collector-in-android-is-running-but-nothing-is-shown-as-being-allocated  being garbage collected every second or so  android enums garbage collection ddms   share improve this question   I had.. 
 GSON throwing “Expected BEGIN_OBJECT but was BEGIN_ARRAY”? http://stackoverflow.com/questions/9598707/gson-throwing-expected-begin-object-but-was-begin-array  site gson gson user guide This will work channelSearchEnum enums gson.fromJson yourJson channelSearchEnum .class But this is.. channelSearchEnum .getType Collection channelSearchEnum enums gson.fromJson json collectionType   share improve this answer.. 
 Why doesn't Android use more enums? http://stackoverflow.com/questions/4822877/why-doesnt-android-use-more-enums  question   This answer is out of date as of March 2011. Enums can be used on Froyo and up according to this answer Why was.. on Froyo and up according to this answer Why was Avoid Enums Where You Only Need Ints removed from Android's performance.. recommendation is to avoid enums whenever you can avoid it Enums are very convenient but unfortunately can be painful when size.. 
 How to parse XML using the SAX parser http://stackoverflow.com/questions/4827344/how-to-parse-xml-using-the-sax-parser  levels becomes tricky. There you'd have to either use Enums for example to set your current state and a lot of switch case.. 
 Why was “Avoid Enums Where You Only Need Ints” removed from Android's performance tips? http://stackoverflow.com/questions/5143256/why-was-avoid-enums-where-you-only-need-ints-removed-from-androids-performanc  was &ldquo Avoid Enums Where You Only Need Ints&rdquo removed from Android's performance.. removed from Android's performance tips  The section Avoid Enums Where You Only Need Ints was removed from the official developer.. 
 porting libcurl on android with ssl support http://stackoverflow.com/questions/11330180/porting-libcurl-on-android-with-ssl-support  xscale msoft float mandroid fPIC mthumb interwork mthumb mlong calls ffunction sections fstack protector fno short enums fomit frame pointer fno strict aliasing finline limit 64 D__ARM_ARCH_5__ D__ARM_ARCH_5T__ D__ARM_ARCH_5E__ D__ARM_ARCH_5TE__.. 
 arm-linux-androideabi-gcc is unable to create an executable -  compile ffmpeg for android armeabi devices http://stackoverflow.com/questions/12660043/arm-linux-androideabi-gcc-is-unable-to-create-an-executable-compile-ffmpeg-fo  PLATFORM extra cflags O3 fpic DANDROID DHAVE_SYS_UIO_H 1 Dipv6mr_interface ipv6mr_ifindex fasm Wno psabi fno short enums fno strict aliasing finline limit 300 OPTIMIZE_CFLAGS disable shared enable static extra ldflags Wl rpath link PLATFORM.. 
 BlackBerry class equivalent to AsyncTask? http://stackoverflow.com/questions/12982021/blackberry-class-equivalent-to-asynctask  improve this question   Vishal is on the right track but a little more is needed to match Android's AsyncTask . Since enums and generics aren't available with Java 1.3 on BlackBerry you can't match the Android API perfectly. But you could do something.. 
 Class members in Fragment become null after Home button press and wait http://stackoverflow.com/questions/17161159/class-members-in-fragment-become-null-after-home-button-press-and-wait  and if you need to access those fragment there are ways to do it without storing the ViewPager 's fragment in lists enums etc a quick search on stackoverflow should show you a question about this @Override public Fragment getItem int position.. 
 Android XML Object Serialization http://stackoverflow.com/questions/3587504/android-xml-object-serialization  to serialize an object to XML inside Android. Any libs suggested PS Already tried XStream but it doesn't serialize enums correctly with Android. The issue is here http stackoverflow.com questions 3533894 serialization problem with enums at android.. enums correctly with Android. The issue is here http stackoverflow.com questions 3533894 serialization problem with enums at android  android xml serialization   share improve this question   Unfortunately I don't think there is a good solution.. 
 unicode support in android ndk http://stackoverflow.com/questions/3944207/unicode-support-in-android-ndk  platforms android 8 arch arm usr include O3 fno short wchar DU_USING_ICU_NAMESPACE 0 DU_GNUC_UTF16_STRING 0 fno short enums nostdlib And for LDFLAGS lc Wl rpath link NDK_ROOT build platforms android 8 arch arm usr lib L NDK_ROOT build platforms.. 
 Why doesn't Android use more enums? http://stackoverflow.com/questions/4822877/why-doesnt-android-use-more-enums  doesn't Android use more enums  I've started to really like using C# and Java enums in my code for several reasons They are much more type safe than integers.. doesn't Android use more enums  I've started to really like using C# and Java enums in my code for several reasons They are much more type safe than integers strings or sets of boolean flags. They lead to.. framework has numerous cases where flags of various types need to be passed around but none of them seem to use enums. A couple of examples where I would think their use would be beneficial are Toast.LENGTH_SHORT Toast.LENGTH_LONG and View.GONE.. 
 Android: What are the recommended configurations for Proguard? http://stackoverflow.com/questions/5068251/android-what-are-the-recommended-configurations-for-proguard  keepclasseswithmembers class public init android.content.Context android.util.AttributeSet int #Maintain enums keepclassmembers enum public static values public static valueOf java.lang.String #To keep parcelable classes to serialize.. 
 Why was “Avoid Enums Where You Only Need Ints” removed from Android's performance tips? http://stackoverflow.com/questions/5143256/why-was-avoid-enums-where-you-only-need-ints-removed-from-androids-performanc  Where You Only Need Ints was removed from the official developer documentation . See Why doesn't Android use more enums for the old section content Why Was there a change in the Android VM that made the tip obsolete  android enums   share improve.. more enums for the old section content Why Was there a change in the Android VM that made the tip obsolete  android enums   share improve this question   the original version of that document was just a bunch of prejudices. it's been rewritten.. 
 Garbage collector in Android is running, but nothing is shown as being allocated in ddms' allocation tracker http://stackoverflow.com/questions/7296781/garbage-collector-in-android-is-running-but-nothing-is-shown-as-being-allocated  enough allocations shown for the 400k bytes that are apparently being garbage collected every second or so  android enums garbage collection ddms   share improve this question   I had already found the solution but am posting the question answer.. 
 GSON throwing “Expected BEGIN_OBJECT but was BEGIN_ARRAY”? http://stackoverflow.com/questions/9598707/gson-throwing-expected-begin-object-but-was-begin-array  Gson Explains how to deal with this https sites.google.com site gson gson user guide This will work channelSearchEnum enums gson.fromJson yourJson channelSearchEnum .class But this is better Type collectionType new TypeToken Collection channelSearchEnum.. 
 Why doesn't Android use more enums? http://stackoverflow.com/questions/4822877/why-doesnt-android-use-more-enums  drawback I'm not aware of  android enums   share improve this question   This answer is out of date as of March 2011. Enums can be used on Froyo and up according to this answer Why was Avoid Enums Where You Only Need Ints removed from Android's..  This answer is out of date as of March 2011. Enums can be used on Froyo and up according to this answer Why was Avoid Enums Where You Only Need Ints removed from Android's performance tips from a member of the Android VM team and his blog . Previous.. and his blog . Previous Answer The official Android team recommendation is to avoid enums whenever you can avoid it Enums are very convenient but unfortunately can be painful when size and speed matter. For example this public enum Shrubbery.. 
 How to parse XML using the SAX parser http://stackoverflow.com/questions/4827344/how-to-parse-xml-using-the-sax-parser  parse a more complex structure with repeating tags in different levels becomes tricky. There you'd have to either use Enums for example to set your current state and a lot of switch case statemenets to check where you are or a more elegant solution.. 
 Why was “Avoid Enums Where You Only Need Ints” removed from Android's performance tips? http://stackoverflow.com/questions/5143256/why-was-avoid-enums-where-you-only-need-ints-removed-from-androids-performanc  was &ldquo Avoid Enums Where You Only Need Ints&rdquo removed from Android's performance tips  The section Avoid Enums Where You Only Need Ints.. was &ldquo Avoid Enums Where You Only Need Ints&rdquo removed from Android's performance tips  The section Avoid Enums Where You Only Need Ints was removed from the official developer documentation . See Why doesn't Android use more enums.. 
 |