[android-developers] Whatsapp data files - Help :(

2020-12-04 Thread Grace Bonifatti
Hello! I have a question about Whatsapp data files, I could really use your help. I believe this is entirely my fault but I still want to ask, maybe there is a way to fix it? So here’s my situation, I have a Xiaomi Redmi Note 8 pro. The phone includes an option to do a deep clean and there is

[android-developers] Intent/Market links for tracking

2016-09-26 Thread Grace Park
Hello! I am working on deeplinking users from the mobile web page to the app, and I want to track the users using utm params. Intent links take the users to the market if they dont have the app downloaded, but the intent links dont take in utm params? I was wondering if there was a way to use t

[android-developers] Re: problem with ontouch of surfaceview

2011-06-09 Thread grace
do you use to hide/show the LinearLayout? > Could you show the onTouch listener for the SurfaceView? > > On 9 jun, 06:29,grace wrote: > > > Hi, > > > I have my layout like this > > > > >         > >             > >         > > >    

[android-developers] Re: problem with ontouch of surfaceview

2011-06-09 Thread grace
do you use to hide/show the LinearLayout? > Could you show the onTouch listener for the SurfaceView? > > On 9 jun, 06:29,grace wrote: > > > Hi, > > > I have my layout like this > > > > >         > >             > >         > > >    

[android-developers] problem with ontouch of surfaceview

2011-06-08 Thread grace
somehow its not visible after ontouch also. When the LinearLayout is visible at first(default),then i can make it invisible and visible from the ontouch events. Can anybody help me on this.Am i missing something. thanks in advance, Grace. -- You received this message because you are subscribed

[android-developers] Re: Exception while calling web service----java.net.SocketException: Permission denied

2011-02-21 Thread grace
Hi, http://stackoverflow.com/questions/4253233/exception-with-web-service-java-net-socketexception-permission-denied-in-andr On Feb 18, 2:06 pm, Ravi wrote: > Yeah I given the internet permission in manifest file. -- You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: Exception while calling web service----java.net.SocketException: Permission denied

2011-02-21 Thread grace
hi, go through the link..it might help you.. http://stackoverflow.com/questions/4253233/exception-with-web-service-java-net-socketexception-permission-denied-in-andr On Feb 18, 2:06 pm, Ravi wrote: > Yeah I given the internet permission in manifest file. -- You received this message because yo

[android-developers] Re: Listener for ListItem click

2010-11-09 Thread grace
On Nov 9, 1:55 pm, "pramod.deore" wrote: > Hi, I have one class which is extended from activity. In this I have > displayed list. Now I want the name of list item on which user is > clicked. My class is not exteded from ListActivity so I can't > override > protected void onListItemClick(ListView l

[android-developers] Re: how to add button to do this line of codes

2010-10-25 Thread grace
hope this is what you are looking for b= (Button) findViewById(R.id.Button01); b.setOnClickListener(new OnClickListener(){ @Override public void onClick(View v){ IntentIntegrator.initiateScan(Axzing.this/*context*/);

[android-developers] Re: How to change of color of list

2010-10-19 Thread grace
hi instead of int values can use Color.xxx(default color values) or if you want your own designed colors make a colors.xml class under res/values and use setBackgroundResource() to set a particular color of your choice. On Oct 20, 8:45 am, "pramod.deore" wrote: > Thanks Grace for r

[android-developers] Re: How to change of color of list

2010-10-19 Thread grace
try using on of these methods on the listview setBackgrungdColor() or setBackgroungDrawable() or setBackgroundResource(). to set the color to your listview On Oct 19, 2:57 pm, "pramod.deore" wrote: > Hi , I have developing list as > public class AddSwitch extends ListActivity > { > >        

[android-developers] java.io.FileNotFoundException:No files supported by provider

2010-10-19 Thread grace
searched a lot on internet for the solution but in vain. can anybody please provide some solution for my problem Thanks in advance, Grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: setting background of an imagebutton to transparent

2010-10-18 Thread grace
HI, i think it should be #00FF On Oct 17, 6:06 pm, Kumar Bibek wrote: > # > > > > On Sun, Oct 17, 2010 at 6:14 PM, dashman wrote: > > >         >                        android:src="@drawable/button" > >                        android:background="???" > >                        andro

[android-developers] Re: layout problem

2010-10-17 Thread grace
hi, your table layout as defined in your xml specifes to fill the parent with its content. that is why it is not showing up the second image button. try to adjust the width of the table layout so that image button can also be seen android:layout_width="fill_parent" /here > android:

[android-developers] OpenGL version info

2010-10-07 Thread grace
hi, how to find programatically which version of opengl es is being used for any 3D project.? -- 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 th

[android-developers] Re: bitmap size exceeds VM budget

2010-10-07 Thread grace
hi refer this link,it may help u http://stackoverflow.com/questions/477572/android-strange-out-of-memory-issue/823966#823966 On Oct 7, 10:53 am, Kumar Bibek wrote: > Managing pictures needs special attention since the max heap area you get is > 16MB or more on a few phones. You cannot exceed tha

[android-developers] Re: ListView with rows that contain a button

2010-09-23 Thread grace
hi, as the button has the clickable property the listrow which holds the button doesnot hold this property. u can sroll down the list but u cannot click the list row. On Sep 24, 6:35 am, John Gaby wrote: > I have a ListView control for which I supply my own ListAdapter.  When > my adapter's 'get

[android-developers] Re: How to get the height & width of emulator in android

2010-09-16 Thread grace
getWindowManager().getDefaultDisplay().getWidth() and getWindowManager().getDefaultDisplay().getHeight() On Sep 16, 3:20 pm, "RKJ (Android developer)" wrote: > Hi all, > > I want to get the height & width of emulator (which will reflect in > device also). > > --RKJ -- You received this message

[android-developers] Autocomplete TextView doubt

2010-09-06 Thread grace
help.. Thanks in advance, Grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developer

[android-developers] Re: layout_gravity

2010-08-30 Thread grace
add android:gravity="center_horizontal" in the linear layout On Aug 31, 8:42 am, William Ferguson wrote: > OK, I'm obviously missing something fundamentally simple here. > I have a LinearLayout containing 2 buttons. > I've coloured the layout background red so I can see that it has > expanded to

[android-developers] Re: Selectable LinearLayouts?

2010-08-04 Thread grace
hi, does your selector which you set as the background defines background colors for focus also?? as per my understanding your trying to check for selection state when the layout is in focusable state. On Aug 4, 4:12 pm, Pipen wrote: > Hi all, > > I have a scroll view with a couple of LinearLayo

[android-developers] Re: requestRouteToHost always returns false on AVD

2010-07-20 Thread grace
On Jul 20, 6:58 pm, Tina wrote: > Hi, all! > I need to check web site availability and use requestRouteToHost  for > that purpose. On real device everything works fine, but on emulator > requestRouteToHost  always return "false". > What's wrong? > Code is: > > public static boolean isHostAvailab

[android-developers] Re: view and subview

2010-07-18 Thread grace
hi please check out the sample code for creating views and viewGroups without a xml public class tut3 extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Re: where does openFileOutput store the file

2010-07-06 Thread grace
Hi, I think this will store the file as data/data// On Jul 6, 12:42 pm, Abhyudai Shanker wrote: > Hey guys, > > M trying to write a file using openFileOutput, using the following snippet: > >               // open myfilename.txt for writing >               OutputStreamWriter out = new > OutputSt

[android-developers] Re: How to set current tab in the sub activity pop up dialog

2010-07-06 Thread grace
HI, Try using getTabHost().setCurrentTab(1/*tab2*/); once you enter/leave the tab2 activity On Jul 1, 9:01 pm, Jeruliu wrote: > I have a TabActivity class A with 2 tabs, a sub activity class B in > tab 2. > > Now a dialog pops up from the UI in B, once i click the save button in > this dialog it

[android-developers] Re: Display android screen on projector

2010-07-06 Thread grace
Hi, Android ScreenCast tool can also help you in this aspect. http://code.google.com/p/androidscreencast/ this works with the camera preview, refresh rate 4-5 fps and can changed to landscape mode also On Jul 4, 2:26 pm, Mark Murphy wrote: > You can use dr...@screen: > > http://blog.ribomation

[android-developers] Re: How to eliminate the "java.lang.OutOfMemoryError: bitmap size exceeds VM budget" issue while scrolling in bluetooth screen.

2010-07-05 Thread grace
Hi, seems that memory being used is more.. when dealing with bitmap its always better to free up earlier used memory before using the new one so you follow the link that will guide you with the clear solution. http://stackoverflow.com/questions/477572/android-strange-out-of-memory-issue/823966#823

[android-developers] Re: Setting single line text in button

2010-06-28 Thread grace
hi, use button.setLines() method to restrict it to single line On Jun 16, 8:17 am, Dhawal wrote: > Hi, > I am creating a button widget with icon and text. Single word text is > getting divided into two lines. There is enough room on the screen for > the button widget to grow. But it still wraps t

[android-developers] Re: setParameters Failed

2010-06-23 Thread grace
e() > athttp://code.google.com/p/android/issues/detail?id=7909and the > recommendations made there by Wu-Cheng (Comment 29). > > Regards > > The vOICe for Androidhttp://www.seeingwithsound.com/android.htm > > On Jun 22, 10:59 am,grace wrote: > > > Hi, > > > I have downlo

[android-developers] setParameters Failed

2010-06-22 Thread grace
: setParameters failed hoe can i make this work on nexus too. thanks in advance.. Grace. -- 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: How to Draw a Button in a View

2010-06-22 Thread grace
use the function button.setVisibility(View.VISIBLE); and try once again.. On Jun 21, 2:04 pm, mike wrote: > hi guys, > > i have a class which extends a View and i'm drawing few images in the > canvas. > and i want to draw two buttons as well. could someone tell me how to > do this??? > > this is

[android-developers] Re: Content provider / ListView - Close the database but leave the cursor open?

2010-06-21 Thread grace
Hi, did u use Cursor.setNotificationUri(...) before closing the database in the query function of the provider.?? On Jun 19, 5:40 am, Jawon wrote: > I have a ContentProvider that stores data in a SQLite database. I also > have an app with a ListView that displays data queried from the > ContentP

[android-developers] How to decode a qr code image

2010-06-06 Thread grace
n how to do this... Thanks in advance, Grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-deve

[android-developers] how to change the background of the menuitem

2010-06-03 Thread grace
Hi, I want to change the background of the optionmenuitem and have my custom theme for the menu items is it possible?? pls help.. thanx in advance, Grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

Re: [android-developers] Re: Apps not showing in market after factory reset with Froyo.

2010-05-23 Thread Christopher Grace
Thanks for the reply. The behavior I'm seeing is exactly the same as what you've noted. I still don't feel particularly good about the situation, but as there are others noticing the same issue, at least I don't feel lost in this. Will start examining my manifest files in greater depth to see if

[android-developers] Re: INSTALL_FAILED_UPDATE_INCOMPATIBLE.. plss help

2010-05-17 Thread grace
hi, Thanks for ur reply.. i followed the steps in that discussion and it worked out for me... On May 17, 2:45 pm, Mark Murphy wrote: > grace wrote: > > Hi, > > > I am getting this INSTALL_FAILED_UPDATE_INCOMPATIBLE message when i > > try to install my app on to t

[android-developers] Re: Changing LandScape to Potrait mode

2010-05-17 Thread grace
because the width and height values differ int he landscape and potrait.. the positioning of widgets on screen will differ.. so if you are changing the orientation ,then you can have different layouts for each orientation and set the same for respective orientations. On May 15, 4:42 pm, Karteek N

[android-developers] Re: why launch is cancelled

2010-05-17 Thread grace
try restarting your adb device and then try launching your app again.. that should work. On May 15, 7:58 pm, Muhammad Shair Ali wrote: > Hello, > > Can some one tell me ,why launch is cancelled > > [2010-05-15 07:56:22 - Helloandroid] Device API version is 7 (Android > 2.1) > [2010-05-15 07:56:22

[android-developers] Re: Restricting Softkeyboard Kyes for EditText

2010-05-17 Thread grace
Hi , i have tried the same on g1 phone and it worked fine for me.. the soft keyboard is able to show the number keys instead of regular alphabets and the input accepts only the numbers in the specified digit string so probably u may checkout on which version you app is working on.. On May 16, 6:

[android-developers] INSTALL_FAILED_UPDATE_INCOMPATIBLE.. plss help

2010-05-16 Thread grace
-data will clear all the details of the data partition. I have many other applications installed on my device which i don't want to lose.. so can anybody help me how to wipe the details of specific package rather than the whole data sect thanks in advance, Grace. -- You received this mess

[android-developers] Re: [android-kernel] A simplest Application access "Content Provider"

2010-05-05 Thread grace
Hi, getcontentResolver() is the method of Context class which is the super class of activity, so any non activity class cannot get access to the content resolver object.. one work around(even though its not good practice to do..)pass the content resolver object as parameter to the function you w

[android-developers] Re: Speed issue: content provider vs plain sqlite db

2010-05-05 Thread grace
Hi, I have tried the same thing with content provider and even that take some time to load the feeds.. so i think its nothing to do with the db or content provider On May 4, 2:14 am, Moss wrote: > Hi there, > > I have made an app that makes extensive use of an internal sqlite db > to save news f

[android-developers] Re: APK files

2010-05-05 Thread grace
hi, i don't think so we can extract information from a apk file. On May 5, 1:45 pm, Neilz wrote: > Hi all. > > I just wondered, if someone has an application's APK file, can it be > extracted? I mean, can you open it to extract any images, sound files, > class files, xml files, etc? > > -- > You

[android-developers] Re: clearing table

2010-04-20 Thread grace
either u can use delete tablename with all other parameters as null.. if u want to delete all the entries of the table. On Apr 20, 11:14 am, ranjit R wrote: > how to clear a table in android database. > > -- > You received this message because you are subscribed to the Google > Groups "Android De

[android-developers] Re: clearing table

2010-04-20 Thread grace
hi, use the sql statements to drop the table. On Apr 20, 11:14 am, ranjit R wrote: > how to clear a table in android database. > > -- > 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

[android-developers] Re: Question regarding the database creation

2010-04-19 Thread grace
hi santhosh, u can try calling the sql statement for dropping the table (with out the use of upgrade)at the end of all the functions on database. regards, Grace. On Apr 19, 1:42 am, Santhosh wrote: > Hello all, > > I have started creating database for my application. > It is

[android-developers] Re: how to depress the onLongClick() when drag a view

2010-04-19 Thread grace
hi, try disabling the longClick event using public void setLongClickable (boolean longClickable) function while ur performing the drag operation and enable it after that.. so that u can have both the functionalities.. Regards, Grace. On Apr 19, 11:47 am, sheng wang wrote: > Hi, > >

[android-developers] Re: how to depress the onLongClick() when drag a view

2010-04-19 Thread grace
hi, try disabling the longclick event using public void setLongClickable (boolean longClickable) function while ur performing the drag operation and enable it after that.. so that u can have both the functionalities.. regards, Grace. On Apr 19, 11:47 am, sheng wang wrote: > Hi, > >

[android-developers] Re: Dynamic Layout Question

2010-04-15 Thread grace
c. > > On Thu, Apr 15, 2010 at 7:32 AM, grace wrote: > > hi, > > > i tried creating the layout dynamically in the  oncreate of the > > activity > > my code looks some thing like this.. > > >                mLinearLayout_no_button = new LinearLayout(this); &

[android-developers] Dynamic Layout Question

2010-04-15 Thread grace
e width to any.. both the edit text and button are filling the parent. why is it like this?? cant we set attributes to the widgets dynamically?? plz help.. thanks in advance, Grace. }); -- You received this message because you are subscribed to the Google Groups "Androi

[android-developers] Re: Just getting started

2010-04-14 Thread grace
hi, i think u can use pending intent for ur purpose.. On Apr 13, 12:52 am, "emada.adame" wrote: > So im just getting started with android development and i found my > first head scratcher. I have an app that when opened makes a on going > event notification. Then if i hit the home button the a

[android-developers] Re: How to resize the RelativeLayout or any other Layout in Android ?

2010-04-13 Thread grace
yes..u can do it by giving the values to width and height of the layout. but this is always not advisable. On Apr 13, 2:56 pm, javame_android wrote: > Hi, > > I have a RelativeLayout defined in xml and I call the > setContentView(R.layout.relativeLAyout) for displaying in Activity. > > Now, if I

[android-developers] Re: Disable scroll in webview

2010-04-12 Thread grace
ya u can do that.. using methods like public void setHorizontalScrollBarEnabled (boolean horizontalScrollBarEnabled) and public void setVerticalScrollBarEnabled (boolean verticalScrollBarEnabled) On Apr 12, 5:48 pm, mmkr wrote: > Hi all, > >     Is it possible to disable the scrollbar in the we

[android-developers] Re: Writing Current Time

2010-03-31 Thread grace
ya u can use the calendar for that On Mar 31, 11:45 am, perumal316 wrote: > Hi All, > > In my application I will be writing messages to a text file. When I am > writing the messages I also want to include the time in it. > > How do i write in the current date and time? Must I use Calendar now = >

[android-developers] Re: Camera in Portrait on Surface View

2010-03-29 Thread grace
i tried the following method, it worked out for me.. Parameters params = mCamera.getParameters(); params.set("orientation", "portrait"); mCamera.setParameters(params); u need to add this code before calling setPreviewDisplay() in the public void surf

[android-developers] Re: media player source code

2010-03-29 Thread grace
u can check out in the api demos for one.. http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/index.html On Mar 28, 7:18 am, jana janarthanan wrote: > Dear sir > >            Good morning to all. please send the media player source code to > me. > >      

[android-developers] Re: R.id cannot be resolved

2010-03-28 Thread grace
hi, just verify how is the id to the listview defined in the layout file. if it is as android:list in the layout,then u need to specify it as (android.R.id.list) in the findViewById method On Mar 28, 9:52 pm, mnavlani wrote: > hello all, > this is my first attempt at the UI. i tried to create

[android-developers] Re: I want to get image from the camera by mCamera.setPreviewCallback(mPreviewCallback);

2010-03-23 Thread grace
probably u can click a picture and call like this, preview.camera.takePicture(shutterCallback, rawCallback, jpegCallback); in the onPreviewFrame().. registering with callBacks shutterCallback,rawCallback,,jpegCallback. for eq. ShutterCallback shutterCallback = new ShutterCallback() {

[android-developers] Re: Accessing Email Addresses

2010-03-23 Thread grace
try using the class ContactsContract.Data for your purpose. u can refer http://developer.android.com/reference/android/provider/ContactsContract.Data.html from android site. On Mar 17, 6:40 pm, Maxood wrote: > I have the following code through which i am able to retrieve phone > numbers. Som

[android-developers] Re: Issue in installing SDK

2010-03-23 Thread grace
hi, you can give your network settings in (if your using eclipse ) window->preferences->general->network connections On Mar 22, 11:18 am, StillALearner wrote: > Hi, > >  I am trying to install the Android SDK & i get the following error > > XML verification failed > forhttp://dl-ssl.google.com

[android-developers] camera service problem

2010-03-18 Thread grace
failed to connect to the camera service" but works fine for the second run.. what could be the possible reason for this?? pls help.. thanks in advance, Grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: SQLite onUpgrade

2010-03-17 Thread grace
onUpgrade is called when u have installed using adb.. now when u load the app, the new version is already upgraded so it will not again call the onUpgrade again.. in short this function is called when there are some changes made to the data schema,droping tables,altering ables etc. On Mar 12, 12

[android-developers] Re: Put a 2D Image into android...the code?

2010-03-16 Thread grace
hi, define ur layout with an image view and set the src to some image drawable On Mar 16, 1:25 pm, massimo wrote: > Hi, > I would like to put an image into android (I'm using Eclipse). > How I need to procede? > > I have make a new project with a class that have the base code, after > what I ne

[android-developers] Re: Numbers aligned to the right in EditText

2010-03-16 Thread grace
u can set the gravity of the view(edittext ) to right. On Mar 16, 2:17 pm, Marek Urbaniak wrote: > Is it possible to align text in the EditText widget to the right? I do > not see any such a property. Am I missing it or maybe there is no such > an option. -- You received this message because yo

[android-developers] Re: How to disable the menuitem

2010-03-16 Thread grace
hi, based on your logic.. may u can try like this menu.getItem(ItemID).setEnabled(false); and if u dont want the item to be visible u cant set the visibility accordingly.. On Mar 17, 5:03 am, David Toledo wrote: > Hi All > >               How to disable the menuitem in android in execution time

[android-developers] Re: How to trace contentProvider

2010-03-16 Thread grace
hi, as we can see this query is an abstract method and the implementation of this method will be defined in the classes that extend this contentprovider class. you can check out different provider implementations for the definition of this method. On Mar 17, 7:24 am, a a wrote: > Dear All, > >

[android-developers] Re: Custom content provider(java.lang.VerifyError)

2010-03-11 Thread grace
hi, the idea of moving the content provider on to some common library seems quite reasonable. but i have a doubt whether all the content providers (like contacts,etc..) are implemented in the same way.. and moreover we do import them in our applications right? can somebody shed some light on these

[android-developers] Re: How to use phone internal memory to store user data......

2010-03-11 Thread grace
absolutely.. if you store your data with in your application package then other applications can't access that data. you can go for a content provider if you want to share data between applications. On Mar 11, 11:19 am, Girish wrote: > Hi all.. >           I want to access phone internal memory t

[android-developers] Re: Custom content provider(java.lang.VerifyError)

2010-03-09 Thread grace
hi, i have also got the same problem. i have made a jar file of the content provider and imported in the second application that is using this content provider. don't know whether this is the correct approach,but things worked out fine for me. so u can also try it out .. On Mar 9, 5:28 pm, Musaf

[android-developers] Re: Runtime Language change support.

2010-03-08 Thread grace
exactly.. u can have different xml files for different languages and can try your application changing the locale at start up or at run time. u can go through the documentation of localization of strings in android site for more information. http://developer.android.com/guide/topics/resources/lo

[android-developers] Re: Regarding ListView

2010-03-08 Thread grace
u can change it in the layout file.. try changing the height of the list item, according to the content you are trying to display On Mar 4, 3:52 pm, vinoth wrote: > How to increase the listview item size? When the text to be displayed > is longer, it gets clubbed and could not see the full text

[android-developers] Re: ListView, SimpleAdapter and Bitmaps - bug ?

2010-03-08 Thread grace
hi, u cant bind images using simple adapter.. u need to create one custom adapter for that.. here is a simple example of custom adapter.. http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ now u can try add ur image along with 2 text views to your adapter On

[android-developers] Re: Problem with Screen Orientation

2010-03-04 Thread grace
ideally it shud be drawing.. but may take some time to draw the view. On Mar 5, 10:31 am, Nithin wrote: > When Changing the screen orientation from portrait to landscape, blank > screen is coming. Nothing is drawing. > > I am created some views in java(not in xml), add to the layout and > shown,

[android-developers] getting java.lang.VerifyError

2010-03-04 Thread grace
way out to do this?? Thanks in advance, Grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-

[android-developers] getting java.lang.NoClassDefFoundError

2010-02-23 Thread grace
,but when i run it a java.lang.NoClassDefFoundError exception is thrown.. can somebody help me how to resolve it?? Thanks in advance, grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: Can I set ImageView android:src in code?

2010-02-22 Thread grace
hi, try using .. public void setImageResource (int resId) this works same as and:src On Feb 23, 7:39 am, HBBob wrote: > I have a simply ListView, I want to set the " based on the value of > " advance. > >           android:id="@android:id/android:list" >         android:layout_width="wrap_cont

[android-developers] Re: how do you do the equivalent of hitting the "home" button in s/w

2010-01-31 Thread grace
hi, guess this can solve ur problem create an intent with { action=android.app.action.MAIN, category=android.app.category.HOME } this will launch the home screen(like when u click the home button) going through documentation of android could be of even more help On Jan 29, 3:02 am, sdphil wrote

[android-developers] Re: How to disable user interaction arising from a long press to an EditText

2010-01-19 Thread grace
hi, add android:longClickable="false" attribute to your tag in the layout xml file. then it will not show any options on long press On Jan 19, 5:35 pm, MMC2 wrote: > A long press on an EditText brings up a menu of options that the user > can select. The only messages or options that I want user

[android-developers] Re: EditText := size of the text content

2010-01-17 Thread grace
hi add android:gravity="center" android:maxLength="3" into ur layout file in the edit text tag On Jan 17, 8:20 am, Helloween wrote: > Hi All, > > I am beginner in Android development. How do I restrict the size of > text ( e.g. I just want 3 character in edit text)? > Also How do I align text i

[android-developers] listitem listener is not being called

2010-01-15 Thread grace
hi, i've tried displaying a simple list using listactivity. it is working fine but the problem is with the listener. when i click on ant list item with mouse ,the onListItemClick() listener is not called.. strangely this is working fine when i click the key-up&key-down keys. can anybody tell wha

[android-developers] Re: I am a german market developer. How can I see the english comments to my program?

2010-01-12 Thread grace
can be more elobarate on ur question pls.. is it like the msgs ur displaying in ur programme are displayed in german.. if it is so,then u shud go for localisation of strings i guess On Jan 8, 8:47 pm, Martin wrote: > Hi! > > I am a german market developer. How can I see the english comments to >

[android-developers] problem with onListItemClick()

2010-01-12 Thread grace
i've tried displaying a simple list in ListActivity,it is working fine but the problem i got is with the listener.. when i click on any of the list item using the mouse onListItemClick() is not being called, strangely it is working fine with the key-up&key-down keys. can anybody tell what could be

[android-developers] Re: bind to a service

2010-01-12 Thread grace
from the code what i understand is you didnot define the class that implements the service methods(api s like onbind() ..etc) for this code to work u need to return one Ibinder object from the onBind()..( which acts as proxy to the service object) this IBinder object is passed to the onServiceConne

[android-developers] Re: bind to a service

2010-01-12 Thread grace
from ur code what i understand is that u have not defined the class that implements servive methods(like onBind() etc..) for ur code to work u need to define one class tha extends Service class and that return an IBinder object from the onBind() function (which acts as a proxy to the service objec

[android-developers] Re: onLoadResource / shouldOverrideUrlLoading

2009-07-03 Thread Grace Kloba
shouldOverrideUrlLoading is only called if the loading request is triggered by a user action, like click on a link. It is not called for webview.loadUrl. thanks, Grace On Thu, Jul 2, 2009 at 5:58 AM, ioRek wrote: > > Hi everybody, > I have some issues in intercepting resource or url a

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

2009-06-15 Thread Grace Kloba
No. thanks, Grace On Sun, Jun 14, 2009 at 10:57 PM, Ramanadh wrote: > > Can we set Homepage from javascript? > > On Jun 13, 6:45 am, Dianne Hackborn wrote: > > I am almost positive you can't. I sure hope you can't. :) > > > > On Fri, Jun 12

[android-developers] Re: npapi plugin failed to load in android webview

2009-06-14 Thread Grace Kloba
The problem is your plugin path. The path , "/android_asset/web/", is not a valid file system path. One thing you can try is to copy the plugin to your data dir in the onCreate() and set the plugin path to your data dir. thanks, Grace On Wed, Jun 10, 2009 at 9:30 PM, MIND GAME wrote:

[android-developers] Re: Does cupcake support Webview with Gears ?

2009-04-14 Thread Grace Kloba
Still only for browser. Grace On Monday, April 13, 2009, Kumaravel Kandasami wrote: > Does  anyone know whether Android 1.5 SDK supports Gears supported Apps ? > > Currently release 1.1, supports Gears only on the browser application and we > are not able to implement Gears ap

[android-developers] Re: WebKit/WebView and Focus Highlighting

2009-01-25 Thread Grace Kloba
u is weak. >> >> I'll pass this info on to the design guys and see if it gives them any help. >> >> Thanks! >> >> -- >> Mark Murphy (a Commons Guy)http://commonsware.com >> _The Busy Coder's Guide to Android Development_ Version 2.0 Published! >

[android-developers] Re: loading html file from SDCARD in web browser

2009-01-25 Thread Grace Kloba
HTMLViewer should be under packages/apps/HtmlViewer. On Mon, Jan 19, 2009 at 7:33 PM, vinay wrote: > hi grace, > I could do it by copying the index.html file in Browser/assets directory and > modified private String homeUrl = "file:///android_asset/index.html"; in > Bro

[android-developers] Re: loading html file from SDCARD in web browser

2009-01-19 Thread Grace Kloba
asons this is not > allowed. Is there any way to access the file from sdcard? > > Tried modifying private String homeUrl = "file:///sdcard/index.html"; > in BrowserSettings.java file but browser throws an error "could not be > lo

[android-developers] Re: how to stay in webview without opening new browser window

2008-11-03 Thread Grace Kloba
gt; > if i make the webview load a web page, and in that web page i press on > > a form submit button, then another browser window is open. How can i > > make everything stay in my app instead of opening a new browser window? > > > -- thanks, Grace --~--~-~--~-