@

Home 

2014/10/16 W 08:10:47

android Programming Glossary: bug

App is misconfigured for Facebook login : Android Facebook integration issue

http://stackoverflow.com/questions/12382558/app-is-misconfigured-for-facebook-login-android-facebook-integration-issue

answer in this thread. You can also follow the external bug report that a Facebook developer has reported for more updates...

Unable instantiate android.gms.maps.MapFragment

http://stackoverflow.com/questions/13719263/unable-instantiate-android-gms-maps-mapfragment

this for a while I've found that there is a small flaw bug. IDEA will sometimes complain about not being able to open a..

ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin

http://stackoverflow.com/questions/18839428/adt-22-2-new-app-wizard-unsupported-template-dependency-upgrade-your-android-e

sdk index.html have been updated too. From here Update The bug report now has a response with fixed template files attached.. My older workaround below. Workaround to the bug For Blank Activity Edit sdk tools templates activities BlankActivity..

Android ACTION_IMAGE_CAPTURE Intent

http://stackoverflow.com/questions/1910608/android-action-image-capture-intent

share improve this question this is a well documented bug in some versions of android. that is on google experience builds.. hasImageCaptureBug list of known devices that have the bug ArrayList String devices new ArrayList String devices.add android.. image capture i create an intent that checks for the bug. Intent i new Intent android.provider.MediaStore.ACTION_IMAGE_CAPTURE..

Couldn't get connection factory client

http://stackoverflow.com/questions/2199403/couldnt-get-connection-factory-client

I've done a bit of googling around and it seems this is a bug in the software. http code.google.com p android issues detail..

Android Camera without Preview

http://stackoverflow.com/questions/2386025/android-camera-without-preview

was black. After googling like crazy i came across a bug thread about it. If you don't generate a preview the image will..

How to adjust text font size to fit textview

http://stackoverflow.com/questions/2617266/how-to-adjust-text-font-size-to-fit-textview

but it is a bit more readable. It also include's gregm's bug fixes and a bug fix of my own. import android.content.Context.. more readable. It also include's gregm's bug fixes and a bug fix of my own. import android.content.Context import android.graphics.Paint..

Change the background color of the options menu

http://stackoverflow.com/questions/2944244/change-the-background-color-of-the-options-menu

app so I won't dwell on that. There is a Google Android bug posted about this please add your support by starring this bug.. posted about this please add your support by starring this bug note Google discourages me too comments just a star is enough..

Android - Camera preview is sideways

http://stackoverflow.com/questions/3841122/android-camera-preview-is-sideways

this question This issue appeared to start out as a bug with certain hardware see here but can be overcome by using.. rotation checks to say what the rotation was and then debugged on the device and watched the logCat output while I rotated..

Enable GPS programatically like Tasker

http://stackoverflow.com/questions/4721449/enable-gps-programatically-like-tasker

this question the GPS can be toggled by exploiting a bug in the power manager widget. see this xda thread for discussion...

Fragments within Fragments

http://stackoverflow.com/questions/6847460/fragments-within-fragments

within Fragments I'm wondering if this is actually a bug in the Android API I have a setup like so 1 2 | 3 ┴ Is.. this is possible this answer suggests it isn't or is it a bug android android fragments share improve this question Nested..

Jelly Bean DatePickerDialog — is there a way to cancel?

http://stackoverflow.com/questions/11444238/jelly-bean-datepickerdialog-is-there-a-way-to-cancel

Note I'm using a temporary workaround. See end of answer. Bug source OK looks like it's indeed a bug and someone else already..

Barcode reading using picture taken using mobile phone camera

http://stackoverflow.com/questions/1339867/barcode-reading-using-picture-taken-using-mobile-phone-camera

and others have ported to J2ME CSharp CPP Rim iPhone Bug As another poster already mentioned on Android you could also..

How to use custom font with WebView

http://stackoverflow.com/questions/1344080/how-to-use-custom-font-with-webview

as @raychung above suggested. But this won't work for 2.1 Bug is reported here . This should work for 1.5 1.6 and 2.2. You..

Security Exception when trying to access a Picasa image on device running 4.2

http://stackoverflow.com/questions/13558177/security-exception-when-trying-to-access-a-picasa-image-on-device-running-4-2

