Thanks TreKing. Got that fixed a while back nut thanks anyways. The problem
right now is that I need to start another activity from the main one but
after putting in the necessary code it force closes.

main activity code to start new activity:

    public OnClickListener a = new OnClickListener() {
        public void onClick(View v) {
            myIntent = new Intent(matchpuzzler.this, level1.class);
            startActivity(myIntent);
        }
    };
myIntent has been declared earlier.

AndroidManifest code:

<application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".matchpuzzler"
                  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:label="@string/hello" android:name=".level1">

        </activity>
      </application>

Still my app force closes. The class I need to show is called level1 and
extends Activity.

Thanks
On Sun, Apr 3, 2011 at 10:19 PM, TreKing <[email protected]> wrote:

> On Sun, Apr 3, 2011 at 9:04 AM, Raghav Sood <[email protected]> wrote:
>
>> How do I make matchpuzzler open?
>
>
> http://developer.android.com/guide/topics/intents/intents-filters.html
>
>
> -------------------------------------------------------------------------------------------------
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to