[android-developers] Re: [Android 1.5_r2]How to set the http proxy in the real device?

2009-07-06 Thread Android Users
You can directly do the proxy settings in the APN Settings of your device. This should work 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

[android-developers] com.android.settings.SecuritySettings - Activity not found exception

2009-06-20 Thread Android Users
Hi all, I tried to display the settings page so that the user can enable or disable GPS. It works fine in the emulator but on the device it gives a ActivitynotFoundException... Any one know what the problem is? The code used to display is below: ComponentName toLaunch;

[android-developers] Re: Can we Change APN settings programmatically?

2009-06-15 Thread Android Users
How can i make use of android.provider.Settings package feature? There are few constants like "ACTION_APN_SETTINGS " which has description saying "Activity Action: Show settings to allow configuration of APNs

[android-developers] Can we Change APN settings programmatically?

2009-06-15 Thread Android Users
Hi all, Can we change the apn settings programmatically? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscri

[android-developers] Re: Marquee

2009-06-14 Thread Android Users
Thanks a lot... [?] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to and

[android-developers] Re: Can i set a different Browser Homepage through code?

2009-06-14 Thread Android Users
Thank you. On Sat, Jun 13, 2009 at 7:15 AM, Dianne Hackborn wrote: > I am almost positive you can't. I sure hope you can't. :) > > > On Fri, Jun 12, 2009 at 5:15 AM, Android Users wrote: > >> Hi all, >> Can i set a different Browser Homepage through code? If

[android-developers] Marquee

2009-06-14 Thread Android Users
Hi All, I know that there is marquee built in to 1.5 . But that is only on focus of the widget. Is there a way we can implement it otherwise? ie.. even without focus for a text view? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribe

[android-developers] Can i set a different Browser Homepage through code?

2009-06-12 Thread Android Users
Hi all, Can i set a different Browser Homepage through code? If so then how? Need info about this urgently. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: How to change default google.com page in android browser

2009-06-12 Thread Android Users
Can this change of home page be done through code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe fro

[android-developers] Send email to the preconfigured mail id's

2009-06-11 Thread Android Users
Hi, I am able to send a mail by entering the mail id's programmatically. Can anyone please share the code how to send a mail to the preconfigured mail id's programmatically. It is very urgent. Thanks in advance. Awaiting for your response. Regards Androidmailer --~--~-~--~~-

[android-developers] Re: Running two activities on a single screen

2009-06-10 Thread Android Users
Using ActivityGroup i can shift between two activities but updating only some part of one activity (say a view) with the result of another activity is where i am stuck up. Is this possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[android-developers] Running two activities on a single screen

2009-06-10 Thread Android Users
Hi all, Can we run two activities on a single screen? if so, then could anyone give me an as to how its done? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Re: Is there any way to lauhc Google Maps application with direction

2009-06-02 Thread Android Users
Hi, This will help you.Pass in the source and destination points and you'll get the directions. Intent mapIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?f=d&saddr= "+sourceLat+","+sourceLongt+"&daddr="+destLat+","+destLongt+""));

[android-developers] Re: VM won't let us allocate 6291456 bytes

2009-06-02 Thread Android Users
Thanks a lot for the detailed description. Searching in some posts got me the solution few hrs back, but had not understood the usage of the value that we are setting. Now it is making sense... [?] --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: How to decode large resolution Images

2009-06-02 Thread Android Users
Any help on this? Facing the same issue --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this grou

[android-developers] Resizing an image

2009-06-01 Thread Android Users
Hi all, Can i resize an image to a lower resolution as i am getting an OutOfMemoryException when trying to display image with 2048x1536 resolution or more? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: Is this possible? Launching one application from another?

2009-06-01 Thread Android Users
Ok thanks for the quick response. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, sen

[android-developers] Re: Is this possible? Launching one application from another?

2009-06-01 Thread Android Users
Can you just give me a sample as to how we can do that? Say i have the following packages: Main app: com.main.startapp - StartApp.java sub apps: com.sub.app1 - App1.java com.sub.app2 - App2.java com.sub.app3 - App3.java com.sub.app4 - App4.java How would u call the appropriate application throug

[android-developers] Is this possible? Launching one application from another?

2009-06-01 Thread Android Users
Hi all, I have a scenario. Say I have developed 4 applications. Is it possible to group these applications, so that I can access and launch these from one location? Can the below flow work? Start an Application |

[android-developers] Re: how to set the size of tab in tabHost?

2009-05-28 Thread Android Users
Try this. tabHost.getTabWidget().getChildAt(0).setLayoutParams(new LinearLayout.LayoutParams(width,height)); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: ActivityGroup + embedded Activity search window

2009-05-27 Thread Android Users
You have to be careful with the context in which you are using an activity group. I encountered this problem when i was trying to show a dialog in an activity but with different context. So if you are using any context as parameter, just verify it. --~--~-~--~~~---~--~-

