[android-developers] Re: How to forbid mouse/pointer, only use DPAD to navigate for TV UI (Android4.0.4)?

2013-05-07 Thread Susan
No one know? 在 2013年5月7日星期二UTC+8下午3时25分21秒,Susan写道: > > I developed an application for TV. But when I open it, there is always a > mouse pointer on screen. I only want to navigate by remoter DPAD. So how to > prevent mouse pointer to show? I notice some applications don't show

[android-developers] mksdcard problem

2013-05-07 Thread Susan
I run the below command as administrator in windows7: mksdcard 512M D:\mySdCard.img But it doesn't work. Message:"Invalid argument size '512M' ". I tried "51200" without "M". It also failed. I don't know what the size should be. Thanks for any help. -- -- You received this message b

[android-developers] How to forbid mouse/pointer, only use DPAD to navigate for TV UI (Android4.0.4)?

2013-05-07 Thread Susan
I developed an application for TV. But when I open it, there is always a mouse pointer on screen. I only want to navigate by remoter DPAD. So how to prevent mouse pointer to show? I notice some applications don't show pointer, but I don't how to do. I am grateful for any help. -- -- You recei

[android-developers] Is today a holiday?

2012-03-20 Thread Susan Crayne
In the calendar_dates.txt file that I have (from March 16), this line appears: 1,20120320,2 (for service id, date, and exception type). This line says to me that all trains with service id 1, that run today, should be removed from the list of trains that run today. What am I missing here? Susan

[android-developers] Can I trigger a checkpoint of SQLiteDatabase programtically?

2012-01-12 Thread Susan
I want to copy database file to SD card. But Write-Ahead Log (wal file) has not writen to db file. It will write to db file when checkpoint occurs as the SQLite offical document said : http://www.sqlite.org/wal.html#ckpt. So is there an API I can trigger a checkpoint of database, so after tha

Re: [android-developers] Can't update my app in the Android Market

2011-12-06 Thread Susan Crayne
I realized yesterday that I had signed in with the wrong account. "uploaded an iPhone app" -- very funny. Susan On Mon, Dec 5, 2011 at 11:22 PM, TreKing wrote: > On Sun, Dec 4, 2011 at 12:25 PM, scrayne wrote: >> >> Does anyone know why I am not seeing this? > >

[android-developers] After updating app in Market, I don't see the new version in the Market

2011-12-05 Thread Susan Crayne
e app to appear, or do I need to do something further? Susan -- 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 an

[android-developers] failed to find provider info for android.server.checkin

2011-06-20 Thread cui susan
Hi, I'm doing a Weather forecast application , At first, it work well,but it has some problems , there is something wrong "failed to find provider info for android.server.checkin" what's wrong?? -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] animation fillAfter question

2010-01-26 Thread Susan
Animation fill* attributes confuse me. The document is simple. For example: layout xml: anim xml: http://schemas.android.com/apk/res/android";> I think text will freeze after animation end. But it returned to (0,0) again. Why? Is the second translate's fillAfter="true" i

