Giter VIP home page Giter VIP logo

openlinkwith's Introduction

Open Link With Build Status

Get it on F-Droid Get it on Google Play

What

Open the current webpage in a browser in another app!

Did it ever happen to you? You click a link (let's say Youtube link) and the system does not ask you anything and opens the link in the browser. And you are stuck in Youtube webview instead of watching the video in the native app.

There are 2 options for you. You either watch the video in the web or you remember the name of the video and search it in the app. Well, not anymore.

With OpenLinkWith, you can share any webpage with it and it will ask you which applications to open the link with.

Althought the original intent of the application is to direct webpages to apps, it can even be used to switch between apps. Imagine you have 2 Twitter clients in your phone. You can open a tweet in the official Twitter application and then switch to an another app with the same tweet opened. Cool, hah?

Why

Although the problem discovered above is not huge, it is missing in the Android ecosystem. And I couldn't find anything doing this. So I wrote one. :)

Although it is not the most useful app, it does save you when you stuck in a browser where you want the native app to be open. I hope you find it useful.

Translation

You can help me translate the app. Head over to Crowdin and start translating Open Link With to your language. https://crowdin.com/project/open-link-with/

License

Copyright (C) 2015 Said Tahsin Dane

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

openlinkwith's People

Contributors

1fexd avatar m68476521 avatar poussinou avatar tasomaniac avatar tcely avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openlinkwith's Issues

Removing calling package conflicts with Firefox Mobile's send page

I mainly use "Open Link With" to make one browser the default for some websites, but not all.
I.e. I've enabled the "Set as browser" feature.

With Firefox mobile, you can send a page from one device to another.
When sending to mobile on android, it creates a notification, which when clicked on opens a "Open with" dialog so you can also open the page in any browser. Most of the time, though, I just want to open it in Firefox itself, which is not listed in the dialog because of this line (it works when removed).

I don't think making an exception for Firefox makes sense, so how about a option to disable this behavior altogether?

Remove tracking parameters from links

As a user, I would like to set Open Link With as my browser and have it both un-shorten the link and remove all tracking query string parameters (e.g. utm_*, ref, fbclid) before opening it.

I'm not sure this fits in the scope of this app, but since you already un-shorten links, I thought might as well suggest it.

Essentially, it would do what these app do, but without the extra step of another share:

Add apps to suggestions list

Might be quite the edge case and more a feature request than an issue but I'd love to be able to manually select an app from ALL apps instead of just those suggested

...I'm trying to get an authentication url to open in the Lexia Core5 reading app on a technically unsupported device. The Lexia website gets upset at the device/browser, so I'd like to try opening directly in the Lexia app -- on a supported device, the URL goes through some processing and redirects to open the app, so I'm not sure this will even work. The Lexia app won't show up in Open Link With... though, just the local browsers, so I can't even try. Could be something with Lexia, or something with my device (an Amazon Fire HD 10, cringe I've already had to modify it to get Lexia on there at all.)

Amazon

Can you PLEASE figure out a way to make Amazon links open in the app??

Android Studio Import problem

Hi,
I checked out project successfully but when importing process of Android Studio starts, it shows error below;

CreateProcess error=2, Sistem belirtilen dosyayý bulamýyor Consult IDE log for more details (Help | Show Log)

Google Photo

Is it possible for it to open Google Photo app when you're in the web app?

Translate addresses to open links in "unsupported" apps

Certain apps, like Twitter Lite, only register to handle a subset of domains (i.e. mobile.twitter.com), it would be very usefull if OLW could have a sort of "translate address" feature like the one sported by this app I stumbled upon.

In the Twitter Lite case just adding "mobile." to "twitter.com/*." renders the Lite app able to handle normal twitter links.

The same goes for reddit apps that can't correctly handle "Open in App" (official app) reddit links when opened within a browser.

This feature would open up a lot of possibilities.

EDIT: it would basically mean to let the user customize the "UrlFixer" module.

Trouble opening certain types of links

Version 2.5-floss F-Droid.

If I go to a link to the comments in a news article, for example this:

https://www.dailymail.co.uk/news/article-6729221/Jussie-Smollett-arrested-faked-racist-attack-lied-police-it.html#comments-6729221

When I try to share it with OpenLinkWith I get an error "no other applications found to handle Url."

I don't think it matters , but I typically browse with Javascript off and then share links like that with OpenLinkWith to open in my browser with Javascript enabled.

Thanks for the wonderful app.

App blocking support

Some apps may be pre-installed and user may not even want to use that app.

One example it browser apps. E.g. Sammy browser. Lots of people do not use it.

The easiest solution that I think of is to show a Dialog with option when an app is long clicked.

Add adaptive icons

Transfer the app icon and the "Add to Homescreen" icon into adaptive icons.

floss f-droid version didn't update to 2.1

im pretty sure something's wrong with either the setup of the app somewhere, or it's something on f-droid's side.

go over to their gitlab and create an issue, since they'll probably need your input anyway

either way i think youll have to push a new version

Default Browser support

Related to the app blocking issue #21

In most use cases blocking need of an app is usually for browsers. There are non-uninstallable browser apps on phones that user may not want to use. And we should offer them for every possible link shared with OLW.

