[android-developers] Does LogCat support UTF-8 to display?

2008-12-11 Thread yukinoba
hi all does anyone know that logcat supports utf-8 display or not? I ve tried to transfer non-unicode string message objects to the Log method, with new String(s.getBytes(original-coding), utf-8), and then put it into the Log.v(TAG, my_transferred_string) then I found, logcat shows results with

[android-developers] Re: Does LogCat support UTF-8 to display?

2008-12-15 Thread yukinoba
Ummm...does ANYONE know? or could Mr./Mrs. Googles answer? @_...@? Best Regards, Nicholas On 12月12日, 下午3時55分, yukinoba ckmagic...@gmail.com wrote: hi all does anyone know that logcat supports utf-8 display or not? I ve tried to transfer non-unicode string message objects to the Log method

[android-developers] Re: Does LogCat support UTF-8 to display?

2008-12-18 Thread yukinoba
Thx Ralf ;-) On 12月16日, 上午5時35分, Ralf ralfo...@gmail.com wrote: On Thu, Dec 11, 2008 at 11:55 PM, yukinoba ckmagic...@gmail.com wrote: hi all does anyone know thatlogcatsupports utf-8 display or not? I ve tried to transfer non-unicode string message objects to the Log method, with new

[android-developers] Re: certificate ssl webservice keystore

2008-12-18 Thread yukinoba
hi, I have surveyed lots of solutions to this problem. However, most solutions break (or say, cheat) the SSL verification for development usage, and surely I don't want to make this kind of solutions in my own application. Could you help to provide a guideline how to create application-specific

[android-developers] Re: Emulator is not able to connect to network

2008-12-18 Thread yukinoba
hi David, I have the same situation to this. However, I could connect to internet by using HttpClient and get responses. The 3G icon appears in the top of Android home, but browser does not work at all. I have my own proxy address with proxy.local:80, and sets in the Eclipse preference and using

[android-developers] Re: certificate ssl webservice keystore

2008-12-19 Thread yukinoba
certificate in Thunderbird. As a developer and a user I see it as a good thing that Android doesn't let applications do this, and I would be against any change to this policy just to make developers lives a bit easier. Al. yukinoba wrote: hi, I have surveyed lots of solutions

[android-developers] Re: HTC G2's home effection is very well,I saw it on www,Is it real or just a flash?

2008-12-23 Thread yukinoba
I m not going to offense ur dream... However, these pictures are provided and designed by Android fans only. The actual T-Mobile G2 pictures are not going to be published yet. All we know til now is G2 will have a virtual keyboard and be published during March in the next year. On 12月22日,

[android-developers] Where could I get an ADT 0.9.0?

2008-12-25 Thread yukinoba
To dear all, Does anyone have the cupcake? The SDK in there is not applicable to the ADT plugin (Android Development Tools plugin) of Eclipse any more, and Eclipse throws a message told me I should get an updated ADT with version 0.9.0. However, I tried to build one in the source, and found that

[android-developers] Re: Where could I get an ADT 0.9.0?

2008-12-29 Thread yukinoba
regards, Nicholas On 12月28日, 上午1時41分, Kenny Yu yxw...@gmail.com wrote: I built cupcake, which has been merged to master HEAD. The ADT is quite OK. Can you share more info? Kenny On Dec 26, 11:35 am, yukinoba ckmagic...@gmail.com wrote: To dear all, Does anyone have the cupcake? The SDK

[android-developers] Re: Emulator is not able to connect to network

2008-12-29 Thread yukinoba
-debug-http-proxy when launching the emulator, and post the output here. that should probably give more information I can decode On Fri, Dec 19, 2008 at 8:49 AM, yukinoba ckmagic...@gmail.com wrote: hi David, I have the same situation to this. However, I could connect to internet by using

[android-developers] How could I know a Service is already started?

