Re: [android-developers] Which will make Faster?...
I would always opt for the 2nd one when possible.. the variables live within the scope of the method, so less chance of them hanging around in memory. I forget if they live on the stack or not when declared/instantiated within the method body as passed in parameters do. But having the method clean them up for you at the end is better in my opinion than making them instance variables of the class. On Thu, Feb 11, 2010 at 11:44 PM, Sasikumar.S sasikumar.it1...@gmail.comwrote: Hi,, In my application i'm using more than 40 variables. when i try to execute my project it is taking more time than other projects. Which will make faster loading?.. whether declaring in class or method ?. *example 1* Public class sample { private int s1; private int s2; public void sample_method() { } } *example 2:-* Public class sample { public void sample_method() { int s1; int s2; } } which one will be fast example 1or example 2 ? Any one can tell this?... -- Thanks Regards Sasikumar.S -- 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
Re: [android-developers] How to start an Activity from a Service and getting a result from it
The whole purpose of a service is to stay in the background doing something, so not sure why you would want to display a UI in a non-UI based app. As Dianne said, post a notification that shows up on the status bar... when the user slides it down and clicks on it, that can launch an activity... which can then bind to the service to pass it info if need be. I'd still argue that would not be a good idea either. Can you elaborate on why you need some user interaction with your service.. is it something that can't be, perhaps set in a user preferences within an activity that the user launches the first time (or later to change settings)? On Thu, Feb 11, 2010 at 7:53 PM, Dianne Hackborn hack...@android.comwrote: You can't do this, nor should you. This would pop your UI in front of the user, disrupting whatever they are doing. This is highly discouraged. The proper way to do this is to post a notification, which the user can respond to when desired and can cause your own activity to be launched, which can then launch the other activity. On Thu, Feb 11, 2010 at 11:17 AM, Menny menn...@gmail.com wrote: Hi, I have a Service which needs to receive data from external packages. So, to locate the data providing external packages, I use activity- filter and PackageManager.queryIntentActivities function to locate the interesting packages. Now, from each such package, I need to get a ContentProvider URI. So I want to start the external Activity and the external activity will return a result to my service - something like startActivityForResult. The problem is that there is no way to call startActivityForResult from a Service, only Activity can do that, and my project does not have any Activity, and probably can't show UI for the user. The bottom line: Can anyone suggest a way to get ContentProvider URI from an external package, while my package has only a Service? Thanks, Menny. -- 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 -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
Re: [android-developers] Multitouch seems badly broken on Nexus One 2.1-update1
Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.comwrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
[android-developers] Customize keyboard look and feel
Hi, How can I change the look and feels of a soft keyboard? like changing button's shape, allowing a button to display text in two rows...etc 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] Re: Which will make Faster?...
Hi, I'm interested by the answer to the original question as well : Which is faster ? 1) Declaring and using local variables in a method (Variable lookup is faster, but instanciating is slow ? ) 2) Declaring and using a variable that is global to the class (Instance is reused but lookup is a bit slower ?) I guess it depends on the type of variable you are declaring, the speed overhead for creating an object must not be the same than the one for creating an integer Or is it ? If someone has numbers and ideas on the question I'd like to know. I made a game ArmaBoing(www.armaboing.com) and beside the occasionnal garbage collector, I manage to get as low as 15ms/frame(66 frames/seconds) on a Hero. But I'm wondering if I could go even lower than that by redeploying my variables. Regards. On 12 fév, 08:44, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi,, In my application i'm using more than 40 variables. when i try to execute my project it is taking more time than other projects. Which will make faster loading?.. whether declaring in class or method ?. *example 1* Public class sample { private int s1; private int s2; public void sample_method() { } } *example 2:-* Public class sample { public void sample_method() { int s1; int s2; } } which one will be fast example 1or example 2 ? Any one can tell this?... -- Thanks Regards Sasikumar.S -- 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] What is exactly an ANDROID_ID ?
I could not find in documentation any information about how the ANDROID_ID is generated. Is it related to some carrier or some constructor ? Is it related to google apps ? Are we allowed to store these values on application servers without breaking any privacy policy ? (it does not require permissions to read that value so I guess we can). -- 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: Multitouch seems badly broken on Nexus One 2.1-update1
Hi, I should report the same thing. My game Armaboing (www.armaboing.com) is multitouch since Android 1.5. And I have the same problem with multitouch, and came to think that it's not Android the problem but the drivers or the hardware. I think that's why Diane doen't want a bug report on this but I really hope it could be a glitch on the Android framework so that they can correct it. Maybe with a direct access to the sensors reading Android folks can tweak the data so that they are accurate before they get to us via the jvm ? I don't know if it can help but here's a few thing that I found to go around that bug : if you monitor both ACTION_UP and ACTION_DOWN on a single multitouch event Up, most of the time one of the action returns the correct position for both points but one going down, the other going up. On my game which is made of very briefs tap on the screen, i count an Up And Down event as one and if the Down action didn't hit an object, then i check for the up event. Returns a few false positive but is much better than without the hack. I also noticed that if the two points are close on the X or Y coordinates, i have a lot fewer errors. Maybe you can adapt your controls to rely on that. One other thing I tried for another game(not released) is to get rid of the multitouch altogether. On the lower left corner i monitor the touchevent for direction and when i want to fire, i press harder (pressure and size event). Best regards. On 12 fév, 09:39, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.comwrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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%2Bunsubs cr...@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] read current speaker audio
Hi Anyone know how can I read/record the audio which is being played at the moment in android phone. As audiorecord can only read audio source from mic and voice call, however what I want to do is to read what the phone speaker is currently playing, for example a song playing via mediaplayer. Thanks in advance. Best wishes Bayee -- 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: connect android emulator to mysql server
thanks. now i clear the classnotfoundexception. i got exception like java.sql.SQLException:no sutiable drive On Feb 10, 7:35 am, David Turner di...@android.com wrote: Ah sorry, the java.lang.ClassNotFoundException is a different thing. You may be missing a .jar file when generating your project. On Tue, Feb 9, 2010 at 6:34 PM, David Turner di...@android.com wrote: Replace localhost with 10.0.2.2 and you should be all set. See http://developer.android.com/guide/developing/tools/emulator.html#emu... On Tue, Feb 9, 2010 at 1:57 AM, saravanan p saravanan6...@gmail.comwrote: Hi I am new to android development. How to connect mysql server from our android emulator. I am using private String url = jdbc:mysql://localhost:3306/; dbname =test; username = ; password = ; Class.forName(com.mysql.jdbc.Driver); Connection con = DriverManager.getConnection(url+dbName, username, password); But I got the exception java.lang.ClassNotFoundException: com.mysql.jdbc.Driver Please tell me the solution for this proplem. Thanks P.saravanan -- 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
[android-developers] Layout Highlight For Already Background Set
Hi, Pls see the below link In that White color background is LinearLayout. How to set highlight for that LinearLayout? Now i need is when i click the White Colored Linear Layout it should highlight in blue color it should go for that onclick action. How to do that ?... Pls help me... http://img186.imageshack.us/img186/4774/layoutvc.png -- Thanks Regards Sasikumar.S -- 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: No light sensor and/or proximity sensor detected on Hero?
Hi Simon, sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) returns: null On Feb 12, 2:12 am, Simon simon.drab...@gmail.com wrote: What is the result of calling sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) ? -- Simon -- 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] Regarding the applications that were launched during the Launcher activity
Hi, Where are the Applications(Contacts,Settings) details gets populated while the Launcher activity is getting loaded? where the information regarding which application packages that are to be loaded are stored? Are the application details stored as in the form of arraylist in ApplicationInfo? I tried printing the value of the mApplications in LauncherModel.java in the Launcher package. But its throwing an exception. Can anyone help me out in 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
Re: [android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1
If this same issue occurs on Nexus, Moto Droid, G1.. (any other devices??) it seems it would more likely be Android and not the different devices all with the same problem. But.. I don't know for sure.. just seems like that two or three different vendors wouldn't end up with the same bug based on their own driver implementations for touch screens. On Fri, Feb 12, 2010 at 2:06 AM, Hekki kaye...@gmail.com wrote: Hi, I should report the same thing. My game Armaboing (www.armaboing.com) is multitouch since Android 1.5. And I have the same problem with multitouch, and came to think that it's not Android the problem but the drivers or the hardware. I think that's why Diane doen't want a bug report on this but I really hope it could be a glitch on the Android framework so that they can correct it. Maybe with a direct access to the sensors reading Android folks can tweak the data so that they are accurate before they get to us via the jvm ? I don't know if it can help but here's a few thing that I found to go around that bug : if you monitor both ACTION_UP and ACTION_DOWN on a single multitouch event Up, most of the time one of the action returns the correct position for both points but one going down, the other going up. On my game which is made of very briefs tap on the screen, i count an Up And Down event as one and if the Down action didn't hit an object, then i check for the up event. Returns a few false positive but is much better than without the hack. I also noticed that if the two points are close on the X or Y coordinates, i have a lot fewer errors. Maybe you can adapt your controls to rely on that. One other thing I tried for another game(not released) is to get rid of the multitouch altogether. On the lower left corner i monitor the touchevent for direction and when i want to fire, i press harder (pressure and size event). Best regards. On 12 fév, 09:39, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.com wrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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.comandroid-developers%2Bunsubs cr...@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.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
Re: [android-developers] https weirdness (really ksoap2)
answering to my own post, for whom it may concern. Turns out in the ksoap HttpTransportSE setup the innocent looking line connection.setRequestProperty(Connection, close); seems to be the culprit. Removed it, now it seems to work. Don't know why exactly (although I have an idea). No amount of deep debugging into ssl classes let me see where exactly that goes wrong. Any more insight would be appreciated. Michael On 2/11/2010 7:41 PM, Michael Rueger wrote: Hi all, I'm using ksoap over https to request data from a server. It works fine, but only every other time! Looking at the traffic with wire shark it seems that on every other request something goes wrong with the ssl traffic/handshake (data doesn't even get sent except for an fc-fault coming back). Doing the same requests using curl the server always responds fine and afaik the iPhone version of the programm also doesn't seem to have any problems with the server. Anybody any ideas? Michael -- 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] https weirdness (really ksoap2)
On 2/12/2010 12:26 PM, Michael Rueger wrote: answering to my own post, for whom it may concern. Turns out in the ksoap HttpTransportSE setup the innocent looking line connection.setRequestProperty(Connection, close); seems to be the culprit. Removed it, now it seems to work. well, it only occurs less often :-( So it seems to have to do with re-establishing an SSL connection... Michael -- 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] What is exactly an ANDROID_ID ?
I could not find in documentation any information about how the ANDROID_ID is generated. It is not documented, AFAIK. Is it related to some carrier or some constructor ? If by constructor you mean device manufacturer, then yes -- the value comes from the device manufacturer. For example, it exists on devices that have no telephony function and therefore have no carrier. Note that it resides in a system database and can be modified by people who root their devices. Also note that, while the docs say it is supposed to be a hex string, not all device manufacturers appear to honor that. Is it related to google apps ? Not that I am aware of. Are we allowed to store these values on application servers without breaking any privacy policy ? (it does not require permissions to read that value so I guess we can). That is a legal question, so please ask your attorney. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.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
[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1
You've got a point here. Unless the screen capabilities and/or technologies is dictated by google to the vendors. Does someone knows how to use the ndk ? I believe using the ndk you can have direct access to the sensors and thus find out if it's the hardware or one of the layers on top of it that screws the readings. On 12 fév, 12:18, Kevin Duffey andjar...@gmail.com wrote: If this same issue occurs on Nexus, Moto Droid, G1.. (any other devices??) it seems it would more likely be Android and not the different devices all with the same problem. But.. I don't know for sure.. just seems like that two or three different vendors wouldn't end up with the same bug based on their own driver implementations for touch screens. On Fri, Feb 12, 2010 at 2:06 AM, Hekki kaye...@gmail.com wrote: Hi, I should report the same thing. My game Armaboing (www.armaboing.com) is multitouch since Android 1.5. And I have the same problem with multitouch, and came to think that it's not Android the problem but the drivers or the hardware. I think that's why Diane doen't want a bug report on this but I really hope it could be a glitch on the Android framework so that they can correct it. Maybe with a direct access to the sensors reading Android folks can tweak the data so that they are accurate before they get to us via the jvm ? I don't know if it can help but here's a few thing that I found to go around that bug : if you monitor both ACTION_UP and ACTION_DOWN on a single multitouch event Up, most of the time one of the action returns the correct position for both points but one going down, the other going up. On my game which is made of very briefs tap on the screen, i count an Up And Down event as one and if the Down action didn't hit an object, then i check for the up event. Returns a few false positive but is much better than without the hack. I also noticed that if the two points are close on the X or Y coordinates, i have a lot fewer errors. Maybe you can adapt your controls to rely on that. One other thing I tried for another game(not released) is to get rid of the multitouch altogether. On the lower left corner i monitor the touchevent for direction and when i want to fire, i press harder (pressure and size event). Best regards. On 12 fév, 09:39, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.com wrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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%2Bunsubs cr...@googlegroups.comandroid-developers%2Bunsubs cr...@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.comandroid-developers%2Bunsubs cr...@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
[android-developers] Re: softkeyboard in Android 1.1
How are you Currently I have Android 1.1 phone. That is why. I have tried the sample softkey in the emulator with Android 1.5 platform. It works. But in 1.1 platform, there is problem. Andu On Feb 10, 4:24 pm, swapnil kamble swap.kam...@gmail.com wrote: Why you want Android 1.1 ? On Wed, Feb 10, 2010 at 6:32 PM, andu alemf...@yahoo.com wrote: How are you all I want to develop softkeyboard for android 1.1 platform. when I check the sample softkeyboard application in the emulator, some of the imported packages are not accessible. some of them are: import android.inputmethodservice.Keyboard; import android.inputmethodservice.Keyboard.Key; import android.inputmethodservice.Keyboard.Row; import android.view.inputmethod.EditorInfo; are there any similar packages in android 1.1 so as to develop softkeyboard. Andu -- 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 -- ...Swapnil || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare Rama Hare Rama Rama Rama Hare Hare || -- 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] Multitouch seems badly broken on Nexus One 2.1-update1
I think what Dianne is saying is that the values you are seeing are what is raw data returned from the sensor, it's not normalised for multi-touch games, or for any particular purpose. My understanding is that the values returned have different coordinate spaces, and have a tendency to jump about when used directly (I suspect this second issue is more an artefact of the device-specific screen sensitivity, dents, scratches and the impact of screen protectors). Take a look at Luke Hutchison's multi-touch controller, it might provide a suitable wrapper for your requirements: http://lukehutch.wordpress.com/2010/01/06/my-multi-touch-code-ported-to-eclair/ On Fri, Feb 12, 2010 at 8:39 AM, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.com wrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
[android-developers] How to change Title color of a preference dynamically?
Hi, I have an application,in which customized preferences are defined by inheriting from Preference class. In my application i have to change the preference title color dynamically.For that i am calling View view = Preference.getView(null,null). And doing as follows. ((TextView) view.findViewById(android.R.id.title)).setTextColor(Color.GREEN); But i am unable to get this change . How can i modify preference layout settings dynamically? Any help would appreciate highly. -- 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: What is exactly an ANDROID_ID ?
Is it related to google apps ? Not that I am aware of. I asked this question since we can read in the doc: Identical to that obtained by calling GoogleLoginService.getAndroidId(); which sounds strange. Spoofing android_id could grant access to the Google account of someone else ? -- 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] Re: Problems testing applications on HTC Hero device
Hmmm. My Hero hardware version is 0002. Based on the software and build differences, I'd say that you are running on a pre-release build. Does your phone have service with Sprint? Have you checked with Sprint Developer forums (if there are any)? On Thu, Feb 11, 2010 at 11:32 PM, brooke brooke.ma...@gmail.com wrote: The Firmware, Baseband and Kernel match what you list below, but our build and software version differ: Build is: 1.22.651.1 146733 CL62456 Software Ver is: 1.22.651.1. Also, the hardware version is 0002 I tried updating the firmware via software updates, but it didn't do the build/software version update. I'm wondering if Sprint didn't give us a development phone or something like that? On Feb 11, 7:00 pm, Justin Giles jtgi...@gmail.com wrote: Sprint pushed out the update. I'm not sure if it is directly available from HTC or not. Here are the various firmware/build values: Firmware: 1.5 Baseband: 1.04.01.09.21 Kernel: 2.6.27-533ce29d Build: 1.56.651.2 CL85027 release-keys Software Ver: 1.56.651.2 Justin On Thu, Feb 11, 2010 at 2:30 PM, brooke brooke.ma...@gmail.com wrote: I will need to verify (my QA person has the phone right now). Can you tell me what firmware you are running at present? Best, Brooke On Feb 11, 10:32 am, Greg Donald gdon...@gmail.com wrote: On Thu, Feb 11, 2010 at 1:40 AM, brooke brooke.ma...@gmail.com wrote: When the app is launched in this state, rather than seeing my application name in the title bar, it reads 60.0dip. I don't use this value anywhere in my application. Is your firmware up to date? When I first started testing on my HTCHeroI had issues very similar to this. A firmware update fixed it. -- Greg Donald destiney.com | gregdonald.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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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.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
[android-developers] Remove rating of my game in the market
Hi! I made a beta-version of a game which at the beginning was a testing- version. I solved more and more errors and made it faster and faster. Now I am getting to the point that it isn't a beta-version anymore. I have customers who like my free game and I also have old bad comments that my game was not working. Should I remove my beta-version and upload a completely new application to enhance my rating? (All my last comments were good) Or is there a possibility to remove old ratings? I think it would be much better if the google-market will not include ratings of old versions into the total rating, because apps and versions change over time! Why doesn't google do this and how can I give this advice to google? :-) Greetings, Martin -- 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: Working with the new ContactContracts API
Well now I just feel stupid since that's pretty out in the open. One last question: how exactly do you go about requesting a sync (let's say after they change some custom options for the account)? I've tried requestSync but it never really seems to kick off the sync unless I'm not waiting long enough, but I'd like it to be immediate. Thoughts? Thanks for the help. On Feb 11, 5:21 pm, Dmitri Plotnikov dplotni...@google.com wrote: Take a look at Settings.UNGROUPED_VISIBLE If you set this to 1 for your account, all contacts will be visible by default. On Thu, Feb 11, 2010 at 3:03 PM, Berto mstbe...@gmail.com wrote: Hey Dmitri, If I want my contacts to show up by default when I go into the contacts application and not have to go into Display Options to turn them on, where would I go to tweak that setting? On Jan 29, 11:47 am, Dmitri Plotnikov () dplotni...@google.com wrote: You are deleting data associated with the contact, not the contact itself. It should be something like this: ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation.newDelete(Contacts.CONTENT_URI) .withSelection(Contacts._ID + =?, new String[]{1}) .build()); On Fri, Jan 29, 2010 at 8:17 AM, andev aniakarp...@gmail.com wrote: Hello, I have been working with contacts. I am able to show them, update but when I want to delete any, it is not deleted completely. In Contacts application is shown as (Unknown) without any data. What is more, I am not able to delete it (only after I give this contact name). I have tried to change deleted flag in RawContacts but it doesn't help - contact is still displayed. Here is my example: ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation.newDelete(Data.CONTENT_URI) .withSelection(Data.CONTACT_ID + =?, new String[]{1}) .build()); getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops); Should I do anything else to delete contact entirely? Thanks, Anna On Dec 23 2009, 2:58 am, Dmitri Plotnikov dplotni...@google.com wrote: Hi Richa, You can find explanations and an example here: http://developer.android.com/reference/android/provider/ContactsContr. .. Cheers, - Dmitri On Tue, Dec 22, 2009 at 3:58 AM, Richa Saraswat richa@gmail.com wrote: as m new to android i just want to know how to get a photo from person's contact?? hope to get some 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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.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
[android-developers] Re: Remove rating of my game in the market
Hi Martin, It's quite logical that you keep ratings even though your application evolves, that's why the version is given in the description in the market. Imagine the scenario : I have crappy ratings, i just change the spelling of a word somewhere in my apps, change version number, then asks a friend to download my app and give me 5 stars. All applications would be five stars :) I solved that very problem by always using the firt to lines of my description to indicates changelogs : V8.00 - No more bugs, everything works smoothely - Email if you find one blablabla :) Beside when you put a program as an alpha or beta on the market, then specify it big and bold in the description. Please do not rate as this is beta only, or something like that. Hope you sort that out. By the way what app is it we are talking about ? On 12 fév, 14:54, Martin google-gro...@digle.de wrote: Hi! I made a beta-version of a game which at the beginning was a testing- version. I solved more and more errors and made it faster and faster. Now I am getting to the point that it isn't a beta-version anymore. I have customers who like my free game and I also have old bad comments that my game was not working. Should I remove my beta-version and upload a completely new application to enhance my rating? (All my last comments were good) Or is there a possibility to remove old ratings? I think it would be much better if the google-market will not include ratings of old versions into the total rating, because apps and versions change over time! Why doesn't google do this and how can I give this advice to google? :-) Greetings, Martin -- 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: launch activity from on-screen Camera/Capture button?
Hi Jason, I am not sure if you understood my question correctly... maybe I didn't frame it right :) I am trying to start a background activity, for e.g. the accelerometer from within the Camera app. I want the accelerometer to run while the user is shooting a video. I don't want to build my own video recorder (which I have before) coz it doesn't do better than 320 x 240. So basically, I want to be able to call the Camera app, and use the camera/video button (on-screen or the hard button) to trigger the accelerometer. Could you help? Abhi On Feb 10, 1:21 pm, Jason Proctor jason.android.li...@gmail.com wrote: are you calling the Camera activity from your application with the intent of being called back when the user takes a picture? the conventional way to do this is to start the Camera with startActivityForResult() instead of the regular startActivity(). override onActivityResult() to receive the user's picture -- but this will only happen if they choose to share it via clicking attach or whatever the camera's equivalent is. i don't think there's a way of getting called at the instant the user clicks the capture button -- and there shouldn't be, IMHO. give the user a chance to retake first :-) another way to do this is to register for shares via the SEND action. the registered activity will appear in the share menu (when a user long-clicks on a gallery item, etc) and you will get called if the user picks your app to handle the content. hth anyone? On Feb 8, 1:24 pm,Abhiabhishek.r.sha...@gmail.com wrote: Hi, Is it possible to start an activity from the built-in Camera app after the user touches the on-screen Capture button? Abhi -- 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 -- jason.vp.engineering.particle- Hide quoted text - - Show quoted text - -- 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] INSTALL_FAILED_OLDER_SDK: How to set minSdkVersionin Android linux toolchain?
Im trying to build my app apk on linux with make. git source 2.1. minSdkVersion is set to 3 in AndroidManifest.xml I get Warning: AndroidManifest.xml already defines minSdkVersion and compiled apk can not be installed on device older then 2.1 Where else is minSdkVersion defined? -- 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] Rotation and layout issues
I have problems with my layout being inflated after the screen rotation. I impelemnted android:configChanges in the manifest and onConfigurationChanged() in my Activity. I call setContentView with either vertical layout or horizontal layout. Both layouts have imageview with wrap_content height and width and image set at runtime. The problem is after rotation and layout change this image view is not inflated after I set an image. It is inflated the first time the activity is created. -- 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: Emulator on Ubuntu problem running after first time starting emulator
... my quick fix is to create a new AVD, delete the broken AVD, and get on with my life. On Feb 3, 4:53 pm, Richard Kasperowski r...@kasperowski.com wrote: For me, this has been happening consistently on my Mac. After running it mostly successfully for weeks, today I can't get the emulator to start successfully. I haven't really looked through the qemud source code, but athttp://gitorious.org/0xdroid/external_qemu/blobs/3a0c4d9eed9ba76e2744... I notice: 1228 /* we don't expect clients of char. services to exit. Just 1229 * print an error to signal an unexpected situation. We should 1230 * be able to recover from these though, so don't panic. 1231 */ 1232 static void 1233 _qemud_char_client_close( void* opaque ) 1234 { 1235 derror(unexpected qemud char. channel close); 1236 } Any ideas? On Jan 28, 6:46 pm, David Turner di...@android.com wrote: This is an emulator bug that is unrelated to your application. I could never reproduce it but several people have reported it. Can you confirm that you have a 100% way to reproduce it ? On Thu, Jan 28, 2010 at 3:24 PM, Kevin Duffey andjar...@gmail.com wrote: Hi all, I've seen other posts on emulators, but none seem to match my issue. Basically on a clean boot of my Ubuntu 9.04 64-bit system, I fire up Eclipse, load my project, and run it in debug (or not) mode. Either way, the emulator fires up, takes about 30 to 45 seconds to initialize, and my app shows up. When I make some changes and rebuild my app, sometimes it reloads properly. However, if I shut down the emulator at all, then relaunch it fresh, I am constantly getting the following error in the console output: emulator: ERROR: unexpected qemud char. channel close Now, I run in DDMS perspective as well, and I see a bunch of threads start up. I also see my app being deployed. Then slowly, all the threads including the normal ones like Alarm clock, etc disappear. Then that error line shows up. At this point, my app somehow shows up in the emulator (it's a google maps app), and I have NOT had to press the menu key to get past the normal lock screen. Not sure why when this thing crashes like this, I've not had to use the lock screen menu press to see my app like I usually do. I've not found any useful info on the specific error either. Thank you for any 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.comandroid-developers%2Bunsubs cr...@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] Re: Flash file android
Il giorno mer, 10/02/2010 alle 12.31 +0530, Narendra Bagade ha scritto: Actually i want to use flash file in android. Is it possible? By flash you mean swf, right? No, it's not possible. Bye. -- Alessandro Pellizzari -- 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] https connection problem
Hi all, last time from me for now ;-) I've uploaded a tiny test project here http://impara.de/michael/TestSSL.zip that demonstrates every other request failing to work. For now I will hack some ugly workaround simply repeating the request if the first one fails. It must be something really stupid I'm doing wrong as I can't really imagine that nobody else is using https connections. Michael -- 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 get all the nodes content from strings.xml
Hi all, I would like to write a program to parse the nodes of strings.xml and then get the content and attributename. Can anyone has experience on 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] Sendin KeyEvents
Hi all, I want to simulate Home and Back buttons. I tried to see how to dispatch a key event but I didn't knew exactly how to do ?? I found some examples using IWindowManager. but I haven't found this class in the SDK. Is there any other way to send key events ? Thanks by advance and excuse me for my horrible English. -- 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] https connection problem
connection.connect(); OutputStream os = connection.getOutputStream(); os.write(requestData, 0, requestData.length); os.flush(); os.close(); InputStream is; connection.connect(); seems like u have two connection attempts why do u need two connects, and there is one disconnect at the end of test connection. I am not sure what happens with two connect requests. I am not so familiar with httpconnection yet but looking at code this is what I found. May be its not relevant. Sen On Fri, Feb 12, 2010 at 10:12 AM, Michael Rueger mike.rue...@gmail.comwrote: Hi all, last time from me for now ;-) I've uploaded a tiny test project here http://impara.de/michael/TestSSL.zip that demonstrates every other request failing to work. For now I will hack some ugly workaround simply repeating the request if the first one fails. It must be something really stupid I'm doing wrong as I can't really imagine that nobody else is using https connections. Michael -- 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
[android-developers] Re: Pinch-zooming on maps gives no feedback
I think I see what he's saying. The theory is that the Overlay's draw() method would be called after a zoom, among other times. You could pass the Overlay a MapView to check over the zoom level, and during the draw() method, see if it's changed. If it has, that effectively becomes your callback. Don't have that Overlay draw anything, respond to taps, etc, etc. It definitely IS a workaround, but it sounds like it should work in theory. I'll give this a shot next time I have the chance (this, or something like it, would also mean I can finally get rid of that deprecated call to get the zoom buttons). However, given how often draw() is called otherwise (if I'm not mistaken, just about any map movement would also do it on a frame-by-frame basis), wouldn't that be not much better than polling? On Feb 12, 2:16 am, JP joachim.pfeif...@gmail.com wrote: Not sure if I follow. As nothing is fired in the way of an Overlay - how would it know to do anything? On Feb 11, 11:02 pm, Hugo Visser botte...@gmail.com wrote: As a work around, you don't need to poll...You can register an overlay that doesn't draw anything and checks the current zoom level against the previous draw zoom level and take it from there...On zooming there will be a redraw of the map so it should work out fine. On Feb 11, 8:23 pm, CaptainSpam captains...@gmail.com wrote: Ever since the update that allows multitouch gestures on the Maps app (pinch-zooming, mostly), I've noticed that apps using the Google Maps API also seem to automatically support it. That, in and of itself, is good. Convenient! However, my app has a need to know when the user has zoomed the map. As it stands now, I've just been watching over the only way this has been possible before: The zoom control buttons. It appears that there's no callback to know when the map has been zoomed (only MapController commands to MAKE the map zoom), so developers don't appear to have any way of knowing if the zoom level was changed outside of their control (i.e. pinch-zooming) apart from constantly polling the MapView. Is there any good way around this, or is an update like this in the cards for the API? Or am I just missing something obvious? -- 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: Pinch-zooming on maps gives no feedback
Oh, wait, hang on, you're saying the draw()s AREN'T being dispatched in the Overlays during pinch-zoom? Huh. Well, if that's true, then that wouldn't work at all. I'll have to test it later. On Feb 12, 2:16 am, JP joachim.pfeif...@gmail.com wrote: Not sure if I follow. As nothing is fired in the way of an Overlay - how would it know to do anything? On Feb 11, 11:02 pm, Hugo Visser botte...@gmail.com wrote: As a work around, you don't need to poll...You can register an overlay that doesn't draw anything and checks the current zoom level against the previous draw zoom level and take it from there...On zooming there will be a redraw of the map so it should work out fine. On Feb 11, 8:23 pm, CaptainSpam captains...@gmail.com wrote: Ever since the update that allows multitouch gestures on the Maps app (pinch-zooming, mostly), I've noticed that apps using the Google Maps API also seem to automatically support it. That, in and of itself, is good. Convenient! However, my app has a need to know when the user has zoomed the map. As it stands now, I've just been watching over the only way this has been possible before: The zoom control buttons. It appears that there's no callback to know when the map has been zoomed (only MapController commands to MAKE the map zoom), so developers don't appear to have any way of knowing if the zoom level was changed outside of their control (i.e. pinch-zooming) apart from constantly polling the MapView. Is there any good way around this, or is an update like this in the cards for the API? Or am I just missing something obvious? -- 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] https connection problem
On 2/12/2010 5:27 PM, social hub wrote: connection.connect(); OutputStream os = connection.getOutputStream(); os.write(requestData, 0, requestData.length); os.flush(); os.close(); InputStream is; connection.connect(); seems like u have two connection attempts why do u need two connects, and there is one disconnect at the end of test connection. I am not sure what happens with two connect requests. I am not so familiar with httpconnection yet but looking at code this is what I found. May be its not relevant. unfortunately that doesn't make a difference, although it could have well been the stupid thing I was hoping for. Thanks! Michael -- 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] How to get all the nodes content from strings.xml
A fairly straight forward way do it at build time with xslt. Chances are the strings.xml is not available at run time. On Feb 12, 2010 8:23 AM, CMF manf...@gmail.com wrote: Hi all, I would like to write a program to parse the nodes of strings.xml and then get the content and attributename. Can anyone has experience on 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
Re: [android-developers] https connection problem
Once I replaced the url with https://mail.google.com it is fine i got each attempt succesful With ur url connection is successful all time except read happened every other time probably something do with ssl server On Fri, Feb 12, 2010 at 10:38 AM, Michael Rueger mike.rue...@gmail.comwrote: On 2/12/2010 5:27 PM, social hub wrote: connection.connect(); OutputStream os = connection.getOutputStream(); os.write(requestData, 0, requestData.length); os.flush(); os.close(); InputStream is; connection.connect(); seems like u have two connection attempts why do u need two connects, and there is one disconnect at the end of test connection. I am not sure what happens with two connect requests. I am not so familiar with httpconnection yet but looking at code this is what I found. May be its not relevant. unfortunately that doesn't make a difference, although it could have well been the stupid thing I was hoping for. Thanks! Michael -- 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
[android-developers] Button in a ListView row
Hi, I have a standard listview, the row definition looks like this: LinearLayout TextView Button /LinearLayout not sure if this is possible - but it would be nice if the user could scroll down the list using the trackball, and the entire LinearLayout parent gets highlighted, and is clickable. If they wheel to the right, while a row is highlighted, then just the Button gets highlighted. I can't get that to work though. If I make the whole row clickable, then I can't wheel over to the button. If I wrap the TextView in another LinearLayout, and make that layout clickable - then wheeling over to the right works, but the whole row won't highlight, and it looks funny: LinearLayout LinearLayout TextView /LinearLayout Button /LinearLayout anyone write something like this? 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] https connection problem
On 2/12/2010 6:05 PM, social hub wrote: Once I replaced the url with https://mail.google.com it is fine i got each attempt succesful same for me here With ur url connection is successful all time except read happened every other time probably something do with ssl server hmm, interesting and scary thought... But coincides with the (rejected) traffic I saw in WireShark. Thanks Michael -- 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] https connection problem
What did u see in wireshark. is this your test server. do you have any specific details about the server side On Fri, Feb 12, 2010 at 11:24 AM, Michael Rueger mike.rue...@gmail.comwrote: On 2/12/2010 6:05 PM, social hub wrote: Once I replaced the url with https://mail.google.com it is fine i got each attempt succesful same for me here With ur url connection is successful all time except read happened every other time probably something do with ssl server hmm, interesting and scary thought... But coincides with the (rejected) traffic I saw in WireShark. Thanks Michael -- 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
[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1
Where did my original post go? Was it deleted? This is a valid problem. How is it that the hardware coming from both HTC and motorola has the same problem? Also - how was this a solved problem with iPhone several years ago? I'm trying to compete with that platform but problems like this make it really hard! On Feb 12, 6:39 am, Sean Hodges seanhodge...@googlemail.com wrote: I think what Dianne is saying is that the values you are seeing are what is raw data returned from the sensor, it's not normalised for multi-touch games, or for any particular purpose. My understanding is that the values returned have different coordinate spaces, and have a tendency to jump about when used directly (I suspect this second issue is more an artefact of the device-specific screen sensitivity, dents, scratches and the impact of screen protectors). Take a look at Luke Hutchison's multi-touch controller, it might provide a suitable wrapper for your requirements: http://lukehutch.wordpress.com/2010/01/06/my-multi-touch-code-ported-... On Fri, Feb 12, 2010 at 8:39 AM, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.com wrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1
Nevermind, I found it - it got segmented somehow. On Feb 12, 11:33 am, Robert Green rbgrn@gmail.com wrote: Where did my original post go? Was it deleted? This is a valid problem. How is it that the hardware coming from both HTC and motorola has the same problem? Also - how was this a solved problem with iPhone several years ago? I'm trying to compete with that platform but problems like this make it really hard! On Feb 12, 6:39 am, Sean Hodges seanhodge...@googlemail.com wrote: I think what Dianne is saying is that the values you are seeing are what is raw data returned from the sensor, it's not normalised for multi-touch games, or for any particular purpose. My understanding is that the values returned have different coordinate spaces, and have a tendency to jump about when used directly (I suspect this second issue is more an artefact of the device-specific screen sensitivity, dents, scratches and the impact of screen protectors). Take a look at Luke Hutchison's multi-touch controller, it might provide a suitable wrapper for your requirements: http://lukehutch.wordpress.com/2010/01/06/my-multi-touch-code-ported-... On Fri, Feb 12, 2010 at 8:39 AM, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.com wrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
[android-developers] Re: Problems testing applications on HTC Hero device
Thanks for your help Justin. I'm inquiring with developer forums now. I'll post back here with the solution/resolution. B On Feb 12, 5:16 am, Justin Giles jtgi...@gmail.com wrote: Hmmm. My Hero hardware version is 0002. Based on the software and build differences, I'd say that you are running on a pre-release build. Does your phone have service with Sprint? Have you checked with Sprint Developer forums (if there are any)? On Thu, Feb 11, 2010 at 11:32 PM, brooke brooke.ma...@gmail.com wrote: The Firmware, Baseband and Kernel match what you list below, but our build and software version differ: Build is: 1.22.651.1 146733 CL62456 Software Ver is: 1.22.651.1. Also, the hardware version is 0002 I tried updating the firmware via software updates, but it didn't do the build/software version update. I'm wondering if Sprint didn't give us a development phone or something like that? On Feb 11, 7:00 pm, Justin Giles jtgi...@gmail.com wrote: Sprint pushed out the update. I'm not sure if it is directly available from HTC or not. Here are the various firmware/build values: Firmware: 1.5 Baseband: 1.04.01.09.21 Kernel: 2.6.27-533ce29d Build: 1.56.651.2 CL85027 release-keys Software Ver: 1.56.651.2 Justin On Thu, Feb 11, 2010 at 2:30 PM, brooke brooke.ma...@gmail.com wrote: I will need to verify (my QA person has the phone right now). Can you tell me what firmware you are running at present? Best, Brooke On Feb 11, 10:32 am, Greg Donald gdon...@gmail.com wrote: On Thu, Feb 11, 2010 at 1:40 AM, brooke brooke.ma...@gmail.com wrote: When the app is launched in this state, rather than seeing my application name in the title bar, it reads 60.0dip. I don't use this value anywhere in my application. Is your firmware up to date? When I first started testing on my HTCHeroI had issues very similar to this. A firmware update fixed it. -- Greg Donald destiney.com | gregdonald.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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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.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
[android-developers] Re: Crashed Service not restarting - Dianne could you help (again) ?
Hi again, I've new logs from the Android device (see below). Our application generates more logs now (stopping , onDestroy, onStart, onCreate ...) Could you advise ? We don't know the way to troubleshoot this issue. Everything works fine in emulator even when we kill (or crash) the service while running. It stops randomly on real devices (whatever Android version). Where to start to get a clue ? ... 02-12 18:26:01.173: INFO/xx.yy.zz.RefreshService(1676): RefreshService stopping (xx.yy.zz.refreshserv...@43239188) 02-12 18:26:01.173: INFO/ActivityManager(74): Stopping service: xx.yy/.widget.RefreshService 02-12 18:26:01.173: INFO/xx.yy.zz.RefreshService(1676): RefreshService onDestroy (xx.yy.zz.refreshserv...@43239188) EVERYTHING IS FINE UNTIL HERE. 02-12 18:26:06.293: DEBUG/dalvikvm(1676): GC freed 3224 objects / 186016 bytes in 107ms 02-12 18:26:28.973: DEBUG/Sensors(74): sensors=, real= 02-12 18:26:29.063: DEBUG/AKMD(56): Compass CLOSE 02-12 18:26:29.273: DEBUG/dalvikvm(74): GC freed 5551 objects / 238016 bytes in 260ms 02-12 18:26:29.313: DEBUG/SurfaceFlinger(74): About to give-up screen, flinger = 0x189700 02-12 18:27:10.535: WARN/ActivityManager(74): Scheduling restart of crashed service xx.yy/.widget.RefreshService in 5000ms 02-12 18:27:10.545: DEBUG/KeyguardViewMediator(74): wakeWhenReadyLocked(82) 02-12 18:27:10.545: DEBUG/KeyguardViewMediator(74): handleWakeWhenReady(82) 02-12 18:27:10.545: DEBUG/KeyguardViewMediator(74): pokeWakelock(5000) 02-12 18:27:10.565: DEBUG/Sensors(74): sensors=0001, real=0001 02-12 18:27:10.565: DEBUG/AKMD(56): Compass OPEN 02-12 18:27:10.625: WARN/ActivityManager(74): Exception when starting service xx.yy/.widget.RefreshService 02-12 18:27:10.625: WARN/ActivityManager(74): android.os.DeadObjectException 02-12 18:27:10.625: WARN/ActivityManager(74): at android.os.BinderProxy.transact(Native Method) 02-12 18:27:10.625: WARN/ActivityManager(74): at android.app.ApplicationThreadProxy.scheduleCreateService(ApplicationThreadNative.java: 545) 02-12 18:27:10.625: WARN/ActivityManager(74): at com.android.server.am.ActivityManagerService.realStartServiceLocked(ActivityManagerService.java: 9938) 02-12 18:27:10.625: WARN/ActivityManager(74): at com.android.server.am.ActivityManagerService.bringUpServiceLocked(ActivityManagerService.java: 10054) 02-12 18:27:10.625: WARN/ActivityManager(74): at com.android.server.am.ActivityManagerService.startServiceLocked(ActivityManagerService.java: 10235) 02-12 18:27:10.625: WARN/ActivityManager(74): at com.android.server.am.ActivityManagerService.startServiceInPackage(ActivityManagerService.java: 10264) 02-12 18:27:10.625: WARN/ActivityManager(74): at com.android.server.am.PendingIntentRecord.send(PendingIntentRecord.java: 227) 02-12 18:27:10.625: WARN/ActivityManager(74): at android.app.PendingIntent.send(PendingIntent.java:400) 02-12 18:27:10.625: WARN/ActivityManager(74): at com.android.server.AlarmManagerService $AlarmThread.run(AlarmManagerService.java:636) 02-12 18:27:10.655: INFO/ActivityManager(74): Start proc xx.yy for service xx.yy/.widget.RefreshService: pid=1687 uid=10025 gids={3003, 1015} 02-12 18:27:10.705: INFO/ActivityManager(74): Process xx.yy(pid 1676) has died. 02-12 18:27:10.805: DEBUG/SurfaceFlinger(74): Screen about to return, flinger = 0x189700 02-12 18:27:10.875: INFO/WindowManager(74): onOrientationChanged, rotation changed to 0 02-12 18:27:10.935: INFO/dalvikvm(1687): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38) 02-12 18:27:10.955: WARN/ActivityManager(74): No pending application record for pid 1687 (IApplicationThread android.app.applicationthreadpr...@434eae58); dropping process WE DON'T UNDERSTAND THE BEHAVIOR ABOVE. 02-12 18:27:10.955: INFO/Process(74): Sending signal. PID: 1687 SIG: 9 02-12 18:27:10.985: INFO/Bluetooth AT sent(115): +CIEV: 5,4 02-12 18:27:15.805: DEBUG/Sensors(74): sensors=, real= 02-12 18:27:15.955: DEBUG/AKMD(56): Compass CLOSE 02-12 18:27:16.155: DEBUG/SurfaceFlinger(74): About to give-up screen, flinger = 0x189700 02-12 18:31:33.800: DEBUG/NetworkLocationProvider(74): onDataConnectionStateChanged 1 ... DUMP OF SERVICE activity.services: Services in Current Activity Manager State: Active services: * ServiceRecord{4360d070 xx.yy/.widget.RefreshService} intent={cmp=xx.yy/.widget.RefreshService} packageName=xx.yy processName=xx.yy baseDir=/data/app/xx.yy.apk/data/app/xx.yy.apk dataDir=/data/data/ xx.yy app=ProcessRecord{434e9810 0:xx.yy/10025} isForeground=false lastActivity=-241595 startRequested=true startId=1 executeNesting=2 executingStart=-236564 crashCount=0 totalRestartCount=1 restartCount=1 restartDelay=5000 restartTime=-241595 nextRestartTime=-236564 ... Pending services: * Pending ServiceRecord{4360d070 xx.yy/.widget.RefreshService} intent={cmp=xx.yy/.widget.RefreshService} packageName=xx.yy processName=xx.y
Re: [android-developers] Sendin KeyEvents
Hi Houcem, take a look at the code of android-x86 that implaments a way to use MENU, BACK and HOME buttons in a device with just touchscreen. i if the name of the file that implements tihs is touchable.java http://www.android-x86.org/documents/touch-only-device-howto Regards, Rogerio 2010/2/12 Houcem Berrayana houcem.berray...@gmail.com Hi all, I want to simulate Home and Back buttons. I tried to see how to dispatch a key event but I didn't knew exactly how to do ?? I found some examples using IWindowManager. but I haven't found this class in the SDK. Is there any other way to send key events ? Thanks by advance and excuse me for my horrible English. -- 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
[android-developers] Re: Network Unreachable (Socket.net Exception)
@Mark Murphy If you Read my Questions and issues Please spend little time to answer it .I am kind of stuck ,i want to implement service indefinitely in the background or i want network to be available all the time to implement my service.How can i do it ?? . Please reply On Feb 11, 12:28 am, himanshu jain himanshu@gmail.com wrote: @andrew Tell me one thing some people have wifi ON whereas most of them depend upon 2g and 3g because of battery issue. So if wifi is not there i should still expect this kind of error or issue???. I mean i can not consistently poll to any website for news , if yes how, even when most does not have wifi ? is there any generic solution to my problem.? On Feb 11, 12:22 am,himanshujain himanshu@gmail.com wrote: @andrew Tell me one thing some people has wifi on most of them depend upon 2g and 3g because of battery issue. So if wifi is not there i should still expect this kind of error or issue???. I mean i can not consistently poll to any website for news , if yes how even when most does not have wifi ? is there any generic solution to my problem.? On Feb 10, 5:53 pm, andrew_prunicki andrew.pruni...@gmail.com wrote: Sorry for the slow response. I did not see your question until just now. I faced the same issue. I had it connecting repeatedly over wifi only. What I learned was that the wifi radio was turned off when the screensaver came on. I went thru several attempts to get it to work. I ended up getting a wake lock on the PowerManager, but this was very expensive in terms of power usage. I also locked the wifi with the WifiManager. This was back in Android 1.0/1.1, and I believe is completely unnecessary now. I noticed that Android 1.6 has the ability to keep the wifi connection in the settings. I imagine you can programmatically do this as well - hopefully without acquiring a wakelock. On Feb 7, 10:49 pm,himanshujainhimanshu@gmail.com wrote: @prunicki You application was connecting with internet repeatedly?? if yes did you face this same issue and how did you work out that ? On Feb 7, 8:43 pm,himanshujainhimanshu@gmail.com wrote: @frank I already tried in differentnetworkat home and at office , I have been trying this on G1 at home i try on WIFI and at office at tried when WIFI is OFF and i am using ip address not host name. I am using Alarm manager which call service repeatedly after 5 minutes so once it throws Exception(NetworkUnreachable). Alarm manager does not stop by this exception it again start service on specified time and then my service try to connect through HttpURLConnection it says NetworkUnreachable. On Feb 7, 7:16 pm, prunicki andrew.pruni...@gmail.com wrote: I tried something similar back in Android 1.0/1.1 using only wifi. What I found is that once the wifi connection was lost, the only way to get it back was to fully wakeup the phone. I think it may be different with the later versions of the SDK, but in case it's not... -- 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] Multitouch seems badly broken on Nexus One 2.1-update1
Sorry I meant exactly what I said: this is how the touch screen hardware on the Nexus One works (which is essentially the same screen as on the G1 and myTouch). The Droid has a sensor from a different manufacturer, with different behavior. Other phones will likewise have different sensors. This has nothing to do with the Android platform. Please do not file bugs about it. Android is just reporting what the hardware is capable of reporting. There is no normalization for games or such, there is just the data the screen provides. (Though there is some special code in the current framework for cleaning up the data from the Droid screen; arguably this should be in the driver or firmware for it, since this is really screen and hardware specific kind of stuff. At any rate, it is not applicable to basic screen capabilities like here.) There is a good analysis of the G1 class touch screen here: http://lukehutch.wordpress.com/2009/01/10/full-working-multitouch-on-the-t-mobile-g1-android-phone/ On Fri, Feb 12, 2010 at 4:39 AM, Sean Hodges seanhodge...@googlemail.comwrote: I think what Dianne is saying is that the values you are seeing are what is raw data returned from the sensor, it's not normalised for multi-touch games, or for any particular purpose. My understanding is that the values returned have different coordinate spaces, and have a tendency to jump about when used directly (I suspect this second issue is more an artefact of the device-specific screen sensitivity, dents, scratches and the impact of screen protectors). Take a look at Luke Hutchison's multi-touch controller, it might provide a suitable wrapper for your requirements: http://lukehutch.wordpress.com/2010/01/06/my-multi-touch-code-ported-to-eclair/ On Fri, Feb 12, 2010 at 8:39 AM, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.com wrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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.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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and
[android-developers] Re: Working with the new ContactContracts API
I figured this out. I was passing in the wrong value for the authority. On Feb 12, 7:56 am, Berto mstbe...@gmail.com wrote: Well now I just feel stupid since that's pretty out in the open. One last question: how exactly do you go about requesting async(let's say after they change some custom options for the account)? I've tried requestSync but it never really seems to kick off thesync unless I'm not waiting long enough, but I'd like it to be immediate. Thoughts? Thanks for the help. On Feb 11, 5:21 pm, Dmitri Plotnikov dplotni...@google.com wrote: Take a look at Settings.UNGROUPED_VISIBLE If you set this to 1 for your account, all contacts will be visible by default. On Thu, Feb 11, 2010 at 3:03 PM, Berto mstbe...@gmail.com wrote: Hey Dmitri, If I want my contacts to show up by default when I go into the contacts application and not have to go into Display Options to turn them on, where would I go to tweak that setting? On Jan 29, 11:47 am, Dmitri Plotnikov () dplotni...@google.com wrote: You are deleting data associated with the contact, not the contact itself. It should be something like this: ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation.newDelete(Contacts.CONTENT_URI) .withSelection(Contacts._ID + =?, new String[]{1}) .build()); On Fri, Jan 29, 2010 at 8:17 AM, andev aniakarp...@gmail.com wrote: Hello, I have been working with contacts. I am able to show them, update but when I want to delete any, it is not deleted completely. In Contacts application is shown as (Unknown) without any data. What is more, I am not able to delete it (only after I give this contact name). I have tried to change deleted flag in RawContacts but it doesn't help - contact is still displayed. Here is my example: ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation.newDelete(Data.CONTENT_URI) .withSelection(Data.CONTACT_ID + =?, new String[]{1}) .build()); getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops); Should I do anything else to delete contact entirely? Thanks, Anna On Dec 23 2009, 2:58 am, Dmitri Plotnikov dplotni...@google.com wrote: Hi Richa, You can find explanations and an example here: http://developer.android.com/reference/android/provider/ContactsContr. .. Cheers, - Dmitri On Tue, Dec 22, 2009 at 3:58 AM, Richa Saraswat richa@gmail.com wrote: as m new to android i just want to know how to get a photo from person's contact?? hope to get some 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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.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
[android-developers] Re: Switching between activities
Possibly setting android:freeezesText resolves this issue? http://developer.android.com/reference/android/widget/TextView.html#attr_android:freezesText On Feb 11, 10:36 am, TreKing treking...@gmail.com wrote: On Thu, Feb 11, 2010 at 2:55 AM, uday kiran uday.pic...@gmail.com wrote: What i want to do is.. in Activity1 which is in Screen1 i have entered some data like Name,Age (all are in textview) Are you sure it's TextView you're using and not EditTexts? If you're manually entering information I would expect it to be the latter. and after i moved to Activity2 in Screen2 ..when i clicked Previous button in Screen2 the Activity1 in Screen1 has to be opened and it has to display the details what i entered previously. If you're actually using EditText's, they should retain the information you placed in them automatically. If this is not the case you should elaborate on how you're filling in this data and / or post some code. Pls help me out Its very urgent.. I doubt that =P - TreKing - Chicago transit tracking app for Android-powered deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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] Broadcast Receiver without Activity.
A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a silence application which handles the Push messages based on actions/ mimetype without needing any intreaction with user, I've tried to test it in a SMS receiver by removing the Activity from the project and it stopped receiving the SMS messages. My question: Does all android applications MUST define a activity? Is there a way to hide 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
Re: [android-developers] Multitouch seems badly broken on Nexus One 2.1-update1
Ok.. thanks for the pointer Sean. So question for you and Dianne.. being on the platform team.. if his code works so well.. supposedly better than the OTA updates for Nexus.. why not just replace what is in Android.. or add it some how so that all of us developers can have this corrected data? Maybe I read incorrectly, but from what you and Dianne are saying, the issues the rest of the guys talk about.. where by touching one place, then a 2nd.. then lifting one finger, then touch again and the wrong data being sent.. this has to do with the massive events being sent and the confusion lies in that the MotionEvent is reporting incorrect data..but somewhere in there is the correct data.. and from what it looks like, Lukehutch's code resolves that issue? If that is correct, great.. maybe Robert Green and others can take that class of his and retrofit it and report back on this thread if it works. But if so, why not put that into the core of the framework for all to benefit? Clearly this has been a problem for the likes of Robert and others who have done great work with game development and are complaining that it's ruining the ability to develop comparable (at least in multi-touch) games as iPhone.. so why not provide the corrected data within Android itself? Or.. why not require that all touch manufacturers.. devices.. report the right data in some specific way such that the framework provides accurate multi-touch completely? This really seems to be more complex than it should be for us developers wanting to utilize multi-touch. On Fri, Feb 12, 2010 at 11:42 AM, Dianne Hackborn hack...@android.comwrote: Sorry I meant exactly what I said: this is how the touch screen hardware on the Nexus One works (which is essentially the same screen as on the G1 and myTouch). The Droid has a sensor from a different manufacturer, with different behavior. Other phones will likewise have different sensors. This has nothing to do with the Android platform. Please do not file bugs about it. Android is just reporting what the hardware is capable of reporting. There is no normalization for games or such, there is just the data the screen provides. (Though there is some special code in the current framework for cleaning up the data from the Droid screen; arguably this should be in the driver or firmware for it, since this is really screen and hardware specific kind of stuff. At any rate, it is not applicable to basic screen capabilities like here.) There is a good analysis of the G1 class touch screen here: http://lukehutch.wordpress.com/2009/01/10/full-working-multitouch-on-the-t-mobile-g1-android-phone/ On Fri, Feb 12, 2010 at 4:39 AM, Sean Hodges seanhodge...@googlemail.comwrote: I think what Dianne is saying is that the values you are seeing are what is raw data returned from the sensor, it's not normalised for multi-touch games, or for any particular purpose. My understanding is that the values returned have different coordinate spaces, and have a tendency to jump about when used directly (I suspect this second issue is more an artefact of the device-specific screen sensitivity, dents, scratches and the impact of screen protectors). Take a look at Luke Hutchison's multi-touch controller, it might provide a suitable wrapper for your requirements: http://lukehutch.wordpress.com/2010/01/06/my-multi-touch-code-ported-to-eclair/ On Fri, Feb 12, 2010 at 8:39 AM, Kevin Duffey andjar...@gmail.com wrote: Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others that would use it. You're saying that it's normal behavior for the multi-touch to change the location of 2 touches such that one of them is completely not in the location of where you touched it? Is this an Android platform issue with how it handles sensor data.. or are you saying that the G1, myTouch, Nexus One and Moto Droid (not sure about others) ALL have built their touch sensors to purposely report this sort of behavior when you touch, then release, then touch again as Robert and several other posters have state is happening? On Thu, Feb 11, 2010 at 7:46 PM, Dianne Hackborn hack...@android.com wrote: On Thu, Feb 11, 2010 at 6:10 PM, Kevin Duffey andjar...@gmail.com wrote: So what I want to know is what is being done about this? Is there a bug file and if so is it This is how the sensor hardware works. It is essentially the same sensor as the G1 and myTouch. Please don't file a bug about it. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should
Re: [android-developers] Broadcast Receiver without Activity.
Hi askPrins, you can implement this using a service class instead of an activity class. So you don't need the UI. Regards, Rogerio 2010/2/12 askPrins askpr...@gmail.com A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a silence application which handles the Push messages based on actions/ mimetype without needing any intreaction with user, I've tried to test it in a SMS receiver by removing the Activity from the project and it stopped receiving the SMS messages. My question: Does all android applications MUST define a activity? Is there a way to hide 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
Re: [android-developers] Broadcast Receiver without Activity.
A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a silence application which handles the Push messages based on actions/ mimetype without needing any intreaction with user, I've tried to test it in a SMS receiver by removing the Activity from the project and it stopped receiving the SMS messages. If your Activity was the one that called registerReceiver() to register your BroadcastReceiver, and you remove the Activity, that will have a side effect of eliminating the registerReceiver() call. My question: Does all android applications MUST define a activity? No. You can define a BroadcastReceiver in the manifest, for example. Bear in mind, though, that users will sometimes down-rate apps on the Market that lack an activity, just because they cannot figure out how to use the app if there is no icon. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.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
[android-developers] Re: What is exactly an ANDROID_ID ?
Too bad it is NOT documented. There was a long thread about this recently and one poster even thought it had something to do with connecting to the Market. Seems like some developers are looking for workarounds for a viable unique ID. Probably most of this is due to misunderstanding which is due to lack of documentation of course. http://groups.google.com/group/android-developers/msg/42aceb303e8b42f6 On Feb 12, 5:16 am, Guillaume Perrot guillaume.p...@gmail.com wrote: Is it related to google apps ? Not that I am aware of. I asked this question since we can read in the doc: Identical to that obtained by calling GoogleLoginService.getAndroidId(); which sounds strange. Spoofing android_id could grant access to the Google account of someone else ? -- 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] signatures permissions and what else is missing in sdk documensts.
I am new to Android. A WAP PUSH receivers defines permissions I've seen in some cases, they uses signatures in manifest files. Q: Can a intent-filter use any string as a mime type or the mime types must be pre-register(Accepted) somewhere in system? Q: What about the permissions? Who is really granting these permissions? e.g.: uses-permission android:name=android.permission.RECEIVE_WAP_PUSH/ intent-filter action android:name=android.provider.Telephony.WAP_PUSH_RECEIVED / data android:mimeType=application/vnd.oma.drm.rights+xml / /intent-filter Reason I am asking: My WAP Push receiver doesn't receive any wap push sent to the device. I do everything exactly as examples and now I have a reason to believe that there are some important details missing in android sdk documentations. I would really appreciate to get some help/info ASAP!!! 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] signatures permissions and what else is missing in sdk documensts.
uses-permission android:name=android.permission.RECEIVE_WAP_PUSH/ intent-filter action android:name=android.provider.Telephony.WAP_PUSH_RECEIVED / data android:mimeType=application/vnd.oma.drm.rights+xml / /intent-filter Neither the Telephony class nor WAP_PUSH_RECEIVED are part of the Android SDK. Please do not use them in SDK applications. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.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
[android-developers] Re: android and proguard...
For the curious: sdphil was kind enough to provide the APK and the ProGuard-modified classes. It appears that the dx program, which converts Java bytecode to Dalvik bytecode, is emitting a bad sequence of instructions. The verifier is correctly identifying the situation and rejecting the class. Top Men are on it. For the curiously curious: 07ca00: 7120 7201 4000 |0042: invoke-static {v0, v4}, [blah] 07ca06: 0c00 |0045: move-result- object v0 07ca08: 1100 |0046: return-object v0 ... 07ca2e: 7120 7201 4000 |0059: invoke-static {v0, v4}, [blah] 07ca34: 28e9 |005c: goto 0045 // -0017 The Dalvik bytecode specification requires that move-result instructions appear immediately after a method invoke instruction. In this case the invoke at 0059 is followed by a goto to 0045, which does the move-result. -- 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: Scroll a Gallery widget?
I'm in a similiar situation. Does anyone have a solution to this? On Dec 27 2009, 8:04 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, Is it possible to scroll aGallerywidget programatically? I seeGalleryinherits scrollTo() andscrollBy(), but that scrolls the entire widget itself, not its content. Is there some obvious way to do this that I'm missing, my searches are coming up empty? I don't want to have to do a copy/paste/hack from git hub if possible... 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] Re: How to debug unexpected exceptions (source not found)
On Feb 11, 12:09 am, Bob Kerns r...@acm.org wrote: I was catching all caught and uncaught RuntimeExceptions. ArithmeticException is a subclass of RuntimeException, so it SHOULD have stopped at the point of the throw. I wrote a simple test: public static void testThrow() { try { System.out.println(throwing); throw new ArithmeticException(whee); } catch (RuntimeException re) { System.out.println(caught); } } I connected to it with jdb, and did the following: % jdb -attach localhost:8700 1 main[1] catch all java.lang.RuntimeException Set all java.lang.RuntimeException 1 main[1] cont Exception occurred: java.lang.ArithmeticException (to be caught at: android.test.HelloWorld.testThrow(), line=478 bci=15)thread=1 main, android.test.HelloWorld.testThrow(), line=477 bci=14 I also tried it uncaught and it worked that way as well. The exception is definitely getting reported to the debugger when you request a break on a subclass of the thrown class. It's possible Eclipse is ignoring the exception event. I'm not sure why that would be though. -- 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] saving shortcuts etc to the desktop?
well, i did this, but nothing seems to pick up the broadcast -- at least no shortcut is created. the documentation suggests that the intent at least as been there since 1.0. is this feature supported? (btw i had to change the action to ACTION_CREATE_SHORTCUT.) I believe that you can do something like this. Intent i = new Intent(); i.putExtra(Intent.EXTRA_SHORTCUT_INTENT, intent_to_execute_when_clicked); i.putExtra(Intent.EXTRA_SHORTCUT_NAME, title); i.putExtra(Intent.EXTRA_SHORTCUT_ICON, Bitmap_object copy); i.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, resource file); i.setAction(INSTALL_SHORTCUT); sendBroadcast(i); This will create a shortcut so that when the icon is clicked, the intent_to_execute_when_clicked will be launched. -Tope On Wed, Feb 10, 2010 at 11:48 AM, Jason Proctor jason.android.li...@gmail.com wrote: perhaps i'm not being clear :-) supposing my app was an audio player, and i wanted to save out a playlist shortcut to the desktop so that the user could go directly to that playlist with one tap. is this possible? thanks On the home screen, click Menu - Add Then select whatever options you want to add. I am not sure about your other question. On Wed, Feb 10, 2010 at 11:27 AM, Jason Proctor jason.android.li...@gmail.com wrote: i was asked today whether it's possible to save out shortcuts to the desktop, the way the iPhone can save bookmarks and contacts. AFAIK, it's not possible to programmatically create apps or widgets. but is there another way to do this? thanks -- jason.vp.engineering.particle -- 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 -- jason.vp.engineering.particle -- 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 -- jason.vp.engineering.particle -- 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] gridview to scroll horizontally and
Hi I am just wondering if the children of gridview can be shown horizontally instead of vertical view. Also I have question on performance issues on how horizontal scroll view works. I have to show 1000 objects and for this I have to create objects and add it to view and scroll view works fine. This seems a lot of memory is there a way we can make horizontallscrollview behave like gridview so that it request for only particular objects to be created when needed. Any ideas suggestions Thanks in advance for your 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
Re: [android-developers] https connection problem
On 2/12/2010 6:27 PM, social hub wrote: What did u see in wireshark. is this your test server. do you have any specific details about the server side ok, the idea with the server side pointed me in the right direction. Sort of... I found notes about connection problems with older IE versions: http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#msie So adding these settings to my test server seems to solve the problem. It still looks like a bug in the Android SSL stack to me. Thanks again for helping out! Michael -- 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] gridview to scroll horizontally and
would Gallery work in this situation? often described as a horizontal scrollview. Hi I am just wondering if the children of gridview can be shown horizontally instead of vertical view. Also I have question on performance issues on how horizontal scroll view works. I have to show 1000 objects and for this I have to create objects and add it to view and scroll view works fine. This seems a lot of memory is there a way we can make horizontallscrollview behave like gridview so that it request for only particular objects to be created when needed. Any ideas suggestions Thanks in advance for your help -- jason.vp.engineering.particle -- 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] Question about setting height of StaticLayout
Hi, I am trying to use StaticLayout for my custom widget. It only has api to set the width of the StaticLayout, but there is no way to specify the HEIGHT? http://developer.android.com/intl/fr/reference/android/text/StaticLayout.html Can you please tell me how can I set the height of the StaticLayout so that the StaticLayout stops layout-ing the text when the height reaches certain value? 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
Re: [android-developers] gridview to scroll horizontally and
Thanks that seems to do the trick. On Fri, Feb 12, 2010 at 4:04 PM, Jason Proctor jason.android.li...@gmail.com wrote: would Gallery work in this situation? often described as a horizontal scrollview. Hi I am just wondering if the children of gridview can be shown horizontally instead of vertical view. Also I have question on performance issues on how horizontal scroll view works. I have to show 1000 objects and for this I have to create objects and add it to view and scroll view works fine. This seems a lot of memory is there a way we can make horizontallscrollview behave like gridview so that it request for only particular objects to be created when needed. Any ideas suggestions Thanks in advance for your help -- jason.vp.engineering.particle -- 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
[android-developers] unable to bind to a service
hallo i have a service that provides gps coordinates.Here is the code : package app.suite.gps; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.IBinder; import android.os.RemoteException; import app.suite.gps.IGps; public class Service_impl extends Service implements LocationListener{ double lat=37.96568 ; double lng=23.71382; @Override public IBinder onBind(Intent arg0) { // TODO Auto-generated method stub LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE); lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000L, 500.0f, this); return mBinder; } private final IGps.Stub mBinder = new IGps.Stub() { @Override public double getLat() throws RemoteException { return lat; } @Override public double getLng() throws RemoteException { return lng; } }; public void onLocationChanged(Location location) { if (location != null) { lat = location.getLatitude(); ; lng = location.getLongitude(); } } @Override public void onProviderDisabled(String arg0) { // TODO Auto-generated method stub } @Override public void onProviderEnabled(String arg0) { // TODO Auto-generated method stub } @Override public void onStatusChanged(String arg0, int arg1, Bundle arg2) { // TODO Auto-generated method stub } } i want to bind to this service from another application which uses the following piece of code : package app.suite.client; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.TextView; public class Client extends Activity { IGps mservice=null; ServiceConnection conn=new ServiceConnection() { @Override public void onServiceDisconnected(ComponentName name) { Log.e(TAG,DISCONNECTED); } @Override public void onServiceConnected(ComponentName name, IBinder service) { mservice=IGps.Stub.asInterface(service); try { double a=mservice.getLat(); String a_str=Double.toString(a); Log.e(TAG,a_str); } catch(RemoteException e) { } } }; public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); Intent service = new Intent(); service.setComponent(new ComponentName(app.suite.gps,app.suite.gps.Service_impl)); bindService(service, conn, BIND_AUTO_CREATE); } } When i run the code i get the security exception unable to bind to service (I have included the IGps.aidl file in both applications and generated the interfaces) -- 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] Re: android and proguard...
On Thu, Feb 11, 2010 at 11:01 AM, Bob Kerns r...@acm.org wrote: Yeah, it's a good idea to leave R completely untouched. That includes R $string, R$drawable, R$id, etc. etc. There are things look at that those via reflection, so the names matter, and there's no significant bytecodes to optimize anyway. For what it's worth, nothing in the platform cares about the R classes. Those are only generated for the application's convenience; the platform doesn't touch them, and will run happily if they even disappear completely. But I would definitely NOT say you should avoid obfuscation -- though you should consider that option. If you use it, you do have to understand it. But you also have to understand the same issues for shrinking. You have to enumerate all the seeds from which its analysis needs to start. This includes every class name in AndroidManifest.xml The aapt tool in an upcoming version of the platform should be able to generate all of the symbols needed from the manifest (and layout files, which can also reference Java class names). -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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: Multitouch seems badly broken on Nexus One 2.1-update1
Luke's code cleans up some basic stuff like gestures involving pinching but it can not fix the two independent point problem. Currently, even with his code which filters out some noise, it is impossible to have a reliable control system involving two independent virtual joysticks placed along the same axis. So many iPhone games have that and I was actually planning it for my new release but unfortunately it will not work. I'm talking about the controls where you've got a touchable joystick on the bottom left and another one on the bottom right. It's very common but currently impossible on Android because of the hardware (though I'd really like to see some raw data because looking through the core service classes, there is a LOT of difficult-to-read code that seems to hack up the values quite a bit). I'll wrote a little multitouch visualizer kind of like Luke's but aimed more at showing what you can and can't do with a game control system. I'll post the APK so everyone can see what I'm talking about. Multitouch definitely works better on the Droid than on the HTC screens but I saw many similar issues involving interactions between the two touched spots. It doesn't seem to flip axis as much as the HTC screens, though. This really is unfortunate for the platform as a whole that the screens are so weak with this feature. I guess us game guys will just have to get a little more creative with our designs. On Feb 12, 2:30 pm, Kevin Duffey andjar...@gmail.com wrote: Ok.. thanks for the pointer Sean. So question for you and Dianne.. being on the platform team.. if his code works so well.. supposedly better than the OTA updates for Nexus.. why not just replace what is in Android.. or add it some how so that all of us developers can have this corrected data? Maybe I read incorrectly, but from what you and Dianne are saying, the issues the rest of the guys talk about.. where by touching one place, then a 2nd.. then lifting one finger, then touch again and the wrong data being sent.. this has to do with the massive events being sent and the confusion lies in that the MotionEvent is reporting incorrect data..but somewhere in there is the correct data.. and from what it looks like, Lukehutch's code resolves that issue? If that is correct, great.. maybe Robert Green and others can take that class of his and retrofit it and report back on this thread if it works. But if so, why not put that into the core of the framework for all to benefit? Clearly this has been a problem for the likes of Robert and others who have done great work with game development and are complaining that it's ruining the ability to develop comparable (at least in multi-touch) games as iPhone.. so why not provide the corrected data within Android itself? Or.. why not require that all touch manufacturers.. devices.. report the right data in some specific way such that the framework provides accurate multi-touch completely? This really seems to be more complex than it should be for us developers wanting to utilize multi-touch. On Fri, Feb 12, 2010 at 11:42 AM, Dianne Hackborn hack...@android.comwrote: Sorry I meant exactly what I said: this is how the touch screen hardware on the Nexus One works (which is essentially the same screen as on the G1 and myTouch). The Droid has a sensor from a different manufacturer, with different behavior. Other phones will likewise have different sensors. This has nothing to do with the Android platform. Please do not file bugs about it. Android is just reporting what the hardware is capable of reporting. There is no normalization for games or such, there is just the data the screen provides. (Though there is some special code in the current framework for cleaning up the data from the Droid screen; arguably this should be in the driver or firmware for it, since this is really screen and hardware specific kind of stuff. At any rate, it is not applicable to basic screen capabilities like here.) There is a good analysis of the G1 class touch screen here: http://lukehutch.wordpress.com/2009/01/10/full-working-multitouch-on-... On Fri, Feb 12, 2010 at 4:39 AM, Sean Hodges seanhodge...@googlemail.comwrote: I think what Dianne is saying is that the values you are seeing are what is raw data returned from the sensor, it's not normalised for multi-touch games, or for any particular purpose. My understanding is that the values returned have different coordinate spaces, and have a tendency to jump about when used directly (I suspect this second issue is more an artefact of the device-specific screen sensitivity, dents, scratches and the impact of screen protectors). Take a look at Luke Hutchison's multi-touch controller, it might provide a suitable wrapper for your requirements: http://lukehutch.wordpress.com/2010/01/06/my-multi-touch-code-ported-... On Fri, Feb 12, 2010 at 8:39 AM, Kevin Duffey andjar...@gmail.com wrote:
[android-developers] Greyscale image while getting data array from onPictureTaken
Hi, I'm using Camera.PreviewCallback.onPictureTaken to get an image byte array, and try to do greyscale with this byte array. But it's not working. It generates a broken image file in the sdcard. Here is my code: public void onPictureTaken(byte[] data, Camera camera){ byte[] newData=greyScale(data); new SavePhotoTask().execute(newData); camera.startPreview(); } greyScale() is the function that doing grey-scaling, and SavePhotoTask() is used to stored the byte array into sdcard. I'm assuming that the array is correctly formatted since the data just comes right from the camera, so what could the problem be? -- 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 lookup in contacts table for the contact of the incoming sms
Hi guys, Can anybody help me on this issue. I want to lookup in the contacts table for the contact of the incoming sms. I have created a receiver for the incoming sms that gives me the number of sender now i want to check whether it is there in contacts or not. Manoj C -- 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] valantine images
Feel free to download any of the images. Just right click and Save As... VALENTINE'S DAY. IMAGES, BACKGROUND, BORDERS ... You can select among 200+ images. .. http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1003278afsid=1 http://deve12.regeasy.hop.clickbank.net/ http://www.cuteonly.com/?a_aid=bcc2d3c1a_bid=d75df85d http://secure.bidvertiser.com/performance/bdv_rd.dbm?enparms2=1229,492206,986500,1180,1279,1239,1274,1263,1735,1184,1243,497761,176068,81506,1179,1179,-159204988ioa=0ncm=1bd_ref_v=http://operationalrisk.50webs.com/TREF=1WIN_NAME=nullfrdto=jloc=http://bdv.bidvertiser.com/bidvertiser.dbm%3Fpid%3D201326%26bid%3D491027%26RD%3D37%26DIF%3D1%26bd_ref_v%3Dhttp%253A//operationalrisk.50webs.com/%26tref%3D1%26win_name%3Dnull%26docref%3D%26jsrand%3D72645%26js1loc%3Dhttp%253A//operationalrisk.50webs.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] MapView zoom listener
Hi all, I wonder if anyone knows how to detect a zoom event in a MapView. I am using the recommended MapView.setBuiltInZoomControls to get a zoom controller to display at the bottom of the map. I have a touch listener that can detect a tap to display the zoom controller. But after that initial tap, when one of the zoom buttons is pressed, the press event is consumed by the zoom controller and not by my touch listener. Is there any way to catch / listen to that event? Thanks. Regards, Vinh -- 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] Question on a Work at Home Program
Has anyone had experience with this work at home program ? http://tinyurl.com/ykjnasp -- 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 Do You Write Songs?
First off, there isn't a wrong way to write songs. But after you've done it for a while, you'll find out that some ways to go about it are easier than others. This is how I do it. http://music-olipolus.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] Re: Really simple android question
Hi, You're likely not waiting LONG ENOUGH it takes quite sometime for the emulator to wake up and your app to get transferred ... The process goes something liek this... A. Start Emulator B. See 'text-oriented' A N D R O I D with blinking cursor C. text turns to ANDROID Graphic with slide-across shining light D. Your app gets loaded. This process can take 10s of seconds! Afterwards you DO NOT have to kill the emulator to restart/rerun/Debug your app... it will automagically get re-loaded as necessary. If you watch the Console Tab in your IDE you'll see the progress. tob On Feb 10, 1:48 pm, Josh josh...@gmail.com wrote: Hello Android Dev's Short FYI: I am new to the Android development, I have the SDK (2.1) and I am running Eclipse. I tried writing the Hello Android basic application. I coped the same code the tutorial has but when I try running the application to see the final result, I am unable to get the Virtual Android to perform the same result as the tutorial. I have created the default AVD that the tutorial explains at the beginning of the tutorial; the problem is the AVD is for Android 1.5, and since I am working with 2.1; Eclipse does not appear to work. I went through the AVD Manager and created a 2.1 virtual device with default settings. The problem is, when I run, I get the emulator, however it just shows the default A N D R O I D screen. It does not show Hello Android like the tutorial explains. Does anyone know what I am missing in order for my basic application to show up? -- 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] Think Big
Think Big : Every king was once a Crying baby and every great Building was once a Blueprint. its not where u r today. but where u'll reach tomorrow. for more info : http://123maza.com/50/daxman/ -- 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] Best way of scrolling top part of screen/layout?
I have approximately the following layout: LinearLayout ListView/ LinearLayout TextView/ TextView/ EditView/ /LinearLayout /LinearLayout What I want to achieve is that the inner LinearLayout should attach to the bottom of the screen and the ListView should grow to fill the remaining space (above the LinearLayout that is), but not push the bottom LinearLayout out ot the screen. I.e. when the ListView gets to many elements to display in the upper part of the screen, it should start to scroll the contents. I have tried surrounding the ListView with a ScrollView and I have done various adjustments of layout_height of the different views, but I can't get it to work the way I want. I'm probably not using the correct layout for achieveing this or something like that, does anyone have any idea on how to get this setup to work? -- 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: Modal Dialogs: the definitive solution
Thanks, i'll try that. regards 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
[android-developers] How to get notification of Pre-Installed application on Android Market place
I have developed a small android application and then installed the app using ADB and uploaded the same app with a higher version number (not the string value, but the integer field) to Android market place. I get no notification saying there is an update available for my app. Under Market - My Downloads tab in Market, the app does not show as installed. When browsing the Market, the app shows as installed but does not say update available. When I browse to the application and touch install, however, I do receive an overwrite previous version warning. Steps i followed: I compiled the APK as unsigned and then created the Private key and singed the app. Then installed the app on my device using ADB. Changed the VersionCode on Manifest file with higher version and then re-compiled the code. Singed the new version of APK and then published the same on Android Market. I waited for more than 12 hours but never get the notification on checking Market-My Downloads. It would be great if some one has tried the similar things, then plz do guide me. Thanks -SK -- 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: How to lookup in contacts table for the contact of the incoming sms
well i have created a receiver for the message and i am getting the message and the contact from that but not i need to know whether it exist in my contact list or not.. -- 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] Basis SoftExpo 2010
Basis SoftExpo 2010 http://allaccessbd.bogspot.com Bangladesh Association of Software and Information Services (BASIS) arranged BASIS Soft Expo 2010 at Bangabondhu International Conference Center at the capital city of Dhaka, Bangladesh. The image contains for Bangla version of Basis SoftExpo 2010 For more visit: http://allaccessbd.bogspot.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] Broken Meshes / not synchronous while rendering GlSurfaceView
Hi, I got an issue while rendering a number of meshes on a GlSurfaceView renderer: The meshes are sometimes broken or are not updated on screen during my render call. The whole 1.6 application is running single threaded, rendering is done with vertexpointers like this: glVertexPointer(3, GL10.GL_FIXED, 0, (IntBuffer)_pMesh.getBufferVtx()); It looks a bit like the native interfaced get spammed by my render calls and do not get enough time to natively actually draw the data? It behaves completely the same on emulator and an actual phone. I am using the rendering pipeline on a PC project as well were is works absolutely fine. I begun feeling really desperate and dumb because I can't get this working properly since days. :( 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] News
Everyone should write, writing is a way to express your feelings, what you want, what you are. http://news-olipolus.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] Re: Modal Dialogs: the definitive solution
How do you get a View from the current window (Activity?) using this method in a worker thread (not GUI)? And, even if you did, there is still a window (of execution) between the time you get the view and the time the runnable runs. The Activity may have changed in that window of execution. On Feb 11, 12:49 pm, Dianne Hackborn hack...@android.com wrote: On Tue, Feb 9, 2010 at 9:39 AM, Frank Weiss fewe...@gmail.com wrote: The conundrum on Android is that user code can't block in a UI thread and non-UI threads can't manipulate the UI. It is almost trivial to, from another thread, schedule a Runnable on the window's thread to do work on it: void myThreadDoingStuff() { // ... final int viewVisibility = somethingWeComputed; // final View view = getSomeViewInWindow(); view.getHandler().post(new Runnable() { public void run() { view.setVisibility(viewVisibility); } }); // ... } -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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] Basis SoftExpo 2010
http://allaccessbd.bogspot.com Bangladesh Association of Software and Information Services (BASIS) arranged BASIS Soft Expo 2010 at Bangabondhu International Conference Center at the capital city of Dhaka, Bangladesh. The image contains for Bangla version of Basis SoftExpo 2010 For more visit: http://allaccessbd.bogspot.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] ANUSHKA'S THUNDER THIGHS FOR UUUUUU
ANUSHKA'S THUNDER THIGHS FOR UU http://medicinescizz.blogspot.com/ http://medicinescizz.blogspot.com/ http://medicinescizz.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] crash in ListView.layoutChildren on display of onscreen keyboard
Hi All-- I have a ListActivity activity (with, of course, a ListView) that creates an AlertDialog when one of its elements is pressed to enabling editing of that item.The AlertDialog has an EditView in it and displays correctly, but when i click on the text box, I get the following crash on both the Nexus One and Google API Level 7 AVD: DalvikVM[localhost:8615] Thread [3 main] (Suspended (exception NullPointerException)) ListView.layoutChildren() line: 1606 ListView(AbsListView).onLayout(boolean, int, int, int, int) line: 1113 ListView(View).layout(int, int, int, int) line: 6830 FrameLayout.onLayout(boolean, int, int, int, int) line: 333 FrameLayout(View).layout(int, int, int, int) line: 6830 PhoneWindow$DecorView(FrameLayout).onLayout(boolean, int, int, int, int) line: 333 PhoneWindow$DecorView(View).layout(int, int, int, int) line: 6830 FrameLayout.onLayout(boolean, int, int, int, int) line: 333 FrameLayout(View).layout(int, int, int, int) line: 6830 LinearLayout.setChildFrame(View, int, int, int, int) line: 1119 LinearLayout.layoutVertical() line: 998 LinearLayout.onLayout(boolean, int, int, int, int) line: 918 LinearLayout(View).layout(int, int, int, int) line: 6830 TabHost(FrameLayout).onLayout(boolean, int, int, int, int) line: 333 TabHost(View).layout(int, int, int, int) line: 6830 FrameLayout.onLayout(boolean, int, int, int, int) line: 333 FrameLayout(View).layout(int, int, int, int) line: 6830 PhoneWindow$DecorView(FrameLayout).onLayout(boolean, int, int, int, int) line: 333 PhoneWindow$DecorView(View).layout(int, int, int, int) line: 6830 ViewRoot.performTraversals() line: 996 ViewRoot.handleMessage(Message) line: 1633 ViewRoot(Handler).dispatchMessage(Message) line: 99 Looper.loop() line: 123 ActivityThread.main(String[]) line: 4363 Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method] Method.invoke(Object, Object...) line: 521 ZygoteInit$MethodAndArgsCaller.run() line: 860 ZygoteInit.main(String[]) line: 618 NativeStart.main(String[]) line: not available [native method] Thread [13 Binder Thread #2] (Running) Thread [11 Binder Thread #1] (Running) For the life of me, I can't figure out what I'm doing wrong.I looked at the public sources and line 1606 is not on a line with a dereferenced object.Anyone seen this before? Tim -- 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] Can I reset android device programatically?
Hi! Is there some way to reset android device programatically? I'm looking need some way to delete any private data (contacts, calendar items, media) from the phone. Thanks, Boris -- 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] Hey Mr or Ms Moderator...
Hi, I have been attempting to operate within the android-developers and android-beginners Groups. I understand that new members are moderated, and completely agree with the concept. But to date, NONE of my posts have appeared. Is this normal? I am a new developer (thus the groups I am trying to participate in) and would *really* like to get active. Anything you can do to hasten my acceptance would be greatly appreciated. thanks, tony obrien -- 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 crop an image in android 2.x
I need to crop an image whose Uri is known. In 1.6 I used the below code. Intent i = new Intent(com.android.camera.action.CROP); i.setClassName(com.android.camera, com.android.camera.CropImage); i.setData(imageUri); // imageUri = content://media/external/images/media/40 i.putExtra(noFaceDetection, false); i.putExtra(outputX, 75); i.putExtra(outputY, 75); i.putExtra(aspectX, 1); i.putExtra(aspectY, 1); i.putExtra(scale, true); ContentValues values = new ContentValues(); values.put(Media.TITLE, User_t + _Image); values.put(Media.BUCKET_ID, User-T); values.put(Media.BUCKET_DISPLAY_NAME, image_t); values.put(Media.IS_PRIVATE, 1); userThumbnailUri = getContentResolver().insert( Media.EXTERNAL_CONTENT_URI, values); i.putExtra(MediaStore.EXTRA_OUTPUT, userThumbnailUri); startActivityForResult(i, CROP_IMAGE); It worked fine on 1.6 but when i tested it on 2.1 it give error as shown below. 02-12 19:09:43.504: ERROR/AndroidRuntime(851): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content:// media/external/images/media/40 }} to activity {net.urbansignals/ net.urbansignals.activity.user.SignUpActivity}: java.lang.SecurityException: Permission Denial: starting Intent { act=com.android.camera.action.CROP dat=content://media/external/ images/media/40 cmp=com.android.camera/.CropImage (has extras) } from ProcessRecord{44ae1ac8 851:net.urbansignals/10045} (pid=851, uid=10045) requires null 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.ActivityThread.deliverResults(ActivityThread.java:3329) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3371) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.ActivityThread.access$2700(ActivityThread.java:119) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1893) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.os.Handler.dispatchMessage(Handler.java:99) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.os.Looper.loop(Looper.java:123) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.ActivityThread.main(ActivityThread.java:4363) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at java.lang.reflect.Method.invokeNative(Native Method) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at java.lang.reflect.Method.invoke(Method.java:521) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:860) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at dalvik.system.NativeStart.main(Native Method) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=com.android.camera.action.CROP dat=content://media/external/ images/media/40 cmp=com.android.camera/.CropImage (has extras) } from ProcessRecord{44ae1ac8 851:net.urbansignals/10045} (pid=851, uid=10045) requires null 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.os.Parcel.readException(Parcel.java:1218) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.os.Parcel.readException(Parcel.java:1206) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java: 1214) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.Instrumentation.execStartActivity(Instrumentation.java: 1373) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.Activity.startActivityForResult(Activity.java:2749) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at net.urbansignals.activity.user.SignUpActivity.onActivityResult(SignUpActivity.java: 326) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.Activity.dispatchActivityResult(Activity.java:3828) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): at android.app.ActivityThread.deliverResults(ActivityThread.java:3325) 02-12 19:09:43.504: ERROR/AndroidRuntime(851): ... 11 more Can any body suggest the proper way do crop an image in 2.x ? Thanks for your suggestions. -- 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 set two colors Android list rows
hi to all In a List How to set colors of Alternate rows -- 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: Layout Highlight For Already Background Set
use StateListDrawable as a layout's background. pskink -- 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: read only time
You could store the date when a goodie was found, then check somewhere in your game (at startup maybe) that no goodies where obtained in the future, or else delete them. -- 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] Dalvik Turbo
hi, is it in any way related to jit that is being developed at google? www.myriadgroup.com/Media-Centre/News/MYRIAD-BRINGS-3x-FASTER-APPLICATIONS-RICHER-GAME-GRAPHICS-AND-BETTER-BATTERY-LIFE-TO-ANDROID.aspx thanks pskink -- 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 use com.android.gallery with an image in the .apk ?
Hi, i'm a big newbie in developping Android application, and i just met my first issue. I'm trying to display an image from package resources with an intent 'ACTION_VIEW'. I set the data type to 'image/*' and the data to 'android.resource://com.mypackage.test/r.drawable.toto' where toto is a jpg picture. When i run the application, a new activity is launched (activity is 'view picture' from com.android.gallery) but no picture displayed and it finally crash with a java.lang.NullPointerException. I think my reference to the resource may be false but i didn't manage to make it work. Any help would be appreciated. Ps: i apologize for my poor english skills GoSh. -- 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: Dev Tools app crashes on entering Dev Settings menu (htc tattoo)
I was having the same problem today on an HTC Hero running 1.5. Copied from adb command line as suggest in Android Documentation, and I first get a can't dispatch DDM chunk... error when trying to load Development.apk onto the phone (but it still says it copies successfully). When I launch, it crashes on entry into 'Development Settings. I just came across this thread: http://groups.google.com/group/android-developers/browse_thread/thread/1f07012e74bf14ef/29d20be627de87d7?lnk=gstq=can%27t+dispatch+ddm+chunk#29d20be627de87d7 I didn't need the software updates, so then I made sure that I exited out of both Eclipse and DDMS before trying to call adb load, and it worked! Hope this helps, Brad On Feb 1, 1:33 am, Dan S danstow...@gmail.com wrote: Hi - On a HTC Tattoo (android 1.6) I install the Dev Tools app by copying it out of an emulated 1.6 machine. Opening the app works, but then when I go into the Development Settings menu it crashes with The application Dev Tools (process com.android.development) has stopped unexpectedly. Please try again. Using adb logcat I got the stack trace given below, suggesting a security restriction. Is this fixable? Thanks Dan D/WindowManager( 81): interceptKeyTq event=android.view.rawinputev...@437f08f0 keycode=0 screenIsOn=true keyguardShowing=false D/KeyInputQueue( 81): DebugMonitor keycode=0 value=1 D/WindowManager( 81): interceptKeyTq event=android.view.rawinputev...@437f08f0 keycode=0 screenIsOn=true keyguardShowing=false D/KeyInputQueue( 81): DebugMonitor keycode=0 value=0 I/ActivityManager( 81): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.TEST] flg=0x1000 cmp=com.android.development/.DevelopmentSettings } W/ServiceManager( 81): Permission failure: android.permission.HARDWARE_TEST from uid=10049 pid=436 E/SurfaceFlinger( 81): Permission Denial: pid=436, uid=10049 D/AndroidRuntime( 436): Shutting down VM W/dalvikvm( 436): threadid=3: thread exiting with uncaught exception (group=0x4001db88) E/AndroidRuntime( 436): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 436): java.lang.RuntimeException: Unable to resume activity {com.android.development/ com.android.development.DevelopmentSettings}: java.lang.SecurityException E/AndroidRuntime( 436): at android.app.ActivityThread.performResumeActivity(ActivityThread.java: 2931) E/AndroidRuntime( 436): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java: 2953) E/AndroidRuntime( 436): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2489) E/AndroidRuntime( 436): at android.app.ActivityThread.access $2100(ActivityThread.java:123) E/AndroidRuntime( 436): at android.app.ActivityThread $H.handleMessage(ActivityThread.java:1843) E/AndroidRuntime( 436): at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 436): at android.os.Looper.loop(Looper.java: 123) E/AndroidRuntime( 436): at android.app.ActivityThread.main (ActivityThread.java:4321) E/AndroidRuntime( 436): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 436): at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 436): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) E/AndroidRuntime( 436): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) E/AndroidRuntime( 436): at dalvik.system.NativeStart.main (Native Method) E/AndroidRuntime( 436): Caused by: java.lang.SecurityException E/AndroidRuntime( 436): at android.os.BinderProxy.transact (Native Method) E/AndroidRuntime( 436): at com.android.development.DevelopmentSettings.updateFlingerOptions (DevelopmentSettings.java:246) E/AndroidRuntime( 436): at com.android.development.DevelopmentSettings.onResume (DevelopmentSettings.java:169) E/AndroidRuntime( 436): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java: 1225) E/AndroidRuntime( 436): at android.app.Activity.performResume (Activity.java:3559) E/AndroidRuntime( 436): at android.app.ActivityThread.performResumeActivity(ActivityThread.java: 2917) E/AndroidRuntime( 436): ... 12 more -- 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 lighting example?
Hi, I'm having problems getting OpenGL lighting to work. Right now I'm playing with a grid of random polygons. I've assigned a material that I think should give a light brown color to everything. But what I'm seeing is everything is either mostly black or mostly white most of the time, and there's a narrow view of angles where I can see shades of my desired color (and I am getting some correct-looking shading, so it looks like the normals are at least partly right). If I had to guess, I'd say that I'm seeing only a specular component, and no diffuse or ambient - even though I am setting material only for diffuse and ambient, and leaving specular at the default. Here's some relevant bits: global_ambient = FloatBuffer.allocate(4); global_ambient.put(0.5f); global_ambient.put(0.5f); global_ambient.put(0.5f); global_ambient.put(1.0f); position = FloatBuffer.allocate(4); position.put(10f); position.put(10f); position.put(10f); position.put(1f); gl.glEnable(GL10.GL_LIGHTING); gl.glEnable(GL10.GL_LIGHT0); gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_AMBIENT_AND_DIFFUSE, global_ambient); gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_POSITION, position); [ ... ] float[] mycolor = { 0.8f, 0.7f, 0.6f, 1.0f }; gl.glMaterialfv(GL10.GL_FRONT, GL10.GL_AMBIENT_AND_DIFFUSE, mycolor, 0); gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); gl.glNormalPointer(GL10.GL_FIXED, 0, mNormalBuffer); gl.glDrawElements(GL10.GL_TRIANGLES, 6*(GRID-1)*(GRID-1), GL10.GL_UNSIGNED_SHORT, mIndexBuffer); Any ideas on what might be wrong? Is there any sample code that covers this territory? Incidentally, I couldn't get the FloatBuffer version of glMaterialfv to work, my code kept crashing. tom -- 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: Layout Highlight For Already Background Set
use StateListDrawable as a layout's background. pskink -- 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