Re: [android-developers] google map marker

2011-07-22 Thread Raghav Sood
You can use the google maps overlay class to draw on the map. Hiding the google logo is not permitted. Read the terms and conditions. On Fri, Jul 22, 2011 at 11:11 AM, arun kumar hariarun2...@gmail.com wrote: Hello all, I am working in google map application. In that application i want to

[android-developers] Re: Sorting Sqlite data while display

2011-07-22 Thread saurabh kulkarni
On Jul 21, 11:22 pm, saurabh kulkarni funwit.saur...@gmail.com wrote: Hi I have date(TEXT) column in db.I want to display dates in ascending order(i.e. group by date).but according to current date. Sorry (order by) -- You received this message because you are subscribed to the Google

[android-developers] Re: Listview oddity with imageview

2011-07-22 Thread Simon Platten
Has anyone else encountered this problem? On Thu, Jul 21, 2011 at 7:54 PM, Simon Platten simonaplat...@googlemail.com wrote: I have a listview with each item defined as: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: HELP: Connecting to SQL Server using JDBC

2011-07-22 Thread Boozel
HI Thanks for the reply. I'll give that a try on monday when i have access to the SQL server and post my results, thanks for the suggestion. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-22 Thread Chris Stratton
On Thursday, July 21, 2011 1:26:54 AM UTC-4, Animesh Sinha wrote: The issue is that I need to call the service methods as soon as it is connected. So, Is there any way by which I can execute the functions of service JUST AFTER binding is complete ? It takes around 10-20ms for binding, I

[android-developers] Request to Google's Android SDK team

2011-07-22 Thread Jimen Ching
Hello to the Android SDK team at Google, I don't know if anyone in the Android SDK team is listening, but I have a request. I know you guys are working on the emulator's speed in the Honeycomb SDK. I was wondering if it is possible to release a VirtualBox version of the Honeycomb emulator to

[android-developers] Re: How to know what internal process runs an application

2011-07-22 Thread albnok
I don't know how Services work, but with IntentService you can send an intent that says hey I'm launching the IntentService from an Activity! and catch it in onHandleIntent or onStartCommand. On Jul 19, 2:19 am, elDoudou the.edouard.merc...@gmail.com wrote: Thank you Diane. I may have a

[android-developers] Re: Small screens and HDPI

2011-07-22 Thread gjs
http://android-developers.blogspot.com/2011/07/multiple-apk-support-in-android-market.html On Jul 22, 2:40 pm, Dianne Hackborn hack...@android.com wrote: Having a drawable-small indicates a more fundamental problem with what you are doing.  Why are you doing such a thing?  What is the

[android-developers] Re: Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-22 Thread gjs
Hi, You can just start the service via an intent and also pass details about the function(s) you want executed, but you won't get anything returned from the function(s) invoked in the service being sent back to the activity directly, you will have to use the usual interfaces otherwise. Regards

[android-developers] Re: Data Transmission

2011-07-22 Thread gjs
http://developer.android.com/search.html#q=json or xmlt=0 On Jul 22, 1:51 pm, Sivaprakash sivaprakashshanmu...@gmail.com wrote: Hi What is the best way to transfer the data between client (mobile) and the server ? XML or Json  ? Can I do any data structuring in client end ? -- - Prakash.

[android-developers] Re: MediaRecorder White Space and 2.3.4 cut off

2011-07-22 Thread gjs
yes yes On Jul 22, 2:02 pm, Matthew Powers mtpow...@gmail.com wrote: Has anyone noticed the the apparent whitespace that gets inserted at the beginning of an audio recording?  Also has anyone seen the MediaRecorder cutting off the beginning of a recording in Android 2.3.4? -- You received

[android-developers] Intent with sensitive param

2011-07-22 Thread wasabee18
Hi all, I am handling some sensitive information like password in my app. I am wondering how secure it is to pass password as a parameter to intent. For instance, when I monitor the device with adb.exe, I can see some parameters of the intent sent before the intent is resolved by the OS. How easy

[android-developers] Android webview not preview you tube vedios

2011-07-22 Thread H@ri
Hi, I am loading the data in a webview. Some times data contain you tube videos. At that time it does not preview the you tube video. Any solution please let me know. Its urgent... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-07-22 Thread gjs
Hi, I was sort of hoping it might also be applicable to supporting different apk's for different languages/internationalization/ localization but perhaps that is just too many permutations to split the filtering. It will be interesting how the alternate markets handle these changes as well, plus

