PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
[WM18] Portabilité d'une application Android sur IOS - fonctions WIFI
[WM18] Portabilité d'une application Android sur IOS - fonctions WIFI
Started by SOPHIE, Jan., 10 2013 1:51 PM - 3 replies
Connect yourself…
SOPHIE
#1
Posted on January, 10 2013 - 1:51 PM
Bonjour
Je n'ai jamais fait de développement sous IOS et je dois porter, très rapidement, mon appli ANDROID sur IOS. Cette application utilise les fonctions WM suivantes :
- WifiEtat()
- WifiActive()
- WifiInfoConnexion()
- WifiListeReseau()
- WifiDetectePointAcces()
- WifiAjouteReseau()
- WifiSupprimeReseau()
- WifiConnecte()
Or celles ci n'existent pas sous IOS.
Merci de m'aider.
Report
0
0
Spek34
#2
Registered member
141 messages
Posted on January, 16 2013 - 7:32 PM
Malheureusement ces fonctions ne sont pas possible en WM sous iOS. je te conseil de voir le code Objective-C et de le gérer toi même.
Report
0
0
Florian
#3
Posted on January, 17 2013 - 11:41 AM
Wifi Liste Reseau
Creer un procedure globale puis saisir en objectiv c
ne pas oublier de rajouter la librairi SystemConfiguration.framework a la generation
#import <SystemConfiguration/CaptiveNetwork.h>
void WifiNetwork(void* currentView)
{
UIViewController *tmpView = (UIViewController*)currentView;
NSArray* interfaces = (NSArray*) CNCopySupportedInterfaces();
for (NSString* interface in interfaces) {
CFDictionaryRef networkDetails = CNCopyCurrentNetworkInfo((CFStringRef) interface);
if (networkDetails) {
NSLog(@"all details: %@", (NSDictionary *)networkDetails);
NSLog(@"BSSID: %@", (NSString *)CFDictionaryGetValue (networkDetails, kCNNetworkInfoKeyBSSID));
CFRelease(networkDetails);
}
}
}
Report
0
0
SOPHIE
#4
Posted on January, 17 2013 - 12:29 PM
Merci beaucoup
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text