[android-developers] Re: Has the final android 1.5 sdk released?

2009-05-21 Thread Android Users
I meant in the one available for download? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this g

[android-developers] Re: Has the final android 1.5 sdk released?

2009-05-21 Thread Android Users
Has anyone faced this "Geocoding returning null" issue when using 1.5 version? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googleg

[android-developers] Re: Has the final android 1.5 sdk released?

2009-05-21 Thread Android Users
Hey guys, What is the final verdict then? The reason i asked for the Final SDK release is because Geocoding has a packaging bug and is to be fixed in the final sdk release. http://groups.google.com/group/android-developers/browse_thread/thread/79f94e31e647db60# I had developed an application whic

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-21 Thread Android Users
Any help on this as this is stopping our work. Searched in all android forums, but no luck.. [?] --~--~-~--~~~---~--~~ 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] Re: Geocoder not returning result

2009-05-21 Thread Android Users
Any help on this as this is stopping our work. Searched in all android forums, but no luck.. [?] --~--~-~--~~~---~--~~ 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] Re: Geocoder not returning results in 1.5 preview

2009-05-21 Thread Android Users
Any help on this as this is stopping our work. Searched in all android forums, but no luck.. :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] HTC Magic not supporting Maps.

2009-05-21 Thread Android Users
Hi all, HTC Magic that i have is not supporting Maps(no maps application also). I checked in the ddms, and it does not contain maps.jar. Is there any cupcake update which i can use to update the device to support maps? Wating for a quick response. Its urgent. Thanks in advance. --~--~-~--

[android-developers] Re: Removing/adding activities from/to an ActivityGroup

2009-05-21 Thread Android Users
Just a guess. Try destroying the activity B without destroying activity A. This may resume the activity A as soon as the activity B is destroyed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Has the final android 1.5 sdk released?

2009-05-21 Thread Android Users
Hi all, Has the final android 1.5 sdk released? I found in a post that the there was a packaging bug related to Geocoding in android 1.5, so wanted to know whether that issue has been fixed or not. http://groups.google.com/group/android-developers/browse_thread/thread/79f94e31e647db60# Appreciate

[android-developers] Re: Stack Over Flow Error on using SDK 1.5_r1

2009-05-19 Thread Android Users
Decrease the heirarchy level of you UI. As experienced by me, 1.5 allows only 13 levels. Use the Heirarchy Viewer tool from the sdk to get a better view of your heirarchy. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[android-developers] Re: Removing/adding activities from/to an ActivityGroup

2009-05-19 Thread Android Users
Yes you can do that. You can get a LocalActivityManager from the ActivityGroup, and from that reference you can destroy the respective activities. actitivitygroup.getLocalActivityManager().destroyActivity(,true); And Accordingly you can start the other activity actitivitygroup.getLocalActivityMa

[android-developers] Re: Geocoder not returning result

2009-05-19 Thread Android Users
I have tried with both the Targets but still not working. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscr

[android-developers] Re: how to stick two buttons together?

2009-05-18 Thread Android Users
Its not the right way but try giving a -ve margin. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe fro

[android-developers] Re: GeoCoder is not working in SDK 1.5

2009-05-14 Thread Android Users
Hi, Even i am facing the same problem. Found this link.. http://groups.google.com/group/android-developers/browse_thread/thread/79f94e31e647db60/343b2b8e5fdafd3d On Fri, May 15, 2009 at 11:17 AM, manoj wrote: > > Hi friends, > > I have two problem regarding Location API for SDK 1.5 > > 1) I h

[android-developers] Re: Geocoder not returning result

2009-05-14 Thread Android Users
Has anyone else faced issue with geocoding on android 1.5? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubsc

[android-developers] Re: problems with my htc magic

2009-05-14 Thread Android Users
Hi , Even i had the same problem, my device wasn't getting detected. Download the below and install. It will work. http://rapidshare.com/files/229345224/HTCSync_1.0.0.exe.html On Thu, May 14, 2009 at 6:00 PM, allian...@groupmedianet.com < allian...@groupmedianet.com> wrote: > > yes > > I have

[android-developers] Re: getting addresses from location

2009-05-13 Thread Android Users
Check this, http://groups.google.com/group/android-developers/browse_thread/thread/79f94e31e647db60/aedf666aa0faa216?lnk=raot&pli=1 On Wed, May 13, 2009 at 2:55 PM, neoraptor wrote: > > Hello, > > I have the same problem (code working on SDK 1.1 but not on 1.5). > Does someone find a solution?

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-13 Thread Android Users
Do we get the Google APIs addon for download? Or is there anyway to upgrade the device to support maps? If so please provide a way to do so. Thanks in advance. Hoping for a quick response. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: dialog is getting dismissed when I am flipping the device

