[android-developers] Image Upload

2016-10-29 Thread Fahad Ahmed
Hello Respected Developers,
Is there any library for pictures , where i can upload it on image view 
with particular size.. we can edit and crop it like whats app. I ll put 
into my app. 

-- 
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 android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d1ecf239-ce24-4f25-96ee-9d9f6e882300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] image processing

2016-07-30 Thread mrdeveloper404
 i searching for someone can work in image processing , face mask android 
app ,to work with me in my new app in also app developer but i want 
developer or two who have enough experience to develop my new app my first 
app have more than (100-500k) and i have my advertising budget and plan 
like first one and who work with me will have fixed earning from our app 
and wont be the last one thanks good luck

-- 
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 android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/0d620271-ec22-4913-a3fc-96bfb164baa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image recognition Android app

2016-05-18 Thread 'Andreea Rosu' via Android Developers
Hello, 

For my bachelor thesis I have to make an app that recognize logos, eg : I 
see the logo of a car and I want to find out what car it is. I take a 
picture of the car’s logo and the app should recognize the image and send 
me back the Word „Mercedes” so that I can search for information about the 
car online. I would like that no matter the position of the logo or the 
light or the color, the app to recognize what that logo represents.

I have tried with recognize.im API but it doesn't work well because it is 
callibrated and adjusted for comparison not classification, and I 
definitely need classification.

I would like to go with on-cloud recognition, but on-device would work too 
(in which case what algorithm should I use ?).

Thank you very much.

-- 
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 android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8ceaf968-8f7e-4193-a80d-1ac929ad6180%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] image view ( capture signature ) disappears after adding scrollview

2016-03-31 Thread mushspace
Hi,


 
http://www.mysamplecode.com/2011/11/android-capture-signature-using-canvas.html 

I have used code from this link to capture signature. It works. But further 
on, I had to add more edittext's. This needs a scroll view as it does not 
fit into a screen. In doing so, the image view that has signature 
disappears. How can I go about it to ensure that view that captures 
signature appears in the scrollview. 

-- 
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 android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/bf09de63-a01c-417a-b5b2-ef61464bfe8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image adquisicion app

2016-02-29 Thread gjs
Keh?

-- 
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 android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/c9ffe589-b48d-494e-9f49-2a9ab693deb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image adquisicion app

2016-02-29 Thread developer
I want to develop an app to acquire images like google traductor module, i 
seek control on the flashlight and focus furthermore memory storage. thanks

-- 
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 android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6383fe9d-1611-411b-b02c-421fa511f6d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image Picker with ACTION_GET_CONTENT shows shortcuts

2015-09-28 Thread Brill Pappin
I'm I'm doing the standard thing to allow a user to pick an image:

Intent intent = new Intent();
intent.setAction(Intent.ACTION_GET_CONTENT);
intent.putExtra(Intent.EXTRA_LOCAL_ONLY, true);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("image/*");


However, I get an "Open From" view back that includes some shortcut links, 
including Recent, Images, Downloads and then sits the applications I want, 
namely "Photos" underneath.

The problem is that if the user wants to to pick from Downloads, the 
returned RUL is bogus and doesn't work, but if the user selected Photos 
first, and then picks downloads from there, it works just fine.

How do I get rid of this shortcut screen?
I wouldn't mind it, except that I can' pick any images from it.


-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image is being oriented differently once uploaded to server, why?

2015-04-11 Thread Dan Cha
So within my app, i have the ability to allow the user to take a pic, see a 
thumbnail within the app and once the form is submitted, its uploaded to 
the server.

But something ive noticed lately is that (since im storing the image taken 
in the users gallery within a folder specific to the app) if you view the 
pic outside the app in the actually folder, it looks oriented correctly, if 
i take it portrait its portrait, if i take the pic landscape, its stored in 
landscape.

Also when the user is presented the thumbnail, it also shows correct, but 
for some reason when the image is uploaded to the server, it no longer has 
the correct orientation.

Im using ftp to upload the image with this code:

try
{
int reply;
String reply2;
ftpClient.connect("ftp.site.com");
ftpClient.login("site","pass");
ftpClient.changeWorkingDirectory("/imgs/");
ftpClient.setFileType(FTP.BINARY_FILE_TYPE);
BufferedInputStream buffIn = null;
buffIn = new BufferedInputStream(new FileInputStream(file));
ftpClient.enterLocalPassiveMode();
ftpClient.storeFile(destinFolder,buffIn);
buffIn.close();
reply = ftpClient.getReplyCode();
if(!FTPReply.isPositiveCompletion(reply))
{
ftpClient.disconnect();
}
ftpClient.logout();
}

I even changed my logic to this and still nothing, the image is always 
uploaded in landscape. Even though the thumbnail and stored image on the 
phone is portrait.
Found at this 
link: 
http://stackoverflow.com/questions/24629584/image-orientation-changes-while-uploading-image-to-server


  int rotate = 0;
try {
getContentResolver().notifyChange(imageUri, null);
File imageFile = new File(al_image_paths.get(i)); 
ExifInterface exif = new ExifInterface(
imageFile.getAbsolutePath());
int orientation = exif.getAttributeInt(
ExifInterface.TAG_ORIENTATION,
ExifInterface.ORIENTATION_NORMAL);

switch (orientation) {
case ExifInterface.ORIENTATION_ROTATE_270:
rotate = 270;
break;
case ExifInterface.ORIENTATION_ROTATE_180:
rotate = 180;
break;
case ExifInterface.ORIENTATION_ROTATE_90:
rotate = 90;
break;
}
Log.v(Common.TAG, "Exif orientation: " + orientation);

Bitmap rotattedBitmap= BitmapFactory.decodeFile(al_image_paths.get(i)); 
  
Matrix matrix = new Matrix();
matrix.postRotate(rotate);
return Bitmap.createBitmap(rotattedBitmap, 0, 0, 
rotattedBitmap.getWidth(), rotattedBitmap.getHeight(), matrix,   true);
} catch (Exception e) {
e.printStackTrace();
}

-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image view and then a grid view - make them all scrollable

2014-07-28 Thread sweety fx
I have an image view on top and then grid view.
I want all both the image view and grid view scrollable together, but only 
the grid view is scrolls.
Is there a way to implement it?

-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image captured from my app is rotated by default

2014-03-24 Thread Jags
Hi All,

I tried to capture an image and send it to server in my app. I did that 
using camera intent. the problem is in my samsung galaxy s4 device the 
image is rotated -90 degree by default. I read around web that it is a 
problem with the samsung devices. But what is the best solution to it ? if 
i rotate the image after capture, it becomes heavy image processing in my 
app. What is the best approach to resolve this ? 

in phonegap there is something like correctOrientation = true / false 
what's its counterpart in native code ?

thanks and regards
jags

-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Image to text in android.

2013-05-13 Thread yogendra G
Dear All,

Please give me some solution for the question posted in below link:
http://stackoverflow.com/questions/16445997/how-to-fetch-text-from-image-properly-in-android

Thanks in advance.

Thanks & Br,
Yogendra G.
+91-9916168647

-- 
-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] image issue while view it as base64 in android mobile2.3

2013-03-13 Thread senthil kumar
Hi,
   Using phone and javascript in our application. we want to see the image 
as base64 from the sqlite db.
In some mobile all the image(i.e 4 or 5) are viewed but in some mobile some 
of the image(even 1 is not displayed) are not viewed we do not know why it 
happening...
is it due to memory? Please explain , if any know about this issue...

-- 
-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Image Gallery

2013-03-11 Thread Ambika Kulkarni
Dear Folks,

I am a new bee to Android. I want to create a Image Gallery. With Next and 
PRevious buttons.I want to have this image sclaed with full screen.  I am 
able to create a Grid View Image Gallery. For this I am displaying the 
images from the server. For server side I have written PHP script and it is 
returing a JSON string which contains the image name. At the client side I 
am itearating this and showing in  a grid view. Same thing I want to do 
with a I age Gallery where 1 after the other image comes on click of Next 
and Prev button.

I have searched in the net, but dint get a proper working code for it. Can 
someone help me out.


Thanks And Regards
Ambika

-- 
-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Image Crashing or folding by using multi-touch event

2013-01-30 Thread chandur mani
Hi All,

 I am working one project, which is having multi touch event with images
editing.

 My task is crashing or folding  image using multi touch event.

 I go through the google , i got only stretching , drag and drop images.

 how to do this stuff.

Please help me.

 Sorry for my english.


Thanks,
Manikandan

-- 
-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Image background (not 9-patch) for an AppWidget

2012-12-03 Thread Mário César Mancinelli de Araújo
Hi everyone.

It's really not a code issue, but a layout one. So, if anyone could help me, it 
would be nice.

The thing is that I'm gonna have to use an image, an picture, as background for 
an AppWidget. So, basically, I'm gonna use an ImageView to show the image, 
setting the scale type to CENTER_CROP. Everything else (TextViews and so on) go 
on top of that.

The problem is that I will need to show a border in the AppWidget, with rounded 
corners. So, what's the best way of doing that? The only way I can think of is 
to use a black 9-patch as background of the RelativeLayout (were the ImageView 
is going to be inside of) and set a small padding to it... But I don't know if 
it's going to be good enough...

