PG2
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Dealing with Cross-Platform Development Issues<br />
49<br />
Figure 2-17 Weinre debug client console<br />
Dealing with Cross-Platform Development Issues<br />
As interesting as all of these PhoneGap capabilities are, there are a lot of issues<br />
that make cross-platform development tasks difficult. The PhoneGap project is<br />
supported by developers from all over the world, including developers who may<br />
have experience with only one or a small number of mobile platforms and developers<br />
who have a strong opinion about how something should be done. The problem<br />
with this is that when you take development projects written by different<br />
people and try to collect them into a single framework, you can bump up against<br />
inconsistencies. Add to this that every mobile platform supported by PhoneGap is<br />
different and has different ways of doing things, and you have a difficult task to<br />
make everything work cleanly and seamlessly.<br />
Note: To the PhoneGap project’s credit, things move pretty quickly, and the issues<br />
I’m complaining about here could very well be fixed in any subsequent release of the<br />
framework. Be sure to check the latest documentation before working around any of<br />
the issues listed in the sections that follow.<br />
Let’s look at some examples.