Run Simple Projec

by Ricardo Canastro » Thu, 26 Jun 2008 16:01:42 GMT


Sponsored Links
 Hello,

I've just started on android and i was trying to run some samples, but
all the time i try to run some code i get this error message:

" Application not responding

The Application com.google.android is not responding"

I installed eclipse and android and everything seemed to be right till
the moment i try to run a simple code.
Any idea what I'm doing wrong? :x

Sorry for the lame question :S

-- 
Ricardo Canastro

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



Run Simple Projec

by NoOne » Thu, 26 Jun 2008 16:01:43 GMT


 Hello,

I've just started on android and i was trying to run some samples, but
all the time i try to run some code i get this error message:

" Application not responding

The Application com.google.android is not responding"

I installed eclipse and android and everything seemed to be right till
the moment i try to run a simple code.
Any idea what I'm doing wrong? :x

Sorry for the lame question :S

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


Sponsored Links


Other Threads

1. View caching?

I'm developing an app that runs both on Android and JSE/Swing so
there's a platform-independent part (~90% of code) that operates in
terms of interfaces for UI (sqlite, xmlpullparser, etc.) with
implementations being provided by a homebrew 'DependencyContainer'. At
the very beginning of app startup implementations get "injected" and
later fetched at runtime. No probs on desktop, on Android everything
works until the first context change (e.g. press 'back' and then
launch the app againg so that onCreate() gets called).
So, what I do in onCreate() is null all the Context-dependent items
and recreate them providing the new context. Unfortunately, this
doesn't work.
Say, I simplify it down to having a single ListView with some items
and OnClickListener that i store into DependencyContainer first, then
fetch it and set it in setContentView().
Here's how it works:
1. Launch app - got ListView with items, OnClickListener works as
expected
2. Hit back.
3. Launch again, the ListView is empty, clicking on it will crash the
app which is caused by a nullpointer in onClick()
4. After the crash, launch again - works as expected
The odd thing is that in debug mode a breakpoint set on onClick()
somehow isn't even reached!

Is there some sort of View caching or smth? Any suggestions?

TIA.
--~--~---------~--~----~------------~-------~--~----~

2. HttpUrlConnection - Authentication

I am beating my head against a wall trying to figure out why I cannot
get Authenticated on my server whilst using HttpUrlConnection. I need
to post a file in a post method and it seems I cannot do so with the
DefaultHttpClient and a regular HttpPost (unless I am completely
missing something?). I can get DefaultHttpClient to authenticate just
fine using setCredentials() but the same doesn't exist for
HttpUrlConnection so I try to set through setRequestProperty:
conn.setRequestProperty("Authorization", "Basic " +
Base64EncodedUserNamePassword); to no avail. Can anyone offer some
insight? Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~

3. Creating a Custom Shapped Button using Canvas? Is it possible?

4. The specified child already has a parent. You must call removeView() on the child's parent first.

5. Creating a Custom Shapped Button using Canvas? Is it possible?

6. Providing text-to-speech (TTS) capability in my Android application?

7. Why was bionic/libc/include/sys/shm.h removed?