Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have created an App that gets data from Web Services on an InTRAnet web site. In order for my App to see these sites I have to turn on the VPN that is setup for our company intranet. So when I turn on the VPN it asked for authentication. That has to be turned on before my App launches because I know of no way to access the VPN via code (Is there anything in the SDK for working with the VPN?)
The problem is that once my my App launches it needs to authenticate against the intranet web site (authentication can't be turned off for security reasons).
So in this scenario:
User turns on VPN, enters network credentials to get access to internal network
User starts App that ask for network credentials (because web server asked for auth)
So as you can see this is quite a pain (having to enter network credentials twice).
Anybody have any ideas on how I could get around this?
BTW - I'm using ASIHTTPRequest in my code.
There isn't any way around it. You can't roll your own in-app VPN provider. The best you can do is to check if the user is currently connected via VPN and if not, provide some feedback that indicates they need to turn on VPN and how to do it. Until it is turned on, disable all app functionality.
As of iOS5 the process becomes a bit better though. Now you can redirect the user directly to the settings page via URL scheme. To get to the network settings, you would use this scheme:
[NSURL URLWithString:#"prefs:root=General&path=Network"]];
you might wanna look at a subject called "VPN On Demand" on ipad/iphone it works with many providers and i think it should do what you want.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to develop a game where you go to the website and open the mobile app corresponding to it you scan the QR code on the website and synchronize the website and the app.
So the game will be on the website on the screen and the user will move their mobile phone and depending on how they move their hand the game on the website will react.
So the game will be developed with unity, is there a way to synchronize the website and app this way continuously without delay? and how?
I know the question is vague but it's not something within my expertise i just wanna know where to start my research, few keywords would help a lot. It's a new project in a field i haven't worked in before.
I want a game in a website to be in sync continuously with variables sent from a mobile app without delay.
This is a very unspecific and open ended question, to which you cannot get a good answer based on how many open variables there are. So basically you want to make a game that runs on a website, and then want to make a mobile app that is able to communicate with the game.
The only way to do this is to use a server with a backend-api, which you can then fetch and push data from and to your webgame/app. Basically the server is your communication tool between webgame and app.
You need to make an app though which serves the mobile phone's orientation data to the server. How you do this and what kind of server software is best to use fully depends on what your skillset allows for, what the specific constraints are and what parts of the project already exist (what framework does the app use (react native for instance), what platform does the app run on...).
I can only tell you that this is by no means trivial. Let alone making an app is a ton of work, but writing a backend for the server, an app and a game that runs in a browser is a huge project! I would highly suggest you perform more research on server-client communication and app development, because the scope of this project is based on how you phrased your question probably far bigger than you imagined.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Chrismas is coming,I am so excited caz I will go to Maldives.the thing is I don't want to take my computer with me,and I am sure that I will take many photoes.Is there any app that I can just share my images to computer without using USB?Thx!
If you have an Internet connection, the Dropbox works well, as do others like SugarSync.
If you don't, then there is this app:
https://itunes.apple.com/us/app/wireless-transfer-app/id543119010
That transfers via WiFi (I have nothing to do with this company by the way)
I'm sure there are plenty of other bluetooth or WiFi capable transfer apps available on the App Store that'd help.
(Finally, if you do have Internet access, and both a recent iPhone and version of iOS) there is also Apple's own Photo Stream, which works using iCloud.)
use dropbox? you can put the images on dropbox and then see it on de the computer inmediatly
DropBox for Android/iOS
DropBox is what you need, you haven’t specified what phone do you have but DropBox apps do come in for Android and iOS (I’m not sure about others).
You synch you gallery, camera upload or any other folder you like with it and it will keep uploading your pictures documents automatically to your DropBox folder in your computer,all you need is an internet connection.
Try Dropbox.
Install it on your computer and then on your android/apple/windows8 phone and it will give you the option to automatically upload phone pictures to your dropbox folder. You can then find them on you computer in the folder dropbox creates.
xCloud is recommended, which is an app to remotely control your pc and manage your files, or even without network.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I am selling apps on monthly payment plans to external companies. If they decide to stop paying the subscription fee is there any way I can remove or disable the app on the customers device?
Can I for example use Google App Engine, read in a value and check to see if 'Valid' or not. Would this pass the app store review process?
Don
This is how I interpret your situation:
You have several customers, lets say company A and company B and you are making an app to both of them.
To make and host these apps they both pay you a monthly fee.
Suddenly company B stops paying the fee and you wish to remove app B from the app store and render it unusable for all devices having the app installed.
You could do something like this:
Remove app B from appstore by removing it from sale in iTunesConnect
Whenever anyone opens any of your apps (app A or B) you let the app connect to a web server that you are hosting, to see if it should still be available.
You could make sure that you don't make the check unless some time
has passed since the last check.
If the network is not available when you are making the check, do the check at a later time and let the user use the app as normal.
If the check is successful and you find out that the app is no longer valid, give the user an error message and stop showing the app's contents.
As for the review process, I don't see any problem rendering the app unusable, as long as you remove the app from sale on the App Store as well.
About the subscription thing, what Apple regulates is the subscriptions made by the app users, not by the company to who you are selling the app to. You can charge them in any way you like.
Apple will probably not reject your application for having a "self destruct" mechanism, but once they find out you've been utilizing this, they will most definitely pull you out of the App Store for 2 reasons:
Your application is now useless to some people which is not acceptable.
You've been selling subscriptions indirectly and not through Apple.
If your app is for your targeted users, why not use logins? If you've already have logins, then you can disable their account at any time. If you wanna go more complicated, you can also create web services and whenever they log in, check their UUID. In this way, you can ban them either on their accounts or their UUIDs. Ban on their UUID could be useful to protect their information if they lose their devices.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Is there a log sample developed in any of the iPhone project? I am developing an iPhone application and we want to have logging string stored line by line basis persistently somewhere and use it for upload to our server etc. it should keep logging behind the scene when my application does syncing under thread etc. I don't know how to develop this efficiently. Could someone please share me link or samples?
Thank you.
NSLogger
NSLogger is a high perfomance logging utility which displays traces emitted by client applications running on Mac OS X or iOS (iPhone OS). It replaces your usual NSLog()-based traces and provides powerful additions like display filtering, image and binary logging, traces buffering, timing information, etc.
NSLogger feature summary:
View logs using the Mac OS X desktop viewer, accept connections from
local network clients (using Bonjour) or remote clients connecting
directly over the internet
Online (application running and connected to NSLogger) and offline
(saved logs) log viewing
Buffer all traces in memory or in a file, send them over to viewer
when a connection is acquired
Secure logging (connections use SSL by default)
Advanced log filtering options
Save viewer logs to share them and/or review them later
Export logs to text files
Open raw buffered traces files that you brought back from client
applications not directly connected to the log viewer
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I want to develop an iPhone callerID application. I have following challenges to develop
How to detect incoming call?
Need to start my app when an incoming call occurs
Please help me out..I am new to iPhone development.
Thanks,
Srikanth
You can't do this. iOS apps cannot launch themselves without direct user interaction, and incoming calls suspend any apps that are already running.
I'm fairly certain this would be impossible in the iOS framework. Incoming calls suspend any active application and take priority over other operations. Further more even if you did manage the overwrite the iOS app lifecycle I think it is highly unlikely that Apple would approve the application because it attempts to replicate the functionality of the Phone app's caller ID. Apple doesn't like it when you try to replace their products (Ask Google Voice). They may have started to loosen up a little on this (See Opera browser and Skype apps) but I think this one would get flagged and rejected.
Short answer: you can't.
Apps are started when a user requests it, so you can't tell an app to start when a call comes in.
And an already running app is suspended when a call comes in. You can't pick up any detail about the call.
No. Simply you cannot do that. There is no public API is available to do that. Your app will be in sandbox environment and your app will be suspended when a call comes in. You cannot access them in anyway.