So... Any ideas?

Thanks in advance!

-- 
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] image view on Customized dialog box

2012-11-22 Thread Mr cool
I have one problem with customized dialog box in android,i have created the 
customized dialog using javainterface in android ,in my class 
CustomizeDialog i have one thread do some process in back ground after that 
i have set one imgae to this customized dialog i set the image in 
OnPostExecute but i got the following error

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the 
original thread that created a view hierarchy can touch its views.
 i know we can't access the main ui from another thread but we access the 
main ui in OnPostExecuted in my case that also not working ,
in my another class(main.class) i will call this class by
 CustomizeDialog customizeDialog = new CustomizeDialog(mContext);
customizeDialog.show();

this my code which create dialog box
   
public class CustomizeDialog extends Dialog implements OnClickListener {
Button okButton;
ImageView img = null;
ImageView img2=null;
ImageView img3 = null;
ImageView img4= null;
 Bitmap bm;

public CustomizeDialog(Context context) {
super(context);

img2 = (ImageView) findViewById(R.id.imageView1);
img3 = (ImageView) findViewById(R.id.imageView3);
img4 = (ImageView) findViewById(R.id.imageView4);
 
WindowManager.LayoutParams params = getWindow().getAttributes();  
params.x = 30;  
params.height = 500;  
params.width = 500;  
params.y = 50;  

this.getWindow().setAttributes(params);  

setContentView(R.layout.test);
img = (ImageView) findViewById(R.id.imageView2);

img.setBackgroundResource(R.drawable.sample);

AnimationDrawable frameAnimation = (AnimationDrawable) 
img.getBackground();

 //Start the animation (looped playback by default).
 frameAnimation.start();

new LongOperation1(context).execute("");
 
}

else
{
Toast toast = Toast.makeText(getContext(), "Erorr",
Toast.LENGTH_SHORT);
toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0);
toast.show();
} }

private class LongOperation1 extends AsyncTask {

@Override
protected String doInBackground(String... params) {
 //here i do some process
return "Executed";
}

@Override
protected void onPostExecute(String result) {
  
 // here i do some process to get bm

img2.setImageBitmap(bm);
}

@Override
protected void onPreExecute() {
}
@Override
protected void onProgressUpdate(String... values) {
}
}
   
do any have idea about how to do this

-- 
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] image processing in android

2012-10-04 Thread Bhargav Solanki
i am making an app where i need the phone to automatically click 
pictures,atleast 10 photos in 2 seconds.
also the photos should be clicked in the background ,where the current 
activity,say my net browser, will be on the screen, and the phots will be 
contunuasly clicked, also
please help me with the classes to use, the functions,and other help is 
welcome

-- 
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] image passing ?

2012-09-30 Thread mohammed Nuhail
How to send a image from one activity to another activity ?

-- 
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] Image Retrieve from sql server through bytecode(not from url)

2012-09-12 Thread Srinu
Please Help Me How to get the image from the sql server to the android 
through byte code but not from the url

please help me 

Thanks in advance


Srinivas

-- 
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] Image Transforamtion in Android

2012-07-10 Thread Krishna Prasad
Is there any java lib  to transform images by pulling  the edges of images.


 In flex, check 
Ref link :
http://www.sephiroth.it/weblog/archives/2007/07/transformtool_modification.php

-- 
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] Image Morphing

2012-07-07 Thread dan.x.sheph...@googlemail.com
Image morphing can be implemented as easily on android as any other computer, 
you probably are better off learning the method first forgetting the fact you 
want to implement it on android. There are many tachniques. A good place to 
start may be to google point bassed morphing with thin plate splines. 
Essentially a morph is performed by mixing warping and blending if two images. 
One issue you might have on android is performace. Lots of pixels to update 
each envolving matrix arithmatic proportional in size to the number of landmark 
morphing points.  You could may want to implement it in native ndk c code and 
call it from java or better still see if you can implement it for the gpu using 
vertex/fragment shaders.  Good luck, Dan

-- 
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] Image Morphing

2012-07-07 Thread Nobu Games
Oh my god, I want to marry your post

On Saturday, July 7, 2012 3:25:36 PM UTC-5, Fred Niggle wrote:
>
> Hi everybody,
>can some one tell me that how to do image morphing in android,is it 
> possible or not if yes then how ?
>
> *Yes it is possible.*
>
>  pls help me.
>
> *First* use google, locate some java programming tutorials and work 
> through them, *then* when you find something problematic post here with 
> your code and logcat dumps to gain guidance or advice.
>
> *If* *any of the above is unclear please google search about.*
>
> Best regards,
> Fred
>
> On 7 July 2012 20:21, Sadhna Upadhyay  wrote:
>
>> Hi everybody,
>>can some one tell me that how to do image morphing in android,is 
>> it possible or not if yes then how ? pls 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.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> -- 
> Ubuntu Speech 
> inputis
>  now available on Google Play, along with Magnetic 
> Door Alarm 
> app
> .
>
>  

-- 
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] Image Morphing

2012-07-07 Thread Fred Niggle
Hi everybody,
   can some one tell me that how to do image morphing in android,is it
possible or not if yes then how ?

*Yes it is possible.*

 pls help me.

*First* use google, locate some java programming tutorials and work through
them, *then* when you find something problematic post here with your code
and logcat dumps to gain guidance or advice.

*If* *any of the above is unclear please google search about.*

Best regards,
Fred

On 7 July 2012 20:21, Sadhna Upadhyay  wrote:

> Hi everybody,
>can some one tell me that how to do image morphing in android,is it
> possible or not if yes then how ? pls 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.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Ubuntu Speech 
inputis
now available on Google Play, along with Magnetic
Door Alarm 
app
.

-- 
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] Image Morphing

2012-07-07 Thread Sadhna Upadhyay
Hi everybody,
   can some one tell me that how to do image morphing in android,is it
possible or not if yes then how ? pls 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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] image show with zoom/pan

2012-06-30 Thread guich
Hi,

Is there a ready component to show an image and zoom/pan it, like the one 
in album/gallery? I just want to show a big image and zoom in/out and pan, 
full screen, then if back is clicked, it goes back to my app.

tia

guich

-- 
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] image format for android games

2012-06-18 Thread F.Stein
 realh,

This book is old enough to be a carrier of facts. Facts in this book is 
simply old.
There are many devices support 32bit RGBA pixel format. Only old or 
very-low-end devices can't support RGBA_ pixel format. Use this 
linkto
 learn about PixelFormat class.

You may use a 32bit TGA or PNG format. But it will more better to use 
compressed texture formats.
Compressed texture formats is a wide theme, you may learn about it 
here,
 
for example. It will be useful if you use OpenGL/ES.

понедельник, 18 июня 2012 г., 17:44:24 UTC+7 пользователь realh написал:
>
> On Sat, 9 Jun 2012 02:13:34 -0700 (PDT) 
> EDan wrote: 
>
> > I have a problem with images in android games. I bought a book 1 month 
> > ago "Beginning Android 4 Games Development" and I already write the 
> > framework for develop game that the book explain, so the problem is 
> > not in the code. The problem is that I don't know how built with 
> > photoshop a picture that goes very well on android (I know that I have 
> > to use .bng but I don't know the other settings like RGB565 or other). 
> > So I need someone that explain me wich format I have to use, or if I 
> > have to use another software for this purpose. 
>
> I have a book called "Beginning Android Games" which says that nearly 
> all Android device screens are 16-bit, but that could have changed since 
> more tablets etc came on the market. 
>
> For maximum simplicity, good performance across as many devices as 
> possible, and space saving, you should load them as RGB565 or ARGB 
> depending on whether you need alpha (transparency), and save them from 
> Photoshop in that format. But to make your game look better on high-end 
> devices you could save the files in 24-bit/32-bit depth and choose 
> whether to load them into Android in that format or in a 16-bit format 
> depending on what the device supports at run-time. 
>
> ISTR reading that devices might not truly report whether their screen is 
> really 32-bit (or at least more than 16), so it might be better to have 
> a user option than try to work it out from API functions. 
>

-- 
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] image format for android games

2012-06-18 Thread Tony Houghton
On Sat, 9 Jun 2012 02:13:34 -0700 (PDT)
EDan  wrote:

> I have a problem with images in android games. I bought a book 1 month
> ago "Beginning Android 4 Games Development" and I already write the
> framework for develop game that the book explain, so the problem is
> not in the code. The problem is that I don't know how built with
> photoshop a picture that goes very well on android (I know that I have
> to use .bng but I don't know the other settings like RGB565 or other).
> So I need someone that explain me wich format I have to use, or if I
> have to use another software for this purpose.

I have a book called "Beginning Android Games" which says that nearly
all Android device screens are 16-bit, but that could have changed since
more tablets etc came on the market.

For maximum simplicity, good performance across as many devices as
possible, and space saving, you should load them as RGB565 or ARGB
depending on whether you need alpha (transparency), and save them from
Photoshop in that format. But to make your game look better on high-end
devices you could save the files in 24-bit/32-bit depth and choose
whether to load them into Android in that format or in a 16-bit format
depending on what the device supports at run-time.

ISTR reading that devices might not truly report whether their screen is
really 32-bit (or at least more than 16), so it might be better to have
a user option than try to work it out from API functions.

-- 
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] image format for android games

