Application criteria/certification?

by Stanley Cai » Thu, 05 Mar 2009 13:31:20 GMT

Sponsored Links

I got a dev phone and installed plenty of applications, but the
battery was used out in 7~8hours, even not enough for over-night. I
guess some applications, which had permission to prevent system from
sleeping, killed the battery.

So I am very curious if Google will have any application
criteria/certification for the developers, especially for the power

Thanks a lot,


Application criteria/certification?

by brs » Fri, 06 Mar 2009 00:37:54 GMT

 I think the idea is that the market should pretty much be the wild-
west and user feedback should eventually sort out the good, the bad
and the ugly. There might be some room for a third-party to provide
app audit & certification services. If there is every going to be an
enterprise class Android based phone, the interest for such things
might increase.

Writing power-efficient apps can be quite tricky, specially for people
like myself who are new to mobile application development. As
developers get a better feel for the real hardware, I would hope
things are going to improve. For example careless use of the location
service can drain the battery in no time. When trying to find out
which app is doing what in the background, keep an eye on the status
indicators (GPS, bluetooth, wifi, cell data) as well as run logcat and
top through adb.

To check what is going on when the phone isn't attached to a computer,
I wrote an app (NetMeter on the market) to plot CPU and network
activity as well as display the list of CPU consuming tasks. If
anybody has a way to monitor the logs from app, that would be very
useful as well.



Sponsored Links

Application criteria/certification?

by gjs » Fri, 06 Mar 2009 11:01:05 GMT


Certification is just another dubious method of extracting money from
developers, creating artificial barriers to entry, that only the
richer can afford to jump.

Windows and Symbian is probably better if that is how you want to
spend your money.

There is plenty of reminders & recommendations about being mindful of
power usage for applications in this forum and its mentioned in the
sdk, it seems to be one of the fundamental tenets of mobile app
development regardless of the platform.

See for example 



Application criteria/certification?

by Dianne Hackborn » Fri, 06 Mar 2009 11:39:10 GMT

 >From the platform perspective, we'd like to provide facilities for users to
easily understand why their battery is being used.  There was some very
rough work inside the system in 1.0, and Cupcake has a lot more, but I don't
know when it will be in good enough shape to present to the user as a
standard UI.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.


Application criteria/certification?

by Stanley Cai » Fri, 06 Mar 2009 15:47:59 GMT


Are you talking about the work like class BatteryStats, which provides
battery usage statistics? I think it could be useful from end user's
point of view.

Best regards,


Other Threads

1. Animation on element in a custom view


I have been trying to take one of the elements that I am drawing in a
custom View class and apply an animation on it.

The custom view itself is essentially a background image that I draw
and some overlay images that I am also drawing in the onDraw method
using canvas.drawBitmap(). It is larger then the screen but I can
scroll around and see it. The overlays are sitting on specific
locations of the background image.

Essentially, I am trying to animate one of the overlay bitmaps (just a
simple fade in / fade out with AlphaAnimation). But am having a hard
time only animating that particular element.

The problem I am having is that the animation is being applied to the
entire view, and I just want this one element to be animated. I have
tried using a seperate view for just that overlay, but that creates
other problems, namely when I do this, only the new view will move
with the screen. If there is a away to combine this view with the main
custom view, perhaps that would also help (such that they both move

I am fairly new with Android, so any assistance would be much


Steven Gillan


2. WebView Problem

Hi Guys,

Having a bit of trouble preventing keeping links in the loaded view to
not open up the browser. Can someone please help.




import android.os.Bundle;
import android.webkit.WebView;

public class MyWeb extends Activity {
    /** Called when the activity is first created. */
        WebView mWebView;

        public void onCreate(Bundle savedInstanceState) {

            mWebView = (WebView) findViewById(;



3. FYI EVO/Incredible ADB How-To

4. Error Message on missing permissions

5. LiveWallpapers: Delayed posting of Runnable vs full-fledged paint thread

6. Reg. Screen Orientation - Screen Rebuilding Issue

7. Composite Views and View Controllers