Ang.: [android-developers] Re: How many minutes (hours?) does the LVL hang on Checking license

2011-07-22 Thread jan . skarvall
Hi Jim Are you showing all license related code that you have in your app above? If that is the case, I recommend that you read through the chapters in http://developer.android.com/guide/publishing/licensing.html once again. Jan -- You received this message because you are subscribed to the

[android-developers] Re: Ways to promote your Android app

2011-07-22 Thread gjs
Hi, Get the telco's/oem's to include it their system images. Regards On Jul 22, 5:51 am, Paul pgbo...@gmail.com wrote: Here's my list of the top ways I can think of to market your Android app. If you have any suggestions to add please leave them in the comments or email me at p...@bowen.fm.

[android-developers] 9 patch png

2011-07-22 Thread b_t
Hi, I would like use a 9 patch png in an ImageView. It sounds easy but doesn't work for me. If I set the popup.9.png drawable as the source then the whole image is stretched, not works as I excepted. ImageView android:layout_width=fill_parent android:layout_height=fill_parent

Re: [android-developers] 9 patch png

2011-07-22 Thread Raghav Sood
Did you adjust the areas to be stretched properly? On Fri, Jul 22, 2011 at 1:49 PM, b_t bartata...@gmail.com wrote: Hi, I would like use a 9 patch png in an ImageView. It sounds easy but doesn't work for me. If I set the popup.9.png drawable as the source then the whole image is stretched,

[android-developers] Re: Android Image Error

2011-07-22 Thread gjs
Is there space characters in the file name ? if yes remove. Also if using Eclipse try 'refresh' option in navigator/package explorer for the project so the new file is recognised. On Jul 22, 2:59 am, Vishal vishaldab...@gmail.com wrote: I amreating an application for android in which I need to

[android-developers] Re: 9 patch png

2011-07-22 Thread b_t
Hi, I think yes because it works well if I set as background. https://picasaweb.google.com/109616049711402953088/2011Julius22?authkey=Gv1sRgCK2eofOr_vCHkwE Here is the pictures: the nine patch png, the result with background/ setAlpha, the result with src/setAlpha. Stretching is ok in only one

[android-developers] Re: Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-22 Thread Animesh Sinha
Thanks Chris for replying. You are right in saying that android requires developers to write an event-driven code and that effort needs to be put for designing the whole chain of events. But for the following case as shown below, I don't think one can get rid of the NullPointerException thrown

[android-developers] Re: SQLite + Android

2011-07-22 Thread Ali Chousein
Google for android sqlite tutorial. There are lots of examples. BTW, I would humbly suggest to create the DB and the tables programmatically within your application. Otherwise, if I want to install your application on my device, do you expect me to create the required database manually? Noone

[android-developers] Re: Fragment isAdded() issue ?

2011-07-22 Thread Guian
but I'm not adding twice the same fragment in one fragment transaction. here is what happens : 1) launch app = call to onTabSelected = add my fragment with this piece of code: if(!fragmentsToAdd.isAdded()) ft.add( R.id.parent, fragmentsToAdd, myFragment); 2) pressing the Back

[android-developers] Re: 9 patch png

2011-07-22 Thread b_t
Hi, I have found the solution. If set scaleType=fitXY then it works. If I don't set then it doesn't work. On júl. 22, 10:37, b_t bartata...@gmail.com wrote: Hi, I think yes because it works well if I set as background. https://picasaweb.google.com/109616049711402953088/2011Julius22?authk...

[android-developers] Re: Accessing MySQL Data From Android App?

2011-07-22 Thread Ali Chousein
Develop a REST interface at your server side. Then in your Android application you can use HTTP GET/POST to communicate with your server. Server side development is outside the scope of this platform though. For this you may try investigating some frameworks like Django (there are other frameworks

Re: [android-developers] google map marker

2011-07-22 Thread arun kumar
anyone please send sample code for more than two markers in google maps. On 7/22/11, Raghav Sood raghavs...@gmail.com wrote: You can use the google maps overlay class to draw on the map. Hiding the google logo is not permitted. Read the terms and conditions. On Fri, Jul 22, 2011 at 11:11

[android-developers] Re: building android2.3.4 with bluez 4.94 - readline.h problems

2011-07-22 Thread arun_satya3
Hi, I have integrated Bluez 4.91 on Gingerbread(Samsung). But to use health profile, we are on our own (Writing .mk files and configuring android). I too am doing the same thing. Rgds, Arun S. On Jul 21, 3:15 pm, N.F.S. nfs...@gmail.com wrote: Hi, Does Arun S. updatebluezon android 2.3.4? I

[android-developers] List of all class names from android.widget package dynamically

2011-07-22 Thread kums
Hi , I want to show the list of all class names from the android.widget package dynamically? Is there any method is available to read from package name to class names? Please help me on this? Thanks, Kums -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Intent Data

2011-07-22 Thread kaushik p
Hi all , Is there any way to get data back from the child activity to the parent activity ?? For example if 1) Activity1callsActivity2 2) now when the activity2 is finished i want some data back from it . Please help me find the solution -- ThanksRegards Kaushik Pendurthi