2009-05-13 Thread Android Users
Hi Dianne, I suggested the way i followed to retain the state of the dialog, which may not be preferred. Thanks for the suggestion. It would be good if you could provide a sample as to how to retain the state after flipping, so that i could implement the same. --~--~-~--~~~

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-13 Thread Android Users
Any help on this?.. On Mon, May 11, 2009 at 11:04 AM, Android Users wrote: > Hi Raphael, > > Thanks for your reply. > > Build number : 2.14.720.1 146733 CL#24595 > Carrier : AIRTEL > > > > > On Sun, May 10, 2009 at 3:37 AM, Raphael wrote: > >> >>

[android-developers] Re: Dailouge box disappears after flipping the device

2009-05-12 Thread Android Users
Repeated post.[?] Flipping the device would recreate the activity. So the dialog is getting dismissed. Override the method onConfigurationChanged(). and for the activity, set the configChangesparameter to "keyboardHidden|Orientation" in the manifest file. doing this, will not recreate the activity

[android-developers] Re: dialog is getting dismissed when I am flipping the device

2009-05-12 Thread Android Users
Flipping the device would recreate the activity. So the dialog is getting dismissed. Override the method onConfigurationChanged(). and for the activity, set the configChanges parameter to "keyboardHidden|Orientation" in the manifest file. doing this, will not recreate the activity. --~--~

[android-developers] Re: apk manual install problem Failure [-12]

2009-05-12 Thread Android Users
The problem is due to change in SDK version. Your friend may have tried to run the apk on an emulator which is not of 1.5 firmware... I had faced this issue when trying to install on the device with 1.0 firmware. changing the minSDKVersion to '1' solved the problem. --~--~-~--~~---

[android-developers] Re: Geocoder not returning result

2009-05-12 Thread Android Users
I have tried it both on emulator and device. But no luck. [?] The result is an empty list. [?] I have posted one more query related to device. Just have a look if that is causing any problem in geocoding. http://groups.google.com/group/android-developers/browse_thread/thread/b1e7a5d6c75cf03a Any

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Android Users
The code you have posted is fine. just instead of int pos = s.getSelectedItemPosition(); you can use, int pos = position; Think that should work. May be i confused you with the method name in my previous post.[?] i meant setOnItemSelectedListener(selectListener) only... --~--~-~--~

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Android Users
What is the exception you are getting? You can directly use the position parameter in the onItemSelected rather than trying to get the position explicitly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Android Users
try setOnItemSelected() method. worked for 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 fr

[android-developers] Re: How to get id of array in spinner

