[android-developers] Re: When will google post official cupcake SDK

2009-04-13 Thread Raphael
On Mon, Apr 13, 2009 at 6:18 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: Official SDK 1.5 is OUT NOW. This is a preview SDK, not the final one. Please make sure to read the release notes. R/ --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: One line causing lots of garbage collection. String.format with float. Help?

2009-04-13 Thread Raphael
First you should try to use StringBuilder, which is the non-synchronized version of StringBuffer. Next you could just write: String price = String.format($ %.2f,pricef); which saves you a temporary StringBuffer allocation. R/ On Mon, Apr 13, 2009 at 7:37 PM, DavidG dgu...@gmail.com wrote:

[android-developers] Re: ADT Layout Editor -- What do warning triangles mean?

2009-04-13 Thread Raphael
Note that the various fields correspond to the resource qualifiers documented here: http://developer.android.com/guide/topics/resources/resources-i18n.html#AlternateResources R/ On Mon, Apr 13, 2009 at 5:46 PM, Jon Webb jonaw...@gmail.com wrote: Is there an explanation of the ADT layout

[android-developers] Re: Underline of TextView

2009-04-13 Thread Raphael
On Mon, Apr 13, 2009 at 8:02 PM, Kaka clipse.z...@gmail.com wrote: Then, how to implement this in code? The rich text object in Android is called a Spannable: http://developer.android.com/reference/android/text/Spannable.html You can give this to TextView.setText(). Also check the BufferType

[android-developers] Re: how on earth do you access command line?

2009-04-13 Thread Raphael
First open a dos box, also called a Command prompt: Under XP: Start menu all programs accessories command prompt Under Vista just search for command prompt in the Start seach box. Then use the cd command (=change dir) to change the directory to where you installed the SDK. If you want to

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-13 Thread Raphael
On Mon, Apr 13, 2009 at 9:46 PM, Jamie Williams cou...@gmail.com wrote: im new at this so should i stay with 1.1 or move to 1.5 Stick to coding with 1.1 if you want to deploy to Market right now. If you have an existing app, make it run on the emulator for 1.5 to check that it will work

[android-developers] Re: Emulator Stopped Working

2009-04-13 Thread Raphael
Does it stop as soon as you start it or later? Which SDK and system image are you using? Can you run the emulator in verbose mode to see any potential error messages? $ emulator -verbose or $ emulator -debug all R/ On Mon, Apr 13, 2009 at 6:43 PM, Stupidav stupi...@gmail.com wrote:

[android-developers] Re: multiple successive queries to a database

2009-04-15 Thread Raphael
Please look at the adb logcat error message (also Eclipse DDMS perspective logcat). R/ On Tue, Apr 14, 2009 at 10:38 PM, iki qui.af...@gmail.com wrote: The application has stopped unexpectedly. Please try again. One query always works. Two consecutive queries works about 75% of the

[android-developers] Re: how on earth do you access command line?

