[android-developers] adding a image just below the progressbar

2012-06-13 Thread for android
How can i create a custom view where i can add a imageview just below the progress percentage in the progress bar. That is I need an image just below say 70% or 80% based on where the progress bar is? -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] Re: find out which activity resumed/started my activity?

2012-01-23 Thread for android
I was able to figure out a way to achieve my requirement of having a password entered whenever my app has been triggered from another application.Basically extend this class except for my lancher activity. public abstract class BaseActivity_old extends Activity { boolean isCreated = false; prote

[android-developers] find out which activity resumed/started my activity?

2012-01-23 Thread for android
Is there any way can i see whether my application' activity itself started my activity or if it was resumed after a phone call or from the task manager(which shows the lsit of all application on long click of the home button.) I tried to put extras in my activity,but that works only when i am in m

[android-developers] start emulator with ant

2010-09-01 Thread for android
I need to start the emulator from an ant script run the test cases and stop the emulator.Any pointers on how to acheive 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@googlegrou

[android-developers] Adobe 10.1 player

2010-08-24 Thread for android
Does the Adobe 10.1 player expose any intents so that other applications can use for playing flash videos?A quick Google could not yield me useful result? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Re: WebView question

2010-08-04 Thread for android
any one? On Mon, Aug 2, 2010 at 5:51 PM, for android wrote: > I have seen the WebView Demo for JS alerts and the uses.I have not been > able to find out whether we could actually get a result of JS in the > java-code.Anypointers? > > Thanks! > -- You received this messa

[android-developers] WebView question

2010-08-02 Thread for android
I have seen the WebView Demo for JS alerts and the uses.I have not been able to find out whether we could actually get a result of JS in the java-code.Anypointers? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

Re: [android-developers] Re: Using barcode scanner as input method?

2010-07-30 Thread for android
Don't you guys think that BarCode reading should be part of a the SDK itself,instead of everyone creating their own kind of implementations???Thoughts? On Mon, Jun 28, 2010 at 10:13 AM, Brad Gies wrote: > What's the problem you are having? > > The Zxing barcode scanner returns the barcode to you

[android-developers] Re: Prob with remote service:

2009-11-23 Thread for android
any help? On Mon, Nov 23, 2009 at 1:01 PM, for android wrote: > I am binding a remote service from an activity and unbind the same on the > onPause of the Activity,when the activity again restarts i bind the service > .It does bind with the remote service and i am also successful i

[android-developers] Prob with remote service:

2009-11-22 Thread for android
I am binding a remote service from an activity and unbind the same on the onPause of the Activity,when the activity again restarts i bind the service .It does bind with the remote service and i am also successful in getting the remote-service method getting executed after the restart.But when retur

Re: [android-developers] Re: Widget Layout Frustration

2009-11-11 Thread for android
Oh ok.I was under the assumption that only the launcher application understands that Intent. On Wed, Nov 11, 2009 at 9:49 PM, Romain Guy wrote: > That's the common Intent. > > On Wed, Nov 11, 2009 at 1:22 AM, for android wrote: > > i was referring to the INSTALL_SHOR

Re: [android-developers] Re: Widget Layout Frustration

2009-11-11 Thread for android
i was referring to the INSTALL_SHORTCUT in the launcher application with action "com.android.launcher.action.INSTALL_SHORTCUT" which refers to the Launcher application.Is there any common Intent for that? On Thu, Nov 5, 2009 at 9:09 PM, Romain Guy wrote: > >Is there any common intent to crea

[android-developers] Re: Extremely long DNS lookup (and failure) on T-Mobile network

2009-10-14 Thread for android
http://code.google.com/p/android/issues/detail?id=2764 On Thu, Oct 15, 2009 at 4:40 AM, tomei.ninge...@gmail.com < tomei.ninge...@gmail.com> wrote: > > Hello, > > This happens only when my G1 phone is on T-Mobile network: > > I found that when I try to go to the browser, and type the address >

[android-developers] Question on application icon

2009-10-13 Thread for android
I want to change the application icon depending on the phone dynamically.Is it possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] Question on task affinites

2009-10-05 Thread for android
Here's my requirement: I need to start an Theme Dialog activity from a widget.From this widget I need to start another activity from another application and get the result from there to be used in the Theme Dialog activity. Now if I have the application in standard mode,then this activities becom

