Simulate touches on iOS 7 (not inside my application) - iphone

I want to automate touches on iPhone for automate posts in facebook, twitter and phone calls.
In android i used MonkeyRunner and it works perfectly, i can record a session of touches and create also my own predefined scripts. Is there something similar in iOS 7? it's not something that i have to pubblish in app store so i can use and jailbroken phones.

If you're willing to do it through Instruments, there's a UI Testing interface that uses JavaScript to control an app.
Automating UI Testing

Related

is it possible to continuously track gps location in phonegap app(iphone) in background(means when app is not running)

I am working on an iphone app which needs to pop up a notification when the user reaches some particular place. I am developing the app in phonegap. A function is available in phonegap to track gps location continuously i.e. "geolocation.watchPosition", but I want to know: will the function keep on tracking the location even if the app is not running(exited state)?
I recently came to know that for the desired functionality I have to create a phonegap plug in and embed it to the project. This worked for me.
you can do it if your app is runing in background but its not possible if the user stops the applicationcheck this post Is it possible to run a background process on the iPhone using private APIs?

Any iPhone SIP/VOIP Application that can be called from other iPhone App?

Is there any VOIP app for iPhone/iPad that can accept call request from another custom iPhone application?
I have a custom iPhone application written with C# and MonoTouch. I need to make VOIP calls (and conference call with multiple phones) from my iphone application. But developing a VOIP app from ground up is not worth the time (and I dont know Obective-C either). So I was looking for an SDK or App that can accept call request from other apps. For example my app could construct and call a URL like (app-protocol:call?18002221111&18003331112&18001322244)... an installed VOIP in iPhone will listen to the protocol and place conference call to all three numbers. (Something like this is possible with skype but skype does not support conferencing in IOS... although works fine in Mac or Windows).
Thanks
Thanks for your answer Paul. Do you know if gvconnect url scheme will support bulk call (multiple numbers at the same time? For single number I can have skype installed (Free), I tested the skype: url scheme and that works fine. The problem is it does not work with semicolon delimited phone numbers in iOS ... which works fine in skype for Windows Desktop version.
I think GV Connect - Google Voice Connect can do this for you. It supports gvconnect:// url handler scheme. You can find a list of apps which use custom URL handlers here http://handleopenurl.com
I haven't tested this one but it could be also helpful:
Siphon, an open source iPhone app.

Browser-based mobile notifications

I would like to schedule alerts to the users to remind people of certain recurring tasks such as meet with dentist, clean trash etc. I want to do this using a browser based (HTML 5?) app which can run akin to a daemon process by leaving the browser window open, and warning the user against closing it if they try to 'x' it.
Is this possible at all? If so, how can one alert the user periodically on multiple mobile platforms (Symbian, iPhone, Android, WP7 etc.)
You can do this with Sencha Touch HTML5 Framework
with using PhoneGap together.
have a look at appcelerator and phonegap.

Can I successfully do iPhone/iPad website development/testing on Windows?

Can I successfully do iPhone/iPad web development (not native apps) on Windows, and without having an iPhone/iPad device?
I.e. work like PSD-to-iPhone-optimized XHTML/CSS layout.
I’m interested to learn about and make iPhone/iPad optimized websites. Any tips? How different will it be from desktop? What’s different other than the smaller screen?
From experience I will say the only true way to test for the iPad is to test on an iPad. I have been developing a site in html5 specifically for an iPad and we initially used the iPhone to test. The drag function we had implemented with jQuery had worked almost perfectly on the iPhone but after the client had tested on the iPad they came back to us and said the function did not work period and they were correct.
I guess this could change depending on what type of development you are doing. From experience I would say either A. Make some trips to the apple store B. Make friends with iPad owner C. Buy and iPad
yes for an ipohne emulator... try MobiOne.
It's a good application to test the pages in iphone like environment.
http://www.genuitec.com/mobile/
I don’t think you can really do iPhone/iPad development successfully without an iPhone/iPad at all, whether on Windows, Mac or Commodore 64.
If you’re serious about iPhone/iPad development, how could you not try your software out yourself on the devices it’s going to run on? Your clients are going to want code that works on the iPhone/iPad. You need an iPhone/iPad to check that it works.
if your developing a web app then i think you can use this: http://ipadpeek.com/
The answer is: Yes you can absolutely do iPhone and iPad website development on a Windows PC.
However, you really should/must test the result on an actual iPhone/iPod Touch/iPad. Especially if you are integrating in any way with special device features like the dialing feature of the phone. (Yes you can have phone numbers in a webpage trigger dialing when you tap on them.)
However, you can do the bulk of the development on Windows, testing the WebApp in Safari or Chrome, which are the most fully compliant HTML5 WebKit based browsers out there.
Also highly recommend using an HTML5 touch framework like jQuery Mobile or Sencha Touch. This will go a long way to ensuring that your WebApp is optimized for the screen size and touch gestures of the mobile devices.
Remember that you can't deploy a pure WebApp to the app store, only download it from a website. You'll need a native wrapper like PhoneGap for that. And to compile a PhoneGap wrapped WebApp you'll need XCode on a Mac.
But there's a lot of power in adding your WebApp to the home screen on iOS. No native code involved and you get a full screen webapp with a home screen icon, loading image and no browser toolbars. Highly recommended.

What are the limitations of coding web apps for the iPhone?

For instance, could a web app access the mic on an iPhone and transmit voice back to a server?
Or is it possible to build Safari extensions for the iPhone that can operate transparently on a web page? For instance, is it possible to build an extension that removed ads from Google result pages for the iPhone, without the user clicking any buttons to activate the ad-removal functionality?
You pretty much hit the main limitations.
You have no access to hardware that's not supported by HTML5 (geolocation is, but things such as acceleration and audio/video recording are not).
You can't build Safari extensions for the iPhone at this time, you can only use JavaScript like usual.
Some frameworks like PhoneGap make attempts to provide more hardware features via a native app container, but it appears Apple is trying to prevent those apps from going on the App Store, to some extent.