2009-04-15 Thread Raphael
file. On Apr 14, 12:18 am, Raphael r...@android.com wrote: First open a dos box, also called a Command prompt: Under XP:   Start menu all programs accessories command prompt Under Vista just search for command prompt in the Start seach box. Then use the cd command (=change dir

[android-developers] Re: set activity label in activity code

2009-04-15 Thread Raphael
On Tue, Apr 14, 2009 at 7:54 AM, zeeshan genx...@gmail.com wrote: Hi Experts, i need to change activity label on the title bar in my code. Activity.setTitle() R/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-15 Thread Raphael
Which version of Eclipse are you using? Could you check the workspace/.metadata/.log for any detailed error and post them or send privately? R/ On Tue, Apr 14, 2009 at 6:43 AM, Al alcapw...@googlemail.com wrote: I'm trying to make a new XML file and have selected New-Android XML File, but

[android-developers] Re: How to built a resident app ??

2009-04-15 Thread Raphael
On Mon, Apr 13, 2009 at 11:22 PM, QQ d9147...@gmail.com wrote: I have to built a resident application, but I have no idea to do that Look for services here: http://developer.android.com/guide/topics/fundamentals.html R/ --~--~-~--~~~---~--~~ You received

[android-developers] Re: How add view in new layer?

2009-04-15 Thread Raphael
On Tue, Apr 14, 2009 at 2:58 AM, alexander.ku...@gmail.com alexander.ku...@gmail.com wrote: I need show ads in application. Ads in my custom view must move from bottom of screen with animation. How can I add my view in bottom of screen as new layer or help me find other method? Check the

[android-developers] Re: emulator speed

2009-04-15 Thread Raphael
Note that if you use Eclipse, there's a huge difference whether you use the debug launch mode or the run launch mode. The debug mode can be 2 to 20 times slower depending on the kind of computation done by your application compared to the run mode. R/ On Tue, Apr 14, 2009 at 1:03 PM, Dianne

[android-developers] Re: Developing absolute layout - no drag drop click drag in eclipse ??

2009-04-15 Thread Raphael
However if you display the Outline view you can do some basic re-ordering of the XML elements. R/ On Tue, Apr 14, 2009 at 1:34 PM, Xavier Ducrohet x...@android.com wrote: Not at this time. The layout editor is a work in progress. In 0.9, we added basic drag'n'drop support but we haven't

[android-developers] Re: Re: how on earth do you access command line?

2009-04-15 Thread Raphael
and 'Path' for the system variable, no 'path'. And another question? If I edit these and change them to the jdk are they most likely going to break the other programs that it was set too? Thanks again for your time! On Apr 15, 2009 1:24am, Raphael r...@android.com wrote: That error may mean two

[android-developers] Re: String comparison with Text in EditText with online data.

2009-04-16 Thread Raphael
It's hard to see what's going on here because you didn't post the outer part -- is this an activity onCreate? Looks like you're accessing your string field before the setContentView. This is loosely related to your question but you might consider that: - you're not supposed to do the network

[android-developers] Re: String comparison with Text in EditText with online data.

2009-04-16 Thread Raphael
It's hard to see what's going on here because you didn't post the outer part -- is this an activity onCreate? Looks like you're accessing your string field before the setContentView. This is loosely related to your question but you might consider that: - you're not supposed to do the network

[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-16 Thread Raphael
Could you post your layout xml file? Thanks. R/ On Thu, Apr 16, 2009 at 12:29 PM, kevin kevin_x...@yahoo.com wrote: My LinearLayout has a button and a WebView. The problem is that only the first one in layout can be clicked, the other is not. If I put WebView first into the layout, the

[android-developers] Re: Re: how on earth do you access command line?

2009-04-16 Thread Raphael
getting the same error message in the command prompt. On Wed, Apr 15, 2009 at 2:46 AM, Raphael r...@android.com wrote: I used android-developers@googlegroups.com like for your first post. Since you use gmail, simply hit the reply all button to my posts. R/ On Wed, Apr 15, 2009 at 12:41 AM

[android-developers] Re: no location folder found under data directory for 1.1

2009-04-16 Thread Raphael
Would you like to give a bit of context on that error? What where you doing, what's giving this error, what were you expecting. Thanks in advance, R/ On Wed, Apr 15, 2009 at 3:05 AM, jj jagtap...@gmail.com wrote: no location folder found under data-location-gps directory for 1.1, which

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-16 Thread Raphael
)        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)        at org.eclipse.equinox.launcher.Main.run(Main.java:1236) On Apr 15, 7:55 am, Raphael r...@android.com wrote: Which version of Eclipse are you using? Could you check the workspace

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-16 Thread Raphael
Kill thread. Please move your noise over to android-discuss or /dev/null. This group is for developing with the SDK. R/ On Wed, Apr 15, 2009 at 2:57 PM, JP joachim.pfeif...@gmail.com wrote: $ show system /noprocess VMS V5.5-2 on node ETERNAL  12-JAN-2005 16:32:04.67  Uptime  4292 20:18:15

[android-developers] Re: SDK 1.5 Build Error

2009-04-16 Thread Raphael
Do you have external JAR files or anything else that's trying to bring that awt class? R/ On Wed, Apr 15, 2009 at 10:05 AM, Chris McCurdy christopher.mccu...@gmail.com wrote: I'm attempting to test one of my applications in the SDK1.5 environment, but when it tries to build, I get this error:

[android-developers] Re: Open an Existing Eclipse Project

2009-04-22 Thread Raphael
On Fri, Apr 17, 2009 at 5:14 PM, DB infinitedestroy...@yahoo.com wrote: How do you open an existing Eclipse Project?  I don't see an open button or a way to load an existing project. In Eclipse you need to import an existing on-disk project in the workspace before you can open it. If it's an

[android-developers] Re: Java 1.6?

2009-04-22 Thread Raphael
An Android device doesn't run Java, it runs Dalvik bytecode. To simplify: you use Java to compile your .java source code into binary .class, which is Java bytecode for the JVM. But the android tool chain then transforms this into dalvik bytecode (aka .dex). You could think of Java has being a

