Java

How to render smooth Gradients with Android

SneWs's picture

If you're like me, you've probably noticed that when making gradients with Android, they might get rendered badly, it's not as smooth as it can be, especially when using the emulator.

To get nice and smooth gradients, you just need to add one line of code to you're Activity.

// Call this in you're onCreate() for ex.
getWindow().setFormat(PixelFormat.RGBA_8888);

The above code snippet will enable a much better and smoother look of you're gradient(s). But please be advised that this isn't a silver bullet, the downside is the following.

Tags: 

Clipboard Dialer 1.6 Released

SneWs's picture

I've made some small tweaks to Clipboard Dialer that makes it even better at extracting phone numbers with odd formatting.

There's not much else to report. The app is very stable and seems to be appreciated by it's users. So go get you're own copy for free if you haven't done it yet.

https://market.android.com/details?id=se.grenangen.clipboarddialer

Enjoy!

[Edit] Spelling...

Tags: 

Get your copy of Clipboard Dialer

SneWs's picture

Having trouble dialing a phone number in your browser, an email or any other text based source? Clipboard Dialer is for you. Copy a page or section of text and open it with Clipboard Dialer and you'll be able to call and create contacts from all the valid phone numbers found in that text.

Grab it from the Android Market.
It's Free!

Tags: 

C# and SoapHttpClientProtocol with Java Axis based server

SneWs's picture

If you want to use a C# based client to connect to a Java Axis based Web service and if the server is using complex types, you might get into some troubles / strange behavior when making a call to a method using complex types as it's argument(s).

Here are some simple ways that might help you get it up and running.
First, make sure you use the correct namespace when adding the service reference.

Tags: 

Subscribe to RSS - Java