Re: [android-developers] NEWBIE needs help with Android Tab Widget tutorial
thanks TreKing I ended up figuring this one out, finally. Now stuck on HelloGoogleMapView tutorial. I am refusing to give in this time and am doing a lot of reading about how to put the code together cause I am obviously missing something. On Sat, Oct 1, 2011 at 10:05 AM, TreKing treking...@gmail.com wrote: On Wed, Sep 28, 2011 at 11:30 PM, Chris Cullington-Johnson chriscj...@gmail.com wrote: My app now doen't display errors but will not run it shows the following error The appication HelloTabWidget (process Tab.Widget) has stopped unexpectedly.. You need to use the debugger and LogCat to determine what is throwing the exception causing the app to crash. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] NEWBIE needs help with Android Tab Widget tutorial
Chris, You should only add the intent-filter into one activity. Intents are communication channels between the layout and the code (to put it roughly). When you have an intent in an activity, that activity is the main communication point of the app. Here's an example from the Dashboard Demo at this site: http://blahti.wordpress.com/2011/03/14/build-dashboard-ui-for-android/. The application then calls the other activities from within the code. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.wglxy.example.dash1 android:versionCode=1 android:versionName=1.0 application android:theme=@style/Theme.D1 android:icon=@drawable/icon android:label=@string/app_name activity android:name=.HomeActivity android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=.F1Activity android:theme=@style/Theme.D1 android:label=@string/title_feature1 / activity android:name=.F2Activity android:theme=@style/Theme.D1 android:label=@string/title_feature2 / activity android:name=.F3Activity android:theme=@style/Theme.D1 android:label=@string/title_feature3 / activity android:name=.F4Activity android:theme=@style/Theme.D1 android:label=@string/title_feature4 / activity android:name=.F5Activity android:theme=@style/Theme.D1 android:label=@string/title_feature5 / activity android:name=.F6Activity android:theme=@style/Theme.D1 android:label=@string/title_feature6 / activity android:name=.AboutActivity android:theme=@style/Theme.D1 android:label=@string/title_about / activity android:name=.SearchActivity android:theme=@style/Theme.D1 android:label=@string/title_search / /application uses-sdk android:minSdkVersion=8 / /manifest *Joel C. Witherspoon* (626) 502 - 7201 joel.withersp...@gmail.com My profiles: [image: LinkedIn] http://www.linkedin.com/in/jcwitherspoon [image: Twitter] http://www.twitter.com/joelwitherspoon [image: Twitter] http://twitter.com/joelwitherspoonLatest tweet: OK Android devs. I'm looking to put a Fisheye menu in my app. I can't port it from Java. I need code. Any ideas? I need your help. Follow @joelwitherspoon http://twitter.com/joelwitherspoon Reply http://twitter.com/?status=@joelwitherspoon%20in_reply_to_status_id=106551753209683970in_reply_to=joelwitherspoon Retweet http://twitter.com/?status=RT%20%40joelwitherspoon%3A%20OK%20Android%20devs.%20I%27m%20looking%20to%20put%20a%20Fisheye%20menu%20in%20my%20app.%20I%20can%27t%20port%20it%20from%20Java.%20I%20need%20code.%20Any%20ideas%3F%20I%20need%20your%20help. 19:21 Aug-24http://twitter.com/joelwitherspoon/statuses/106551753209683968 Get this email app! http://www.wisestamp.com/apps/twitter?utm_source=extensionutm_medium=emailutm_term=twitterutm_campaign=apps Designed with WiseStamp - http://r1.wisestamp.com/r/landing?u=64944b580c4ca423v=2.8.5t=1317489985962promo=10dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_10Get yourshttp://r1.wisestamp.com/r/landing?u=64944b580c4ca423v=2.8.5t=1317489985962promo=10dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_10 On Wed, Sep 28, 2011 at 9:30 PM, Chris Cullington-Johnson chriscj...@gmail.com wrote: I have just joined the Android World and am lovn it, however having a bit of trouble with some of the tutorials, in particular the Hello Tab Widget one. Particular part states Notice that this doesn't use a layout file. Just create a TextView, give it some text and set that as the content. Duplicate this for each of the three activities, and add the corresponding activity/ tags to the Android Manifest file. I think this is where I am going wrong, I don't fully understand how to add the corresponding activity/ tags in manifest file. see below for my code what have I done (or not done). My app now doen't display errors but will not run it shows the following error The appication HelloTabWidget (process Tab.Widget) has stopped unexpectedly.. ? xml version=*1.0* encoding=*utf-8*? manifest xmlns:android=*http://schemas.android.com/apk/res/android* package=*Tab.Widget* android:versionCode=*1* android:versionName=*1.0* uses-sdk android:minSdkVersion=*3* / application android:icon=*@drawable/icon* android:label=* @string/app_name* activity android:name=*.HelloTabWidget*
[android-developers] NEWBIE needs help with Android Tab Widget tutorial
I have just joined the Android World and am lovn it, however having a bit of trouble with some of the tutorials, in particular the Hello Tab Widget one. Particular part states Notice that this doesn't use a layout file. Just create a TextView, give it some text and set that as the content. Duplicate this for each of the three activities, and add the corresponding activity/ tags to the Android Manifest file. I think this is where I am going wrong, I don't fully understand how to add the corresponding activity/ tags in manifest file. see below for my code what have I done (or not done). My app now doen't display errors but will not run it shows the following error The appication HelloTabWidget (process Tab.Widget) has stopped unexpectedly.. ?xml version=*1.0* encoding=*utf-8*? manifest xmlns:android=*http://schemas.android.com/apk/res/android; * package=*Tab.Widget * android:versionCode=*1 * android:versionName=*1.0* uses-sdk android:minSdkVersion=*3* / application android:icon=*@drawable/icon* android:label=* @string/app_name* activity android:name=*.HelloTabWidget* android:label=*@string/app_name * android:theme=*@android:style/Theme.NoTitleBar* intent-filter action android:name=*android.intent.action.MAIN* / category android:name=*android.intent.category.LAUNCHER* / /intent-filter /activity activity android:name=*.AlbumsActivity* android:label=*@string/app_name* intent-filter action android:name=*android.intent.action.MAIN* / category android:name=*android.intent.category.LAUNCHER* / /intent-filter /activity activity android:name=*.ArtistsActivity* android:label=*@string/app_name* intent-filter action android:name=*android.intent.action.MAIN* / category android:name=*android.intent.category.LAUNCHER* / /intent-filter /activity activity android:name=*.SongsActivity* android:label=*@string/app_name* intent-filter action android:name=*android.intent.action.MAIN* / category android:name=*android.intent.category.LAUNCHER* / /intent-filter /activity /application /manifest -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] NEWBIE needs help with Android Tab Widget tutorial
On Wed, Sep 28, 2011 at 11:30 PM, Chris Cullington-Johnson chriscj...@gmail.com wrote: My app now doen't display errors but will not run it shows the following error The appication HelloTabWidget (process Tab.Widget) has stopped unexpectedly.. You need to use the debugger and LogCat to determine what is throwing the exception causing the app to crash. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en