power-management
How to get an estimated amount of talktime,music/video playback time, idletime that could be possibly done based on the current level of battery left
I am working on the amazing android platform. I am creating an app which deals with the phone\'s battery level.I am showing the current battery level of the phone, along with few other technical thing[详细]
2023-02-26 14:10 分类:问答Acquiring PARTIAL_WAKELOCK every 10 seconds
Is there any problem with an application which acquires a partial wake lock at 10 second intervals. My use-case for this is being able to continually monitor the user\'s movement via the device accele[详细]
2023-02-25 13:07 分类:问答Appropriate audio format for sound effects on Android phones regarding efficiency
I profiled my programs, and it turned out a large portion of CPU was spent on SoundPool.play(). The game has ~10 sound files, each under 1 second. Currently they are 64kbs variable MP3s. They are loa[详细]
2023-02-17 18:29 分类:问答Android Static Variable Scope and Lifetime
I have an application that has a Service that uses an ArrayList<Double> to store numbers in the background for a very long time; the variable is initialized when the service started.[详细]
2023-02-17 07:12 分类:问答Correct method for setKeepScreenOn / FLAG_KEEP_SCREEN_ON
I am using the method setKeepScreenOn(true) and haven\'t been able to figure out how to call this in relation to the current Activity (which has a content view set).I\'ve been able to get it to work b[详细]
2023-02-17 02:04 分类:问答Faking the battery info in my laptop
How one can fake the battery info in the laptop? I am working on a tool that must fake the power of the battery in my laptop.[详细]
2023-02-16 07:05 分类:问答How would I be able to know if the battery is still charging or full in Windows CE 6?
When charging, how will I know if the battery is already full? GetSystemPowerStatusE开发者_开发问答x2() only tells if it is charging.[详细]
2023-02-15 19:39 分类:问答Efficient way to present and frequently change images on android app?
I have several imageViews in a layout. Frequently, (5-10 sec) I want to have some of the images change (use another source).[详细]
2023-02-15 17:59 分类:问答Prevent battery "damages"
I\'m currently developing with Android SDK, and because I\'m building an application based on camera, I cannot use the emulator to test it.[详细]
2023-02-15 01:22 分类:问答Android: Battery usage of each application
Is there anyway to开发者_如何学C get the battery usage info per application per second in API, adb shell, ...?Other than the battery usage screen in Settings, there is no API or command-line way to ge[详细]
2023-02-13 20:17 分类:问答