[android-developers]How to Integrate cryptsetup package with android source code

2011-01-08 Thread mahesh singh
Hi..

How to  integrate cryptsetup package to android source code .I placed the
cryptsetup package in external folder of source code but when i compiled the
source code it gave following error ...

1)Is it the correct way to integrate ?

out/target/product/zoom2/obj/SHARED_LIBRARIES/libCryptsetup_intermediates/lib/libdevmapper.o:
In function `_dm_check_versions':
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:91:
undefined reference to `dm_task_create'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:94:
undefined reference to `dm_task_run'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:99:
undefined reference to `dm_task_get_versions'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:110:
undefined reference to `dm_task_destroy'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:95:
undefined reference to `dm_task_destroy'


/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:45: undefined
reference to `gcry_md_open'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:47: undefined
reference to `gcry_md_write'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:48: undefined
reference to `gcry_md_write'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:49: undefined
reference to `gcry_md_read'
/home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:51: undefined
reference to `gcry_md_close'

i need help to solve these type of error .

Thanks

-- 
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] SD Card encryption

2010-11-20 Thread mahesh singh
Hi All

Is it possible to encrypt a whole external sdcard(or a part of its partition
i.e ext/fat32) and mount it at boot time or when ever users wants.

-- 
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

Re: [android-developers] custom font

2010-09-14 Thread mahesh singh
Hi

You need to add one ALGER.TTF file in assets folder . Use this link
http://www.filestube.com/3J8NxckcEj7erQxmtSwxt5/ALGER-TTF.html.


On Wed, Sep 8, 2010 at 11:14 PM, nishu nishuk...@gmail.com wrote:

 hi!

 i want to use Algerian font in my application.
 i have tried

 TextView txt = (TextView) findViewById(R.id.text1);
 Typeface font = Typeface.createFromAsset(getAssets(), @fonts/
 ALGER.TTF);
 txt.setTypeface(font);

 but no use.

 How could i do this, i use netbeans and android sdk

 Please help me.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 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 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