I have a request from a client to do an Enterprise app.
The app itself is fairly straight forward, but they want user to be able to request help from admin. When right are granted, Admin will be able to controller the user app from his/her app.
I am really stuck on how would I go about doing this. I listed some steps that I think are needed but it is a best guess.
1 user/admin established a secure Authentication
1.1 user request help with random number generate
1.2 admin got the number via phone or sms then input the gen number in his/her app to link this two app together
2 user app steam screenshot of its app to the admin app
3 admin app receives screenshots stream and show on admin screen
4 admin app detect and steam UITouch events to user app
5 user app listen to the steam UITouch events from admin and pass on to UIKit component
any suggestion is welcome.
Thankz so much in advance
Pondd
You are looking for a VNC server. The VNC protocol handles all the screen and interaction synchronization over the network.
While there are a couple of VNC clients for the iPhone, I'm not aware of an open source server project. So you'd have to do the port by yourself. The authorization aspect is another task that VNC won't handle for you. VNC has only simple name/password authorization, which you might use after the manual challenge response over telephone.
It might be difficult to do the VNC port in an App-Store compatible way (i.e. without using private APIs) since you'd have to generate UITouch events and insert them into the event stream.
Related
We plan to manufacture a device that we want it to communicate with Facebook. If the user presses a button on the device, we want something to appear on users wall as a post. It means that the device will post on behalf of the user on Facebook.
As we see from the Facebook developer page, the types of applications are a Facebook app, a web app or a mobile app. The thing we have just explained does not belong to any of these categories. For instance, it is not a web app because the device does only support http connection but does not have a built-in web browser. It is not an Andorid or iOs app because the operating system in this device is none of these.
What would you suggest for this kind of application?
Thanks in advance.
Definitely look into http://developers.facebook.com/docs/authentication/devices/
Your other decent option would be to run an HTTP server on your device that users could connect to from a computer or phone to authenticate.
Once authorized, a simple HTTP request is all that it will take to share anything.
Edit: Just noticed that Facebook is no longer accepting applications for new partners with the auth device pattern. This is definitely what you want. You could try contacting them anyways.
Possible Answer = make it web app but dont forget the facebook policies about the user privacy issues. Your device can send a signal to your server and server can make the post i think it is possible (hmmm but to acquire access token again your clients have to login your webapp again every 60 days, there must be a better solution)
I am also working on similar problem
I have a prototype device for jogging wrist band and I am trying to post a wall story about number of steps in current day and the tempo on behalf of a user by just clicking on a button on the machine when it is connected to wlan or android phone in a wireless fashion.
We provide advertising capabilities to iPhone app customers, where they can advertise apps to millions of users on social network, and stand out among large number of apps in app store.
Now, to prove the ROI, we also want to provide statistics of how many users actually installed the app using our advertisements on social network.
My question is:
How do I verify whether user installed an app (when user clicks on advertisement and we take user to App Store (on mobile device) or itunes page (on PC/Mac) )
Is there a way to integrate with developer's interface to get this information?
Thanks in advance.
This is a broad question and there are some simple solutions which may require some work. Apple provides you no feedback for when an app is installed. Assuming you are storing the click of the ad on a server you will need to match to that click with something you send up when the app is opened for the first time.
(if the ad is shown in a native app on the phone) You can send up a unique key when the click happens and also send that same unique key when the app opens for the first time and match them on the server. This key can be a hashed mac address or something you save to the UIPasteboard. This requires integration on the side of your clients app because they will need to send a http request to you when the app launches.
If the social network is web based then your best bet is to match on IP address which isn't perfect but can give you a high percentage of accuracy.
I guess I'm assuming you are hosting the ads though. If you are not then you will have to rely on what the ad networks give you and many of them can provide some form of install tracking.
Well, you can always look at that persons phone and check if your app is present there :P
Just kidding.
You have some ways to get information such as these.
If you have registration in your app, you can monitor the userInfo, along with the UDID.
You can setup some webservice calls on applicationDidFinishLaunching for the first time events (using NSUserDefaults key to save the first time info) and use that.
Check out FLURRY for data analytics in your app. This is an awesome service, and allows you to track your users and how they interact with your app. I would recommend this !
Most ad networks have conversion tracking capabilities, but once you click an ad from the web and go to iTunes, all hope is lost tracking a conversion.
I guess you'd be able to track a conversion if you require the user to provide information (like an email address) before directing them to the appstore then requiring them to input that same email once the app is opened.
Is there a way to simulate push notifications by pushing data to mobile safari? Here are 2 scenarios.
I make a web app via phonegap and dont want to use APNS but rather make a web-socket connection and push data to the device myself. On the device end is there a "alert" function I can call to emulate a pop up when a user is not in the application?
Lets throw web app out the window. Is there a way I can do this in native mobile safari? Im not talking about a plain old JS alert window that would only come up if the user was in the app, but be able to do so with it backgrounded.
You cannot run background tasks with mobile safari so for #2 you can't do true push notifications or alerts. However you can send a user an SMS if you have the user's phone number. This can have a hyperlink to a part of your web site (which can contain some sort of payload). You can use a service such as Twilio to help you send SMS'es. However this costs money. APNS does not.
For scenario #1 I'm assuming you're talking about a native app using a phonegap solution. In this case when the app is backgrounded you cannot access any UI at all and wake up the app and show a UIAlert. In fact unless an app is registered for location updates or background music, the app is effectively not going to respond after a set period of time (it only can "finish" certain operations it had started before). So the websocket solution will only be effective if the user has the app opened.
You could register a local notification that runs at some predetermined time which will show an alert. But that is not being pushed from the server so its probably not what you want.
APNS is your best solution for scenario #1. Its not that hard to implement and its pretty inexpensive. Check out urban airship if you want to avoid building out your own server-side components for it.
We're planning an app which, among other things, is supposed to integrate a facebook chat.
We're discussing about the push notifications for receiving messages while the app's in background. What comes to mind is a proxy server for the chat, that'd actually connect to the facebook chat, and the iPhone app would connect to the proxy.
Then, it's easy to have the proxy server act as a push notification server.
Is this the only way to go, or are we making this more complex than it needs to be?
Any input is appreciated. Thanks.
To do push notification (App is closed, user receive a message and an alert appear on the iPhone), that's the only way, because every app need an unique certificate to send push notifications. This mean that official Facebook servers can't push for third-party applications. You need a proxy that keep a connection open to FB and push alerts to Apple's Push Notification Server when needed.
Inside the app, instead, you can connect directly by opening a socket to Facebook's servers and use a Jabber library for ObjC. This allows another approach: Local Notifications. They're similar to Push, but they doesn't need a proxy server: it's the application running on user's device that keep an open connection (even when the app is in background) with Chat Server.
This is the documentation that covers both type of notification: Local and Push Notification Programming Guide
Facebook's chat system is a Jabber server, so I think you are making it more complex than you need to.
I am developing a iphone uiwebview based application to load an web application url by getting the user credential from a login screen,as i have username and password which are required to communicate with the server on the other end with web services,i want to make an
alert with some data to the user once after he logged into application.
But can i able to give that alert even he closes my application if then please suggest me how to do so?
I mean can i run any background service that can allow me to communicate some server with webservice calls and alert the user?
Thanks in advance......
If I understand your question right, you need to implement a push notification service for your app. Did you have a look at Apples documentation on local and push notifications? http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
Or have a look at thee WWDC Video about it on iTunes.