Can I turn WiFi on and off programmatically and change network? (Mac SDK) [closed] - objective-c

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can I turn WiFi on and off programmatically and change network (WiFi) in the Mac SDK?

CoreWLAN Framework seems to fit your needs. There is even a sample code named CoreWLANWirelessManager
The CoreWLANWirelessManager application utilizes the CoreWLAN
framework, which is the Objective-C public API for the Mac OS X IEEE
802.11 wireless interface. It gives developers an example of how to use the CoreWLAN API and exercises the functionality that the
framework provides.This functionality includes scanning for networks,
querying the wireless interface for static and dynamic parameters,
toggling interface power, changing channels, association, and
accessing the corresponding system configuration preferences for the
given interface.

You can change most WiFi settings using the networksetup(8) command (see the -setairportpower and -setairportnetwork options).
As for a programmatic API for adjusting WiFi settings, there is the CoreWLAN framework mentioned by Antoine.

Related

I want to develop a socket based chatting app in Titanium compatible with Android, iPhone and Blackberry [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to develop a socket based chatting app in Titanium compatible with Android, iPhone and Blackberry.
Please give me suggestion about it
If you want a "socket based chatting app", then you've already made decisions about the implementation, and so you really just need to know the interface for implementing it. Try reading the fantastic manual, it is very detailed on how to use sockets.
http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.Network.Socket.TCP
You'll need to roll your own server side to accept the socket connections, and your own protocol for the communications. Or adhere to an existing protocol.
Or you can use the existing, working Ti.Cloud sample I created. It is the Titanium specific version of what Hini linked at nodeacs.cloud.appcelerator.com --
https://github.com/appcelerator-modules/ti.cloud/tree/master/commonjs/example/windows/chats
You can use Titanium along with Node ACS to create the application.
Here is a sample chat application tutorial. I hope it helps you.
http://nodeacs.cloud.appcelerator.com/guides/quickstart

Use TV remote over HDMI as a control GUI [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to connect a linux PC with HDMI output to my (Samsung) TV.
This allows to show a screen on the TV.
How can I use the TV's remote as an input device, sent over HDMI to control the PC?
Or in other words, can I make a simple user interface which is shown on the TV and is controlled with the remote control?
I mainly imagine using the 4 arrow-buttons and the OK to navigate and choose stuff.
Any links to doc or libraries (Java preferred) are welcome.
The protocol used to send the remote control signals is called CEC. In order to make use of it you will need hardware which supports it, and have drivers for that hardware.
Lacking any more specific information about the hardware you are using, I suggest starting at this page about CEC support on the Raspberry Pi

Different ways run an iOS application [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
It there a list of methods so we can run and test an iOS application?
Here testing does not mean unit testing or code testing. Let's assume my application is 100 % perfect from the coding point of view. Now Ii want to use the application. The method may be running the application on a simulator, an iPhone device, an iPad device etc.
Is it even possible that we can adopt different methods to install the application on the iOS device that is jailbroken and the one that is not. The objective of my question is to list all the such possible ways that may help on the way to test or run your iOS application.
You can do unit testing for iOS applications with Xcode 4. Unit testing increases productivity and raises code quality.
You can see more details about unit testing here.
You can see more details about setting up logic unit tests here.
Also, you can see a top 10 tips for testing iPhone applications here.
For deploying, these are the possible ways without jailbreaking:
Connect your device and run you project to a device instead of the simulator.
Create IPA and install through iTunes
Create IPA and install through TestFlight
Or jailbreak your iPhone and you can use this method (below answer)

What is the Ultimate web bot platform? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to make a web bot (desktop application not web application) which sends HTTP requests and POST data to different web pages.
What is the best solution to do such bot?
What language and IDE to use?
Witch libraries to install... etc.
Depends on what expirience you are having.
Basicaly sending HTTP-Requests with post data should be pretty easy in most modern languages.
Personally I would use C#/.net and Visual Studio. The .net-FW has everything built in to aquire that task (e.g. this example).
But if you are expireinced in PHP, Java or similar use that and just search for the suitable methods.

Regarding GPS. Is there a way to locate a phone number using gps? Without installing any apps to their cell phone [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
My question is regarding GPS.
Is there a way to locate a phone number using gps? Without installing any apps to their cell phone.
I am interested in both Windows Mobile and iPhone. But please do include generic replies also.
No, you can't.
You see, GPS and phones are two completely disparate technologies - nevermind that there are some multi-function devices (e.g. smartphones) which contain both. There is no generic way to connect one to the other that would work on all devices without custom software (i.e. without installing your app).
That said, you could create an app which checks the GPS location of the device it's on, checks the device's phone number, and reports this pair back to you over some kind of network connection (GPRS, 3G, WiFi, carrier pigeon, what-have-you). You'd need to update the GPS position from time to time as it changes, whereas the phone number tends to stay the same.
You'll need to use some kind of data channel as GPS is an unidirectional broadcast protocol (it's receive-only, there is no way to send a message through it).
Note also that you'll need the user's permission and cooperation in installing the app - firstly, the app won't install by itself as most devices have safeguards preventing automatic installs; and second, installing software without permission could land you in legal trouble (unauthorized access and all that).