I'm working on something where I provide content to users based on the things they view over the internet, or by the kind of applications they use. Is there a way to get a user's search history, bookmarks or cache from various browsers (preferably Chrome). Also is there a way to get the 'search parameters' typed by the user to install apps on Play Store. The aim is to create a background service that helps understand user search habits on the mobile platform.
Unfortunately you can't because every android application in a sand box for more information go to this link:Sand Box
and if you want to do sort if thing you must implement rooted application and the database file in chrome is encrypted
Related
On a mobile web browser, for example, when a user click on the link to an amazon product, I need a way to make a request to a server with product info and receive info about its availability on other online stores, then make an overlay over product image with this info. I need this to be possible while user is browsing and It would be great if it could be independent from browser app (firefox, chrome, etc)
I know chrome for android does not support extensions, firefox does. I do not want to replace browser with a custom app, with a webview or similar.
Is there a way to do this? Thanks in advance.
I am making a sermon app for a pastor as a small project. The way the app works is that all his sermons and info about it like date, topic, etc is stored in an online database, then the user with the app would be able to scroll through all the sermons listed by title, click it, and open the full sermon. I can design the UI and local code for that fine, where I ran into problems was the backend.
The app is meant to retrieve this sermon info from the backend that way the actual application is lightweight.
I'm using this site to help me with the backend:
https://learn.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-dotnet-backend-how-to-use-server-sdk
I just wanted to know if I was on the right track, is the site I'm using right for this project? and what else do I need? and how exactly should I go about this?
There are two services that I would look at. The first is Azure Mobile Apps, but that has a limited text field. That means you would likely have to store the text of the search somewhere else (blob storage, for example) for retrieval.
The second is Azure Search (which, like Mobile Apps, has a free tier for you to try out). Azure Search can handle bigger files, but is a pain to update the content. If you are uploading the sermons outside of the app (in a backend process), then this won't be an issue.
I cover both situations in my book - http://aka.ms/zumobook - Search is covered in Chapter 7 and Mobile Apps are covered in Chapters 1-4.
How can i edit my cookies in chrome on my iOS/android device?
please clarify your question. This seems very broard.
However,
"This article applies to Chrome for Mobile.
Adjust the type of content that websites can show and the information that they can use to enhance your web experience.
Touch Chrome menu > Settings.
Touch (Advanced) Content settings.
The information below applies to all mobile devices
Block pop-ups. Prevent websites from showing additional windows automatically.
Accept cookies. Websites can store small files on your device in order to save your preferences on websites or keep you signed in. Deselect to prevent webpages from storing cookies on your mobile device.
The information below applies to Chrome for Android only.
Enable JavaScript. Many web developers use JavaScript to make their websites more interactive. Sites may function correctly only if they can run JavaScript on your mobile device.
Voice and Video calling. Allow sites with media functionality, such as video conferencing, to request access to your camera and microphone.
Google Translate. Translate pages written in other languages.
Google location settings. Allow sites with location-specific content to ask whether you want to share your location using your mobile device’s location information.
Website settings. If you want to clear location permissions or local data stored on your device for a specific site, touch this option."
For those who's still looking for an answer here is an instruction for an iPhone:
You can't see cookie data on the phone itself, but if you activate
Settings > Safari > Advanced > Web Inspector you can connect the
iPhone to an Apple computer with a cable and open Safari. Activate the
Develop menu in Preferences > Advanced > Show Develop menu in menu bar
Now you can open a page on the iPhone and then select Develop >
your_phone > the_page on the computer to see an inspector for the page
on the phone. The second icon at the top is for storage and will show
cookies for the page you show on the phone.
Source: https://apple.stackexchange.com/a/75186
If you are still looking, I made a Firefox extension called Cookie-Editor that also works on Android phones. It is similar to EditThisCookie.
It lets you create, edit and delete your cookies as well as importing or exporting them.
You can find it here: https://cookie-editor.cgagnier.ca or directly on the firefox store here: https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/
I have a number of Drupal 7 websites (http://drupal.org) that have a mobile theme with JQuery mobile (http://jquerymobile.com/) for users browsing with smart phones or tablets. Although this provides a great mobile experience I would like to create an app for the Android and Iphone that uses a few built in features for content creation (mainly just the camera on node creation). I have eclipse and the android emulators all installed and have an installation of Phonegap working for Android testing. Here is where I need some advice on the best approach to my particular problem.
Basically each app can be almost entirely just a webview (easy), but I do need 2 features which should add enough uniqueness to make it able to get approved in the MAC app store.
Ability to add nodes using a REST service (along with phonegap) have access to the use phone’s camera to populate an image field.
A start or front-page has a fast login, and allows instant access to add content (all assets stored locally on phone, so even if the phone is offline, this page will still come up).
Ability to go from the regular mobile site (webview) back to the local node creation page (with access to the camera) or frontage.
Ability to pass something to the webview so I can hide content creation links that access the web version of node creation forms (which would not have the camera for example).
Here is where I’m confused. I don’t want to recreate the entire site and retrieve all the data using services (lots of tutorials and stuff I’ve seen are doing this including DrupalGap - http://drupal.org/project/drupalgap). That seems like a ton of redundant work that will require lots of continuous updates when the site is upgraded and changed with no real gain other than speed (For this it’s ok that it won’t be as fast).
For my mobile apps, when a user wants to view their profile, look at various pages etc, that should all happen in a webview, I only need services and the typical approach to mobile development for the front page, authentication and node creation. The rest should happen in a webview. So what is the best way to switch between adding nodes and authentication using a service and just going to a regular webview? Should I try embedding a webview in a page and having a small menu on the top that doesn’t’ change which links to the add content and login?
How do I setup the session for both the webview content and the service? Or how I can I force authentication through REST and then pass that on to the webview?
You don’t have to answer each one of those directly, I would just like some tips to get me started in the right direction. So far I’m thinking I create a “frontpage” for the app with all it’s assets stored locally on the phone, which has a login which authenticates through a web service (REST). After you login it shows the link to add nodes and a link to view the webview. The big question is how I use the same session for both and how to navigate between the 2 well?
I accomplished the goals stated above, by have the login use a REST service via jquery mobile in a regular html page (like this tutorial http://tylerfrankenstein.com/code/android-app-with-drupal-7-services-phonegap-and-jquery-mobile) this is also where the create content links can be placed. When you want the user to be able to open the "regular" mobile website and already be logged in, use the childbrowser phonegap plugin (https://build.phonegap.com/docs/plugins). Users can close the childbrowser and go back to the main dashboard by clicking the X, or you can create a listener that responds to them vising a specific URL (like the homepage).
The new Google Play Developer Program Policies state that it is no longer allowed to publish web browsers that are based on WebView:
Do not post an app where the primary functionality is to:
Provide a webview of a website not owned or administered by you
(unless you have permission from the website owner/administrator to do
so)
I was thinking of developing a WebView-based web browser but now I see that this is no longer allowed.
Frankly, I find it insane to ask every website in existence for permission to display its content via a WebView based browser.
What are my options? Is there an alternative web kit that is as powerful as WebView?
It doesn't say you're not allowed to make a browser.
It says, that you're not allowed to make an app which merely is a WebView showing a website you do not own, and don't have permission from the owners to make.
That is, I am not allowed to make a GMail app, which merely is a WebView showing the GMail mobile website.
One reason could be, that such an app provides nothing that a bookmark wouldn't. Another reason could be, that such an app may seem to the end user to be affiliated with the website it's embedding. If the app then added adverts, crashed or provided some kind of negative user experience, this could reflect poorly on the website being embedded.
You totally missed the point, if you are making app that displays some site that you don't own then some users of that site will use your app instead of simple browsing to get information from that site.
Let's say that site has 3 pages
-> 2. -> 3.
If you are showing page #3 from your app then users will not see ads from page 1. and 2. Which means that you are stealing that site's money.
And that's why you need permission from site owner.