Re: [android-developers] Intent Data

2011-07-22 Thread Rocky
u can use bundle or when u call activity2 , call with startActivityForResult, and use the appropriate method. On Fri, Jul 22, 2011 at 4:02 PM, kaushik p kaushiks...@gmail.com wrote: Hi all , Is there any way to get data back from the child activity to the parent activity ?? For example if

[android-developers] Re: Does anyone at Google read bug reports?

2011-07-22 Thread William Ferguson
Its really all about the feedback (or lack of it). Sooner or later the lack of feedback will result in a lack of reports by developers. I would have thought that it would be worth Google's time to add a mechanism to the internal register so that the issues copied from the external register ares

Re: [android-developers] Intent Data

2011-07-22 Thread kaushik p
I am trying to do the same( http://stackoverflow.com/questions/4850404/how-to-get-result-of-child-activities-in-a-parent-tab-activity) but i am not getting it can you please give an example On Fri, Jul 22, 2011 at 4:12 PM, Rocky rkjhaw1...@gmail.com wrote: u can use bundle or when u call

[android-developers] Re: Noob: Automatic moving background

2011-07-22 Thread cellurl
you might watch the 30min video on udemy. I too forget how to import samples successfully, so I made videos. http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/ On Jul 21, 8:56 pm, TreKing treking...@gmail.com wrote: On Thu, Jul 21, 2011 at 10:51 AM, Luke Taylor

Re: [android-developers] Re: Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-22 Thread Mark Murphy
On Fri, Jul 22, 2011 at 4:35 AM, Animesh Sinha animeshs...@gmail.com wrote: You are right in saying that android requires developers to write an event-driven code and that effort needs to be put for designing the whole chain of events. But for the following case as shown below, I don't think

Re: [android-developers] Intent Data

2011-07-22 Thread Rocky
see the http://alltechsolution.wordpress.com/page/2/ SavedInstance : onSaveInstanceState : onRestoreInstanceStatehttp://alltechsolution.wordpress.com/2011/04/13/savedinstance-onsaveinstancestate-onrestoreinstancestate/

Re: [android-developers] Intent with sensitive param

2011-07-22 Thread Mark Murphy
On Fri, Jul 22, 2011 at 4:02 AM, wasabee18 wasabe...@gmail.com wrote: I am handling some sensitive information like password in my app. I am wondering how secure it is to pass password as a parameter to intent. For instance, when I monitor the device with adb.exe, I can see some parameters of

Re: [android-developers] List of all class names from android.widget package dynamically

2011-07-22 Thread Mark Murphy
http://stackoverflow.com/questions/176527/how-can-i-enumerate-all-classes-in-a-package-and-add-them-to-a-list (or http://goo.gl/nyPWf if that URL is too long) On Fri, Jul 22, 2011 at 6:38 AM, kums kums1...@gmail.com wrote: Hi , I want to show the list of all class names from the

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-07-22 Thread Marcin Orlowski
On 22 July 2011 10:11, gjs garyjamessi...@gmail.com wrote: I was sort of hoping it might also be applicable to supporting different apk's for different languages/internationalization/ localization but perhaps that is just too many permutations to split the filtering. Assets usually takes

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2011-07-22 Thread Carl
Mills, Ryan A, Thanks for posting, no news at the moment but we hear you. We're still investigating this. As soon as we have any news, we will publish it on Developer World, http://www.sonyericsson.com/developer Regards Carl Johansson Sony Ericsson Developer World -- You received this message

[android-developers] How to access Web Service using WSDL,Soap.

2011-07-22 Thread rishabh agrawal
I am beginner in Soap web service nothing no how i access web service using wsdl for client request response.Please suggest me where i can start. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to control device from your desktop?

2011-07-22 Thread Amit Dixit
Hi, Currently I am using Honeycomb device which I would like to control it from desktop machine. Is there any way I can do it ? Best Regards, -- Amit Dixit -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: 9 patch png

2011-07-22 Thread arun kumar
how to make background image as nine patch...can u guide 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

Re: [android-developers] Re: Facebook Integration issue

2011-07-22 Thread gaurav gupta
HI, i also use EasyFacebookConnectSDK.i am not clear about this problem. i have to simple post my status using android. Previously i have FaceBook's 1.3 version, i update it , now i have FaceBook 1.6. In FB 1.3 this code is working fine, but in FB 1.6 its not working and its open native Facebook

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-22 Thread Fred Niggle
Thanks for your reply. I guess my initial question can therefore be reduced to: How can an activity know when a service has performed a task? On 21/07/2011, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 21, 2011 at 6:33 PM, Fred Niggle fred.nig...@googlemail.com wrote: What I am

[android-developers] Re: How to control device from your desktop?

2011-07-22 Thread Tech Guy
I am not sure about how you want to control. But with LG-P990 there comes LG On Screen phone, where you can operate your phone connecting to computer. Except call and camera. Hope this helps. - TechGuy On Jul 22, 5:19 pm, Amit Dixit amit1...@gmail.com wrote: Hi, Currently I am using Honeycomb

[android-developers] How to get hotmail on LGP-990 or Android mobile

2011-07-22 Thread Tech Guy
Actually LG-P990 provides built in email application where you can specify hotmail account but your account should be of domain @live.com only. You cant add other hotmail accounts! Read More at Hints Library http://hintslibrary.blogspot.com/ :

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-22 Thread Mark Murphy
On Fri, Jul 22, 2011 at 9:05 AM, Fred Niggle fred.nig...@googlemail.com wrote: Thanks for your reply. I guess my initial question can therefore be reduced to: How can an activity know when a service has performed a task? You have no activity. That's the point. Most medication dosing is on a

Re: [android-developers] Re: Facebook Integration issue

2011-07-22 Thread gaurav gupta
Hi Shanmugam, thanks 4 reply. i work for that too. its working fine when in my phone Facebook For Android 1.3 is used. but when i upgrade my Facebook For Android to 1.5 or 1.6 , its not working. this issue is related to Facebook updation. Please look at this issue. if u find any link or anything

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-22 Thread Fred Niggle
Thanks for your reply. I found the information about setting flags with startActivity() to be extremely useful. However my original question remains unanswered: How can an activity know when a service has performed a task? Regards, Fred On 22/07/2011, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Request to Google's Android SDK team

2011-07-22 Thread lbendlin
Sooner or later you will have to test against a real device anyhow. it might be a financial burden but it is inevitable. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-22 Thread Mark Murphy
On Fri, Jul 22, 2011 at 10:24 AM, Fred Niggle fred.nig...@googlemail.com wrote: However my original question remains unanswered: How can an activity know when a service has performed a task? Use a broadcast Intent. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] How to access Web Service using WSDL,Soap.

