Hello,
I want to keep launching my app and stress test two scenarios:
launch it and press BACK key
launch it and press MENU key
I can launch from adb using am command. But how can I send a BACK or
MENU key using adb.
I want to do thousands of rounds of testing so I don't want to do it
I ended up writing an app that sleeps forevern in an event handling
function. Whenever I need to dump stacks, I just run this app and then
adb pull /data/and/traces.txt
On Aug 4, 12:31 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Hello,
We have a service that seem to get
Hello,
We have a service that seem to get deadlocked very occasionally in the
field. It's not possible to hook up to a debugger. We can detect the
deadlock situation programmatically. Is it possible to do this from
within Java code?
if (ohIamDeadlocked()) {
lost nothing here from previous versions of the platform.
On Fri, Jul 30, 2010 at 1:27 PM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Hi Dianne,
Our main problem is that Intent.ACTION_PACKAGE_RESTARTED is no longer
called in Froyo.
(Sorry I digressed to Service ... I
As far as a cache -- you shouldn't count on your process being evicted to
clear a cache. This has problems the other way -- there is no guarantee
your app will be killed *ever* while in the background, since it may never
clear its cache. You should use other policies for this. For example,
PM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
On Froyo, we found that some new Task Manager apps are now using the
ActivityManager.killBackgroundProcesses() to kill apps. When this
happens, Intent.ACTION_PACKAGE_RESTARTED is no longer fired.
How can I find out that my
that can unintentionally be killed.
On Fri, Jul 30, 2010 at 10:15 AM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Dianne, here's the reproduction step on Froyo:
[1] Run on Froyo - start ApiDemos, start the RemoveService sample. You
will now see two processes
On Froyo, we found that some new Task Manager apps are now using the
ActivityManager.killBackgroundProcesses() to kill apps. When this
happens, Intent.ACTION_PACKAGE_RESTARTED is no longer fired.
How can I find out that my application has been killed?
I tried to start a service, and I do see
I want to do something kind of disruptive to the user experience :-)
so I want to do it only when the phone is locked. Is there a way to
tell this?
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I RTFM and found the answer:
return
((KeyguardManager)getSystemService(KEYGUARD_SERVICE)).inKeyguardRestrictedInputMode();
On May 12, 11:52 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
I want to do something kind of disruptive to the user experience :-)
so I want
you lose preferences and data saved by the app.
On Feb 10, 11:20 am, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
I saw onhttp://developer.android.com/guide/topics/security/security.html
that my app can declare a permission:
manifest xmlns:android=http://schemas.android.com/apk/res
I saw on http://developer.android.com/guide/topics/security/security.html
that my app can declare a permission:
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.me.app.myapp
permission
android:name=com.me.app.myapp.permission.DEADLY_ACTIVITY
Hello Android OpenGL/real-time gurus,
I am drawing a pretty simple scene, with one large texture the about
size of the screen (two triangles). I notice that the frame-rate is
irregular: in most of cases, a frame finishes in 17 ms. However, in
about 1 of 10 times, the frame finishes in 33ms.
My
Thanks for the suggestion. I forced GC before starting the animation
and I can verify that no GC log comes in logcat, but still I am seeing
stuttering in the animation.
On Feb 1, 10:24 am, fulanito fulanito...@gmail.com wrote:
I am drawing a pretty simple scene, with one large texture the about
is to multiply the
rotation amount by the time difference between the current frame and
the last frame - that way the amount moved is constant over time.
On Feb 1, 5:18 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Hello Android OpenGL/real-time gurus,
I am drawing a pretty
to come.
SoftwareForMe.com
Makers of PhoneMyPC
On Mon, Nov 30, 2009 at 10:21 PM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
No, it's not protected.
On Nov 30, 10:12 pm, westmeadboy westmead...@yahoo.co.uk wrote:
Is your app copy-protected?
On Dec 1, 1:48 pm, tomei.ninge
My app is now showing up on HTC tattoo. Many people have complained
about this and I don't see ANY response from Google.
Google, you are PATHETIC!
Could anyone who has a Tattoo post the name of ONE (or preferably a
few :-) apps that can show up on HTC Tattoo? I will pirate them and
copy their
the
names of apps?
Also, blatently stating that you're planning to pirate apps might not be the
best of ways to get help...
On Mon, Nov 30, 2009 at 11:06 PM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
My app is now showing up on HTC tattoo. Many people have complained
about
Sherman impact...@gmail.com wrote:
Never bored, always working on new apps :)
On Mon, Nov 30, 2009 at 11:36 PM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Why is this group full of people who want to make a statement about
everything when they don't have anything
Hi SoftwareForMe.com,
Sorry for my ranting. I was/am really frustrated by Google's lack of
developer support, especially related to the Market.
I really would like to have features like these:
(a) When I upload my app, it would be nice for them to give me a
warning -- your app will not show up
No, it's not protected.
On Nov 30, 10:12 pm, westmeadboy westmead...@yahoo.co.uk wrote:
Is your app copy-protected?
On Dec 1, 1:48 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Hi SoftwareForMe.com,
Sorry for my ranting. I was/am really frustrated by Google's lack
I found that on DROID OpenGL implementation acts very differently than
all other 1.5 and 1.6 phones.
Bug (1): I have a SurfaceView that has getVisibility() ==
VIEW.VISIBLE, but is completely hidden by another view. When I am in
portrait mode, and pull open the keyboard, the screen orientation
Hello,
Has anyone fully decoded the market's protocol? I want to do something
simple and harmless -- easily find out comments for my apps in all
languages.
I found some info in http://strazzere.com/blog/?p=293 but that doesn't
seem to be complete. I.e., no generic way to find out a tokenId from
/setFlags affter the
activity has been created. The exception told me something like You
cannot modify the flags once the activity is created.
On Nov 12, 5:01 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Thanks Dianne. This works like a charm. The title bar even animates
I have to say that Android's screen compatibility worked out really
well for me. My app specifies all positions using DIPs, and it worked
on the DROID without any change (or even recompilation -- the app was
built using SDK 1.1).
Essentially all screen coordinates were scaled by 1.5, and bitmaps
My OpenGL app animates only every now and then, so I decided to use
RENDERMODE_WHEN_DIRTY to save some battery life. However, I found that
when I go to Home Screen and return to my app, I often get a black
screen, and I see this in logcat:
E/SurfaceComposerClient( 6055): using an invalid surface
...@gmail.com
tomei.ninge...@gmail.com wrote:
There are a bunch of APIs that are hidden using the @hide tag so they
are not exposed in the SDK. If I call these APIs anyway, does the VM
actually prevent me from doing that (in dexopt stage, etc)?
I am trying to do a demo so I just need
There are a bunch of APIs that are hidden using the @hide tag so they
are not exposed in the SDK. If I call these APIs anyway, does the VM
actually prevent me from doing that (in dexopt stage, etc)?
I am trying to do a demo so I just need a quick hack. This is not for
a product so please don't
Are there any developers who switched from 1.1 to 1.5 APIs recently?
Have you heard any complaints from users that are still using a 1.1
device?
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello,
Is it possible to force Android to use a given LCD density value? For
example, if the app is running on a WVGA phone that reports LCD
density of 160DPI *and* screen size of 3.7inch, one of those two
values must be wrong. Is it possible to tell Android to ignore the
160DPI value and use
Is it possible to allocate at least 1024x1024 pixels of textures? This
seems to be the case on the G1 (I have a very small number of vertices
and a few very big textures). Is it safe to assume that all Android
phones can support at least this much of texture?
Thanks
--
You received this message
10, 2009 at 9:48 PM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Hi,
Is it possible to show/hide the status bar without creating a new
full screen activity?
I want to creating something like Firefox browser, where user can
toggle the full screen mode.
Thanks
Hi,
Is it possible to show/hide the status bar without creating a new
full screen activity?
I want to creating something like Firefox browser, where user can
toggle the full screen mode.
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers
On my G1 that runs Android 1.6, I enabled screen rotation in the
Settings app. Then, I run the ApiDemos, start the
TranslucentGLSurfaceViewActivity, and rotating the phone. After a few
trials, the TranslucentGLSurfaceViewActivity stops refreshing. I see a
lot of this in adb logcat:
E/libEGL
Does anyone have a real answer?
I need to do this. If you don't know how to do it please don't feel
obliged to reply to tell me it's not an androidie thing to do.
On Nov 3, 3:32 pm, Mark Murphy mmur...@commonsware.com wrote:
tomei.ninge...@gmail.com wrote:
From one activity, I want to pass
From one activity, I want to pass a lot of data (about 1MB of
Strings).
I tried sticking it in Intent.putExtra(ArrayListString), but if I
put in too much data, I get FAILED BINDER TRANSACTION.
What's the easiest way? I don't want to publish a service, or use the
file system. I really want a pipe
What purported to be a web company doesn't even let developers see
user comments from the so-called Developer Console.
Now they shut down Cryket.
What the fiick?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
When user presses BACK key, my activity's onDestroy is called and then
it is killed. Is there a way (by overridding Activity.onKeyDown??) to
simply put the activity into background without killing it?
I want the BACK key to act like the HOME key (which doesn't kill my
app), except I want to show
killed
yet.
If you need a background process read up on services.
--
RichardC
On Oct 28, 7:26 am, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
When user presses BACK key, my activity's onDestroy is called and then
it is killed. Is there a way (by overridding
.
On Oct 28, 4:42 am, Piotr piotr.zag...@gmail.com wrote:
If you think how to get around application lifecycle, then you
project design is TOTALLY BAD. Really.
Redesign project.
On 28 Paź, 08:26, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
When user presses BACK key, my
From the adb log of my G1's boot time, it shows requestGPU returned
-1, among other stuff. Does this mean that my OpenGL app is being
rendered using software?
BTW, I see the same messages on Hero as well.
Thanks
--- log begin
Hello,
I know how to load an XML file into JavaScript (using
Window.XMLHttpRequest). However, on Android, is there a way use
Javascript to read an HTML page and save it into a string variable?
Like this:
script language=JavaScript
var htmlData = getHtmlData(http://www.cnn.com;);
/script
I
Is there a programmatic way on Android (inside Java code, or in
JavaScript code in a WebView) to determine if the device has flash
player?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
(92K) [image/jpeg]
On Oct 14, 9:53 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
My problem may not be the same. I got this only on actual G1 device,
not on emulator.
Also, if G1 is connect to my home WiFi network (comcast), the DNS for
i0.sinaimg.cn is resolved without any
Hello,
This happens only when my G1 phone is on T-Mobile network:
I found that when I try to go to the browser, and type the address
http://i0.sinaimg.cn/
The browser tries to load the page, but no progress is shown for more
than 2 minutes.
(I have full 3G signal; all other addresses
, 9:29 pm, for android forandr...@gmail.com wrote:
http://code.google.com/p/android/issues/detail?id=2764
On Thu, Oct 15, 2009 at 4:40 AM, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
Hello,
This happens only when my G1 phone is on T-Mobile network:
I found that when I
Hello,
I am running Eclipse on Win32 and my Android emulator on Linux.
Is there a way to use Win32 eclipse to debug code on the emulator that
runs on Linux?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
I want to run part of my app logic in a background service. However,
much of the app uses JavaScript. Currently I run the JavaScript inside
a WebView.
Is it possible to have an invisible WebView while running inside a
Service?
If the answer is no, is there any way to run JavaScript inside a
, Miguel Paraz mpa...@gmail.com wrote:
Hi,
I looked into this myself...
On Oct 9, 3:00 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
I want to run part of my app logic in a background service. However,
much of the app uses JavaScript. Currently I run the JavaScript inside
I have an app that keeps pulling data from the network. I noticed that
my downloading speed seems to have slowed down if I let the phone's
screen to black out.
Is this true?
Is there a way to tell Android keep using full network speed even
when screen is blacked out?
Thanks
== ..) {
/* fix the li's style to an inactive link */
}
}
}
I just run this code at the end of the data to be loaded into WebView.
On Sep 20, 11:39 pm, tomei.ninge...@gmail.com
tomei.ninge...@gmail.com wrote:
My work-around works for all cases except one: if the page contains
this link:
a href
My work-around works for all cases except one: if the page contains
this link:
a href=click/a
When the user clicks the link, shouldOverrideUrlLloading is not
called.
On Sep 18, 5:15 pm, Jason Proctor jason.android.li...@gmail.com
wrote:
you probably want to set the web view client before
I read http://developer.android.com/guide/topics/resources/resources-i18n.html.
But it shows how to localize your app for the currently selected
locale of the phone. However, I want to add a language option into
my own app, and allow the user to switch the UI language independent
of the phone's
I know one way that works for sure. Open a server socket inside your
app, then specify http://localhost:1234 inside WebView. This seems
like a hack (and maybe it is :-) but it's much simpler than fighting
with WebView.
On Sep 18, 10:41 am, Jason Proctor jason.android.li...@gmail.com
wrote:
i
54 matches
Mail list logo