Dec 16 | 7:20 PM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
Dec 16 | 7:30 PM |
Steve | has entered the room |
Mark M. |
hello, Steve!
|
Mark M. |
how can I help you today?
|
Steve |
Hi, Mark. I've returned with some followup questions from yesterday.
|
Mark M. |
go right ahead
|
Dec 16 | 7:35 PM |
Steve |
I tried to take the advice you gave me yesterday, and have some pseudo-code I can show you regarding an implementation of the fragment.
|
Steve |
I'll try pasting it:
|
Steve |
View paste
(21 more lines)
|
Steve |
I haven't tried running code based on this design, but I'm wondering if you can see if there are any obvious problems.
|
Mark M. |
hmmm... not sure about the unregisterReceiver() part
|
Steve |
Ok.
|
Mark M. |
that'll make this just a one-shot receiver; after the first message, it's unregistered
|
Mark M. |
is that really what you want?
|
Steve |
Yes, that's fine. I just need to get the list of contacts and I'm done.
|
Mark M. |
OK
|
Mark M. |
otherwise, this seems like it could work
|
Steve |
Great. Thank you so much! I'll move forward on implementing it.
|
Steve |
I don't have any more questions now, though I'm sure I'll have lots later.
|
Mark M. |
OK
|
Steve |
I appreciate your feedback. Take care.
|
Steve | has left the room |
Dec 16 | 7:45 PM |
Gaurav B. | has entered the room |
Mark M. |
hello, Guarav!
|
Mark M. |
how can I help you today?
|
Gaurav B. |
Hi Mark
|
Gaurav B. |
Good evening
|
Gaurav B. |
I wanted to ask that is it possible for me to support JPEG 2000 format in Android without using NDK
|
Mark M. |
not natively
|
Mark M. |
it's possible that somebody already has a library for that
|
Gaurav B. |
I have a requirement for my app that i should be able to show images in JPEG2000 format also..
|
Gaurav B. |
i tried JJ2000
|
Gaurav B. |
jars..
|
Dec 16 | 7:50 PM |
Gaurav B. |
but not being able to crach it properly
|
Gaurav B. |
have not been successful
|
Mark M. | |
Mark M. |
?
|
Gaurav B. |
yes
|
Gaurav B. |
i tried using that
|
Mark M. |
yes, that's pretty old
|
Mark M. |
this might be newer: http://www.mroland.at/projects/image-decoder/
|
Gaurav B. |
yes i tried that also
|
Mark M. |
but on the whole, I think you'll be needing the NDK and something like OpenJPEG's reference implementation
|
Gaurav B. |
you have an entire chapter about how to create static libraries
|
Mark M. |
static libraries?
|
Gaurav B. |
i have not worked in NDK before..actually.
|
Mark M. |
I infrequently use it
|
Gaurav B. |
especially with Android studio
|
Mark M. |
historically, I have maintained my NDK code outside of the IDE
|
Mark M. |
I have not yet played around with the Android Studio integration
|
Dec 16 | 7:55 PM |
Mark M. |
though that's something that I need to get around to trying sometime
|
Gaurav B. |
I had gone through a couple of threads in stack overflow
|
Gaurav B. |
which told me that I will require to create Android.mk and application.mk file and after which I can at least try.. incorporating the open jpeg implementation
|
Gaurav B. |
in my current application
|
Mark M. |
that is how I did the original work on CWAC-AndDown
|
Gaurav B. |
Ok
|
Gaurav B. |
thanks Mark
|
Gaurav B. |
just one more question
|
Gaurav B. |
will the .jp2 files will take up more memory.. as compared to jpeg files
|
Mark M. |
I have never used JPEG2000
|
Mark M. |
so I have no real idea
|
Mark M. |
I just have heard of it by name
|
Gaurav B. | |
Mark M. |
and it's one of those formats where if I got an image in that format, I'd be converting it to something else using ImageMagick or something
|
Gaurav B. |
this is the thread.. which has given me a reference
|
Mark M. |
that certainly looks promising
|
Dec 16 | 8:00 PM |
Gaurav B. |
Thanks Mark
|
Gaurav B. |
I will take your leave.. Will let you know.. if I need anything else
|
Mark M. |
OK
|
Gaurav B. | has left the room |
Dec 16 | 8:25 PM |
Mark M. | turned off guest access |