INTERACT FORUM

Devices => Androids and other portables => Topic started by: dwvaughn on September 19, 2012, 03:47:02 pm

Title: Gizmo <intent-filter>
Post by: dwvaughn on September 19, 2012, 03:47:02 pm
I'm wondering if anyone knows the <intent-filter> command for Gizmo?  I have a home automtion device that serves a webapge and has the ability to send http commands or launch a webpage but I need to know the <intent-filter> command for Gizmo in order to make this work.  Any thoughts?
Title: Re: Gizmo <intent-filter>
Post by: Matt on September 19, 2012, 03:59:46 pm
I'm not sure I understand the question, but this is the main activity from the manifest:

Code: [Select]
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="jriver.mediacenter.android" android:versionName="18.0.37"
android:versionCode="65">
<activity android:name="jriver.shared.remote.ConnectActivity"
android:label="@string/app_name" android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Title: Re: Gizmo <intent-filter>
Post by: dwvaughn on October 09, 2012, 04:05:15 pm
Matt,

Sorry for the delayed reply but I think this is exactly what I need. Thank you.
Title: Re: Gizmo <intent-filter>
Post by: dwvaughn on October 11, 2012, 03:29:08 pm
Matt,

I checked it out and unfortunately I can't use what is in there to launch the program from a web browser.  Is it possible, and I'll understand if you say no, to get the source code so I can monkey with adding the scheme that I think I'll need in order to accomplish what I need?

http://stackoverflow.com/questions/8453860/android-using-intent-filter-to-launch-app-doesnt-work
Title: Re: Gizmo <intent-filter>
Post by: Matt on October 11, 2012, 03:43:34 pm
Is it possible, and I'll understand if you say no, to get the source code so I can monkey with adding the scheme that I think I'll need in order to accomplish what I need?

No, sorry.
Title: Re: Gizmo <intent-filter>
Post by: dwvaughn on October 12, 2012, 02:34:56 pm
Ok.  Thanks.