[android-developers] Re: Remote Process Question

2009-09-16 Thread for android
nce. > You might to look in the debugger at what your threads are doing. > > On Tue, Sep 15, 2009 at 8:22 PM, for android wrote: > >> any-one? >> >> >> On Tue, Sep 15, 2009 at 3:14 PM, for android wrote: >> >>> <> >>> >>>

[android-developers] Re: Remote Process Question

2009-09-15 Thread for android
any-one? On Tue, Sep 15, 2009 at 3:14 PM, for android wrote: > <> > > This happens even before I unbind > > < could be>> > > Is there any work around for this? Are you sure that there is a limitation. > > > On Tue, Sep 15, 2009 at 3:08 PM, Cyril RO

[android-developers] Re: Remote Process Question

2009-09-15 Thread for android
The only work around I got to know is killing the process when the method is being called at 15th time,then it obviously started working.Is there anything I am missing here. On Tue, Sep 15, 2009 at 3:14 PM, for android wrote: > <> > > This happens even before I unbind > >

[android-developers] Re: Remote Process Question

2009-09-15 Thread for android
on of 16 things but I have no idea what it could > be > > > > *From:* android-developers@googlegroups.com [mailto: > android-develop...@googlegroups.com] *On Behalf Of *for android > *Sent:* mardi 15 septembre 2009 11:20 > *To:* Android Developers > *Subject:* [android-develop

[android-developers] Remote Process Question

2009-09-15 Thread for android
I needed to call a remote service.The service basically fetches data from the network.I am bind the connection once,and then I unbind the connection when the user is no more in that page. Everything works fine.Except that when I call the sa,e remote method for 17th time,it just does not call the s

[android-developers] Other home applications breaking our app

2009-08-28 Thread for android
Hi, Our application is being used by many users,unfortunately,when they start the app with some desktop applications the application does not open at all.This make users think that our app is buggy.Has this behaviour been noticed by other developers.This is really bad for us. Our app works perfec

[android-developers] Re: How to know software keyboard is on screen or not?

2009-08-25 Thread for android
probably this(i have not tried it though) android-sdk-windows-1.5_r1/docs/reference/android/view/inputmethod/InputMethodManager.html#isActive(android.view.View) On Tue, Aug 25, 2009 at 1:33 PM, aby wrote: > > Hi, > Does anyone knows how to know current software keyboard is on screen > or not

[android-developers] Re: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?

2009-08-25 Thread for android
<> its simple 15 mins max. <> No.u just need to agree to the terms and conditions On Tue, Aug 25, 2009 at 5:11 PM, soniya wrote: > > Hi All > > What is the approx time taken to register as a developer and to be > able to publish apps on the Android Market? > > Do we need to wait for any

[android-developers] Regarding streaming files

2009-08-25 Thread for android
If i am using the streaming API's provided by the SDK that is mMediaPlayer.setDataSource(url); mMediaPlayer.prepareAsync(); If we are using this and if there are some max file transfer per connection rules set by the connection provider,does the SDK

[android-developers] Re: Memory problem

2009-08-06 Thread for android
How is the FasterBitMapDrawable in the Shelves different from normal BitmapDrawable? On Thu, Aug 6, 2009 at 2:38 PM, peter wrote: > > Create a Bitmap is very consume memory > > On Aug 6, 2:41 pm, Rahul wrote: > > Hi all > > > > i have one big problem in android due to this my application crashe

[android-developers] Re: Getting virtual keyboard

2009-08-05 Thread for android
any help On Wed, Aug 5, 2009 at 3:50 PM, for android wrote: > I wanted to get a virtual keyboard on click of a button and when the button > takes focus.the following code works only for on focus,but does not work for > the onClickListner. > > How do I get the virtual keyboar

[android-developers] Re: Clearing the cache of your app on exit

2009-08-05 Thread for android
if (!success) { return false; } } } // The directory is now empty so delete it return dir.delete(); } On Wed, Aug 5, 2009 at 3:46 PM, for android wrote: > Thanks! > > > On Tue, Aug 4, 2009 at 11:04 AM, Dia

[android-developers] Getting virtual keyboard

2009-08-05 Thread for android
I wanted to get a virtual keyboard on click of a button and when the button takes focus.the following code works only for on focus,but does not work for the onClickListner. How do I get the virtual keyboard on click of a button?Any help ---

