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

2010-08-30 Thread Dianne Hackborn
On Sun, Aug 29, 2010 at 12:52 PM, Teo teomina...@gmail.com wrote: Will the process/activity be killed if it has a Handler running in it? There being a Handler with pending (or running) messages has no influence on when a process will be killed. The only things that matter for this are the

Re: [android-developers] Re: Android libraries

2010-08-30 Thread Xavier Ducrohet
Hmm this should be handled by the plugin indeed. To be honest, the way the current plug-in create the linked folder is not great. We've made it much more robust in the next version (coming soon). Hopefully that'll fix your problem. On Sun, Aug 29, 2010 at 5:37 AM, Günther gru...@googlemail.com

Re: [android-developers] Debugging power management - how to determine cpu state?

2010-08-30 Thread Dianne Hackborn
It is difficult, because attaching to USB keeps a wake lock held. You can use adb shell dumpsys batteryinfo to see the current stats about your app, which includes the time spent holding each wake lock. (You'll probably want the last section of output, which is the time since last unplugged.)

Re: [android-developers] Re: Android libraries

2010-08-30 Thread Xavier Ducrohet
On Sun, Aug 29, 2010 at 7:04 AM, Mark Carter mjc1...@googlemail.com wrote: It would be great if both the following ways of including shared Android code/resources were possible: 1. Adding a library .apk file to the build path (in the same way you would add a .jar file) There are way too many

Re: [android-developers] Re: Bug in Android 2.2 with move to sdcard home screen shortcuts?

2010-08-30 Thread Dianne Hackborn
Unfortunately the exception could only happen in Home when it ultimately tries to persist itself, which is long after the app is involved, so any exception would result in home crashing. Fwiw, the API to turn an Intent into a URI string (which is the only form that is safe to put in persistent

[android-developers] Significance of ... in doInBackground(Params...) of AsyncTask

2010-08-30 Thread nikki
Hi Group, I was just going through the document over AsyncTask and came across the notation ... in the methods of Asynctask (For eg. doInBackground(Params...)). I was a bit excited to know whats the significance of ... in this notation. Please help Regards Nihkilesh -- You received this

Re: [android-developers] Significance of ... in doInBackground(Params...) of AsyncTask

2010-08-30 Thread Romain Guy
It's a notation called varargs. See explanations here: http://download-llnw.oracle.com/javase/1.5.0/docs/guide/language/varargs.html On Sun, Aug 29, 2010 at 11:12 PM, nikki nikhileshsingh...@gmail.com wrote: Hi Group, I was just going through the document over AsyncTask and came across the

[android-developers] Re: Flickering.

2010-08-30 Thread tina lincon
hi greg,i dint get wat u meant by dis asychronous thng here in ds context?? On Aug 30, 10:45 am, tina lincon tina.theresalin...@wipro.com wrote: hii frank,flickering is on the device. On Aug 27, 7:58 pm, Frank Weiss fewe...@gmail.com wrote: First a question: Is the flickering on the

Re: [android-developers] Re: ADT causing CDT to build all C projects on Android app launch??

2010-08-30 Thread Xavier Ducrohet
I'm glad there's an option to fix it. From the look of things our Launch configuration requires a workspace build before launch. I think at the time we expected that it would only build the launching project, not the whole workspace. We should probably change it to not require a full workspace

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-30 Thread Tomáš Hubálek
Well, I'm not sure about this statement because if active install % is an (important) factor in app rankings, then I should very much be I don't think that number of installs has influence on ranking. There are apps with worse rating and less downloads than mine ahead of me. And I don't think

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-30 Thread Tomáš Hubálek
On 15 srp, 02:28, TreKing treking...@gmail.com wrote: I think you are - the developer console is useless for pretty much anything besides actually uploading an app (and even that it has trouble with sometimes). That install percent in particular fluctuates so often and so randomly it's hard

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-30 Thread Tomáš Hubálek
On 26 srp, 16:47, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: I've spotted this thread only now. It's happening to me too - in a week it dropped from a _steady_ 45% (held since several weeks) to 36%, with a single new active install out of regularly increasing new downloads. I even

[android-developers] Re: SSLException: Not trusted server certificate

2010-08-30 Thread Ajay
Thanks a lot. This worked!! I had to change my implementation to use HttpsURLConnection, and could not keep my earlier implementation using DefaultHttpClient. Well, I think as long as it works, it should not make any difference I guess. Thank you, AJ On Aug 25, 6:02 pm, gcstang

Re: [android-developers] Significance of ... in doInBackground(Params...) of AsyncTask

2010-08-30 Thread nikhilesh singh tak
Hey Romain Guy thanks a lot for quick response and help. :) Regards Nikhilesh Singh Tak On Mon, Aug 30, 2010 at 11:44 AM, Romain Guy romain...@android.com wrote: It's a notation called varargs. See explanations here:

[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

[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 deore.pramo...@gmail.com wrote: Hi,  In my application I am sending

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

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

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

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

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 kmans...@gmail.com 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

[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

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 deore.pramo...@gmail.com 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

[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

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

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 hack...@android.comwrote: On Sun, Aug 29, 2010 at 12:52 PM, Teo teomina...@gmail.com wrote: Will the process/activity be killed if it

[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

[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

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

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

Re: [android-developers] Calendar issue

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 4:28 AM, mayank bisht mayank.and...@gmail.com 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

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

[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

[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] 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: 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] How to you think about the future of PhoneGap

2010-08-30 Thread pyleaf
Hi, guys! Today, I discover PhoneGap.Unluckily, there is no enough docement about it. How to you think about the future of PhoneGap? Thank you! -- Believing is Everything. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Enabling wifi tethering mode

2010-08-30 Thread guru
Hi All, I am not seeing Wif tethering app in my phone. I enabled wifi in froyo build. But it is not showing tethering app ? What do i need to enable the app? Thanks Gururaja B O -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Custom View orientation change

2010-08-30 Thread Vikram
I have a custom view A which extends RelativeLayout and internally uses 3 instances of custom view B: B1, B2 and B3, which can be 'flung' left or right to move to B4, B5 and B6. I want to resize the whole view based on the orientation. I have hardcoded the size of B based on the screen width of

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

2010-08-30 Thread Kostya Vasilyev
It's magic, man. Pure magic. :) Base 64 encoding converts every 3 bytes of input data to 4 bytes of output data. If input data size is not a multiple of 3, output is padded with = characters, which also means end of data. Your original buffer size, 1024, is not a multiple of 3, so each

[android-developers] ListView ClassCastException

2010-08-30 Thread Alok Kulkarni
Hi all,in my application I have a class as: 1. public class TouchInterceptor extends ListView and my main activity class as: 1. public class GUIEngine extends Activity in this class i initialize my ListView variable as: 1. lView = (ListView) findViewById(R.id.mainList); now i

[android-developers] Re: App breaks for some users after they update from the Market

2010-08-30 Thread Zsolt Vasvari
I don't know. Every email I've gotten and all comments in the crash reports indicate it's a consistent crash occurring 100% of the time (and in the exact same location based on the ever-growing report count for the same stack trace). Clearing the data (or uninstalling / re-installing which

[android-developers] onSingleTapConfirmed and different screen sizes

2010-08-30 Thread djauto23
I am developing a game in which there are a couple of on-screen buttons the user can press to do different things. These work by responding to onSingleTapConfirmed, and checking if the getX and getY of the event are within the coordinates of the buttons. However, the getX and getY coordinates are

[android-developers] Re: Piracy Breakdown by Country

2010-08-30 Thread Zsolt Vasvari
In my app, which has an about 3% piracy rate (Pirate == Person who uninstall is 20 mins). None of whom are from Australia, even though I have about 10 Australian paid users. So by your stat, I'd expect to see 9 of those guys (gals) to be pirates. -- You received this message because you are

[android-developers] Re: upload image to php server problem

2010-08-30 Thread CMF
Hi , I have fixed the problem by myselft, thanks. But I would like to know how to pass a variable from the android to the php? On Aug 28, 2:38 am, Yahel kaye...@gmail.com wrote: You need to tell us where the error is raised if any. In your php you might want to try to use the realpath function

Re: [android-developers] Custom Service Permission

2010-08-30 Thread Alvin Tsai
Hi KilicBeg, Have you managed to figure it out? I have the same problem. My problem simply is adding a custom permission like android.permission.CAMERA to allow user use some custom hardware feature. I've added one in platform.xml but failed in

[android-developers] How to dynamically modify xml file in android

2010-08-30 Thread saikiran n
Hi , I want to modify an xml file which is in sdcard dynamically. How can we acheive this in android. I have seen some java code as follows try { File file = new File(connections.xml); //Create instance of DocumentBuilderFactory DocumentBuilderFactory factory =

[android-developers] Re: Please help me on Android.

2010-08-30 Thread Dev Android
On Mon, Aug 30, 2010 at 4:53 PM, Dev Android devandroid1...@gmail.comwrote: Hi, I have written an application and i want to measure the performance of each module. Can you please suggest me the good approach to do this. Currently, i'm following traditional approach by calculating system's

[android-developers] Re: Need Help.. File Explorer Working with Code

2010-08-30 Thread Navi
Hi TreKing yes pvt means private and other users may be any other than the owner of mobile. folder lock is an application used to secure data, using which we can password protect our data or we can lock a directory. i want to know the step by step working of folder lock. if possible please do

[android-developers] Re: upload image to php server problem

2010-08-30 Thread CMF
I can upload the image to the server now. But what if I need to pass a variable to the php and upload the image simultaneously ? On Aug 28, 2:38 am, Yahel kaye...@gmail.com wrote: You need to tell us where the error is raised if any. In your php you might want to try to use the realpath

Re: [android-developers] Re: Need Help.. File Explorer Working with Code

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 7:54 AM, Navi deep@gmail.com wrote: yes pvt means private and other users may be any other than the owner of mobile. folder lock is an application used to secure data, using which we can password protect our data or we can lock a directory.  i want to know the step

Re: [android-developers] Re: Please help me on Android.

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 7:44 AM, Dev Android devandroid1...@gmail.com wrote: I have written an application and i want to measure the performance of each module. Can you please suggest me the good approach to do this. Use traceview:

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

2010-08-30 Thread Pent
There is a fundamental problem that at the point you ask the permission, the user is wanting to accomplish some task at hand, and all you are doing is bugging them. That's not always true. My app requires around 30 permissions, which obviously is off-putting to some/many people. The average

[android-developers] App inconsistencies

2010-08-30 Thread tony obrien
Hi, I have an app that uses Runnables, GPS, Sensors, the AudioManager, MapView, Shared Preference storage; in effect ---all manner of the phone's capabilities. When I run this app on my Motorola DROID, it functions consistently --- all activities operate as expected -- all dialog popups POPUP

Re: [android-developers] App inconsistencies

2010-08-30 Thread Kostya Vasilyev
30.08.2010 16:48, tony obrien пишет: I am loathe to start adding all kinds of log output turning this into a bloatware science experiment (but will if forced.) Before you start doing that, I'd ask the user to download and install one of the many applications that can display logcat output, run

Re: [android-developers] Re: Application installation

2010-08-30 Thread { Devdroid }
On 30 August 2010 09:58, Surfer kalik...@yahoo.com wrote: As i mentioned above my app is a system app, it is registered under / data/system/packages.xml with system=true. But you noticed that every other package is listed in that file too, right? Doesn't this mean it's part of the system and

[android-developers] Problem with spinner in a list view

2010-08-30 Thread Shashidhar
Hi, I am using a custom list adapter with a spinner in each item. There is a strange problem with the value the spinner shows. For some of the items the spinner always shows the first value in the adapter set to the spinner but when I touch on spinner, on the pop up selection list it shows the

[android-developers] Re: App inconsistencies

2010-08-30 Thread tony obrien
I am familiar with using LOGCAT via my local TERMINAL Session.. But you are suggesting that LOGCAT runs on the Device and can be accessed? Do I need to enable Logging in my app? Will the LOGCAT show *all* activities from everything that's running (i.e. not just MY app) ? On Aug 30, 9:33 am,

Re: [android-developers] Changing from one dev machine to another, keystore question

2010-08-30 Thread { Devdroid }
On 27 August 2010 17:53, Chris Stewart cstewart...@gmail.com wrote: If I'm understanding your first sentence, I'm at work and cannot test it for myself right now. I'm not sure what you're saying beyond that point. I am talking about asymmetric key cryptography which is also used to sign apps.

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

2010-08-30 Thread mort
On Aug 29, 9:11 pm, Dianne Hackborn hack...@android.com wrote: This is a flaw in their design (and in the design of current ad servers as well).  By having you link their code into your app, you are required to take responsibility for their permissions.  Yet it is their code, you don't have

[android-developers] WebGL and O3D on DroidX

2010-08-30 Thread r2d2Proton
Does WebGL and/or O3D work on DroidX with Android 2.1? If not, what do I need to do to make this happen? 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

[android-developers] Is there (or should there be), a generateId() method for dynamically generated Views?

2010-08-30 Thread Anil
Is there (or should there be), a generateId() method for dynamically generated Views? Take the RadioGroup example in APIDemos|App|Views. Radio buttons are added dynamically. For each button, you have to call setId(). To be notified when a radio button is selected, you register a onCheckedChange

[android-developers] Froyo: MediaRecorder.setVideoFrameRate sets IDR ratio instead of frame rate

2010-08-30 Thread Alexandre Ferrieux
Hello, I'm using the H264 encoder on a Froyo HTC Desire. Parsing the generated 3GP stream allows to identify individual frames, and their timing. Now it turns out that: (1) MediaRecorder.setVideoFrameRate() doesn't affect the average frame rate, which is always close to 17fps, regardless of

[android-developers] Anyone updating their app recently notice unexpected drop in install percentage?

2010-08-30 Thread pawpaw17
Guys, This happened once before in December 2009. When I released an update on Friday, my install percentage dropped about 6%. My install percentage usually goes up when I release an update. Anyone notice something similar? I'm wondering if it is a problem with the market stats? Thanks,

[android-developers] Re: App inconsistencies

2010-08-30 Thread tony obrien
So LOGCAT operate on the device as well?? Do I need to ENABLE anything in my app? Does the LOGCAT have all of the device's activities in it, including those NOT from my app? Does the device automagically wrap the logcat (it can't grow forever) ? On Aug 30, 9:33 am, Kostya Vasilyev

Re: [android-developers] Is there (or should there be), a generateId() method for dynamically generated Views?

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 10:18 AM, Anil anil.r...@gmail.com wrote: Is there (or should there be), a generateId() method for dynamically generated Views? Addition seems to be sufficient. Since we are notified only the id of the checked view, shouldn't there be a way to uniquely generate the

[android-developers] ListView listener problems

2010-08-30 Thread tatebn
I'm using a ListAction and I'm having some trouble with my listeners. I'm using onListItemClick to catch any item clicks, which works fine unless I add an OnLongClickListener to the list items. In that case the long click works but the short click doesn't register. I've tried adding an

Re: [android-developers] Is there (or should there be), a generateId() method for dynamically generated Views?

2010-08-30 Thread Kostya Vasilyev
It's also not quite correct that a radio button is only identified by its viewId. Using View.setTag (two versions), you can associate your own data item (s) with a view. However, I agree with Mark that using a ListView is quite likely to be a better solution. -- Kostya 30.08.2010 18:45,

[android-developers] Retrieve Contact Photo type

2010-08-30 Thread sazilla
Hi guys, is there any way to retrieve the data type of a contact's photo? (e.g. image/png or image/jpeg) Using the Contacts Provider I can read the photo byte array only. In this case can we get the image type from the image stream? Thanks in advance Carlo -- You received this message because

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

2010-08-30 Thread Rootko
Thanks for pointing me into the right direction, it worked :D Rudo On Aug 30, 11:16 am, Yahel kaye...@gmail.com wrote: 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

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

2010-08-30 Thread Chris Stratton
I think its going to be very difficult to prevent applications without network or sms permissions from leaking any data they can obtain to the outside world by means of another application that does have those permissions. Its even possible for an application without network permissions to

Re: [android-developers] Re: App inconsistencies

2010-08-30 Thread Kostya Vasilyev
30.08.2010 18:44, tony obrien пишет: So LOGCAT operate on the device as well?? Do I need to ENABLE anything in my app? Does the LOGCAT have all of the device's activities in it, including those NOT from my app? Logcat doesn't have to be specifically enabled. It does show info from every

Re: [android-developers] Retrieve Contact Photo type

2010-08-30 Thread Kostya Vasilyev
In case you don't find one, PNG files always start with: \211 P N G \r \n \032 \n http://www.libpng.org/pub/png/spec/1.2/PNG-Rationale.html#R.PNG-file-signature -- Kostya 30.08.2010 18:58, sazilla пишет: Hi guys, is there any way to retrieve the data type of a contact's photo? (e.g.

[android-developers] Re: Home button in Beagle board

2010-08-30 Thread Will
Install bar control and add a home button in the notification bar. http://www.4shared.com/file/6QzHkKk-/Bar_Control__110_.html On Aug 27, 4:15 am, SREEHARI sreehari.madhusooda...@wipro.com wrote: Hi All, I am testing some android apps in a beagle board with Android 2.1. But I came to know

[android-developers] Open-Source Repository

2010-08-30 Thread Shane Isbell
Guys, I'm re-opening the JVending project, which has been inactive (publicly) for a couple of years. There has been some chatter from individuals interested in an open-source repository for Android so I think it will be a good start. You can basically think of it as an Android delivery system

[android-developers] Re: App inconsistencies

2010-08-30 Thread Maps.Huge.Info (Maps API Guru)
A good log app is called (strangely enough) Sendlog - it's fairly lightweight and just asks the user to enter an e-mail address. Select detailed logs for the best result. As for adding logging statements all over the place. That's a very good idea with one caveat. Add a logging variable like

[android-developers] Re: Anyone updating their app recently notice unexpected drop in install percentage?

2010-08-30 Thread Maps.Huge.Info (Maps API Guru)
Did you see this thread? http://groups.google.com/group/android-developers/browse_thread/thread/a5a7c4d6bed1af84/b0afd16bfb9962bb -John Coryat -- 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] Re: Is there (or should there be), a generateId() method for dynamically generated Views?

2010-08-30 Thread Bret Foreman
Is there a way to make a ListView mutually exclusive like a RadioGroup so that selecting one item deselects the others? IMHO, if you are concerned about the number of radio buttons, you should be using a ListView. -- Mark Murphy (a Commons

[android-developers] Scrolling like a spreadsheet

2010-08-30 Thread Bret Foreman
I want to set up a table layout that scrolls like a spreadsheet. The top row of column headings should scroll horizontally but be pinned when scrolling vertically. The left-most column of row labels should scroll vertically but be pinned when scrolling horizontally. The number of rows and columns

Re: [android-developers] Re: App breaks for some users after they update from the Market

2010-08-30 Thread TreKing
On Sun, Aug 29, 2010 at 8:24 PM, William Ferguson william.ferguson.au@ gmail.com wrote: What's the taskAffinity? Whatever the default is - I've never touched this. I suspect that clearing the data is changing the behaviour because this speed up / slows down one of the threads, thereby

Re: [android-developers] Scrolling like a spreadsheet

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 12:03 PM, Bret Foreman bret.fore...@gmail.com wrote: Are there settings in TableLayout that can turn on this scroll behavior? No. Is there, perhaps, a more advanced widget than TableLayout that can produce this type of scrolling? Not in the SDK. Are there some

Re: [android-developers] Re: App inconsistencies

2010-08-30 Thread Kostya Vasilyev
Yes, Logcat appears to run independently of adb or your local debugging connection, and has logcat output from *all* applications that use Android log.* methods and the Android system itself. Note that if you start logcat from the console of your development machine (adb logcat) it first

[android-developers] Re: Black spinner in progressbar

2010-08-30 Thread fr4gus
Thanks! :) On Aug 26, 12:28 pm, Gonçalo Ferreira monx...@gmail.com wrote: Check out here. http://developer.android.com/reference/android/R.attr.html#progressBa... Just change the style for one of those in that link. The attributes with the suffix Inverse are black spinners, usually for

[android-developers] Re: Scrolling like a spreadsheet

2010-08-30 Thread Bret Foreman
What if I set up LinearLayout arranged horizontally with a set of ListViews? The left-most ListView would be a list of row labels. The whole works would be in a HorizontalScrollView. The column headings would be set with ListView.addHeader. Then the only difficult task would be synchronizing the

Re: [android-developers] Anyone updating their app recently notice unexpected drop in install percentage?

2010-08-30 Thread TreKing
On Mon, Aug 30, 2010 at 9:32 AM, pawpaw17 georgefraz...@yahoo.com wrote: Anyone notice something similar? I'm wondering if it is a problem with the market stats? This should be a sticky at this point:

Re: [android-developers] Setting focus programatically in ExpandableListView

2010-08-30 Thread TreKing
On Sat, Aug 28, 2010 at 9:21 AM, OldSkoolMark m...@sublimeslime.com wrote: My goal is to avoid having the user have to touch individual ExpandableListView entries to select them and to provide a couple of buttons to move the focus up and down inside the list. Don't know about your problem,

[android-developers] Re: Application installation

2010-08-30 Thread Surfer
But you noticed that every other package is listed in that file too, right? Every other package is listed there - yes, every package is marked with system=true - no No. In general, if you are regular developer (as most here is) you won't be able to make any system app on non rooted devices

[android-developers] Developemtn on LG Ally?

2010-08-30 Thread JavaMan
Hey everyone, I want to get a Android phone for development. Unfortunately, the ADP2 is way out of my price range. Therefore, I'm looking at phones on ebay. I do not want service, so I don't care if it's unlocked or not. I was looking at an LG Ally on ebay. It is a Verizon version of the phone.

Re: [android-developers] Retrieve Contact Photo type

2010-08-30 Thread Pedro Elvas
Hi Carlo, Take a look in the source code of JPEGImageReaderSpi http://www.docjar.org/html/api/com/sun/imageio/plugins/jpeg/JPEGImageReaderSpi.java.html and PNGImageReaderSpi http://www.docjar.org/html/api/com/sun/imageio/plugins/png/PNGImageReaderSpi.java.html (j2se). These classes have a method

Re: [android-developers] ListView ClassCastException

2010-08-30 Thread Michael MacDonald
On 08/30/10 06:59, Alok Kulkarni wrote: Hi all,in my application I have a class as: 1. public class TouchInterceptor extends ListView and my main activity class as: 1. public class GUIEngine extends Activity in this class i initialize my ListView variable as: 1.

Re: [android-developers] Developemtn on LG Ally?

2010-08-30 Thread Kostya Vasilyev
I think you might be better off getting a Motorola Droid. It's only a little more expensive on eBay than the LG, but runs pretty much stock Android with fewer manufacturer-specific customizations. This means that whatever compatibility testing you do is going to be more meaningful with the

Re: [android-developers] Re: Scrolling like a spreadsheet

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 12:44 PM, Bret Foreman bret.fore...@gmail.com wrote: What if I set up LinearLayout arranged horizontally with a set of ListViews? The left-most ListView would be a list of row labels. The whole works would be in a HorizontalScrollView. The column headings would be set

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

2010-08-30 Thread A. Elk
The Android instrumentation-based testing framework focuses on unit testing and component-level functional testing. It's not meant to be a full multi-application test system. You can't test an activity and the content provider it uses in the same test case, nor can you test what happens when the

[android-developers] Re: How to dynamically modify xml file in android

2010-08-30 Thread DanH
The Android docs list javax.xml.transform.TransformerFactory as being available, though I've never tried it on Android. On Aug 30, 6:43 am, saikiran n saikiran@gmail.com wrote: Hi ,  I want to modify an xml file which is in sdcard dynamically. How can we acheive this in android. I have

[android-developers] Calling all developers who are passionate about health care

2010-08-30 Thread Veronica Ho
HealthTap, in collaboration with Health 2.0, is hosting the first Developer Challenge Hackathon called Hacking for Health on September 11, 2010. The Hackathon is where developers of all skill sets will get together, learn more about the new data sets that the US Government has made available

[android-developers] App Chooser not being shown when google browser is the default

2010-08-30 Thread James McMurray
I've seen a few other similar threads, but none that both matched my problem and had answers, so sorry if this retreads familiar ground. I've got a browser and I'm trying to catch the same intents as the google browser. I've even gone so far as to copy and paste them directly from Froyo's

[android-developers] Google TV Developers

2010-08-30 Thread Chris Morris
Hey guys, I'm sure some of you have heard about Google TV - I myself am excited about the possibilities for Android apps in the living room. Being a developer myself, I tried to find a community centered around Google TV development and couldn't find one, so I started one. The site just launched,

[android-developers] Sending SMS while phone is ringing

2010-08-30 Thread Jimband
Hi, I'm developing an application for Android 2.2 that should send an SMS immediately when the phone starts ringing (under UMTS/GSM). I'm using the android.telephony.SmsManager.sendTextMessage for sending the SMS. The app is working fine under the emulator, i.e. when I call the emulator phone

[android-developers] I registered a broadcast to detect sd card status, but it only works on the device below 2.1(include 2.1)

2010-08-30 Thread Ken Yang
I registered a broadcast to detect sd card status, but it only works on the device below 2.1(include 2.1) it's doesn't work on nexus one or 2.2 emulator... android os will kill my process on nexus one and 2.2 emulator, but it won't do that on device below 2.1(include 2.1) is there anything

  1   2   3   >