Related
Howdy all. I thought this would have been built into a WebView but apparently not, so...
Just like any other browser is there a way for me to let users hold down on an image and save it to their phone? I don't know the URL to the image, since there are a tonne of images, I just send them to the website that has them. When they open one up, I want them to have the option to save it to their phone. How do I do that?
Appreciate any help. Cheers.
RED_ said:
Howdy all. I thought this would have been built into a WebView but apparently not, so...
Just like any other browser is there a way for me to let users hold down on an image and save it to their phone? I don't know the URL to the image, since there are a tonne of images, I just send them to the website that has them. When they open one up, I want them to have the option to save it to their phone. How do I do that?
Appreciate any help. Cheers.
Click to expand...
Click to collapse
Dissaponting but you can't do that for the webkit engine doesn't allows you to access on page content from your code for that you need to create a new engine or mod the webkit from AOSP sources
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Dissaponting but you can't do that for the webkit engine doesn't allows you to access on page content from your code for that you need to create a new engine or mod the webkit from AOSP sources
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Wait, really? I use an app called "Reddit is fun" that has a built in webview, it looks fairly basic yet when I hold down on an image in that app a dialog shows up that gives me the option to save the image.
Maybe this could help: http://stackoverflow.com/questions/6619989/saving-the-the-image-from-webview-to-some-folder
Or this: http://stackoverflow.com/questions/8102501/save-images-inside-webview-android-sdk
Or this (I think that this is what you want): http://stackoverflow.com/questions/7963164/context-menu-for-image-saving-in-an-android-webview
nikwen said:
Maybe this could help: http://stackoverflow.com/questions/6619989/saving-the-the-image-from-webview-to-some-folder
Or this: http://stackoverflow.com/questions/8102501/save-images-inside-webview-android-sdk
Or this (I think that this is what you want): http://stackoverflow.com/questions/7963164/context-menu-for-image-saving-in-an-android-webview
Click to expand...
Click to collapse
Thank you, I'll look at those.
RED_ said:
Thank you, I'll look at those.
Click to expand...
Click to collapse
Especially the last one.
After attending a talk about how to market our applications in better ways I just published a library I developed to ask users to users a rating on the Play Store.
It is extremely simple. It keeps track of the first time the application has been used and a counter of the number of times the application has been launched.
You can configure when you want to ask the user to rate your application both in term of number of launches and days from the installation.
When the conditions are met, the library creates a dialog with a button to open the Play Store page of the application, a button to postpone the alert and a button to dismiss it and never get asked again.
You can get the library from GitHub.
Feedbacks and recommendation about how I could improve it are very welcome.
mariosangiorgio said:
After attending a talk about how to market our applications in better ways I just published a library I developed to ask users to users a rating on the Play Store.
It is extremely simple. It keeps track of the first time the application has been used and a counter of the number of times the application has been launched.
You can configure when you want to ask the user to rate your application both in term of number of launches and days from the installation.
When the conditions are met, the library creates a dialog with a button to open the Play Store page of the application, a button to postpone the alert and a button to dismiss it and never get asked again.
You can get the library from GitHub.
Feedbacks and recommendation about how I could improve it are very welcome.
Click to expand...
Click to collapse
I will try it, thanks a lot.
Cyclingforfun said:
I will try it, thanks a lot.
Click to expand...
Click to collapse
Great. Let me know what you think about the library.
I hope you won't have any issue but in case you have problems let me know and we will try to sort them out.
Sent from my GT-I9505 using Tapatalk
Hi,
Here the German Translation: dropbox.com/s/jeoqbshoigft840/values-de.zip
- Jan
Screenshot?
bigjan said:
Hi,
Here the German Translation: dropbox.com/s/jeoqbshoigft840/values-de.zip
- Jan
Click to expand...
Click to collapse
Thank you! I'm traveling without my computer and I cannot push your translation to the repository immediately. If you like you can fork the project on github and create a pull request, otherwise I'll integrate your translation as soon as I get back home
Sent from my GT-I9505 using Tapatalk
Looks great! Got a little confused trying to set up in Eclipse, any suggestions? Thanks for your work!
:good:
pangolin.rollin said:
Looks great! Got a little confused trying to set up in Eclipse, any suggestions? Thanks for your work!
:good:
Click to expand...
Click to collapse
Step 1ownload the libraries.
Step 2:-Then copy the .lib file to the android libraries folder in the project tree for the app you are designing.
Step 3:- Happy coding!
There doesnt seem to be a libs folder. I imported the Javas and followed the directions but don't know how to configure the gradle modules cause I'm using eclipse not studio.
Sent from my SPH-L710 using xda app-developers app
Hello, while this is a good idea to ask for a rating, don't harass the user with it, and don't ask it too soon, leave the user some time to poke around
Regards
pangolin.rollin said:
There doesnt seem to be a libs folder. I imported the Javas and followed the directions but don't know how to configure the gradle modules cause I'm using eclipse not studio.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I am going to make a compiled version of the library next week as soon as I get back home
Sent from my GT-I9505 using Tapatalk
Magissia said:
Hello, while this is a good idea to ask for a rating, don't harass the user with it, and don't ask it too soon, leave the user some time to poke around
Regards
Click to expand...
Click to collapse
Thanks for pointing it out. It is extremely important and the parameters regulating when the application should ask for a rating should be set with care.
I decided to try to make it the less annoying possible by showing the message only once (if not explicitly deferred by the user) when both the conditions on the number of launches and on the time from the first launch are met.
Do you have any idea about how I could make the message even less annoying?
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
Thanks for pointing it out. It is extremely important and the parameters regulating when the application should ask for a rating should be set with care.
I decided to try to make it the less annoying possible by showing the message only once (if not explicitly deferred by the user) when both the conditions on the number of launches and on the time from the first launch are met.
Do you have any idea about how I could make the message even less annoying?
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
I guess a good way would be to be to add a little shiny icon, if the user is curious (s)he will tap on this little icon, and that's the moment to display the pop up kindly asking for the review. This nice little icon taking little space somewhere on the screen would appear after a period of use to leave some time to poke around.
It will have the advantage of playing with end user's curiosity, and not aggressively show a pop-up, since the user will trigger it from it's own action.
Application's developer will be able to use something that fit the current interface or game as icon, not throwing the immersion to trash in a brutal way.
Backup plan in case the user isn't curious would be to still show the pop-up the hard way after some more time.
Some usage example could be adding the icon to the levels list in a game, or adding the icon somewhere in the toolbar for a file manager, text editor. Placing it next to a connect button for a social/messaging application.
Regards
Magissia said:
I guess a good way would be to be to add a little shiny icon, if the user is curious (s)he will tap on this little icon, and that's the moment to display the pop up kindly asking for the review. This nice little icon taking little space somewhere on the screen would appear after a period of use to leave some time to poke around.
It will have the advantage of playing with end user's curiosity, and not aggressively show a pop-up, since the user will trigger it from it's own action.
Application's developer will be able to use something that fit the current interface or game as icon, not throwing the immersion to trash in a brutal way.
Backup plan in case the user isn't curious would be to still show the pop-up the hard way after some more time.
Some usage example could be adding the icon to the levels list in a game, or adding the icon somewhere in the toolbar for a file manager, text editor. Placing it next to a connect button for a social/messaging application.
Regards
Click to expand...
Click to collapse
Thanks for your comments. I'm going to support custom ways to show the alert to the user. The library will still contain the alert message but developers will be able to show whatever they want (possibly something less invasive) when the conditions are met
Sent from my GT-I9505 using Tapatalk
What is that you are doing to make sure the dialog will never be displayed twice ?
SagiLo said:
What is that you are doing to make sure the dialog will never be displayed twice ?
Click to expand...
Click to collapse
The library stores its data in a file and when the dialog is marked as processed it sets a flag which disables further notifications.
Actually a user may see the dialog twice on different devices. We could avoid that with the synchronisation of the data file but I don't know if ot is worth the effort
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
The library stores its data in a file and when the dialog is marked as processed it sets a flag which disables further notifications.
Actually a user may see the dialog twice on different devices. We could avoid that with the synchronisation of the data file but I don't know if ot is worth the effort
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
In a file means its not shared preferences right?
So if the user clears the app data, the file content will live ?
SagiLo said:
In a file means its not shared preferences right?
So if the user clears the app data, the file content will live ?
Click to expand...
Click to collapse
Unfortunately I used shared preferences
I was not thinking at the scenario where the user first uninstalls and then reinstalls an application
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
Unfortunately I used shared preferences
I was not thinking at the scenario where the user first uninstalls and then reinstalls an application
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
Ok... we can try creating some sub mechanism for that,
I.E. checking a file in external sdcard (requires pernission).
Or getting data from the internet whether the user has already rated or not.
Hello, using Internet or a file somewhere can be a good idea if the application itself already use on of those permissions, but it's not legit for an app to ask for Internet or file access just for this, security wise, we should only give the strict minimum permissions the application need to work.
Regards
hi everyone. I am new to this field. And I am needing an idea for developing an android application related to telecommunication field like GPS, 3G, 4G, network, security etc. Kindly suggest me some ideas.
Regards,
Shahrukh
Shahrukhkasi said:
hi everyone. I am new to this field. And I am needing an idea for developing an android application related to telecommunication field like GPS, 3G, 4G, network, security etc. Kindly suggest me some ideas.
Regards,
Shahrukh
Click to expand...
Click to collapse
You can make an app for tracing your device :good:
Further Suggestion
Rick Clephas said:
You can make an app for tracing your device :good:
Click to expand...
Click to collapse
Thank You Rick Celphas for your suggestion. But as I am planning for my final year project I must develop or append some advance features in my application. Initial idea is good, but if you have further suggestion of features, which can be added in this application.
Shahrukhkasi said:
Thank You Rick Celphas for your suggestion. But as I am planning for my final year project I must develop or append some advance features in my application. Initial idea is good, but if you have further suggestion of features, which can be added in this application.
Click to expand...
Click to collapse
Well you could make these options:
Remote access security functions(factory reset, change locmscreen password ...) from other phone by sms or call.
Trace the phone with GPS(from another phone or website)
Get remote control of the camera, sound and vibration.
To get peoples attention and make pictures of the areay the thief is.
You can find alot of things people would like to be able to do when there phone is stolen
Sent from my SM-N9005 using XDA Premium 4 mobile app
Sugestion Appreciated
Rick Clephas said:
Well you could make these options:
Remote access security functions(factory reset, change locmscreen password ...) from other phone by sms or call.
Trace the phone with GPS(from another phone or website)
Get remote control of the camera, sound and vibration.
To get peoples attention and make pictures of the areay the thief is.
You can find alot of things people would like to be able to do when there phone is stolen
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for your suggestion. Will search further about all suggested app ideas. If any help required will ask.
Start by looking to what would make your daily life more easier and more enjoyable
An app, which shows the nearby cashpoints would be cool.
Hello to all. When i have numbers without name in call app and i click on the side to make a new entry of them the "call App" has stoped. Any solutions for that ?
Why not just use different contact and call apps? Like the Google ones? The LeEco ones suck, frankly.
sk8223 said:
Why not just use different contact and call apps? Like the Google ones? The LeEco ones suck, frankly.
Click to expand...
Click to collapse
Please explain how to search it. Thanks
akismal said:
Please explain how to search it. Thanks
Click to expand...
Click to collapse
Just google it!
Sent from my LEX727 using xda premium
akismal said:
Please explain how to search it. Thanks
Click to expand...
Click to collapse
Really? Do you not have access to the Play Store? Go to the Play Store and search for Google Contacts. Install it. Then search for Google Dialer. Install it. Look for the default apps section in Settings and change them to be your default apps. How much hand-holding do you need? Is this your first smartphone?
Hi,
sorry if this was asked before - but now Adhell is dead, SABS is DMCA'd - what can we do for Adblocking now, despite using the Samsung browser with Plugins?
Any other way without root/hosts file? Thanks.
fBx said:
Hi,
sorry if this was asked before - but now Adhell is dead, SABS is DMCA'd - what can we do for Adblocking now, despite using the Samsung browser with Plugins?
Any other way without root/hosts file? Thanks.
Click to expand...
Click to collapse
SABS still works fine even though it won't be getting updated anymore. I'm currently still using it.
-Ric- said:
SABS still works fine even though it won't be getting updated anymore. I'm currently still using it.
Click to expand...
Click to collapse
Okay yeah, but didn't see any download links since the thread was edited. I'll try to find it somewhere else
Or you could run pihole on raspberry for network wide adblocking rather than individual devices. Plus you can run openvpn so you can browse safely through your home network when off site.
Sent from my SM-G950F using Tapatalk
go to google play look for VPN HOSTS... its an app that creates a vpn on your phone and uses the hosts file you provide and blocks ads just fine.. been using this since it was created and it works great.. no root needed, its a virtual hosts file on my phone.. free download from git hub, its in the description on google play. its free and simple...
use this. follow the adb directions and itll work. its what im using
fBx said:
Hi,
sorry if this was asked before - but now Adhell is dead, SABS is DMCA'd - what can we do for Adblocking now, despite using the Samsung browser with Plugins?
Any other way without root/hosts file? Thanks.
Click to expand...
Click to collapse
Try to use Seven's AdClear:
https://forum.xda-developers.com/android/apps-games/app-adclear-root-version-ad-blocker-t3309011
adhell 2 works for me
Disconnect pro..
MindTrix said:
go to google play look for VPN HOSTS... its an app that creates a vpn on your phone and uses the hosts file you provide and blocks ads just fine.. been using this since it was created and it works great.. no root needed, its a virtual hosts file on my phone.. free download from git hub, its in the description on google play. its free and simple...
Click to expand...
Click to collapse
Yeah that's also a possibility, so you don't need knox license every three months.
blane3298 said:
use this. follow the adb directions and itll work. its what im using
Click to expand...
Click to collapse
But that's only a package disable, not ad blocker.
torr310 said:
Try to use Seven's AdClear:
https://forum.xda-developers.com/android/apps-games/app-adclear-root-version-ad-blocker-t3309011
Click to expand...
Click to collapse
I found notSABS, which seems to be a re-upload of SABS and this works just as Adhell 2 did before.
capuagenclik said:
adhell 2 works for me
Click to expand...
Click to collapse
Yeah wait for the next Knox renewal. You can't build new Adhell packages anymore. Of course you could use your old apk and edit it yourself I guess.
Invincible29 said:
Or you could run pihole on raspberry for network wide adblocking rather than individual devices. Plus you can run openvpn so you can browse safely through your home network when off site.
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
But that way I don't have block when on mobile data.
Bart3n said:
Disconnect pro..
Click to expand...
Click to collapse
I need systemwide, also I use chrome not Samsung browser. Tried it once but didn't like it.
fBx said:
I need systemwide, also I use chrome not Samsung browser. Tried it once but didn't like it.
Click to expand...
Click to collapse
Not disconnect pro for samsung browser but just disconnect pro.
It's systemwide
Bart3n said:
Not disconnect pro for samsung browser but just disconnect pro.
It's systemwide
Click to expand...
Click to collapse
The thing that frustrates me with Disconnect Pro is that there's no custom list functionality. Otherwise it would be probably the best available.
+1 for Raspberry Pi and the use OpenVPN to tunnel DNS whilst not at home.
Here is the apk for SABS for those that want to set it up
Blokada (www.blokada.org) works really well.
It is free and open source and works across all apps (not only the browser)!
It doesn't require root, supports both wifi and mobile networks, and is perfectly safe and simple to use.
You can make exceptions for certain apps and hosts and it is using Black- and Whitelists.
Just make sure the app gets not killed by battery optimization and things like that (there is a setting to ensure it keeps running - showing a VPN symbol in the status bar).
Best regards
Amber
fBx said:
Yeah that's also a possibility, so you don't need knox license every three months.
But that's only a package disable, not ad blocker.
I found notSABS, which seems to be a re-upload of SABS and this works just as Adhell 2 did before.
Yeah wait for the next Knox renewal. You can't build new Adhell packages anymore. Of course you could use your old apk and edit it yourself I guess.
But that way I don't have block when on mobile data.
Click to expand...
Click to collapse
oops i misread
orkavaneger said:
Here is the apk for SABS for those that want to set it up
Click to expand...
Click to collapse
now Thank you!
and dont forget there is notSabs
crayonyes said:
now Thank you!
and dont forget there is notSabs
Click to expand...
Click to collapse
Anytime dude
AmberLynn said:
Blokada (www.blokada.org) works really well.
It is free and open source and works across all apps (not only the browser)!
It doesn't require root, supports both wifi and mobile networks, and is perfectly safe and simple to use.
You can make exceptions for certain apps and hosts and it is using Black- and Whitelists.
Just make sure the app gets not killed by battery optimization and things like that (there is a setting to ensure it keeps running - showing a VPN symbol in the status bar).
Best regards
Amber
Click to expand...
Click to collapse
kinda like what I said about VPN Hosts..... which is free ... you provide the hosts file and you flip a virtual switch to turn in on or off anytime.. puts the virtual private network icon up in the top bar so you know its on ... and its free too ... I like simple and it is...
There you go. there is a new one. its called NotSABS. Its basically the same as SABS but uts been update it from a different dev. Ive been using it for weeks now without having a problem. :good:
https://github.com/GoldenKappa/notSABS