[android-developers] Re: Clearing the cache of your app on exit

2009-08-05 Thread for android
Thanks! On Tue, Aug 4, 2009 at 11:04 AM, Dianne Hackborn wrote: > On Mon, Aug 3, 2009 at 12:20 AM, for android wrote: > >> i was not talking about the files which my app writes on the local file >> system. >> >> I was talking about the "Clear Cache

[android-developers] Re: Clearing the cache of your app on exit

2009-08-03 Thread for android
hey are your files, you can do what you > want with them. > > On Sun, Aug 2, 2009 at 11:46 PM, for android wrote: > >> < Apps --> Manage Apps --> "My App" --> Clear Cache>> >> >> >> How do we clear this cache progrmatically? >> &g

[android-developers] Re: Clearing the cache of your app on exit

2009-08-02 Thread for android
< Apps --> Manage Apps --> "My App" --> Clear Cache>> How do we clear this cache progrmatically? On Sun, Jul 26, 2009 at 3:44 AM, niko001 wrote: > > Hi Mark, > > thanks for your answer. > > I mean the cache that the users can delete themselves by going to > Settings --> Apps --> Manage Apps -->

[android-developers] Re: Block list view item

2009-05-21 Thread for android
http://developer.android.com/reference/android/widget/BaseAdapter.html#isEnabled(int) On Thu, May 21, 2009 at 2:41 PM, Muthu Kumar K. wrote: > > Hi All, > I have the list view which is having 10 Items. I want to block few > items (Disable). How do i do this? Can any one help me? > > Thanks in Ad

[android-developers] Re: Alarm issue.

2009-05-21 Thread for android
http://developer.android.com/reference/android/app/AlarmManager.html setRepeating(int type, long triggerAtTime, long interval, PendingIntent

[android-developers] Re: onActivityResult called before onRestart()

2009-05-05 Thread for android
<> Probably you need to set the result.You have to set the result and handle this case also in the onActivityResult() On Tue, May 5, 2009 at 7:57 AM, Jeremy Villalobos < jeremyvillalo...@gmail.com> wrote: > I am updating some code from 1.1 to run with the new SDK 1.5. I noticed > that onActivi

[android-developers] SQLiteException..database is locked

2009-04-21 Thread for android
Basically I have a list page which I get from the network and cache it in the local DB. and on list item click the details of the list is displayed In the list page i have the refresh button which gets the latest state of the list.I run a thread to update the list. When the thread is running and

[android-developers] Re: Mobile Unlocking in india

2009-04-15 Thread for android
its not possible in Vodaphone AFAIK..Only in the airtel n/w its possible On Wed, Apr 15, 2009 at 3:28 PM, vinny.s...@gmail.com wrote: > > Can any body help me unlocking the Android G1 mobile in india for the > Vodafone Network ... > > can body give the APN setting to enter into the phone

[android-developers] Re: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-13 Thread for android
Thanks I got it from another thread. Thanks Again On Tue, Apr 14, 2009 at 10:51 AM, Xavier Ducrohet wrote: > > Information about creating and using AVD is available at > http://developer.android.com/sdk/preview/#avd > > Xav > > On Mon, Apr 13, 2009 at 10:17 PM, for andr

[android-developers] Re: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-13 Thread for android
any one? On Tue, Apr 14, 2009 at 10:34 AM, for android wrote: > Thanks it worked ! > > But i have another prob..I donot know how to add the AVD name? > > > On Tue, Apr 14, 2009 at 10:10 AM, Anonymous Anonymous < > firewallbr...@googlemail.com> wrote: > >> A

[android-developers] Re: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-13 Thread for android
Thanks it worked ! But i have another prob..I donot know how to add the AVD name? On Tue, Apr 14, 2009 at 10:10 AM, Anonymous Anonymous < firewallbr...@googlemail.com> wrote: > ADT 0.9 > > > On Tue, Apr 14, 2009 at 10:00 AM, for android wrote: > >> When I give the

[android-developers] Re: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-13 Thread for android
Mon, Apr 13, 2009 at 9:30 PM, for android wrote: > > When I give the path in Eclipse for the SDK 1.5,it gives the error > message > > no android.jar found. > > > > When i gave the path as the > > ~\android-sdk-windows-1.5_pre\platforms\android-1.5 then i get the er

