Getting an iPhone app communicating with an Adobe Air desktop app - iphone

I am creating a desktop version of an iPhone app and would like to have some sort of sync option. The desktop version of the app is an Air app.
I know that I can have them communicate by:
Starting a server on the desktop or the phone
Ask the user to enter the IP of the device into the other one
Make GET and POST requests over the http server
This seems very clunky to me, however, and I would like for them to automatically recognize each others presence when the sync button is pressed. How can this be done between an iPhone and an Air app?

Figured out a way myself: Bonjour
It is possible to implement on the Air side
It is possible to implement on the iPhone side:

Related

Device to device communication with Xamarin

I am developing an application for iOS, Android, UWP and Windows Phone 8.1 device with Xamarin Forms.
In this app I have a key feature witch require the app to send notifications to other device (which are also running the app).
The amout of data is realy low but it has to be fast (don't want to use a backend).
What I want to do:
When the user lunch the app, the app scan network (Wifi and/or bluethooth) to find if another app is already running)
If the app find nothing, it launch a server part.
If the app find someting, it connect to the other device (with allow/disallow screen).
So I am considering the folowing solution :
Wifi (but it requires all devices to be on the same network).
Bluetooth
I don't find best pratice or guides for this.
Does someone have already tried and have a solution ?
Thanks.

Remote acsess to mac pc via iphone using iOS 4.0

Using Ios 4.0
I want to build a project throw which we can remote access other i phone through one.Is it possible in any cases, its totally idea in dreams i don't know whether it is visible or not.
I haven't s
Thanks.
There are applications that allow mac/windows desktop sharing from an iphone/ipad (example RemotePC, Splashtop). And there are applications which allow you to access the iPhone screen from a desktop (Veency VNC). Hence accessing iPhone from another also should be possible.
You can also check out Game Kit for connecting iOS devices

iPhone Development: VNC Server Framework to mirror iPhone screen to Mac (Keynote)?

