by gian » Mon, 16 Nov 2009 12:47:19 GMT

Sponsored Links
I managed to install the various versions of Android on Eclipse and
have been running APiDemos and HelloAndroid but I noticed that make
them work for the Internet connection must be active in the sense that
if i am not connected the emulator does not display anything. I wanted
to know if i can test the code of the programs that are written
offline or must be necessarily connected to the Internet.
thanks for any replies


Other Threads

1. Runtime exception involving getActiveNetworkInfo unable to find source code

The error message should have been displayed in the logs. If you are 
using Eclipse, switch to the Android Perspective and you should see the 


Solved. The problem was that I did not have permission ACCESS_NETWORK_STATE. I found this out by executing getAllNetworkInfo in a try block and reading the error message in catch{Exception e}. Probably I have something badly configured in Eclipse/Android but it would have saved me a lot of trouble if this error message had been displayed 'normally'... Bernard Higonnet
I am on my second day so I claim newbie newbie status! Starting from the "Hello World" application I have been experimenting using Eclipse Galileo under Windows XP and ADT 0.9.5.v200911191123-20404 In my code I have inserted ConnectivityManager netservice = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE); which seems (sic) to work OK and debug shows something plausible for the value of netservice. If I then attempt to execute NetworkInfo netlist = netservice.getActiveNetworkInfo(); I get a runtime exception and what I take to be a call stack the most recent line of which reads: ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) line: 2268 Eclipse opens a tab (with the line above as the title) in a debug pane next to my source code, informs me in that tab "Source not found." and provides a button labeled "Edit Source Lookup Path...". When I click on that button and then "Add..."I am offered seven roots of places where whatever source is being search for might be found. I don't quite know what I should be looking for. I have of course included "import" in my code. Any help appreciated.... BernardHigonnet

2. Background on text part of TextView with an image

I have a situation where I am using a TextView with an image and would
like to set a background on just the text part.   When I use
android:background it sets the background behind both the text and the
image.   Is there a way to have it just put the background behind the
text without me having to tear apart my layout and use a separate
ImageView with the TextView?


3. Send Email

4. OpenGL ES 3D Cube

5. distributing an app packaged with emulator (for windows with sdk 2.1)

6. dollars

7. VOOT: Miring Yuk