[android-developers] Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-13 Thread for android
When I give the path in Eclipse for the SDK 1.5,it gives the error message no android.jar found. When i gave the path as the ~\android-sdk-windows-1.5_pre\platforms\android-1.5 then i get the error message "tools\adb.exe" not found. How to solve this? Thanks --~--~-~--~~

[android-developers] Question on Intent WEB_SEARCH

2009-04-12 Thread for android
I am using the following code snippet for searching through Google Intent intent = new Intent(); intent.setAction(Intent.ACTION_WEB_SEARCH); intent.putExtra(SearchManager.QUERY,"searchString") startActivity(intent); Is there any way I can specify through the intents that i want to open new browse

[android-developers] Re: Restoring the active Activity while resuming the application

2009-04-09 Thread for android
t; > I think that all I need to do right now is clean the save/restore > state codes from my project and run the signed copy directly on my > device. > > Thank your for your kind help. > > > On Apr 9, 8:58 am, for android wrote: > > you are finishing the act

[android-developers] Re: Java Application and Native Library Integration

2009-04-08 Thread for android
http://*groups*.google.com/group/*android*-*ndk* On Thu, Apr 9, 2009 at 11:46 AM, Yogi wrote: > > I am not able to find android-ndk group. > Can you please send us the link. > > - Yogi > > On Apr 9, 9:23 am, Dianne Hackborn wrote: > > Native code is n

[android-developers] Re: How to use AutoCompleteTextView with SimpleCursorAdapter

2009-04-08 Thread for android
<> There is also an example in the APi demos with the contacts.~/android-sdk-windows-1.1_r1/samples/ApiDemos/src/com/example/android/apis/view/AutoComplete4.java On Thu, Apr 9, 2009 at 2:32 AM, Paul Moore wrote: > Hello, > > I have an application that involves reading a text dictionary file wi

[android-developers] Re: How to determine when a ScrollView has reached the bottom

2009-04-08 Thread for android
> On Apr 8, 10:33 pm, for android wrote: > > View.onScrollChanged > > > > On Thu, Apr 9, 2009 at 10:53 AM, nwmotog...@gmail.com > > wrote: > > > > > > > > > > > > > I have a TextView inside a ScrollView and I have loaded it with

[android-developers] Re: Restoring the active Activity while resuming the application

