[android-developers] Problem with characters åäö ÅÄÖ

2010-05-04 Thread jw
Hi, I'm developing an application for Swedish users, when the user is able to input some string, sometimes containing ÅÄÖåäö. But when I run .getText().toString() on my EditText object,I get really strange characters like ö and ä. I'm running the 1.5 SDK version, developing on my Nexus One.

[android-developers] Re: Problem with characters å äöÅÄÖ

2010-05-04 Thread jw
, 7:57 pm, Jonas Petersson jonas.peters...@xms.se wrote: Hi jw, jw wrote: I'm developing an application for Swedish users, when the user is able to input some string, sometimes containing 拍皱漩. But when I run .getText().toString() on my EditText object,I get really strange characters like

[android-developers] Re: Problem with characters å äöÅÄÖ

2010-05-04 Thread jw
isn't my specialty). Very thankful for your ideas. /J On May 4, 8:11 pm, Jonas Petersson jonas.peters...@xms.se wrote: Jonas Petersson wrote: jw wrote: I'm developing an application for Swedish users, when the user is able to input some string, sometimes containing 拍皱漩. But when I run

[android-developers] Re: Problem with characters å äöÅÄÖ

2010-05-04 Thread jw
jonas.peters...@xms.se wrote: jw wrote: Well, then how do I do that? I've been trying different approaches but I can't seem to get the text as a string with äåö. Do you now how I can do that? (I should add that this thing with encodings isn't my specialty). It all depends on what you intend to do

[android-developers] Re: Problem with characters å äöÅÄÖ

2010-05-04 Thread jw
...@xms.se wrote: Hi again Jonas (?), jw wrote: Well, all I want to is to send the string forward in an xml string. The flow is like this: User fills in a couple of forms (EditText) and presses a button. The values is added into an xml string and posted. The thing is when I print

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread jw
means. The only URLs in an HTTP response that come to mind are: 1) the Location response header for a 301/302 status code, 2) some string in the response data (such as an HTML anchor element) that you want to interpret as a URL. On Tue, Apr 6, 2010 at 1:59 PM, jw jwilner...@gmail.com wrote

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread jw
Hi, thanks for the idea, but it didn't help. response.getHeaders(Location)[0] gives me null. I've also tried to print all header keys and vaules, and none of them are Location. Any other ideas? /J On Apr 7, 11:12 am, mike enervat...@gmail.com wrote: On 04/07/2010 12:40 AM, jw wrote: Hi

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread jw
, not 3xx... Any help? /J On Apr 7, 11:41 am, mike enervat...@gmail.com wrote: On 04/07/2010 02:30 AM, jw wrote: Hi, thanks for the idea, but it didn't help. response.getHeaders(Location)[0] gives me null. I've also tried to print all header keys and vaules, and none of them are Location

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread jw
be able to get the redirect url from the response). Is there a (another) way to solve my problem? Thanks again for your time Mike /J On Apr 7, 4:15 pm, mike enervat...@gmail.com wrote: On 04/07/2010 03:56 AM, jw wrote: Well, I'm able to set the response url in the web service, but it's

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread jw
: On 04/07/2010 03:56 AM, jw wrote: Well, I'm able to set the response url in the web service, but it's the parameters I'm interested in... For now I've just set the response URL towww.google.comand the web service adds my parameter which giveswww.google.com/?x=1y=2... Since this page

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread jw
);         System.out.println(Redirect URL:);         System.out.println(http.finalRedirectUrl());     } Hope that helps ;) On Apr 7, 4:01 pm, jw jwilner...@gmail.com wrote: Kevin, see my previous reply Thanks On Apr 7, 4:47 pm, Kevin Duffey andjar...@gmail.com wrote: As Mike says, it seems

[android-developers] Getting the url of an http response

2010-04-06 Thread jw
Hi all, I have a problem. I'm doing a http post request to a URL like this; DefaultHttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(url); HttpResponse response = httpclient.execute(httppost); I am able to get the response content (html in this case) but I would

[android-developers] ListView scrolls very very slow

2010-03-27 Thread jw
Hi all, I'm kind of to android development. I'm creating an app containing several activities, and one of them is an ListActivity. Each row contains a ImageView (thumbnail) and two TextViews. When the ListActivity is loaded everything looks fine, but when I start to scroll it scrolls very slow.

[android-developers] Re: ListView scrolls very very slow

2010-03-27 Thread jw
I can add that I've also tried the ViewWrapper pattern without any performance difference. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: ListView scrolls very very slow

2010-03-27 Thread jw
are blocking your UI thread which makes it starve: 1. i.getShortDescription() 2. Utils.getTimeLeft(i.getEndDate()) If you'd explain in more details what these methods do, perhaps there could be come kind of solution to your problem. On Mar 27, 5:52 pm, jw jwilner...@gmail.com wrote: I can add

[android-developers] Broadcast/notify/messege when app is launched

2010-02-18 Thread jw
Hi, Is there a way of getting broadcasted/notified/messeged when a certain app is launched? I've searched a lot and come up with nothing. I can't find any support for this in the Android SDK. Does anybody now if the SDK support this? If not, is it possible to reach this down under the SDK,

[android-developers] Re: linux kernel how to communicate with Android application?

2009-12-07 Thread JW
Is it possible use openbinder(IPC) to work it out? On 12月4日, 下午5時50分, JW jov...@gmail.com wrote: I want to deliver some event to androidapplication. I thought it should pass the event to android framework library and then transfer the event to androidapplication. Is there any clear sample

[android-developers] linux kernel how to communicate with Android application?

2009-12-04 Thread JW
I want to deliver some event to android application. I thought it should pass the event to android framework library and then transfer the event to android application. Is there any clear sample about such scenario? or anyone can show me the hint how to make it work. -- You received this

[android-developers] how to support multi-touch of Android cupcake?

2009-12-03 Thread JW
Is there anyone know how to add multi-touch function in cupcake? I found that linux kernel 2.6.30 had a new multi-touch protocl, did that mean I must upgrade my kernel to be 2.6.30+? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Android 2.0 camera.setParameters(p) - Picture size must be 213x350?

2009-11-15 Thread mocrsoft jw
Saw the same error. The app works fine on Android 1.5 and 1.6. On Oct 29, 7:03 am, chrispix chris...@gmail.com wrote: I am having an issue w/ 2.0 in the emulator when I am trying to set a couple of parameters.  Including the size. It appears these messages appear.. I guess my question is, why

[android-developers] Split XML files or use db?

2009-05-26 Thread jw
the start an then uncompress them with Java when program starts? So, what option is best? Thanks in advance /JW --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send