2011-07-22 Thread TreKing
On Fri, Jul 22, 2011 at 7:17 AM, rishabh agrawal android.rish...@gmail.comwrote: I am beginner in Soap web service nothing no how i access web service using wsdl for client request response. Please suggest me where i can start. Try a Google search. Or a group or forum that is even remotely

[android-developers] Re: 9 patch png

2011-07-22 Thread b_t
How do you mean? Simple call setBackgroundResource on View with a 9- patch image. On júl. 22, 14:34, arun kumar arun.kata...@gmail.com wrote: how to make background image as nine patch...can u guide me. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-07-22 Thread Mark Carter
One thing I don't understand... In advanced mode, why is there a reactivate button next to old versions that can never be reactivated (because they have a lower version code than the active APK)? On 22 July 2011 19:19, Marcin Orlowski webnet.andr...@gmail.com wrote: On 22 July 2011 10:11, gjs

Re: [android-developers] google map marker

2011-07-22 Thread lbendlin
for a few markers here and there you don't need overlays. Just add the image views directly. mMapView.addView(mImageView, geoLP); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: SQLite + Android

2011-07-22 Thread lbendlin
well, there are many ways of doing it. The big boys prepare the database structure (and some sample data) in the APK and then copy it to the documents folder on first use. They also handle db structure updates during version changes. -- You received this message because you are subscribed to

