[android-developers] How to add date and time to captured Image

2012-07-10 Thread android dev
HI all, I am new to android
pls help on this issue.
I have tried many things but not working , Exifinterface.

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

[android-developers] Android bulk app purchases B2b

2012-04-10 Thread android dev
I am a developer of medical apps for android phone and tablets, we
sell content to large institutions. I am doing some investigation of
how to make bulk app purchases with our partner companies,
institutions, and hospitals.

For an example use case, consider a hospital would like to make a bulk
purchase of 100 of our android apps for distribution to it's resident
drs and nurses. The point is that the individual drs and nurses should
not have to pay, the organization is buying the apps (or redeemable
wallet pts) for their employees.

In the google play documentation, it specifically says:

Please note that it is against Google Checkout's policies to purchase
your own application. You will receive an error message when you try
to purchase your own application.

so I guess that rules out my company buying multiple app licenses
For the member company.  Perhaps there is a way to by redeemable
coupons through Google Play and or Google Wallet?

 Please inform me regarding the correct procedure for this kind of
solution as it relates to Google Wallet and/or Google play android
apps.

thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How can I send a picture from android application via mms?

2012-02-28 Thread android dev.
hello every one, How can I send a picture from android application via
MMS? I found this code but I don't know how can I send picture with it
specially I want to let my application send the MMS. I do not wanna to
send it via another application.
note:the user will pick image from gallery and put it on image view in
the form.

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(sms_body, some text);
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));
sendIntent.setType(image/png);

-- 
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] no media found on emulator as well as real devices

2011-12-28 Thread android dev
hi
i use Gallery in xml layout file and all images are placed in /res/
drawable folder
but after running project.no media found error is given on emulator
screen
plz help me
thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Programmatically scrolling tabs in ActionBar

2011-08-17 Thread Hospes | Android dev.
How can scroll tabs in ActionBar if we have too many tabs that are
added dynamically?
And if it's impossible, how can we solve this problem differently?

Thanks.

Best regards,
Andrew Khloponin

-- 
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] writing a notification widget for Yahoo mail

2010-07-16 Thread Android Dev
Hi,

I'm a new-ish Android dev. trying to write one of the following:

* a custom notification app that will create a custom icon in the
notification bar when yahoo mail is received in a certain yahoo email
account similar to the google notifier app

OR

* a yahoo mail unread count widget similar to the google unread
count app which will display the number of unread yahoo emails in a
desktop widget/icon badge

I know the new Yahoo mail app is out, but I'm not sure if it's
possible to get new mail intents from it, or if it broadcasts any
intents or other info at all.

Does anybody have any tips on how to proceed on this?

I was thinking of perhaps trying to use the javamail open source api
to read the user's yahoo mail via javamail, and then write a
notification app or widget app.  Does that sound reasonable?

Thanks for any ideas.  :)

-- 
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] Opengl Texture working on Emulator but not on HTC HERO

2010-07-14 Thread Android dev
In my application, I have a NDK native code that uses OpenGL 1.0 to
apply a texture to a rectangle in order to draw an image on the
screen. It is working fine on the emulator, but when I test it on the
HTC HERO android device, it only draws a white rectangle without
texture. Anybody else had the same problem? Did anybody find a
solution?

Here is how I initialize openGL in native code:
GLint crop[4] = { 0, 144, 176, -144 };
glBindTexture(GL_TEXTURE_2D, 0);
glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexEnvx(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
glEnable(GL_TEXTURE_2D);
glColor4f(1,1,1,1);

And here is how I draw the frame in native code:
glClear(GL_COLOR_BUFFER_BIT);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB,
GL_UNSIGNED_BYTE, pixels);
glDrawTexiOES(0, 0, 0, w, h);

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: video player using hardware to encode/decode

2010-06-17 Thread Android dev
No ideas?
At least, how can I call the hardware from my ndk native application?


On Jun 8, 3:33 pm, Android dev gian23...@gmail.com wrote:
 I know that the mediaplayer api uses hardware acceleration to encode/
 decode video.
 Now I want to develop my own video player application without using
 the mediaplayer api, but still using the hardware to encode/decode
 video.
 Any tips on how can I 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] video player using hardware to encode/decode

2010-06-08 Thread Android dev
I know that the mediaplayer api uses hardware acceleration to encode/
decode video.
Now I want to develop my own video player application without using
the mediaplayer api, but still using the hardware to encode/decode
video.
Any tips on how can I 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] Re: Live stream latency

2010-04-14 Thread Android dev
Until now we only did the receive stream part of the application,
not yet the send it to a server, and we did not need to deal with
jni for it, as we are using the videoview/mediaplayer APIs. The videos
that we used in our tests were from rtsp live streaming links that we
found on the internet.
What we are asking here is why does VLC show the same part of the
video 2 to 10 seconds earlier than our Android application shows it,
and why the other existing live streaming applications for Android
that we found also have this delay.

On 13 abr, 17:51, Rogério de Souza Moraes rogerio.so...@gmail.com
wrote:
 Hi,

 I am trying to create a live streaming application that just send the stream
 to a server. The code I followed the example on sipdroid, but I am with some
 difficulties in showing this stream on server side. Can you give some tips
 how to configure the vlc to receive the video stream from android? To do
 your application works, did you had to deal with jni?
 About the delay, what kind of video format are you using? Android supports
 H.263 encoder and decoder as said on this 
 page:http://developer.android.com/guide/appendix/media-formats.html

 Regards,

 Rogerio

 2010/4/13 Android dev gian23...@gmail.com

  We are developing an Android video conferencing application. After
  examining some already existing live-stream  applications , we came to
  the conclusion that all or almost all existing applications have a
  delay of 3 to 10 seconds. The application we are developing was tested
  receiving a video stream on the Android device and the same video
  stream on VLC at the same time.The result of the test is that VLC
  shows the same part of the video 2 to 10 seconds earlier than our
  Android application on the phone(HTC hero) depending on the rtsp link
  used. we havent found what is the main cause of the delay and also
  dont know if it is possible to reduce that delay.
   In our case, as it comes to video conferencing, the delay should be
  lower than 2 seconds at least. Do you guys have some information about
  the cause of the delay or even how to reduce 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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using remove me as the subject.


[android-developers] Live stream latency

2010-04-13 Thread Android dev
We are developing an Android video conferencing application. After
examining some already existing live-stream  applications , we came to
the conclusion that all or almost all existing applications have a
delay of 3 to 10 seconds. The application we are developing was tested
receiving a video stream on the Android device and the same video
stream on VLC at the same time.The result of the test is that VLC
shows the same part of the video 2 to 10 seconds earlier than our
Android application on the phone(HTC hero) depending on the rtsp link
used. we havent found what is the main cause of the delay and also
dont know if it is possible to reduce that delay.
 In our case, as it comes to video conferencing, the delay should be
lower than 2 seconds at least. Do you guys have some information about
the cause of the delay or even how to reduce 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


[android-developers] How to put a dialog box to another activity's foreground?

2008-11-24 Thread android dev
Hi,

I have an activity which listens to certain event from another application.
In onReceive, I fire a dialog box.  How do I get the dialog box to appear on
top of the other application?  What's happening is that the dialog box does
not appear while the other application still running.  But as soon as I
close the other application, it goes back to my activity, and the dialog box
stays there.

Do I need to convert the activity to a service?

Thanks,
J

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



[android-developers] Attaching G1 to adb

2008-11-04 Thread Android dev
Hi all

I have to restart the computer every time I attach G1 through the USB cable
to get it detected by adb devices command
Is there any other way so that I need not restart the computer ?
I am using Linux on my computer

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