Re: [android-developers] Migrating to Android Studio

2015-01-10 Thread 'Tor Norbye' via Android Developers
Here's some more information on migration: http://tools.android.com/tech-docs/new-build-system/migrating-from-eclipse-projects As you can see if you're really migrating to Android Studio it's better to import in Android Studio than to export from Eclipse. But if you plan to continue working with

Re: [android-developers] ADT/SDK 23 broken on Mac - annotations.jar

2014-07-01 Thread 'Tor Norbye' via Android Developers
4:26:10 AM UTC+4, Tor Norbye wrote: There were some packaging problems in Tools 23 where proguard and annotations.jar were missing. We've released 23.0.1 to fix that, so invoke the SDK manager and install it (if necessary run Packages Reload since I think it might cache some results.) -- Tor

Re: [android-developers] ADT/SDK 23 broken on Mac - annotations.jar

2014-07-01 Thread 'Tor Norbye' via Android Developers
On Tue, Jul 1, 2014 at 5:22 AM, Jim Graham spooky1...@gmail.com wrote: On Mon, Jun 30, 2014 at 05:20:52PM -0700, 'Tor Norbye' via Android Developers wrote: There were some packaging problems in Tools 23 where proguard and annotations.jar were missing. We've released 23.0.1 to fix that, so

Re: [android-developers] ADT/SDK 23 broken on Mac - annotations.jar

2014-06-30 Thread 'Tor Norbye' via Android Developers
There were some packaging problems in Tools 23 where proguard and annotations.jar were missing. We've released 23.0.1 to fix that, so invoke the SDK manager and install it (if necessary run Packages Reload since I think it might cache some results.) -- Tor On Mon, Jun 30, 2014 at 4:27 PM,

Re: [android-developers] Re: Eclipse got bad performance after update ADT

2014-03-11 Thread Tor Norbye
What does your eclipse.ini file contain? On Mar 11, 2014 8:45 PM, Pratama Nur Wijaya set.mnemo...@gmail.com wrote: https://lh4.googleusercontent.com/-V7gGWfaQwZ4/Ux_XNUwrunI/AuY/Eq8DfBa_ZTc/s1600/Screen+Shot+2014-03-12+at+10.36.02+AM.png

Re: [android-developers] Android Studio is driving me nuts

2013-11-22 Thread Tor Norbye
With the new gradle build system you shouldn't have to have different projects for different versions (free, paid, etc.); you should be able to set everything up in a single project, with separate resources and classes (as necessary) for your variations. This is now handled by the build system in

Re: [android-developers] Re: ADT in Eclipse hangs Windows XP

2013-10-12 Thread Tor Norbye
FYI, some versions of Eclipse come preconfigured with memory settings that are too small for ADT. Try adding -XX:MaxPermSize=512M in your Eclipse installation's eclipse.ini file. Make sure that this argument is on its own line! (We recently added this to the ADT bundle, but I don't know if that

Re: [android-developers] Android Studio - Project Tree divergence from core platform tools ( is crazy !)

2013-05-21 Thread Tor Norbye
This is done as part of the new build system -- here's the talk from Google I/O last week: http://www.youtube.com/watch?v=LCJAgPkpmR0 On Tue, May 21, 2013 at 11:56 AM, Sanjay Mishra smit...@gmail.com wrote: I was baffled to find that a new Android Project created via Android Studio creates

Re: [android-developers] Android Studio - Project Tree divergence from core platform tools ( is crazy !)

2013-05-21 Thread Tor Norbye
directories and files comprise an Android project: src/ bin/ jni/ gen/ assets/ res/ raw/ libs/ AndroidManifest.xml Sanjay On Tuesday, May 21, 2013 12:01:39 PM UTC-7, Tor Norbye wrote: This is done as part of the new build system -- here's the talk from Google I/O last week: http

Re: [android-developers] gradle build with custom views

2013-04-24 Thread Tor Norbye
How are the two layout files different? On Wed, Apr 24, 2013 at 5:09 AM, Daniel Rindt daniel.ri...@gmail.comwrote: Hello, i just experienced a InflateException when i start the app which gradle builds before. The layouts use custom views: com.viselabs.core.ui.FontTextView

Re: [android-developers] icon choosing

