schwiz

Lawrence, KS

schwiz.net

Age: 31

Dad, Android developer and enthusiast, part-time wizard.

Jul
25
comment How to detect if android device is paired with android wear watch
Currently, will there ever be more than one node?
Jul
20
comment create toast from IntentService
@AvinashR to combat that issue, just use the Handler constructor that takes a Looper. mHandler = new Handler(Looper.getMainLooper());
Jul
16
revised Drawing an outer shadow when drawing an image
[Edit removed during grace period]
Jul
15
revised Drawing an outer shadow when drawing an image
added recycle call to mask since it is no longer used.
Jul
11
comment How to avoid */* mime types in Intent filters
I thought that perhaps if you declared no wildcards android would be a little more strict. Just speculation though.
Jul
10
comment How to avoid */* mime types in Intent filters
Do you really handle any time of image? If not why not just specify 'image/png', etc for every type you actually handle?
Jul
9
comment Getting value of public static final field/property of a class in Java via reflection
Perfect for reading resources from other apks
Jul
7
comment how to drag a bitmap in andriod
Try something first then ask questions
Jul
5
answered adb doesn't recognize samsung gear live or lg g watch
Jul
4
comment How to create jar for Android Library Project
A little late to the party now that we have AARs but if you still build with ant like me this will do steps 1-3 for you. stackoverflow.com/a/24580308/384306
Jul
4
answered How to create jar for Android Library Project
Jul
4
comment Drawing an outer shadow when drawing an image
@EvelioTarazona This is what I've ended up with stackoverflow.com/a/24579764/384306
Jul
4
answered Drawing an outer shadow when drawing an image
Jul
4
comment wearApp configuration resolves to more than one apk
Might help if you post your project structure and build.gradle
Jul
4
comment Drawing an outer shadow when drawing an image
@EvelioTarazona yes, I think I can actually use the drawable class you wrote but it will still require a second bitmap because I have to create my own Canvas to draw on.
Jul
3
comment Drawing an outer shadow when drawing an image
Hey good info @EvelioTarazona it was good to meet you at IO!! I'm personally trying to add a shadow to a bitmap in an AppWidget so sadly I don't think this approach will work though :/
Jul
3
comment Calculate height of appwidget
Unfortunately both LG and Samsung launcher report incorrect values with this API.
Jul
3
comment How to get app widget size?
how did you come up with widgetSpan * 74? Just trial and error? Do you know majic number for max_height??
Jul
2
awarded Curious
Jul
2
awarded Curious
1 2 3 4 5