[android-developers] How to call web service with different methods?

2009-02-03 Thread dilu
I am having a webservice at particularURL:- http://192.168.1.10/abcd/Service_MobClients.asmx";. Under that webservice we are having different methods like 1.authenticate client 2.contacts to sync 3.inbox to sync etc. now I want to call these methods with parameters. So,please tell me how to call

[android-developers] Re: Is it possible to have 2 launcher Activity in a single apk?

2009-02-03 Thread Romain Guy
Yes :) Just put two activities in your manifest, both with the LAUNCHER category. On Mon, Feb 2, 2009 at 10:45 PM, j wrote: > > I need to have 2 launcher activities (i.e. 2 icons on the home > screen). Each launch icon would launch a separate activity. > Essentially, I need a single apk which co

[android-developers] Re: About media player

2009-02-03 Thread Jerry Yang
I wanna to add a plug-in with certain de-crypto. That means I receive encrypted meida, and de-encrypt it on run time with certain key. My propose is to setup a demo system for research and study. With best wishes Jerry -Original Message- From: android-developers@googlegroups.com [mailto:a

[android-developers] Re: running out of memory

2009-02-03 Thread shweta kumari
Hi All, When i run the browser StartActivityLocked() is called which runs the activity with some pid. If i open 4 browser windows on UI for each instance the same process is called (as noted from pid).Does the memory get allocated for each window? If this process goes into background state and th

[android-developers] Re: Audio Volume

2009-02-03 Thread blindfold
My app generates and plays sound samples in one second bursts, and this context sensitive volume adjustment keeps flipping between ringtone volume and media volume depending on split second timing (apparently depending on whether a burst is playing or a next burst is in preparation when the volume

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-02-03 Thread blindfold
Thank you for the additional information. I will look into it later. One thing that kept me from further working with this a few days ago is that I ran the monkey tool with the --hprof option, which according to http://code.google.com/intl/zh-TW/android/reference/monkey.html puts results in the da

[android-developers] Re: Fwd: GMAPS is not being displayed in the emulator

2009-02-03 Thread Alistair.
This really looks to me like your debug map key is incorrect. Refer to http://code.google.com/android/toolbox/apis/mapkey.html There are a couple of batch files, definition.bat and getDebugKey.bat which might help here: http://code.google.com/p/netthreads-for-android/source/browse/#svn/trunk/p

[android-developers] Re: How to hang up outgoing call?

2009-02-03 Thread Kamal Hasan
You can abort a call using BroadcastReceiver in your application. Kamal On Feb 3, 1:31 am, Tilekus wrote: > Hi everyone, > > We are new to Android and creating an application where one of the > things we need is to control the outgoing call, > at least to be able to stop it from our application

[android-developers] Re: DEVICE_POWER permission denied for using goToSleep

2009-02-03 Thread shahzad ahmad
Did u find a way to lock the phone ? On Fri, Jan 30, 2009 at 3:31 PM, mnj wrote: > > Yes this permission is set in androidmanifest > > On Jan 29, 5:10 pm, Phill Midwinter wrote: > > Is it set in the androidmanifest? > > > > 2009/1/29 mnj > > > > > > > > > > > > > > > > > Hi, > > > > > I wanted

[android-developers] Serialization problem with objects, when using ksoap

2009-02-03 Thread sooraj.rit
Hi i want to implement a webmethod to search some data and I have done it well in C#.net . Now i want to access that method from android . The real problem I am facing is that, I have to use a complex data type. ( a class containing two strings ). when I call the webmethod, an exception is thrown

[android-developers] Re: Is there a simple way to do Key/Value with Spinners?

2009-02-03 Thread muckwarrior
"If you want to stick with using array resources, just make two arrays, one > with the things to display to the user, the other with the keys." That's what I was hoping to be able to do alright. But how do I get both arrays into the spinner. Can I do it without creating a custom adapter? Also, I

[android-developers] Re: android.app.Application global application variable store

2009-02-03 Thread MB
How would you use global variables? That is what I would like to do. I have different files for each Activity so I was not sure how to have globals across them. I need the LinkedList to be shared over various Activities so I can use data from it without replication. On Feb 2, 6:02 pm, Dianne Hac

[android-developers] How get text from EditText filed which is showing in alert Dialog

2009-02-03 Thread Gulfam
Hi all, I m facing a problem for getting text from EditText field which is on alert dialog same like ApiDemo text entry Dialog public void enterNumberView(Activity activity){ LayoutInflater factory = LayoutInflater.from(_activity); final View textEntryV

[android-developers] Re: How good to use intents with an application to communcate and modularise it

2009-02-03 Thread Raja Nagendra Kumar
Hi Diannel Thank you for the reply, I know How painful is it to impl. generic back.. in j2me. I am glad that Intents could help here. However, Intents way does open up certain other issues of code clarity as said in my message.. Specially the compile check and passing different parameters to cre

[android-developers] Support for USIM messages in android

2009-02-03 Thread srinivas
hi, At present android supports GSM sim messages decoding only. Is there any plan for supporting USIM message decoding? Can you please give form pointers for implementing this in android? Thanks Srinivas --~--~-~--~~~---~--~~ You received this message because you

[android-developers] sharing resources across projects (apk's )

2009-02-03 Thread achhabra1...@gmail.com
Hi All, I am trying to share my resources from apk named A in apk name B. Has someone tried this? I have tried sharing resources by adding the project in eclipse's project properties "required build path" but it seems I can just share source files not the resources. Please share if any one has

[android-developers] Re: Gesture detection

2009-02-03 Thread joebowbeer
On Feb 2, 7:42 am, Moto wrote: > But single tap doesn't give my the onUp event I need.  Essentially if > you hold down a while or scroll the onSingleTapUp is never called... > > What I did was overwrite the dispatchTouchEvent(MotionEvent ev) and > using > ev.getAction() looked for ACTION_UP. This

[android-developers] Re: How to handle ini file in android?

2009-02-03 Thread Paranoia
no, they are 2 different issues. one is how to use ini file as the config file. another is that there is the file size limit in assets dir. On Feb 3, 8:57 am, Emmanuel wrote: > Do you mean you want to use a .ini file that is more than 1 mo ? > 1mo is a lot of memory for a mobile phone ! > > Tho

[android-developers] Re: Caching a content provider

2009-02-03 Thread Charles Harley
I have submitted a RFE to cache the content provider. If you are keen to see this implemented add your vote. http://code.google.com/p/android/issues/detail?id=1907 Charles On Feb 2, 5:07 pm, Charles Harley wrote: > Unfortunately I have to use thecontentprovider, I have already > optimized it a

[android-developers] How to use different fonts in webview??

2009-02-03 Thread Sagar Parmar
Hello, I m using webview to display my text. I want to give font change option to user. I read that, We can use CSS2 spec fonts in webview. I have used the following code. Still I dont get any difference except courier new.. wv.loadDataWithBaseURL("some fake url", ""+data, "text/html", "utf-8",nul

[android-developers] Creating a service using eclipse

2009-02-03 Thread info.sktechnol...@gmail.com
Can someone point me to info on how to create an Android service (that uses IPC) using 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 a

[android-developers] Event to get that phone is in potrait/landscape mode

2009-02-03 Thread sagar.indianic
Hello, I want to get notification when user changes its phone mode (landscape/ potrait).. How to get this event notification?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: Signing the application

2009-02-03 Thread Alowishus
I got it all worked out thanks for your help. My app is in the marketplace, let the negative reviews begin. :) On Feb 2, 6:57 pm, srajpal wrote: > here is a great tutorial that worked perfectly for me > > http://www.anddev.org/signing_your_apk-application_for_release_keytoo... > > On Feb 2, 8:35

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-02-03 Thread Peli
I have the same question. Dan, in the document you provided, in the section "Publishing Localized Applications", the possibility is mentioned to "break their .apk files apart into different builds for different groups of languages". The following suggestion is given: "The easiest way to do this

[android-developers] Re: How to send xml file to server?

2009-02-03 Thread Mark Murphy
manoj wrote: > Hi friends, > I want to send the some xml data to server. Here I am showing you the > example I tried: > try > { > String s = "\n" >+"Manoj\n" >+"123\n" >+"dmh\n"; > String url = "http://localhost:9090/loggerapi.php?data="+s; > HttpCli

[android-developers] Re: LocationManager causes application to crash

2009-02-03 Thread Mark Murphy
pulkit wrote: > Pratap > > here is the logcat trace. What we understand from this is that it > requires ACCESS_FINE_LOCATION permission > which you suggested in first place. Now that we have specified it in > our manifest.xml, what might be the issue? > > We define permissions as:- > > >

[android-developers] No window to dispatch pointer action 1 onTouchEvent problem

2009-02-03 Thread ad
Does anybody have any idea why I get often(but not always) error during the on touch event? Handling touch events is freezed for few seconds(this appears only immediately after application start). Then Error screen appears (choose wait of close). When I choose wait after few seconds screen is star

[android-developers] Re: Cant go back to previous page from webview page.

2009-02-03 Thread Fred Grott(shareme)
In your webview settings code what do you have?..ie post it so we can take a look On Feb 2, 5:24 pm, Komal wrote: > Hi, > I am developing simple RSS Reader kind of application.In my applicaion > i cant go back from Webview page to  previous page.i can go back from > all pages except the page wh

[android-developers] Re: Creating a service using eclipse

2009-02-03 Thread Charlie Collins
The documentation is pretty good in that regard and samples that come with Android cover that ground, for starters: http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/app/ (go down to the "Service" area there) http://code.google.com/android/reference/android/app/Service

[android-developers] Re: LocationManager causes application to crash

2009-02-03 Thread JS
The permissions xml tags are wierd. Try going to do "Permissions" tab in the Eclipse's AndroidManifest.xml view. Now see if all the permissions are shown in the List. Making sure they all show there usually solves my permission problems. Anyone what changes? On Feb 3, 6:12 am, Mark Murphy w

[android-developers] Re: Share text options ACTION_SEND

2009-02-03 Thread Alexey
This is from manifest of mms applicaton So this should work and yet i have only gmail and K9 app respond to that . Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, "Body");

[android-developers] Re: Share text options ACTION_SEND

2009-02-03 Thread Alexey
And here is the init block from the ComposeMessage if (savedInstanceState != null) { mThreadId = savedInstanceState.getLong("thread_id", 0); mMessageUri = (Uri) savedInstanceState.getParcelable ("msg_uri"); mExternalAddress = savedInstanceState.getString ("a

[android-developers] Selected state of WebView in a ListView does not show selection

2009-02-03 Thread Mark Nuetzmann
Question, is there a way to show that a WebView item contained as a item in a ListView is selected? Right now the WebView does not seem to display its contents transparently like every other control so it takes up the entire view and does not show its state as selected. Also, when the content of

[android-developers] Re: UnknownHostException while Connecting to URL

2009-02-03 Thread bejay.bam...@googlemail.com
This is a problem with DNS resolution on the Android SDK/emulator. Use the ip-adress instead of the hostname. bj On Jan 27, 6:17 pm, Mathias wrote: > Hi, > > I'm trying to read a file via http. (http://www-lehre.inf.uos.de/ > ~mmenning/balingen.ts). I wrote a Connector Class: > > package gip.an

[android-developers] Ability to utilize ad-hoc networking with android?

2009-02-03 Thread Altehed
Hi all, We are a group of students at Chalmers University of Technology currently planning to develop a mobile application that heavy utilizes ad-hoc networking. We want to use Android as a platform for this application. During our research of Android we stumbled upon some posts claiming that an

[android-developers] How do you find/pick only contacts that have phone number(s)?

2009-02-03 Thread Parakoos
Hello! I am working on an application and have run into my first problem I can't find any solution for on my own. I've searched the web and this forum, but can't find the questioned asked before. How do I either create an ACTION_PICK Intent or create a Cursor for all contacts in the phone that h

[android-developers] Host is unresolved error

2009-02-03 Thread newuser
Hi, I am trying to run the GetDataFromTheWeb app from one of the Android tutorial. As I am behind a proxy, I did the proxy settings for emulator in Eclipse's Run dialog by specifying -http-proxy http://:@: After doing this setting, I am able to use the browser of the emulator but when i try to r

[android-developers] contact listener

2009-02-03 Thread gour
How to listen if any contact is added or deleted or updated in the address book. How do i implement that listener in my application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] eclipse in ubantu

2009-02-03 Thread vidya
unable run or installing a eclipse on ubantu. Thanks vidya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubs

[android-developers] Questions about using Android native apps on commercial products

2009-02-03 Thread bercago
Hi, Not sure if my previous post success or not, so I post it again. Can we use the applications that released with Android Open Source Project in our commercial products? For example, the "Browser" and the "Contacts". And I also found some demo applications in SDK\Samples, like Home and NotePa

[android-developers] latest release for download

2009-02-03 Thread Кирилл Моисеев
Hi guys! Can someone help me. Where I can download latest stable compiled android build for my g1? Thanks!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] RTSP Streaming on g1 phone

2009-02-03 Thread Jeff Oh
Hi, I'm trying to receive RTSP streaming video with g1. The video file I made was encoded using QuickTime pro, and they are progressive streamable with a hint track. Video is encoded in H.264, and audio is encoded in AAC LC. File container is MP4. (They can be played via sdcard) I used Darwin

[android-developers] Application distribution for closed user group

2009-02-03 Thread philipp
Hi A customer asked me to create an android application for their internal use. Essentially it would some sort of mobile terminal for a special chemistry database. It doesn't make any sense, to distribute this application via "Android Market" since it is only useful for special users and payment

[android-developers] Adding to market to an installation of android

2009-02-03 Thread mkelly
Is it possible to download the android market application and install it on a G1 which does not have it? Michael. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: Application distribution for closed user group

2009-02-03 Thread Al Sutton
You can make apps available via a webserver. More info is available from; http://andappstore.com/AndroidPhoneApplications/publishing.jsp Regards, Al. philipp wrote: > Hi > > A customer asked me to create an android application for their > internal use. Essentially it would some sort of mobile

[android-developers] Re: Adding to market to an installation of android

2009-02-03 Thread Al Sutton
No, but you can use one of the clients from an alternative app directory (such as AndAppStore - http://andappstore.com/AndroidPhoneApplications/apps/7661). Regards, Al. mkelly wrote: > Is it possible to download the android market application and install > it on a G1 which does not have it? >

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-03 Thread Justin (Google Employee)
What is the name of your application? If you're not comfortable sharing this publicly, please message me privately. Cheers, Justin Android Team @ Google On Feb 3, 1:58 am, Ronald van der Lingen wrote: > Last week I published our first app to the Market, which is a game > targeted to users in Th

[android-developers] Market statistics for apps targeting The Netherlands are not correct

2009-02-03 Thread Ronald van der Lingen
Last week I published our first app to the Market, which is a game targeted to users in The Netherlands. Now that the G1 has been available over here for a couple of days, we have received feedback from several of our users. When I look at the developers console in the market however, the downloa

[android-developers] Template for Activity

2009-02-03 Thread mat
Hi All, Is it possible to add the same element e.g ImageView, TextView to all activity layouts ? Can I do it by specifying some kind of template, theme maybe in order to omit adding the same component to every layout. Thanks, --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Cannot View Images from SD Card Image on Emulator

2009-02-03 Thread SBK
Thnks.. That worked.. On Feb 3, 1:18 am, myIP wrote: > Read my last post. > > I simply reverted the SDK to 'release 1'. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] how to pass object as a parameter when starting a service

2009-02-03 Thread CJ
Here I have a broadcastreceiver where i need to start a service. but, the service need an object from this broadcastreceiver in order to function. so, far, i have not found a solution. Can anybody help me out? thx --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Re: Automatic upgrade

2009-02-03 Thread mat
Anybody knows how to resolve this issue ?? > Hi All, > Can you provide some example code forautomaticupgradeof > application? I have URL where the new version is hosted, so after the > user start the application I'd like to download new version from given > URL, reinstall and run the new version

[android-developers] Listening to changes in address book

2009-02-03 Thread Shrikant Agrawal
Hi Is there any way to know the changes made in the address book. What I want to know is that whenever an contact is added ,modified or deleted my app should receive the notification as well as the ID of the contact changed. Thanks in advance Shrikant --~--~-~--~~~--

[android-developers] Re: eclipse in ubantu

2009-02-03 Thread MMF
Try this: http://www.howtoforge.com/installing-google-android-sdk1.0-on-ubuntu8.04-desktop On Tue, Feb 3, 2009 at 7:54 PM, vidya wrote: > > unable run or installing a eclipse on ubantu. > Thanks > vidya > > > > --~--~-~--~~~---~--~~ You received this message bec

[android-developers] set max zoom level in map

2009-02-03 Thread jsm
For privacy reasons, is it possible to set the maximum zoom in level to some fixed level? I am using map view and getting the zoom view to display the zoom controls but i would like to control the zoom in level. Is this possible? --~--~-~--~~~---~--~~ You received t

[android-developers] How to get lists of email from contact application?

2009-02-03 Thread dilu
Hi, Please tell me how to get lists of email from contact application in android?If possible then please provide me some sample code or tutorial on this. please help me. Thanks dileep --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Help needed with animation... (startAnimation functions or ViewFlippers etc)

2009-02-03 Thread Zi Yong Chua
Hi folks, Really thank you to those who have helped me so far.. I have tried working with animating text in my application for the whole day but just cant got it to work. I have created a directory of anim in .Res with the animation xml and imported viewflippers, animation packages, but some how

[android-developers] How to Lock the phone by application

2009-02-03 Thread shahzad ahmad
Hi, I'm trying to lock the phone through my application .I'm using following code PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); pm.goToSleep(16); I've added following permission to AndroiManifest.xml file But the application crashes b

[android-developers] Re: Listening to changes in address book

2009-02-03 Thread Mark Roberts
You can register an observer to monitor a specific uri. For example: Define the observer private ContentObserver yourObserver = new ContentObserver(new Handler ()) { @Override public boolean deliverSelfNotifications() { return true; } @Override

[android-developers] How to send the xml file to server?

2009-02-03 Thread manoj
Hi friends, I want to send the some xml data to server. Here I am showing you the example I tried: try { String s = "\n" +"Manoj\n" +"123\n" +"dmh\n"; String url = "http://localhost:9090/loggerapi.php?data="+s; HttpClient httpclient = new DefaultHttpCl

[android-developers] Starting multiple services sequentially

2009-02-03 Thread Al Sutton
I have an app which will start multiple separate services which perform an action and then exit. I don't want them all to run at the same time (because this may bog down the OS). I have the code for finding the services and starting the services, but does anyone know how I can make sure one se

[android-developers] Create an XML file

2009-02-03 Thread elo
Hi! I need to create my own XML file to save a screen configuration this new file use to be in /data/data/org.remotecontrol/files/ interface/newfile.xml Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andro

[android-developers] Re: Automatic upgrade

2009-02-03 Thread Al Sutton
http://www.tomgibara.com/android/veecheck/ Al. mat wrote: > Anybody knows how to resolve this issue ?? > > > >> Hi All, >> Can you provide some example code forautomaticupgradeof >> application? I have URL where the new version is hosted, so after the >> user start the application I'd like to

[android-developers] Re: How to get lists of email from contact application?

2009-02-03 Thread Mark Roberts
If you are looking for the emails for a specific contact then you could do it like this where id is the id of the contact for which you are trying to get the data: public static final String[] METHODS_PROJECTION = new String[] { People.ContactMethods._ID, People.ContactMethods.KI

[android-developers] onTouchEvent breaking on two different return statements in single method call in Eclipse

2009-02-03 Thread nderraugh
I am insanely curious why this is happening in Eclipse. I have a workaround, but I really want to know what's going on. I have an ItemizedOverlay which has this implemented onTouchEvent method: public boolean onTouchEvent(MotionEvent event, MapView mapView) { Map

[android-developers] plugin link broken

2009-02-03 Thread Rajesh S
On the page http://code.google.com/android/intro/installing.html#installingplugin Please update https://dl-ssl.google.com/android/eclipse/ to https://dl-ssl.google.com/ or what ever.. existing one appears to be a broken link. --~--~-~--~~~---~--~~ You received

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-03 Thread Bobby Kolev
I fully agree! Don't know what Google were thinking, but the current download and review model pushed me away from Android and back to BlackBerry and iPhone, where we have better control over quality and - at the very least - a chance to defend against both stupidity and purposeful attacks agains

[android-developers] second call to WebView.loadUrl() no longer calls WebViewClient.shouldOverrideUrlLoading

2009-02-03 Thread Mark Nuetzmann
When I make a call to WebView.setWebViewClient and then call WebView.loadUrl I am able to get a callback into the shouldOverrideUrlLoading method of the WebViewClient. However, if I make an additional call to WebView.loadUrl, I never again get a callback into shouldOverrideUrlLoading. The WebVie

[android-developers] Default sounds - URI?

2009-02-03 Thread code_android_festival_way
Could someone tell me what URI I have to use in order to get access to the default sounds which you can choose for example in the messaging notifications. Thank you very much. Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-03 Thread Ronald van der Lingen
The name of my application is "PimPam". Thank you, Ronald On Feb 3, 5:07 pm, "Justin (Google Employee)" wrote: > What is the name of your application? If you're not comfortable > sharing this publicly, please message me privately. > > Cheers, > Justin > Android Team @ Google > > On Feb 3, 1:58

[android-developers] Re: Starting multiple services sequentially

2009-02-03 Thread Dianne Hackborn
If they are running in the same process, you could just use globals to keep track of who is running and decide what next to do. If you really just want one thing to run at a time, though, why not just put it all in one service? A common pattern is to have a service that you submit work to with st

[android-developers] Re: Questions about using Android native apps on commercial products

2009-02-03 Thread Dianne Hackborn
Nearly all of the code in Android is licensed under Apache 2.0, which lets you do pretty much whatever you want with it. You should look at the exact license associated with the specific code to make sure it is okay. As far as sample code... well those are there to show you how to write apps, so

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-03 Thread gsmd
The whole non-moderated comment system is broken from the start. I don't want spam on MY app's page! Wish they added an option to disable comments alltogether. Besides that, not being able to charge for app through Android Market makes it just a free (ugly!) showroom for demo versions. On Feb 2,

[android-developers] Re: Listening to changes in address book

2009-02-03 Thread Shrikant Agrawal
Thanks Mark But is there any way to know what fields are changed. On Feb 3, 10:08 pm, Mark Roberts wrote: > You can register an observer to monitor a specific uri.  For example: > > Define the observer > private ContentObserver yourObserver = new ContentObserver(new Handler > ()) { >         @

[android-developers] How to send xml file to server?

2009-02-03 Thread manoj
Hi friends, I want to send the some xml data to server. Here I am showing you the example I tried: try { String s = "\n" +"Manoj\n" +"123\n" +"dmh\n"; String url = "http://localhost:9090/loggerapi.php?data="+s; HttpClient httpclient = new DefaultHttpCli

[android-developers] Re: Listening to changes in address book

2009-02-03 Thread Mark Roberts
I do not believe so. The above code just redraws the screen anytime there is a change to the people table. On Feb 3, 1:07 pm, Shrikant Agrawal wrote: > Thanks Mark > > But is there any way to know what fields are changed. > > On Feb 3, 10:08 pm, Mark Roberts wrote: > > > You can register an ob

[android-developers] Abort Http URL

2009-02-03 Thread Kamal Hasan
Hi Anyone knows how to block or abort a http url request in android ? Thanks and Regards Kamal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] .apk file resource optimisation

2009-02-03 Thread Raja Nagendra Kumar
When we open up the .apk file in winzip (as it is a jar file), we see the classes are compressed and stored as one file. However the resources are taken as is. Would it not be a nice approach to compress all the resources (specially if all the application has many images) and store it as one file,

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-03 Thread Beshoy Girgis
I think some cool additions to the market would be to be able to rate a comment with a thumbs up or down... then from there, show the top ten rated comments or what not.. no need to show all 1000 of them. Sincerely, Beshoy Girgis Owner One Design Studios, LLC http://www.ODSLabs.com 816.347.86

[android-developers] Listview layout and other widgets

2009-02-03 Thread Al
In my listview, I'm trying to make the list row show 2 imageviews as well as the textview which holds the data. The layout of a single row is like this: [textview | img1| img2]. The problem is the text inside the textview overlaps the imageviews. I've tried various layout options but can't seem to

[android-developers] Unable to access contacts from device

2009-02-03 Thread Rockingteam
Hi, our application can accesses contacts when it is run on an emulator and when it is installed on a device, we are unable to access contacts. any suggestions??? Regards, Rockingteam --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Re: How to get lists of email from contact application?

2009-02-03 Thread dileep singh
Thanks a lot mark.I will try the above code. On Tue, Feb 3, 2009 at 10:46 PM, Mark Roberts wrote: > > If you are looking for the emails for a specific contact then you > could do it like this where id is the id of the contact for which you > are trying to get the data: > > public static final S

[android-developers] Re: Listview layout and other widgets

2009-02-03 Thread Mark Roberts
Have you tried changing the RelativeLayout to a LinearLayout? On Feb 3, 2:07 pm, Al wrote: > In my listview, I'm trying to make the list row show 2 imageviews as > well as the textview which holds the data. The layout of a single row > is like this: [textview | img1| img2]. The problem is the te

[android-developers] Re: Starting multiple services sequentially

2009-02-03 Thread Peli
Have you looked at ordered broadcasts? http://code.google.com/android/reference/android/content/Context.html#sendOrderedBroadcast(android.content.Intent,%20java.lang.String%29 Maybe this is what you need? Peli On Feb 3, 9:03 pm, Al Sutton wrote: > I'm not limited to services, so if there is a

[android-developers] Re: MMS ( Messaging App ) ACTION_SEND "text/plain"

2009-02-03 Thread Alexey
oh .. man .. i was thinking i'm going mad ..looking at the source and didn't realized that it already changed .. oh well .. THANKS !!! On Feb 3, 2:03 pm, Peli wrote: > The answer is > simple:http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blo... > > The original version of MMS

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-03 Thread Ronald van der Lingen
Justin, Thanks for looking into the situation. I will wait and see whether the statistics will be updated in the next couple of days. The app has been in the market for 5 days, so there is already quite a big delay. One interesting thing is that the ratings do show up in the developer console (8

[android-developers] MMS ( Messaging App ) ACTION_SEND "text/plain"

2009-02-03 Thread Alexey
Hi All i'm looking for answer why Messaging is not showing up in the activity chooser dialog. Looking at the manifest it should do exactly that

[android-developers] Re: How to use proxy server on the g1?

2009-02-03 Thread friedger
I am interested as well. Friedger On Jan 30, 3:18 pm, joff wrote: > Anyone figured this one out yet? > > On Jan 24, 9:38 pm, DJMoran wrote: > > > I also need the exact same help, my school uses a proxy server to > > access the web. > > > Also my home wireless doesn't need a proxy to access the

[android-developers] Re: Starting multiple services sequentially

2009-02-03 Thread Al Sutton
Bingo Sir, I doff my hat to your greater knowledge. Thanks, Al. Peli wrote: > Have you looked at ordered broadcasts? > http://code.google.com/android/reference/android/content/Context.html#sendOrderedBroadcast(android.content.Intent,%20java.lang.String%29 > > Maybe this is what you need? >

[android-developers] Re: Serialization problem with objects, when using ksoap

2009-02-03 Thread Michael MacDonald
Maybe it's as simple as PAT_DETAILS is not implementing java.io.Serializable? sooraj.rit wrote: > Hi i want to implement a webmethod to search some data and I have done > it well in C#.net . Now i want to access that method from android . > The real problem I am facing is that, I have to use a co

[android-developers] Re: how to pass object as a parameter when starting a service

2009-02-03 Thread CJ
any hints? On Feb 3, 10:53 am, CJ wrote: > Here I have a broadcastreceiver where i need to start a service. but, > the service need an object from this broadcastreceiver in order to > function. so, far, i have not found a solution. > Can anybody help me out? > thx --~--~-~--~~---

[android-developers] Mships.com << Can you help review, etc?

2009-02-03 Thread Mships
Hi guys! Asking for a bunch of immediate feedback on Mships.com Please go to http://www.mships.com and email what you think of the site, give feedback, suggestions for launching, specific online groups this might appeal to, ideas on how to promote easily, quickly online, virally etc. What I am as

[android-developers] Re: how to pass object as a parameter when starting a service

2009-02-03 Thread zero
You can pass a Bundle into the Intent that starts the service, so as long as your object fits into a Bundle, no problem. On Feb 3, 10:30 pm, CJ wrote: > any hints? > > On Feb 3, 10:53 am, CJ wrote: > > > Here I have a broadcastreceiver where i need to start a service. but, > > the service need

[android-developers] Question about android instrumentation

2009-02-03 Thread silverburgh.me...@gmail.com
Hi, Can you please tell me if you know how to get the Andorid unit test instrementation to call my activity’s onActivityResult()? I can’t find anything here: http://code.google.com/android/reference/android/app/Instrumentation.html Thanks in advance. --~--~-~--~~~

[android-developers] Re: Selected state of WebView in a ListView does not show selection

2009-02-03 Thread Mark Murphy
Mark Nuetzmann wrote: > Question, is there a way to show that a WebView item contained as a > item in a ListView is selected? Right now the WebView does not seem > to display its contents transparently like every other control so it > takes up the entire view and does not show its state as select

[android-developers] Re: Selected state of WebView in a ListView does not show selection

2009-02-03 Thread Romain Guy
We built an app at some point that was made of a ListView of WebViews. I haven't tried this in a while though. On Tue, Feb 3, 2009 at 3:00 PM, Mark Murphy wrote: > > Mark Nuetzmann wrote: >> Question, is there a way to show that a WebView item contained as a >> item in a ListView is selected? R

[android-developers] Re: Recognising when an app is "closed"

2009-02-03 Thread Mark Nuetzmann
mcswd01, You also might take a look at using the onDestroy() event of the first/ main Activity. onDestroy for the main activity will only get called if you hit back from that activity of call finish() for that activity. I think this is what you are looking for. On Jan 17, 10:13 am, mscwd01 wr

[android-developers] Get your own affiliatesite today and start earning real money

2009-02-03 Thread brilliant.danielw...@gmail.com
Are you tired of promoting others people products without seeing any result? If yes, then you don't have to worry any more, because with your own affiliatesite, you will start promoting your own products. Which means you get more money than you used to do when you were promoting others people pro

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-03 Thread Justin (Google Employee)
Ronald, I've talked with the Market team and there may be a delay in statistics gathering. My recommendation is to wait a day or two and see what your results are then. Either way, please post back with your results in a day or two. Cheers, Justin Android Team @ Google On Feb 3, 9:51 am, Ronald

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-02-03 Thread fadden
On Feb 3, 1:42 am, blindfold wrote: > One thing that kept me from further working with this a few days ago > is that I ran the monkey tool with the --hprof option, which according > tohttp://code.google.com/intl/zh-TW/android/reference/monkey.html > puts results in the data/misc folder. However,

  1   2   >