so I’m trying to start another activity by using this:
public void onClick(View v) {
// TODO Auto-generated method stub
Intent openMap = new Intent("com.highapps.bicineta.MAPVIAS");
startActivity(openMap);
}
});
my android manifest looks like this:
<activity
android:name=".MapVias"
android:label="@string/app_name"
android:exported="false" >
<intent-filter>
<action android:name="com.highapps.bicineta.MAPVIAS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
and im getting this error:
“No activity to handle intent”
the funny thing is that i have the same code block to start another activity and it works just fine.. What am I doing wrong?
1 Answer