2012-06-17 Thread Juan Barbosa
What engine are you using? Different engines support different formats.
Secondly opengl may or may not care about the dimensions of the image
you're using (usually opengl 1.x).
If you could provide more details on what you're trying to do, I could
provide you with more help.

-Juan


On Sat, Jun 9, 2012 at 5:13 AM, EDan  wrote:

> Hi,
> I have a problem with images in android games. I bought a book 1 month
> ago "Beginning Android 4 Games Development" and I already write the
> framework for develop game that the book explain, so the problem is
> not in the code. The problem is that I don't know how built with
> photoshop a picture that goes very well on android (I know that I have
> to use .bng but I don't know the other settings like RGB565 or other).
> So I need someone that explain me wich format I have to use, or if I
> have to use another software for this purpose.
>
> Sorry for my English.
> Thanks to all
>
> --
> 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

-- 
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] image format for android games

2012-06-12 Thread EDan
Hi,
I have a problem with images in android games. I bought a book 1 month
ago "Beginning Android 4 Games Development" and I already write the
framework for develop game that the book explain, so the problem is
not in the code. The problem is that I don't know how built with
photoshop a picture that goes very well on android (I know that I have
to use .bng but I don't know the other settings like RGB565 or other).
So I need someone that explain me wich format I have to use, or if I
have to use another software for this purpose.

Sorry for my English.
Thanks to all

-- 
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] image partition according to matrix like 4*3

2012-05-28 Thread TreKing
On Mon, May 28, 2012 at 10:18 AM, ANKUR GOEL  wrote:

> i need help in drawing rows * columns for bitmap and it should support all
> matrix upto 4* 4.
> using canvas
> any help would be appreciated .
>

Your post has almost no information. Thus, you will probably get no useful
response. Read this, then try again:
http://www.catb.org/~esr/faqs/smart-questions.html

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] image can not be loaded completely

2012-05-22 Thread ayoub bouziane
hi ;

when i load an image to my Activity whith the function :
bitmap_Source = BitmapFactory.decodeResource(getResources(),
R.drawable.im2,bmpFactoryOptions);
Log.i("le width ", ""+bitmap_Source.getWidth());
Log.i("le height ", ""+bitmap_Source.getHeight());

the problem is:

  1) it is not fully loaded, in fact, its size after the load is
halved !!

  2)When I converted this image to grayscale with the following
function, I find values ​​different from those obtained by matlab;

public static Bitmap processingBitmap_Gray(Bitmap src){

Bitmap dest = Bitmap.createBitmap(
  src.getWidth(), src.getHeight(), src.getConfig());

for(int x = 0; x < src.getWidth(); x++){
 for(int y = 0; y < src.getHeight(); y++){
  int pixelColor = src.getPixel(x, y);
  int pixelAlpha = Color.alpha(pixelColor);
  float pixelRed = (float)Color.red(pixelColor) * 0.3f;
  float pixelGreen = (float)Color.green(pixelColor) * 0.59f;
  float pixelBlue = (float)Color.blue(pixelColor) * 0.11f;

  int pixelBW = (int)(pixelRed + pixelGreen + pixelBlue);
  int newPixel = Color.argb(
pixelAlpha, pixelBW, pixelBW, pixelBW);

  dest.setPixel(x, y, newPixel);
 }
}

return dest;
   }

 pleaaase 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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Image scaled, scroll, zoom, without margin

2012-05-14 Thread huberte
here the code, it's working :


http://schemas.android.com/apk/res/android";>







thks to kostya

-- 
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] Image scaled, scroll, zoom, without margin

2012-05-14 Thread huberte
In scrollview width="fill_parent" works, but the image is ugly

Le lundi 14 mai 2012 02:47:50 UTC-4, huberte a écrit :
>
> I did 
>>
>>
> android:adjustViewBounds="true"
> android:scaleType="fitXY"
>
> great on portrait mode, but landscape does not fit, why ?
>

-- 
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] Image scaled, scroll, zoom, without margin

2012-05-13 Thread huberte
I did 
>
>
android:adjustViewBounds="true"
android:scaleType="fitXY"

great on portrait mode, but landscape does not fit, why ?

-- 
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] Image scaled, scroll, zoom, without margin

2012-05-12 Thread [Perso]Svend WALTER
Sorry, zoom is not in imageview implemented as I red. I will pass this
feature on my app, it's not so important...
Le 13 mai 2012 02:06, "huberte"  a écrit :

> Hi,
>
> A very easy thing, I thought.
>
> Have an image : exp1.png, which I want to fit the screen in landscape or
> portrait, and wish that the user can scroll this image.
>
> Tell me please, if I do that correctly :
>
> 1. I did copy different resolution in xhdpi (1024x) hdpi(640x) and
> ldpi,mdpi(480x...)
> >first warning/error :
>
> 2. Have a Layout like this :
>  android:layout_width="fill_parent" android:layout_height="fill_parent"
> xmlns:android="http://schemas.android.com/apk/res/android";>
>
>  android:layout_width="fill_parent" android:layout_height="fill_parent"
> android:scaleType="centerInside" />
>
> 
>
> 3. Have a class like this:
> public class ImageActivity extends Activity {
> /** Called when the activity is first created. */
> @Override
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.main);
> ImageView image = (ImageView) findViewById(R.id.exp1_image);
> }
> }
>
> a. In portrait mode I have "margin" up and down (black screen), the image
> does not fit the screen. I don't know hot to set the title of the image
> (Image).
> b. In landscape mode : the image is centered and not scaled, I have margin
> left and right
>
> I cant zoom in the image. Scrolling is very good
>
>  --
> 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

-- 
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] Image scaled, scroll, zoom, without margin

2012-05-12 Thread huberte
Hi,

A very easy thing, I thought.

Have an image : exp1.png, which I want to fit the screen in landscape or 
portrait, and wish that the user can scroll this image.

Tell me please, if I do that correctly :

1. I did copy different resolution in xhdpi (1024x) hdpi(640x) and 
ldpi,mdpi(480x...)
>first warning/error : 

2. Have a Layout like this :
http://schemas.android.com/apk/res/android";>





3. Have a class like this:
public class ImageActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
ImageView image = (ImageView) findViewById(R.id.exp1_image);
}
}

a. In portrait mode I have "margin" up and down (black screen), the image 
does not fit the screen. I don't know hot to set the title of the image 
(Image).
b. In landscape mode : the image is centered and not scaled, I have margin 
left and right

I cant zoom in the image. Scrolling is very good

-- 
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] Image transfer via bluetooth

2012-05-03 Thread Kamran
I am trying to transfer an image via bluetooth, I see the bytes being
received but when I try to load it in ImageView, nothing appears! I
have looked at and tried the solutions for other similar posts but
nothing is working.

Sender:

Bitmap bm = BitmapFactory.decodeResource(getResources(),
R.drawable.white);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
bm.compress(Bitmap.CompressFormat.JPEG, 100,baos);
byte[] b = baos.toByteArray();
//also tried reading from inputstream

// Bluetooth
outStream.write(b);
Receiver:

mmInStream.read(buffer);

Bitmap bm1 = BitmapFactory.decodeByteArray(buffer, 0, buffer.length);
image.setImageBitmap(bm1);

I tried reading the buffer to one complete string then loading to
"decodeByteArray" (after changing it to bytes).

Does it have to do something with UUID (mine is fa87c0d0-
afac-11de-8a39-0800200c9a66)?

-- 
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] Image zoom on double tap and scroll to next image if crosses view's boundary

2012-04-26 Thread Justin Anderson
http://catb.org/esr/faqs/smart-questions.html

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 25, 2012 at 8:48 AM, raj  wrote:

> Dear All,
>
>
> Please explain me more on the following.
> I have 3 images.
> 1.on double zoom the image.
> 2. Provide scroll in the zoomed image
> 3.move to the next image once it crosses boundary
> 4.set thumnail accordingly.
>
> Thanks in advance.
>
> Raaj
>
> --
> 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

-- 
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] Image zoom on double tap and scroll to next image if crosses view's boundary

2012-04-26 Thread raj
Dear All,


Please explain me more on the following.
I have 3 images.
1.on double zoom the image.
2. Provide scroll in the zoomed image
3.move to the next image once it crosses boundary
4.set thumnail accordingly.

Thanks in advance.

Raaj

-- 
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] Image Effects GoofyFastRenderFilter

2012-04-18 Thread Ganesh
Dear all,

I am trying to understand the different camera effects in ICS.
However, I am unable to find the definitions of certain filter
elements defined in Goofy_face.graph, specifically
FaceMetaFixedRotationFilter, MultiFaceTrackerFilter and
GoofyFastRenderFilter.

Could you please recommend where I could get these definitions?

Thanks,
Ganesh

-- 
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] Image Processing library

2012-04-16 Thread Farhan Tariq
Hi,

I am required to make an application that takes picture from camera and
modify the picture. I wanted to know if there are good android-compatible
image processing libraries out there that someone here has used. Also I
would like someone to tell me what KEYWORDS should i look into to be able
to make the application. I want to add glasses to a picture of a person
taken with camera. Any help is appreciated.

Regards,

Farhan

-- 
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] Image to Video Converter In android

