tv_sathish wrote:Hi all,
I am trying to use ListView and extending ListActivity in main class. I am repeatedly getting the following RuntimeException and I am not able to figure out what differently I have done from other example apps that I have with me, that use ListView. So kindly help.
tv_sathish wrote:Also can anybody point to any tutorial on how to debug in Eclipse in general and more so with Android, as most of the times when Exceptions are thrown, setting breakpoints does not seem to help and using "Step Over" also does not help. Basically the debugger sometimes takes you to "Looper.class", "Instrumentation.class" that are likely from the SDK. How to then ste out of those classes? In the case of the problem posted above, it did not even reach the first line inside oCreate(). Then how can we debug in such cases?
tv_sathish wrote:And when sometimes debugger does not attach to your launched configuration or DDMS windows is blank, what can b done? I tried re-installing plugin, resetting SDK path but nothing worked. And how is DDMs different from Debug window?
)? So please indicate which specific tutorial are you mentioning?You could use a service to communicate between two Activities.
Today I found a strange problem. I had a small program that worked fine standalone, worked fine as a simple Eclipse project, but throws Exception , when run within android Project (in IntentReceiver class or in main class within onCreate). The code simply contacts Google website and gets some data and processes it. The code has no programming or logical errors and is working fine in other two situations I have mentioned. Why would it fail within Android project? Any networking issue?
And what is the default duration till which Intents are valid or must be used within?
Finally which specific tutorial are u referring to when you mean "Advanced Tutorials"? And I wonder how I can get the reference to the SubActivity instance by running activities as services (Quote:
You could use a service to communicate between two Activities.
)? So please indicate which specific tutorial are you mentioning?
Users browsing this forum: Google [Bot] and 18 guests