Click here to Skip to main content
14,934,560 members
Home / Discussions / Android
   

Android

 
QuestionRe: Show a ProgressDialog inside a Fragment that is injected in a Tab Pin
David Crow2-Oct-17 3:09
MemberDavid Crow2-Oct-17 3:09 
AnswerRe: Show a ProgressDialog inside a Fragment that is injected in a Tab Pin
Vimalsoft(Pty) Ltd2-Oct-17 7:11
professionalVimalsoft(Pty) Ltd2-Oct-17 7:11 
QuestionRe: Show a ProgressDialog inside a Fragment that is injected in a Tab Pin
David Crow2-Oct-17 7:14
MemberDavid Crow2-Oct-17 7:14 
AnswerRe: Show a ProgressDialog inside a Fragment that is injected in a Tab Pin
Vimalsoft(Pty) Ltd2-Oct-17 7:25
professionalVimalsoft(Pty) Ltd2-Oct-17 7:25 
QuestionRe: Show a ProgressDialog inside a Fragment that is injected in a Tab Pin
David Crow2-Oct-17 7:30
MemberDavid Crow2-Oct-17 7:30 
AnswerRe: Show a ProgressDialog inside a Fragment that is injected in a Tab Pin
Vimalsoft(Pty) Ltd2-Oct-17 7:37
professionalVimalsoft(Pty) Ltd2-Oct-17 7:37 
QuestionTiming and fragment creation Pin
David Crow29-Sep-17 7:44
MemberDavid Crow29-Sep-17 7:44 
QuestionAndroid.Content.ActivityNotFoundException: Unable to find explicit activity class Pin
Vimalsoft(Pty) Ltd28-Sep-17 6:43
professionalVimalsoft(Pty) Ltd28-Sep-17 6:43 
Good Day Everyone

From my AppCompatActivity class i am trying to open an activity as an intent like this
<pre>Intent homemap = new Intent(this, typeof(HomeMap));
    var  fintent = new Intent(this, homemap.Class);
    StartActivity(fintent);</pre>

and my manifest i have declared my Activity like this
<pre><activity
        android:name=".Toletsa.HomeMap"
        android:label="@string/title_activity_maps" /></pre> 

and my package name in the manifest is package="com.vimalsoft.toletsa" . My assembly name is Toletsa and my namespace is Toletsa

The layout file for my Activity that i want to open as an intent is
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_privacy_policy"
    android:layout_width="match_parent"
    android:layout_height="match_parent" 
    tools:context="com.vimalsoft.toletsa.Toletsa.HomeMap">
  <fragment
      android:id="@+id/map"
      android:layout_width="200dp"
      android:layout_height="200dp"
      class="com.google.android.gms.maps.MapFragment" />
</RelativeLayout>

when i run the project i get an error when starting the activity

Unhandled Exception:
Android.Content.ActivityNotFoundException: Unable to find explicit activity class {com.vimalsoft.toletsa/android.content.Intent}; have you declared this activity in your AndroidManifest.xml?


Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com

SuggestionRe: Android.Content.ActivityNotFoundException: Unable to find explicit activity class Pin
Richard MacCutchan28-Sep-17 9:44
mveRichard MacCutchan28-Sep-17 9:44 
GeneralRe: Android.Content.ActivityNotFoundException: Unable to find explicit activity class Pin
Vimalsoft(Pty) Ltd28-Sep-17 22:44
professionalVimalsoft(Pty) Ltd28-Sep-17 22:44 
GeneralHow are chat application in Android used? Pin
Salfishya Mary28-Sep-17 3:58
MemberSalfishya Mary28-Sep-17 3:58 
GeneralRe: How are chat application in Android used? Pin
Richard MacCutchan28-Sep-17 5:20
mveRichard MacCutchan28-Sep-17 5:20 
GeneralRe: How are chat application in Android used? Pin
Sienna Amelia3-Oct-17 2:07
MemberSienna Amelia3-Oct-17 2:07 
QuestionSQL server connection in Android Pin
Malashree Halade19-Sep-17 20:26
MemberMalashree Halade19-Sep-17 20:26 
AnswerRe: SQL server connection in Android Pin
Richard MacCutchan19-Sep-17 22:11
mveRichard MacCutchan19-Sep-17 22:11 
AnswerRe: SQL server connection in Android Pin
Vimalsoft(Pty) Ltd25-Sep-17 4:12
professionalVimalsoft(Pty) Ltd25-Sep-17 4:12 
QuestionAccess MySql using php script from Android app.. Pin
Member 1341654718-Sep-17 16:03
MemberMember 1341654718-Sep-17 16:03 
QuestionRe: Access MySql using php script from Android app.. Pin
David Crow19-Sep-17 9:47
MemberDavid Crow19-Sep-17 9:47 
AnswerRe: Access MySql using php script from Android app.. Pin
Member 1341654720-Sep-17 16:03
MemberMember 1341654720-Sep-17 16:03 
GeneralRe: Access MySql using php script from Android app.. Pin
Member 1341654720-Sep-17 19:24
MemberMember 1341654720-Sep-17 19:24 
SuggestionRe: Access MySql using php script from Android app.. Pin
David Crow20-Sep-17 16:52
MemberDavid Crow20-Sep-17 16:52 
GeneralRe: Access MySql using php script from Android app.. Pin
Member 1341654723-Sep-17 15:03
MemberMember 1341654723-Sep-17 15:03 
QuestionFCM notification Pin
Malashree Halade9-Sep-17 3:26
MemberMalashree Halade9-Sep-17 3:26 
AnswerRe: FCM notification Pin
David Crow9-Sep-17 4:55
MemberDavid Crow9-Sep-17 4:55 
GeneralRe: FCM notification Pin
Malashree Halade9-Sep-17 5:38
MemberMalashree Halade9-Sep-17 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.