Newbie Question] Run Simple Project

by NoOne » Thu, 26 Jun 2008 19:41:57 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

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



Other Threads

1. Implement two searchable activities

Hi,

I am trying to implement two different searchable activities, one for
honeycomb(with search widget) and others for non-honeycomb(with search
dialog).

Manifest looks like:

 <activity android:name=".activities.Search"
                android:theme="@style/NoTitleTheme"
                android:configChanges="orientation|keyboardHidden"
                android:launchMode="singleTop">
                    android:enabled="@bool/disableForNonHoneycomb"
                <intent-filter>
                    <action
android:name="android.intent.action.SEARCH" />
                </intent-filter>
                    <meta-data  android:name="android.app.searchable"
                        android:resource="@xml/searchable"
                        android:value=".activities.Search"/>
            </activity>
            <activity android:name=".activities.SearchHoneycomb"
                android:theme="@style/CustomTheme"
                android:configChanges="orientation|keyboardHidden"
                    android:enabled="@bool/enableForNonHoneycomb"
                android:launchMode="singleTop">
                <intent-filter>
                    <action
android:name="android.intent.action.SEARCH" />
                </intent-filter>
                <meta-data  android:name="android.app.searchable"
                            android:resource="@xml/searchable"
 
android:value=".activities.SearchHoneycomb"/>
            </activity>

And, I use following code to get the searchable configuration and set
up the search view in my activity.

SearchManager searchManager = (SearchManager)
getSystemService(Context.SEARCH_SERVICE);
_searchView = (SearchView)
mCustomView.findViewById(R.id.action_bar_searchwidget);
_searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));

Problem is that when I use the search widget, it does not start the
SearchHoneycomb activity. How can I make this work?

Thanks.

-- 

2. Android vs Linux (Network Stack)

hi everybody,
Im working on Android wifi security. I want to know how much Aandroid
kernel is different from Linux kernel with respect to its network
stack. please reply in detail and if possible suggest me some specific
resources (not coding level).

-- 

3. Ethernet and POTS modem

4. ActionBar Tabs Fragment EditText instance

5. Gallery Infinite Loop

6. Class not found exception static fragment library

7. Communicating with USB devices on Android Tablet