i want to get an image form the default web browser and edit that image in my application i have searched a lot on many different forums regarding this but i was unable to find a solid answer to that. I am rather confused that whether it is possible or not. kindly, help me out regarding this matter. Thanks.
I'm not sure what you're looking for by "getting an image from the default web browser", but the simplest way to do this would probably be to build your app to respond to a share action from the browser, analyse the URL that is being shared and load that URL in your app. If the URL doesn't point to an image resource, handle the error gracefully.
Related
I've spent few hours trying to get my deep links to work. The only issue that I still have is that it won't work if the link is opened from the domain that is supposed to be handled by the app but it works fine if the link that is clicked from any other website.
For example:
The link which should open the app: https://example34.com/test.
If I click on a link on Github it'll work.
If I open https://example34.com/ and then click on the link from there it will open this in the browser instead of the app...
What am I doing wrong?
Short answer: This is the expected behavior.
When using Applinks, Chrome will always defer to directing users on the same domain to the web instead of deep linking to the native app. The only way to open the application is to trigger a URI scheme when the user is routing within the same domain. I suggest using Branch to guarantee that your links work in all of these cases.
Likes to add screen shot submission for any bugs in my web application which developed using J2EE.That is if there is any bugs then client has the ability to take the screen shot of bug and submit for bug maintains.
So want a efficient mechanism to capture screen shot using JavaScript or Jquery since i want the screen shot of client using my web application.
Already tried with html2canvas.js but it doesn't work in IE8.Wants efficient solution that supports in IE8.
So please help me to find a solution for this.
excanvas.js can be used in html to support canvas.Even though you can't solve it for html2canvas in IE8.
We have an app that we use as an applet in our website. Since the latest Java updates, we can't use it because a third party component uses it's own applet loader, and that is being blocked by the runtime. So, we've moved to Webstart, which is working ok, but when a user downloads the JNLP then leaves our site they can access the app by loading the JNLP. So we miss out on the website traffic.
So my question is: is there any way to make a jnlp "use-once" to force a user to come back to the website? Tying it to a session variable? An entry in the database to say when they were last online maybe? Has anyone else done something similar?
Thanks in advance.
Java Web Start is a deployment technology, not a marketing strategy, but some possibilities suggest themselves:
Exploit the features of the <shortcut/> element.
Dynamically load and display site content in your application.
Make it easy to visit your site using the browse() method provided by java.awt.Desktop.
I'm looking in to trying to build an application that will allow me to interact with specific elements of a web site, without going through a browser.
This is more a matter of general interest but for my prototype I am using the Guardian web site.
I want to log in, crawl through the content to find articles that can be commented on, and then display and allow the logged in user to comment on the articles.
I am a professional java developer but I've never really gone in to http development, and my search for resources that will help me with this project has not turned up much.
Firstly, I suppose I should ask, is this possible?
Secondly if so how would you for instance log in and post a comment to This Article
Have a look at Selenium Webdriver: http://docs.seleniumhq.org/projects/webdriver/
But please be good. Don't make a comment spam robot.
I want to show the web page normally,but still keep the user in my app,
how to make use of the available web render engines programmatically?
UPDATE
I'm now using the webview ,but can't render the page,reporting 404 page not found.
However,when I pack my project and run in another computer,it works like charm!
How to solve this?
Use a webview and implement webkitclient if needed.
More info here
Please explain your question. I cant understand that you want to open the webview with the URL or by the html code. Both of them is totally different. Please explain how do you want to open the webview in application by URL or by HTML
You, as of now, probably let your app open the device web browser to let the user see the content of the URL, via an Intent Action.
Use your activity which uses a WebView and implements its own WebKitClient. Then you can make the user stay in your app and control what and how content is fetched.
#Achie has a nice link for you which explains how Web things work in Android.
To know how to work with WebViews, go to this URL and read the nice article-cum-tutorial