How i can read app iPhone output on my mac app? [closed] - ios

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
Who knows how to write an application on a Mac that will receive a signal from the iPhone just like Xcode Output. For example, my iPhone is connected to my Mac and when I press the button in my application on the iPhone , in the button outlet says "print (" bla-bla-bla ")" and when I click on the button on the phone in my Xcode in Output the inscription pops up bla-bla-bla. And I need xcode output to be viewed through my Mac application. If anyone knows really looking forward to hear!

It would be useful to know what it is you are trying achieve by doing this. Printing output should only be for debugging purposes whilst developing an application.
If you are wanting to output information from an iPhone app to a Mac one then you could create a service that pushes messages to a queue and a Mac app that reads from that queue and displays them.

Related

Can I code an app that share a music stream on Iphone ( using the phone as a router ) [closed]

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 4 years ago.
Improve this question
I'm an novice apple developper, actually working on Ios project for iOS 9 on xcode. I'm working as a freelance for a client, and this client needs an app to stream music.
This app must be capable to share music, it means :
A user has a music on his phone and turn on the "share mode", wich enable other users around him to connect to his iPhone and listen to the same music.
So my question is, can i do that in therms of code ? (turn on router on my iphone, allows connections from other phone ( even if its not an iphone ) and then send the music ( the music stream ).
It may be a too much technical question for this community, but i don't know in wihch stack community post it.
Thanks for any anwer.
Yes you can. I'd recommend checking out the Multipeer Connectivity framework from apple. You can do exactly what you're asking about. The link below talks about your exact scenario - in objective-c, but it works the same way in swift.
https://robots.thoughtbot.com/streaming-audio-to-multiple-listeners-via-ios-multipeer-connectivity

Sharing information in application [closed]

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 8 years ago.
Improve this question
I am currently working on a new app, and I'm trying to figure out how I can implement the next thing on iPhone programming.
IPhone A writes a list of names in the application
IPhone B is notified and came to the application and see the list of names
My question is: how I share things between iPhones. A server that connects with the iPhone or what? And how it need to work.
Send data from IPhone A to server, then server send push notification to iPhone B, user start app on iphone B and download new data. If app running on iPhone B you should observer push notificating and don't forget to download new data...

Background GPS in iOS mobile safari [closed]

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 9 years ago.
Improve this question
I know it is possible to have an iOS app running in the background which transmits GPS data periodically.
I was wondering if the same is possible if a user is on a webpage in mobile safari. Can watchPosition be used even if the user is not actively on the webpage but the tab is open in mobile safari (i.e. in the background)?
Yes, it is possible, but you app would have to be running in the background for it to work. You would use the same Location Awareness API that Apple provides and run it in the background, so that even when your app closes, it is still running.
You can see the answer given for this question for this question.
By using the instructions laid out by Apple, you can achieve this, but your app has to be run for it to work. So if they never start your app, no location tracking.

Why is blackberry so unpredictable? [closed]

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 8 years ago.
Improve this question
I am currently developing a blackberry java application. In the app, I switch between two screens (let's call them A and B). Now on my simulators (lots of them, OS 5/6/7), the application works fine. On some real devices that I have tested, the application works fine. However on a friend's 9360 OS 7.1.0.336 the app crashes when transitioning from screen A to screen B. I can't duplicate the error on the devices I have or my simulators.After downloading/installing/testing on many simulators, I downloaded a simulator 9800 OS 6.0.0.313 and behold, the app crashes when i transition from screen A to screen B. Now I use eclipse with the blackberry plugin, anytime i try attaching the debugger to this particular simulator i get the attach debugger failed message, or even worse the simulator just "dies" so now i can't even see what is causing the app to crash.. What am i supposed to do?
Try to figure out what was exception:
1. Go to BB home screen
2. Hold ALT (for simulator CTRL on PC is ALT for simulator) key
3. While holding ALT key type LGLG on keyboard
You will see device event log where unhandled exceptions.
Back to main question. It's sometimes really inconsistent. The different OS versions have different issues and sometimes behavior is slightly different. But we can't do anything with it.

Transferring Data From Iphone to Computer [closed]

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 11 years ago.
Improve this question
Is there any possible way to transfer data from an Iphone to the computer when the Iphone is tethered and an application is open. Basically, the Iphone needs to be able to effect files on the computer.
Currently, there're two options for you:
iTunes File Sharing - This allows the user to browse the "Documents" directory of your application in iTunes. Your application will be in the background during this time. (the Sync screen takes priority) This however only works for changing files on the iOS device. You'll find a tutorial for that here.
Wireless Transfer - You could create a HTTP Server and allow the user to change files via their web browser or client application. This way, your app would not be in the background and you could technically monitor any changes you like. You can easily implement this for Mac OS X or iOS. For a tutorial for that, see here.

Resources