Android Bug? : String.substring(5).replace(?? ?? // empty string

http://stackoverflow.com/questions/16475317/android-bug-string-substring5-replace-empty-string

Bug String.substring 5 .replace empty string Here is my code..

SearchView taking all the space in the new ActionBarCompat

http://stackoverflow.com/questions/17898282/searchview-taking-all-the-space-in-the-new-actionbarcompat

action items. UPDATE I've posted an issue in the Android's Bug Tracker https code.google.com p android issues detail id 58251..

App always starts fresh from root activity instead of resuming background state (Known Bug)

http://stackoverflow.com/questions/2280361/app-always-starts-fresh-from-root-activity-instead-of-resuming-background-state

root activity instead of resuming background state Known Bug I am facing exactly the problem mentioned in these links http..

Screen orientation landscape back to portrait not working

http://stackoverflow.com/questions/2481793/screen-orientation-landscape-back-to-portrait-not-working

my app on the 2.1 AVD and it works perfectly. So is this a Bug in a 2.0 AVD or is there something special I need to be doing..

Android: start an intent into a framelayout

http://stackoverflow.com/questions/2761577/android-start-an-intent-into-a-framelayout

menu items. Replace this with something better when Bug 628886 is fixed... if mLaunchedView null mLaunchedView.setVisibility..

Why does keyboard-slide crash my app?

http://stackoverflow.com/questions/3019606/why-does-keyboard-slide-crash-my-app

findViewById R.id.vFlipper if v null Log.d Dash De Bug hit. e e.getMessage v.stopFlipping android crash viewflipper..

android progressBar does not update progress view/drawable

http://stackoverflow.com/questions/4348032/android-progressbar-does-not-update-progress-view-drawable

bar share improve this question SOLUTION It's a Bug in ProgressBar finally... I think I found the solution... this.. the setMax too. So the update is missing. Seems like a Bug in the android ProgressBar This took me about 8 hours now....

Adding the same context menu to multiple activities

http://stackoverflow.com/questions/4894116/adding-the-same-context-menu-to-multiple-activities

R.drawable.ic_menu_help menu.add 0 Menu1 0 Report A Bug .setIcon this.getResources .getDrawable R.drawable.ic_menu_start_conversation.. item.getItemId case Menu1 startActivity new Intent this Bug.class return true case Menu2 startActivity new Intent this..

How to return to the latest launched activity when re-launching application after pressing HOME?

http://stackoverflow.com/questions/6337217/how-to-return-to-the-latest-launched-activity-when-re-launching-application-afte

root activity instead of resuming background state Known Bug So I've manually killed the application in the phone and relaunched..

getting exception “IllegalStateException: Can not perform this action after onSaveInstanceState”

http://stackoverflow.com/questions/7469082/getting-exception-illegalstateexception-can-not-perform-this-action-after-onsa

onSaveInstanceState Bundle outState No call for super . Bug on API Level 11. I just do not make the call to .super and everything..

IllegalStateException: Can not perform this action after onSaveInstanceState - How to prevent?

http://stackoverflow.com/questions/7575921/illegalstateexception-can-not-perform-this-action-after-onsaveinstancestate-h

onSaveInstanceState Bundle outState No call for super . Bug on API Level 11. don't make the call to super on the saveInstanceState..

Android + HTML5(LocalStorage) + Admob: Bug?

http://stackoverflow.com/questions/8850103/android-html5localstorage-admob-bug

HTML5 LocalStorage Admob Bug I am developing an Phonegap app Android which uses javascript..

Bug : Theme.Translucent & FLAG_ACTIVITY_REORDER_TO_FRONT

http://stackoverflow.com/questions/9309479/bug-theme-translucent-flag-activity-reorder-to-front

Theme.Translucent FLAG_ACTIVITY_REORDER_TO_FRONT I have an..

App is misconfigured for Facebook login : Android Facebook integration issue

http://stackoverflow.com/questions/12382558/app-is-misconfigured-for-facebook-login-android-facebook-integration-issue

Unable instantiate android.gms.maps.MapFragment

http://stackoverflow.com/questions/13719263/unable-instantiate-android-gms-maps-mapfragment

list. You can delete dummy.java if you like. Edit After using this for a while I've found that there is a small flaw bug. IDEA will sometimes complain about not being able to open a .iml project file in the google play services_lib directory..

ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin

http://stackoverflow.com/questions/18839428/adt-22-2-new-app-wizard-unsupported-template-dependency-upgrade-your-android-e

and the installer package on http developer.android.com sdk index.html have been updated too. From here Update The bug report now has a response with fixed template files attached and the following comments This one is my bad. I was in the.. of this zip should resolve this issue. I apologize for the inconvenience. My older workaround below. Workaround to the bug For Blank Activity Edit sdk tools templates activities BlankActivity template.xml Comment out the dependency dependency..

Android ACTION_IMAGE_CAPTURE Intent

http://stackoverflow.com/questions/1910608/android-action-image-capture-intent

just to be clear android camera return value android intent share improve this question this is a well documented bug in some versions of android. that is on google experience builds of android image capture doesn't work as documented. what.. is something like this in a utilities class. public boolean hasImageCaptureBug list of known devices that have the bug ArrayList String devices new ArrayList String devices.add android devphone1 dream_devphone dream devices.add generic sdk.. android.os.Build.DEVICE then when i launch image capture i create an intent that checks for the bug. Intent i new Intent android.provider.MediaStore.ACTION_IMAGE_CAPTURE if hasImageCaptureBug i.putExtra android.provider.MediaStore.EXTRA_OUTPUT..

Couldn't get connection factory client

http://stackoverflow.com/questions/2199403/couldnt-get-connection-factory-client

Android Camera without Preview

http://stackoverflow.com/questions/2386025/android-camera-without-preview

some areas whatever. I was able to take a picture but the picture was black. After googling like crazy i came across a bug thread about it. If you don't generate a preview the image will be black since android camera needs preview to setup exposure..

How to adjust text font size to fit textview

http://stackoverflow.com/questions/2617266/how-to-adjust-text-font-size-to-fit-textview

posted by Dunni. It uses a binary search like gjpc's but it is a bit more readable. It also include's gregm's bug fixes and a bug fix of my own. import android.content.Context import android.graphics.Paint import android.util.AttributeSet.. by Dunni. It uses a binary search like gjpc's but it is a bit more readable. It also include's gregm's bug fixes and a bug fix of my own. import android.content.Context import android.graphics.Paint import android.util.AttributeSet import android.util.TypedValue..

Change the background color of the options menu

http://stackoverflow.com/questions/2944244/change-the-background-color-of-the-options-menu

menus typically to match a visual style for the rest of the app so I won't dwell on that. There is a Google Android bug posted about this please add your support by starring this bug note Google discourages me too comments just a star is enough.. app so I won't dwell on that. There is a Google Android bug posted about this please add your support by starring this bug note Google discourages me too comments just a star is enough http code.google.com p android issues detail id 4441 SUMMARY..

Android - Camera preview is sideways

http://stackoverflow.com/questions/3841122/android-camera-preview-is-sideways

android camera orientation preview portrait share improve this question This issue appeared to start out as a bug with certain hardware see here but can be overcome by using the call to mCamera.setDisplayOrientation degrees available.. I had to initially put in logging statements in each of the rotation checks to say what the rotation was and then debugged on the device and watched the logCat output while I rotated the device. For the HTC Desire 0 was the phone as you would..

Enable GPS programatically like Tasker

http://stackoverflow.com/questions/4721449/enable-gps-programatically-like-tasker

or clue on how Tasker achieves this android gps share improve this question the GPS can be toggled by exploiting a bug in the power manager widget. see this xda thread for discussion. here's some example code i use private void turnGPSOn String..

Fragments within Fragments

http://stackoverflow.com/questions/6847460/fragments-within-fragments

within Fragments I'm wondering if this is actually a bug in the Android API I have a setup like so 1 2 | 3 ┴ Is a menu which loads fragment #2 A search screen in the right.. that means it hasn't been replaced . Can someone tell me if this is possible this answer suggests it isn't or is it a bug android android fragments share improve this question Nested fragments are not currently supported. Trying to put a..

Jelly Bean DatePickerDialog — is there a way to cancel?

http://stackoverflow.com/questions/11444238/jelly-bean-datepickerdialog-is-there-a-way-to-cancel

. Original answer kept for historical and didactic reasons Note I'm using a temporary workaround. See end of answer. Bug source OK looks like it's indeed a bug and someone else already filled it. Issue 34833 . I've found that the problem is..

Barcode reading using picture taken using mobile phone camera

http://stackoverflow.com/questions/1339867/barcode-reading-using-picture-taken-using-mobile-phone-camera

doing scanning via images on the following platforms J2SE Android and others have ported to J2ME CSharp CPP Rim iPhone Bug As another poster already mentioned on Android you could also use an Intent to call Barcode Reader with something like public..

How to use custom font with WebView

http://stackoverflow.com/questions/1344080/how-to-use-custom-font-with-webview

question Apparently you can use a custom font for WebView as @raychung above suggested. But this won't work for 2.1 Bug is reported here . This should work for 1.5 1.6 and 2.2. You can put your custom font TTF file in your assets folder then..

Security Exception when trying to access a Picasa image on device running 4.2

http://stackoverflow.com/questions/13558177/security-exception-when-trying-to-access-a-picasa-image-on-device-running-4-2

Android Bug? : String.substring(5).replace(?? ?? // empty string

http://stackoverflow.com/questions/16475317/android-bug-string-substring5-replace-empty-string

Bug String.substring 5 .replace empty string Here is my code String str just_a_string System.out.println str System.out.println..

SearchView taking all the space in the new ActionBarCompat

http://stackoverflow.com/questions/17898282/searchview-taking-all-the-space-in-the-new-actionbarcompat

SearchView used to decrease its width to give space for the action items. UPDATE I've posted an issue in the Android's Bug Tracker https code.google.com p android issues detail id 58251 thanks 58251 ts 1375191632 If you have the same problem please..

App always starts fresh from root activity instead of resuming background state (Known Bug)

http://stackoverflow.com/questions/2280361/app-always-starts-fresh-from-root-activity-instead-of-resuming-background-state

always starts fresh from root activity instead of resuming background state Known Bug I am facing exactly the problem mentioned in these links http code.google.com p android issues detail id 2373 http groups.google.com..

Screen orientation landscape back to portrait not working

http://stackoverflow.com/questions/2481793/screen-orientation-landscape-back-to-portrait-not-working

app works correctly as expected. So I then decided to try my app on the 2.1 AVD and it works perfectly. So is this a Bug in a 2.0 AVD or is there something special I need to be doing for 2.1 SDK versions This is driving me crazy because no where..

Android: start an intent into a framelayout

http://stackoverflow.com/questions/2761577/android-start-an-intent-into-a-framelayout

of their children have it. They need focus to be able to display menu items. Replace this with something better when Bug 628886 is fixed... if mLaunchedView null mLaunchedView.setVisibility View.VISIBLE mLaunchedView.setFocusableInTouchMode..

Why does keyboard-slide crash my app?

http://stackoverflow.com/questions/3019606/why-does-keyboard-slide-crash-my-app

catch Exception e ViewFlipper v ViewFlipper findViewById R.id.vFlipper if v null Log.d Dash De Bug hit. e e.getMessage v.stopFlipping android crash viewflipper share improve this question To resolve this issue you..

android progressBar does not update progress view/drawable

http://stackoverflow.com/questions/4348032/android-progressbar-does-not-update-progress-view-drawable

correctly Whats going on here How can I fix that android progress bar share improve this question SOLUTION It's a Bug in ProgressBar finally... I think I found the solution... this does not work as one would expect bar.setMax 50 bar.setProgress.. the same value is passed again. But it's not triggered during the setMax too. So the update is missing. Seems like a Bug in the android ProgressBar This took me about 8 hours now.. lol D To solve this I'm just doing a bar.setProgress 0 before..

Adding the same context menu to multiple activities

http://stackoverflow.com/questions/4894116/adding-the-same-context-menu-to-multiple-activities

menu.add 0 Menu4 0 About .setIcon this.getResources .getDrawable R.drawable.ic_menu_help menu.add 0 Menu1 0 Report A Bug .setIcon this.getResources .getDrawable R.drawable.ic_menu_start_conversation menu.add 0 Menu6 0 New Stuff .setIcon this.getResources.. public boolean onOptionsItemSelected MenuItem item switch item.getItemId case Menu1 startActivity new Intent this Bug.class return true case Menu2 startActivity new Intent this EditPreferences.class return true case Menu3 startActivity..

How to return to the latest launched activity when re-launching application after pressing HOME?

http://stackoverflow.com/questions/6337217/how-to-return-to-the-latest-launched-activity-when-re-launching-application-afte

action and no category. Ref App always starts fresh from root activity instead of resuming background state Known Bug So I've manually killed the application in the phone and relaunched it again from the home screen widget. Then opened the..

getting exception “IllegalStateException: Can not perform this action after onSaveInstanceState”

http://stackoverflow.com/questions/7469082/getting-exception-illegalstateexception-can-not-perform-this-action-after-onsa

but I here is how I solved this @Override protected void onSaveInstanceState Bundle outState No call for super . Bug on API Level 11. I just do not make the call to .super and everything works great. I hope this will save you some time...

IllegalStateException: Can not perform this action after onSaveInstanceState - How to prevent?

http://stackoverflow.com/questions/7575921/illegalstateexception-can-not-perform-this-action-after-onsaveinstancestate-h

answer here . Basically I just had to @Override protected void onSaveInstanceState Bundle outState No call for super . Bug on API Level 11. don't make the call to super on the saveInstanceState method. This was messing things up... EDIT after..

Android + HTML5(LocalStorage) + Admob: Bug?

http://stackoverflow.com/questions/8850103/android-html5localstorage-admob-bug

HTML5 LocalStorage Admob Bug I am developing an Phonegap app Android which uses javascript HTML5 localStorage. The app works fine however when I add..

Bug : Theme.Translucent & FLAG_ACTIVITY_REORDER_TO_FRONT

http://stackoverflow.com/questions/9309479/bug-theme-translucent-flag-activity-reorder-to-front

Theme.Translucent FLAG_ACTIVITY_REORDER_TO_FRONT I have an activity with the translucent Theme android theme @android style..