1
Deleting files with wildcard in updater-scriptview story

http://stackoverflow.com – I can use delete of updater-script to delete a file in /system: delete("/system/app/YouTube.apk"); However, I can't do the following delete("/system/app/*.odex"); Why doesn't it work? (HowTos)

1
how to change width of custom tab?view story

http://stackoverflow.com – i am trying to custom tabs in action bar. it works fine in many devices but sometimes its width not set to match_parent. i have used textview as custom layout. (HowTos)

1
How can I gather wake lock information of my app?view story

http://stackoverflow.com – I want to gather wake lock information from my app. Perfect will be a stack trace, periodicity and time of all wake locks produced of my app. I tried to read content of /proc/wakelocks and /sys/kernel/debug/wakeup_sources But this information isn't enough and I found that this files is missing on some devices. Any ideas? (HowTos)

1
how to solve java.lang.NoClassDefFoundError in Android Studio?view story

http://stackoverflow.com – In order to solve this error in eclipse "Conversion to Dalvik format failed:Unable to execute dex: method ID not in [0, 0xffff]: 65536". I am trying to execute the same Android project in Android Studio, but unfortunately it does not have any error in compile and build to execute. After execution, while starting the activity. It gives java.lang.NoClassDefFoundError. (HowTos)

1
startActivityForResult() for three activitiesview story

http://stackoverflow.com – I am working on an application which has 3 activities: A, B and C. The starting activity is A after that there is a button that goes to B, and also in B a button to go to C. In activity C I need to go back to A to get some data. (HowTos)

1
Unable to connect Azure VM with new key generatedview story

http://serverfault.com – I lost my private key that I use during the VM creation, so I resort to create another one. I first run openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout privatekey.key -out cert.pem then openssl x509 -outform der -in cert.pem -out cert.cer I uploaded to Azure using the Azure Management Console then chmod 600 privatekey.key When I run, ssh -i privatekey.key cherhan@ch-hado (HowTos)

1
How to set EmptyView in ListActivityview story

http://stackoverflow.com – I would like to display Empty View like "No Items Found" in ListActivity if it is Empty. I have searched more on sites and all suggestions for setEmptyView method of ListView only. Can you please guide for ListActivity? (HowTos)

1
Can't read PID file on OpenLdap using RedHat 6/ Centosview story

http://serverfault.com – When I try to execute command "service slapd debug", I receive this message [root@elara ~]# service slapd debug slapd: [INFO] Using /etc/default/slapd for configuration slapd: [INFO] Halting OpenLDAP... slapd: [INFO] Can't read PID file, to stop OpenLDAP try: /etc/init.d/slapd forcestop slapd: [INFO] No db_recover done slapd: [INFO] Launching OpenLDAP... slapd: [OK] File descriptor limit set to 1 (HowTos)

1
Dagger with Android: How to inject context when using MVP?view story

http://stackoverflow.com – While developing an Android application I stumbled on a problem. I just started using Dagger so I know some basic concepts but when using it outside the scopes of tutorials and their use cases things become less clear. So to get to the point. (HowTos)

1
Max API level in Play Store stuck at 19view story

http://stackoverflow.com – I uploaded an APK to the app store, it's targeting lollipop, but on Google Play Store it says "API levels 14-19". I can't seem to figure out why the max sdk level is stuck at 19. compileSdkVersion 22 buildToolsVersion "21.1.2" defaultConfig { applicationId "be.appwise.dentir" minSdkVersion 14 targetSdkVersion 22 versionCode 1 versionName "1.0" (HowTos)

1
button with shadow that look like gradient in android xmlview story

http://stackoverflow.com – i am trying to achieve this button with selector that on press the shadow is removed.. but i can seem to get close to this..this shadow is from all side and look like is it not reaching to the corners , can i get this effect via xml ? this is my xml which is close to the image <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android" (HowTos)

1
Parse xml in shell script and extract records with specific conditionview story

http://www.unix.com – Hi I have xml file with multiple records and would like to extract records from xml with specific condition if specific tag is present extract entire row otherwise skip . (HowTos)