2013-01-22 Thread Tor Norbye
Use the New wizard, and select Android Android Icon Set -- Tor On Tue, Jan 22, 2013 at 1:28 PM, bob b...@coolfone.comze.com wrote: When you create an Android app initially in Eclipse, there are all sorts of icons to choose from. But what about an existing app? Is there a way to get

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Tor Norbye
You don't need to install the ADT bundle; we also continue to distribute the plugins so you can add them to your existing IDEs. The goal for the bundle is to make first time setup much simpler; in addition to the IDE with the plugins preconfigured, it also bundled the SDK tools, and finally makes

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Tor Norbye
Autocompletion in Java or in XML? On Wed, Nov 28, 2012 at 2:51 PM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: The AutoCompletion is up to you to make it better or up to the Eclipse guys? On Thu, Nov 29, 2012 at 12:42 AM, Tor Norbye tnor...@google.com wrote: You don't need

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Tor Norbye
We don't modify the general Java editor completion; you should report those issues in the Eclipse issue tracker for JDT. -- Tor On Wed, Nov 28, 2012 at 3:04 PM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: In Java! On Thu, Nov 29, 2012 at 1:01 AM, Tor Norbye tnor...@google.com

Re: [android-developers] Error after uploding to ADT 21. Is this a bug?

2012-11-16 Thread Tor Norbye
downThis is intentional. Many users reported seeing a weird bug when editing XML files (where lines would shift around when they moved the caret etc). We tracked this down to a bug where the layout editor would sometimes incorrectly modify the text file such that it would contain an illegal line

Re: [android-developers] Not able to install ADT plugin for eclipse in Ubuntu 11.10

2012-10-21 Thread Tor Norbye
Go back to the previous screen in that wizard and make sure the checkbox for contacting all update centers is checked. -- Tor On Sat, Oct 20, 2012 at 4:20 AM, praveen10 personalid.prav...@gmail.comwrote: I am getting error while installing eclipse ADT plugin: Cannot complete the install

Re: [android-developers] Installation requires org.eclipse.wst.sse.core - how to download and install?

2012-10-21 Thread Tor Norbye
In the first page of the install wizard, make sure the Contact all update sites during the install to find required software is checked. Alternatively, download the Mobile edition which I think has all the WST components preinstalled. -- Tor On Thu, Oct 18, 2012 at 9:11 AM, dogulas

Re: [android-developers] Re: the Welcome to Android Development window doesn't appears

2012-10-21 Thread Tor Norbye
The Welcome Wizard is only shown the very first time you run the Android tools (when we need to get you to point Eclipse to an SDK install, etc). In addition to storing the path to the Android SDK in the Eclipse workspace settings, it also stores it in your home directory's .android/ddms.cfg file.

Re: [android-developers] Re: Android SDK betas?

2012-10-17 Thread Tor Norbye
And in particular, http://tools.android.com/download/adt-21-preview On Wed, Oct 17, 2012 at 5:18 AM, RichardC richard.crit...@googlemail.comwrote: Android Tools: http://tools.android.com/ adt-dev group: https://groups.google.com/forum/?fromgroups=#!forum/adt-dev On Wednesday, October

Re: [android-developers] Latest Android ADT wizard gives wrong app name

2012-10-16 Thread Tor Norbye
The best place to file it is at http://b.android.com and mark it as a Tools bug so it gets routed to us. -- Tor On Sat, Oct 13, 2012 at 9:51 AM, Ryan Warner ken...@gmail.com wrote: Hey everyone, Forgive me if this is already well known, but I went through the wizard of the latest android

Re: [android-developers] How does the new tools: namespace work?How many elements in this namespace,how to use them?

2012-10-10 Thread Tor Norbye
It's only for tool usage, and aapt strips these attributes when creating the apk. It's currently used for only a couple of purposes: to record the associated activity of a layout, if known; to store lint rules to suppress for the given element and its children, to store which layout you'd like

Re: [android-developers] Properties Elements Layout