[android-developers] Re: distributing an app packaged with just emulator

2009-04-26 Thread Raphael
You don't really need to send them adb. What you need to do is: - create an AVD, run the emulator with it - install your app on this emulator image - send your friends the emulator binary, the AVD itself and the corresponding system images. The AVD contains the userimage which has your app

[android-developers] Re: ANT Build files sdk 1.5 and beyond

2009-04-26 Thread Raphael
I'm not sure I understand your question. I'll try something and then let me know if I got it right. The Eclipse ADT plugin does not use the ant build.xml files -- it has its own build logic and just uses the .classpath and .project files needed by Eclipse. For Ant, you don't need to write the

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-26 Thread Raphael
On Fri, Apr 24, 2009 at 10:37 AM, chrispix chris...@gmail.com wrote: Dianne, thank you for the response.  The issue is, that if an application uses GPS and it is NOT turned off, it can drain the battery quite quickly if the app continues to ping the location. Which is why you disabled this.

[android-developers] Re: Launch android emulator on mingw/msys, but failed

2009-04-26 Thread Raphael
What does it say if you run it with emulator -verbose or -debug init? R/ On Thu, Apr 23, 2009 at 9:17 PM, Edward xia...@gmail.com wrote: Hi, I built the android emulator source on mingw/msys, then run ./ emulator in msys console as below, but failed. $ ./emulator This application has

[android-developers] Re: ADB over IP?

2009-09-15 Thread Raphael
adb currently only works over USB. R/ On Tue, Sep 15, 2009 at 3:07 PM, Bao tedcan...@gmail.com wrote: Hello,  Does the ADB support debug over IP? I set ADBHOST=192.168.16.2 in the eviroment variable in Windows XP, and use adb kill-server; adb devices. It didn't show any devices. However,

[android-developers] Re: Textview Autoscroll?

2009-09-15 Thread Raphael
someTextView.setText(someText); scrollViewWrappingTheTextView.scrollTo(0, someTextView.getHeight()); R/ On Tue, Sep 15, 2009 at 4:35 PM, Johnnyr jreyn...@gmail.com wrote: Hi guys, I'm trying to get a text view, that is a child of a scrollview, to automatically scroll to the bottom when

[android-developers] Re: Android 1.6 SDK is here!

2009-09-15 Thread Raphael
Thanks for the feedback. Could you be more explicit on which API are not properly documented? If possible, please file it as a bug on http://b.android.com so that they can be properly documented in a future SDK. R/ On Tue, Sep 15, 2009 at 4:58 PM, Don Tran arro...@gmail.com wrote: The

[android-developers] Re: ANDROID SDK 1.6 DOES NOT SUPPORT ARABIC LOCALE

2009-09-16 Thread Raphael
I don't think there's any support for right-to-left in the system yet. R/ On Wed, Sep 16, 2009 at 6:12 PM, Ahmad Al-Ibrahim a.alibra...@gmail.com wrote: Disappointed, I was so happy to see Arabic listed in the docs. Any suggestion on how to get that done? or at least add Arabic fonts to be

[android-developers] Re: handling expensive operations in the UI thread - posting result from worker thread to UI thread

2009-09-16 Thread Raphael
On Wed, Sep 16, 2009 at 6:15 PM, rukiman ruksh...@optushome.com.au wrote: OK I should re-ask my question so its a bit more clearer. in updateResultsInUI() it is updating the results obtained from the doSomethingExpensive() which was calculated in the worker thread. Now what if

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread Raphael
On Tue, Sep 15, 2009 at 8:36 PM, !oEL runzhou...@gmail.com wrote: Hi, Second question of the day, how do I programmatically turn on/off WIFI? There's an example at line 226 here:

[android-developers] Re: Drawing Simple lines

2009-09-16 Thread Raphael
What is canvas? What's your XML layout? R/ On Wed, Sep 16, 2009 at 7:57 AM, pro proka...@gmail.com wrote: Hi All, I've the following code I'm trying to run on emulator ( v 1.5 of OS), but it seems like I can't use the whole canvas!!! Here is the code fragment -             Paint p = new

[android-developers] Re: ADB over IP?

2009-09-16 Thread Raphael
=2f38b699713dc2587a771bd5d4c6a47329728f5e Don't be evil. -E On Sep 15, 6:43 pm, Raphael r...@android.com wrote: adb currently only works over USB. R/ On Tue, Sep 15, 2009 at 3:07 PM, Bao tedcan...@gmail.com wrote: Hello,  Does the ADB support debug over IP? I set ADBHOST=192.168.16.2 in the eviroment variable in Windows

