The code looks fine to me. Are you using the Access_Wifi_State permission in the manifest file?
-- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 26, 3:12 am, Khetzal <[email protected]> wrote: > Hello, > > I'm trying to get wifi signal strength in an android 1.6 dev phone > with this code: > > WifiManager m = (WifiManager) getSystemService(Context.WIFI_SERVICE); > WifiInfo w; > w= m.getConnectionInfo(); > > But when their is the getConnectionInfo, the application crash. > Is there something wrong with my code ? I've search without founding. > > Thanks ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