2009-04-08 Thread for android
you are finishing the activity onPause..hence you are getting such results. @Override protected void onPause(){ super.onPause(); if(SMBGuesstheNumber.isGameStarted) { savetheGame(); } CtrlMaintanence ctrlMaintanence= new CtrlMaintanence();

[android-developers] Re: list of request codes - their names and values?

2009-04-08 Thread for android
The requestCode is the constant you send from ur code which starts the activity startActivityForResult(intent,100); So you are sending the code 100. you need to look at the result code which are RESULT_OK,RESULT_CANCELED which are defined in the Activity class. On Thu, Apr 9, 2009 at 7:09 AM,

[android-developers] Re: How to determine when a ScrollView has reached the bottom

2009-04-08 Thread for android
View.onScrollChanged On Thu, Apr 9, 2009 at 10:53 AM, nwmotog...@gmail.com wrote: > > I have a TextView inside a ScrollView and I have loaded it with a > bunch of text. When the ScrollView gets to the bottom/top I would > like to load the TextView with new data BUT there doesn't appear to be > a

[android-developers] Re: How to find the height of HTML content displayed in a webview

2009-04-08 Thread for android
Probably these might help you... I have not tried them though..View. getScrollX() and View.getScrollY() and View.scrollTo(int x, int y) On Wed, Apr 8, 2009 at 4:40 PM, Abraham wrote: > > HI All, > > My application generates an HTML file which needs to be displayed to > the user . For this purpos

[android-developers] Re: It has been SDK 1.1r....

2009-04-07 Thread for android
you can use the reset adb when launch fails...I also run on the same config...i find no errors On Tue, Apr 7, 2009 at 7:32 PM, CnmJbm wrote: > > It has been SDK 1.1r already, but why does Android/Eclipse IDE still > launch the emulator or launch my application to emulator VERY > UNRELIABLY??

[android-developers] Re: Postion of the grouppostion or the childposition in a Expandable List.

2009-04-07 Thread for android
Found a way out. int pos = listView.getPositionForView(v); int grpPostion = ExpandableListView.getPackedPositionGroup(listView.getAdapter().getItemId(pos))-1; is this the best way to do it? Thanks On Tue, Apr 7, 2009 at 5:57 PM, for android wrote: > How do I find the postion of the i

[android-developers] Postion of the grouppostion or the childposition in a Expandable List.

2009-04-07 Thread for android
How do I find the postion of the item clicked in an Expandable List. In a list view the listView.getPositionForView(v); is present which gives the postion of the clicked item. But in an expandable list how do i get to know the postion of the grouppostion or the childposition Thanks --~--~---

[android-developers] Re: WebView with theme doesn't show focused text field values

2009-04-05 Thread for android
Use this webView.loadDataWithBaseURL("http://m.myspace.com";, null, "text/html", "utf-8", null); On Sun, Apr 5, 2009 at 12:12 AM, Rmac wrote: > > I have encountered a problem with focused text fields in a WebView not > showing entered text values. As long as a WebView te

[android-developers] Re: How to make a ListView adapt to dynamic element sizes?

2009-04-01 Thread for android
<> example in api demos --- Views/Lists/6.ListAdapter Collapsed On Wed, Apr 1, 2009 at 1:12 PM, Matthias wrote: > > Hi, > > I am struggling over another layouting problem again. I render a > ListView with ellipsized TextView elements, but those text views can > expand in size when the user cl

[android-developers] Re: When save image, how to specify image name?

2009-03-27 Thread for android
did u try TITLE On 3/27/09, rens...@gmail.com wrote: > > Can any one help on this? > > On Mar 26, 6:20 pm, Ren wrote: >> I have the following code to save a bitmap to a jpg file. It works except >> I >> couldn't specify the file name. >> >> The image file is save in /sdcard/dcim/Camera. How do I

[android-developers] Re: How to Invoke Maps application from nay other application

2009-03-26 Thread for android
geo:*latitude*,*longitude* geo:*latitude*,*longitude*?z=*zoom* geo:0,0?q=*my+street+address* geo:0,0?q=*business+near+city http://developer.android.com/guide/appendix/g-app-intents.html * On Thu, Mar 26, 2009 at 3:27 PM, swapnil wrote: > > Hello, > > I want to invoke the (Specifically) Androi

[android-developers] Re: Hide a progressbar?

2009-03-26 Thread for android
in the onCreate set the Progresbar visibilty ProgressBar.setVisibilty(View.INVISIBLE) On Thu, Mar 26, 2009 at 12:34 PM, idev wrote: > > Hi > > I have added an indeterminate progress bar to my view and I want it to > be displayed when the user clicks a button. > The problem is as soon as the acti

[android-developers] Re: Screen Orientation.

2009-03-24 Thread for android
On Tue, Mar 24, 2009 at 10:01 PM, for android wrote: > >> getRequestedOrientation() >> >> >> On Wed, Mar 25, 2009 at 9:34 AM, Suman wrote: >> >>> >>> Hi all... >>> >>> >>>Thanks for replies.

[android-developers] Re: Screen Orientation.

2009-03-24 Thread for android
getRequestedOrientation() On Wed, Mar 25, 2009 at 9:34 AM, Suman wrote: > > Hi all... > > >Thanks for replies. Can any one tell me by which > method i can check the screen orientation? I mean i want to check > whether it is land-scap mode or portrait mode. Thanks in a

[android-developers] Re: Ringtone picker -- how to get return value from EXTRA_RINGTONE_PICKED_URI

2009-03-20 Thread for android
>From your onActivityResult Uri uri = data .getParcelableExtra(RingtoneManager.EXTRA_RINGTONE_PICKED_URI); On Mon, Mar 16, 2009 at 12:50 PM, Ed99 wrote: > > So I'm having trouble getting the return value from the > RingtonManager's ACTION_RINGTONE_PICKER activity... I'm sorry if > I'm just

[android-developers] Re: Performance Problem with ListView / Styled TextView

2009-03-20 Thread for android
tem [1], right? Out of > curiosity, not because I am trying to be a smart ass: Why would this be > faster? > > Cheers, > Mariano > > [1] > http://developer.android.com/reference/android/widget/TwoLineListItem.html > > > On Wed, Jan 14, 2009 at 10:51 AM, for and

[android-developers] Re: HTML login form works in Android browser and fails with WebView ?

2009-03-04 Thread for android
is no JavaScript in the > HTML. > > Any other suggestions ? > > > On Mar 4, 8:30 am, for android wrote: > > webView.getSettings().setSupportMultipleWindows(true); > > > > On Wed, Mar 4, 2009 at 2:19 AM, Derek wrote: > > > > > Yeah, thanks ! I was using lay

[android-developers] Re: HTML login form works in Android browser and fails with WebView ?

2009-03-03 Thread for android
getSettings().setJavaScriptEnabled(true); > webview.getSettings().setJavaScriptCanOpenWindowsAutomatically(true); > webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE); > webview.loadUrl(url); > webview.setClickable(true); > webview.requestFocus(); > > >private class AuthWebViewC