[android-developers] Re: Textview Autoscroll?

2009-09-16 Thread Raphael
android:layout_width=wrap_content android:textStyle=bold android:layout_marginLeft=10px android:text=This is a test Sentence. android:layout_marginBottom=0px android:layout_gravity=left / /ScrollView /RelativeLayout Thanks! On Sep 15, 4:55 pm, Raphael r...@android.com wrote: someTextView.setText

[android-developers] Re: How To Programmatically Reboot The Phone

2009-09-16 Thread Raphael
On Tue, Sep 15, 2009 at 8:22 PM, !oEL runzhou...@gmail.com wrote: I see. Thank you Mark, I guess this shall be disposed from my feature basket, since I'm planning to write a public app. Out of curiosity, why would you want to write an app that reboots a phone? R/

[android-developers] Re: Is there any way to get paticular vertion of android source code?

2009-09-16 Thread Raphael
On Wed, Sep 16, 2009 at 10:35 PM, William Hua krypto...@gmail.com wrote: I've synced my android repository just after android sdk 1.6 announced, but found some problem to install my apps with native code (so built by NDK 1.5_r1) then. I tried to build NDK with the latest souce code, bu

[android-developers] Re: How to start debugger on ADP1 device rather than AVD

2009-09-17 Thread Raphael
What is the minSdkVersion for your app? Which android does the avd that starts run? For example if you have minSdkVersion=4 in your app's manifest, ADT will want to locate a system for android-4, but your device only runs android-3 (aka 1.5). One workaround is to edit your launch configuration

[android-developers] Re: Button.setTextColor, how to make it work? Options

2009-09-17 Thread Raphael
If you want to permanently change the color scheme of the button, please consider using a custom style: http://d.android.com/guide/topics/ui/themes.html R/ On Thu, Sep 17, 2009 at 7:22 AM, WoodManEXP woodman...@gmail.com wrote: Experimenting with some UI ideas I wanted to change the color in a

[android-developers] Re: 1.6 error with NumericShaper.class?

2009-09-17 Thread Raphael
IIRC awt is a separate library that you need to declare explicitly in your application manifest. http://www.google.com/search?hl=enq=android+uses-library+awt R/ On Thu, Sep 17, 2009 at 1:49 PM, Beth Mezias emez...@gmail.com wrote: Hiya, When I try to open my SDK 1.1 project with Donut, I get

[android-developers] Re: Fedora Eclipse doesn't let me install Android's ADT plugin

2009-10-02 Thread Raphael
If you don't manage to fix the dependencies, as an alternative, you can simply get a download of Eclipse Java from eclipse.org. You don't need to mess with whatever is installed on your fedora, simply unzip it in any directory under your home dir and execute it from there. E.g. $ cd ~ $ mkdir

[android-developers] Re: Layout - Weight not working

2009-10-04 Thread Raphael
I'm no layout expert but instead I'd try: - android:layout_width=fill_parent for both - android:layout_weight=0 for the first one - android:layout_weight=1 for the second one. R/ On Sun, Oct 4, 2009 at 10:21 AM, Mark Murphy mmur...@commonsware.com wrote: All I want is to make the first

[android-developers] Re: [adb ddms] i can't see my samsung galaxy on windows seven 64 bits

2009-10-04 Thread Raphael
Is this for Windows? I believe you should ask Samsung for a driver. Si c'est pour Windows, je pense que tu devrais demander un pilote a Samsung. R/ On Sun, Oct 4, 2009 at 10:51 AM, letroll julien.quievr...@gmail.com wrote: Hi all, Sorry for my bad english, I'm french! I want use my phone

[android-developers] Re: Is it possible to override the sdcard using emulator from Eclipse (SDK 1.6, ADT 0.9.3) ?

2009-10-04 Thread Raphael
You can give extra emulator command line options in Eclipse: - specific to your in the Debug/Run Launch Configuration of a given project. - for all projects in the main preferences android launch. R/ On Sat, Oct 3, 2009 at 1:22 PM, davemac davemac...@gmail.com wrote: I've got an AVD setup

[android-developers] Re: environment set-up confusing, instructions unclear

2009-10-12 Thread Raphael
Well, maps.jar is *only* available when using the Google addon. Don't build using the regular 1.5 if you want maps. Why do you want to do that? Also consider posting your errors. R/ On Oct 8, 2009 6:24 AM, ian stilbit...@gmail.com wrote: I;ve had no end of build path problems and I am still

[android-developers] Re: Multitouch support in Android 2.0