I developed an iPhone app which I now have to present an audience. For that purpose, I'm creating a presentation with Apple Keynote to show some facts — and after that, I also would like to hold a "live presentation" of the developed iPhone app.
To do that, I need to mirror the iPhone screen (that is, the iPhone running my app) up to my Mac. Best would be, if I could show this "live mirror view" right in Keynote — just as Apple does it in their keynotes.
My idea is to implement a VNC server into my app which mirrors the app to my MacBook which than acts like a VNC client. And at best I would need to show the VNC client's stream in Keynote.
iPhone as VNC Server --> MacBook as VNC Client --> Keynote showing VNC Client's "image stream"
Does anybody knows a good VNC Server framework, which I could implement into my app?
(And if someone has an idea related to the Keynote thing, I would love to hear about that, too.)
Here's something similar, but you'd need an additional television or monitor.
http://www.touchcentric.com/blog/archives/123
If you're open to jailbreaking you could install Veency which is a VNC server for iOS. Or you could use ScreenSplitr and iDemo which is for jailbroken devices too.
But note, VNC (and possibly ScreenSplitr too) will be laggy. It won't be as smooth as when Apple does it at their keynotes.
An alternate is to look at the possibilities here:
Possible to mirror iPhone/iPad screen on a monitor without jailbreaking?
I have used the google project (http://code.google.com/p/iphoneos-screen-mirroring/) and it worked well for a course demonstration, but nothing that went to the app store.

Should I obtain a Mac to develop or test my iPhone web app?

I've been developing an iPhone web app on a Windows XP box using
MobiOne Test Center and Safari for testing and debugging and
occasionally using a real iPhone for testing. The problem is that
MobiOne, Safari (desktop), and the iPhone all produce different
errors. Obviously I am most concerned with the errors that occur on
the iPhone, since that is the target device. (An example of the type
of error encountered is that an image that ordinarily appears as
expected occasionally cannot be displayed, so the little question-mark
icon appears instead.)
I have the opportunity to obtain a Mac for development, but I need to
know whether using a Mac will make a difference.
Have any of you moved to the Mac for developing or just testing a web-only iPhone app?
Is doing so worthwhile? Why?
Does the iPhone simulator in the SDK simulate an iPhone better than Safari on the Windows desktop?
Is there a reason I would need a paid subscription to the Apple iOS Developer Program?
Thanks!
In short: no, I don't think a Mac is necessary for developing iPhone web apps, especially seeing as you have access to a device to test on, and you seem to be fine in your progress of development.
If you're not aware, there's a debug console available on Mobile Safari on your iPhone. Go to Settings > Safari > Developer (at the bottom) > Debug Console and turn that on.
When developing an iPhone web app, you do not need to pay for the iOS Developer Program. That program is for developing native apps to deploy either to your company or the App Store only.
Web apps, on the other hand, are nothing more than web sites that are designed (i.e. include certain meta tags, have mobile-friendly interface designs) to be run similarly to native apps on a device, and harness certain Web technologies such as geolocation that are available to devices. Users view them in Mobile Safari like any other web site, but for the best experience are asked to tap on the + sign and add your web app to their home screens to be accessed as such.
The iPhone Simulator certainly does a better job than desktop Safari on either Windows or Mac OS X since its user interface shares that of the iPhone device, but I don't think you'll need it for testing and debugging if you have a device to test on.
The iOS SDK has a tool called Dashcode but I don't think it's much of a difference from the web dev IDEs that the rest of us use every day. As far as I can tell, Dashcode doesn't give your web app any additional features that can't already be implemented using the standards we're familiar with.
I would not buy a Mac or a paid subscription to the Apple iOS developer program unless I was writing native iPhone applications.
You should be fine with your current configuration. Just make sure you do the bulk of your testing on the actual iPhone, that is what your customers will be using.
Does the iPhone simulator in the SDK simulate an iPhone better than Safari on the Windows desktop?
Yes - there are some significant differences between MobileSafari and Safari for Mac/Windows - but you've got an iPhone to test on. The iPhone Simulator offers no additional debugging tools for iPhone web apps, so you're not going to be better off having it available than just testing on the device.
Testing on an actual device is better than testing on any of the Simulators, since that is what you mobile customers will actually be using.
If you are strictly building web apps, your money might be better spent on more test devices (devices with and without a Retina display, iPad, maybe an old used iPod Touch running some prior version of iOS for regression testing, etc.) If you are choosy about your colors, the color can vary quite a bit across devices, so it may help to find one warm display and one cold one (from old/different manufacturing lots, etc.).
So you don't NEED a Mac (unless you have other reasons for acquiring one).
Buy an iMac. You will enjoy the experience better.
It is my understanding that your application needs to be compiled on a mac before it can be sold in the app store.

iPhone APP - native versus external

I am contracting a company to develop an iPhone APP.
Here is the issue: part of the APP will deal with signatures that are sent via text message from user to user.
I have been told that the native iphone OS is closed and that can't be modified so the only solution to is to build a completely new SMS APP using tools such as phonegap, or appcellerator, etc.
Is there any way to develop the app that works with the exisitng iPhone SMS program or is it true I need to build a whole new application? The problem with building a whole new application is the iPhone will have to use an external SMS gateway and charge fees for that.
Also, are there any recommended iPhone developers ?
Thanks
iPhone OS 4 will support In-App SMS:
In-App SMS Compose SMS messages from
within apps, similar to the Mail
compose sheet added in iPhone SDK 3.0.
If you don't want to use a third-party SMS system, you'll have to wait for iPhone OS 4.
Both PhoneGap and AppAccellerator may be banned from future store submissions- wait until the shakeout from Apple's change in development contract finish up, to see what other possibilites exist if you do not want to use Objective-C to build a custom SMS beforehand...
But I'd wait for 4.0 and implement the features using the system calls there, you can start building today as the beta SDK and iPhone images are out.