wireless

Can't connect to Android via ADB over wifi - Do I need root access?

梦想的初衷 提交于 2019-11-29 07:53:40
问题 I'm basically trying to do this: How can I connect to Android with ADB over TCP? with the Droid X2. I have USB Debugging on, and my phone is plugged in via USB. The IP Address is 10.0.78.33 (I have verified that I can do TCP communication to the phone on that IP, and I can ping it). I go to the command line and do the following: >>adb tcpip 5555 restarting in TCP mode port: 5555 >>adb connect 10.0.78.33:5555 unable to connect to 10.0.78.33:5555 Any thoughts on why this doesn't work? Do I need

Is there any way to put Android WIFI (droid handset) into promiscuous monitoring mode?

懵懂的女人 提交于 2019-11-29 03:31:40
问题 For a Computer Science Information Warfare class a few years ago I wrote a python script that ran on libpcap promiscuous packet capture files to parse out facebook chat traffic (earlang tuples passed in clear text), and thought an interesting project would be to port the program to Android. I would like to rewrite it in Java but can't find any information about packet capturing directly on the handset. 回答1: As far as I'm aware, there is no way to put the Wifi NIC into monitoring mode from the

How to get signal strength of connected WiFi android?

半世苍凉 提交于 2019-11-29 00:37:10
I want to get signal strength of this wifi which is connected with my device. This is probably easy. But I am beginner. And It's homework. How to get it? I tried this code. But it doesn't work. registerReceiver(new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { final WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); int state = wifi.getWifiState(); if(state == WifiManager.WIFI_STATE_ENABLED) { List<ScanResult> results = wifi.getScanResults(); for (ScanResult result : results) { if(result.BSSID.equals(wifi.getConnectionInfo()

determining your location using ONLY wifi signals?

岁酱吖の 提交于 2019-11-29 00:10:26
问题 i will be working on a project that tries to determine your position using the wifi signal strength from a few access points. i was wondering if anyone knew of any similiar projects or any articles on that topic if anyone cares: its a research project in at my university. the app is written is used as a playing ground to develop new wifi antenna that are better suited for this type of usage. i only work on the coding part of the project though. oh and its written using c# which is not

Reading from a promiscuous network device

我是研究僧i 提交于 2019-11-28 21:41:46
I want to write a real-time analysis tool for wireless traffic. Does anyone know how to read from a promiscuous (or sniffing) device in C? I know that you need to have root access to do it. I was wondering if anyone knows what functions are necessary to do this. Normal sockets don't seem to make sense here. DGentry On Linux you use a PF_PACKET socket to read data from a raw device, such as an ethernet interface running in promiscuous mode: s = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)) This will send copies of every packet received up to your socket. It is quite likely that you don't really

Google Android - how to figure out if 3g and 2g is turned on

99封情书 提交于 2019-11-28 20:50:30
I'm developing a simple application for the Google Android to turn on and off the wifi or 3g or 2g. I see http://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled() that you can see if the wifi is enabled or disabled and also us http://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled(boolean) to turn on and off the wifi. I'm wondering if it's possible to do the same for 3G and for 2G/GPRS? I know it's possible because you can turn off 3G and left 2G on. 2G/3G To determine your network type use: TelephonyManager.getNetworkType();

Xcode 4.5 - Wirelessly build app on my device

删除回忆录丶 提交于 2019-11-28 20:42:27
问题 So recently my iPhone 4 decided to stop working and I can no longer connect it to my Mac or PC with a USB (it'll only charge if I connect it to a USB that's in a wall outlet and I have to push the 30 pin connector upwards while inserting) but that's another issue. The problem is that I can no longer build and test my app on my device. I have my device set up with iTunes so I can do a wireless sync. So other than testing my apps on my device the phone is still 100% usable. I was reading this

How to update ios6 enterprise apps over the air

十年热恋 提交于 2019-11-28 17:06:35
Hello we have developed our first enterprise app recently. We are using the "In-House" option to create the distribution certificate. Client is not using the app yet. But he will be using it soon. Meanwhile i got a question. He will use the app and in future if there are any updates to the app from our side, we want the client to have it updated on his side as well . Like right now I have apps installed on my iPhone. I get update from AppStore saying the XYZ app has been updated. So i install the update. Now if our client is using the app and has saved some data on it(our app uses core data,

Open wireless settings from app

一世执手 提交于 2019-11-28 16:44:55
问题 I want to open the Settings-> Wireless & networks directly from my application. How can I do that? 回答1: Try this: startActivity(new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS)); Or perhaps startActivityForResult. Your call. You can open different settings by checking the constants in Settings 回答2: You can access the WiFi settings directly using this: Intent intent = new Intent(Intent.ACTION_MAIN); intent.setClassName("com.android.settings", "com.android.settings.wifi

Wifi Triangulation

不羁岁月 提交于 2019-11-28 15:59:45
What would be the best way to triangulate a wireless network passively. Are there tools available? Algorithms? Libraries? My goal would be to create a relative map of various objects that sends or receive signals using signal strength (DB's), signal/noise ratio, signal phase, etc. from a few location points. With enough sampling, i'm guessing it would be possible to create a good 2d/3d map. I'm searching for stuff in any language / platform. Some keywords: wi-fi site survey, visualization, coverage, location, positioning Thinking about using kismet to gather the data and then process it. Maybe