[android-developers] Re: HTML login form works in Android browser and fails with WebView ?

2009-03-03 Thread for android
Are you using weight in your webview..there are errors if the webview has a layout_weight="1.0" On Mon, Mar 2, 2009 at 8:44 PM, Derek wrote: > > Anyone ? > Even simple links are not followed. > - Show quoted text - > > > On Mar 1, 9:08 pm, Derek wrote: > > To get the login form, use: > > String

[android-developers] Re: Pick multiple contacts from the contacts application

2009-03-01 Thread for android
NTENT to pick one contact but don't know if it's > possible to pick multiple contacts. > > On Feb 17, 5:20 am, for android wrote: > > Is there any Intent for picking multiple contacts from the > > Intent.ACTION_PICK?If yes whats the data that need

[android-developers] Re: How to implement Ticker

2009-02-26 Thread for android
http://developer.android.com/guide/samples/ApiDemos/res/layout/marquee.html On Thu, Feb 26, 2009 at 1:01 PM, ANKIT SOMANI wrote: > Hi , > > I would like to implement a ticker in my application but, I cant find > Ticker in Android SDK 1.0. > I tried marquee in latest release but it work only on f

[android-developers] Re: expandable list

2009-02-26 Thread for android
ExpandableListView.collapseGroup (int groupPos) and expandGroup (int groupPos) On Thu, Feb 26, 2009 at 5:51 PM, Dilli wrote: > > Hi all, > > I am developing a simple application > > in that i am using a simple expandable list. > how can i set the list will be always opened (expanded). > > Need he

[android-developers] Re: Invalidates the TabView

2009-02-25 Thread for android
you need to use notifyDataChanged on the list. On Wed, Feb 25, 2009 at 12:57 PM, ericsk wrote: > > Hi, > > I have a problem on TabActivity's invalidation. > There're few tabs in my TabActivity, and each tab binds a ListView. > Each Listview binds an ArrayAdapter that bound an ArrayList. > > Whil

[android-developers] Re: how to switch between two views

2009-02-20 Thread for android
Use the ViewFlipper. onCreate will be run once.After which the UI will be displayed. On Fri, Feb 20, 2009 at 6:19 PM, guptha wrote: > > > Can we use Handler to accomplish this task. > > > > > On Feb 19, 11:12 pm, "nEx.Software" wrote: > > I also think the Thread.sleep(500); is stopping the re

[android-developers] Re: How can I get the child of a Widget

2009-02-20 Thread for android
you have declared the id as childWidget and u try to access it by childWidgete..hence the NPE On Fri, Feb 20, 2009 at 1:48 PM, Meryl Silverburgh < silverburgh.me...@gmail.com> wrote: > > Hi, > > In my layout.xml, I have a child Widget under my custom widget "MyWidget" > > My question is in my ja

[android-developers] Re: WebView loadData and XML Parsing Question

2009-02-19 Thread for android
I am trying to show a html string such as sample3 ="Link texthttp://www.isical.ac.in/~clia/images/google_logo.jpg>"; webView.loadDataWithBaseURL("www.company.com",sample3 , "text/html", "utf-8", "www.companyfailed.com"); When this webview is displayed then i am not able to see the image in the s

[android-developers] Re: reduce height of a button

2009-02-19 Thread for android
style="?android:attr/buttonStyleSmall" On Thu, Feb 19, 2009 at 5:18 PM, schtieF wrote: > > sorry its so easy > > android:layout_height="35px" > > but it does not look good, because the button gets cut off on top and > you dont see any round edges anymore > > schtieF > > On 19 Feb., 12:41, schtie

