On Wednesday, May 15, 2013 12:15:52 AM UTC-4, Anil wrote: > > Hi, > > I want to use RAW Sockets in my project from Android Native for Mobiles. > The same code is working fine in Ubuntu and able to execute the linux > applications. >
Your APK will likely still need: http://developer.android.com/reference/android/Manifest.permission.html#INTERNET that Ubuntu would not. > We have enabled the root permissions to Mobile phone and created APK using > the same code, which is used in Linux using Android Java Applications. > While executing the application, we are facing the error while creating > RAW Socket from Native library. > It would help if you could provide the error you are facing. > Please let me know how to resolve this. Thanks for your support. > > Also please let me how to cross compile my applications in android and try > to execute the code from adb shell. > The SDK does not support that directly, you might want to go to the android-ndk group and look at this thread: https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/XrPG3TJzZXM Dan -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

