[android-developers] Re: send a image file on sdcard with email not messaging or other options

2009-04-05 Thread Andrew Stadler
We can work out ways to deal with this question, but I would ask first: How restrictive are you trying to be? For example the user might have a Gmail account set up, and both platform Email and K9 installed configured. Are you sure you want to restrict them to Email only? The user experience

[android-developers] Re: JUnit on the emulator without instrumentation

2009-04-05 Thread Andrew Stadler
It's actually quite useful and doable to write pure unit tests within the InstrumentationTestRunner framework. For a working example, please take a look at ApiDemos, in the tests/ directory, and look for classes that extend the TestCase class. Benefits of doing it this way: 1. Although you

[android-developers] Re: Where is the source code for Pictures app

2009-03-22 Thread Andrew Stadler
You'll probably get better results asking this question on the android-platform mailing list, as the gallery is part of the platform distribution, and folks on that mailing list are working on apps like that. On Sun, Mar 22, 2009 at 4:01 PM, yves...@gmail.com yves...@gmail.com wrote: I just

[android-developers] Re: No Latitude in ADP1.1

2009-03-12 Thread Andrew Stadler
Portakai- One of the specific goals of the ADP was to provide developer phones in countries where the G1 was not available. As you know, the G1 originally shipped in just one country (U.S.) while the ADP (if I recall correctly) shipped in 18 countries. We included as much software as we could,

[android-developers] Re: Accessing raw resource files with the filename as a String

2009-03-09 Thread Andrew Stadler
Have you looked at storing your files in the assets folder? You can then use getContext().getAssets().openFd(filename) to open them by name. On Sat, Mar 7, 2009 at 2:35 PM, Hayden hayden.stew...@gmail.com wrote: Is there  a way to access a raw resource file by having its filename in a

[android-developers] Re: How to make android work fine with QVGA?

2009-03-07 Thread Andrew Stadler
Larry- You'll probably do better asking this question on android-platform or android-porting. The SDK only supports shipping devices with their screen resolutions. On Sat, Mar 7, 2009 at 10:47 PM, larry Ming mingla...@gmail.com wrote: My phone's resolution is QVGA so the buttons of dialer

[android-developers] Re: How to enable search functionality to EditText

2009-02-24 Thread Andrew Stadler
There are numerous examples of this in ApiDemos - look for AutoCompleteTextView. On Tue, Feb 24, 2009 at 3:05 AM, manoj manojkumar.m...@gmail.com wrote: Hi friends, I would like to enable search functionality to EditText. my requirement is like this: when some one types with some

[android-developers] Re: When will Android support Multiple PDP?

2009-02-23 Thread Andrew Stadler
Henry Long- Please don't send repeated test messages to this mailing list. We received all of them. You are creating unnecessary traffic for many subscribers. On Mon, Feb 23, 2009 at 3:12 AM, Long henry.l...@qisda.com.tw wrote: test On Feb 22, 6:53 am, Tote tot...@gmail.com wrote:

[android-developers] Re: quicker compiles

2009-02-23 Thread Andrew Stadler
Also, make supports multi-threaded compilation, but not by default - you're probably building with one core and idling the other(s). On any multi-processor or multi-core system, you can obtain an immediate speedup by allowing make to use more CPU resources. Every system is different, so there's

[android-developers] Re: Voice Recognition like in Voice Search? (STT)

2009-02-22 Thread Andrew Stadler
Hello Markus - I think we have tried to be as clear as we possibly can on this (and related topics). For application development, we only support the use of API's, intents, or any other resources that have been provided in the SDK. I think that the blog post provided in another message

[android-developers] Re: Running different actives in the same package?

2009-02-13 Thread Andrew Stadler
You might find relevant discussion on this topic (how to start stop activities) in the android-beginners mailing list. http://developer.android.com/community/index.html Good luck and welcome to Android! Andy On Fri, Feb 13, 2009 at 6:33 AM, Asif k asifk1...@gmail.com wrote: include all the

[android-developers] Re: Customization on SearchDialog

2009-02-12 Thread Andrew Stadler
Hello Marty, Unfortunately, the search dialog was not designed to be extended in this way. This was not meant to protect it so much as a consequence of the data-driven design of the Search system. If you can describe some of the changes you have in mind, perhaps we can assist with some good

