image processing module

1 view
Skip to first unread message

sahir contractor

unread,
Mar 18, 2011, 4:10:53 PM3/18/11
to Purdue Android Programming
hey,
In the app that im currently working on, the user can take a photo and
then select one of two ways to further process the photo that has been
taken. These two options are just cropping algorithms that we have
worked on, but my question is, do these algorithms have to be coded
into the app itself( using android ) or can they be coded in another
language and then just called by the app ?
Thank you,
Sahir.

Rodrigo Haragutchi

unread,
Mar 18, 2011, 5:14:33 PM3/18/11
to purdue-androi...@googlegroups.com, sahir contractor
It is possible to write function that run natively (written in C) which are generally faster and then call them from your java code. I would recommend looking into the android NDK (not SDK). However, as android phones run on different architectures, you will have to compile your native code for every one (I believe). 

if you're really concerned about speed, go the NDK route. Otherwise, it would be more convenient to rewrite your algos in java. 
--
Rodrigo Haragutchi
Purdue ACM SigApp President
Google Student Ambassador

Reply all
Reply to author
Forward
0 new messages