I'm trying to create a web filter app that will intercept an incoming website(one that is being browsed to) and redirect it's data to my app. Then it will compare the site to certain criteria and display it if it passes.
Basically, I want to turn my app into a proxy of sorts. How might I go about doing this?
You would have to build your own browser. Use a simple webview and build the functionality you want around it.
Related
When a website is implemented in an app, is it possible to open an popup in the app when clicken on a link/button in the website?
If so, what are the possibilities?
Thanks
Grtz
Your case I understand may have two scenarios to it. Say on the same device, click a link on browser it opens in the app much of what medium and a couple of other apps do. Second case is an independent phone and independent browser. Here I would suggest using web sockets to send real time data to the client app when a certain change occurs on the server side which may be caused by change in another client. Basically close to what services like Firebase offer but not actually the same
An unauthorized person has created an android app on our name, logo and showing our website content as is. It has fully functional browser experience in an app. This person is using advertisement to make money using our content.
Our Website: http://www.chittorgarh.com
Fake App: https://play.google.com/store/apps/details?id=davidjack.chittorgarh
What we did in last 2 days:
Complaint to Google. No response so far.
Sent emails to fake app publisher. No response so far.
Created our own official app using exact same way and made it live. We will start pushing it through our website soon. It’s not what we want but do not see any other option.
https://play.google.com/store/apps/details?id=ipo.chittorgarh
Question: How do disable all the traffic from the Fake App?
Tried User-Agent but no luck as it’s exactly same as someone opens the app in chrome on android.
It is basically a web browser within an app, so there isn’t any way around this, if it’s publicly accessible via the web then it’s available to anyone to access or implement within a web view.
All you can do really is create your own app, and add a message regarding the fake app on the homepage of your website.
I want to build an app like tinder. but this question is not related only to a dating app. Think any app that use GPS coordinates to locate where are you. Think a traffic app. So instead of creating native apps for android, IOS and windows phone I would like create a one web app by using ASP.net with fully responsive design. What I hope to do is load this web browser behind native apps on these different Operating systems. So yeah I am talking about a hybrid app.
So in tinder they are tracking their GPS location to discover persons who are within some certain Perimeter. So if I use
navigator.geolocation.getCurrentPosition
Browser will popup window for ask user's permission to share the location. Also this warning is expire from 24 hours and again this message will popup. this is not what I wanted. So can I write a piece of code for just to get the GPS location from the native app and pass that information to my browser without that warning dialog? Is this possible ?
What you are asking for is only possible when you are creating your app with a tool like Cordova, PhoneGap, ... (there using a plugin for Geolocation)
They offer you interfaces to communicate with native APIs, thus skipping the browser dialog.
When only using HTML5 and JS you can't skip that dialog, it's for the user's own protection.
So I want to create a website for internal company use that allows a user to fill in a survey on a mobile device and upon submitting the survey, their GPS location is also submitted.
Is this possible to do? If so can anyone recommend the software to do it?
Assuming that you are using a Android App from your tag. You would want to pull the GPS location through a single update. Pass that to the webview through the URL parameters and then pass those along through the form submit.
If you are using just a webpage opened by a mobile browser on a phone I would suggest looking into HTML5 which has some handy resources. This however will only work on the more modren browsers and is not a 100% pinpoint location.
http://www.w3schools.com/html/html5_geolocation.asp
I am new to JQuery mobile .
Need some assistance to start with.
My plan is for a mobile application( cross platform android and Iphone ) which will get and update data to a webservice. This will be a set of htmls. I need to access gallery and camera so i think it should be integrated with PhoneGap.
Now the html pages are hosted in same domain as web service. While
integrating to Phonegap would like to know whether i need to move
Html to app or keep the htmls in remote server and put a web view to
load html from there. Basically in samples i have seen the app itself
with htmls , so would like to know best strategy.
In Android app there is a hardware back button. Basically i have
a login page, home page and detail pages. While in Home page if hardware back
button is pressed , i should ask for logout . I searched but dint get
idea to handle the same.
May be i will remove camera functionality and then it will be pure
JQuery Mobile and no Phonegap. SO this will be loaded in browser
directly in device. So if in JQuery mobile only also , can this hardware back
button be handled.
Please guide me in right direction.
-Thanks in advance
mia
In reply to your first point: the practice of hosting the full html pages in a remote server is usually forbidden by the app stores (at least iOS having read the guidelines recently).
You should instead only retrieve data from the server (in the form of json/xml for instance). For this very purpose you can create your mobile app using Backbone, or any other MVC/MVVC platform.
Your base pages will be in the app -displayed by phonegap webview- along with some templates. Every time the user goes to another page, you fetch some json data from the server and then process your data with the templates to generate full html.
This process makes more sense than serving full html pages (which is then more a mobile site than a mobile app) as only the data (what is dynamic) is sent from the server, which makes the payload smaller (better for mobile devices with limited bandwidth capabilities).
For the second point, I guess you mean when the app is closed or put in the background through this back button you want to call a logout function in your app. You'll need to catch a system event, but that's not something you can handle directly in Phonegap and you'll need some native java coding for that.. but first check the phonegap plugins for such feature but I haven't seen any.
For the third point, if you say you don't want to use phonegap your 'mobile app' will become only a 'mobile site'. which is fine, but then you'll have even less control over that "back button". You'll only be able to control web events like window close (beforeunload).
It is possible to have the full HTML on the server and I have had an app approved for the iOS app store with this method. However there are obvious downsides including the fact that you lose off-line capabilities.
You can add an event listener for the back button document.addEventListener('backbutton', onBackButton, false);
As far as I know you cannot handle the back button with a mobile site.