[android-developers] Re: How to call callActivityOnRestoreInstanceState of Instrumentation

2009-02-04 Thread Andrew Stadler
Meryl- It's hard to say with only a partial snippet, but I'm guessing that you're using an InstrumentationTestCase or possibly an ActivityUnitTestCase. You'll be better served here using an ActivityInstrumentationTestCase, which will start your activity for you, and then you should be able to

[android-developers] Re: Some Activities never display UIs?

2009-02-03 Thread Andrew Stadler
Ron- This is not comprehensive, but here is one example: You can create an Activity that serves to accept Intents, process or react to them in a non-UI way, and then either send a new Intent or a response. Here's how: Do all of the work in onCreate(), never call setContentView(), and on the

[android-developers] Re: Should onSaveInstanceState call super?

2009-01-29 Thread Andrew Stadler
Pablo-- There is support within the TestCase subclasses for running all or parts of your tests on the UI thread - that might solve your issue. --Andy On Jan 28, 2009 11:48 PM, J. Pablo Fernández pup...@pupeno.com wrote: Hello, At the beginning of my onSaveInstanceState I was calling

[android-developers] Re: How do you pass a Bundle to an activity on an instrumentation test case?

2009-01-29 Thread Andrew Stadler
Pablo-- Unfortunately, you cannot do this. We've made some improvements in this area for cupcake, but if you are building against the current sdk, you won't see them yet. --Andy On Jan 29, 2009 1:31 AM, J. Pablo Fernández pup...@pupeno.com wrote: Hello, When implementing an

[android-developers] Re: How do you save the state of an activity on an ActivityUnitTestCase