2009-01-04 Thread yukinoba
To dear all Android developers, Is there a way to check whether a service is already started or not? This issue has been discussed ealier (and much earlier) in April, in the last year, on this forum.

[android-developers] Re: How could I know a Service is already started?

2009-01-05 Thread yukinoba
Ummm... does anyone know? have any ideas? On 1月5日, 下午12時05分, yukinoba ckmagic...@gmail.com wrote: To dear all Android developers, Is there a way to check whether a service is already started or not? This issue has been discussed ealier (and much earlier) in April, in the last year

[android-developers] Re: How could I know a Service is already started?

2009-01-05 Thread yukinoba
= serviceInfo.service; if(serviceName.getClassName().equals(className)) { return serviceName; } } return null; } Best regards, Nicholas On 1月6日, 上午10時58分, yukinoba ckmagic...@gmail.com wrote: Ummm... does

[android-developers] Re: How could I know a Service is already started?

2009-01-06 Thread yukinoba
can just set a global variable while it is running. Why do you need to do this? On Mon, Jan 5, 2009 at 10:34 PM, yukinoba ckmagic...@gmail.com wrote: Hi all, I have already found out how to get this done. Please refer to the following code: /** * Indicates whether

[android-developers] Re: How could I know a Service is already started?

2009-01-06 Thread yukinoba
at 1:24 AM, yukinoba ckmagic...@gmail.com wrote: to dear Dianne, I need to implement a remote background service and a service controller activity. I want to present an effect which the controller activity could know whether or not this service is already started, and enable / disable

[android-developers] Re: How could I know a Service is already started?

2009-01-06 Thread yukinoba
:24 AM, yukinoba ckmagic...@gmail.com wrote: to dear Dianne, I need to implement a remote background service and a service controller activity. I want to present an effect which the controller activity could know whether or not this service is already started, and enable / disable

[android-developers] Re: How could I know a Service is already started?

2009-01-06 Thread yukinoba
or destroyed via the appropriate callbacks. On Tue, Jan 6, 2009 at 1:24 AM, yukinoba ckmagic...@gmail.com wrote: to dear Dianne, I need to implement a remote background service and a service controller activity. I want to present an effect which the controller activity could know whether

[android-developers] Re: Where could I get an ADT 0.9.0?

2009-01-07 Thread yukinoba
. Best regards, Nicholas On 1月1日, 上午5時59分, Wah mobic...@gmail.com wrote: Yukinoba: I tried to build using build_server.sh with the following set of commands and failed: setenv ECLIPSE_HOME /usr/local/installed/eclipse cd ~/mydroid/development/tools/eclipse/scripts ./build_plugins.sh -i -d

[android-developers] How to get the UTC bias from TimeZone information?

2009-01-22 Thread yukinoba
to dear all Android developers, I need to know the UTC bias of my phone to correct the UTC time information I got from a site. I have read earlier posts and already found the solution to get TimeZone information from the System.currentTimeMillis(); method. However, I need to translate the

[android-developers] Does Android not support old SSLv3 protocols?

2009-04-13 Thread yukinoba
to dear All, Does anyone meet NoSuchAlgorithmException in SSLContext.getInstance (SSLv3) method? I found Android may close the downward support of old SSL protocols, and keep the latest TLS connections only. Is this true that SSLv3 is not supported in Android? Could anyone provide some

[android-developers] What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-11 Thread yukinoba
to dear all Android developers, I'm dealing with database operation on Android recently. However, there has a problem troubles me that the query method in SQLiteQueryBuilder infinitely loops and has no return. The operation code is like below: // CODE section --//

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-11 Thread yukinoba
Could someone give a little bit information about any possible solution or hint? I have searched in this forum and nothing about this topic :-( On 2月11日, 下午6時44分, yukinoba ckmagic...@gmail.com wrote: More information: Most of the data (surname) here are utf-8 encoded, does this cause

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-11 Thread yukinoba
and never get rid of that status. So, my question is, does each application / service have been limited to have only one single database? Plz provides any help or suggestion Best regards, Nicholas On 2月12日, 上午9時23分, yukinoba ckmagic...@gmail.com wrote: Could someone give a little bit information about

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
DatabaseHelper(mCtx); mDb = mDbHelper.getWritableDatabase(); Is it possible that the read-access is locked by the first database? I'm sure that I close my database with mDbHelper.close() after each query... On 2月12日, 下午4時00分, yukinoba ckmagic...@gmail.com wrote: to dear all, I just found

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
日, 下午4時15分, yukinoba ckmagic...@gmail.com wrote: Hi all, More information found: The database could be written by the execSQL method, however, it could not be read from the query method. A Write-Only database? that's weird... I open my database with SQLiteDatabaseHelper and SQLiteDatabase

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
More information: The _id column brings no trouble as an ORDER BY argument, but can not exist in the projection map. The reason is still unknown. Needs help, please. Sincerely, Nicholas On 2月13日, 上午10時32分, yukinoba ckmagic...@gmail.com wrote: To dear all, I found that when you use _id

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
Android developers. Sincerely, On 2月13日, 上午11時04分, yukinoba ckmagic...@gmail.com wrote: More information: The _id column brings no trouble as an ORDER BY argument, but can not exist in the projection map. The reason is still unknown. Needs help, please. Sincerely, Nicholas On 2月13日, 上午10時32分

[android-developers] Re: How to get the UTC bias from TimeZone information?

2009-02-19 Thread yukinoba
+ (mMyTimeZone.getDSTSavings() / 360); } On 2月19日, 下午3時14分, bw ben.weisb...@gmail.com wrote: I also couldn't find the solution.. A lookup table/database workaround is posted here:http://groups.google.com/group/android-developers/browse_thread/threa... On Jan 22, 9:59 pm, yukinoba ckmagic...@gmail.com wrote

[android-developers] Why all mails were turned to unread?

2009-03-09 Thread yukinoba
Does anyone ever notice that the mail client (POP3) on Android will turn all the mails' status from read into unread after a Force Close event happened? I found this when I survey whether Android could open a meeting request message. When I opened the meeting.ics attachment which includes the

[android-developers] What would cause a DeadObjectException?

2009-09-30 Thread yukinoba
to dear all Android developers and fans, Does anyone ever meet a android.os.DeadObjectException thrown by a remote service in Android? The problem I met is, the transact method in the service binder interface threw this exception to me. I wrote a remote service, and called it through the

[android-developers] Cannot process file I/O in InstrumentationTest?

2009-10-18 Thread yukinoba
to dear all Android developers, Is the file I/O operations during InstrumentationTest not really written back (aka. committed) to the device storage? Recently I was working on the InstrumentationTest to verify my own applications, however it always shows no data in the local preference and

[android-developers] What is a .db-journal file in device?

2009-10-22 Thread yukinoba
to dear all Android developers, Does anyone know what exactly a file is database name.db-journal under the /data/data/packages/databases ? I created a database by SQLiteOpenHelper, and wrote something into it for application storage. However I found that there is no data in the database name.db

[android-developers] [Problem] Could not fine HelloAndroid.apk when lauching the HelloAndroid example

2008-08-26 Thread yukinoba
Hi, I'm a totally newbie to the Android SDK. I have been installed Eclipse 3.4 (Ganymede), ADT 0.7.1 and Android 0.9 SDK with JRE 6 updated 7. It seems weird when I follow the Hello, Android! guideline on Google site. First I encountered the problem of Android libray. It seems eclipse won't

[android-developers] Re: xmlpullparser don't write in xml?

2009-06-28 Thread yukinoba
to dear winger, What's this? an AndroidManifest.xml or a Preference file? If it's a Preference, you should edit it through the PreferenceEditor object. If it is an AndroidManifest.xml file, you can't modify it in runtime, you should modify it with your code editor. Best regards On 6月26日,