Instead of blocking support, other idea would be to have default browser support.

In this context, another option would be to say "not offer browsers at all" which which will cause OLW to never open browsers but always use native apps.

Add more option

Is it possible that user can add more apps into this app to use for themselves?
Some app i want to share is not in this app 's share menu.

Clipboard support

Put an ability to grab the links from Clipboard.

  • It can be either automatic like Google Translate app.
  • Or it can be a button in the app. The button can appear when there is something in the clipboard.

The latter option will be more battery friendly.

Use CursorLoader

Use cursor loaders to load the data. Should've done this from the beginning.

[Q] [FR] Open link in apps of work profile

Hi, I have some apps on the "work" profile (the ones from play store actually) will it be possible to open links on those apps or that's something only OS can do for security reasons?

Thanks

Advanced Features to disable features

I actually hate to write this but I've been getting so many requests from users to disable some features.

Mostly they are the text select and share feature and add to home screen. I'm planning to add a separate screen to enable/disable them.

I'm planning to have a special screen for each of them. When user enter, they will have full screen with description and possible image. And the Toolbar will have the Switch to disable/enable them.

Cannot update from 2.3-floss to 2.5-floss

F-Droid version is now updated to 2.5-floss but unfortunately, I cannot install that update on my device.

F-Droid only reported "Failed to install update due to unknown error"

Info:
Device Name: HTC one E9 Plus Dual Sim (e9pw / a55ml_dtul)
OS: Android 5.0.2
F-Droid Client: 0.102-3 (I didn't use latest version due to compatibility of index file and UI)

Provide pure-floss build flavor

Crashlytics and play-services are non-free software. Could you provide a gradle build flavor that works without them? Or maybe switch to a freeish alternative like ACRA?

Don't display the already open caller Activity in the chooser

There is not many way to detect the caller Activity. Currently, ShareCompat's callerActivity feature is already implemented. But it looks like most of the popular apps like (Youtube, Twitter, even Chrome) don't use ShareCompat.

If the usage stats are enabled, we can get the last used Activity and hide it.

Turn open link with to open with

What i mean by above title that add support for files. When we share files to open with then it will suggest app similar to what it does with links.

Add privacy policy

Hello, I'm Kelly.
I think having a privacy policy statement will be a good thing for your project seeing it kind of have functionalities that may lead to data collection on your end or not. It's a good end users are made aware of the safety of their privacy. I could draft a privacy policy statement if you wish. It's my way of contributing to open source projects.
If I may?

Request access for Usage Stats

This should be done when we don't have permission

Intent intent = new Intent(Settings.ACTION_USAGE_ACCESS_SETTINGS);
startActivity(intent);

And this is the way to check if we have the permission. I am not sure if this has changed after Android Marshmallow.

public static boolean needPermissionForBlocking(Context context) {
    try {
        PackageManager packageManager = context.getPackageManager();
        ApplicationInfo applicationInfo = packageManager.getApplicationInfo(context.getPackageName(), 0);
        AppOpsManager appOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE);
        int mode = appOpsManager.checkOpNoThrow(AppOpsManager.OPSTR_GET_USAGE_STATS, applicationInfo.uid, applicationInfo.packageName);
        return  (mode != AppOpsManager.MODE_ALLOWED);
    } catch (PackageManager.NameNotFoundException e) {
        return true;
    }
}

Settings page.

Settings page will include

  • Tutorial and Information about the app. #10
  • List of preferred Activities and ability to reset them. #9
  • Request access to the usage stats. #11

Bottom sheet transition animation

The default transition animation on Android works really well with the bottom sheet. But I realized some Android manufacturers have weird custom animations and they make it look bad.

Make App Launch perfect

Unfortunately, app shows a white background before launch.

For the first launch before IntroActivity, show all blue screen.
Before normal launches, show white Activity with blue AppBar

"Add" button to PreferredApps Activity

PreferredAppsActivity only has removal support.
Add an add button. When use clicks it it will suggest apps. When an app from the list is selected, OLW will suggest a domain to be intercepted.
User will be able to edit the domain as well.

Shortened URLs

Shortened URLs are mostly problem. And when they are shared with OLW, they mostly do not work. Instead, OLW can resolve the URLs and work on the resolved end URL.

F-Droid

It would be nice if you can publish this app on F-Droid too.

"Always use" option does not appear on LineageOS with microG and Firefox

So, when I open for example a wikipedia link in firefox, I do get the option to share it with this app, but it just immediately opens the wikipedia app. I don't get the option to always launch it in the app automatically.

So basically, it behaves exactly the same as the button that is already included in Firefox natively. As it says in the title, I use LineageOS (version 15.1, based on Android 8.1.0) and microG (version 0.2.6) instead of official google services. It might be related to that, I'll have to read up on how Android works in that regard and take a look in the source code later.

Latest version (1.5) from Play Store crashing on startup

I can't use this version at all, whether I'm opening the main screen or via intents. I'm running a custom 5.1.1 ROM on an LG Leon (H345/MS345). I sent a report via Google's report system titled "Crashes on startup" (without the quotes) so I hope you can get this fixed soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.