I hate to bump, but this got covered yesterday by 20+ posts fromm the
same user at 4:18.

Anyone have experiencing using schemes and callback uris?

Regards,

Eddie

On Sep 14, 3:52 pm, Smelly Eddie <[email protected]> wrote:
> My activity calls a browser activity where the users submits their
> info to retrieve a PIN. That PIN is then sent as a parameter to a url
> specified in the request.
>
> I tried adding aschemeto my activity
> --
> <data android:scheme="myscheme" android:pathPrefix="myscheme"
> android:host="com.edwardawebb.myapp.class" />
> --
> And setting thecallbackurl to myscheme://?reponseParameter=868668687
>
> I want the method below to recieve thecallback, but it gets nothing
>
> --
>         public class PinReceiver extends BroadcastReceiver{
>             // retrive PIN after user links withwebsite thorugh browser
>             @Override
>             public void onReceive(Context context, Intent intent){
>                     // Send a text notification to the screen.
>                 NotificationManager nm = (NotificationManager)
>                 context.getSystemService(Context.NOTIFICATION_SERVICE);
>
>            }
>         }
> --
>
> What Happens;
>
> -The browser launches (first page loads successfully)
> -User enters info
> -But the browser just says
> "the webpage myscheme://?reponseParameter=868668687 is not available"
>
> How do I get the browser to recognize myscheme:// as an internalscheme?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to