10/22/2012, 06:48 PM
|
#1 (permalink) |
|
Member
Posts: 2,090
|
Here's a simple app I made in a day for the purpose of displaying charging status of attached webOS devices. It has been tested on the webOS 2.x emulator, and on my 3.0.5 TouchPad. That means it will work for Pre2, Veer, Pre3, and TouchPad. I have not tested it on any 1.x devices (I don't have any), but as long as those devices have the same service calls, the app should work with them.
![]() This release is for PC only, because it relies on the .NET Framework. If you can get it working on Mono, good for you. You will also need a working copy of Novacom installed. Readme is included. Make sure you read it. An interesting feature of this app is it can monitor battery status remotely. That is, if your system's Novacom service can detect your device, you can use this app with it, even if it is not connected directly via USB. Look at this thread for info on Novacom over network: https://developer.palm.com/distribut...?f=119&t=19787. If you decide to try this and bind Novacom to a different address/port, in the "Select Device..." dialog box is a "Controller..." button, where you can specify the address and port of the Novacom service. Updated: fixed inconsistent status querying
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. Last edited by GMMan; 10/22/2012 at 07:12 PM. |
10/23/2012, 12:50 PM
|
#3 (permalink) |
|
Member
Posts: 2,090
|
I configured NovacomD according to the thread linked above, and here is a screenshot of the charge monitor getting charging status remotely.
![]() I'll see if I can get a screenshot of charging via wall power some time.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
10/23/2012, 01:55 PM
|
#4 (permalink) |
|
Member
![]() ![]() |
Outstanding.
That's a very outside the box idea. Love it, downloading it, plan to use it soon.
__________________
LG Nexus 4 rooted, unlocked, running Pure Google Jelly Bean 4.2.2 w/ franco.Kernel M2 Samsung Galaxy Nexus rooted, unlocked, testing Ubuntu Touch Developer Preview (dailies) HP TouchPad running webOS 3.0.5 + UberKernel + LunaCE 4.9.5 Beta |
10/23/2012, 06:57 PM
|
#7 (permalink) |
|
Member
Posts: 2,090
|
Sorry, no. I could implement polling charging info from the bootloader, but I'm not sure how stable my Novacom library is and I don't want to risk messing up anyone's device on a low level.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
10/23/2012, 09:11 PM
|
#8 (permalink) |
|
Member
![]()
Posts: 241
|
Not to be overly critical, but wouldn't it have been better if you'd use enyojs instead of .net? That way it would be useable on stuff other than windows, and would kinda follow along with the whole webos thing a little more closely.
I would love to see more open standard coding in the future. |
10/23/2012, 09:25 PM
|
#9 (permalink) | |
|
Member
Posts: 2,090
|
Quote:
AFAIK Enyo doesn't do binary streams. The app uses a local socket connection to the Novacom server (the same way as regular Novacom does it), and there's some binary bit mangling and stuff like that necessary for the communications to work. Also, doing it in JavaScript would just be slow.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