2009-05-11 Thread Android Users
Add a listener to the spinner.. spinnerObj.setOnItemClickListener(new OnItemClickListener(){ public void onItemClick(AdapterView parent, View view, int posi

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-10 Thread Android Users
Hi Raphael, Build number : 2.14.720.1 146733 CL#24595 Carrir : AiIRTE On Sun, May 10, 2009 at 3:37 AM, Raphael wrote: > > On Fri, May 8, 2009 at 10:31 PM, Android Users > wrote: > > Hi all, > > I am not able to install any map related application onto my HTC magic >

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-10 Thread Android Users
Hi Raphael, Thanks for your reply. Build number : 2.14.720.1 146733 CL#24595 Carrier : AIRTEL On Sun, May 10, 2009 at 3:37 AM, Raphael wrote: > > On Fri, May 8, 2009 at 10:31 PM, Android Users > wrote: > > Hi all, > > I am not able to install any map related applicat

[android-developers] Re: Geocoder not returning result

2009-05-09 Thread Android Users
Its not working on both the emulator and the device. 1. If i am using the Target 3 AVD, then I am getting an IOException on the below mentioned method call. addressList =geocoder.getFromLocation(mLatitude, mLongitude, 1); latLongList = geocoder.getFromLocationName(c

[android-developers] Re: Geocoder not returning result

2009-05-08 Thread Android Users
Any help on this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to andro

[android-developers] Problem installing application onto HTC Magic

2009-05-08 Thread Android Users
Hi all, I am not able to install any map related application onto my HTC magic device. it is giving the a exception saying INSTALL_FAILED_MISSING_SHARED_LIBRARY. I have built the application onto Target 3 (Google APIs). Am i missing something while creating a map application in android 1.5? Any s

[android-developers] Geocoder not returning result

2009-05-08 Thread Android Users
Hi, My application that uses geocoding was working fine till last week and now all of a sudden am not getting proper data from the same. I used getLocality() , which was returning CITY name previously. But now it is returning NULL. Is something changed? or Has someone faced the same issue? My a

[android-developers] Re: Problem with Internet connection through emulator

2009-05-07 Thread Android Users
SDK 1.5 release notes mention this, "In some cases, you may encounter problems when using the browser on an emulator started with the command-line option -http-proxy." Ref : http://developer.android.com/sdk/RELEASENOTES.html On Fri, May 8, 2009 at 8:50 AM, Gerald Logor wrote: > After spending h

[android-developers] Maps behind proxy in 1.5

2009-05-07 Thread Android Users
Hi, I was not able to access maps behind proxy with SDK 1.0.(inspite of adding proxy to system database or give command line option of -http -proxy) Does the problem still persist with SDK1.5 or is there a work around? Thanks in advance. --~--~-~--~~~---~--~~ You

[android-developers] Re: Soft keypad not appearing for edit text-Urgent

2009-05-07 Thread Android Users
Problem solved. It was because the view hierarchy was too deep. On Tue, May 5, 2009 at 11:45 AM, Android Users wrote: > Hi, > > I have an application that has 2 AutoComplete TextViews on a single screen. > I have just upgraded the application from 1.0 to 1.5 and I am facing 2 > i

[android-developers] Soft keypad not appearing for edit text-Urgent

2009-05-04 Thread Android Users
Hi, I have an application that has 2 AutoComplete TextViews on a single screen. I have just upgraded the application from 1.0 to 1.5 and I am facing 2 issues here: 1. I get soft keypad for only one of the text view. Wat could be the problem with the other one? 2. For the text view that i get soft

[android-developers] Re: Start Application with SMS

2009-05-04 Thread Android Users
like to receive it in my application, all other > sms messages should go to the phones sms box. > > > > > > On May 4, 2:49 am, Android Users wrote: > > Hi, > > > > Implement a BroadcastReceiver class and perform the functions that u > intend > >

[android-developers] Re: Start Application with SMS

2009-05-03 Thread Android Users
Hi, Implement a BroadcastReceiver class and perform the functions that u intend to in the onReceive() method. Also, add the class u have implemented as a receiver in the manifest. Eg: you can check this.. http://www.anddev.org/recognize-react_

[android-developers] Re: AutocompleteTextView

2009-05-03 Thread Android Users
You can find samples in API Demos.. On Mon, May 4, 2009 at 11:29 AM, 余雷 wrote: > Hi , all. Can any one give me a example or source code of using > AutocompleteTextView, I met a lot problems of using this view. Thanks. > > > > --~--~-~--~~~---~--~~ You received th

[android-developers] Re: What is the correct way to refresh UI when I use android:configChanges="keyboardHidden|orientation"

2009-04-27 Thread Android Users
Hi, There are various options mentioned here. http://www.devx.com/wireless/Article/40792/0/page/1 see if this helps... On Mon, Apr 27, 2009 at 1:55 PM, Wang He wrote: > > 1. I don't want to recreate the activity when switching at Land & > Port, many runtime data I don't want to save and reload;

[android-developers] Re: question about tabs at the bottom

2009-04-21 Thread Android Users
How do we display the tabs at the bottom? On Wed, Apr 22, 2009 at 8:44 AM, Videoguy wrote: > > I have tabbed activity with tabs at the bottom. The labels of each tab > are getting clipped unless I set the TabWidget too high (~60dip). My > tabs don't have any icons. > > What is the trick to get

[android-developers] Re: android-task in tab from TabHost widget

2009-04-21 Thread Android Users
> > This works "outside a tab" and my issue is to take it into a tab... > > On 21 Apr., 10:36, Android Users wrote: > > You have to create a class extending the ActivityGroup and set that as > > content for the tab. > > > > tabHo

[android-developers] Re: android-task in tab from TabHost widget

2009-04-21 Thread Android Users
think you got it.. How does that work for example plz? > > On 21 Apr., 09:19, Android Users wrote: > > Sorry that i am re-phrasing your questions. Just want to confirm with my > > understanding, running more than one activity (changing from one activity > to > > another

[android-developers] Re: android-task in tab from TabHost widget

2009-04-21 Thread Android Users
l but i really mean a android-task! So a few > activities where sequential launched and i would like to see all the > content views from these activities in the tab. > > On 21 Apr., 07:54, Android Users wrote: > > You mean running an activity within a tab > > > > If

[android-developers] Re: android-task in tab from TabHost widget

2009-04-20 Thread Android Users
You mean running an activity within a tab If so, yes you can. Ex: tabHost.addTab(tabHost.newTabSpec("Tab 1") .setIndicator("Tab 1") .setContent(new Intent(this, Tab1Data.class) .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP))); .addFlags(Intent.FL

[android-developers] Re: Question regarding adding a view that can overlap other views in the layout/activity.

2009-04-20 Thread Android Users
Just let me know if i have understood right. U have a layout say having 3 views. Dynamically if u add a view, the layout should get adjusted accordingly and if u keep only one view in the layout then the single view should fill the whole layout. If thats right, the try setting layout weight for e