2012-09-10 Thread Tor Norbye
This is fixed in ADT 21 ( https://android-review.googlesource.com/#/c/42238/) -- Tor On Fri, Sep 7, 2012 at 11:37 PM, fala70 fal...@gmail.com wrote: I installed new adt plugin 20.0.3 int layout designer are changed much things. The properties panel is nicer but also much limited.. If I

Re: [android-developers] Custom view's attributes

2012-09-04 Thread Tor Norbye
Support for code completion of custom view attributes was added in ADT 20. If you create for example the CustomView template and open the sample layout, you should see it offering attributes in the app: namespace. -- Tor On Tue, Sep 4, 2012 at 3:43 PM, Justin Anderson

Re: [android-developers] Android ADT not stating on Eclipse

2012-08-29 Thread Tor Norbye
Are you running Eclipse with JDK 6 (I don't think that's the default on OSX 10.5.x) ? This article seems to suggest that you need to use 64-bit -- http://support.apple.com/kb/HT3581 -- Tor On Tue, Aug 28, 2012 at 11:50 PM, JBoy writetoenr...@gmail.com wrote: Hi all, I'm trying to install

Re: [android-developers] imac g5 ppc 12,1

2012-08-29 Thread Tor Norbye
I think the official JDK 6 from Apple requires either OSX 10.6 or on 10.5, Intel Macs (not PPC). You might be able to use the older Soylatte port which supported 32 bit ppc. https://wikis.oracle.com/display/OpenJDK/BSDPort (originally http://landonf.bikemonkey.org/static/soylatte/ ) On Tue, Aug

Re: [android-developers] eclipse juno on mac os x 10.5.8 adt plugin wont run

2012-08-28 Thread Tor Norbye
ADT doesn't have a dependency on OSX, but it does depend on JDK 6 (and Eclipse 3.6.2 or later) -- do you have JDK 6 on your system? -- Tor On Mon, Aug 27, 2012 at 7:26 PM, Errol r3whitme...@gmail.com wrote: running os x 10.5.8 with eclipse 4.2 which runs fine, but a bit slow... after

Re: [android-developers] Eclipse and ADT plugin

2012-08-24 Thread Tor Norbye
It sounds like you are trying to install ADT into a version of Eclipse older than 3.6.2 which won't work. You need 3.6.2 or higher. -- Tor On Thu, Aug 23, 2012 at 2:30 PM, The_Piper joerggrohne...@googlemail.comwrote: I try to install the ADT plugin in Eclipse and *ALWAYS* get this error

Re: [android-developers] Re: App Name appears as Activity Name

2012-08-23 Thread Tor Norbye
Please file it at http://b.android.com and use category Component-Tools . -- Tor On Thu, Aug 23, 2012 at 6:19 AM, Compguru910 compguru...@gmail.com wrote: There is a new bug that many people are running into with the new ADT where the main activities label is used for the app name in the app

Re: [android-developers] Problem with App name with new ADT plugin

2012-08-23 Thread Tor Norbye
This is probably an accidental side effect of the fact that the New Project wizard now no longer hardcodes a simple hello world activity, it lets you pick between several different types of activities, and these are also used when you add an activity to a project (where you do want each activity

Re: [android-developers] Application package 'AndroidManifest.xml' must have a minimum of 2 segments.

2012-08-06 Thread Tor Norbye
This means that the package name declared in your manifest is a single word -- it should have at least two segments separated by a dot. On Fri, Aug 3, 2012 at 12:27 AM, tushar tusharmodak2...@gmail.com wrote: problem Application package 'AndroidManifest.xml' must have a minimum of 2

Re: [android-developers] Re: No Android in the preferences panel

2012-07-31 Thread Tor Norbye
Are you running Eclipse on JDK 1.6 or later? -- Tor On Tue, Jul 31, 2012 at 2:12 PM, ole! olub...@gmail.com wrote: Same problem exactly encountered today when I update to ADT 20. Mac OSX 1.5.8, Eclipse June, ADT 20 reinstalled everything! No go. Anyone? On Monday, July 30, 2012

Re: [android-developers] Installing ADT on Eclipse Juno

2012-07-16 Thread Tor Norbye
Which distribution of Eclipse did you download? Make sure you have one that includes the XML support, for example Eclipse IDE for Java Developers. Do you by any chance have the checkbox Contact all update sites during install to find required software unchecked? I often uncheck it myself since

Re: [android-developers] Android ADT r20 Bug with Eclipse

2012-07-14 Thread Tor Norbye
It's fixed in ADT 20.0.1 which should be out soon. On Jul 13, 2012 6:41 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Its clearly a bug on last ADT update. You can safely remove those error messages either from the Problems view, or clicking on one with right button and selecting

Re: [android-developers] ADT Import Package Name Change

2012-07-13 Thread Tor Norbye
Can you file a tools bug (b.android.com) for this? On Jul 13, 2012 7:27 AM, EpsilonOrion epsilonor...@gmail.com wrote: When using Eclipse and the ADT to import an Android Project, the name of the project displayed in the project Navigator comes up package.projectname (i.e.

Re: [android-developers] I cant create a new Android Project

2012-07-01 Thread Tor Norbye
Use Android Application Project. -- Tor On Jun 30, 2012 11:05 PM, Michael pizzaands...@gmail.com wrote: Hi guys, I have a slight problem, I apologize if this is too basic a question. I am trying to use phonegap with eclipse and have installed the ADT Plugin and the android SDK. However,

Re: [android-developers] Android Project not showing up.

2012-07-01 Thread Tor Norbye
Use Android Application Project. You can uncheck Create Activity on a subsequent page to make a blank project. On Jun 30, 2012 11:05 PM, Samuel EpicWin samx...@gmail.com wrote: I have installed the Android SDK and ADT Plugin for Eclipse. I do have the Android folder when I goto File-Other, but

Re: [android-developers] Formatted string and localization problem

2012-06-21 Thread Tor Norbye
You need to number the string arguments because in some translations, the order in which the substitutions appear may not be the same. If you just use %s, there is no way to for example use the second argument earlier than the first; it will need to find the first occurrence of %s and match it

Re: [android-developers] Formatted string and localization problem

2012-06-20 Thread Tor Norbye
Try string name=exception_loading_musicCouldn\'t load music file %1$s (%2$s)/string -- Tor On Wed, Jun 20, 2012 at 11:31 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi there, I have a l10n string that I need to format later, it looks like this: string

Re: [android-developers] Re: Eclipse Image Bug

2012-06-18 Thread Tor Norbye
This sounds like this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=375421 Note however that we don't know how to reproduce this bug. If anyone has reproducible steps, please describe in as much detail as possible and attach to that issue. -- Tor On Sun, Jun 17, 2012 at 11:59 AM, G. Blake

Re: [android-developers] Every few hours Eclipse + ADT runs out of resources...

2012-06-18 Thread Tor Norbye
Can you try using ADT 20 Preview 3? It contains various leak fixes, such as http://code.google.com/p/android/issues/detail?id=26774 . -- Tor On Thu, Jun 14, 2012 at 11:35 AM, Nobu Games dev.nobu.ga...@gmail.comwrote: Hi I know this is an old post but I'm running across the very same

Re: [android-developers] Every few hours Eclipse + ADT runs out of resources...

2012-06-18 Thread Tor Norbye
By the way, ADT 20 Preview 3 is here: http://tools.android.com/download/adt-20-preview . We'll hopefully have a final build in the next few weeks. -- Tor On Mon, Jun 18, 2012 at 7:34 AM, Tor Norbye tnor...@google.com wrote: Can you try using ADT 20 Preview 3? It contains various leak fixes

Re: [android-developers] Android inapp billing sample: Unable to import to Eciplse

2012-06-12 Thread Tor Norbye
Instead of selecting Import, try File New Project... and select Android Project -- and from the first page select Use Existing Source. (This will be a bit cleaner in ADT 20; we now have a proper Import wizard which can import both existing Eclipse projects as well as non-Eclipse Android

Re: [android-developers] Re: Someone use GridLayout (ADT-17) in v7?

2012-04-19 Thread Tor Norbye
On Thursday, April 5, 2012 7:56:37 AM UTC-7, Siddharth Menon wrote: Thanks Tor I tried using *android.support.v7.widget.GridLayout* gives me no error but I will not render as grid. Has anybody successfully got this working? On Wednesday, April 4, 2012 6:56:48 PM UTC+5:30, Tor Norbye wrote: You need

Re: [android-developers] android-sdk-linux/tools/lib/proguard.cfg (No such file or directory)

2012-04-12 Thread Tor Norbye
Are you sure you're really using ADT 18? This sounds like what would happen if you had a version of ADT older than 17 running along with new SDK Tools 17 or later. -- Tor On Wed, Apr 11, 2012 at 8:55 AM, zousey luc...@gmail.com wrote: I have installed freshed ADT 18.0.0 and SDK Tools, r18 on  

Re: [android-developers] Re: Someone use GridLayout (ADT-17) in v7?

2012-04-04 Thread Tor Norbye
You need to use android.support.v7.widget.GridLayout. -- Tor On Wed, Apr 4, 2012 at 5:02 AM, Siddharth Menon siddharthme...@gmail.com wrote: Hi, So finally give GridLayout support for older version. Added GridLayout project from sdk/extras/android/support/v7/gridlayout Added this project

Re: [android-developers] View.setEnabled() Deprecated?

2012-03-23 Thread Tor Norbye
The deprecated warnings for attributes in XML in Lint is driven off of the deprecation flags in R.attr: http://developer.android.com/reference/android/R.attr.html#enabled This constant is deprecated. I guess we need to do some more filtering? This is tracked in issue

Re: [android-developers] Google ADT plugin to Eclipse

2012-02-21 Thread Tor Norbye
It looks for lastSdkPath= in ~/.android/ddms.cfg. -- Tor On Tue, Feb 21, 2012 at 2:12 PM, sbq s...@sbqsam.com wrote: Greetings, When I install the Google ADT (http://developer.android.com/sdk/ eclipse-adt.html) into Eclipse, it automatically discovers the path to the Android SDK. How

Re: [android-developers] eclipse XML formatting not working

2012-02-13 Thread Tor Norbye
On Mon, Feb 13, 2012 at 7:01 AM, John Goche johngoch...@googlemail.comwrote: Hello, I've recently reinstalled eclipse and ADT and android plugin for eclipse. I am trying to set the formatting properties for my projects by going to Preferences - XML - XML Files - Editor and setting them, but

Re: [android-developers] eclipse XML formatting not working

2012-02-13 Thread Tor Norbye
On Mon, Feb 13, 2012 at 8:27 AM, John Goche johngoch...@googlemail.comwrote: On Mon, Feb 13, 2012 at 4:48 PM, Tor Norbye tnor...@google.com wrote: Go to Preferences - Android - Editors and uncheck the first option (Format XML files using the standard Android XML style rather than

Re: [android-developers] No resource identifier found for attribute 'tabLayout' in package 'android'

2012-01-27 Thread Tor Norbye
The file public.xml in the same folder defines which attributes are API. -- Tor On Fri, Jan 27, 2012 at 6:13 PM, Grantland grantlandc...@gmail.com wrote: Is there any reason that the attribute android:tablayout isn't publicly available? I can find it in the source here:

Re: [android-developers] Why isn't layoutopt in my sdk?

2011-12-31 Thread Tor Norbye
On Sat, Dec 31, 2011 at 5:17 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Dec 31, 2011 at 7:57 PM, David Karr davidmichaelk...@gmail.com wrote: I noticed the mention of the layoutopt tool in the Android Training pages. I see that I don't have that in my sdk distro anywhere. I've

Re: [android-developers] Proguard.cfg error won't go away on newest updates.

2011-12-19 Thread Tor Norbye
On Mon, Dec 19, 2011 at 9:54 AM, Nathan critter...@crittermap.com wrote: With the latest tools I get this for an Android Library Project: Obsolete proguard file; use -keepclasseswithmembers instead of - keepclasseswithmembernames proguard.cfg (I really hope there was more than a

Re: [android-developers] Re: Proguard.cfg error won't go away on newest updates.

2011-12-19 Thread Tor Norbye
Oh, I see - I presume Lint got run automatically when you exported an APK, and you then corrected the problem, but since you didn't realize you had run lint (because it's done automatically now) it wasn't clear that you needed to re-run it to update the markers. We can probably do better here (and

Re: [android-developers] Palette problem

2011-11-29 Thread Tor Norbye
It should be in a separate category, Textfields - there should be a bunch of preconfigured edit texts there (with different input types, such as phone number, address, negative number, password, etc.) We deliberately didn't put a single EditText in the form widgets category to avoid the

Re: [android-developers] wysiwug editor in eclipse?

2011-11-22 Thread Tor Norbye
Install ADT: http://developer.android.com/sdk/eclipse-adt.html -- Tor On Mon, Nov 21, 2011 at 3:49 PM, g...@deanblakely.com g...@deanblakely.comwrote: I'm watching this video android Development tools where they show a cool wysiwug eclipse editor running on a MAC. My eclipse on my windows

Re: [android-developers] Re: RelativeLayout not working in ADT 14

2011-10-31 Thread Tor Norbye
We're tracking this issue in http://code.google.com/p/android/issues/detail?id=21230 -- Tor On Mon, Oct 31, 2011 at 7:00 AM, arnouf arnaud.far...@gmail.com wrote: The editor seems to have a bug. You create RL with 2 buttons inside, one below the other. The second is over the first. But

Re: [android-developers] Eclipse crashes when open layout designer

2011-10-24 Thread Tor Norbye
When the VM itself crashes that's a Java bug -- it looks like you're running Java 1.5.0_06 -- you might want to update to a newer version (such as Java 1.6.0_29). -- Tor On Mon, Oct 24, 2011 at 4:15 AM, ya3qoob eng.osama.yacc...@gmail.com wrote: I have a problem with eclipse, Whenever i try to

Re: [android-developers] Space widget in ADT Graphical Layout

2011-10-23 Thread Tor Norbye
The Space views are actually hidden by default; ADT 14 has the beginnings of a rich editor for GridLayouts, which provides guidelines etc -- and it hides Space views by default. There's a Grid mode where you get to edit the view more as a grid than as a free-form layout, so it makes sense to not

Re: [android-developers] Eclipse Android Graphical Layout is not giving the options on properties window

2011-10-03 Thread Tor Norbye
There was a Linux-specific bug which sounds very similar to this -- which has a fix/workaround in the ADT 14 preview: tools.android.com/download/adt-14-preview (There were several other important Linux fixes in ADT 14 for the layout editor too - http://tools.android.com/recent/linuxfixes ). If

Re: [android-developers] How do I develop a Eclipse plugin on top of google's ADT?

2011-09-29 Thread Tor Norbye
We'd love contributions -- we have an overview doc here: http://tools.android.com/contributing but basically you generally mention on this alias what you're interested in working on (to ensure that people don't overlap in work, and to ensure (if the feature is controversial) that we're in

Re: [android-developers] How do I develop a Eclipse plugin on top of google's ADT?

2011-09-29 Thread Tor Norbye
Oh yes, Mark is right -- I was referring to the adt-dev group when I said this alias, *not* the android-developers alias. -- Tor On Thu, Sep 29, 2011 at 2:19 PM, Mark Murphy mmur...@commonsware.com wrote: I'd start off by joining the adt-dev Google Group and asking there, as that's the list

Re: [android-developers] no XML code formatting options in eclipse classic?

2011-09-16 Thread Tor Norbye
This is coming in the next version of the ADT plugin (not yet released). See http://tools.android.com/recent/xmlformatter (and for other XML editing improvements, also see http://tools.android.com/recent/xmleditingimprovements -- Tor On Fri, Sep 16, 2011 at 3:31 PM, John Goche

Re: [android-developers] Re: word wrapping

2011-09-13 Thread Tor Norbye
He's probably asking about soft wrapping. Eclipse does not support it directly; see https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779 (though from a quick skim it looks like there might be some support in the framework and some plugins to enable it.) -- Tor On Tue, Sep 13, 2011 at 1:28 PM,

Re: [android-developers] Re: Graphical layoutt

2011-09-02 Thread Tor Norbye
for your help!! On 1 sep, 22:20, Tor Norbye tnor...@google.com wrote: We had a bug that drag drop within the layout editor was broken on some versions of Linux, so this is probably the bug you've run into:http://code.google.com/p/android/issues/detail?id=19057 It was fixed recently

Re: [android-developers] Graphical layoutt

2011-09-01 Thread Tor Norbye
We had a bug that drag drop within the layout editor was broken on some versions of Linux, so this is probably the bug you've run into: http://code.google.com/p/android/issues/detail?id=19057 It was fixed recently for the next version of ADT. To verify the fix with the submitter we posted a

Re: [android-developers] AbsoluteLayout

2011-08-30 Thread Tor Norbye
On Tue, Aug 30, 2011 at 6:49 PM, bob b...@coolgroups.com wrote: Am I a naughty boy for wanting to use AbsoluteLayout? Yes... I have an iPhone app that needs conversion to Android ASAP. Also, is there a way to make Eclipse stop crossing out my layout code? Here's what Eclipse did:

Re: [android-developers] ADT - Unable to add widget to layout/Unexplainable crashes

2011-08-18 Thread Tor Norbye
On Wed, Aug 17, 2011 at 7:11 PM, bsanders1979 briansanders1...@gmail.com wrote: Hello, I'm just trying to setup a dev environment so that I can use ADT + Maven. I have 2 32-bit boxes (XP/Debian 6.0) that are failing to work properly. I've tried downloading both Helios and Indigo of the Java EE

Re: [android-developers] Re: ADT - Unable to add widget to layout/Unexplainable crashes

2011-08-18 Thread Tor Norbye
. Can you send me (no need to CC the group) those NPE's? Depending on what they are we might be able to code defensively against some assumptions we may have made. -- Tor On Aug 18, 10:08 am, Tor Norbye tnor...@google.com wrote: On Wed, Aug 17, 2011 at 7:11 PM, bsanders1979 briansanders1

Re: [android-developers] Re: Android source line numbers in stack trace

2011-08-06 Thread Tor Norbye
On Fri, Aug 5, 2011 at 11:09 PM, Chris Stratton cs07...@gmail.com wrote: I was frankly operating under the assumption that tracking down the precise source would be futile and thinking it more pragmatic to look at the application code instead You're right, that's a good assumption; it's

Re: [android-developers] Re: Android source line numbers in stack trace

2011-08-05 Thread Tor Norbye
On Fri, Aug 5, 2011 at 1:12 PM, Chris Stratton cs07...@gmail.com wrote: On Friday, August 5, 2011 3:54:01 PM UTC-4, snpe wrote: The source code in the Sources plugin from code.google.com/p/adt- addons/ contains Android 2.3.4 source API level 10 is corresponding to Android 2.3.3/2.3.4 (http://

Re: [android-developers] Custom RatingBar Implementation

2011-08-02 Thread Tor Norbye
See the solution listed in http://code.google.com/p/android/issues/detail?id=18659 (and in particular see Xav's comment, #8). -- Tor On Tue, Aug 2, 2011 at 12:10 PM, Saulo Aguiar sauloaguia...@gmail.com wrote: Hi all, i followed this article Pretty Rating Bar and it's working fine when i

Re: [android-developers] Re: Eclipse Layout Editor news

2011-06-22 Thread Tor Norbye
...and in the meantime, if you're working with RelativeLayouts, instead of setting ids manually via the property sheet etc, you could try the ADT 12 preview bits where we have improved the relative layout support quite a bit. It will hopefully make working with relative layouts easier; and if it

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Tor Norbye
This should be fixed in the newer rendering libraries. So either try changing the rendering target (a combobox in the configuration chooser above the layout editor) to 3.0 or 3.1, or, install the preview versions of the backports of the layout library to 2.x - see http://tools.android.com/download

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Tor Norbye
On Mon, Jun 20, 2011 at 10:26 AM, Simon Platten simonaplat...@googlemail.com wrote: According to the Android link I posted earlier, this functionality has been available since version 1 of the API.  My target is currently set for Android 2.1

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Tor Norbye
On Mon, Jun 20, 2011 at 11:06 AM, Simon Platten simonaplat...@googlemail.com wrote: Thank you, I think I'll give it a miss in that case until its fixed for older API's, as I want to make the application available to a wider audience. I think we're talking about different things. The TabHost

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Tor Norbye
On Sun, Jun 19, 2011 at 2:55 PM, Gabe S gabrieljspen...@gmail.com wrote: The easiest way I found is to set your target build API to 11 (Android 3.0) and change your graphical layout view to Android 3.0 while you are working with the tab xml file.  It's a bug that is supposed to be fixed for the

Re: [android-developers] debugging in eclipse and CONFIRM keyword???

2011-06-16 Thread Tor Norbye
The property sheet bug is a bug specific to Eclipse 3.6.2. In other versions of Eclipse, it should just work, and in ADT 12 we've added a workaround for 3.6.2 as well. You can download a preview build from http://tools.android.com/download/ . -- Tor On Wed, Jun 15, 2011 at 9:23 PM, jesb

Re: [android-developers] ListView and GridView Rendering

2011-06-15 Thread Tor Norbye
Correct, though we are backporting it to earlier versions, and you can install a milestone build of these libraries from http://tools.android.com/ . There are many many other improvements in those libraries as well, so you should find ADT 11 working much better with these milestone build libraries

Re: [android-developers] The following classes could not be found: fragment

2011-05-26 Thread Tor Norbye
In the I/O demo we were showing a snapshot build of ADT 11. It hasn't been released yet, but you can download a milestone build from http://tools.android.com/download And yes, that milestone build contains the new fragment support which is documented here: http://tools.android.com/recent/ -- Tor

Re: [android-developers] Re: eclipse/sdk combo crash

2011-04-20 Thread Tor Norbye
Eclipse IDE for Java Developers Version: Helios Service Release 2 Build id: 20110218-0911 Android SDK v2.2 Hope the information will be useful for you. On 4月10日, 上午5时53分, Tor Norbye tnor...@google.com wrote: On Fri, Apr 8, 2011 at 12:06 PM, Dustin r.dustin.l...@gmail.com wrote: Tor, Thanks

Re: [android-developers] Re: eclipse/sdk combo crash

2011-04-09 Thread Tor Norbye
On Fri, Apr 8, 2011 at 12:06 PM, Dustin r.dustin.l...@gmail.com wrote: Tor, Thanks for the input.  I was not aware of the New Android XML File wizard.  I was just creating a new folder called Menu and then placing a new xml inside it called menu.xml.  After trying the wizard, everything seems

Re: [android-developers] Re: eclipse/sdk combo crash

2011-04-08 Thread Tor Norbye
How are you creating the XML file -- using the New Android XML File wizard, selecting Menu among the type radio buttons? What name are you choosing? Also, which version of Eclipse and ADT? If you can generate a thread dump of the frozen IDE, that would help. For example, use jstack pid. Here are

Re: [android-developers] Where is the source code of ADT

2011-04-04 Thread Tor Norbye
The source code for ADT is here: http://android.git.kernel.org/?p=platform/sdk.git;a=summary See http://source.android.com/source/download.html for instructions on how to get the source, and see http://tools.android.com/build for instructions on how to build the ADT. -- Tor On Sat, Apr 2, 2011

Re: [android-developers] Where is the source code of ADT

2011-04-04 Thread Tor Norbye
code somewhere else? 2011/4/5 Tor Norbye tnor...@google.com The source code for ADT is here: http://android.git.kernel.org/?p=platform/sdk.git;a=summary See http://source.android.com/source/download.html for instructions on how to get the source, and see http://tools.android.com/build

Re: [android-developers] Properties View

2011-03-30 Thread Tor Norbye
The property view currently only displays properties that you have explicitly defined for this view (e.g. you would see a declaration of these specific values in the XML). It does not show inherited or default values. We know this is a big limitation and we plan to improve the property sheet. --

Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Tor Norbye
ADT 10 requires Eclipse 3.5 or later. -- Tor On Mar 7, 2011 9:01 PM, Nathan critter...@crittermap.com wrote: I'd like to try it, but there isn't Help Install New Software... menu item on my eclipse. It seems to want only repositories, not zips. This is on Eclipse 3.4 in Windows. I'll try on

Re: [android-developers] ADT 10.0.0 Issues

2011-03-02 Thread Tor Norbye
On Wed, Mar 2, 2011 at 2:13 AM, Markus Junginger mar...@greenrobot.de wrote: Thanks for the information, it's nice to see the ongoing effort and the increased development speed in the last months. :) I attached the thread dump, Tor requested. Hope it helps. Unfortunately, no... This

Re: [android-developers] ADT 10.0.0 Issues

2011-03-01 Thread Tor Norbye
On Sun, Feb 27, 2011 at 4:54 AM, Markus Junginger mar...@greenrobot.de wrote: Since I updated ADT, I am experiencing CPU load issues. One of the cores goes to 100% when I use the layout editor for a while. I am running Windows 7, and a friend confirmed this issue with Linux. Is there a known

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Tor Norbye
Do you mean that the IDE is -blocked- for 20-30 seconds, or that there is some background activity for a while after saving? 20-30 sounds abnormally large. How large is your project (rough number of files) ? Are there errors in your log? (Go to Window Show View Error Log) -- Tor On Sat, Feb

Re: [android-developers] Re: Development Tools Crashing

2011-02-07 Thread Tor Norbye
Unfortunately, the Android Eclipse tooling was compiled without debug info, which means we don't have line numbers pin-pointing the problem, and that's particularly problematic in this case because the method where the problem occurs is really large. We've regenerated a new build of ADT 9 with

Re: [android-developers] Android Layout Editor for 'Honeycomb (Preview)' issue with color values: Exception thrown in Eclipse.

2011-02-04 Thread Tor Norbye
On Fri, Feb 4, 2011 at 8:42 AM, Streets Of Boston flyingdutc...@gmail.com wrote: Hi, The Android Layout Editor has been somewhat problematic for me when it shows the layout of the widgets on the screen. Some of the widgets are all shown crowded to the top. However, when showing the outline of

[android-developers] Re: layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-22 Thread Tor Norbye
We have just released a new snapshot development build: http://tools.android.com/download It should make reordering in the outline work much more smoothly -- in addition to a rewritten drag drop you now have + and - actions (not buttons, but keyboard shortcuts as well as context menu items). See

Re: [android-developers] Re: ADT 9.0.0 preview

2010-12-16 Thread Tor Norbye
If you are using the new 9.0.0 preview bits you can go to the Options/Preferences dialog, and enable Android Editors Automatically format the XML edited by the visual layout editor. This will run the Eclipse formatter on your behalf behind the scenes when you are making graphical edits, so you

Re: [android-developers] Re: mac layout editor issues ...

2010-12-15 Thread Tor Norbye
On Tue, Dec 14, 2010 at 3:46 PM, Richard Schilling richard.rootwirel...@gmail.com wrote: So, it's taken a while to just figure out that if you want to reorder items in a view, you have to drag items on top of each other.  And, sometimes it causes those items to completely disappear. Yes -- the