2009-10-27 Thread Raphael
On Tue, Oct 27, 2009 at 9:45 AM, Dianne Hackborn hack...@android.com wrote: It's basically just some new APIs on MotionEvent: http://developer.android.com/reference/android/view/MotionEvent.html Hmmm  and I'm not sure why, but in the doc all of those new APIs are in gray, so they should

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-28 Thread Raphael
On Tue, Oct 27, 2009 at 5:44 PM, Streets Of Boston flyingdutc...@gmail.com wrote: I have the same issue. I started android.bat from the command prompt. Since android.bat is in the directory that is reported to be locked, my command prompt is holding a lock to it when starting

[android-developers] Re: emulator: could not find virtual device named...

2009-10-28 Thread Raphael
Well the emulator is C app and the android tool is a Java app so they have slightly different ways to get your user profile directly. Out of curiosity, if you do a set under a command-prompt, what is your USERPROFILE variable? Your best solution is to define a global environement variable

[android-developers] Re: Couldn't install Android 2.0 platform

2009-10-28 Thread Raphael
Does it happen everytime you try to download? R/ On Wed, Oct 28, 2009 at 4:04 AM, ishfb shishkov.i...@gmail.com wrote: I tried to install Android 2.0 platform via Android SDK and AVD Manager. In Available Packages I chosen to install SDK Platform Android 2.0, API 5, revision 1. The Manager

[android-developers] Re: [Android Developers] Make Fade-in and Fade-Out Effect

2009-10-28 Thread Raphael
On Wed, Oct 28, 2009 at 3:19 AM, ArNguyen vunguye...@gmail.com wrote: Hi all! I am beginner on Android game. I want to make Fade-in and fade-out effect to transform scenes (Intro game - play game - win game/ over game, ...). Please tell me how to make  Fade-in and fade-out effect in