2009-01-24 Thread Andrew Stadler
Pablo- ActivityUnitTestCase is extremely limited in its support for operations that require interfacing with the rest of the system, because the Activity is never attached to the Activity Manager or the rest of the runtime. It may be possible to fix this particular case (so you can make this

[android-developers] Re: start Activity without Manifest

2009-01-23 Thread Andrew Stadler
Is there a specific reason you don't want to put your Activity in the manifest? Understanding that may help provide a better suggestion for you. On Fri, Jan 23, 2009 at 5:54 AM, Mark Murphy mmur...@commonsware.com wrote: AlexKar wrote: Can I launch unregistered Activity directly from my

[android-developers] Re: Search Dine (Restaurant search Android app by Mofirst)

2009-01-23 Thread Andrew Stadler
Nitichandra- Congratulations on releasing your application, but unless you're planning to release and discuss its source code, can you please make announcements like this in the android-discuss mailing list? Thanks, Andy On Thu, Jan 22, 2009 at 6:34 AM, nitichandra ingle nitichan...@gmail.com

[android-developers] Re: PM Issues

2009-01-21 Thread Andrew Stadler
Wrong list. Please see android-porting, which covers topics such as this. http://source.android.com/discuss for more information. On Wed, Jan 21, 2009 at 12:45 AM, Mallesh annya20i...@gmail.com wrote: Hi All, I am working on android kernel on OMAP 2430 board. After initial display

[android-developers] Re: How to re-install sign android built-in applications

2009-01-21 Thread Andrew Stadler
Wrong list. Please see android-platform, which covers topics such as this. http://source.android.com/discuss for more information. On Tue, Jan 20, 2009 at 12:24 AM, Gerald myq...@gmail.com wrote: Hi, I want to customize some built-in applications on android, for example Launcher or

[android-developers] Re: Not able to add account on email client of emulator(sdk r2)

2009-01-21 Thread Andrew Stadler
Jalandar- If you're having trouble operating one of the built-in applications, I think android-discuss would probably be a better board for asking about discussing it. See http://source.android.com/discuss for more information. Good luck, Andy On Tue, Jan 20, 2009 at 4:16 AM, jalandar

[android-developers] Re: how to pause n resume the activity???

2009-01-21 Thread Andrew Stadler
Wesley- There are lots of ways to pause and resume activities. Why don't you repost with a more comprehensive description of what you're trying to do (what user experience you are trying to create), and we can go from there. --Andy On Mon, Jan 19, 2009 at 11:46 PM, Wesley Sagittarius

[android-developers] Re: #2# [NO, Mailbox, does, not, exist]

2009-01-19 Thread Andrew Stadler
Questions about using K9 are probably better directed to the K9 development team, or on a K9-related discussion list. See http://code.google.com/p/k9mail/ for more information. On Mon, Jan 19, 2009 at 10:40 AM, BeWillDir wmmichael...@gmail.com wrote: This oddly under-informative subject

[android-developers] Re: Android browser is really slow/buggy when clicking on checkboxes

2009-01-16 Thread Andrew Stadler
This is probably better discussed on android-discuss (if interested in talking about the browser) or android-platform (if you're interested in trying to fix it...) See http://source.android.com/discuss for more information. On Fri, Jan 16, 2009 at 12:44 PM, Chister Nordvik cnord...@gmail.com

[android-developers] Re: static member data issue in arm-eabi-ld

2009-01-15 Thread Andrew Stadler
Sorry to keep repeating this, but native development is *not* currently supported by the SDK. This mailing list is for discussion of application development using the SDK. You may want to try android-platform or android-discuss. See http://source.android.com/discuss for more information.

[android-developers] Re: How to build Android.jar from the source code

2009-01-15 Thread Andrew Stadler
Although there is a long-term goal to move in that direction, not all of the platform applications can be built in the SDK. Sorry Andy On Wed, Jan 14, 2009 at 8:48 PM, Android malapati.raghaven...@gmail.com wrote: hi all , Thanks for your help and valuable comments. here one quick

[android-developers] Re: AutoCompleteTextView: Need help.

2009-01-15 Thread Andrew Stadler
Don- Here is one way to do this: In your activity declaration, add this interface: MyActivity extends Activity implements OnItemClickListener Then implement as follows: /** * Implements OnItemClickListener */ public void onItemClick(AdapterView? parent, View view, int

[android-developers] Re: [buid code problem] android 1.5

2009-01-14 Thread Andrew Stadler
Morris- Questions about building Android code from the open source repositories should be sent to the android-platform mailing list. This list is for discussion of developing android apps using the SDK. You can find more information at http://source.android.com/discuss Thanks Andy On Tue,

[android-developers] Re: How to debug Android application like (Browser, Camera etc.)

2009-01-13 Thread Andrew Stadler
Hi Atish- Questions or issues regarding the open source build or debugging platform applications should be posted to android-platform. This list is for discussion development of apps using the published SDK. See source.android.com/discuss for more information Thanks Andy On Tue, Jan 13, 2009

[android-developers] Re: Show AlertDialog after back button

2009-01-13 Thread Andrew Stadler
tmat- You might want to try this: 1. Override your activity's onKeyDown() method. 2. If the KeyEvent is KEYCODE_BACK, display your dialog 3. If your dialog returns YES, simply call Activity.finish() Remember that when you override onKeyDown(), you must return true if you handle the key

[android-developers] Re: Native IM application

2009-01-13 Thread Andrew Stadler
Hi Amit- Questions or issues regarding the open source build or debugging platform applications should be posted to android-platform. This list is for discussion development of apps using the published SDK. See source.android.com/discuss for more information Thanks Andy On Tue, Jan 13, 2009

[android-developers] Re: Dependency injection into Activity

2009-01-13 Thread Andrew Stadler
Koert- Instead of looking at Instrumentation.html, I would recommend focusing (for now) on the Junit-based test environment that is already set up for what you are trying to do. InstrumentationTestCase is a good place for writing tests that work mainly by manipulating the UI (e.g. when I click

[android-developers] Re: JNI - FindClass() returns null

2009-01-13 Thread Andrew Stadler
As has been noted before, native code JNI development is not currently supported on the SDK, and probably is better off discussed in the android-platform or android-discuss boards. See http://source.android.com/discuss for more information. --~--~-~--~~~---~--~~

[android-developers] Re: email client of emulator ( second sdk release) not working

2009-01-13 Thread Andrew Stadler
You're going to have to tell us a bit more about what's happening, what you expect to see, and what you actually observe On Mon, Jan 12, 2009 at 11:44 PM, jalandar jagtap...@gmail.com wrote: email client of my emulator (sdk r2) is not working, account is not getting created. what the

[android-developers] Re: Full multitouch working on the G1, new approach (video + source)

2009-01-11 Thread Andrew Stadler
Unless an SDK is released with multi-touch support, this discussion is probably better off in android-discuss or android-platform. (Just trying to cut down on cross-posting) On Sun, Jan 11, 2009 at 2:34 PM, luke luke.hu...@gmail.com wrote: My personal take is that there is a whole lot of

[android-developers] Re: long home key press / task switcher

2009-01-09 Thread Andrew Stadler
Dan- When one holds the home key for long key press, it invokes a notification dialog box with a list of recent applications. Is there a reason to limit that list to 6 ?? Put simply, it was specified that way in the UI design. Where in the git repository can I find related to this long

[android-developers] Re: Problem when launch IM application on Cupcake...

2009-01-09 Thread Andrew Stadler
You'll have better luck getting cupcake-related answers on the android-platforms mailing list. The SDK (which this list covers) does not support cupcake yet. On Thu, Jan 8, 2009 at 8:03 PM, Dennis dong...@gmail.com wrote: Dear all, I tried to launch IM application on cupcake, but failed...

[android-developers] Re: New

2009-01-08 Thread Andrew Stadler
Mukesh- You'll probably find more useful information on the android-beginners mailing list. See http://source.android.com/discuss for more information. Good luck! On Wed, Jan 7, 2009 at 5:13 AM, msmsmukesh msmsmuk...@gmail.com wrote: Hi I m new to this android. I know java nly. Anyone pls

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread Andrew Stadler
Anduzer - Questions about the internals of the platform source code will probably better addressed in the android-platform mailing list. See http://source.android.com/discuss for more details. Good luck! On Thu, Jan 8, 2009 at 5:49 AM, Manohar Mahapatra androidu...@gmail.com wrote: Hi I

[android-developers] Re: Uninstalling application breaks gmail preview on G1

2009-01-07 Thread Andrew Stadler
Tyler, Any time you see a problem like this (where an application stopped unexpectedly) the most useful thing you can do is monitor the log output (using adb logcat), capture the stack trace of the actual crash, and share that. Otherwise there's just no telling what is going wrong. --Andy On

[android-developers] Re: Dalvik spends 7.4% of its time garbage collecting, Android UI spends 7.4% of its time unresponsive

2009-01-07 Thread Andrew Stadler
This is a great topic, but is probably more suited to android-platform. On Wed, Jan 7, 2009 at 11:05 PM, __ luke.hu...@gmail.com wrote: With the phone sitting *idle*, Dalvik GCs every 3.5sec on average. A GC usually takes ~260ms. That means that a whole 7.4% of the time it is garbage

[android-developers] Re: Get Email log

2009-01-06 Thread Andrew Stadler
Can you please describe what you're looking for, in a bit more detail, and perhaps what you're hoping to do with it? On Sat, Dec 27, 2008 at 1:33 AM, ena enu1...@gmail.com wrote: Hi All, How to get Email log??? Please help me out... Thanks in Advance

[android-developers] Re: when user click back, which function is called

2009-01-06 Thread Andrew Stadler
Cindy (or April)- Will finish() be called every time? As I wrote before, unless you override the key handlers, pressing the back button *will* call finish(). so current activity will be totally destroyed (onDestroy() will be called)? Please refer to the documentation I sent you the link

[android-developers] Re: when user click back, which function is called

2009-01-04 Thread Andrew Stadler
Unless you've overridden the key handlers, clicking back will call finish() on your activity, which will cause the activity to exit via the standard transitions. The transitions between activities are documented in http://code.google.com/android/reference/android/app/Activity.html. It's

[android-developers] Re: How can i access System directory in an emulator ??

2009-01-03 Thread Andrew Stadler
can do this ?? Thanks ! On Jan 2, 2:39 pm, Andrew Stadler stad...@gmail.com wrote: Downloaded apps (such as those developed with the SDK) cannot be installed into the system directory. Perhaps if you can better describe what you are trying to do and which permissions your app

[android-developers] Re: dealing with multiple activities

2008-12-29 Thread Andrew Stadler
This suggestion is correct- use the intent extras to send your own data back-and-forth to the sub-launched activity. Here are a couple of things to consider: (1) If at all possible, the sub activity should not crash if expected extras data is not found in the launching intent. (Null pointer

[android-developers] Re: Testing a Android Activity..

2008-12-25 Thread Andrew Stadler
Here is a quick reply of things to look at (not a tutorial): * See samples/ApiDemos which has examples of different kinds of tests. *ALWAYS* start here; If you can't get these working, there's no point in trying to get your own tests working. * To test standalone code (not Activities) you'll

[android-developers] Re: Please help with android source making

2008-12-15 Thread Andrew Stadler
Dr. Lu: As you may have seen from other posts, this mailing list is for developers using the SDK to create applications for Android devices. Questions about building from open source should be addressed to one of the open source or platform lists described at http://source.android.com/discuss.

[android-developers] Re: How Can I Remove Top Title Bar from an Application? Or Add things to it...

2008-12-15 Thread Andrew Stadler
Moto Mark- You can also do this at compile time by adding android:theme=@android:style/Theme.NoTitleBar to the Activity declaration(s) in your manifest. Hint: Poke around the ApiDemos sample app, you can find almost may examples of UI variations, and then check the source code to see how

[android-developers] Re: Timeout executing service

2008-12-11 Thread Andrew Stadler
Sukumar- The activity manager assumes that your code has died, because it did not return from the broadcast receiver in a reasonable amount of time. In general, receivers should execute very very quickly, and any long-term operations (such as *any* network operations) should be on their own

[android-developers] Re: send activity in background

2008-12-11 Thread Andrew Stadler
The way to send my activity to the background is to send another activity to the foreground... All you have to do is create an Intent and call startActivity(). On Thu, Dec 11, 2008 at 3:17 AM, sthustfo [EMAIL PROTECTED] wrote: Hi, How do I send my activity to background when user presses a

[android-developers] Re: Clone inner-class Dalvik bug? or Don't do that

2008-12-10 Thread Andrew Stadler
Ward- This is not a Dalvik bug. It's a common side-effect of the way Java inner classes work. Not only will your approach not work properly, but it will cause significant memory leaks (the back-trail of outer-class this pointers will prevent the previous Activity from being GC'd). If you

[android-developers] Re: How to send email programmatically?

2008-12-10 Thread Andrew Stadler
David- This is already supported in both the Email and Gmail apps. Is there a reason that you believed that it wasn't? Here is the raw Javadoc straight from Intent.ACTION_VIEW: /** * Activity Action: Display the data to the user. This is the most common * action performed on

[android-developers] Re: How to enable codec component PV log

2008-12-10 Thread Andrew Stadler
Just a reminder, this list is for discussion of Java development using the SDK. Please move this discussion to one of the open-source mailing lists described at http://source.android.com/discuss Thanks, Andy On Wed, Dec 10, 2008 at 9:25 PM, Yogi [EMAIL PROTECTED] wrote: Hi All, i have

[android-developers] Re: Sending E-mail Programatically from Android Emulator

2008-12-10 Thread Andrew Stadler
We've been strongly recommending (in other threads here) against sending email behind a user's back. This has two problems: It creates a tremendous opportunity for abuse, and it is extremely difficult to properly configure (do you know the user's credentials and server?) A much more

[android-developers] Re: Accessing email

2008-12-10 Thread Andrew Stadler
Not at present. Gmail is not open source, although Email is; It might be helpful if you can explain what you're trying to do, and the community may be able to suggest alternative implementations for you. On Wed, Dec 10, 2008 at 2:31 PM, Nathan Ekstrom [EMAIL PROTECTED] wrote: Is there a

[android-developers] Re: How can I get an email from the gmail applications?

2008-12-10 Thread Andrew Stadler
One reason that you won't find APIs for Gmail, in the SDK, is because Gmail is not necessarily available on every Android device. Thus, any use of it cannot be supported on a platform-wide basis. In general, very few apps are guaranteed to be on any given Android device, so you'll find little

[android-developers] Re: Multiple email accounts

2008-12-09 Thread Andrew Stadler
Hello tanshin07, On the G1, the Gmail client (and related clients such as calendar) only support a single Gmail-based account. If you wish to check additional email accounts, however, you can use the Email client and configure them using IMAP access. If they are simple [EMAIL PROTECTED]

[android-developers] Re: Please help with Android source

2008-12-09 Thread Andrew Stadler
Dr. Lu - This mailing list is primarily for developers who use the SDK to build Android applications. Your question will probably be better addressed on one of the open source / platform mailing lists, which you can learn more about at http://source.android.com/discuss. On Tue, Dec 9, 2008

[android-developers] Re: Problem configuring build path

2008-12-09 Thread Andrew Stadler
Aniruddha - This seems fragile. Is there a reason that the activities need to be in separate applications? Will your code do the right thing if the user deletes one package or the other, but not both? If at all possible, keeping them together will make things simpler. If you must separate

[android-developers] Re: The G1 (RC30) eMail client

2008-12-05 Thread Andrew Stadler
Actually, there is a lot of development happening on the client. Please feel free to file bugs on the public tracker, or ask questions here about specific issues. I can't guarantee which release any given fix will appear in, but we are definitely tracking and fixing issues on it. On Fri, Dec 5,

[android-developers] Re: Epilog: Largish HTTP Post vs. ANR

2008-12-05 Thread Andrew Stadler
On Fri, Dec 5, 2008 at 8:40 AM, [EMAIL PROTECTED] wrote: So I finally figured out what was going on. It had nothing to do with HTTP posts, thankfully. What it did have to do with was Formatter (or String.format). An innocuous foreground loop using Formatter was taking 10 seconds for about

[android-developers] Re: Testing application

2008-12-05 Thread Andrew Stadler
This is probably a question more suited for android-beginners. That and other lists are described in more detail at http://code.google.com/android/groups.html Welcome to Android app development! On Tue, Dec 2, 2008 at 8:09 PM, indiabolbol.com [EMAIL PROTECTED] wrote: I am interested in how

[android-developers] Re: wpa_supplicant not compiled?

2008-12-05 Thread Andrew Stadler
This list is for developers using the Android SDK to develop applications. For questions regarding accessing, building and using the open source release, please refer to one of the groups listed at http://code.google.com/android/groups.html. Thanks, Andy On Tue, Dec 2, 2008 at 11:45 PM,

[android-developers] Re: Possibility to access the Own Content Provider

2008-12-05 Thread Andrew Stadler
Yasmin, if you're not sure where the sample apps are, you may want to jump over to the android-beginners list, described in more detail at http://code.google.com/android/groups.html. You'll probably find more useful responses there. Welcome to Android development! On Tue, Dec 2, 2008 at

[android-developers] Re: getting latest version repo

2008-11-26 Thread Andrew Stadler
Reminder: android-developers@googlegroups.com is a list for discussion of application development using the SDK. For questions about building Android from open source, or about porting to other hardware, you'll get better responses from one of the lists described here:

[android-developers] Re: Android on Motorola A810...

2008-11-26 Thread Andrew Stadler
Reminder: android-developers@googlegroups.com is a list for discussion of application development using the SDK. For questions about building Android from open source, or about porting to other hardware, you'll get better responses from one of the lists described here:

[android-developers] Re: native audio interface / AudioRecord.h

2008-11-26 Thread Andrew Stadler
GnuHash- I'm sorry to be repetitive but as Dianne said: At this point: no native code is supported in the SDK. Using it may result in your application breaking when an update to the phone is delivered. Using C++ APIs will definitely result in you breaking in the future. Could this please be

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Andrew Stadler
On Tue, Nov 25, 2008 at 3:51 PM, steve_macleod [EMAIL PROTECTED] wrote: Oh yeah should also say the example code im working from is in the Android Essentials book, and its quite outdated now... Maybe you should use that book for a monitor stand instead of letting it give you bad advice.

[android-developers] Re: How can I get the Contact Pointer of Google(Android) blow Issue

2008-11-25 Thread Andrew Stadler
Dianne is absolutely right, Android is an Open Source platform and you or your partner companies are free to begin working on it immediately. If you are interested in a more formal relationship with some of the companies involved in Android, you may also wish to look at

[android-developers] Re: Anyway we can get a maps binary that works with the open source code?

2008-11-24 Thread Andrew Stadler
Reminder: android-developers@googlegroups.com is a list for discussion of application development using the SDK. For questions about building Android from open source, or about porting to other hardware, you'll get better responses from one of the lists described here:

[android-developers] Re: about open source project

2008-11-24 Thread Andrew Stadler
Reminder: android-developers@googlegroups.com is a list for discussion of application development using the SDK. For questions about building Android from open source, or about porting to other hardware, you'll get better responses from one of the lists described here:

[android-developers] Re: UMA Support

2008-11-24 Thread Andrew Stadler
Reminder: android-developers@googlegroups.com is a list for discussion of application development using features APIs supported in the Android SDK. For questions about building Android from open source, or about porting to other hardware, you'll get better responses from one of the lists

[android-developers] Re: Flaky network connections

2008-11-24 Thread Andrew Stadler
If your code is going to access a site every 10 seconds, the radio is going to, essentially, stay on continuously. This is going to have a significant impact on your users' battery life. Is this definitely what you want to do? On Mon, Nov 24, 2008 at 5:17 AM, joshv [EMAIL PROTECTED] wrote:

[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Andrew Stadler
I think that the point Romain is making is that scrolling things (be they ListView or Scrollview) should not be *embedded* within each other. The framework was not intended to support this, as it creates all sorts of UI issues. Strictly speaking, you *could* put two independent scrolling

[android-developers] Re: Changing Google image server

2008-11-20 Thread Andrew Stadler
Can you clarify what you mean by pulling in imagery? Or in the immortal words, What are you really trying to do? On Nov 20, 2008 10:29 AM, Robert [EMAIL PROTECTED] wrote: I am looking for a way to change which Google server our Android app will look too when pulling in imagery. We have an

[android-developers] Re: radio frequency receive

2008-11-19 Thread Andrew Stadler
Just as a reminder, this list is for discussion of developing applications for Android devices using the Android SDK. Please see http://code.google.com/android/groups.html for other mailing lists that may be more suitable for your question. In this case, access to the underlying radio devices

[android-developers] Re: android call log layout

2008-11-19 Thread Andrew Stadler
The call log isn't implemented by the system, so its resources (such as layout) are not in the system. Take a look at Contacts/res/layout-finger/, which you can obtain from the open source release. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: :: How to store the Higest Scores of the players who download my Game

2008-11-17 Thread Andrew Stadler
Imran- You might take a look at the Google App Engine, http://code.google.com/appengine/. --~--~-~--~~~---~--~~ 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] Re: whoever wrote the email app for the G1.....

2008-11-10 Thread Andrew Stadler
If you're unhappy with the Email app (or other apps on the phone) I strongly suggest a couple of things: (1) File bugs on the android bug tracker so your comments don't get lost (2) Contribute! I'm aware of at least two non-Google efforts to improve the Email client, and I'm sure they could

[android-developers] Re: migrating from m3-rc37a to x86-1.0_r1

2008-10-30 Thread Andrew Stadler
Hey petunio- It would be great if you can watch adb logcat and actually let us know what you see when it crashes. There will probably be a Java exception (with stack trace) and possibly additional diagnostic information. You might even figure out the problem once you see that. On Thu, Oct

[android-developers] Re: howto debug apps with more than one process

2008-10-29 Thread Andrew Stadler
Jakob- It may be possible to do this with the SDK, but I am not enough of an SDK expert to know for sure. However, you might find it easier to simply develop/debug your Service in the same process. Once it's running and is fairly stable, you can try making it remote. The calling conventions

[android-developers] Re: How do you compile the bundled apps that comes with the Android source code

2008-10-28 Thread Andrew Stadler
Assuming you have downloaded the open source project and you can build it using the given instructions: 1. Make sure you're cd'd into the android/ directory 2. Type . build/envsetup.sh 3. Type lunch 1 4. Type mmm packages/apps/Email Exercise left to the reader as to what each of these

[android-developers] Re: How to debug the source code using Eclipse

2008-10-28 Thread Andrew Stadler
[ Note, this mailing list is intended for app development, typically using the SDK. Questions about building or debugging the open source release may get better answers discussion in one of android-platform, android-framework, or android-porting. But since we're here ] There is an

[android-developers] Re: Userspace Hardware Abstraction layer

2008-10-28 Thread Andrew Stadler
This list [android-developers] is intended primarily for app developers (users of the SDK). You'll probably find more help and better answers for your question on the [android-porting] mailing list. Details here: http://source.android.com/discuss

[android-developers] Re: First Run Method

2008-10-28 Thread Andrew Stadler
A lighter-weight solution might be to simply write out a little first.run.has.happened file, and check for it on subsequent launches. For most purposes (e.g. show the welcome page once) the file could be empty, and a simple existence check is sufficient. If you need something more strict, you

[android-developers] Re: Search Not Working

2008-10-27 Thread Andrew Stadler
I assume that the problem you're experiencing is that, when you call startSearch(), nothing happens? If this is the case, read on. If this is not the case, please write back with additional information about what you expected and what actually happened. From looking at your implementation of

[android-developers] Re: Now the source is released what steps do we need to take to port to other hardware?

2008-10-22 Thread Andrew Stadler
Along with the open source release, some new mailing lists have been set up which are targeted for questions like this. Take a look at http://source.android.com/discuss. In particular, you may want to subscribe to android-porting. This list (android-developers) is described as Discuss

[android-developers] Re: What is callback function to catch text entered into search box

2008-10-20 Thread Andrew Stadler
Billsen - When the user enters the search UI and types enter or clicks the search button, the ACTION_SEARCH intent will be sent. At least one activity within your application must be configured (using an intent-filter) to receive and handle this Intent. For more information, please see:

[android-developers] Re: What happens to the Intent internally after startActivity ??? (especially to Google-Developers)

2008-10-16 Thread Andrew Stadler
You might have more luck simply storing your object in the extras structure provided in every Intent. Remember that Intent data must be parcelable so that it can be transported between processes. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Android Filesytem loading error on i.mx31 platform

2008-10-15 Thread Andrew Stadler
You'll probably find more answers to this question in the android-internals mailing list. http://groups.google.com/group/android-internals On Wed, Oct 15, 2008 at 7:42 AM, Eric Michael [EMAIL PROTECTED] wrote: Hi all., I m porting android to imx31 hardware, kernel is booting well

[android-developers] Re: Confused by Android testing framework

2008-10-14 Thread Andrew Stadler
Ludwig- I just checked your blog and I'd like to add a couple of notes. (1) You're right that the tests don't build properly using the default SDK settings. I don't have the workaround handy, but it is possible to build the tests. I will see if I can get a writeup on that, either here or in

[android-developers] Re: Emulator Orientation Change on Mac

2008-10-14 Thread Andrew Stadler
Of course, with a system this new, everything's undergoing continuing development and improvement. For the most part, tools that report their own help (e.g. emulator -help or emulator -help-keys) will be fairly current. Please don't hesitate to file bugs at code.google.com if you find

[android-developers] Re: Confused by Android testing framework

2008-10-13 Thread Andrew Stadler
Mark- I think it would make sense to start with the ApiDemos tests, so that you can (at a minimum) start with a known good quantity. The structure of these is that there are two packages - the Api Demos package itself (com.example.android.apis), and the package of tests that goes with it

[android-developers] Re: Confused by Android testing framework

2008-10-13 Thread Andrew Stadler
As you've figured out, both of your problems are related to having one but not both packages installed. Interestingly, it appears to be the opposite condition: It sounds as if your ApiDemos *tests* are not loaded, but your own app is also not loaded. Yes, you've also figured out that the name

[android-developers] Re: Emulator Orientation Change on Mac

2008-10-10 Thread Andrew Stadler
First, boilerplate answer, you can use $ emulator -help-keys to get an up-to-date list of hotkeys in the emulator. You didn't mention if you're on a laptop or mac desktop. I know that the keyboards are somewhat different. I can only answer for laptops because I'm using my laptop right now

[android-developers] Re: save image in Database

2008-10-01 Thread Andrew Stadler
Are you sure that you really want to do this? It might make more sense to save each image as a file. If necessary, you could use a database to store image metadata (depending on the needs of your application). On Tue, Sep 30, 2008 at 7:02 AM, Nemat [EMAIL PROTECTED] wrote: Hi Frnds.

[android-developers] Re: SqlLite!!???

2008-09-17 Thread Andrew Stadler
On Wed, Sep 17, 2008 at 2:07 AM, Peli [EMAIL PROTECTED] wrote: If you want other applications to access your data, the best way is still to use ContentProviders on top of an sql database. Just to be clear; I think it's safer to say: ...the best way is still to use ContentProviders on top of

[android-developers] Re: List background style

2008-09-16 Thread Andrew Stadler
On Tue, Sep 16, 2008 at 3:52 PM, David Given [EMAIL PROTECTED] wrote: Ah, I didn't know about state_selected (would you like a bug report on documentation for this?). Yes, that works fine. Documentation bugs are *always* helpful. You don't have to ask.

  1   2   >