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"
wrote:
> Hello,
>
> We have a service that seem to
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()) {
Thread.something.dumpSt
> 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 exampl
broadcast.
>
> You have 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
though). Whoops. I'll fix
> > that.
>
> > That said, the service *does* restart like it always did, and I have
> > confirmed it does. That code path hasn't changed at all. So basically the
> > behavior is still like it was pre-2.2, except there are sti
ny time anyway.
>
> On Thu, Jul 29, 2010 at 6:37 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()
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 th
I RTFM and found the answer:
return
((KeyguardManager)getSystemService(KEYGUARD_SERVICE)).inKeyguardRestrictedInputMode();
On May 12, 11:52 pm, "tomei.ninge...@gmail.com"
wrote:
> I want to do something kind of disruptive to the user experience :-)
> so I want to do
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
cause you lose preferences and data saved by the app.
On Feb 10, 11:20 am, "tomei.ninge...@gmail.com"
wrote:
> I saw onhttp://developer.android.com/guide/topics/security/security.html
> that my app can declare a permission:
>
> http://schemas.android.com/apk/res/android";
I saw on http://developer.android.com/guide/topics/security/security.html
that my app can declare a permission:
http://schemas.android.com/apk/res/android";
package="com.me.app.myapp" >
So if another app "Foo" need to invoke the deadly activity, it would
declare the following in its Ma
> > 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"
>
> > wrote:
> > > Hello Android OpenGL/real-time g
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 wrote:
> > I am drawing a pretty simple scene, with one large texture the about
> > size of the scr
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 gu
can do with an app that won't be
> possible in HTML5 for many years 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
No, it's not protected.
On Nov 30, 10:12 pm, westmeadboy wrote:
> Is your app copy-protected?
>
> On Dec 1, 1:48 pm, "tomei.ninge...@gmail.com"
>
>
>
> wrote:
> > Hi SoftwareForMe.com,
>
> > Sorry for my ranting. I was/am really frustrated by
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 o
9:01 pm, Nemat wrote:
> Hi,
>
> I have tattoo.But I dont understand your problem.How can I help
> you
>
> Regards
> Nemat
>
> On Dec 1, 9:55 am, Dan Sherman wrote:
>
>
>
> > Never bored, always working on new apps :)
>
> > On Mon, Nov 30, 2009
t; 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
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 An
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 does
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
y
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"
>
>
>
> wrote:
> > Thanks Dianne. This works like a charm. Th
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
w
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 i
19, 5:54 am, "Fred Grott(Android Expert,
http://mobilebytes.wordpress.com)"
wrote:
> Try it you will not get a compile though..the are not in the
> framework jar so it would be a pointless task on your part..
>
> Fred Grott
> Android Developerhttp://mobilebytes.wordpress.com
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 tel
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
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 240D
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 an
0, 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 some
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 (1303
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
>From one activity, I want to pass a lot of data (about 1MB of
Strings).
I tried sticking it in Intent.putExtra(ArrayList), 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 tha
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 wrote:
> tomei.ninge...@gmail.com wrote:
> > From one activity, I want to p
anagement.
>
> On Oct 28, 4:42 am, Piotr 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.co
#x27;t been killed
> yet.
>
> If you need a background process read up on services.
>
> --
> RichardC
>
> On Oct 28, 7:26 am, "tomei.ninge...@gmail.com"
>
>
>
> wrote:
> > When user presses BACK key, my activity's onDestroy is called and then
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
>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:
var htmlData = getHtmlData("http://www.cnn.c
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
200 OK
Length: 93,820 (92K) [image/jpeg]
On Oct 14, 9:53 pm, "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
, 9:29 pm, for android 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-
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 work
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 "An
26 am, Miguel Paraz wrote:
> Hi,
> I looked into this myself...
>
> On Oct 9, 3:00 pm, "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 JavaScri
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
Serv
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
--~--~-~--
ref == ..) {
/* 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"
wrote:
> My work-around works for all cases except one: if the page contains
> this link:
>
My work-around works for all cases except one: if the page contains
this link:
click
When the user clicks the link, shouldOverrideUrlLloading is not
called.
On Sep 18, 5:15 pm, Jason Proctor
wrote:
> you probably want to set the web view client before calling any
> variant of load().
>
> there
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
wrote:
> i had all kinds of trouble trying
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
54 matches
Mail list logo