[android-developers] Detect Google Voice

2011-07-22 Thread Sanchiski
Hi everyone. Is there a way to detect if an outgoing call was performed by Google Voice? in other words, how is it possible to differentiate when a call is done by key\touchpad or via voice? thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Optimizing TableLayout

2011-07-22 Thread lbendlin
Doesn't sound like you are re-using list cells. http://blog.falafel.com/blogs/10-07-08/Reusing_list_items_in_Android_and_iOS_-_a_comparison.aspx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Map point reload

2011-07-22 Thread JCC
Ok thanks, I fixed the data problem but still with the flip issue that it calls the GPS again. =( any suggestion would be much appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] .caf format

2011-07-22 Thread bob
Anyone know if the MediaPlayer object supports the .caf format? 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

Re: [android-developers] Detect Google Voice

2011-07-22 Thread saman norallahy
why On Fri, Jul 22, 2011 at 7:36 PM, Sanchiski sanchi...@gmail.com wrote: Hi everyone. Is there a way to detect if an outgoing call was performed by Google Voice? in other words, how is it possible to differentiate when a call is done by key\touchpad or via voice? thanks -- You

[android-developers] Re: Android 3.2 SD Card Support on the Motorola Xoom

2011-07-22 Thread dk1942
You have to root to mount the mico sdhc . After you root the xoom get the sdmount app to mount the micro sdhc . The dir will be/mnt/external1. I've done this on my xoom and it work just fine. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] APN for SMS/MMS

2011-07-22 Thread Ps By The Way
Developing an SMS app for Android and hit a road block where we are unable to get MMS (picture attachments) sent on the Verizon and Sprint networks. We have isolated the issue to be associated with the APN for each network, however this info is stored on the phone and is not provided by the

[android-developers] Re: Detect Google Voice

2011-07-22 Thread Sanchiski
i am improving my call confirm program, and I need to find a way to allow calls done through google voice without any popup. On Jul 22, 6:22 pm, saman norallahy samannorall...@gmail.com wrote: why On Fri, Jul 22, 2011 at 7:36 PM, Sanchiski sanchi...@gmail.com wrote: Hi everyone. Is

[android-developers] Android Unit Testing

2011-07-22 Thread Abhishek Akhani
Hi I am not satisfied with the guidance of unit testing in developers.android.com... Can anyone provide me the link of any test project (for a whole android application) which covers all the aspects of android unit testing, so that i can learn from it how to write unit test cases for android

Re: [android-developers] Intent with sensitive param

2011-07-22 Thread rich friedel
@Mark That is extremely interesting! Just like you, I assumed that intent extras were private. This begs the question... What to do then to keep intent extras private? Better yet, how should we pass sensitive data in an intent extra in such a way that the data remains secure? For example, in

Re: [android-developers] Re: Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-22 Thread rich friedel
I solved a similar issue by broadcasting that my service is actually active and running and then if my activity is active it receives that broadcast and does what it needs to do. This way the Activity always knows when the service is active. The onBind is not applicable to my situation as my

Re: [android-developers] Intent with sensitive param

2011-07-22 Thread Mark Murphy
On Fri, Jul 22, 2011 at 3:22 PM, rich friedel rich.frie...@gmail.com wrote: @Mark That is extremely interesting! Just like you, I assumed that intent extras were private. Yeah, it shocked the heck out of me when somebody mentioned it. This begs the question... What to do then to keep intent

[android-developers] Re: Data Transmission

2011-07-22 Thread rich friedel
Or even better... http://www.google.com/#q=Android+development+json+or+xml There are some real eye opening test cases out there that show that json is faster up to a point then XML is king as far as parsing goes. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to know what internal process runs an application

2011-07-22 Thread rich friedel
You should know if it either started via the Activity or the Service. I don't see an issue, or maybe I am just confused. It is not like the app magically starts without you, the developer, explicitly knowing how it started. You created the entry points from which the app can start. From there

[android-developers] Re: Issues with 3.2

2011-07-22 Thread rich friedel
Happens to me all the time on the Droid2 (2.2.1) and the DroidX (both 2.2.1 and 2.3.3)... and it could be any number of ad heavy sites that it happens on... ESPN, WSJ, New York Times, Techcrunch, etc... there is no consistency as to when it just... closes (if I am lucky I get a FC dialog) --

