On Sun, Nov 21, 2010 at 1:55 PM, jotobjects wrote:
> The docs say you can use an "http:" uri, which is not quite a
> "specific real URL" in the way I guess you intend.
>
> http://developer.android.com/guide/appendix/g-app-intents.html
>
> Is your advice in conflict with that page in the docs says
On Sun, Nov 21, 2010 at 12:23 PM, jotobjects wrote:
> So I came up with what I thought was a great solution which worked
> initially -
>
> Intent resolveIntent = new Intent(Intent.ACTION_VIEW,
> Uri.fromParts("http", "", null));
> PackageManager pm = context.getPackageManager();
> ResolveInfo ri =
Do you really need to do it with an intent Can't you just put a
blank page in your app, and have it load that, or put a blank page on
your website? Or am I missing something in what you are asking for?
Sincerely,
Brad Gies
On my phone, the browser shortcut on the home screen opens the browser with
the last page that was visited. Perhaps the behavior you're looking for is
like when, from the browser, you choose Menu + Windows + New window.
I don't know the specifics of your use case (opening a blank browser seems a
On Fri, Nov 19, 2010 at 2:51 PM, jotobjects wrote:
> So maybe I should doing a PackageManager.queryIntentActivityOptions
> for an Intent with CATEGORY_LAUNCHER and URI scheme "http". and then
> use the ResolveInfo to start the Activity. Does that sound right?
>
>String packageNa
Have you tried using a standard intent to open the browser with the
URL "about:blank" ?
Maybe not exactly what you want, but simple and likely to work everywhere.
On Fri, Nov 19, 2010 at 5:51 PM, jotobjects wrote:
> Thanks -
>
> I don't have a URL to launch and I don't want to land on the google
That Intent is okay, though there is no need for BROWSABLE. (As per the
documentation, BROWSABLE means that the Intent came from an untrusted source
so you want to restrict who will handle it to those that say they will
protect themselves from such things.)
I'm not sure what you mean by "empty UR
7 matches
Mail list logo