Wi-Fi direct support in Android

by Sumanth » Thu, 19 May 2011 22:35:18 GMT


Sponsored Links
 Hi,

We intend to support for Wi-Fi direct with our hardware on Android.
As per 
 http://www.sfonge.com/forum/topic/when-will-android-open-wi-fi-direct-api ,
Wi-Fi direct support may be added in Ice-cream Sandwich.

Existing Android Wi-Fi uses Linux wpa_supplicant for Station mode and
netd for Access point mode.



Other Threads

1. why would InputStreamReader returns null

Hi People;

I am trying to solve my problem about InputStreamReader returns
null..I have a Login screen which checks the configuration file.
and here is the configuration class

import java.io.*;

import j2me.microtools.BufferedReader;
import j2me.microtools.BufferedWriter;
import j2me.microtools.FileReader;
import j2me.microtools.FileWriter;


/** Configure helps the loading and saving of configuration data.
  */
public class Configure
{
  protected void loadFile(String file,boolean define)
   {
      if (file==null)
      {
         return;
      }
      //else
      BufferedReader in=null;
      FileInputStream fIn = null;
      String root = new String("//data//data//com.sam.nos//files//");
      InputStreamReader isr = null;

      try
      {
          //define null degilse buras android
          if(define != false){

                  fIn = Login.me.getApplicationContext().openFileInput(file);
                 // fIn = new FileInputStream(root + file);

                  isr = new InputStreamReader(fIn);

               in = new BufferedReader(isr);

          }


As you can see i use the context of Login widget  I can see the fIn
constructs correct but isr is null..
What would be the problem.. any suggestion?

--~--~---------~--~----~------------~-------~--~----~

2. ACCURACY_COARSE and ACCURACY_FINE

I've been toying with these two concepts for a while and was wondering
what the consensus is on how to handle accuracy changes.

I would like to be able to use the FINE but if not available use
COARSE. The issue is how to handle these two. I thought about using
two listeners and that seems like a good idea but it seems a bit of
overkill if there is a simpler method.

Any ideas? Code examples?

Thanks in advance.

-John Coryat
--~--~---------~--~----~------------~-------~--~----~

3. How to obtain bitmap from data in onPreviewFrame method of previewCallback and display on surface using canvas

4. Signing APK and "Conversion to Dalvik format failed with error 1"

5. How to programatically launch an installed app?

6. Speech Recognition application

7. SQL Lite question, can you insert negative numbers