10/09/2009, 01:26 AM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 805
Likes Received: 7
Thanks: 175
Thanked 60 Times in 55 Posts
|
Goal: This post is a proposal for a hardware/software product line that is novel for the Palm Pre.
Topics discussed: Developer support to port software, Hardware product design, Marketing. Product Type: Fuel efficiency products Why a fuel efficiency product?
There are many options:
Many uses currently exist for the Palm Pre in the automobile, not to mention possible future uses presented herein. There is an opportunity to create a top quality aftermarket manufacturing product. The following are some important implications of making a custom car mount
Having discussed the rationale for this product idea, I will try to describe in a brief but detailed manner how some of the products currently on the market work.
How this could really help the reputation of palm. Embracing the opportunity to support one or more of these developers may have unforeseen benefits.
|
10/09/2009, 01:49 AM
|
#2 (permalink) |
|
Member
![]() Join Date: Jul 2009
Location: Rosemead, CA
Posts: 27
Likes Received: 0
Thanks: 5
Thanked 1 Time in 1 Post
|
Basically this is a Datalogger program of some sort. This would be awesome.
__________________
Jesus Heredia...... www.prepaidlegal.com/hub/jjheredia http://ppl.blastoffnetwork.com/jesusjheredia40 |
10/09/2009, 02:03 AM
|
#3 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 104
Likes Received: 0
Thanks: 9
Thanked 30 Times in 24 Posts
|
So... basically, I'm hearing that you want someone to port the iPhone OBD-II app to WebOS. Why should Palm care about this when Exchange sync is still broken?
Just askin'... |
10/09/2009, 08:08 AM
|
#4 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 805
Likes Received: 7
Thanks: 175
Thanked 60 Times in 55 Posts
|
Quote:
P.S. I thought their recent release fixed the exchange problems that were created with exchange sync...I remember them releasing something two days after the big update to correct that. |
|
10/09/2009, 08:10 AM
|
#5 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 805
Likes Received: 7
Thanks: 175
Thanked 60 Times in 55 Posts
|
I also think that the green meter approach may be just as valuable, provided a database of drag coefficients for cars or classes of cars is used. Does one exist? I don't know yet
|
10/09/2009, 09:50 AM
|
#6 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Hi folks,
I am the greenMeter developer. I would love to provide greenMeter on the Pre, and planned to do so earlier in the year. However, there are two main issues preventing it at this time. The first problem, as you have noted, is the low frequency accelerometer sampling. We need about 50Hz to make it practical, but could skate by with 30Hz (minimum needed to drive smooth graphics). Second, and more important, is that I need a way to protect my source code, which is extremely sensitive (to competition that is). Right now, there is no secure way to do this within the webOS. I have investigated obfuscation, but it is not good enough. I was hoping Palm would have addressed these issues by now. I have a bunch of iPhone apps and games that I want to bring to the Pre. I may blog about these topics sometime soon, in hope of getting some action from Palm. Right now they are paying a lot of attention to open source, which is great, but it doesn't address the needs of developers like me. By the way, regarding your last note Rkguy, greenMeter 2.0 now includes a help wizard that will walk you through determining the input specs for your vehicle based on a very simple interview. It's generally good enough to get within 85-95% of the real specs, which is more than enough for the purpose of the app. So anyways, thanks for your interest, and I do hope to be on the Pre someday. Craig |
10/09/2009, 11:55 AM
|
#7 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,686
Likes Received: 0
Thanks: 41
Thanked 365 Times in 215 Posts
|
Quote:
Obviously, if you are integrating the reading or doing other calculus computations on the stream, it gets harder with display, but I've never used you iPhone app so I might be missing something. (None of this is to say that I don't hope Palm increases this speed soon. )
|
|
10/09/2009, 09:58 PM
|
#8 (permalink) | |
|
Member
![]() Join Date: Oct 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Quote:
Unfortunately, I can't link to the greenMeter website to show screenshots or demo movies because I am new to the forum, but it comes down to the complexity of the computations and rendering. Computationally, the app is integrating Newton's 2nd Law with a backward step scheme, using the most current accelerometer reading and the previous one. Accuracy of that scheme is directly proportional to the time step. For my other app gMeter, 50-100Hz is a requirement to get accurate vehicle performance. The greenMeter app is a little more forgiving, and can get by with 40-50Hz, or 30Hz if you don't mind a little error. The rendering could be interpolated between the coarse 4Hz steps, but there are two problems, one being the necessary introduction of lag you noted. The second would be that using interpolation fundamentally means we're clamping the computed derivative unnaturally; even if this was only used for rendering, I believe the results would be un-physical enough to be noticed. Just as good physics make a game realistic, they also have a big effect on the realism when you're mimicking gauges and other types of automotive displays that are intimately linked to the vehicle's motion. Right now, the displays in greenMeter are very responsive and natural looking. I think adding lag and stepwise interpolation would be a step backward. |
|
10/09/2009, 10:21 PM
|
#9 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 1,130
Likes Received: 3
Thanks: 87
Thanked 388 Times in 220 Posts
|
I know that this doesn't provide a long term development solution until Palm gives developers like you more access to the underpinnings of the system, but there are a few short term fixes that may help you on your way.
1. If you look around the homebrew community, you'll find a project for the accelerometer service, which allows you to adjust the sample rate of the accelerometer. I doubt that it would make it into the app store in it's current state, and it hasn't been updated recently, but the proof of concept is there. 2. There are also several programs that run an actual command line including a terminal application and an emulator for some ancient gaming system. I fully realize that these are not app-store friendly, but they do provide the proof of concepts you need to do port your software. While it would obviously NOT be in your best interest to fully develop solutions based on these, they may allow you to lay some groundwork in anticipation of Palm releasing a more complete SDK. |
10/09/2009, 10:33 PM
|
#10 (permalink) | |
|
Member
![]() Join Date: Oct 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Quote:
|
|
10/09/2009, 10:56 PM
|
#11 (permalink) | |
|
Member
![]() Join Date: Aug 2009
Posts: 1,130
Likes Received: 3
Thanks: 87
Thanked 388 Times in 220 Posts
|
Quote:
I certainly hope that Palm sees the importance of this before too long, and starts giving developers what they need to develop serious software. |
|
10/10/2009, 02:11 AM
|
#12 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 805
Likes Received: 7
Thanks: 175
Thanked 60 Times in 55 Posts
|
Quote:
a big thank you to showing up. You don't know how excited I was to see your reply |
|
10/10/2009, 02:22 AM
|
#13 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 1,130
Likes Received: 3
Thanks: 87
Thanked 388 Times in 220 Posts
|
I'm not a developer, and I'm sure one will correct me if I'm wrong, but my understanding is taht WebOS apps are not binary at all. They are written purely in javascript, html and css, so once the app is installed there's absolutely nothing to stop someone from opening up the file system and reading the code.
|
10/10/2009, 11:50 AM
|
#14 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Right, the javascript source code in webOS apps is plain text. You can use a technique called obfuscation to encode or encrypt it, and make it unreadable (or simply harder to read). Unfortunately, javascript is always accessible at run time through a debugger or profiler tool. Javascript is an interpreted language, which means it doesn't get compiled ahead of time, but instead gets "translated" at runtime.
You can keep most people honest with obfuscation, but a knowledgeable developer can get to the source code quite easily. It's an intellectual property quagmire. Since I'm a small developer, I'm most concerned with the idea of a competitor taking advantage of all the hard work I put into the app. iPhone apps get blatantly copied / duplicated all the time, and that's without access to the source code. In webOS apps, you can access everything inside the app bundle. I raised this issue with Palm a couple months ago, but got a boilerplate reply. They recommended trying obfuscation and said they were looking into other solutions. |
10/10/2009, 11:58 AM
|
#15 (permalink) | |
|
Member
![]() Join Date: Oct 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Quote:
I think Palm is playing up the open angle of the webOS and all the apps. In fact, you can look at the source of any of their apps too. This is good for people trying to learn, and it will help to advance the platform forward much like you see in the Linux world. But at the same time, it will probably limit appeal to many commercial developers (also like Linux in some ways). I sort of see that with the existing apps available for the Pre. They appear to be low-risk ways to dip a toe into the pool. The real barometer will be when a big-dollar developer puts a well-known big-dollar app on the Pre. I will be watching that very carefully. |
|
10/10/2009, 02:28 PM
|
#16 (permalink) |
|
Member
![]() ![]() Join Date: Sep 2009
Posts: 137
Likes Received: 0
Thanks: 10
Thanked 32 Times in 23 Posts
|
While the SDK is based around javascript/html/css for the UI aspect there are ways to speak to the back end and have manipulation from binary services. I'm only a hobbyist developer at best but wouldn't creating this back-end binary with all your protected code and have it feed the UI (in a typical client-server model) solve this issue?
Also, I have to interject that the limited commercial appeal for developers in the x86/64 Linux world is much more to do with limited consumer user-base then anything else. There are many closed and proprietary binary solutions for the platform, it's kind of a poor comparison between this issue and the openness of webOS. |
10/10/2009, 03:04 PM
|
#17 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
punzada, you need to sell the native SDK approach to Palm -- the ball is squarely in their court on that one. I'll be glad to use any tools they provide that can get the job done.
Sorry if I wasn't clear on the Linux comparison -- I was talking about two similarities to Linux (openness and limited commercial appeal), but not trying to imply they were related/connected on Linux. |
10/10/2009, 03:45 PM
|
#18 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 4
Likes Received: 0
Thanks: 2
Thanked 3 Times in 1 Post
|
I know this doesn't apply to webos, but in reply to the post that started this thread, it looks like palmos had and app that interfaced to the OBD connection:
www[dot]qcontinuum.org/obdgauge/ It would be cool if you could plug in an adapter to the OBD port that transmitted the necessary data to the pre via bluetooth. Something like this: www[dot]dealextreme.com/details.dx/sku.16921 |
10/14/2009, 12:17 PM
|
#19 (permalink) | |
|
Member
![]() Join Date: Jul 2008
Posts: 889
Likes Received: 0
Thanks: 363
Thanked 76 Times in 47 Posts
|
Quote:
How do you think early iPhone development began? Simple, developers decompiled different pieces of the iPhone, reversed engineered the APIs and got some applications working. iPhone applications can be decompiled into ASM or even Objective-C. Sure, you won't get the exact, original, code but it might be pretty close. Obfuscation buys you basically the same-thing and, depending on the decompiler / obfuscater used, it may be harder to figure out what's going on than decompiling a native application. Why? Well, really good obfuscating applications will overload methods, wrap API calls, and do some really crazy things that decompiled code wouldn't exhibit. I understand that you want to protect your code but I think that's silly. If your iPhone application is built with debugging symbols then anyone can just grab all of your variables / methods and watch the application execute with ease. If the symbols are gone, there are ways of intercepting the API calls to Cocoa then extrapolating the math behind the calls. A simple decompile into Objective-C is always an option as well which would allow the offender the ability to run the app in debug mode and figure out how it works. Remember, .Net and Java work just like webOS applications in that everything is easily visible / decompilable and yet those areas are thriving. If someone wanted to steal your source, they would have done it by now. I do agree that there should be a compilable option for webOS development so applications are faster and more efficient but maybe that'll happen (they have come out and said they know we want it). |
|
11/18/2009, 11:40 AM
|
#20 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 805
Likes Received: 7
Thanks: 175
Thanked 60 Times in 55 Posts
|
Quote:
http://forums.precentral.net/web-os-...lerometer.html |
|
![]() |
|
| Tags |
| environmental, future, green, hardware, software |
| Thread Tools | |
| Display Modes | |
|
|