[android-developers] 9 patch errors in eclipse

2011-07-22 Thread Simon Platten
I've created an image called frame.9.png which according to various online examples and tutorials should be ok, but when using this name in eclipse the IDE displays errors for all the other drawables in the folder with a little red cross by the 9 patch image. I couldn't see any mention of this

[android-developers] Re: 9 patch errors in eclipse

2011-07-22 Thread Simon Platten
Sorry, just dragged the image into the 9 patch tool, re-saved and error message disappearednot sure why, but its ok now. On Fri, Jul 22, 2011 at 9:12 PM, Simon Platten simonaplat...@googlemail.com wrote: I've created an image called frame.9.png which according to various online examples

[android-developers] Re: Listview oddity with imageview

2011-07-22 Thread Simon Platten
Is this a bug or is there a property that needs setting ? On Fri, Jul 22, 2011 at 7:27 AM, Simon Platten simonaplat...@googlemail.com wrote: Has anyone else encountered this problem? On Thu, Jul 21, 2011 at 7:54 PM, Simon Platten simonaplat...@googlemail.com wrote: I have a listview with

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-22 Thread Fred Niggle
Thank you, thats just the tip I needed. On 22/07/2011, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 22, 2011 at 10:24 AM, Fred Niggle fred.nig...@googlemail.com wrote: However my original question remains unanswered: How can an activity know when a service has performed a task?

Re: [android-developers] Re: Listview oddity with imageview

2011-07-22 Thread Kostya Vasilyev
Try setting a scaleType property on the ImageView, perhaps you can get consistent results that way. 2011/7/23 Simon Platten simonaplat...@googlemail.com: Is this a bug or is there a property that needs setting ? On Fri, Jul 22, 2011 at 7:27 AM, Simon Platten simonaplat...@googlemail.com

Re: [android-developers] Re: Listview oddity with imageview

2011-07-22 Thread Simon Platten
I've tried all the scale type options, no effect, except that it fixes the width and the height doesn't scale correctly. It works exactly as I would expect in the emulator, when on my phone it shrinks after rotation, but if I scroll out of view then back into view its ok...very strange. On

Re: [android-developers] Re: Listview oddity with imageview

2011-07-22 Thread Kostya Vasilyev
Your second paragraph below sounds like a view recycling issue. The emulator and real devices may have some differences there. -- Kostya 23.07.2011 0:54, Simon Platten пишет: I've tried all the scale type options, no effect, except that it fixes the width and the height doesn't scale

[android-developers] Re: Need help with getting records to display in a Spinner

2011-07-22 Thread Vance
Can anyone tell me if the Spinner needs to be in the same layout file as the ListView? On Jul 18, 8:27 pm, Vance vance0...@gmail.com wrote: I need help with getting employee records to display within a Spinner after first selecting a department within a ListView. I'm trying to get the Spinner

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-22 Thread Rick Alther
I'm experiencing the same problem, but I'm hitting it with these inherited styles: - WindowTitleBackground - DialogWindowTitle - Widget.TextView.ListSeparator.White Reverting to Platform Tools R5 worked for me as well (Thanks teo2k!) - Rick -- You received this message because you

Re: [android-developers] Re: Need help with getting records to display in a Spinner

2011-07-22 Thread Kostya Vasilyev
If you're talking about this: // Create Spinner View object from layout resource Spinner spinner = (Spinner) findViewById(R.id.spinner1); Then the answer is yes. This line does not create the spinner. It locates the spinner, and returns it as a Java object reference. At this point, the spinner

Re: [android-developers] Re: Need help with getting records to display in a Spinner

2011-07-22 Thread TreKing
On Fri, Jul 22, 2011 at 4:33 PM, Vance vance0...@gmail.com wrote: Can anyone tell me if the Spinner needs to be in the same layout file as the ListView? Same file? No. Same view hierarchy? Yes. So each can be in it's own file. However, at some point they must be added to the root view or one

[android-developers] Re: Request to Google's Android SDK team

2011-07-22 Thread Jimen Ching
I don't deny that real hardware is needed sooner or later. But I hope Google isn't restricting their developer ecosystem to multi-million dollar software houses only. I am developing applications for multiple Android API levels, multiple screen resolutions and screen sizes. Is Google saying

Re: [android-developers] Re: How to know what internal process runs an application

