[android-developers] Re: onCellLocationChanged and updateNetworkNameExtension showing up in Log files. Where do these come from? and can I make them stop?

2010-08-30 Thread Vinay S
hi, As I know you get the event onCellLocationChanged when there is change in Cell Tower connectivity.. To stop this event you need to stop listing to this update. Look for listen method in Telephonymanager (URL: http://developer.android.com/reference/android/telephony/TelephonyManager.html). I

[android-developers] Re: How to watermark the camera picture?

2010-08-30 Thread Yahel
>to take a > picture using the camera (already developed this) and then make it > watermarked. Look into Canvas.drawBitmap with alpha channel. Good luck. Yahel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Problem in encoding image

2010-08-30 Thread pramod.deore
Hi, Kostya I can't use second solutions because they are for API level8 and I am developing this for APilevel4(1.6), But after changing byte array size to 1023 it works perfectly fine, Thanks again Kostya I am working on this from last 8 days and today I got the solution. But still I don't know

[android-developers] MediaRecorder buffers 1 second of video

2010-08-30 Thread Alexandre Ferrieux
Hello, I'm using MediaRecorder.setOutputFile(FileDescriptor fd) over a UNIX socket, so that local code on the device can see the encoded stream in real time (for video streaming out). What I observed is that the encoder doesn't write encoded frames continuously, when they are produced, but by "bu

Re: [android-developers] Bitmap mutability dependent on location

2010-08-30 Thread Romain Guy
Mutating a drawable does not making the Bitmap it may contain mutable. You have to check whether the Bitmap you get is mutable. Bitmaps loaded from resources are never mutable, you must create a mutable copy first (see the Bitmap.create/copy documentation.) On Mon, Aug 30, 2010 at 12:53 AM, Ed wr

Re: [android-developers] Calendar issue

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 4:28 AM, mayank bisht wrote: > I am developing an app for android in which i have to initiate my app > whenever an entry will be done in calendar. There is no calendar in the Android SDK. You are welcome to contact the developers of calendar applications to see how best t

[android-developers] Calendar issue

2010-08-30 Thread mayank bisht
I am developing an app for android in which i have to initiate my app whenever an entry will be done in calendar.How to get notification on calendar entry ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] How to watermark the camera picture?

2010-08-30 Thread Rootko
Hi fellow developers, I'm searching the web for endless hours now and I cannot find it anywhere. How can I add a watermark in the picture (.jpeg)? I have this project in mind where I'd like to have such feature - to take a picture using the camera (already developed this) and then make it watermar

Re: [android-developers] Re: Problem in encoding image

2010-08-30 Thread Kostya Vasilyev
Pramod, Base64 encoding has end-of-data markers. http://en.wikipedia.org/wiki/Base64 Your code encodes each 1024-byte chunk of input image data into its own Base64 string. Each of those has its own end markers. Because of this, the receiving side doesn't see one piece of data encoded with

[android-developers] how to get contact detail from incoming number

2010-08-30 Thread A N K ! T
am trying to get contact detail from an incoming number while calls come i get the number from phone state Receiver through that number am trying to get detail of that number in contacts but not getting anything due to number format. the number i get from phone statelistener is like 99887 but

[android-developers] Re: Application installation

2010-08-30 Thread Surfer
Tnx for the response Dianne. As i mentioned above my app is a system app, it is registered under / data/system/packages.xml with system="true". Doesn't this mean it's part of the system and it has corresponding rights. Sry, still don't understand why the intent doesn't launch the installer. On Aug

Re: [android-developers] Bringing an Activity to front

2010-08-30 Thread Teo
Thanks for the answers.. I guess it would be better to use alarms then and recreate the activity as needed. On Mon, Aug 30, 2010 at 9:01 AM, Dianne Hackborn wrote: > On Sun, Aug 29, 2010 at 12:52 PM, Teo wrote: > >> Will the process/activity be killed if it has a Handler running in it? > > > Th

[android-developers] Bitmap mutability dependent on location

2010-08-30 Thread Ed
Hi all, Found a bit of a weird one which might be related to this post - http://groups.google.com/group/android-developers/browse_thread/thread/b0e2048495d61e0c I've check the public issue tracker for android and can't see anything related to this. Basically I'm setting an icon in a menu, gettin

[android-developers] Re: how to know data successfully saved on server

2010-08-30 Thread pramod.deore
Thank you Sir, -- 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 o

Re: [android-developers] Re: how to know data successfully saved on server

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 3:15 AM, pramod.deore wrote: >  But instead of terminating the process what I want is : If user press > back button then also data is sent to server in background and after > successfully sending set screen or alertbox to the user showing status > of data i.e successfully s

[android-developers] Re: Problem in encoding image

2010-08-30 Thread pramod.deore
Someone knows how to encode large image in Base64 format. Because I had tried using creating byte array as large as image size but if image it encode image if size of image is upto 800kb, if image is greater than 800kb then it throws runtime exception as OutofMemoryException. So I had decided use 1

Re: [android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 3:11 AM, Kostya Vasilyev wrote: > There is nothing preventing two separate .apks, one with "read contacts" and > the other with "internet" permissions to do exactly the same as one > malicious app, steal contact info. It might not be obvious to the user at > all that the tw

Re: [android-developers] Testing several projects with a single test project

2010-08-30 Thread Andrey Panasyuk
Thank you for the comment. Unfortunately it's not the case since we also want to test interaction of several applications at a time. Now we're looking at a possibility to interact between applications and testcases project via services and service connections. You can make one test package tha

[android-developers] Re: how to know data successfully saved on server

2010-08-30 Thread pramod.deore
HI, AJ Thanks for reply, But instead of terminating the process what I want is : If user press back button then also data is sent to server in background and after successfully sending set screen or alertbox to the user showing status of data i.e successfully saved on server or not. On Aug 30, 12

[android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-30 Thread William Ferguson
Interesting debate. And from a technical perspective I really like the simplicity of delegating responsibility and permissions to separate apks that have discretely defined scope. I'm just not sure how practical it is. If you look at the permissions that are most contentious in combination : inter

Re: [android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-30 Thread Kostya Vasilyev
Separating some code into a separate .apk doesn't really improve security, it's only a way for the user to adjust his/her "comfort level". There is nothing preventing two separate .apks, one with "read contacts" and the other with "internet" permissions to do exactly the same as one malicious

[android-developers] Re: how to know data successfully saved on server

2010-08-30 Thread AJ
You must have written code for "posting data to server" in a thread. So when you press the BACK key terminate that thread and show a screen that "Failure Data posting to server" to user Thanks, AJ On Aug 30, 12:00 pm, "pramod.deore" wrote: > Hi,  In my application I am sending data to server if

[android-developers] how to know data successfully saved on server

2010-08-30 Thread pramod.deore
Hi, In my application I am sending data to server if I had not pressed back button when data is sending to server then data is successfully saved on server and new screen (one created in layout folder) is displayed which says data is stored. But at the time of sending data if i presse

<    1   2   3