Emulator not finding java/javascript html program

by Thomas » Mon, 13 Apr 2009 12:14:22 GMT


Sponsored Links
 Hi Guys:
I've written a small javascript - html program
http://gpsmancer/android/amdroidgpstest.html to test linking to an
android platform.  With this I've written as small program that uses a
java  wv.loadUrl( " http://gpsmancer.com/android/androidgpstest.html" ;)
in a android java program. The idea is to provide GPS latitude and
longitude to an html form program.  When I run the app using the
emulator I get "Web page not available". If I go to the android
emulator web browser it finds the url without difficulty.  It has not
trouble finding other URLs as well.  My question: do I need to set
some sort of emulator setting or permission or does the emulator not
work with java/javascript/html?  For those that care about geocaching,
the game can be seen at  http://gmpmancer.com  . There are several
variations and I am attempting to extend the game to android.  I have
a netbook version working on my ASUS netbook running winXP but the
android platform seems to be a logical extension.  Some of the
versions work on IPhone, and various cellphones but in a crippled
sense.
Regards, Tom Birchmire

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Cell Radio Info

Is there a way I can get access to the following information from the
cell. I know that it uses a Qualcomm MSM7201A chip. I know qualcomm
unleashes a boat load of information such as:
Pilots-Channels
PN offset
Neighbours
Searches
PN Codes
Power Control-TX and RX
Slot
DRC
Signal Noise Ratio
Carrier to Noise Ratio
Energy to Noise Ratio

so the question is can I get access to all this information and are
there APIs from Android that I can use.

So far the closets I have come is in
telephony/PhoneStateListener
telephony/NeighboringCellInfo
telephony/CellLocation
telephony/TelephonyManager

any more help is welcome

ain

--~--~---------~--~----~------------~-------~--~----~

2. CPU usage api's query

Hello,
I'm trying to develop a service, which needs to be run in background as a
 low priority task and does some complex processing . I need to gracefully
quit my service when their is a resource shortage( like CPU running low on
memory). Was there any APIs available to know the CPU resource usage ?.
Objectives of my service is to -
   1. Exit service when a high priority application(s) is running and which
 might need entire CPU resources.
  2. Should store my states before onDestroy() of my service is called.

I'm planning to use CPU resource usage api's in service to
check periodically the CPU load and quit the service if CPU load exceed a
threshold(80 %) after storing states. Please let me know of any better way
of handling the objectives of my service stated above. Thanks.

Regards,
Sukumar.

--~--~---------~--~----~------------~-------~--~----~

3. Perspective drawing

4. Google market(vending.apk)

5. Speed up emulator starting

6. Build Contact "Stand Alone" apk - from Android Contact Source Code?

7. BATTERY_CHANGED not being sent for some reason.