External app problem

Hi,

I have deployed a solution where I call an external app here are the
details:

MANIFEST

<?xml version="1.0" encoding="utf-8"?>
<uses-sdk
    android:minSdkVersion="17"
    android:targetSdkVersion="17" />

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="org.path.collect.PathCollect"
        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="org.path.collect.GENERATE_INDEX_ID"
        android:label="@string/app_name" >
        <intent-filter>
    <action android:name="org.path.collect.android.GENERATE_INDEX_ID" />
    <category android:name="category.DEFAULT"/>
</intent-filter>
    </activity>
    
    ...
    
</application>

XML FILE



JAVA FILE

public class GENERATE_INDEX_ID extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
...
}
}

THE problem is I have always the error message defined in xml file even if
I install the APK properly : App not found

App not found

I have installed the latest version of ODK collect and the version that I
use for my external app is android 17, also I have installed the briefcount
example and it works !!! what is wrong with my APK or ODK configuration ?

Thanks,

pathtab2,

That's great news that the example app works. Have you tried rebuilding it
and confirming that your rebuilt version still works? If not => it's
something in your build environment. If so => it's just a matter of
carefully comparing that example project with yours: what's different?

Best,

Chris

ยทยทยท On Wed, Jun 11, 2014 at 10:17 AM, wrote:

Hi,

I have deployed a solution where I call an external app here are the
details:

MANIFEST

<?xml version="1.0" encoding="utf-8"?>
<uses-sdk
    android:minSdkVersion="17"
    android:targetSdkVersion="17" />

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="org.path.collect.PathCollect"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER"

/>

    <activity
        android:name="org.path.collect.GENERATE_INDEX_ID"
        android:label="@string/app_name" >
        <intent-filter>
    <action android:name="org.path.collect.android.GENERATE_INDEX_ID"

/>


    ...

</application>

XML FILE



JAVA FILE

public class GENERATE_INDEX_ID extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
...
}
}

THE problem is I have always the error message defined in xml file even if
I install the APK properly : App not found

App not found

I have installed the latest version of ODK collect and the version that I
use for my external app is android 17, also I have installed the briefcount
example and it works !!! what is wrong with my APK or ODK configuration ?

Thanks,

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.