[android-developers] Android NDK C++ 'wstring' support
Hi, I have source code/lib written in C++ - now i would like to compile and use the same in Android NDK project (NDK 6). I am able to compile most of the C++ files except std::wstring based functionality. In Application.mk when i specify APP_STL: = stlport_static then it compiles std::wstring based code but when i specify APP_STL: = gnustl_static it fails to compile. I do not know how to resolve std::wstring related issue with APP_STL: = gnustl_static Any pointer or help on this would be gretly appriciated. Thank You. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] 256 Bit Encryption (Using Rijndael algorithm).
How to perform 256 Bit AES Encryption (Using Rijndael algorithm). *My Requirement:* I have implemented 256 Bit Encryption (Rijndael) on server (using C#.Net) and it sends data to client (i.e Android device) - now to decrypt these data - would like to implement 256 Bit Encryption (Rijndael) on Android. I know how to perform 128 Bit encryption - but i would like to implement 256 bit encryption... Any pointer or help on this will be greatly appreciated. Thank You. *-* *Ankit Shah * -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Open/View Pdf, Doc, Xls and Ppt files from Internal storage
Your pointers helped... Thanks Mark. On May 9, 2:39 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, May 9, 2011 at 1:11 AM, Ankit Shah iankits...@gmail.com wrote: I would like to open/view PDF/Doc files stored in internal storage (i.e file:///data/data/package_name/files/test.pdf) Is there any way to generate Uri object for file stored in internale storage (i.e file:///data/data/package_name/files/test.pdf) Use Uri.fromFile(). Intent intent = new Intent(android.content.Intent.ACTION_VIEW); Uri data = Uri.fromFile(file:///data/data/package_name/files/ test.pdf); A String is not a File. Use a File with Uri.fromFile(). Also, bear in mind that this won't work for your desired purposes unless the file is world-readable. You can also create a ContentProvider to serve a local file, then use the content:// Uri in your Intent. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Open/View Pdf, Doc, Xls and Ppt files from Internal storage
I would like to open/view PDF/Doc files stored in internal storage (i.e file:///data/data/package_name/files/test.pdf) Is there any way to generate Uri object for file stored in internale storage (i.e file:///data/data/package_name/files/test.pdf) Intent intent = new Intent(android.content.Intent.ACTION_VIEW); Uri data = Uri.fromFile(file:///data/data/package_name/files/ test.pdf); intent.setDataAndType(data, application/pdf); startActivity(intent); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en