2011-07-22 Thread Dianne Hackborn
Be we are still not getting to the core problem -- why do you need to have your app initialized certain different ways depending on these uses? How have you gotten to this point? It is the fundamental problem. This is just not naturally how Android works -- processes are simply containers to

[android-developers] Re: version-specific attributes in AndroidManifest.xml

2011-07-22 Thread nadam
I don't think there is any way to do that in the manifest. However, you can remove android:screenOrientation from the manifest and set it in the activity's onCreate() method instead: if (Build.VERSION.SDK_INT Build.VERSION_CODES.GINGERBREAD)

[android-developers] Re: fragment activity management

2011-07-22 Thread nadam
If Activity2 is started from Activity1 all you need to do is to finish it to return to Activity1 where you get the layout you want. So in Activity2.onCreate(): if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { finish(); return; } Dianne is

Re: [android-developers] Re: Request to Google's Android SDK team

2011-07-22 Thread Mark Murphy
The 2.2 and 2.3 emulators work fine on decent hardware (e.g., dual-core 2GHz+, ample RAM). It is only the Honeycomb series of emulators that is an issue. Given the low penetration of Honeycomb devices to date, it is perfectly reasonable for you to say oh, never mind for now and focus on Android

[android-developers] Re: Locked AVD/emulator even when wiped

2011-07-22 Thread jarmy
Looks like the final part of my message was truncated. Step 5 should be: The AVD starts up in locked mode; 2) Previously installed .apk’s still exist. There are some warnings and errors under LogCat but I'm not sure if any would be symptomatic of this problem. -- You received this message

[android-developers] Re: [HELP]SQLite + Android

2011-07-22 Thread Abhishek Akhani
you can put your database in assets folder and import it... See http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Android Image Error

2011-07-22 Thread Abhishek Akhani
You may be using capital/special/space characters in name -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-22 Thread William Ferguson
It doesn't matter which style is inherited, all appear to fail. The triggering factor is a style elements with a parent reference to @android:style/SomeAndroidStyle If you use inherited styles, don't update tools to r12 in the SdkManager. Or you have to rollback to an old version of the

[android-developers] Menu guidelines

2011-07-22 Thread mlybrand
Can you guys point me to some best practices on maintain options menus in Android applications. I understand the concept that the options menu is meant to be for a particular activity, but it has to be fairly common that multiple activities share very similar menus. So, is there some one to have

[android-developers] Re: google map marker

2011-07-22 Thread Abhishek Akhani
Hi Arun I am giving you two code snippets from my application in which i used three different colored markers. One is myOverlay Class Which will be the inner class of your Map Screen Activity and another code is a function in your activity which creates itemized overlay objects according to

[android-developers] Re: Listview oddity with imageview

2011-07-22 Thread Abhishek Akhani
invalidate the view after rotating... hope this may help... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Sorting Sqlite data while display

2011-07-22 Thread Abhishek Akhani
Hi You can get the data in ascending order by querying db by ascending order of date... refer -- http://www.w3schools.com/sql/sql_orderby.asp OR You can use comparator interface to compare and sort dates -- refer -- http://www.javadeveloper.co.in/java-example/java-comparator-example.html

[android-developers] Re: popupwindow

2011-07-22 Thread Abhishek Akhani
You can start an activity as a dialog (it will look like a pop up window) by setting its theame to Theme.Dialog in menifest. So Here you can make an activity with list view and open it with startActivityWithResult() and set the selected value on text view in onActivityResult() method

[android-developers] Re: Getting Developer Account

2011-07-22 Thread Abhishek Akhani
Yes you can have dev acc but you cant sell paid apps Check out your problem with your bank or android market support... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: application not lauching on simulator when using google map api Installation error: INSTALL_FAILED_MISSING_FEATURE

2011-07-22 Thread Abhishek Akhani
post your xml for more info.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Parameters passed to a .NET webservice are always null when using ksoap2 jar

2011-07-22 Thread Abhishek Akhani
I don't know whats the problem here in your code but i can give you a code snippet which is slightly different but it works for me... public boolean userLogin(String userName,String password,Activity activity){ boolean isLogin = false; SoapObject soapObject;

[android-developers] Re: Layout problem with TextView on RelativeLayout

2011-07-22 Thread Abhishek Akhani
I have also encountered this problem i think 9 patch images take some space on all four sides which makes the inner content to squeeze you have to readjust your text view or just use png... :-) this is what i did -- You received this message because you are subscribed to the

  1   2   >