2012-04-09 Thread nagaraj attimani
Dear Arun,

First you need to convert Image to YUV format using Image Decoder.
Then you can feed each YUV Image as a Video Input to Media Recorder Engine.

Go through the Media Recorder Source Code to get more info.

On Mon, Apr 9, 2012 at 1:22 PM, Arun  wrote:
> hello all,
>
> I want to convert a sequence of images in to video file in android.
> and wants to share the file on facebook.  i had done lots of R&D and
> uses FFmpeg library for the same, But no success.
>
> please help me.
> and id anyone have working code please provide me.. i am in deep
> trouble.
>
> Thanks in advance.
>
> --
> 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



-- 
Warm Regards,
Nagaraj

-- 
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] Image to Video Converter In android

2012-04-09 Thread Arun
hello all,

I want to convert a sequence of images in to video file in android.
and wants to share the file on facebook.  i had done lots of R&D and
uses FFmpeg library for the same, But no success.

please help me.
and id anyone have working code please provide me.. i am in deep
trouble.

Thanks in advance.

-- 
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] Image CoverFlow not working fine with Android 4.0

2012-03-30 Thread sblantipodi
Hi, I'm working with coverflow, the images are displayed and working
fine in android 2.3.6 and below versions but is not displayenter image
description hereed properly in android 4.0 and above sub versions.

No exception is thrown unfortunantly, the image, simply does not
display correctly on android 4.

-- 
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] Image loading in Gridview

2012-03-29 Thread Febi.M.Felix Maliakkal
I have a gridview and i need images from my website to get loaded on to 
this gridview fastly..there should not be any delay..that means, 
downloading action should be in background while the gridview get 
populated..i have implemented a method..but it takes more time...Only after 
downloading the complete pictures, the gridview gets populated...please 
help..

-- 
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] Image /video Share on Facebook and Twitter

2012-03-23 Thread s.rawat
Hi ,
I have been working on this application to share a video/image on facebook
on my wall and googled a code and modified this a bit.Here is the code :

