Re: [android-developers] Re: Failed to register input channel?

2011-08-27 Thread A.TNG
I also get this kind of FC. It happens a lot (only on Android 2.3.3). Still no clue to fix this bug. On Sat, Aug 13, 2011 at 9:48 AM, Mark Carter mjc1...@googlemail.com wrote: I'm getting this too (also only on SDK level 10) - anyone find any workarounds? -- You received this message

Re: [android-developers] Suspended android developer account

2011-05-29 Thread A.TNG
Dear Mobejakt, I met a similar problem. I wrote an application and put it in Android Market. The user feedback are great and it makes me feel I would continue develop and create more feature to fulfill user's requirement. But 3-day before, I get Google's notification and they suspend my app in

Re: [android-developers] Suspended android developer account

2011-05-29 Thread A.TNG
Guys, Any idea about this. What I want is just have a way to get Google's feedback. I just need to know what mistake I make and how can I make my app back to Android Market. Thanks you all. On Sun, May 29, 2011 at 2:31 PM, A.TNG tang.j...@gmail.com wrote: Dear Mobejakt, I met a similar

Re: [android-developers] app crashes on Android 2.3.3 (RemoteServiceException)

2011-04-17 Thread A.TNG
are trying to post a notification that is invalid. This particular error happens when the notification you give to Service.startForeground() is invalid. (Btw, I really really hope you aren't using com.xxx.xxx as your app package name.) On Sat, Apr 16, 2011 at 12:37 AM, A.TNG tang.j...@gmail.com

Re: [android-developers] pen source XMPP client for android

2011-04-17 Thread A.TNG
Maybe you can check this out. http://www.beem-project.com/. On Sun, Apr 17, 2011 at 7:55 PM, Me tonasirin...@gmail.com wrote: Dear All ; Anyone can point me *o**pen source XMPP client for android ?* **I am working on a social network application where I need to handle client

Re: [android-developers] app crashes on Android 2.3.3 (RemoteServiceException)

2011-04-17 Thread A.TNG
emulator? On Sun, Apr 17, 2011 at 3:41 AM, A.TNG tang.j...@gmail.com wrote: Thanks Dianne for your kind reply. I'm really sorry for making some misunderstanding. com.xxx.xxx just a sample package name. It's not exist in the real world. But thanks for your BTW, you're a nice person

Re: [android-developers] app crashes on Android 2.3.3 (RemoteServiceException)

2011-04-17 Thread A.TNG
/StatusBarService( 1325): at That application is trying to use a private implementation of the platform -- com.android.server.status.AnimatedImageView -- that does not exist in 2.3. On Sun, Apr 17, 2011 at 6:39 PM, A.TNG tang.j...@gmail.com wrote: Hi Dianne, I've tried on 2.3.3 emulator

[android-developers] app crashes on Android 2.3.3 (RemoteServiceException)

2011-04-16 Thread A.TNG
Hi Guys, I developed a application and put it on Android Market. This application support Android API from level 7 to level 10. It works prefectly on Android 2.1 and 2.2. Recently, it seems many user start to use Android 2.3.3. I start to get a strange crash as following:

[android-developers] Is that possible to print backtrace when debug native code

2010-11-23 Thread A.TNG
Hi All, When I debug android app, if I work with Java, I can use Log.d(TAG, , new Throwable()) to print backtrace of Java code. This is really handy for me to find bugs. But when I work with native library (e.g. libwebcore.so), there seems no way to print backtrace in runtime. The only way to

Re: [android-developers] Re: Strange timezone issue, when I set timezone to Alaska

2010-04-24 Thread A.TNG
On Fri, Apr 23, 2010 at 9:16 PM, String sterling.ud...@googlemail.com wrote: On Apr 23, 2:08 pm, A.TNG tang.j...@gmail.com wrote: Yes. In my case, I need to get TZ offset as of  Jan 1, 1970. And sometime we pass a minus number to getOffset(), like -360. OK, cool. That's just not what

[android-developers] Strange timezone issue, when I set timezone to Alaska

2010-04-23 Thread A.TNG
Hi Guys, I meet a strange timezone issue when I debug my application on Android_2.1 SDK. I first start the emulator and set timezone to Alaska in Settings. I also search the internet and find Alaska is in GMT-9:00. If DST applied, it should be GMT-8:00. Then write some sample code like:

Re: [android-developers] Re: Strange timezone issue, when I set timezone to Alaska

2010-04-23 Thread A.TNG
On Fri, Apr 23, 2010 at 4:42 PM, String sterling.ud...@googlemail.com wrote: On Apr 23, 7:14 am, A.TNG tang.j...@gmail.com wrote: TimeZone.getDefault().getOffset(0);  // returns 3600 (= 10 * 60 * 60 * 1000) TimeZone.getTimeZone(GMT-9:00).getOffset(0); // returns 3240 (= 9 * 60 * 60

Re: [android-developers] Re: Strange timezone issue, when I set timezone to Alaska

2010-04-23 Thread A.TNG
On Fri, Apr 23, 2010 at 6:53 PM, String sterling.ud...@googlemail.com wrote: On Apr 23, 11:10 am, A.TNG tang.j...@gmail.com wrote: Since Alaska is in GMT-9:00, even doesn't include DST, getOffset(0) should return 3240 (= 9*60*60*1000), right? I cannot understand why it returns 3600

[android-developers] How to make GLSurfaceView show smoothly

2010-04-12 Thread A.TNG
Hi Guys, I've been block by this question for about a week. I tried to implement a simple application: show a image, when user touch on screen, I want to create a GLSurfaceView to cover the previous image. Then show some 3D effects on this GLSurfaceView. The logic is quite simple. But I have a

Re: [android-developers] Re: How to make GLSurfaceView show smoothly

2010-04-12 Thread A.TNG
On Mon, Apr 12, 2010 at 5:11 PM, Yahel kaye...@gmail.com wrote: Why don't you create your glsurface from the beginning make it transparent and already on top of your image and simply render your 3d objects when the user touches the screen ? The initialization would occurs before the user is

Re: [android-developers] Re: How to make GLSurfaceView show smoothly

2010-04-12 Thread A.TNG
On Mon, Apr 12, 2010 at 5:11 PM, Yahel kaye...@gmail.com wrote: Why don't you create your glsurface from the beginning make it transparent and already on top of your image and simply render your 3d objects when the user touches the screen ? The initialization would occurs before the user is

Re: [android-developers] Draw Text on GLSurfaceView

2010-04-12 Thread A.TNG
On Mon, Apr 12, 2010 at 10:39 PM, Renjith renjithkum...@gmail.com wrote: Hi, Can anyone help me to understand how to draw text on GLSurfaceView in Android ? Thanks in advance Ren You cannot draw text on glsurface. What you can do is draw text on a bitmap, then bind this bitmap as texture

Re: [android-developers] Disable scroll in webview

2010-04-12 Thread A.TNG
On Mon, Apr 12, 2010 at 8:48 PM, mmkr manutd...@gmail.com wrote: Hi all,    Is it possible to disable the scrollbar in the webview? If possible how? Maybe not exactly, I remember there are some interfaces like enable/disable scroll bar in WebView.java. Is that OK for you? -- Best Regards,

[android-developers] How WebView render the webpage

2010-04-12 Thread A.TNG
Hi Guys, I'm reading the source code of Android browser, try to figure out how WebView render the webpage. In native (external/webkit/WebKit/android/jni/WebViewCore.cpp), seems the whole webpage is stored in WebViewCore.m_content (a PictureSet). In every onDraw, native just draw the PictureSet on

Re: [android-developers] Re: Draw Text on GLSurfaceView

2010-04-12 Thread A.TNG
On Tue, Apr 13, 2010 at 4:47 AM, Vladimir vladimir.funti...@gmail.com wrote: To add to what's been said above, if you need a static text or a simple numeric display, and don't want to bother writing a text renderer, you can use the code from samples/apis/graphics/spritetext Oh, the sample is

Re: [android-developers] DrawableBitmap, Canvas and OR

2010-04-12 Thread A.TNG
On Mon, Apr 12, 2010 at 6:30 PM, Kaj Bjurman kaj.bjur...@gmail.com wrote: Hi, Is it in some way possible to draw something with bitwise OR? I.e. I want the pixel values to be OR:ed with the pixel values that already had been drawn. I could invoke get pixel, and use OR, and then set the

Re: [android-developers] Disable scroll in webview

2010-04-12 Thread A.TNG
On Mon, Apr 12, 2010 at 11:37 PM, murali raju manutd...@gmail.com wrote: ya it will be. my requirement is i want to display a large html file in number of pages such that each page would fit exactly into a single screen. I will place a button so that when clicked it would show the next page.

Re: [android-developers] Why webview caputured data get lost while save in a thread

2010-04-12 Thread A.TNG
Hi, The Picture stuff (which is representing WebView ) is kind of mysterious for me. If here you got a bitmap and split it into several files. The problem should not exist. But it is a Picture. I don't know what's inside and how it's drawn on canvas. Any idea? -- Best Regards, TANG Jiyu Blog:

Re: [android-developers] Running Flash 10 on Android 2.1

2010-03-24 Thread A.TNG
On Tue, Mar 23, 2010 at 11:10 AM, Saurabh ssaxen2...@yahoo.com wrote: I have seen various articles and videos of Adobe running Flash 10.1 on Droid/HTC Hero and Nexus 1. However, these are all ARM processors with 500MHz or higher. We are putting Android 2.1 on another type of device which

Re: [android-developers] webkit onGestureXXX

2010-03-24 Thread A.TNG
On Fri, Mar 19, 2010 at 9:38 AM, mike enervat...@gmail.com wrote: Is there any plans to support the onGestureXXX set of events like the iPhone's webkit has? Mike, curious I find android.view.ScaleGestureDetector and also an inner class OnScaleGestureListener in android_2.1. These classes

Re: [android-developers] Integrate IPhone Safari like view in Android?

2010-03-24 Thread A.TNG
On Wed, Mar 24, 2010 at 6:12 AM, javame_android su...@softwebsolutions.com wrote: Hi All, I want to implement IPhone safari like view in Android. The scrolling can be done using Gallery I think. But how to minimize the views as done in the IPhone Safari. The Android Browser also have

[android-developers] A question about accessing Google Reader via browser on Android_1.5

2010-03-17 Thread A.TNG
Hi guys, I'm using HTC Magic and access Google Reader from China. When open Google Reader, I find each link in web page is added with a prefix “ http://www.google.com/gwt/n?u=” http://www.google.com/gwt/n?u=%E2%80%9D. For example, when user clicks the link, browser will first go to “

[android-developers] Re: A question about accessing Google Reader via browser on Android_1.5

2010-03-17 Thread A.TNG
I want to figure out what kind of work should be done in browser. Change user-agent string or other stuff? Thanks a lot. On Thu, Mar 18, 2010 at 12:07 PM, A.TNG tang.j...@gmail.com wrote: Hi guys, I'm using HTC Magic and access Google Reader from China. When open Google Reader, I find each

[android-developers] How to delete file when file is created by another app

2009-09-25 Thread A.TNG
Hi, I have this problem. Two apps: app_a and service_s. Service_S creates file in /tmp. After create this file, service_s uses FileUtils.setPermission to change file mode to 666. Then app_a tries to delete this file. But I always failed when deleting. It seems the files are private. One

[android-developers] Re: How to delete file when file is created by another app

2009-09-25 Thread A.TNG
On Sep 25, 3:46 pm, Mark Murphy mmur...@commonsware.com wrote: I have this problem. Two apps: app_a and service_s. Why two apps? Service_S creates file in /tmp. There is no /tmp in Android. After create this file, service_s uses FileUtils.setPermission to change file mode to 666.

[android-developers] Re: How could I get the size of android.graphics.picture

2009-09-06 Thread A.TNG
On Sep 2, 5:50 pm, A.TNG tang.j...@gmail.com wrote: Hi, In my application, I will get a instance ofandroid.graphics.picture which is populated by user. Then I use writeToStream to save. After save, I have to check the file size. If the size is too large, then I should delete this file

[android-developers] How could I get the size of android.graphics.picture

2009-09-02 Thread A.TNG
Hi, In my application, I will get a instance of android.graphics.picture which is populated by user. Then I use writeToStream to save. After save, I have to check the file size. If the size is too large, then I should delete this file. I think this save-check-delete operation is not reasonable.