[android-developers] Re: ListView :: How to automatically scrool to see a element ?

2009-02-19 Thread for android
listView.setSelection(position); On Thu, Feb 19, 2009 at 5:55 PM, CG wrote: > > Dear all, > > I am facing a strange an issue that should simple to solve I suppose. > I wonder how can I automatically scroll to see an element in a list > view. Let's say I know that I want to see the element view n

[android-developers] Question on Html text

2009-02-18 Thread for android
Is there a way in which i can convert a link in an html representation into a link in my client app.That is say i have string : public static String sample3 ="Link text"; If i convert this into Spanned text by: Html.fromHtml(sample3); then i have the text "Link Text",now if i need to chang

[android-developers] Re: How can I reuse layout.xml?

2009-02-17 Thread for android
On Wed, Feb 18, 2009 at 12:14 PM, ying lcs wrote: > > Hi, > > In my activity, I have the following in my layout.xml file. > Can you please tell me how can I make it 'resuable'? For example, I > what to create a library so that I can insert a component and it > creates 4 buttons for me using li

[android-developers] Re: Problem in setting empty views in a list

2009-02-17 Thread for android
any help? On Tue, Feb 17, 2009 at 1:59 PM, for android wrote: > I tried to set an empty view by the following code : > > LayoutInflater layoutInflater = this.getLayoutInflater(); > View emptyView = (View) layoutInflater.inflate(R.layout.empty_view, >

[android-developers] Pick multiple contacts from the contacts application

2009-02-17 Thread for android
Is there any Intent for picking multiple contacts from the Intent.ACTION_PICK?If yes whats the data that needs to be passed to the intent? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: Question on WebView

2009-02-16 Thread for android
an its accessible to javascript :) > > On Feb 16, 3:11 am, for android wrote: > > Found the solution . > > > > Extended the WebClient and set the webview to the client. > > > > and implemented the WebClient's onPageFinished. > > > > On Mon, Feb 16,

[android-developers] Re: How to stop an Activity

2009-02-16 Thread for android
calling finish will close an activity. A service should not ideally start an activity,it should throw up a notification. On Mon, Feb 16, 2009 at 4:19 PM, Android wrote: > > Hi, > > I have one Activity, that starts one Service and my service will lunch > one Activity, i wanna to stop the Activity

[android-developers] Re: Question on WebView

2009-02-16 Thread for android
Found the solution . Extended the WebClient and set the webview to the client. and implemented the WebClient's onPageFinished. On Mon, Feb 16, 2009 at 12:53 PM, for android wrote: > I am using a WebView in a LinearLayout.Whats the best way to know whether > the web page has been f

[android-developers] Question on WebView

2009-02-15 Thread for android
I am using a WebView in a LinearLayout.Whats the best way to know whether the web page has been fully loaded or not? i am aware of the method getProgress,but what i am looking for is a listener which lets me know when the web view is fully loaded. Thanks --~--~-~--~~~

[android-developers] Re: Problem in sending messages with special characters

2009-02-14 Thread for android
any help? On Fri, Feb 13, 2009 at 4:00 PM, for android wrote: > I donot have a device.I am testing on the emulator. > > When i send a message(problematically and through the device) with special > characters i am not able to view them properly. > > For eg: when i send

[android-developers] Problem in sending messages with special characters

2009-02-13 Thread for android
I donot have a device.I am testing on the emulator. When i send a message(problematically and through the device) with special characters i am not able to view them properly. For eg: when i send a message from one emulator to another say "~Ha".I see only the character "~" in the other emulator.

[android-developers] Android Conference in Bangalore

2009-02-12 Thread for android
http://www.aboventures.com/android/index.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from thi

[android-developers] Re: Problem in going in back/previous activity

2009-02-12 Thread for android
stacktrace?? On Fri, Feb 13, 2009 at 10:20 AM, Komal wrote: > > No one can solve my problemsomebody please help me > > On Feb 10, 3:05 pm, Komal wrote: > > Hi, > > I am developing simple application. > > I have oneactivitywhich displays list of name of employees. I m > > fetching the em

[android-developers] Re: Question about layout and main.xml

2009-02-10 Thread for android
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/ http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/RadioGroup1.html On Wed, Feb 11, 2009 at 10:57 AM, automerc wrote: > > while I was reading tutorials about android programming

