https://groups.google.com/forum/?fromgroups=#!topic/phonegap/qLOk0rTatH8
Hello everyone. I'm new to phonegap and looking forward to this group.
I can really use your help!
I can't get a simple <a href='file2.html'>Link</a> link to work on
phonegap for Android. I tried multiple simulators, all kinds of
variations on the link. I know phonegap is working, I followed the
steps from the website and when I add a simple href tag to the Hello
World page they provide as an example, it just goes nowhere! I have
file2.html in the same "www" directory as the index file.
I installed eclipse on Mac and PC with the same results. Using
phonegap for iPhone worked just fine.
Here are some examples I've tried. I did about 20 searches on the
subject and just couldn't find an answer.
<a href="file2.html">test 1</a>
<a href="file2.html">test 2</a>
<a href="assets/www/file2.html">
<a href="android_assets/www/
<a href="file:///assets/www/
Again, nothing has worked.. the link just sits there.. any help would
be greatly appreciated!!!
--------------------------
解决办法:
I'm surprised this isn't working. Can you check to make sure you have
the following tag inside your application tag in your
AndroidManifest.xml:
<activity android:name="com.phonegap.
android:label="@string/app_
android:configChanges="
<intent-filter>
</intent-filter>
</activity>
Simon Mac Donald
http://hi.im/simonmacdonald