[android-developers] Problem in height of Listview
Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: LG Ally from Verizon 2.1-update1 has broken apps
Hi Pete, I got about 6 reports from LG Ally users having this same issue with my app since the OTA update. Unfortunately, I have not figured out if there's anything I can do from my end to prevent this from happening in the future. Anybody have any info on this? Thanks! -Chad On Sep 26, 10:50 am, pistol lava.d...@gmail.com wrote: I have been told by one of my customers that myapp(and some others) no longer works on his phone since he got an OTA for2.1-update. a bit of a Google about and it sounds like yes - my customer and myappare not alone. Has any-one else encountered this - is it Verizon's fault or has myappgot some obscure bug? thanks, Pete User's quote: The icon has changed from the normal group text icon to a generic android icon, and instead of being called group text, the name that shows up in myapp menu is com.smallbould. When I click on the icon, every time I get an immediate message saying that Andriod Home has to be force closed. I never even make it to the group text main screen... nothing from group text loads, period. I can uninstall theappand then reinstall it from Android market and everything goes back to normal... the icon and theappname go back to normal and theapploads and works without a problem. But as soon as I power down the phone, theappreverts to the generic icon and becomes totally non functional again. For what its worth, Fandango and History Eraser also have this problem after 2.1-update1. All of these apps worked flawlessly before the update. My phone is anLG Allyfrom Verizon. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Implement seek bar for playing videos
Implement OnSeekBarChangeListener for your seekBar and handle onProgressChanged(). On Oct 1, 8:51 am, Ashok Jeevan ashokjee...@gmail.com wrote: Hi, I am using seekBar to show the progress of the video which I implemented using Media Player / Video View. But as the thumb of the seekBar is moved back and forth, the video is not starting correspondingly from the position of the thumb. Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? 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: Issue in importing apk lib file to application
When I created TestApp it automatically added android.library.reference.1=/home/axa/test/project entry to default.properties, and sdk.dir=/home/axa/development/android-sdk- linux_86 entry to local.properties. Its not only about TestLib I am getting errors about sdk too. I am confused seeing these errors. Any thoughts on this? On Sep 30, 10:18 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Sep 30, 2010 at 1:16 PM, Namrata puranik.namr...@gmail.com wrote: I tried setting up 2 test projects as per the instructions given in http://developer.android.com/guide/developing/other-ide.html#libraryP... TestLib (libray project) and TestApp (application). Setup is done successfully. ant compile on TestLib works perfectly. When I tried ant debug/release on TestApp it is giving me following errors. If I had to guess, TestApp does not reference TestLib: http://developer.android.com/guide/developing/other-ide.html#libraryR... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Issue in importing apk lib file to application
When I created TestApp it automatically added android.library.reference.1=/home/axa/test/project entry to default.properties, and sdk.dir=/home/axa/development/android-sdk- linux_86 entry to local.properties. Its not only about TestLib I am getting errors about sdk too. I am confused seeing these errors. Any thoughts on this? On Sep 30, 10:18 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Sep 30, 2010 at 1:16 PM, Namrata puranik.namr...@gmail.com wrote: I tried setting up 2 test projects as per the instructions given in http://developer.android.com/guide/developing/other-ide.html#libraryP... TestLib (libray project) and TestApp (application). Setup is done successfully. ant compile on TestLib works perfectly. When I tried ant debug/release on TestApp it is giving me following errors. If I had to guess, TestApp does not reference TestLib: http://developer.android.com/guide/developing/other-ide.html#libraryR... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Implement seek bar for playing videos
Hi, I want something similar to the Youtube player where the user is able to scroll the thumb of the seek bar, so that the video starts playing from the position of the thumb. Right now, in my app, I am able to move the thumb of the seekbar forward and backward, but the video is not playing accordingly. Has implemented the OnSeekBarChangeListener and handled onProgressChanged() Thanks On Fri, Oct 1, 2010 at 12:00 PM, Nightwolf mikh...@gmail.com wrote: Implement OnSeekBarChangeListener for your seekBar and handle onProgressChanged(). On Oct 1, 8:51 am, Ashok Jeevan ashokjee...@gmail.com wrote: Hi, I am using seekBar to show the progress of the video which I implemented using Media Player / Video View. But as the thumb of the seekBar is moved back and forth, the video is not starting correspondingly from the position of the thumb. Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? 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.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: Problem in height of Listview
Wrap_content is not suitable for listview's height. AFAIK. Either you set the height, or allow it to expand, by setting fill_parent -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:08 am, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in height of Listview
Hi Bibek, if i'm using fill_parent, also it fill entire screen, and my bottom button goes off, (footer button not showing that case) is any dynamic approach, thr that i can set the height according to device, in java file (coding) --RKJ On Fri, Oct 1, 2010 at 12:14 PM, Kumar Bibek coomar@gmail.com wrote: Wrap_content is not suitable for listview's height. AFAIK. Either you set the height, or allow it to expand, by setting fill_parent -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:08 am, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: scaleType=fitXY works scaleType=centerInside doesnt
If you know or can guess please tell me why: In the FrameLayout below, scaleType=fitXY will adjust the image to fit the screen but scaleType=centerInside doesn't. Sorry, it works fine. In the eclipse plugin it does not scale but on the phone it works. Shawn -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] New countries, but not possible to move existing account?
We have registered a company in the UK to be able to sell on the Android Market. Now that the market is opened in our own country (Norway) it would be great to move the applications so that our income would be in the Norwegian account. Or change our exisiting country to Norway. This is not possible right? Found some old posts on the issue and didn't seem promising: http://www.google.com/support/forum/p/checkout-merchants/thread?tid=6efbe25a772dd7a7hl=en -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: New countries !!!!
In the meantime, you can still get your apps published on Slideme (http://slideme.org) or Getjar (http://getjar.com). They are not as big as Google, of course, but they do have the advantage that people already know about them in countries where Google is not established/ present. On Sep 30, 10:14 pm, Kumar Bibek coomar@gmail.com wrote: Pretty disappointed for not having India in the list. But congrats to others. Go make some money. I guess, it will be another year that the next set of countries are announced, and I really hope the see India in that list. On Oct 1, 9:20 am, gjs garyjamessi...@gmail.com wrote: Many many thanks Google This has been a long long time coming, glad the day has finally arrived ( I was thinking Australia was still too small a market would likely miss out again... ) Look forward to you bringing the rest of the world in as well. Regards :-) On Oct 1, 2:00 pm, metal mikey coref...@gmail.com wrote: G'day Google, 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] WebServis authentication problem, Android
Hi, I have an web service on developed .net The Url is : www.yemeksepeti.com/YemeksepetiCatalogWebService/CatalogExportMobile.asmx I want to use the service methods is : Mobile_GetCities SOAP 1.1 The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values. POST /YemeksepetiCatalogWebService/CatalogExportMobile.asmx HTTP/1.1 Host: www.yemeksepeti.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: http://tempuri.org/Mobile_GetCities; ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body Mobile_GetCities xmlns=http://tempuri.org/; / /soap:Body /soap:Envelope HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body Mobile_GetCitiesResponse xmlns=http://tempuri.org/; Mobile_GetCitiesResultxml/Mobile_GetCitiesResult /Mobile_GetCitiesResponse /soap:Body /soap:Envelope Here is the Soap Methods And here is the get and set methods HTTP GET The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values. GET /YemeksepetiCatalogWebService/CatalogExportMobile.asmx/Mobile_GetCities? HTTP/1.1 Host: www.yemeksepeti.com HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length ?xml version=1.0? xml HTTP POST The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST /YemeksepetiCatalogWebService/CatalogExportMobile.asmx/Mobile_GetCities HTTP/1.1 Host: www.yemeksepeti.com Content-Type: application/x-www-form-urlencoded Content-Length: length HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length ?xml version=1.0? xml The web service have an authentication, the username and password must enter in. I try to diffirent ways on connect the webservice and take the xml file result. But I couldnt success. I tried to connect httpClient, ı try to set the authentication password and like Then I tried connect the webservice with ksoap2 methods. Could you show me a way ? Which way I should to go? I read lots of forum thread about, Calling a web service from Android and How to do HTTP authentication in android like that.. Thanks for your heplness -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in using Document Builder parser on Device
Can anyone please reply on this ?? On Sep 30, 8:44 pm, Mrid mrid@gmail.com wrote: Hello All, I am using document builder parser for parsing xml response from the server. It works fine on emulator (SDK 1.6 and 2.2 both) but when I tried to use that on LG Moment (SDK 2.1), it failed. Found out that it is not able to load the xml response as a whole document. Also, XML response is very small, so it cant be a memory problem. Can anyone suggest an approach to solve this?? 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] Mapping 6 faces of cube with 6 different images
Hi all, I am newbie to OpenGL programming. I was going through the code of API demos.I understood how to map a single image resource on to all the 6 faces of the cube,but i want to know how can i map 6 faces of the cube with 6 different images. I searched in the web without any luck.Can any one give me some ideas links , pointers on the same. Any sample application that i can refer to will be much appreciated. Thanks in advance. Regards Girish -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Library Projects support ?
Hi, I have been trying to work with a Library Project, just like it's mentioned in the documentation : http://developer.android.com/guide/developing/eclipse-adt.html I have created my Library Project as a Android 1.6 Project and now I have been trying to reference to it out of my second project (also an Android 1.6 project) and I am getting the following error : Target 'Android 1.6' does not support building project with libraries. The documentation states that supported platfroms are the 1.5 onwards (with exception for the 2.0 2.0.1) and that the second project should have the same platform or higher (in my case the same)... So any idea what's ahppening here ? And most importantly : any idea how to solve this ? Thx in advance ! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: New countries, but not possible to move existing account?
I would also like to know this. But you may actually want to switch to a US account if you can. A few days ago the SwiftKey app switched from UK£0.60 to US$0.99 because like many non-US developers they were getting a lot of payment declined US orders. http://www.swiftkey.net/blog/?p=102 So it is possible. Anyone know what steps to take? (It would of course be better if Google actually addresses the currency issue, especially now there are more countries. It frustrates a lot of US users and that is the biggest market.) On Oct 1, 9:09 am, Chister Nordvik cnord...@gmail.com wrote: We have registered a company in the UK to be able to sell on the Android Market. Now that the market is opened in our own country (Norway) it would be great to move the applications so that our income would be in the Norwegian account. Or change our exisiting country to Norway. This is not possible right? Found some old posts on the issue and didn't seem promising:http://www.google.com/support/forum/p/checkout-merchants/thread?tid=6... -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in height of Listview
Try weight parameter in a LinearLayout. That should solve your problem. -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:56 am, Rocky rkjhaw1...@gmail.com wrote: Hi Bibek, if i'm using fill_parent, also it fill entire screen, and my bottom button goes off, (footer button not showing that case) is any dynamic approach, thr that i can set the height according to device, in java file (coding) --RKJ On Fri, Oct 1, 2010 at 12:14 PM, Kumar Bibek coomar@gmail.com wrote: Wrap_content is not suitable for listview's height. AFAIK. Either you set the height, or allow it to expand, by setting fill_parent -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:08 am, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: New countries !!!!
I'm not an AdSense user, although from what I just read, AdSense support has been brought to Czech Republic few years ago (it even has UI in Czech language). 2010/10/1 Denis Souza denis.so...@gmail.com I just registered here in Brazil. It links to your AdSense account so you can receive the payments. I thought it was a pretty clever way to do it, using the existing AdSense system so they wouldn't have to implement payment systems for every country. Maybe the restrictions to Czech Republic and Poland have something to do with the availability of AdSense in those countries (can anyone from those countries enlighten us?). It's lame, but having 20 additional countries selling apps is a pretty big deal (from the handful that there was before) and I'm sure they'll continue expanding, especially with Android's increased growth in market share. On Sep 30, 8:07 pm, { Devdroid } webnet.andr...@gmail.com wrote: On 1 October 2010 00:55, { Devdroid } webnet.andr...@gmail.com wrote: (namely South Korea and Poland) I meant Czech Republic and Poland of course -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Re: Tablet programming
On 1 October 2010 07:37, pramod.deore deore.pramo...@gmail.com wrote: Thanks Devdroid for your reply, any other suggestions? Not really I am afraid, unless you got particular device in mind, as there might be some device specific bugs in i.e. hardware drivers that may affect your, otherwise clearly written app, or other issues planted by the manufacturer. Just go ahead with your development for now if your app is just planned to work on tablets but you got no particular needs or target -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: New countries !!!!
Great news! But for some reason citizens of couple of countries will have to create Google AdSense account to make payments available. Somebody can explain why? On Fri, Oct 1, 2010 at 10:04 AM, Filip Havlicek havlicek.fi...@gmail.comwrote: I'm not an AdSense user, although from what I just read, AdSense support has been brought to Czech Republic few years ago (it even has UI in Czech language). 2010/10/1 Denis Souza denis.so...@gmail.com I just registered here in Brazil. It links to your AdSense account so you can receive the payments. I thought it was a pretty clever way to do it, using the existing AdSense system so they wouldn't have to implement payment systems for every country. Maybe the restrictions to Czech Republic and Poland have something to do with the availability of AdSense in those countries (can anyone from those countries enlighten us?). It's lame, but having 20 additional countries selling apps is a pretty big deal (from the handful that there was before) and I'm sure they'll continue expanding, especially with Android's increased growth in market share. On Sep 30, 8:07 pm, { Devdroid } webnet.andr...@gmail.com wrote: On 1 October 2010 00:55, { Devdroid } webnet.andr...@gmail.com wrote: (namely South Korea and Poland) I meant Czech Republic and Poland of course -- You received this message because you are subscribed to the Google Groups Android Developers group. 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: VerifyError reloaded
That was fast ! Thank you. Do you know if the fix will be included in the next Android version ? On 30 Sep., 19:29, fadden fad...@android.com wrote: On Sep 29, 11:32 am, Dirk dirkb...@googlemail.com wrote: In order to get around the problem, I tried to replace the whole switch-statement with lots of if-elseif statements. Unfortunately, another problem arose. The Verifyer now says: 09-29 18:02:44.058: WARN/dalvikvm(450): VFY: arbitrarily rejecting large method (regs=127 count=34916) I fixed that one too while I was at it. The limit was intended to prevent the verifier from soaking up huge amounts of memory, but (a) the limit is too low, and (b) there are better mechanisms in the system for doing that. So now it's just a warning that says, hey, this is huge. With both fixes in place, the original code passes. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in height of Listview
hi Bibek, still same problem, ListView android:id=@+id/ListView01 android:layout_height=wrap_content android:layout_weight=1 android:layout_width=fill_parent /ListView or ListView android:id=@+id/ListView01 android:layout_height=fill_parent android:layout_weight=1 android:layout_width=fill_parent /ListView is i'm writing right way of weight. On Fri, Oct 1, 2010 at 1:25 PM, Kumar Bibek coomar@gmail.com wrote: Try weight parameter in a LinearLayout. That should solve your problem. -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:56 am, Rocky rkjhaw1...@gmail.com wrote: Hi Bibek, if i'm using fill_parent, also it fill entire screen, and my bottom button goes off, (footer button not showing that case) is any dynamic approach, thr that i can set the height according to device, in java file (coding) --RKJ On Fri, Oct 1, 2010 at 12:14 PM, Kumar Bibek coomar@gmail.com wrote: Wrap_content is not suitable for listview's height. AFAIK. Either you set the height, or allow it to expand, by setting fill_parent -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:08 am, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Is anyone's active install % dropping like a rock lately?
Something has changed but I think they fixed the reporting without restoring all the lost data. I'm up 5% over the last 7 days but down 16% over the 30 days before that. On Sep 30, 8:56 pm, Greg Donald gdon...@gmail.com wrote: On Thu, Sep 30, 2010 at 2:43 PM, Justin Giles jtgi...@gmail.com wrote: I updated one of my apps on Tuesday. I have noticed that the active install numbers were accumulating at a higher rate than my download numbers. So, I think as people update the app, it is putting the active installs back to normal. So far I've only gone up 1%, but it's nice to see it seemingly go back to normal. Justin Normal? You mean like all the way back to December when it broke? Yeah, that'd be nice. -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LVL licensing and versioning question
Yes I know, but that's not what I'm having problems with. I see in my scenario (see first post) that I get back NOT_MARKET_MANAGED. And that translates in my app to 'not licensed' of course, because that's also returned for an app not in the market. But I expected LICENSED_OLD_KEY back based upon the LVL documentation. Since the scenario doesn't return that, will the scenario return LICENSED_OLD_KEY when the app is published, or will it also in that case return NOT_MARKET_MANAGED and thus all user with an older copy are forced to upgrade? If so, I need to tell my users that an upgrade should fix a 'not licensed' message if they did pay for it before... Totally not user-friendly of course! Hmm, might have found the answer regarding to how the default ServerManagedPolicy has implemented it when LICENSED_OLD_KEY is returned (though that does *not* answer my question yet why I don't get LICENSED_OLD_KEY back in my scenario with an unpublished but saved app): public boolean allowAccess() { long ts = System.currentTimeMillis(); if (mLastResponse == LicenseResponse.LICENSED) { // Check if the LICENSED response occurred within the validity timeout. if (ts = mValidityTimestamp) { // Cached LICENSED response is still valid. return true; } } else if (mLastResponse == LicenseResponse.RETRY ts mLastResponseTime + MILLIS_PER_MINUTE) { // Only allow access if we are within the retry period or we haven't used up our // max retries. return (ts = mRetryUntil || mRetryCount = mMaxRetries); } return false; } Suprised it isn't handling LICENSED_OLD_KEY separately... since it says here http://developer.android.com/guide/publishing/licensing.html#server-response-codes By default, the LicenseValidator class in the LVL provides all of the necessary handling of these response codes for you. But that should say I think: ... the LicenseValidator only allows access if the result is LICENSED or within the retry period. In the table below that text it it says kindof that the default LicenseValidator is not allowing access (notice the word Optionally): Optionally allow access according to Policy constraints. Can indicate that the key pair used by the installed application version is invalid or compromised. The application can allow access if needed or inform the user that an upgrade is available and limit further use until upgrade. But that's getting nasty code-wise: in LicenseCheckerCallback I only have allow, dontAllow and errorCode. I don't have access to the detailed response there, right? So how to make distinction there, that is, check that LICENSED_OLD_KEY is returned? Might have to extend LicenseCheckerCallback with an oldKey() method or similar... On 28 sep, 22:47, Bret Foreman bret.fore...@gmail.com wrote: My understanding is that you test for a valid server response in your code. So if you're not testing in the old code, it will run fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] WebView - Unable to call a dynamically added Javascript (part of a HTML) inside a DIV using innerHTML
Hi Android experts, I have a weird code situation where I need to have a DIV to hold dynamic HTML generated. Here I am populating the DIV using its innerHTML attribute and it works fine and dynamically adds any HTML elements that are there in the dynamic HTML. The problem I am facing now is if the dynamic (generated else where) HTML contains a list of Javascript methods, these methods aren't accessible to be callable from the buttons inside the div or outside the div ( I was able to get the requirement working in Desktop Internet Explorer 7+. This however doesn't work on Firefox too . I understand this isn't the best way, but to use addChild etc is, but then I would have to manually parse my HTML myself and construct all the child elements i.e do all that the innerHTML will do eventually (logically, i mean). Code also uploaded to http://pastebin.com/Q6w5hRPG Code works on Internet Explorer 7+// html head script /* the input type = hidden is necessary or the JS won't be accessible */ /* script defer tag is also necessary */ function insertHTMLOnButtonPress() { var s = htmlinput type='hidden' id='dummyHidden'/ headscript defer='defer'function dynamicallyInsertedFunction() { alert('Successfully called - dynamicallyInsertedFunction'); } /sc + ript/headbodyinput type='text' value='Hello World'/input type='button' onClick='dynamicallyInsertedFunction();' value='Call Dynamically Inserted Method'//body/html; /* Clearing out innerHTML is also required to flush the innerHTML so that repeated attempts - i.e new HTML/JS should work */ document.getElementById('tempBody').innerHTML = ''; document.getElementById('tempBody').innerHTML = s; } /script /head body **br/ !-- Don't close the div inline, causes some problem and replaces the buttons too -- div id=tempBody/div **br/ input type=button onClick=insertHTMLOnButtonPress(); value=Insert some dynamic html/ input type=button onClick=dynamicallyInsertedFunction(); value=Call Dynamically Inserted Method/ /body /html /// Also posted on WebDeveloper.com - http://www.webdeveloper.com/forum/showpost.php?p=1116504 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in height of Listview
The parent of the ListView should be Linear Layout, just ensure that, and it should work. But I suspect that what you want is really not what this will give you. If you can be more specific, that would help. -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 1:48 pm, Rocky rkjhaw1...@gmail.com wrote: hi Bibek, still same problem, ListView android:id=@+id/ListView01 android:layout_height=wrap_content android:layout_weight=1 android:layout_width=fill_parent /ListView or ListView android:id=@+id/ListView01 android:layout_height=fill_parent android:layout_weight=1 android:layout_width=fill_parent /ListView is i'm writing right way of weight. On Fri, Oct 1, 2010 at 1:25 PM, Kumar Bibek coomar@gmail.com wrote: Try weight parameter in a LinearLayout. That should solve your problem. -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:56 am, Rocky rkjhaw1...@gmail.com wrote: Hi Bibek, if i'm using fill_parent, also it fill entire screen, and my bottom button goes off, (footer button not showing that case) is any dynamic approach, thr that i can set the height according to device, in java file (coding) --RKJ On Fri, Oct 1, 2010 at 12:14 PM, Kumar Bibek coomar@gmail.com wrote: Wrap_content is not suitable for listview's height. AFAIK. Either you set the height, or allow it to expand, by setting fill_parent -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:08 am, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in using Document Builder parser on Device
What does your logcat say? -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 12:26 pm, Mrid mrid@gmail.com wrote: Can anyone please reply on this ?? On Sep 30, 8:44 pm, Mrid mrid@gmail.com wrote: Hello All, I am using document builder parser for parsing xml response from the server. It works fine on emulator (SDK 1.6 and 2.2 both) but when I tried to use that on LG Moment (SDK 2.1), it failed. Found out that it is not able to load the xml response as a whole document. Also, XML response is very small, so it cant be a memory problem. Can anyone suggest an approach to solve this?? 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] Re: LVL licensing and versioning question
My bad, LICENSED_OLD_KEY *will* pass as long as you don't have any device restrictions setup, see this code (and I just tested it): case LICENSED: case LICENSED_OLD_KEY: LicenseResponse limiterResponse = mDeviceLimiter.isDeviceAllowed(userId); handleResponse(limiterResponse, data); break; isDeviceAllowed for the default NullDeviceLimiter returns Policy.LicenseResponse.LICENSED. On 1 okt, 11:13, MarcoAndroid marco...@gmail.com wrote: Yes I know, but that's not what I'm having problems with. I see in my scenario (see first post) that I get back NOT_MARKET_MANAGED. And that translates in my app to 'not licensed' of course, because that's also returned for an app not in the market. But I expected LICENSED_OLD_KEY back based upon the LVL documentation. Since the scenario doesn't return that, will the scenario return LICENSED_OLD_KEY when the app is published, or will it also in that case return NOT_MARKET_MANAGED and thus all user with an older copy are forced to upgrade? If so, I need to tell my users that an upgrade should fix a 'not licensed' message if they did pay for it before... Totally not user-friendly of course! Hmm, might have found the answer regarding to how the default ServerManagedPolicy has implemented it when LICENSED_OLD_KEY is returned (though that does *not* answer my question yet why I don't get LICENSED_OLD_KEY back in my scenario with an unpublished but saved app): public boolean allowAccess() { long ts = System.currentTimeMillis(); if (mLastResponse == LicenseResponse.LICENSED) { // Check if the LICENSED response occurred within the validity timeout. if (ts = mValidityTimestamp) { // Cached LICENSED response is still valid. return true; } } else if (mLastResponse == LicenseResponse.RETRY ts mLastResponseTime + MILLIS_PER_MINUTE) { // Only allow access if we are within the retry period or we haven't used up our // max retries. return (ts = mRetryUntil || mRetryCount = mMaxRetries); } return false; } Suprised it isn't handling LICENSED_OLD_KEY separately... since it says herehttp://developer.android.com/guide/publishing/licensing.html#server-r... By default, the LicenseValidator class in the LVL provides all of the necessary handling of these response codes for you. But that should say I think: ... the LicenseValidator only allows access if the result is LICENSED or within the retry period. In the table below that text it it says kindof that the default LicenseValidator is not allowing access (notice the word Optionally): Optionally allow access according to Policy constraints. Can indicate that the key pair used by the installed application version is invalid or compromised. The application can allow access if needed or inform the user that an upgrade is available and limit further use until upgrade. But that's getting nasty code-wise: in LicenseCheckerCallback I only have allow, dontAllow and errorCode. I don't have access to the detailed response there, right? So how to make distinction there, that is, check that LICENSED_OLD_KEY is returned? Might have to extend LicenseCheckerCallback with an oldKey() method or similar... On 28 sep, 22:47, Bret Foreman bret.fore...@gmail.com wrote: My understanding is that you test for a valid server response in your code. So if you're not testing in the old code, it will run fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Implement seek bar for playing videos
On Sep 30, 9:51 pm, Ashok Jeevan ashokjee...@gmail.com wrote: Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? Doesn't SeekBar expose a callback listener to determine when its position has been changed? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Debugging system_process
Hello, I am using eclipse for android development on a Non mobile target device. I would like to debug the system_process from DMMS perspective in Eclipse. What project do I need to open in the Eclipse IDE so that I will be able to start debugging this process from DDMS perspective? regards -Nitin -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Implement seek bar for playing videos
Hi Doug, Thanks for the info. Let me check whether there is any call back listener associated with seekBar. If I do face any issues, I will surely post again. Thanks On Fri, Oct 1, 2010 at 3:03 PM, Doug beafd...@gmail.com wrote: On Sep 30, 9:51 pm, Ashok Jeevan ashokjee...@gmail.com wrote: Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? Doesn't SeekBar expose a callback listener to determine when its position has been changed? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Re: Problem in height of Listview
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent include layout=@layout/tabbar android:layout_height=fill_parent / LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_weight=1 android:layout_width=fill_parent /ListView /LinearLayout include layout=@layout/inbox_page_edit_mode_footer_button android:layout_height=wrap_content / /LinearLayout while i'm showing the list item I've footer header, if i'm using either of fill_parent or wrap_content, my footer part is not showing, if i fixed the height=330, then footer part is showing. that the problem, I wountn't like to fix the height. On Fri, Oct 1, 2010 at 2:46 PM, Kumar Bibek coomar@gmail.com wrote: The parent of the ListView should be Linear Layout, just ensure that, and it should work. But I suspect that what you want is really not what this will give you. If you can be more specific, that would help. -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 1:48 pm, Rocky rkjhaw1...@gmail.com wrote: hi Bibek, still same problem, ListView android:id=@+id/ListView01 android:layout_height=wrap_content android:layout_weight=1 android:layout_width=fill_parent /ListView or ListView android:id=@+id/ListView01 android:layout_height=fill_parent android:layout_weight=1 android:layout_width=fill_parent /ListView is i'm writing right way of weight. On Fri, Oct 1, 2010 at 1:25 PM, Kumar Bibek coomar@gmail.com wrote: Try weight parameter in a LinearLayout. That should solve your problem. -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:56 am, Rocky rkjhaw1...@gmail.com wrote: Hi Bibek, if i'm using fill_parent, also it fill entire screen, and my bottom button goes off, (footer button not showing that case) is any dynamic approach, thr that i can set the height according to device, in java file (coding) --RKJ On Fri, Oct 1, 2010 at 12:14 PM, Kumar Bibek coomar@gmail.com wrote: Wrap_content is not suitable for listview's height. AFAIK. Either you set the height, or allow it to expand, by setting fill_parent -Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:08 am, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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
Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?
Maybe they are counting updates as new installs for a limited time, just like they were counting them as uninstalls before? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 01.10.2010 13:01 пользователь Peter Sinnott psinn...@gmail.com написал: Something has changed but I think they fixed the reporting without restoring all the lost data. I'm up 5% over the last 7 days but down 16% over the 30 days before that. On Sep 30, 8:56 pm, Greg Donald gdon...@gmail.com wrote: On Thu, Sep 30, 2010 at 2:43 PM, Justin Giles jtgi...@gmail.com wrote: I updated one of my a... -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in height of Listview
Use a relative layout. Set layout_alignParentBottom for the footer view, and use fill_parent for height of the list view. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 01.10.2010 13:46 пользователь Rocky rkjhaw1...@gmail.com написал: LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent include layout=@layout/tabbar android:layout_height=fill_parent / LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_weight=1 android:layout_width=fill_parent /L... /LinearLayout include layout=@layout/inbox_page_edit_mode_footer_button android:layout_height=wrap_content / /LinearLayout while i'm showing the list item I've footer header, if i'm using either of fill_parent or wrap_content, my footer part is not showing, if i fixed the height=330, then footer part is showing. that the problem, I wountn't like to fix the height. On Fri, Oct 1, 2010 at 2:46 PM, Kumar Bibek coomar@gmail.com wrote: The parent of the Li... -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalo... -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 Create ListView within ListView
Same as your List bith its not clickable...? i need detailed explaination about ur Expandable List... -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: WebView - Unable to call a dynamically added Javascript (part of a HTML) inside a DIV using innerHTML
Just wanted to add that I experimented out a little with using an iFrame (it finds the Javascript, but there's a huge problem with the scope). I want any JS functions between Outer document and inner container (dynamically added) to be flexible to call each other (like how its behaving on a DIV). I am back to square one - Need something approach like the DIV container where the JS would be accessible (like how its working on the IE). Uploaded the modified version on http://pastebin.com/MhTkdhFQ / html head script /* the input type = hidden is necessary or the JS won't be accessible */ /* script defer tag is also necessary */ function insertHTMLOnButtonPress() { try { var s = htmlinput type='hidden' id='dummyHidden'/ headscript defer='defer'function dynamicallyInsertedFunction() { alert('Successfully called - dynamicallyInsertedFunction'); } /sc + ript/headbodyinput type='text' value='Hello World'/input type='button' onClick='dynamicallyInsertedFunction();' value='Call Dynamically Inserted Method'//body/html; var x = document.getElementById('test'); var y=(x.contentWindow || x.contentDocument); if (y.document)y=y.document; y.write(s); } catch(ex) { alert(ex.name); } } /script /head body **br/ !-- Don't close the div inline, causes some problem and replaces the buttons too -- iframe id=test name=testhello world/iframe **br/ input type=button onClick=insertHTMLOnButtonPress(); value=Insert some dynamic html/ input type=button onClick=dynamicallyInsertedFunction(); value=Call Dynamically Inserted Method/ /body /html / On Oct 1, 2:14 pm, Swaroop gnanaswar...@gmail.com wrote: Hi Android experts, I have a weird code situation where I need to have a DIV to hold dynamic HTML generated. Here I am populating the DIV using its innerHTML attribute and it works fine and dynamically adds any HTML elements that are there in the dynamic HTML. The problem I am facing now is if the dynamic (generated else where) HTML contains a list of Javascript methods, these methods aren't accessible to be callable from the buttons inside the div or outside the div ( I was able to get the requirement working in Desktop Internet Explorer 7+. This however doesn't work on Firefox too . I understand this isn't the best way, but to use addChild etc is, but then I would have to manually parse my HTML myself and construct all the child elements i.e do all that the innerHTML will do eventually (logically, i mean). Code also uploaded tohttp://pastebin.com/Q6w5hRPG Code works on Internet Explorer 7+// html head script /* the input type = hidden is necessary or the JS won't be accessible */ /* script defer tag is also necessary */ function insertHTMLOnButtonPress() { var s = htmlinput type='hidden' id='dummyHidden'/headscript defer='defer'function dynamicallyInsertedFunction() { alert('Successfully called - dynamicallyInsertedFunction'); } /sc + ript/headbodyinput type='text' value='Hello World'/input type='button' onClick='dynamicallyInsertedFunction();' value='Call Dynamically Inserted Method'//body/html; /* Clearing out innerHTML is also required to flush the innerHTML so that repeated attempts - i.e new HTML/JS should work */ document.getElementById('tempBody').innerHTML = ''; document.getElementById('tempBody').innerHTML = s; } /script /head body **br/ !-- Don't close the div inline, causes some problem and replaces the buttons too -- div id=tempBody/div **br/ input type=button onClick=insertHTMLOnButtonPress(); value=Insert some dynamic html/ input type=button
Re: [android-developers] Re: Setting/Passing values
On Fri, Oct 1, 2010 at 12:34 AM, rb rbs...@gmail.com wrote: Thanks for the link to your book. I have tried your examples from it and now I get the app forcing to close. Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your force close. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in height of Listview
RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content ListView android:id=@+id/ListView01 android:layout_height=fill_parent android:layout_weight=1 android:layout_width=fill_parent /ListView /RelativeLayout I make it RelativeLayout, and set the android:layout_alignParentBottom =true for the inbox_page_edit_mode_footer_button.xml file as LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=horizontal android:background=#808080 android:layout_alignParentBottom=true android:layout_width=fill_parent android:layout_height=wrap_content Button android:id=@+id/mark_unread_button style=@style/TextAppearance_ok_button android:text=Mark unread/ Button android:id=@+id/add_star_button style=@style/TextAppearance_ok_button android:text=Add star/ Button android:id=@+id/delete_button style=@style/TextAppearance_ok_button android:text=Delete/ /LinearLayout ---but still i'm facing the same issue:( 2010/10/1 Kostya Vasilyev kmans...@gmail.com Use a relative layout. Set layout_alignParentBottom for the footer view, and use fill_parent for height of the list view. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 01.10.2010 13:46 пользователь Rocky rkjhaw1...@gmail.com написал: LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent include layout=@layout/tabbar android:layout_height=fill_parent / LinearLayout xmlns:android= http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_weight=1 android:layout_width=fill_parent /L... /LinearLayout include layout=@layout/inbox_page_edit_mode_footer_button android:layout_height=wrap_content / /LinearLayout while i'm showing the list item I've footer header, if i'm using either of fill_parent or wrap_content, my footer part is not showing, if i fixed the height=330, then footer part is showing. that the problem, I wountn't like to fix the height. On Fri, Oct 1, 2010 at 2:46 PM, Kumar Bibek coomar@gmail.com wrote: The parent of the Li... -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalo... -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Mount sdcard USB Storage through adb.
Your subject is strange .. as the sdcard has nothing to do with the sdcard. I assume you would like to know how to mount the sdcard via a command from a adb prompt . You can do this via a system call command. I haven't the details by hand, but it is one of the system services which allow you to do this. You need to look into the aidl interface for them and then you can call them via system call .. As a joke try out : service call phone 2 s16 a phone number of a friend Good luck ! Frank On 30 Sep., 20:28, Nathan critter...@crittermap.com wrote: I can't seem to find a command that will allow me to mount/unmount the sdcard from the adb prompt. From the documentation, it appears that this can't be done in an emulator, so I am trying with a Nexus One. I would like to simulate the card being mounted or unmounted while my Activity is active. I can't do this on the Nexus One through the notification menu, because this will pause and then resume and activity, during which time storage card broadcast notifications are not sent. I know other devices can and do mount the storage without leaving an Activity, in particular because they will automount the storage whenever the USB is plugged in (according to users, even if you tell it not to). For that reason, this is a case I want to test. Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Mount sdcard USB Storage through adb.
You can try: 1. Enable USB MASS STORAGE mode (UMS) adb shell /system/bin/sdutil ums enable 2. Mount it into a folder sudo mount /dev/sdb ~/SDCARD 3. Disable USB MASS STORAGE adb shell /system/bin/sdutil ums disable BR, Nam On Fri, 2010-10-01 at 04:14 -0700, FrankG wrote: Your subject is strange .. as the sdcard has nothing to do with the sdcard. I assume you would like to know how to mount the sdcard via a command from a adb prompt . You can do this via a system call command. I haven't the details by hand, but it is one of the system services which allow you to do this. You need to look into the aidl interface for them and then you can call them via system call .. As a joke try out : service call phone 2 s16 a phone number of a friend Good luck ! Frank On 30 Sep., 20:28, Nathan critter...@crittermap.com wrote: I can't seem to find a command that will allow me to mount/unmount the sdcard from the adb prompt. From the documentation, it appears that this can't be done in an emulator, so I am trying with a Nexus One. I would like to simulate the card being mounted or unmounted while my Activity is active. I can't do this on the Nexus One through the notification menu, because this will pause and then resume and activity, during which time storage card broadcast notifications are not sent. I know other devices can and do mount the storage without leaving an Activity, in particular because they will automount the storage whenever the USB is plugged in (according to users, even if you tell it not to). For that reason, this is a case I want to test. Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] RTSP streaming - how to do redirects
Hi, Android developers! I've recently tried to make some kind of load balancer for RTSP streaming. It worked with Quicktime player, however didn't work with android (2.2). My load balancer is quite simple - when it receives something like this: OPTIONS rtsp://ip.ip.ip.ip/vod/path/file.mp4 RTSP/1.0 CSeq: 0 User-Agent: PVPlayer CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 2.2) ClientChallenge: 9e26d33f2984236010ef6253fb1887f7 PlayerStarttime: [28/03/2003:22:50:23 00:00] CompanyID: KnKV4M4I/B2FjJ1TToLycw== GUID: ---- DESCRIBE rtsp://ip.ip.ip.ip/vod/path/file.mp4 RTSP/1.0 CSeq: 1 User-Agent: PVPlayer CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 2.2) Accept: application/sdp Accept-Encoding: And my program responds: RTSP/1.0 302 Found Server: QTSS/5.5.5 (Build/489.16; Platform/MacOSX; Release/Darwin; state/beta; ) Cseq: 1 Connection: Close Location: rtsp://ip2.ip2.ip2.ip2:1915/vod/path/file2.mp4 However, that works with Quicktime and does not work with Android. Can you suggest me the right way to do redirects? 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] widget with custom bitmaps
I am writing a clock widget that uses customised bitmaps (so the widget loads the bitmap from the sdcard) Just have a couple of questions regarding how updates work: 1. if i want to display seconds on the clock widget will the widget load the bitmaps off the disk every second or can they be cached somehow so it doesn't reload off the disk each time. or If it does reload a bitmap each second, would this use a lot of power? 2. If i load the customised number bitmaps into a static array and then pass them as bitmaps to the widget would this use less power than just loading off the SD card? best regards, rob -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] widget with custom bitmaps
The issue here is marshalling bitmap data from your widget process into the launcher process. If you load the bitmap in your process, and specify as a drawable in RemoteViews, then its actual bytes will need to be marshalled into the launcher process. This is not efficient. It's better to specify your drawables as a resource id. Updating every second is kind of questionable, it will eat through the battery pretty fast. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 01.10.2010 16:21 пользователь siliconeagle rrmu...@gmail.com написал: I am writing a clock widget that uses customised bitmaps (so the widget loads the bitmap from the sdcard) Just have a couple of questions regarding how updates work: 1. if i want to display seconds on the clock widget will the widget load the bitmaps off the disk every second or can they be cached somehow so it doesn't reload off the disk each time. or If it does reload a bitmap each second, would this use a lot of power? 2. If i load the customised number bitmaps into a static array and then pass them as bitmaps to the widget would this use less power than just loading off the SD card? best regards, rob -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Auth Token Usage
Dear All, I am working an email client for android which send email throug the Auth token of the registered user. i.e authTokenBundle.get(AccountManager.KEY_AUTHTOKEN).toString(); Can anyone know that how to send the email using this token or encrypted password. I also want to send a email through code not from the default android email client. Please send me a short code snippet. I'll be thankful to all of your struggle for me. Your's Ali -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Is anyone's active install % dropping like a rock lately?
Hi all, Sorry but I see you giving percentage and all about your date, just so I know, do you guys actually go everyday on the developper console and record in some kind of excel sheet the numbers you find there ? Or do you have some automatic tools to do that or something I never saw in my console ? Seems like a daunting task ... Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Issue in importing apk lib file to application
Please help me on this..This is very important thing for me. On Oct 1, 11:34 am, Namrata puranik.namr...@gmail.com wrote: When I created TestApp it automatically added android.library.reference.1=/home/axa/test/project entry to default.properties, and sdk.dir=/home/axa/development/android-sdk- linux_86 entry to local.properties. Its not only about TestLib I am getting errors about sdk too. I am confused seeing these errors. Any thoughts on this? On Sep 30, 10:18 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Sep 30, 2010 at 1:16 PM, Namrata puranik.namr...@gmail.com wrote: I tried setting up 2 test projects as per the instructions given in http://developer.android.com/guide/developing/other-ide.html#libraryP... TestLib (libray project) and TestApp (application). Setup is done successfully. ant compile on TestLib works perfectly. When I tried ant debug/release on TestApp it is giving me following errors. If I had to guess, TestApp does not reference TestLib: http://developer.android.com/guide/developing/other-ide.html#libraryR... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] webpage zooming on android using the keys
Hi All we are running android on a non touch device, So i need to zoom the web-pages of the android browser using the Keys. Is there any way can i use the existing webkit built-in zoom features of the android browser to zoom the webpage using the any keys rather than touch based. Regards Kiran -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: scaleType=fitXY works scaleType=centerInside doesnt
The Eclipse plugin sucks if you do a bit more than just simple layouts or drawables. The only way to check if it all works fine, is to check it during runtime (either on the emulator or, better, a real device). On Oct 1, 3:08 am, Shawn Brown big.coffee.lo...@gmail.com wrote: If you know or can guess please tell me why: In the FrameLayout below, scaleType=fitXY will adjust the image to fit the screen but scaleType=centerInside doesn't. Sorry, it works fine. In the eclipse plugin it does not scale but on the phone it works. Shawn -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Is anyone's active install % dropping like a rock lately?
On 1 October 2010 15:43, Yahel kaye...@gmail.com wrote: Hi all, Sorry but I see you giving percentage and all about your date, just so I know, do you guys actually go everyday on the developper console and record in some kind of excel sheet the numbers you find there ? Or do you have some automatic tools to do that or something I never saw in my console ? Seems like a daunting task ... http://code.google.com/p/android-market-api/ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Is anyone's active install % dropping like a rock lately?
Also, when a developer has a slight case of OCD when it comes to how well his/her app is doing, hundreds of visits to the dashboard a day to see stat updates, new comments, new sales is not out of the question. Over time, current and past percentages get ingrained in your head! :) Justin On Fri, Oct 1, 2010 at 9:00 AM, { Devdroid } webnet.andr...@gmail.comwrote: On 1 October 2010 15:43, Yahel kaye...@gmail.com wrote: Hi all, Sorry but I see you giving percentage and all about your date, just so I know, do you guys actually go everyday on the developper console and record in some kind of excel sheet the numbers you find there ? Or do you have some automatic tools to do that or something I never saw in my console ? Seems like a daunting task ... http://code.google.com/p/android-market-api/ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] java.net.socketException The Operation timed out
Hi All, Im trying to send the data from my HTC Desire to a tomcat server which is installed in my PC through Wi-Fi from my android application.. I can able to send the data from the Emulator. but i can't able to send the data from the Mobile. Im getting an exception when i sent data from the mobile..The exception is java.net.SocketTimeoutException: The operation timed out.. I have included all the permissions in the android manifest file like INTERNET, ACCESS_WIFI.. I saw some of the blogs related to this Exception.. I've tried all the ways that they have suggested.. But no use... Is it related to any firewall protection?? Thanks in advance Uday Kiran Pichika -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem in height of Listview
Hi Techie 1- Get the height useing this function Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); int width = display.getWidth(); 2- Set the height at run time using the Layoutparams. -AnasSamara On Oct 1, 8:08 am, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Hi Techie, I'm facing a problem in height of ListView (in my list i'v some time 1 item or some times 20-30 items) ListView android:id=@+id/ListView01 android:layout_height=330px android:layout_width=fill_parent /ListView Here I want android:layout_height = wrap_content or android:layout_height = fill_parent but in both the case lower part of button is not showing, if i fix height=330px, den its comming appropriately in my emumlator, i want height should be dynamic, wrap_content so please help me, how to fix the height of list view according to devices, so that it will fit in any devices, thaanks __RKJ -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 Create ListView within ListView
Use ExpandableListView instead -AnasSamara On Sep 30, 10:37 am, Ganapathy.C cganapa...@gmail.com wrote: Sorry I Want Clickable MultiHeading List,, If u know any thing about it means tell me. Thank you... On Sep 28, 9:50 pm, Kumar Bibek coomar@gmail.com wrote: Try the Expandable List View. I am not sure if that will help you. http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html -Kumar Bibekhttp://techdroid.kbeanie.com On Sep 28, 9:28 pm, Ganapathy.C cganapa...@gmail.com wrote: Thank U i got it... Now i want to Seperate my list into five part with Heading for each part.. On Sep 9, 9:36 pm, Mark Murphy mmur...@commonsware.com wrote: AFAIK, you cannot have a ListView inside of a ListView. On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C cganapa...@gmail.com wrote: In my project i m parsing xml and i want to put it in xml list with in list each list must have different data -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training in London:http://skillsmatter.com/go/os-mobile-server -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] GalleryView Bug???
Hi all, I have implemented a GalleryView using a custom BaseAdapter. The issue is that when the gallery reaches either end, the getView() calls the last/first item and right after calls the prev/next one, therefore it shows the wrong data. I understand why it needs to call its neighbour items but is it not supposed to call the position where you actually stopped as last? Thanks, Alberto -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Gallery view
Hello all I have multi-listeners on gallery view, first listener is on the image located in the gallery, the second listener is longpress of gallery item, and the third is ontouch event. I use the otouch event in order to drag the image to down, the problem is when I scroll the gallery the horizontally the ontouch is invoked and with scrolling the view is dragged. Can I now that the gallery is now scrolling so I deactivate the dragging, or any solution. any help is appreciated. thanks -Anas Samara -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] GalleryView Bug???
Hi all, I have implemented a GalleryView using a custom BaseAdapter. The issue is that when the gallery reaches either end, the getView() calls the last/first item and right after calls the prev/next one, therefore it shows the wrong data. I understand why it needs to call its neighbour items but is it not supposed to call the position where you actually stopped as last? Thanks, Alberto -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: New countries !!!!
On Fri, Oct 1, 2010 at 3:10 AM, Evgeny V evgen...@gmail.com wrote: But for some reason citizens of couple of countries will have to create Google AdSense account to make payments available. Somebody can explain why? AFAIK, since Google Checkout is not available in those countries, they needed another Google-approved, hacky method of distributing payments, which AdSense provides. Can't wait to see how well that works out ... - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: GalleryView Bug???
Follow the tutorial you will get every thing working correctly http://developer.android.com/resources/tutorials/views/hello-gallery.html thanks -AnasSamara On Oct 1, 4:35 pm, Albert albert8...@googlemail.com wrote: Hi all, I have implemented a GalleryView using a custom BaseAdapter. The issue is that when the gallery reaches either end, the getView() calls the last/first item and right after calls the prev/next one, therefore it shows the wrong data. I understand why it needs to call its neighbour items but is it not supposed to call the position where you actually stopped as last? Thanks, Alberto -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] USB driver issues on Vista + Droid
the driver works - but after a few sessions it's in la la land. for example i can't download apps via eclipse and also cannot mount - if mounted cannot access drive. reboot and works for a few sessions - and same again. i've got rev3. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: New countries !!!!
Here is a list of the countries that use AdSense: https://checkout.google.com/support/sell/bin/answer.py?hl=enanswer=150324ctx=share The ones with a * against their names. On Oct 1, 9:53 am, TreKing treking...@gmail.com wrote: On Fri, Oct 1, 2010 at 3:10 AM, Evgeny V evgen...@gmail.com wrote: But for some reason citizens of couple of countries will have to create Google AdSense account to make payments available. Somebody can explain why? AFAIK, since Google Checkout is not available in those countries, they needed another Google-approved, hacky method of distributing payments, which AdSense provides. Can't wait to see how well that works out ... --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem in using Document Builder parser on Device
Sure, use a SAX parser instead of Document Builder. There are very few cases where you need to load the entire XML file into memory in order to parse 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] Re: GalleryView Bug???
I have actually followed that tutorial. Look at this log: : getView 6 : getView 5 : getView 7 : getView 6 the gallery has stopped at the last item (7) but the getView bounces back to 6, so the data displayed is for item 6 instead of 7... Thanks, Alberto On Oct 1, 4:04 pm, AnasSamara anas86sam...@gmail.com wrote: Follow the tutorial you will get every thing working correctlyhttp://developer.android.com/resources/tutorials/views/hello-gallery thanks -AnasSamara On Oct 1, 4:35 pm, Albert albert8...@googlemail.com wrote: Hi all, I have implemented a GalleryView using a custom BaseAdapter. The issue is that when the gallery reaches either end, the getView() calls the last/first item and right after calls the prev/next one, therefore it shows the wrong data. I understand why it needs to call its neighbour items but is it not supposed to call the position where you actually stopped as last? Thanks, Alberto -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Hide Partition From My Computer
http://softsami.blogspot.com/2010/09/hide-partitions-from-my-computer.htm -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: widget with custom bitmaps
is it possible to create resource ids programatically? On Oct 1, 2:27 pm, Kostya Vasilyev kmans...@gmail.com wrote: The issue here is marshalling bitmap data from your widget process into the launcher process. If you load the bitmap in your process, and specify as a drawable in RemoteViews, then its actual bytes will need to be marshalled into the launcher process. This is not efficient. It's better to specify your drawables as a resource id. Updating every second is kind of questionable, it will eat through the battery pretty fast. -- Kostya Vasilyev --http://kmansoft.wordpress.com 01.10.2010 16:21 пользователь siliconeagle rrmu...@gmail.com написал: I am writing a clock widget that uses customised bitmaps (so the widget loads the bitmap from the sdcard) Just have a couple of questions regarding how updates work: 1. if i want to display seconds on the clock widget will the widget load the bitmaps off the disk every second or can they be cached somehow so it doesn't reload off the disk each time. or If it does reload a bitmap each second, would this use a lot of power? 2. If i load the customised number bitmaps into a static array and then pass them as bitmaps to the widget would this use less power than just loading off the SD card? best regards, rob -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 athttp://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: How to Create ListView within ListView
It's not clear from the OP how many levels of data he has but XML files are often more than two levels. From the ExpandableListView docs: ExpandableListActivity hosts a ExpandableListView object that can be bound to different data sources that provide a two-levels of data -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: USB driver issues on Vista + Droid
I've got rev 3 on Vista, but using a Google phone. Have not had any of these problems that I've noticed. On Oct 1, 10:23 am, dashman erjdri...@gmail.com wrote: the driver works - but after a few sessions it's in la la land. for example i can't download apps via eclipse and also cannot mount - if mounted cannot access drive. reboot and works for a few sessions - and same again. i've got rev3. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: GalleryView Bug???
Problem solved by implementing OnItemSelectedListener and avoiding getView() to update my views Thanks! Alberto On Oct 1, 4:30 pm, Albert albert8...@googlemail.com wrote: I have actually followed that tutorial. Look at this log: : getView 6 : getView 5 : getView 7 : getView 6 the gallery has stopped at the last item (7) but the getView bounces back to 6, so the data displayed is for item 6 instead of 7... Thanks, Alberto On Oct 1, 4:04 pm, AnasSamara anas86sam...@gmail.com wrote: Follow the tutorial you will get every thing working correctlyhttp://developer.android.com/resources/tutorials/views/hello-gallery thanks -AnasSamara On Oct 1, 4:35 pm, Albert albert8...@googlemail.com wrote: Hi all, I have implemented a GalleryView using a custom BaseAdapter. The issue is that when the gallery reaches either end, the getView() calls the last/first item and right after calls the prev/next one, therefore it shows the wrong data. I understand why it needs to call its neighbour items but is it not supposed to call the position where you actually stopped as last? Thanks, Alberto -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 Create ListView within ListView
ok thank you...I will try this again.. On Oct 1, 9:06 pm, Bret Foreman bret.fore...@gmail.com wrote: It's not clear from the OP how many levels of data he has but XML files are often more than two levels. From the ExpandableListView docs: ExpandableListActivity hosts a ExpandableListView object that can be bound to different data sources that provide a two-levels of data -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 transfer application ownership from one Developer account to another?
Hello fellow developers, My company is a Hong Kong based company and my app has been hosted by my good friend in America under his Android Market account. Now that Google announced support of selling app in my region, I want to move the app back so to avoid more hassle to him for tax reporting etc. Do you know a formal way either: - Check the existing Google Checkout account from one country to another, or - To move the app ownership from one Android Developer account to another. Is this possible? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] TextView:autoLink=all + textAppearance bug?
Hi, I have a TextView. I am setting its textAppearance attribute, as well as autoLink=all: TextView android:layout_width=wrap_content android:layout_height=wrap_content android:autoLink=all android:textAppearance=@style/myStyle / With this configuration, items do get linkified, but the text for them is invisible. For example, the input: Hello, welcome to http://www.google.com!; will linkify the url correctly, but it will be invisible, so it will look like this when running: Hello, welcome to ! the link is still clickable and focusable though. If I remove the android:textAppearance line from my TextView declaration, then the link displays as usual. My style is simply: style name=myStyle item name=android:textSize16dip/item /style Any idea if this is a known bug, or if I'm doing something wrong here? If I just directly specify the textSize attribute on the TextView itself, it works fine, so maybe there is a bug with the linkify stuff when textAppearance is supplied. 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] Running multiple activities in for loop one after the other - android
Hello I have multiple activities in my android app and one final activity All which should run all the activities of my app one after the other. When I kept all my activities in for loop and used startactivity(intent) for each activity in that for loop, at the end I could see not all my activities being ran although all activities are finished. Any clue how to implement this? Thanks Gopi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Running multiple activities in for loop one after the other - android
On Fri, Oct 1, 2010 at 11:29 AM, Gopi sreehari.vad...@gmail.com wrote: Any clue how to implement this? First question is Why are you trying to do this? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Running multiple activities in for loop one after the other - android
Use startActivityForResult and then chain them together so that each result kicks off the next Activity. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Best way to prevent multiple clicks - multiple activity starts??
If I have a button that starts an activity, and the activity sometimes takes a second or two to throw up its own view, how can I most simply and reliably protect against the button being clicked multiple times and kicking off multiple (identical) activities? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Best way to prevent multiple clicks - multiple activity starts??
On Fri, Oct 1, 2010 at 12:53 PM, DanH danhi...@ieee.org wrote: how can I most simply and reliably protect against the button being clicked multiple times and kicking off multiple (identical) activities? Disable the button on first click, re-enable on return from your activity? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Best way to prevent multiple clicks - multiple activity starts??
You could call setEnabled(false) at the point when you call startActivity(), then setEnabled(true) in onResume() as you're coming back to the screen. On Fri, Oct 1, 2010 at 1:53 PM, DanH danhi...@ieee.org wrote: If I have a button that starts an activity, and the activity sometimes takes a second or two to throw up its own view, how can I most simply and reliably protect against the button being clicked multiple times and kicking off multiple (identical) activities? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Atlanta: http://bignerdranch.com/classes/android -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Adaptive streaming - any plans for Android implementation?
Nice to Know that On Tue, Sep 28, 2010 at 12:09 PM, Chister Nordvik cnord...@gmail.comwrote: I am working on a iPhone/Android project where we stream H.264 video from live events. This works great with adaptive streaming on the iPhone but the Android devices doesn't offer this so we have to decide on which stream to offer the user. When the user sits in a car streaming the event the connection quality is very different over time and therefore the video is having problems if we offer too high quality. Is adaptive streaming planned for a future Android release? http://en.wikipedia.org/wiki/Adaptive_bit_rate#Apple_HTTP_Adaptive_Streaming_for_iPhone.2FiPad -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Julie tradinglogically.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] Android licensing implementation is slow - specifically the AESObfuscator
I'm starting to implement the new Android licensing stuff into my app. I implemented it pretty much straight from the ServerManagedPolicy example, and it does seem to work. However, it takes many seconds to complete every time I start the app, which is unacceptable. When I step through the code, the AESObfuscator generates a secret key, and that's the call that is slowing everything down. // This line takes way too long SecretKey secret = new SecretKeySpec(tmp.getEncoded(), AES); Is this to be expected? Am I doing something wrong?? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to control the bitmap rotate base on the touch position?
how to control the bitmap rotate base on the touch position? the bitmap at the center, the user touch different position, the bitmap will rotate according to the touch position. the bitmap not move, only rotate. how can i make 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] Bundle.putIBinder is deleted
Hi, I need pass a Binder object to another process via Message, in Android 2.1, the code like below: Bundle b = new Bundle(); b.putIBinder(KEY_BINDER, new Binder()); message.setData(b); mService.send(message); It works well in Android 2.1. However, the API putIBinder() is deleted in Android2.2. So what's the replace way? Because the communication is based message mechanism, I don't want to go to back to use AIDL. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] CRC32 checksum use in order to secure Android LVL Applications
Hi, Following the examples given by Johns Trevor in order to secure Android LVL Applications (http://android-developers.blogspot.com/ 2010/09/securing-android-lvl-applications.html), I've been stucked on one only particular issue. Indeed, here is the matter: The most obvious mechanism is to use a lightweight hash function, such as CRC32, and build a hash of your application’s code. You can then compare this checksum with a known good value. You can find the path of your application’s files by calling context.GetApplicationInfo() — just be sure not to compute a checksum of the file that contains your checksum! (Consider storing this information on a third-party server.) Howether, I can't find what I must use in my code to detect an unwanted modification inside it. java.util.zip.CRC32 crc32 = new java.util.zip.CRC32(); crc32.update(whatPutInHere); I've tried many method related to context.GetApplicationInfo() but no one seems to deliver something that change as soon as the code is modified. Has someone already succeed on CRC32 checksum implementation? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] android.view.inflateException:Binary XML file line #43:Inflating Classunknown
Hai, I am using MapView in my application.I ma getting android.view.inflateException:Binary XML file line #43:Inflating Classunknown Exception while loading the map second time. First Time it shows correctly The XML file i am using shows here ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content android:orientation=vertical android:background=@color/black android:layout_gravity=center_horizontal android:scrollbars=vertical LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content android:orientation=horizontal android:background=@color/black android:layout_gravity=center TextView android:padding=20px android:text= android:id=@+id/ eventname android:layout_width=fill_parent android:layout_height=wrap_content android:layout_gravity=center android:textColor=@color/bg_color android:textStyle=bold android:textSize=12px/TextView /LinearLayout ScrollView android:layout_marginBottom=40dip android:id=@+id/ ScrollView01 android:layout_height=wrap_content android:layout_width=fill_parent LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content android:orientation=vertical android:background=@color/black LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:paddingLeft=20px android:layout_height=wrap_content android:orientation=horizontal android:background=@color/black android:layout_gravity=center_horizontal ImageView android:id=@+id/ImageView01 android:scaleType=fitCenter android:layout_width=100dip android:layout_height=120dip /ImageView ImageView android:id=@+id/ImageView02 android:scaleType=fitCenter android:layout_width=100dip android:layout_height=120dip /ImageView /LinearLayout TextView android:paddingLeft=20px android:text= android:id=@ +id/maindet android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/bg_color android:textSize=12px/ TextView TextView android:textStyle=bold android:paddingLeft=20px android:text=Muzieikstijlen android:id=@+id/stylet android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/bg_color android:textSize=12px/ TextView TextView android:paddingLeft=20px android:text= android:id=@ +id/styletype android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/subtitles android:textSize=12px/ TextView TextView android:textStyle=bold android:paddingLeft=20px android:text=Prinjzen android:id=@+id/prijzen android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/bg_color android:textSize=12px/ TextView TextView android:paddingLeft=20px android:text= android:id=@ +id/voor android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/subtitles android:textSize=12px/ TextView TextView android:textStyle=bold android:paddingLeft=20px android:text=Line-up android:id=@+id/lineup android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/bg_color android:textSize=12px/ TextView TextView android:paddingLeft=20px android:text= android:id=@ +id/djlist android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/subtitles android:textSize=12px/ TextView TextView android:textStyle=bold android:paddingLeft=20px android:text=Minimumleeftijd android:id=@+id/min android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/bg_color android:textSize=12px/ TextView TextView android:paddingLeft=20px android:text= android:id=@ +id/minage android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left android:textColor=@color/subtitles android:textSize=12px/ TextView LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:paddingLeft=20px android:layout_height=wrap_content android:orientation=horizontal android:background=@color/black android:layout_gravity=center_horizontal com.google.android.maps.MapView android:id=@+id/mapview android:layout_width=fill_parent android:layout_height=150px android:enabled=true android:apiKey=09gEnOY0Az6AS60vkPKRfgaZ8YJjngQkFw4s7WA / /LinearLayout /LinearLayout /ScrollView RelativeLayout android:layout_marginTop=-40dip android:gravity=bottom android:layout_height=wrap_content android:layout_width=wrap_content Button android:id=@+id/backe android:layout_height=40px
Re: [android-developers] Re: Passing arguments to JSON c# .net web service
Cool On Tue, Sep 28, 2010 at 11:45 AM, titleist tadej.ore...@gmail.com wrote: I have function in c# like: LogInUser(string username, string password). Now i would have to pass those two arguments from android JSON web service to server (JSON c# web service.) -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Julie tradinglogically.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] Weird MapView problem; PixelConverter Error
I have an application based on the MapActivity. The application drops ItemizedOverlay items on the map as you start to move about. It has been running with no problems until I dropped it into a Nexus 2.2 phone. I'm running into a weird problem where sometimes when I zoom in/out too fast, or pan too fast, the MapView will go white and my Overlay items will get shoved into the upper left hand corner. The only error I've seen in my log is: E/PixelConverter( 4881): Setting singular matrix Matrix{[0.0, 0.0, 152.0][0.0, 0.0, 347.0][0.0, 0.0, 1.0]} My Map keys are working fine. I have internet permissions setup on the phone too. I'm scratching my head over this one. Help?! Baldwin -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Email Multiple Images
I am facing problem with sending mulitple images via email. I saved images in /mnt/sdcard/MyFolder/subFolder/*.jpg i am creating uri for all the images using Uri.fromFile(filepath); and added these uri's to ArrayList. ArrayListUri arrayList = new ArrayListUri; File filePath = new File(/mnt/sdcard/MyFolder/subFolder/*.jpg); Uri uri = Uri.fromFile(filePath); arrayList.add(uri); and this arrayList is used while invoking mail intent. Intent mailIntent = new Intent(ACTION_SEND); mailIntent.setAction(Intent.ACTION_SEND_MULTIPLE); mailIntent.putParcelableArrayListExtra(Intent.EXTR A_STREAM, arrayList); when i tried with single image its working. But when i am trying to send multiple images (Arraylist images). images not attached to email. whats wrong ? I missed anything. how to attach multiple images which are saved in our predefined folders. please help me. How to do ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ListView problem
In following a tutorial from SAMS Android Application Development in 24 hours I hit a problem with my first ListView example. Basically, my java code is firing according to log messages I set but my ListView does not display when I execute my app. The App runs fine without crashing so syntactically all seems to be well. Since I can't attach documents, please bear with me as I paste some code but you can download the entire sample app from http://www.icerge.com/android-sample-app-download My layout file is called Menu.xml and is as below: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent RelativeLayout android:id=@+id/RelativeLayout01 android:layout_width=wrap_content android:layout_height=wrap_content ImageView android:id=@+id/ImageView01 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentLeft=true android:layout_alignParentTop=true android:src=@drawable/quizicon /ImageView TextView android:layout_width=wrap_content android:layout_height=wrap_content android:layout_centerHorizontal=true android:layout_alignParentTop=true android:textColor=@color/menuxmlTitleColor android:textSize=@dimen/menuxmlTitleSize android:id=@+id/menuxmlTitle android:text=@string/menuxmlTitleText /TextView ImageView android:id=@+id/ImageView02 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentTop=true android:layout_alignParentRight=true android:src=@drawable/quizicon /ImageView /RelativeLayout RelativeLayout android:id=@+id/RelativeLayout02 android:layout_width=wrap_content android:layout_height=wrap_content ListView android:layout_height=wrap_content android:layout_above=@+id/ImageView03 android:layout_width=fill_parent android:layout_alignParentTop=true android:id=@+id/ListView_Menu android:layout_centerVertical=false /ListView ImageView android:id=@+id/ImageView03 android:layout_alignParentBottom=true android:scaleType=fitEnd android:layout_width=fill_parent android:layout_height=fill_parent /ImageView /RelativeLayout /LinearLayout The java file is called QuizMenuActivity.java and is as follows: package com.androidbook.triviaquiz; import android.os.Bundle; import android.util.Log; import android.widget.ArrayAdapter; import android.widget.ListView; public class QuizMenuActivity extends QuizActivity { private final String LOGID = Track; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.menu); Log.i(LOGID, Begining!); ListView menuList = (ListView) findViewById(R.id.ListView_Menu); /*String[] items= { getResources().getString(R.string.menu_item_play), getResources().getString(R.string.menu_item_scores), getResources().getString(R.string.menu_item_settings), getResources().getString(R.string.menu_item_help) };*/ String[] items ={test#1,test#2,test3,test#4} ; ArrayAdapterString adapt = new ArrayAdapterString(this, android.R.layout.simple_list_item_1, items); menuList.setAdapter(adapt); Log.i(LOGID, Reaching this point!); } } Finally, there is a Menu_item.xml which defines my TextView that the java file above attempts to write array data to. It is as follows: TextView android:id=@+id/TextView01 android:layout_height=wrap_content xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:text=testing testing android:layout_gravity=center_horizontal android:shadowRadius=5 android:gravity=center android:textColor=@color/listview_items_color android:shadowDx=3 android:shadowDy=3 android:textSize=@dimen/menuxml_item_size android:shadowColor=@color/listview_items_color_glow /TextView As I don't want to overwhelm you with code you will have to take my
Re: [android-developers] Content Provider Question
On Sat, Sep 25, 2010 at 6:37 PM, Adam Hammer adamhamm...@gmail.com wrote: I think I've got to write a content provider for handling a add-on style architecture for my app. Why? If I have 2 seperate providers, different .apks and manifests, and lets say one has the authority content://my.authority.com/addon1 and the second content://my.authority.com/addon2 That's not supposed to work. AFAIK, the second one will fail to be used (and I would have expected it to fail to install), since it attempts to use the same authority (my.authority.com). They are both installed and registered. If I do a query on content://my.authority.com will it come back with both addon1 and addon2 in the result set? I doubt it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Query about ClickListeners
Hi Everyone! I have got around 15 buttons in my activity. I just wanted to know that what would be a better approach to implement their ClickListeners. Should I write a single ClickListener and use Switch case or I should write it individually fr each button? I got confused between these two because on a couple of blogs, it is suggested to write individual ones from the viewpoint of performance and efficiency but, considering cumbersome and complexity of overall code I feel like going with approach 1 i.e. switch case. Kindly give your suggestions about the right approach and the reason why I should prefer that. TIA. Regards! -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] requestLocationUpdates / non-UI-thread / getMainLooper()
why u used loop update-location lister update location automatically On Wed, Sep 29, 2010 at 9:05 PM, Pent tas...@dinglisch.net wrote: Is there anything wrong with specifying the main thread looper to handle messages about location update like this: lm.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0L, 0L, locListenerGPS, Looper.getMainLooper() ); (call is made from a non-UI thread) Am I going to start getting weird unexplicable errors in other places due to the looper voodoo ? Thanks, Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Install APK from your application
I have developed client software that is connected to a server using TCP sockets. I would like to send an upgrade request to the server which replies with a binary stream. (=.apk file) If I would save that APK in a file on the smartphone, can I now start something, or run a function that starts the installation of thet APK file? (=execute an upgrade) Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Weird problem with ListView
Hey John, First off I like the styling you have on your list. I ran into a problem like this before. I definitely second the idea of listview recycling. two things that might help. One I assume you are using an EfficientAdapter, I was. Try swaping the adapter for an array adapter just to see if you still have the recycling problem. Second look over all the Ids on different lists and the components that make them up. Make sure there are no duplicate names that is causing the recycling problem. Hope this helps, Eric Harlow On Sep 28, 7:51 pm, John Gaby jg...@gabysoft.com wrote: I have a ListView which presents a table of items. The table is supposed to look like: http://gabytest.com/images/good.png but if I scroll around a bit, I sometimes see: http://gabytest.com/images/bug.png Now this only seems to happen when I run the program on an actual device (Motorola Droid with Android 2.2). I have never seen this happen on the emulator. Has anyone ever seen anything like this? Does anyone have any suggestions about what I might look for? 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: Killi Process with files on SD card
Hi, I'm having the same kind of issue, I can usually receive the media_eject intent, but I dont get it when my app is using the sd card at the same time, because it kill the process before i receive the intent =/ So i cant even try to close my file on the sdcard before the sdcard get unmounted, since i dont get the media_eject notification =| This is really annoying, does anyone have any idea about this? On 7 sep, 17:30, Zhenyu Jiang jfo...@gmail.com wrote: i think the problem here is that you really do not known when the user is going to unmount the sdcard.. it can happen at any moment. so the only way is to make those open file closed, which seams to be difficult, especially for files read/written in a separate thread async... since i met with the the same problems, seehttp://groups.google.com.ni/group/android-developers/browse_thread/th... and i searched in the group, but just did nou find any satisfying solution. i wounder is there any way to make open files closed? just to avoid the process being killed problems... 2010/9/7, Frank Weiss fewe...@gmail.com: Can this data be written sooner rather than later? Can you put it or part of it in SQLite, where it's quicker to update just a part of a large data model? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Receive SMS on a specific port
Is it possible to receive SMS on a specific port on my HTC Desire? My development enviroment:Android 2.1 This is the configuration of my Receive program AndroidManifest.xml: receiver android:name=.Receive intent-filter action android:name=android.provider.Telephony.SMS_RECEIVED/ data android:scheme=sms / data android:host=localhost/ data android:port=5/ /intent-filter /receiver I used the NOWSMS tool to send a SMS message with a port, but my program not work. Can anyone help me? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Sipdroid application get closed after disconnecting the call
Hi, I am a newbie in android. I downloaded the latest version of sipdroid and install. Now am able to make calls to my PSTN from my sip client. My problem is, after disconnecting the call (green slider moved down to disconnect), my app get closed and re-directs to the phone home. I have one more problem W/AudioFlinger( 33): RecordThread: buffer overflow W/AudioFlinger( 33): RecordThread: buffer overflow W/AudioFlinger( 33): RecordThread: buffer overflow getting this message after initiating the call till it got disconnected. Please give me some help to fix this issues. Thanks in advance Islet -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] narrowing intent filters for PACKAGE_ADDED PACKAGE_REMOVED
I have a broadcastreceiver that listens to PACKAGE_ADDED and PACKAGE_REMOVED action. It works fine, but I think my receiver will be called whenever a package is being added/removed from the device. I am only interested in packages in my own project. Is there a way to specify in the intent filter that only certain package names should be considered? preferrably with somekind of wildcard option... Kind regards -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] while i mute the sound of moto droid start my game app and start the sound in app it get crashed
Hi , while i mute media volume of motorola droid and start my game application with sound in my game. it get crashed on that sound screen can any one know the isssue.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Money Laundering and Education Re-Investment in U.S. Universities
FW MESSAGE: Dear who are concerned, Trading trafficking and bribe laundering network are maintained by criminal governors in U.S. and Vietnam. They are defrauding import-export and VAT taxes to launder in U.S. To avoid public revealing, they transfer dirty money including their bribes for their sons and relatives in U.S. to pay education tuition, spending money, car, house and invest in business, real-estate, etc. This dirty money could be re-invested to import-export trade to defraud taxes (http://wordpressblog.dakha.com/?p=443) among U.S. company, subsidiary company, investment company and Vietnam company. For instance, an agent gives export price USD 10.00 / carton FOB and USD 12,000 / 20' container, instead of USD 20.00 FOB and USD 24,000 / 20' container. Import another product with USD 12.50 / carton and USD 17,500 / 20' container, instead of USD 25.00 / carton and USD 35,000 / 20' container, from their agent in another country. They cheated (12,000 x 50%) + (12,000 x 50% + 12,000) x 10% = USD 7,800 import and VAT taxes. And cheated (17,500 x 50%) + (17,500 x 50% + 17,500) x 10% = USD 11,375. Their criminal business network defrauded USD 19,175. Vietnam Defense, Public's Security and Bank for Foreign Trade of Vietnam (Vietcombank) connect to other companies such as U.S. investment company, hidden-investment company of Vietnam governors for robbing my business and terrorize my finance to run out of money. To earn mutual benefit for ignoring to apply the law, the criminal governor network agreed Public's Security (Common Properties Police) to go to U.S.A for training. Please do not support their criminal network for laundering dirty money in the Universities. And please do not take their dirty money for Universities' expensive and salary. Thank you! Sincerely, Khanh Dac Pham Director Dakha Co., Ltd Mobile: 84 (0) 909905651 Fax: +1 (815) 366 8071 Email: kh...@dakha.com; khanh.p...@dakha.com; phamdackh...@gmail.com Blog: http://wordpressblog.dakha.com Yahoo Id MSN: khanhpham65 Videos: http://www.youtube.com/khanhpham65 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Connection with eclipse ganymade
I am new with android and I want to configure eclipse with android and it is giving me error related to platform.Platform not found.How to download the platform and install it.I have downloaded the sdk tools. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Thread crash if activity is restarted
Good day, I am writing a program that uses a UDP poort to listen to information send from a system. First the users sees an activity that allows them to close the activity or start it on a port they can select (edittext) The port is checked and if correct a new activity is launched. This display a view items with the received information and a return button. When started the it also launches a thread for the UDP connection. In this thread there is a while loop that runs on a boolean value in the activity. The problems occurs when the user returns from the information screen to the login and logs in again. When they exit the information screens the following commands are called: active = false; //a while loop in the the thread ServerThread.serverInitialised = false; //a while loop in the thread InlogScherm.restart = false; //a value indicating if the users exits the program or it only lost focus finish(); // closes the current activity? When logged in again the activity crashes directly. After that you can log in, exit login, crash, login, exit, etc by adding the command thread.close the activity closes with an error screen (deprecated command). But a new login doesn't gives any errors so my guess is that the error is in the fact that the thread isn't closed. I can't find any way to close or destroy the thread and let it stop by stopping the while loop doesn't solves the crashes. Does anyone have an idea on how to solve this problem? (The code for the thread is in a different file) -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 only file system
hey evrybody im new in android developping i try to puch a photo in the sdcard for an android emulator using the eclipse ide , everything is alright until this error showing: read only file system so plz how can i resolve this problem using the ddms with eclipse?? 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