[android-developers] Re: Parse an XML

2009-02-10 Thread for android
Context is the super -class of the Activity..so basically u need to use the activity... On Wed, Feb 11, 2009 at 10:56 AM, cool.manish wrote: > > What is the context? > I am getting error at that point. > > Actually I am trying to parse the xml file > > SAXParser sp = spf.newSAXParser(); > sp.pars

[android-developers] Re: what is command to check SDCARD is present ?

2009-02-09 Thread for android
android.os.Environment On Mon, Feb 9, 2009 at 1:17 PM, jj wrote: > > somebody will tel me the command for checking sdcard of device > > what is command to check SDCARD is present ? > > or in other words how to appl the sdcard is there or not? > > thank you > > > --~--~-~--~~

[android-developers] Question on Multicomplete Text View

2009-02-06 Thread for android
I need to use a CursorAdapter to display the contacts in an auto complete view.When the user has selected/typed the contacts he wants , how do i retrieve the ids of the contacts he has typed in or selected. I tried to use the onItemClicked,but if the user has typed the contact name himself,I have

[android-developers] Re: how to update list

2009-02-04 Thread for android
In your adapter class u will be having the constructor something like this: public class MyAdapter extends BaseAdapter{ private List myList; public MyAdapter(Context context, int rowResID, List myList) this.myList= myList;

[android-developers] Re: how to update list

2009-02-03 Thread for android
notifyDataSetChanged(). On Wed, Feb 4, 2009 at 6:33 AM, Emmanuel wrote: > > Do you mean the data from your adapter has changed, and you want to > update your list from this ? > > To achieve this result, I create the adapter from the new data, and > reset it to the list. > There should be another

[android-developers] Re: Template for Activity

2009-02-03 Thread for android
On Tue, Feb 3, 2009 at 9:58 PM, mat wrote: > > 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, > > > --~

[android-developers] Re: Extending a tablelayout

2009-01-25 Thread for android
?? > i need to show up a table with borders and bumped into your thread. > > > On Dec 19 2008, 11:41 am, "for android" wrote: > > Thank you very much it works :) > > > > On Fri, Dec 19, 2008 at 2:42 PM, Romain Guy > wrote: > > > > > This

[android-developers] Re: How can i close my project?

2009-01-22 Thread for android
start the activities with startActivityForResult(intent,MY_CODE) and on each Activity override onActivityResult close that activity protected void onActivityResult(int requestCode, int resultCode, Intent data) { switch (resultCode) { case Constants.MY_CODE: this.setRes

[android-developers] Re: Replace the current view by an other view

2009-01-21 Thread for android
gt; On Wed, Jan 21, 2009 at 7:50 PM, for android wrote: > > any help on this ?? > > > > On Wed, Jan 21, 2009 at 8:13 PM, for android > wrote: > >> > >> i have one question around the runOnUiThread...Basically when i used > this > >> method

[android-developers] Re: Replace the current view by an other view

2009-01-21 Thread for android
any help on this ?? On Wed, Jan 21, 2009 at 8:13 PM, for android wrote: > i have one question around the runOnUiThread...Basically when i used this > method in the onCreate/onStart of the Activity,i found that it works quite > differently than i expect.. > > For example in the o

[android-developers] Re: Replace the current view by an other view

2009-01-21 Thread for android
i have one question around the runOnUiThread...Basically when i used this method in the onCreate/onStart of the Activity,i found that it works quite differently than i expect.. For example in the onCreate/onStart..say I have long running operation before which i want to render the UI with a progre

[android-developers] Re: Replace the current view by an other view

2009-01-21 Thread for android
you are probably calling from a seperate thread..after thread has done its wrk...use the handler and change the view.. On Wed, Jan 21, 2009 at 7:49 PM, Nico wrote: > > Hi, > I need to replace the current View (set by the activity.setContentView > method) by an other. > When I call activity.setCo

[android-developers] Re: Regarding Activity

2009-01-19 Thread for android
Look at the code for Music app..your requirement is exactly similar to that.. On Mon, Jan 19, 2009 at 3:40 PM, mongd wrote: > > Hi, I'm working on a program which basically plays a video file and > has some more functionality. > What I expect from this program is: > when I start playing a video,

  1   2   >