Re: [android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-01 Thread Raphael
On Wed, Oct 28, 2009 at 11:25 PM, Armond Avanes armond...@yahoo.com wrote: After all, I'm still on my opinion. In the case of failure, the update process should try to COPY the contents instead of moving/renaming. And a warning that some garbage have been left on temp directory. For those of

[android-developers] Re: Portuguese locale on SDK 1.5 r3 emulator

2009-09-04 Thread Raphael
You can also use adb pull to retrieve the CustomLocale.apk from the 1.5 emulator and install it manually on your ADP1. Alternative, if you have the full sources just make CustomLocale and install. R/ On Wed, Aug 19, 2009 at 3:17 PM, Michael Bollmannmichael.bollm...@googlemail.com wrote:

Re: [android-developers] Re: Updates to the Android SDK

2009-12-04 Thread Raphael
Sorry for the frustration. You should get the exact same updates whether you are using the https or the http link. R/ On Fri, Dec 4, 2009 at 4:17 PM, Sekhar sek...@allurefx.com wrote: Not working for me. The standalone manager won't connect to the SSL url

Re: [android-developers] Re: Updates to the Android SDK

2009-12-04 Thread Raphael
Grrr I have yet another issue of the block on my home XP machine. Using the standalone sdk manager, it keeps telling something is locking the tools dir so it can't install tools r4. But I killed adb, closed Eclipse, all Explorers... still won't work. Process Explorer can't find anything using that

Re: [android-developers] Re: ADT master and aapt

2010-09-15 Thread Raphael
Hi there, Yep, it's trivial as long as you have the right version of Cygwin. 1- Install cygwin. Not the latest one, you need the legacy one. Look at step 3-A in this doc: http://android.git.kernel.org/?p=platform/sdk.git;a=blob;f=docs/howto_build_SDK.txt;hb=HEAD 2- You don't need to build a

[android-developers] Re: Problem updating Eclipse Plugin to 0.9 ADT

2009-04-27 Thread Raphael
I get that too. Investigating. R/ On Mon, Apr 27, 2009 at 4:05 PM, Hayden hayden.stew...@gmail.com wrote: I am having trouble updating my Eclipse Plugin to 0.9 ADT.  Whenever I try to install, I get the errors: An error occurred while collecting items to be installed  No repository found

[android-developers] Re: Android Market: Can you download apps without publishing them? Do you pay for your own apps? +signing problems

2009-04-27 Thread Raphael
Try using adb install using your signed apk. Does that succeed? R/ On Mon, Apr 27, 2009 at 11:42 AM, Just Checking eld...@gmail.com wrote: I already did have the app installed through Eclipse. Before uploading the app, I exported the apk, then signed it with jarsigner. I also tried adb

[android-developers] Re: sdcard in avd SDK 1.5

2009-04-28 Thread Raphael
When you create your AVD you can use the --sdcard argument this way: $ android create avd ... --sdcard 16M or $ android create avd ... --sdcard /path/to/existing/img The former will create a new AVD with a new sdcard.img file of the requested size. The second form will use the provided image

[android-developers] Re: Eclipse plugin 0.9

2009-04-28 Thread Raphael
In a given workspace, the ADT plugin will automatically get started if you have an Android project or if you open the android pref panel. And yes it will complain if there's no SDK path set. R/ On Tue, Apr 28, 2009 at 8:51 AM, Al Sutton a...@funkyandroid.com wrote: Can someone confirm or let

[android-developers] Re: Eclipse + cupcake + referenced projects in build path = VerifyError

2009-04-28 Thread Raphael
One thing I generally do for this case is to create regular Java projects for the libraries, then remove the jre from the classpath and put the android.jar instead. That method however has a couple caveats, namely that a/ the android.jar uses a full path (a pain if you have an SCM and different

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-28 Thread Raphael
Actually the element order makes a difference. It's a bug in the current Market parser which is going to be fixed real soon. R/ On Tue, Apr 28, 2009 at 6:54 AM, jsdf jasons...@gmail.com wrote: I was finally able to solve this, but the solution made no sense at all. 1.) I upgraded to the ADT

[android-developers] Re: Plugin 0.9 ADT with Eclipse (G4.3.2) on WIN XP SP3 problem

2009-04-28 Thread Raphael
On Tue, Apr 28, 2009 at 6:28 AM, heyunh...@gmail.com heyunh...@gmail.com wrote: 1.download SDK1.5 and 0.9ADT plugin 2.updata ADT to V0.9(it need not removed 0.8ADT) Actually you need to at least remove the ADT 0.8 editors feature before installing 0.9, otherwise you'll get a conflict when

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-28 Thread Raphael
The first time you convert an old project to the 0.9 ADT with 1.5 SDK, you should try to use Project Clean if you see any error on missing or duplicate classes. R/ On Mon, Apr 27, 2009 at 9:44 PM, hc honch...@gmail.com wrote: Do you have to uninstall before you reinstall it? I just updated

[android-developers] Re: How to Import Android Package Default Projects to Eclipse

2009-04-28 Thread Raphael
That discussion should really move to android-platform instead of android-developer. Everything in the frameworks and packages sub-folders is designed to be built using the source makefiles -- these may use the internal APIs and are *not* designed to be built using the SDK. You can use Eclipse

[android-developers] Re: What uniquely identifies an application?

2009-04-28 Thread Raphael
Your question isn't quite clear. You might want to rephrase it. For your post subject: what identifies an application is the package name that you provide in the AndroidManifest.xml. As for Ant, you shouldn't create the project manually. Instead use the android tool: $ SDK_PATH/tools/android

[android-developers] Re: Problem updating Eclipse Plugin to 0.9 ADT

2009-04-28 Thread Raphael
-adding the site always seems to take care of the problem. On Apr 27, 7:39 pm, Raphael r...@android.com wrote: I get that too. Investigating. R/ On Mon, Apr 27, 2009 at 4:05 PM, Hayden hayden.stew...@gmail.com wrote: I am having trouble updating my Eclipse Plugin to 0.9 ADT.  Whenever I

[android-developers] Re: Eclipse plugin 0.9

2009-04-28 Thread Raphael
associates, or it's subsidiaries. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Raphael Sent: 28 April 2009 18:11 To: android-developers@googlegroups.com Subject: [android-developers] Re: Eclipse plugin 0.9

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-04-28 Thread Raphael
What operating system do you have? Linux, Mac or Windows? R/ On Tue, Apr 28, 2009 at 3:16 AM, ivantipov ivanti...@gmail.com wrote: Hi, I used to be able to send SMS messages from one emulator instance to another; the reason why I didn't use Eclipse is because the app automatically replies

[android-developers] Re: I am unable to use the 1.5 sdk

2009-04-28 Thread Raphael
The preview plugin is no longer available. The update site contains the new final 1.5 plugin. Can you try using the update site? Note: some people, like me, had to remove the update site URL and put it back for it to work. You should probably grab the final SDK from

[android-developers] Re: Accessing System Brightness

2009-04-28 Thread Raphael
On Thu, Apr 23, 2009 at 9:34 PM, coredump jose.jun...@gmail.com wrote: So I tried the 'correct' way to do it: Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 255); And it doesnt work. It seems to change the brightness value on the Display Settings Screen

[android-developers] Re: Building different versions of an app -- best practice?

2009-04-28 Thread Raphael
Another approach would be to package the extract functionality as different activities and services, in a completely new APK. Users would install the lite free version and then when they want more features they can pay and install the extra package. Using the PackageManager or via Intents you

[android-developers] Re: [android-porting] How to create two TextView without write the XML file?

2009-05-01 Thread Raphael
You should remove the setContentView(tv1..tv2). You need to do setContentView only once with your XML ID. The text view will automatically display what you put using setText. R/ On Fri, May 1, 2009 at 9:03 AM, rjy...@gmail.com rjy...@gmail.com wrote: Hi   I will create twi TextView in the

[android-developers] Re: Android 1.5 SDK now available

2009-05-02 Thread Raphael
The emulator uses your host (desktop) computer for connecting to the internet. R/ 2009/5/1 Lucky-dog honglian...@gmail.com: Hi all I had install SDK 1.5 and setup AVDs on My windows XP. All these things got done successfully. But after I start the emulator up, it seems GSM modem has not

[android-developers] Re: Android Menu

2009-05-02 Thread Raphael
Being consistent with the general user interface is generally a good way to start. As Romain said, you could of course include a view in your layout that looks like a menu, always present, and thus hide or show it depending on user preferences. The rest of your layout would reflow accordingly.

[android-developers] Re: xml view defination to take event handler class name

2009-05-02 Thread Raphael
In the meantime, you could easily automate this behavior on your side: - one method is to add custom tags to your layout XML. Use an XmlPullParser to parse the XML and when you find an element with an android:id and your tag, use reflection to associate a listener to it. - another method would

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-02 Thread Raphael
Let's start by that simple question: What OS are you using? Windows, Linux, MacOS? R/ On Sat, May 2, 2009 at 3:46 AM, Teo teomina...@gmail.com wrote: Hmm, the problem reappears after restarting and i still have to do adb kill-server every time. On Thu, Apr 30, 2009 at 9:28 PM, Teo

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Raphael
Neither android-developers nor android-discuss are correct channels for Market feedback. Please use the market support forum here for this kind of purpose, it will be much more effective: http://www.google.com/support/forum/p/Android+Market R/ On Sat, May 2, 2009 at 1:43 PM, Keith Wiley

[android-developers] Re: URGENT - Retrieve User Data

2009-05-02 Thread Raphael
I believe there is no way of doing that. R/ On Sat, May 2, 2009 at 12:29 PM, havexz bali.param...@gmail.com wrote: URGENT - I had uploaded an application with copy protection on. After that i had removed the copy protection but my new update is unable to access the files created by older

[android-developers] Re: Button Listeners

2009-05-02 Thread Raphael
Please see the reply I made a couple hours ago to the same thing you posted in android-beginners. http://groups.google.com/group/android-beginners/browse_thread/thread/f25bb151ca62bb1/708bd4b8ab765737 R/ On Sat, May 2, 2009 at 11:53 AM, Mariam Rady mariam.r...@gmail.com wrote: Hi everyone,

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Raphael
From a user point of view, I don't think trying to display a toast from a non-UI background task makes much sense. Would you like your usage of the phone to be interrupted by random toasts appearing for no apparent reason? Notifications are there for that purpose instead. I'd suggest: - use

[android-developers] Re: StreeView

2009-05-02 Thread Raphael
Looks like the maps addons does not have the streetview activity. I filed a bug. R/ On Fri, May 1, 2009 at 12:52 AM, Olivier Tournaire olit...@gmail.com wrote: Hi all, I am currently trying to use StreetView in my application, but I does not work. I use an AVD based on the Google API which

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Raphael
.  Sorry to have cluttered the list. Cheers! On May 2, 2:22 pm, Raphael r...@android.com wrote: Neither android-developers nor android-discuss are correct channels for Market feedback. Please use the market support forum here for this kind of purpose, it will be much more effective:  http

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Raphael
attempt at downloading new articles can only be executed when the credentials are corrected. If I would use a notification for (a) this would be highly annoying for the user; at least that is the way I think about it. On Sat, May 2, 2009 at 11:38 PM, Raphael r...@android.com wrote: From a user

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Raphael
goes to sleep and an hour later it tries again. If the user didn't pay attention to the problem and the toast then that's fine. Why not keep a log of failures and display it to the user when they next launch your application? Or at least have that as an option. I agree with Raphael -- popping up

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-02 Thread Raphael
For the record, I generally get the Conversion to Dalvik format failed with error 1 error when I do a checkout of an existing project in a new workspace. Doing Project Clean fixes it. R/ On Tue, Apr 28, 2009 at 3:57 PM, chris.cap...@gmail.com chris.cap...@gmail.com wrote: Hi, I just

[android-developers] Re: sharing embedded resource via content provider

2009-05-03 Thread Raphael
On Sun, May 3, 2009 at 9:12 AM, Mark Murphy mmur...@commonsware.com wrote: Dianne Hackborn wrote: Other applications can directly access your resources. *blink, blink* They can? Out of curiosity, how?

[android-developers] Re: MapView in SDK 1.5

2009-05-03 Thread Raphael
On Sun, May 3, 2009 at 9:12 AM, Mark Murphy mmur...@commonsware.com wrote: Sigh. Sent that reply a wee bit early. Let's try this again... Vince wrote: Hi all, I've just downloaded the Cupcake SDK. I'm afraid I can't find MapView anymore... Any help?

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-05-03 Thread Raphael
On Sun, May 3, 2009 at 8:18 AM, chrispix chris...@gmail.com wrote: This is what I don't understand. The issue right now is that applications are automatically turning GPS on, causing battery life to go down. Or at least give that perception. Probably because those applications turning it

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-03 Thread Raphael
...@gmail.com wrote: Sorry, i forgot about it: Windows Vista (Eclipse Ganymede) On Sat, May 2, 2009 at 10:13 PM, Raphael r...@android.com wrote: Let's start by that simple question: What OS are you using? Windows, Linux, MacOS? R/ On Sat, May 2, 2009 at 3:46 AM, Teo teomina...@gmail.com wrote

[android-developers] Re: sharing embedded resource via content provider

2009-05-03 Thread Raphael
On Sun, May 3, 2009 at 11:47 AM, Mark Murphy mmur...@commonsware.com wrote: Raphael wrote: http://developer.android.com/reference/android/content/pm/PackageManager.html#getResourcesForApplication(java.lang.String) H...clearly I need to spend more time poking around the dusty corners

[android-developers] Re: Accessibility of the visual UI

2009-05-03 Thread Raphael
Hi Alex, You should check out eyes-free for android. This is a project handled by several persons with similar goals to yours. The project is at http://code.google.com/p/eyes-free/ Projects owners include TV Raman (emacspeak) and Charles L. Chen (firevox). R/ On Sun, May 3, 2009 at 1:45 AM,

[android-developers] Re: List activity performs worse each time it is onStop()ed and onRestart()ed

2009-05-03 Thread Raphael
If you think you are doing something wrong in onStop or onRestart and expect us to find out, would you like to share your code? Maybe you are simply reloading the list too much when your activity gets resumed? R/ On Sat, May 2, 2009 at 9:01 PM, strugglingcomic strugglingco...@gmail.com wrote:

[android-developers] Re: 1.5 upgrade issue

2009-05-03 Thread Raphael
This seems like a recurrent error posted in this forum. Would this help? http://groups.google.com/group/android-developers/browse_thread/thread/51fb12c37db95f8d/d8585663e92b25e4?hl=enlnk=gstq=Attempt+to+include+a+core+VM+class+in+something+other+than+a+core+library.#d8585663e92b25e4 R/ On Fri,

[android-developers] Re: How can I use transparent or translucent view effect?

2009-05-03 Thread Raphael
On Fri, May 1, 2009 at 1:24 AM, PcALeX pca...@gmail.com wrote: Hi guys, I am a newbie in android UI programming. I want to create a custom SurfaceView for my own renderer. And this view has a transparent/translucent effect with background. I follow api demo sample code to create

[android-developers] Re: Problem updating Eclipse Plugin to 0.9 ADT

2009-05-03 Thread Raphael
On Sat, May 2, 2009 at 12:32 PM, Cartman ericcart...@gmail.com wrote: http://dl-ssl.google.com/android/eclipse/ https://dl-ssl.google.com/android/eclipse/ Neither appear to work anymore. Can reach either of paths even in just the my browser. You can't view them in your browser since

[android-developers] Re: How to enable the GPS setting automatic

2009-05-03 Thread Raphael
On Sun, May 3, 2009 at 6:55 PM, Louis yanglfya...@126.com wrote: Hi, All: Anybody know how to enable the GPS setting automatic? Seems the Toggle Settings app can handle it, but I didn't find out any solutions for it yet. You can't do that with the 1.5 SDK. Feel free to search the forum for

  1   2   3   >