[android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
Well, bummer. =( That's a distinction I had never considered. Thanks for taking the time to answer! On Nov 23, 5:17 pm, Mark Murphy wrote: > Susan wrote: > > Just to make sure I'm understanding you > > correctly, you mean that there's no way to, say, change th

[android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
Wow, that's terrible news! Just to make sure I'm understanding you correctly, you mean that there's no way to, say, change the image in an ImageView or change the color of a Button programmatically? Thanks... On Nov 23, 4:51 pm, Mark Murphy wrote: > Susan wrote: > >

[android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
t know how to access it programmatically. =( I also need to access properties of a Button, for example, so I'd still really like to know how to do it. =) Thanks! On Nov 23, 3:09 pm, Mark Murphy wrote: > Susan wrote: > > I have built a widget that contains a button and an editable

[android-developers] Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
I have built a widget that contains a button and an editable TextView (that behaves like an EditText) much like the native Google Search bar widget. How can I access the text that the user has typed into the TextView? In an Activity I would just use findViewById(), but of course I can't do that in

[android-developers] Re: "ERROR: the user data image is used by another emulator. aborting"

2009-11-16 Thread Susan
ty related -- "user data image" sounds a lot like the file userdata.img located in that AVD directory. On Nov 14, 8:47 am, dadaowuwei wrote: > Have you solved your problem? > I get the same problem, is there any solution yet? > > thanks > > On 12 Nov, 21:36, Susan wro

[android-developers] "ERROR: the user data image is used by another emulator. aborting"

2009-11-12 Thread Susan
I have read the many threads regarding this issue, but none of the proposed solutions has actually solved the problem for me. And judging by the frequency of threads about it, that hasn't solved it for a lot of other people either. =) Here's the problem: When I run my code, seemingly out of nowher

[android-developers] Re: How to launch the browser

2009-11-11 Thread Susan
You guys are my heros! I've been trying to overcome this single issue for about two hours. That's fantastic. It works beautifully. Thanks! For the sake of posterity (and anybody else who might be trying to solve this), here's my working code: (the lines are long so I apologize for the crummy form

[android-developers] How to launch the browser

2009-11-11 Thread Susan
I am trying to create a widget that, when clicked on, launches the browser and goes to a particular URL. Unfortunately, I have had a lot of problems. I started with a (working) widget that, when clicked, opened the alarm clock. Then, using the code from another Groups post (http://groups.google.com

[android-developers] Android Layout Editor problem

2009-11-09 Thread Susan
I created a custom view. I want to get values of "background","layout_width" and "layout_height" in its constructor "CustomView(Context context, AttributeSet attrs)". I wrote code like this: TypedArray b = context.obtainStyledAttributes(attrs, new int[] {android.R.attr.background,an

[android-developers] Re: Widget Layout Frustration

2009-11-04 Thread Susan
Evan, You may find this post helpful as well. Not exactly right, but closer than what I have... http://www.anddev.org/viewtopic.php?p=28996#28996 On Nov 3, 11:39 pm, Susan wrote: > Evan, > > I am also struggling with this same problem. It's mystifying because > so many wid

[android-developers] Re: Widget Layout Frustration

2009-11-03 Thread Susan
Evan, I am also struggling with this same problem. It's mystifying because so many widgets seem to have this look and yet I find it hard to believe that all the developers painstakingly did it by hand. Can you post a screenshot of what you have? In what way is yours just a couple of pixels off?

[android-developers] setColorFilter() not working

2009-10-19 Thread Susan
Note: Cross posting this thread from Android Beginners because nobody there had any ideas. I'm trying to add a tint to an ImageView that I have created in main.xml, but when that code runs nothing seems to happen. IE, no tinting occurs. Here's the XML creating it: http://schemas.android.com/apk

[android-developers] using customized UI components in XML

2009-10-08 Thread Susan
When I use customized components in XML, could I use a short name of component instead of a fully qualified class name? I wonder if some configuration file exists to do that work. For example, my customized components is ex.object.RoundRect, I should use it in xml file like this:

[android-developers] Re: Who is responsible for validation of layout xml file?

2009-08-31 Thread Susan
I finally find the validate details in \mydroid\frameworks\base\libs\utils\ResourceTypes.cpp. The function ResTable::stringToValue(...) does the job. It doesn't seem to be the part of ADT. Susan wrote: > Anybody can help me? > > Susan wrote: > > Thanks for your help! &g

[android-developers] Re: Who is responsible for validation of layout xml file?

2009-08-31 Thread Susan
Anybody can help me? Susan wrote: > Thanks for your help! > But I really can't find where ADT does it. > In build method of > com.android.ide.eclipse.adt.build.PreCompilerBuilder.java: > // launch the command line process > Process proce

[android-developers] Re: Who is responsible for validation of layout xml file?

2009-08-27 Thread Susan
opinions and statements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > > On Aug 27, 2:18 am, Susan wrote: > > Who is responsible for validation of xml file when editing xml in >

[android-developers] How can I know all attributes I can use in declare-styleable attr tag?

2009-08-27 Thread Susan
In ApiDemos, I can see how to define my custom elements to use in layout resources. That is : But that is just a simple demo. I can define like this: I use the "min" attribute, I want to know all the attibutes I can use and how to use, where is the document? Th

[android-developers] Who is responsible for validation of layout xml file?

2009-08-27 Thread Susan
Who is responsible for validation of xml file when editing xml in Android layout editor? For example, when I set a negtive valut to android:maxLength of TextView, it will be marked in red. ADT or aapt is responsible for check? Your help will be appreciated. --~--~-~--~~~-

[android-developers] custom attributes in properties view

2009-08-04 Thread Susan
I defined a custom component that extended from View. And I defined some attributes for it. But when I used it in a XML file, its custom attributes can't appear in the properties view of layout editor unless I write them in xml text editor. How can these custom attributes always exist in the

[android-developers] custom attributes in properties view

2009-08-04 Thread Susan
I defined a custom component that extended from View. And I defined some attributes for it. But when I used it in a XML file, it's custom attributes can't appear in the properties view of layout editor unless I write them in xml text editor. How can these custom attributes always exist in the

[android-developers] How to use custom control ?

2009-07-22 Thread Susan
Hi, I have made a custom control which extends view and has some attributes, and I can use it in the project when this project loads relevant .java and attr.xml files. But I want to package these files to .jar, so that I could use this custom control as using systemic control when load this .jar.

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Susan
I am female. Why do you ask? On 6月10日, 下午2时19分, 王华 wrote: > hi susan ,are you a male or female ? > > 2009/6/10, Susan : > > > > > > > In Android documentone, dp is one pixel on a 160 dpi screen. So I > > think 1dp=1/160 inch. Am I right? Are they differ

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Susan
> > However, 4dp will be 4 pixel on 160 dpi screen and 5 px on a 200 dpi > one. Or in other words 1/40 inch or 1/50 inch on 200 dpi. > > On Jun 10, 8:06 am, Susan wrote: > > > > > In Android documentone, dp is one pixel on a 160 dpi screen. So I > > think 1dp=1/1

[android-developers] 1dp=1/160 inch ?

2009-06-09 Thread Susan
In Android documentone, dp is one pixel on a 160 dpi screen. So I think 1dp=1/160 inch. Am I right? Are they different in use? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] [android-porting] Does the previous released image and RFS support voice record?

2009-06-04 Thread Susan
rk on android (porting to beagle board). If it does not support the voice record, can anyone tell me how to let it work? Thanks! Susan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers&

[android-developers] com.android.layoutlib.bridge.BridgeCanvas has a bug when drawing a round rect

2009-04-14 Thread Susan
com.android.layoutlib.bridge.BridgeCanvas类(in layoutlib.lib) a) line 635: g.fillRoundRect((int)rect.left, (int)rect.right, (int) rect.width(), (int)rect.height(), arcWidth, arcHeight); is wrong,should be: g.fillRoundRect((int)rect.left, (int)rect.top, (int) re

[android-developers] Re: Creating a JAR that contains references

2009-03-18 Thread Susan
Hi, Dianne. So we can't include an extern jar file that has its own resource file? Is there other way if I want to reference a custom view class which has its customized properties defined in xml and not in my project? Thanks stephen.lloyd.h...@googlemail.com wrote: > I'm not after resource

[android-developers] Re: Specifying Android project dependencies (in Eclipse)

2009-03-18 Thread Susan
Why nobody answer it? I meet the same question. Have you resolved it? Henrik Gustafsson wrote: > Hi all! > > This was originally posted as a StackOverflow question ( > http://stackoverflow.com/questions/549451 > ), but following advice from #android I will also post the question > here. > >

[android-developers] Re: ADT Layout Editor

2009-03-17 Thread Susan
with their xml namespace prefix, which we should fix, but > it doesn't prevent from using the attribute). > > Xav > > On Fri, Mar 13, 2009 at 12:16 AM,Susan wrote: > > > Could you please tell me when the editor will find all the classes in > > the project that e

[android-developers] Re: ADT Layout Editor

2009-03-13 Thread Susan
Could you please tell me when the editor will find all the classes in the project that extend android.view.View and add them to the list? Which ADT version I could expect? I think it is on your schedule, isn't it? Best regards --~--~-~--~~~---~--~~ You received th

[android-developers] Re: ADT Layout Editor

2009-03-09 Thread Susan
Thanks for your answer! My first question means If I develop a Eclipse plugin project, can I call ADT layout editor to edit my xml? Are there API documents of ADT layout editor I can find? I want to reuse layout editor , then I don't need to develope visual editor by myself. Is it possible? Th

[android-developers] ADT Layout Editor

2009-03-09 Thread Susan
1. Can I call ADT Layout Editor in my java source file , not by XML file "open with" menu ? 2. When I click "add" button in the outline view of ADT Layout Editor , it will show such a list of UI components as "AbsoluteLayout AnalogClock AutoCompleteTextView Button .