Application criteria/certification?

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


Sponsored Links
 Hi,

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
usage.

Thanks a lot,
-stanley

--~--~---------~--~----~------------~-------~--~----~



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.

Bernhard



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Application criteria/certification?

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


 Hi,

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 
 http://developer.android.com/guide/practices/design/seamlessness.html 

Regards





--~--~---------~--~----~------------~-------~--~----~



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
hack...@android.com

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


 Dianne,

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,
-stanley





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android Application for Public Service to report, dispatch and resolve repairs

http://code.google.com/p/fixxit/

I had an idea to use Android in the public space to report public
works and other problems that need repairs.

Android provides a great tool to document and locate problems. Google
APIs like Maps and Appengine can link these reports to help direct
efforts to make the public space a better place to live.

Unfortunately I'm a Java rookie and so lack the skills to even start
the coding at this point.

I welcome the contributions or suggestions of you advanced developers
to help get this open source application started.

Or if such an application already exists, please let me know.

Thank you.

--~--~---------~--~----~------------~-------~--~----~

2. Unit testing with test-only assets

I my main app and tests are organized like this (standard from
"android create project ..."):

  AndroidManifest.xml
  assets/     -- main app asset files
  src/
  tests/
        AndroidManifest.xml -- uses <instrumentation> to point to the
main app
        assets/  -- test-specific asset files
        src/

Writing test cases with AndroidTestCase, I'd like to load asset files
from the test-specific assets/ directory, not from the main app
assets/ directory.  How can I accomplish that?

The normal way to load an asset would be getContext().getAssets().open
("foo.txt"), for assets/foo.txt in the main app.  I assume I just have
to somehow change the Context or the AssetManager to point to the test-
specific assets directory, but I don't see any way to do that.

I have looked into the tests/bin/MyApp-debug.apk to confirm that the
test assets are in there.  Now I just need a way to access them.


Thanks,
Jeremy

--~--~---------~--~----~------------~-------~--~----~

3. How could I run a Uri based Intent in a Tab Page?

4. Questions on applications and how applications are to follow hardware limitations?

5. post removed about problem starting emulator from command line?

6. PhoneFactory.getDefaultPhone from apps other than PhoneApp

7. How to get the source code of Google maps for android sdk 1.5