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

2013-05-08 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 pointer, but I

[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

[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

[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

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 treking...@gmail.com wrote: On Sun, Dec 4, 2011 at 12:25 PM, scrayne susancra...@gmail.com wrote: Does anyone know why I am not seeing

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

2011-12-05 Thread Susan Crayne
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 android-developers+unsubscr...@googlegroups.com For more

[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

[android-developers] animation fillAfter question

2010-01-26 Thread Susan
Animation fill* attributes confuse me. The document is simple. For example: layout xml: TextView android:id=@+id/TextView01 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=0px

[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: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
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 mmur...@commonsware.com wrote: Susan wrote: I have built a widget that contains a button and an editable TextView

[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 mmur...@commonsware.com wrote: Susan wrote: I know

[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 mmur...@commonsware.com wrote: Susan wrote: Just to make sure I'm understanding you correctly, you mean that there's no way to, say, change the image

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

2009-11-16 Thread Susan
and this directory must be pretty related -- user data image sounds a lot like the file userdata.img located in that AVD directory. On Nov 14, 8:47 am, dadaowuwei guosong0...@gmail.com wrote: Have you solved your problem? I get the same problem, is there any solution yet? thanks On 12 Nov, 21:36, Susan ska

[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

[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

[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

[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-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 ska...@gmail.com wrote: Evan, I am also struggling with this same problem. It's mystifying because so many widgets seem

[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: FrameLayout

[android-developers] using customized UI components in XML

2009-10-09 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
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 process = Runtime.getRuntime().exec

[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! But I really can't find

[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] 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 : declare-styleable name=LabelView attr name=text format=string / attr name=textColor format=color / attr name=textSize format=dimension / /declare-styleable But that is just a

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

2009-08-27 Thread Susan
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 smxb...@gmail.com wrote: Who is responsible for validation of xml file when editing xml in Android layout editor?  For example

[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

[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] 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

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

2009-06-10 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

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

2009-06-10 Thread Susan
/200 inch. 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 smxb...@gmail.com wrote: In Android documentone, dp is one pixel on a 160 dpi screen. So I think 1dp=1/160 inch. Am I right

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

2009-06-10 Thread Susan
I am female. Why do you ask? On 6月10日, 下午2时19分, 王华 timeswon...@gmail.com wrote: hi susan ,are you a male or female ? 2009/6/10, Susan smxb...@gmail.com: 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?- 隐

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

2009-06-04 Thread Susan
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 group

[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)

[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. I have

[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

[android-developers] Re: ADT Layout Editor

2009-03-17 Thread Susan
I still don't know how long time I will wait. Could you please tell me just an approximate time it will be released? Thanks On 3月17日, 下午2时22分, Xavier Ducrohet x...@android.com wrote: Hi, This will probably come in the version following the plugin released with cupcake. Note that even

[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

[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 .

[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?