Android - WiFi API for Android 2.2 or 2.3 - android

I have to make a peer to peer file sharing app on android platform
Can someone tell me about the WiFi API that i can use for it and how can i get these API's
Thanks in advance.

This question is too broad for SO. This platform is meant for specific programming questions (i.e. you've already done the research, and tried something but are having trouble. Post your troubles and we'll try to help)
search around on the developer site some. Here is a page that might be of interest to you to get started: http://developer.android.com/guide/topics/wireless/wifip2p.html

Related

Watch api(s) consumed by android application

I am looking for a way to see what API(s) is an android app using (with request headers). I think there is some way to connect it with hotspot of our computer system but i probably forgot the whole procedure. Any help would appreciated. Thank you.
You can use wireshark for that. Here is old question and answer about that. Sniffing an Android app to find API URL

Host Android OS on a server

I am unable to use the right terminology to search else if this is already answered i would not have posted.
Pls comment if silly question , I will take it off. do not vote down pls. :( a rookie
I am trying to setup a server where I can host an android environment and let users test their apps. Something like a cloud ?. I wanna see if I can host various flavors of Android so that I can test from another machine. Is it possible? what to use.
May be run a few Independent simulators on a server ?
Yes, lots of companies do things like this to run their own build server. There are also many services that allow you to do such things on their servers (i.e. circleci). Google around and you will find a lot of stuff.

Peer to Peer communication between iOS and Android devices

So I am a relatively new iOS developer but thanks to Stackoverflow, i managed to get peer to peer data communication for my app working without the need of a server using gamekit/GKSessions.
Basically, one iOS device acts as a server and others just connect to it to receive app specific data.
Now, the app is currently being ported on Android and I was wondering if there is a way that I can make an Android device connect to the iOS app and behave the same way as ios app does.
Android developers suggested alljoyn to be an optimum solution for android but that doesn't seem to be available yet for iOS.
Please suggest if you have any ideas on this front.
If there is a solution that involves rework on iOS side as well then I am open to it!
In case, you or others tackling the same question in Jan 2013 needs an answer,
AllJoyn is now ready for iOS too, amongst other platforms.
https://www.alljoyn.org/docs-and-downloads
Venkat i suggest you to read and get some detailed information regarding P2P. This is a Good source, because you might get stuck if both devices are behind multiple Nat. but if your willing to go forward there is always a way. My suggestion would be an Relay, but you need to have a server, but the relay behaves like P2P. Look at the source above to get ideas.
I didn't have time to wait for alljoyn to be launched for iOS and sensing no other feasible solution that would fit on my timeline, I implemented a relay server in between to achieve this.
For others though, iOS binding is now available for alljoyn (www.alljoyn.org).
I haven't tried it yet but the android version of my app works with alljoyn and it works perfectly so I assume it will do the same for iOS as well.
One limitation to be considered using alljoyn is that it cannot communicate between devices that are behind different subnets.
I think there is a limit of max peer to multiple peer connectivity (max 8 peers) derived by IOS and Android, there is no connectivity tested using alljoyn between IOS and Android devices

SOCKet Secure (SOCKS) server for Android

I am looking for SOCKS servers recommendation which can be run on Android handset. I already did google search and stackoverflow search but could not find a SOCKS version 4 or 5 server implementation that can be run on Android.
FYI: I already tried "Tetherbot" but its as the site says it not production quality. Hence looking for more option.
I ended up using JSOCKS (http://jsocks.sourceforge.net/)
It worked great for us. This way be useful for someone else.

Can I develop for Android without an Android phone?

I don't have an Android phone, is there still a way I can learn Android? How can I learn and what do I need?
Yes, absolutely ... the android SDK comes with an emulator, which, while quirky in some ways, does a pretty good job of letting you at least start learning and running most sample projects.
edit: This thread is somewhat old, but in recent times a new emulator has been released that is quite nice. Check out Genymotion :)
To add to Joel Martinezs answer,
Yes you can learn android dev without having a device, although it is really good to have one if you are into dev.
I started 3 months back and this is what i did
Downloaded the sdk and tools
Created a hello world app
Read about android sdk best practices in the developers site.
Looked at a lot of sample apps to know how they work
Started creating our app.
If I could do it, I am sure you could do it too. Android development is very easy to get started. You have all the info you need in the android developers site. If you need any help we are here at StackOVerFlow :-)
You need to fulfill the following requirements
Java knowledge
Android sdk
Android simulator
working knowledge of android OS(you can get it using emulator)
creativity and logics
Finally, a video tutorial(I suggest lynda.com)
Also take a look into android developer official site
Hey in addition to the above answers,
u should actually test on ur device when u r making an app that uses one of the following :
GPS, or wi-fi to get user location
when u want to use any phone sensor in ur app
when u r trying to integrate camera/ camcorder in your app
also u might need to actually test phone call/sms functionality integrated in an app
otherwise the emulator just works fine
As Joel puts it, you can use the emulator. Here is the developer website, and here is the page specific to the emulator.
Sure. Just get an android emulator and use that for your development. there are free emulators available online as well as tutorials and lots of books available for android OS development.

Categories

Resources