На самой веб-странице:
<input type="hidden" id="basePath" value="@string.Format("{0}://{1}{2}",
HttpContext.Current.Request.Url.Scheme,
HttpContext.Current.Request.Url.Authority,
Url.Content("~"))" />
В javascript:
function getReportFormGeneratorPath() {
var formPath = $('#reportForm').attr('action');
var newPath = $("#basePath").val() + formPath;
return newPath;
}
Это работает для моего проекта MVC, надеюсь, что это поможет
Добавить android: exported = "true" в манифесте
<activity
android:name=".ListActivity"
android:label="ListActivity"
android:exported="true">
</activity>
ListActivity - это действие, которое открывается при щелчке уведомления.