public class PicShareActivity extends Activity {
private static final String FB_APP_ID = "My=app-id-taken from facebook
after registering my application";

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
System.out.println(">>>Inside the
FbookShareActivity");
setContentView(R.layout.main);
byte[] data = null;
String dataPath = "/data/digitechvideos/out.mpeg";
String dataMsg = "Test Video Sent form Nexus S.";
String dataName = ".mpeg";
Bundle param;
Facebook facebook = new Facebook(FB_APP_ID);
AsyncFacebookRunner mAsyncRunner = new
AsyncFacebookRunner(facebook);
InputStream is = null;
try {

System.out.println(">>>Inside TRY
Block>>");

is = new FileInputStream(dataPath);
data = readBytes(is);
param = new Bundle();

System.out.println(">>>Before param
>>");

param.putString("message", dataMsg);
param.putString("filename", dataName );
param.putByteArray("video", data);
System.out.println(">>>Before
mAsyncRunner.request >>");

mAsyncRunner.request("https://www.facebook.com//photos",
param, "POST",new fbRequestListener(), null);
System.out.println(">>>After
mAsyncRunner.request >>");

} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}

}

public byte[] readBytes(InputStream inputStream) throws IOException {
// This dynamically extends to take the bytes you read.
ByteArrayOutputStream byteBuffer = new ByteArrayOutputStream();

// This is storage overwritten on each iteration with bytes.
int bufferSize = 1024;
byte[] buffer = new byte[bufferSize];

// We need to know how may bytes were read to write them to the
// byteBuffer.
int len = 0;
while ((len = inputStream.read(buffer)) != -1) {
byteBuffer.write(buffer, 0, len);
}

// And then we can return your byte array.
return byteBuffer.toByteArray();
}


But I am getting this error :

W/Bundle  (  865): Key message expected byte[] but value was a
java.lang.String.  The default value  was returned.
W/Bundle  (  865): Attempt to cast generated internal exception:
W/Bundle  (  865): java.lang.ClassCastException: java.lang.String
W/Bundle  (  865): at android.os.Bundle.getByteArray(Bundle.java:1305)
W/Bundle  (  865): at com.facebook.android.Util.openUrl(Util.java:172)
W/Bundle  (  865): at
com.facebook.android.Facebook.request(Facebook.java:751)
W/Bundle  (  865): at
com.facebook.android.AsyncFacebookRunner$2.run(AsyncFacebookRunner.java:253)
W/Bundle  (  865): Key format expected byte[] but value was a
java.lang.String.  The default value  was returned.
W/Bundle  (  865): Attempt to cast generated internal exception:
W/Bundle  (  865): java.lang.ClassCastException: java.lang.String
W/Bundle  (  865): at android.os.Bundle.getByteArray(Bundle.java:1305)
W/Bundle  (  865): at com.facebook.android.Util.openUrl(Util.java:172)
W/Bundle  (  865): at
com.facebook.android.Facebook.request(Facebook.java:751)
W/Bundle  (  865): at
com.facebook.android.AsyncFacebookRunner$2.run(AsyncFacebookRunner.java:253)


I suspect that the *authentication* is not happening also I am missing
something in the *fbRequestListener()* implementation.Can some one plz
point out what is wrong or any other sample code if at all it is possible
to share the images and videos from the gallery on the facebook's own wall.

here is the 
reference
.

Rgds,
Saurabh




"..pain is temporary.quitting lasts forever.."

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Bastiaan
Thanks, that sounds useful.
I'm going to take a look on Amazon.com :)


Op woensdag 14 maart 2012 22:20:35 UTC+1 schreef Spooky het volgende:
>
> On Wed, Mar 14, 2012 at 01:48:17PM -0700, Bastiaan wrote:
> > I want to select a picture from the SDcard (in a Android app) and then 
> > apply some color correction filters and the texture overlay.
> > But dont know how to overlay this texture, to get a grunge look.
>
> Read "Pro Android Media" (published by Apress).  It'll walk you through a
> project that does what you're trying to build.  :-)   It doesn't SAVE the
> resulting image, but it does a good job of explaining it.
>
> Pro Android Media will show you things like using matrices to alter the
> image, image blending (using PorterDuffXfermode), and so on.  Most or
> all of that is in chapters 3 and 4.
>
> Then look at OpenCV if you REALLY want to get deeply buried in it
> (I might use it in my app, but I've got a lot of reading to do before
> then, as well as a lot of work to do before I get that far...and for
> various reasons that I've mentioned here enough times already, I can't
> do that much in one day, so it'll be a while for me).
>
> Later,
>--jim
>
> -- 
> THE SCORE:  ME:  2  CANCER:  0
> 73 DE N5IAL (/4)| Tux (E Cat):  DS B+Wd Y 6 Y L+++ W+ C++/C++ I+++
> spooky1...@gmail.com| T++ A E H+ S V- F++ Q+++ P/P+ B++ PA+ PL SC---
> < Running FreeBSD 7.0 > | 
> ICBM / Hurricane:   | Tiggerbelle:  DS W+S+Bts % 1.5 X L W C+++/C+
>30.44406N 86.59909W  | I+++  T A E++ H S++ V+++ Q+++ P  B++ PA++ PL+ SC
>
> Android Apps Listing at http://www.jstrack.org/barcodes.html
>
>

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Mark Murphy
On Wed, Mar 14, 2012 at 5:01 PM, Bastiaan  wrote:
> Why not? it has something to do with image processing in a Android app.
> I'm sure you know the Instagram app? It's something like that.

Here's a crude approach that might work:

Step #1: Create an image containing your texture effect, with
transparent pixels everywhere else

Step #2: Overlay that on top of the actual image (e.g., combine the
images in a LayerDrawable and apply that to your ImageView)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Bastiaan
Yes ok, i think you're right. 
Thanks anyway for the response!


Op woensdag 14 maart 2012 22:09:42 UTC+1 schreef MagouyaWare het volgende:
>
> Because processing an image like that is going to be more or less the same 
> whether you are in an Android app, a Java app, a C++ app, or a .Net app...  
> In fact, if the image processing is going to be pretty intensive, you might 
> want to consider writing it in C or C++ and then using the NDK...
>
> You aren't really going to be using the Android SDK to do that... You are 
> going to be using core Java classes or C or C++ code depending on the 
> approach you take.  Once you have started writing the app and have 
> Android-specific questions then that would be a more appropriate fit for 
> this forum.
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Wed, Mar 14, 2012 at 3:01 PM, Bastiaan  wrote:
>
>> Why not? it has something to do with image processing in a Android app.
>> I'm sure you know the Instagram app? It's something like that.
>>
>>
>> Op woensdag 14 maart 2012 21:52:29 UTC+1 schreef MagouyaWare het volgende:
>>
>>> Ok, great... but overlaying a texture on an image or modifying an image 
>>> doesn't have anything to do with Android.
>>>
>>> Thanks,
>>> Justin Anderson
>>> MagouyaWare Developer
>>> http://sites.google.com/site/**magouyaware
>>>
>>>
>>> On Wed, Mar 14, 2012 at 2:48 PM, Bastiaan  wrote:
>>>
 I want to select a picture from the SDcard (in a Android app) and then 
 apply some color correction filters and the texture overlay.
 But dont know how to overlay this texture, to get a grunge look.



 Op woensdag 14 maart 2012 21:26:49 UTC+1 schreef MagouyaWare het 
 volgende:

> This has what to do with Android? 
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/**m**agouyaware
>
>
> On Wed, Mar 14, 2012 at 2:22 PM, Bastiaan wrote:
>
>> I have a small question; I'm looking for a example/tutorial about how
>> to add a texture and/or border to a image/photo.
>>
>> Like this:
>> http://28.media.tumblr.com/**tum**blr_lxhqg8tmD71qzzl1uo1_**500.**jpg
>>
>> Or this:
>> http://us.123rf.com/400wm/400/400/logos/logos0806/**logos08060**
>> 0826/3132413-old-**grunge-style-**piano-keys-added-**effects-to-**
>> add-a-old-**fashioned-texture.**jpg
>>
>> Can someone 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@**googlegroup
>> **s.com 
>> To unsubscribe from this group, send email to
>> android-developers+**unsubscribe**@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

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

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Jim Graham
On Wed, Mar 14, 2012 at 01:48:17PM -0700, Bastiaan wrote:
> I want to select a picture from the SDcard (in a Android app) and then 
> apply some color correction filters and the texture overlay.
> But dont know how to overlay this texture, to get a grunge look.

Read "Pro Android Media" (published by Apress).  It'll walk you through a
project that does what you're trying to build.  :-)   It doesn't SAVE the
resulting image, but it does a good job of explaining it.

Pro Android Media will show you things like using matrices to alter the
image, image blending (using PorterDuffXfermode), and so on.  Most or
all of that is in chapters 3 and 4.

Then look at OpenCV if you REALLY want to get deeply buried in it
(I might use it in my app, but I've got a lot of reading to do before
then, as well as a lot of work to do before I get that far...and for
various reasons that I've mentioned here enough times already, I can't
do that much in one day, so it'll be a while for me).

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| Tux (E Cat):  DS B+Wd Y 6 Y L+++ W+ C++/C++ I+++
spooky1...@gmail.com| T++ A E H+ S V- F++ Q+++ P/P+ B++ PA+ PL SC---
< Running FreeBSD 7.0 > | 
ICBM / Hurricane:   | Tiggerbelle:  DS W+S+Bts % 1.5 X L W C+++/C+
   30.44406N 86.59909W  | I+++  T A E++ H S++ V+++ Q+++ P  B++ PA++ PL+ SC

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Justin Anderson
Because processing an image like that is going to be more or less the same
whether you are in an Android app, a Java app, a C++ app, or a .Net app...
In fact, if the image processing is going to be pretty intensive, you might
want to consider writing it in C or C++ and then using the NDK...

You aren't really going to be using the Android SDK to do that... You are
going to be using core Java classes or C or C++ code depending on the
approach you take.  Once you have started writing the app and have
Android-specific questions then that would be a more appropriate fit for
this forum.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Mar 14, 2012 at 3:01 PM, Bastiaan  wrote:

> Why not? it has something to do with image processing in a Android app.
> I'm sure you know the Instagram app? It's something like that.
>
>
> Op woensdag 14 maart 2012 21:52:29 UTC+1 schreef MagouyaWare het volgende:
>
>> Ok, great... but overlaying a texture on an image or modifying an image
>> doesn't have anything to do with Android.
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http://sites.google.com/site/**magouyaware
>>
>>
>> On Wed, Mar 14, 2012 at 2:48 PM, Bastiaan  wrote:
>>
>>> I want to select a picture from the SDcard (in a Android app) and then
>>> apply some color correction filters and the texture overlay.
>>> But dont know how to overlay this texture, to get a grunge look.
>>>
>>>
>>>
>>> Op woensdag 14 maart 2012 21:26:49 UTC+1 schreef MagouyaWare het
>>> volgende:
>>>
 This has what to do with Android?

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/**m**agouyaware


 On Wed, Mar 14, 2012 at 2:22 PM, Bastiaan  wrote:

> I have a small question; I'm looking for a example/tutorial about how
> to add a texture and/or border to a image/photo.
>
> Like this:
> http://28.media.tumblr.com/**tum**blr_lxhqg8tmD71qzzl1uo1_**500.**jpg
>
> Or this:
> http://us.123rf.com/400wm/400/400/logos/logos0806/**logos08060**
> 0826/3132413-old-**grunge-style-**piano-keys-added-**effects-to-**
> add-a-old-**fashioned-texture.**jpg
>
> Can someone 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@**googlegroup*
> *s.com 
> To unsubscribe from this group, send email to
> android-developers+**unsubscribe**@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
>>>
>>
>>  --
> 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
>

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Bastiaan
Why not? it has something to do with image processing in a Android app.
I'm sure you know the Instagram app? It's something like that.


Op woensdag 14 maart 2012 21:52:29 UTC+1 schreef MagouyaWare het volgende:
>
> Ok, great... but overlaying a texture on an image or modifying an image 
> doesn't have anything to do with Android.
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Wed, Mar 14, 2012 at 2:48 PM, Bastiaan  wrote:
>
>> I want to select a picture from the SDcard (in a Android app) and then 
>> apply some color correction filters and the texture overlay.
>> But dont know how to overlay this texture, to get a grunge look.
>>
>>
>>
>> Op woensdag 14 maart 2012 21:26:49 UTC+1 schreef MagouyaWare het volgende:
>>
>>> This has what to do with Android? 
>>>
>>> Thanks,
>>> Justin Anderson
>>> MagouyaWare Developer
>>> http://sites.google.com/site/**magouyaware
>>>
>>>
>>> On Wed, Mar 14, 2012 at 2:22 PM, Bastiaan  wrote:
>>>
 I have a small question; I'm looking for a example/tutorial about how
 to add a texture and/or border to a image/photo.

 Like this:
 http://28.media.tumblr.com/**tumblr_lxhqg8tmD71qzzl1uo1_**500.jpg

 Or this:
 http://us.123rf.com/400wm/400/**400/logos/logos0806/**
 logos080600826/3132413-old-**grunge-style-piano-keys-added-**
 effects-to-add-a-old-**fashioned-texture.jpg

 Can someone 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.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
>>
>
>

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Justin Anderson
Ok, great... but overlaying a texture on an image or modifying an image
doesn't have anything to do with Android.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Mar 14, 2012 at 2:48 PM, Bastiaan  wrote:

> I want to select a picture from the SDcard (in a Android app) and then
> apply some color correction filters and the texture overlay.
> But dont know how to overlay this texture, to get a grunge look.
>
>
>
> Op woensdag 14 maart 2012 21:26:49 UTC+1 schreef MagouyaWare het volgende:
>
>> This has what to do with Android?
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http://sites.google.com/site/**magouyaware
>>
>>
>> On Wed, Mar 14, 2012 at 2:22 PM, Bastiaan  wrote:
>>
>>> I have a small question; I'm looking for a example/tutorial about how
>>> to add a texture and/or border to a image/photo.
>>>
>>> Like this:
>>> http://28.media.tumblr.com/**tumblr_lxhqg8tmD71qzzl1uo1_**500.jpg
>>>
>>> Or this:
>>> http://us.123rf.com/400wm/400/**400/logos/logos0806/**
>>> logos080600826/3132413-old-**grunge-style-piano-keys-added-**
>>> effects-to-add-a-old-**fashioned-texture.jpg
>>>
>>> Can someone 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.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
>

-- 
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] Image/Photo texture overlay

2012-03-14 Thread Bastiaan
I want to select a picture from the SDcard (in a Android app) and then 
apply some color correction filters and the texture overlay.
But dont know how to overlay this texture, to get a grunge look.



Op woensdag 14 maart 2012 21:26:49 UTC+1 schreef MagouyaWare het volgende:
>
> This has what to do with Android? 
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Wed, Mar 14, 2012 at 2:22 PM, Bastiaan  wrote:
>
>> I have a small question; I'm looking for a example/tutorial about how
>> to add a texture and/or border to a image/photo.
>>
>> Like this:
>> http://28.media.tumblr.com/tumblr_lxhqg8tmD71qzzl1uo1_500.jpg
>>
>> Or this:
>>
>> http://us.123rf.com/400wm/400/400/logos/logos0806/logos080600826/3132413-old-grunge-style-piano-keys-added-effects-to-add-a-old-fashioned-texture.jpg
>>
>> Can someone 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.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

Re: [android-developers] Image/Photo texture overlay

2012-03-14 Thread Justin Anderson
This has what to do with Android?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Mar 14, 2012 at 2:22 PM, Bastiaan  wrote:

> I have a small question; I'm looking for a example/tutorial about how
> to add a texture and/or border to a image/photo.
>
> Like this:
> http://28.media.tumblr.com/tumblr_lxhqg8tmD71qzzl1uo1_500.jpg
>
> Or this:
>
> http://us.123rf.com/400wm/400/400/logos/logos0806/logos080600826/3132413-old-grunge-style-piano-keys-added-effects-to-add-a-old-fashioned-texture.jpg
>
> Can someone 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.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

[android-developers] Image/Photo texture overlay

2012-03-14 Thread Bastiaan
I have a small question; I'm looking for a example/tutorial about how
to add a texture and/or border to a image/photo.

Like this:
http://28.media.tumblr.com/tumblr_lxhqg8tmD71qzzl1uo1_500.jpg

Or this:
http://us.123rf.com/400wm/400/400/logos/logos0806/logos080600826/3132413-old-grunge-style-piano-keys-added-effects-to-add-a-old-fashioned-texture.jpg

Can someone 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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Image processing

2012-03-13 Thread Justin Anderson
http://lmgtfy.com/?q=android+image+processing+tutorial

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Mar 13, 2012 at 11:26 AM, ayoub bouziane wrote:

> Hello ! Please i need some tutorials about image processing on android
> (edge detection , binarization,thresholding,..)  !! can you hep
> me ? !! thank you in advance :)
>
> --
> 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

-- 
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] Image processing

2012-03-13 Thread ayoub bouziane
Hello ! Please i need some tutorials about image processing on android
(edge detection , binarization,thresholding,..)  !! can you hep
me ? !! thank you in advance :)

-- 
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] Image on external storage

2012-03-05 Thread bt
Hi,

I would like to display an image from external storage which is 72x72
px.
My device has high density.
The image view height and width are "wrap_content".

I got different results if I load the image or use an URL.

If I use an URL like this then the result will be about 48x48px.

imageView.setImageURI(Uri.fromFile(file));

If I load the bitmap the result is 72x72 px as expected:

InputStream is =
context.getContentResolver().openInputStream(Uri.fromFile(file));
Bitmap b = BitmapFactory.decodeStream(is, null, null);
is.close();

iv2.setImageBitmap(b);

You can see the results here:

http://dl.dropbox.com/u/51679071/share/facebook.png

It would be better if I could use the setImageURI and not to preload
the image
and I would like to display the image in appwidgets too.

Can you tell me what cause the difference and how can I avoid it?

Thanks,
Tamas

-- 
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] Image upload is Crashing in htc

2012-02-22 Thread Ratheesh Valamchuzhy
i solve that issue , it is because of the image size

-- 
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] Image upload is Crashing in htc

2012-02-22 Thread T.M.S.VIJAYKUMARR
Hi,
When its crashing app, (upload more than 2  image to server or setImage for
ImageView) ,.

On Wed, Feb 22, 2012 at 1:06 PM, Ratheesh Valamchuzhy
wrote:

>
> Hi
> I am developing an app to upload image to a php server from the android
> phone , it is working fine on all device except the htc and galaxy s2 , in
> both of these phone we are trying to upload more than 2 photos the app will
> forcely close , please give any solution for this .
>
>
> --
> --
> ωιтн яєgαя∂ѕ
> Ratheesh * *...
>
>
>  --
> 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




-- 




-
Thanks & Regards,
T.M.S.VIJAYKUMARR
Android blog: http://iamvijayakumar.blogspot.com/

-- 
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] Image upload is Crashing in htc

2012-02-21 Thread Ratheesh Valamchuzhy
Hi
I am developing an app to upload image to a php server from the android
phone , it is working fine on all device except the htc and galaxy s2 , in
both of these phone we are trying to upload more than 2 photos the app will
forcely close , please give any solution for this .


-- 
-- 
ωιтн яєgαя∂ѕ
Ratheesh * *...

-- 
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] Image Button Onclik view

2012-02-21 Thread TreKing
On Tue, Feb 21, 2012 at 6:33 AM, kholif adig  wrote:

> please give me a solution


Please give a better question. What you posted is very confusing and makes
little sense (at least to me).

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] Image Button Onclik view

2012-02-21 Thread kholif adig
hi

I have some problems in image button

I have some image button that when clicked on the button will display
the same image.

the problem is if the image double click the botton on the button will
display the same image on the first and second positions.

please give me a solution

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] image Parsing

2012-02-15 Thread hazem omies
how i can parsing image from xml file into android listview


hazem
 test.png  


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


Re: [android-developers] Image button Issue

2012-02-10 Thread fei ji
Did you use "dip" when setting height and width of ImageButton?

On Fri, Feb 10, 2012 at 7:19 PM, mark2011  wrote:

> Dear All :
>
>I set up the background image, it will automatically adjust to
> match the diffent screens of different devices. But the image set for
> the button is not. Is there any method that I don't need to adjust the
> position of the ImageButton to match the different devices?
>
> Thanks in advanced.
>
> BR,
> Mark
>
> --
> 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

-- 
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] Image button Issue

2012-02-10 Thread mark2011
Dear All :

I set up the background image, it will automatically adjust to
match the diffent screens of different devices. But the image set for
the button is not. Is there any method that I don't need to adjust the
position of the ImageButton to match the different devices?

Thanks in advanced.

BR,
Mark

-- 
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] Image rotation smoothly

2012-02-07 Thread Chandra Sekhar
On Tue, Feb 7, 2012 at 3:59 PM, vani reddy wrote:

> Hi,
> How to make the image rotation smoothly.,i used accelerateInterpolater and
> linearInterpolater also. but it pauses for a moment and then starts.
>
> --
> Regards,
> Vani Reddy
>
>Try this one  it will help u


 
http://schemas.android.com/apk/res/android";
android:shareInterpolator="false"
>




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




--

-- 
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] Image rotation smoothly

2012-02-07 Thread vani reddy
Hi,
How to make the image rotation smoothly.,i used accelerateInterpolater and
linearInterpolater also. but it pauses for a moment and then starts.

-- 
Regards,
Vani Reddy

-- 
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] Image comparison problem: getPixel() in android and getRGB() in JDK return different values for the same image

2012-02-03 Thread Romain Guy
First make sure that both return values in the same format (Android returns
ARGB not RGBA.) Also, f I remember correctly, Java2D can apply color
profiles when loading a bitmap.
On Feb 3, 2012 11:05 AM, "Ergen"  wrote:

> Hi.  I want to compare two images. One image is on the android client
> and another image is on the server (with Tomcat, JDK).  I need also to
> calculate two histograms - one for each image - and to compare they
>
> The problem is: getPixel (x, y) (on Android) and getRGB (x, y) (JDK)
> return different rgb color numbers for the point with the same
> coordinates (x, y). The images are here identical (JPG, Size: 3x3).
>
> Why are the results different?  And what to do? I've been looking for
> the answer everywhere, but...
>
> ***
> Pseudocode for Androids Activity
> ***
> BitmapFactory.Options opt = new BitmapFactory.Options();
> opt.inPreferredConfig = Bitmap.Config.ARGB_;
>
> mBitmap = BitmapFactory.decodeFile(imageSource, opt);
>
> int intColor = 0;
> for (int x = 0; x < mBitmap.getWidth(); x++) {
>   for (int y = 0; y < mBitmap.getHeight(); y++) {
>intColor = mBitmap.getPixel(x, y);
>System.out.print(" ("+ x + ","+ y +") c:" + intColor);
>   }
> }System.out.println();
>
> Result for example image 3x3:
> (0,0)c:-7882802   (0,1)c:-9859138   (0,2)c:-6507579
> (1,0)c:-12883825 (1,1)c:-6574388   (1,2)c:-7948604
> (2,0)c:-7489593   (2,1)c:-10579009 (2,2)c:-6573359
>
>
> 
> Pseudocode for JDK
> 
> BufferedImage img = ImageIO.read( file );
>
> int intColor = 0;
> for ( int x = 0; x < img.getWidth(); x++ )  {
>   for ( int y = 0; y < img.getHeight(); y++ ) {
>  intColor = img.getRGB( x, y );
>  System.out.print(" ("+ x + ","+ y +") c:" + intColor);
>   }
> }System.out.println();
>
> Result for the same image:
>  (0,0)c:-7883056(0,1)c:-9728065   (0,2)c:-6507579
>  (1,0)c:-12818030  (1,1)c:-6377523   (1,2)c:-7883323
>  (2,0)c:-7424055(2,1)c:-10513470 (2,2)c:-6573358
>
> --
> 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
>

-- 
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] Image comparison problem: getPixel() in android and getRGB() in JDK return different values for the same image

2012-02-03 Thread Ergen
Hi.  I want to compare two images. One image is on the android client
and another image is on the server (with Tomcat, JDK).  I need also to
calculate two histograms - one for each image - and to compare they

The problem is: getPixel (x, y) (on Android) and getRGB (x, y) (JDK)
return different rgb color numbers for the point with the same
coordinates (x, y). The images are here identical (JPG, Size: 3x3).

Why are the results different?  And what to do? I've been looking for
the answer everywhere, but...

***
Pseudocode for Androids Activity
***
BitmapFactory.Options opt = new BitmapFactory.Options();
opt.inPreferredConfig = Bitmap.Config.ARGB_;

mBitmap = BitmapFactory.decodeFile(imageSource, opt);

int intColor = 0;
for (int x = 0; x < mBitmap.getWidth(); x++) {
   for (int y = 0; y < mBitmap.getHeight(); y++) {
intColor = mBitmap.getPixel(x, y);
System.out.print(" ("+ x + ","+ y +") c:" + intColor);
   }
}System.out.println();

Result for example image 3x3:
(0,0)c:-7882802   (0,1)c:-9859138   (0,2)c:-6507579
(1,0)c:-12883825 (1,1)c:-6574388   (1,2)c:-7948604
(2,0)c:-7489593   (2,1)c:-10579009 (2,2)c:-6573359



Pseudocode for JDK

BufferedImage img = ImageIO.read( file );

int intColor = 0;
for ( int x = 0; x < img.getWidth(); x++ )  {
   for ( int y = 0; y < img.getHeight(); y++ ) {
  intColor = img.getRGB( x, y );
  System.out.print(" ("+ x + ","+ y +") c:" + intColor);
   }
}System.out.println();

Result for the same image:
 (0,0)c:-7883056(0,1)c:-9728065   (0,2)c:-6507579
 (1,0)c:-12818030  (1,1)c:-6377523   (1,2)c:-7883323
 (2,0)c:-7424055(2,1)c:-10513470 (2,2)c:-6573358

-- 
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] Image Quality problems using Canvas and canvas.scale(Scale, Scale);

2012-01-21 Thread JamesColeman
I am having Image Quality problems using Canvas and
canvas.scale(Scale, Scale); they look exactly like the following:

http://stackoverflow.com/questions/2041207/android-quality-of-the-images-resized-in-runtime

I believe I have read all the posts on image quality problems when re-
sizing bitmaps, but it doesn't seem to help when scaling with a Canvas
scale(float scale).

I have tried many different options as suggested by the image quality
posts.

BitmapFactory.Options options = new BitmapFactory.Options();
options.inJustDecodeBounds = false;
options.inDither = false;
options.inSampleSize = 1;
options.inScaled = false;
options.inPreferredConfig = Bitmap.Config.ARGB_;//I thought this
would do it
CurrentPicture = BitmapFactory.decodeFile(path, options);//Also tried
decodeStream()


PicturePaint = new Paint();
//PicturePaint = new Paint(Paint.FILTER_BITMAP_FLAG); //I also tried
this
//PicturePaint = new Paint(Paint.ANTI_ALIAS_FLAG);  //I also tried
this
canvas.scale(Scale, Scale);
canvas.drawBitmap(CurrentPicture, 0, 0, PicturePaint);

I am quite concerned as I am in serious trouble if I can't get the
image quality problem solved. Any help is appreciated.

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


Re: [android-developers] image file and text file

2012-01-04 Thread Jim Graham
On Wed, Jan 04, 2012 at 08:20:20AM -0800, chayan chowdhury wrote:
> how to access image and text in textview. basically i want to display
> imageview with textview detail

Ok, simple enough.  But, did you have a question?  Or did you just want
to tell everyone how you were going to do this (by using both)?

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| Peter da Silva:  No, try "rm -rf /"
spooky1...@gmail.com| Dave Aronson:As your life flashes before
< Running FreeBSD 7.0 > |  your eyes, in the unit of time known as an
ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
   30.44406N 86.59909W  |

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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] image file and text file

2012-01-04 Thread Ricardo Santos
I believe that customize a component is the answer here.

http://developer.android.com/guide/topics/ui/custom-components.html

Extend view, use a canas and draw the bitmap and the text.

Hope it helps,

Ricardo

On Wed, Jan 4, 2012 at 2:20 PM, chayan chowdhury
wrote:

> how to access image and text in textview .basically i want to display
> imageview with textview detail
>
> --
> 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

-- 
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] image file and text file

2012-01-04 Thread chayan chowdhury
how to access image and text in textview .basically i want to display
imageview with textview detail

-- 
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] Image rotation is not uniform across devices. ExifInterface.TAG_ORIENTATION returns 1 for all orientation on some pictures

2011-12-20 Thread Tolga Ekmen
This seems to be related to a bug I found on android issue database;
http://code.google.com/p/android/issues/detail?id=19268

The above bug is that when taking pictures with intent
ACTION_IMAGE_CAPTURE, it saves the image in the location specified in
Extras bundle but it also saves the image in the gallery.. It seems
that as a side effect of this bug, the image that's saved in the user
specifed location is missing the orientation information while the one
in the gallery is saved properly.

This makes for a messy user experience since they can only take
pictures in the sideways orientation or they need to take the picture
then select it from the gallery on these devices..

I opened another issue regarding this here;
http://code.google.com/p/android/issues/detail?id=22822

Also I have started a stackOverflow ticket that got no response
(despite the fact that I put up some delicious bounty on it). The
question has detailed info;

http://stackoverflow.com/questions/8450539

-- 
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] Image processing in Android

2011-12-16 Thread Masahiro Minowa
Thanks!!

On Fri, Dec 16, 2011 at 6:39 AM, Kristopher Micinski  wrote:

> http://opencv.willowgarage.com/wiki/
>
> There's a port for Android.
>
> Kris
>
> On Tue, Dec 13, 2011 at 11:24 AM, Masa  wrote:
> > hi,
> >
> > I'm going to develop image processing app in Android.
> >
> > I wanna recognize leaf picture taken by android camera.
> >
> > what library can I use?
> > so if you have any information or knowledge about image processing.
> > please tell me about that.
> >
> > 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
>
> --
> 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
>

-- 
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] Image processing in Android

2011-12-15 Thread Kristopher Micinski
http://opencv.willowgarage.com/wiki/

There's a port for Android.

Kris

On Tue, Dec 13, 2011 at 11:24 AM, Masa  wrote:
> hi,
>
> I'm going to develop image processing app in Android.
>
> I wanna recognize leaf picture taken by android camera.
>
> what library can I use?
> so if you have any information or knowledge about image processing.
> please tell me about that.
>
> 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

-- 
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] Image processing in Android

2011-12-15 Thread Masa
hi,

I'm going to develop image processing app in Android.

I wanna recognize leaf picture taken by android camera.

what library can I use?
so if you have any information or knowledge about image processing.
please tell me about that.

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


Re: [android-developers] image to text android OCR help?

2011-12-12 Thread TreKing
On Mon, Dec 12, 2011 at 1:35 AM, tahir ashraf
wrote:

> Please guide me in the right direction what should I do?


Read the documentation, for starters.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] image to text android OCR help?

2011-12-12 Thread tahir ashraf
Hi to All,

Iam new to android development and Iam trying to make an OCR paractice
app which should recognize text from image and then show it in
textarea.Please guide me in the right direction what should I do?

-- 
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] Image Gallery Help

2011-12-05 Thread TreKing
On Tue, Nov 29, 2011 at 5:48 AM, arvi  wrote:

> I was wondering if i could get the source code of the default gallery app
> by cooliris
>

Check the Android source code to see if the stock app is there. Or ask
"cooliris", if that's their app you're talking about.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] Image Gallery Help

2011-11-29 Thread arvi
I'm currently working on a Image gallery app... I've stumbled and
arrived at what i wanted but its slower than i expected. I was
wondering if i could get the source code of the default gallery app by
cooliris ... any suggestions will be appreciated.

-- 
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] image size

2011-11-15 Thread richa jha
hi
recently i started working on android..My boss wants to know the size of
kernel and the whole honeycomb image size..I m trying to search on
internet,but not getting it.
please tell me,if anybody has any idea

Richa Jha

-- 
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] image (slide)show without images sliding, just changing

2011-10-24 Thread André
I'm trying to make an image slideshow for android. What I want for it
is a play and pause button, restart button and a previous image
button. And a seek bar for changing the speed the image change.
At the moment I have the file names of the images stored in a database
and the images on the sd-card. Then, for each image have some text in
the database that I want to load in to a textview at the same time as
the image change.

This is what I've done which almost works. It starts to play but stops
after one or two picture. And the buttons above doesn't work including
the seekbar.
I know this might not be the most sophisticated code but if you know
how to solve my problems or have suggestions of how to make it better,
I'd be greatfull.

private ImageView image = null;
private TextView title = null;
private SeekBar speed = null;
private Button play = null, done = null, restart = null, previous =
null;
private Cursor cursor = null;
private DBase db = null;
private int theSpeed = 900;
private boolean isPlaying = false;
private CountDownTimer show;
private int i = 0, frames = 0;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.image);

image = (ImageView) findViewById(R.id.imageView11);
title = (TextView) findViewById(R.id.textView11);
speed = (SeekBar) findViewById(R.id.seekBar11);
play = (Button) findViewById(R.id.button21);
done = (Button) findViewById(R.id.button22);
restart = (Button) findViewById(R.id.button23);
previous = (Button) findViewById(R.id.button24);

speed.setOnSeekBarChangeListener(this);
play.setOnClickListener(this);
done.setOnClickListener(this);
restart.setOnClickListener(this);
previous.setOnClickListener(this);

db = new DBase(this);
db.open();

SharedPreferences prefs = getPreferences(MODE_PRIVATE);

cursor = db.getAll();
startManagingCursor(cursor);
frames = cursor.getCount();
if (frames != 0) {
cursor.moveToFirst();
if 
(cursor.getString(cursor.getColumnIndexOrThrow(DBase._photo)) !=
null){

setImage(cursor.getString(cursor.getColumnIndexOrThrow(DBase._photo)));

setTitle(cursor.getString(cursor.getColumnIndexOrThrow(DBase._date)),cursor.getString(cursor.getColumnIndexOrThrow(DBase._text)));
if (cursor.moveToNext()) theShow(theSpeed);
isPlaying = true;
}
}
}



private void setImage(String photo) {
try {
String path = "/sdcard/App/";
FileInputStream fis = new FileInputStream(path + photo);
Bitmap bitmap = BitmapFactory.decodeStream(fis);
image.setImageBitmap(bitmap);
} catch (Exception e) {

}
}

private void theShow(int speed) {
show = new CountDownTimer(speed, 1000) {
public void onTick(long millisUntilFinished) { }
public void onFinish() {
if 
(cursor.getString(cursor.getColumnIndexOrThrow(DBase._photo)) !
= null){

setImage(cursor.getString(cursor.getColumnIndexOrThrow(DBase._photo)));

setTitle(cursor.getString(cursor.getColumnIndexOrThrow(DBase._date)),cursor.getString(cursor.getColumnIndexOrThrow(DBase._text)));
isPlaying = true;

play.setText(getText(R.string.pause).toString());
if (i <= frames) {
i++;
show.start();
}
}
}
}.start();
}

@Override
public void onClick(View arg0) {
switch (arg0.getId()) {
case R.id.button21:
//PLAY/PAUSE Button
if (isPlaying) {
show.cancel();
isPlaying = false;
play.setText(getText(R.string.play).toString());
} else {
theShow(theSpeed);
isPlaying = true;

play.setText(getText(R.string.pause).toString());
}
show.cancel();
break;
case R.id.button22:
//EXIT Button
this.finish();
  

[android-developers] Image dpi, does Android care about it?

2011-10-06 Thread dara kok
It's said that dpi is only relevant when printing a document, not when 
viewing the image on screen.

in my case, i have an image created with regular resolution, 70 dpi. when i 
put and display it on a phone with size set to wrap content. it shows a bit 
stretched out and the edge is blurry.

but when i increase resolution of the same image, say 300 dpi, and display 
it in my app again, it shows  a smaller image with crisp edge.

so it seems image resolution has an effect here. but i just can't understand 
how Android interpret the change in resolution.

Can anyone here help me understand this?


Thanks,
dara kok 

-- 
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] Image processing using android

2011-09-26 Thread Venki
  I know java, j2ee. I have planned to create some image processing
apps using android. What are the necessary things that I should know.

-- 
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] Image processing

2011-09-26 Thread Venki
   I know Image Processing. I don't know anything about android
though. I know Java, J2EE so I think I know some basics.I have planned
to do some android apps using image processing. Where should I start?
Give me some tutorial related to image processing using android. If
you have created any apps using image processing in android please
tell me about it.


Thanks in advance.

-- 
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] Image processing for video game

2011-09-19 Thread Rmax
greetings

I have the following question, recently I started with the study of Android and 
for some reason my research approach to development with GLES (OpenGL ES) 
thinking 
it was the only way of making application that is out of control that comes 
with the sdk standard they are made for it to be controlled.

Now I have been looking at the examples that comes with the SDK (Jetboy, 
LunarLander, etc) and I realize that use the method specifications 
drawBitMap canvas to display the images on the canvas.

I believe striking but still does not give the performance I expected (do 
not know if it's because I'm working in emulator) but not fluid.

know a form / technique / framework / library for this kind of development

-- 
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] Image recognise

2011-09-19 Thread Marcin M.
I would like to build an app that will do some action after camera
recognise predefined image. But i have no idea how to do it. I saw
that junaio browser can do exactly what i want but i would like to
implement it in my own app. I'am looking for framework or somenthing
that allows markerless tracking. Could you 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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Image in ListView flicks when calling notifyDataSetChanged method.

2011-09-09 Thread Bhavin
I have a listview, extended from BaseAdapter.
I have implemented a functionality  of a never ending list, when user
reaches at the end of the list, adapter fetches new rows from
internet.
I also load images in each row, they also come from internet. I use
AsyncTask to load images asynchronously.
When I get those images, I store them in a local variables so that if
user needs them again, I can show them from local variables rather
loading from internet again.

The whole functionality is working nice, the only problem I get is as
follow,
When user reaches at the bottom of the list, the adapter loads new
rows. And after that I call notifyDataSetChanged() method of adapter.
At this point the whole screen of my app flicks. Each and every image
on screen flicks, so user gets some unpleasent  experience.
How can I resolve this issue? Am I missing something?

-- 
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] Image manipulation similar to google+ app

2011-08-27 Thread Ralph Bergmann
Am 28.08.11 02:11, schrieb TreKing:
> On Sat, Aug 27, 2011 at 5:53 AM, charlie babitt
> mailto:charlie.bab...@gmail.com>> wrote:
> 
> What is the easiest way to achieve something like this? I want to
> create an ImageView which contains an image (I'm loading it from the
> SD Card) and drawing a rectangle as a frame around it. Where should
> I start looking?

take a lock at
http://android-developers.blogspot.com/2008/09/android-photostream.html

and line 103 from this file

http://code.google.com/p/apps-for-android/source/browse/trunk/Photostream/src/com/google/android/photostream/ImageUtilities.java



ralph

-- 
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] Image manipulation similar to google+ app

2011-08-27 Thread TreKing
On Sat, Aug 27, 2011 at 5:53 AM, charlie babitt wrote:

> What is the easiest way to achieve something like this? I want to create
> an ImageView which contains an image (I'm loading it from the SD Card) and
> drawing a rectangle as a frame around it. Where should I start looking?
>

I would start with ImageView, see what you can do with that, and read the
docs on the various layout, and what you can do with those. FrameLayout in
particular may be of interest to you.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] Image manipulation similar to google+ app

2011-08-27 Thread charlie babitt
Hallo!

Looking on the google+ app on the dashboard, I have seen that they
display my profile image and draw a blue circle arround it. What is
the easiest way to achieve something like this? I want to create an
ImageView which contains an image (I'm loading it from the SD Card)
and drawing a rectangle as a frame around it. Where should I start
looking?

Thanks
charlie

-- 
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] image btton problem

2011-08-26 Thread Ratheesh Valamchuzhy
The image is a png image...

-- 
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] image btton problem

2011-08-26 Thread Kumar Bibek
Use a png image, that has transparent padding. Your image seems to have  a
opaque padding background.

*Thanks and Regards,
Kumar Bibek*
*
http://techdroid.kbeanie.com
http://www.kbeanie.com*



On Fri, Aug 26, 2011 at 1:01 PM, Ratheesh Valamchuzhy
wrote:

>
>
>
> Hi All
>
> In the below fig, the corner  image button have some white image , i want
> to change it
> how can i do it..
> plse help me
>
>
> 
>xmlns:android="http://schemas.android.com/apk/res/android";
>   android:layout_width="fill_parent"
>   android:layout_height="fill_parent"
>   android:screenOrientation="portrait"
>   android:orientation="vertical" >
>
>
>  android:layout_height="44dip"
> android:id="@+id/toolbar"
> android:layout_alignParentTop="true"
> android:background="@drawable/toolbar"
> android:text="SIGN IN"
> android:gravity="center"
> android:textSize="18px"
> android:textColor="#000"
> android:layout_width="fill_parent">
> 
>
>  android:layout_alignParentRight="true"
>   android:layout_alignParentTop="true"
>   android:id="@+id/skridttaellerHome"
>   android:src="@drawable/signup"
>   android:focusable="true"
>   android:background="#fff"
>
>   android:scaleType="fitXY"
>   android:layout_width="62dip"
>   android:layout_height="32dip"
>   android:layout_marginTop="6dip"
>   android:layout_marginBottom="6dip"
>   android:layout_marginRight="6dip">
>   
>   
> [image: device1.png]
>
>
>
> the button image i use is
>
>
> [image: sign up.png]
>
>
>
>
>
>
>
> --
> --
> ωιтн яєgαя∂ѕ
> Ratheesh * *...
>
>
>  --
> 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

-- 
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] image btton problem

2011-08-26 Thread Ratheesh Valamchuzhy
Hi All

In the below fig, the corner  image button have some white image , i want to
change it
how can i do it..
plse help me



http://schemas.android.com/apk/res/android";
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:screenOrientation="portrait"
  android:orientation="vertical" >





  
  
  
[image: device1.png]



the button image i use is


[image: sign up.png]







-- 
-- 
ωιтн яєgαя∂ѕ
Ratheesh * *...

-- 
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] image won't show

2011-08-23 Thread bob
Anyone know why this image won't show?


WebView wv = (WebView) findViewById(R.id.widget30);
String html = "";
wv.loadData(html, "text/html", "utf-8");

-- 
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] image appearing half only

2011-08-23 Thread Appaholics
That is because a negative value will have the opposite. To move it up from
the bottom of the screen use a bottom margin.

On Tue, Aug 23, 2011 at 12:49 PM, arun kumar  wrote:

>   android:layout_centerHorizontal="true" android:layout_height="wrap_content"
> android:layout_marginTop="-33dp" android:layout_width="wrap_content"  and
> android:id="@+id/iv1"  android:src="@drawable/ideas1">
>
>
> Here i given image view i want to move the image top by giving -33 its
> worked but the image is appearing half only...
>
> Thanks in advance
>
>  --
> 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




-- 
--
Raghav Sood
CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
required to have complete control)
http://www.raghavsood.com/
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

-- 
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] image appearing half only

2011-08-23 Thread arun kumar
 


Here i given image view i want to move the image top by giving -33 its
worked but the image is appearing half only...

Thanks in advance

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

  1   2   3   >