[android-developers] Re: Android Download Service

2008-11-25 Thread Jean-Baptiste Queru
The download code that is used by the Android Market (and a few other system apps) is here: http://android.git.kernel.org/?p=platform/packages/providers/DownloadProvider.git;a=summary= Its primary interface to initiate downloads actually uses a content provider, not intents (though I have

[android-developers] Re: HTTP compression lost when using 3G connection

2008-11-25 Thread Jean-Baptiste Queru
It's actually not uncommon in the cell world to turn off compression on the public Internet, so that the proxy can have an easier time looking at the data and processing it to send it over the air (where it is compressed), i.e. trading Internet bandwidth for some CPU time on the proxy. JBQ On

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-25 Thread Jean-Baptiste Queru
The issue of internet access on the emulator built from the open-source tree was resolved a while back, but you need to do a clean build and wipe data for it to stick. JBQ PS: this discussion is falling on the side where it should probably continue on one of the open-source lists (e.g.

[android-developers] Re: How to call RIL?

2008-11-29 Thread Jean-Baptiste Queru
Of course, if you go beyond the official SDK documentation, all bets are off once you start to consider what might happen with newer versions of the Android platform on the same devices, or on devices from a different manufacturer, or using a different chipset, or using a different protocol to

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Jean-Baptiste Queru
Unfortunately, the DownloadProvider is not currently available for non-system applications to use, and that's unlikely to change in the foreseeable future. Even more unfortunately, the current implementation of the DownloadProvider uses private APIs that prevent it from being recompiled on top of

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Jean-Baptiste Queru
core code (except for AndroidHttpClient which is easily replaced, the core DownloadThread should mostly work in the SDK). JBQ On Sat, Nov 29, 2008 at 8:47 AM, Xiaoliang Ding [EMAIL PROTECTED] wrote: Hi, Jean-Baptiste Queru Thanks a lot for your nice answers. You said DownloadProvider only

[android-developers] Re: G1 Linux

2008-12-01 Thread Jean-Baptiste Queru
Android is and has always been built on top of Linux. JBQ On Mon, Dec 1, 2008 at 2:30 PM, Xavier Live Tech.S [EMAIL PROTECTED] wrote: Will G1 be running Linux like Iphone anytime soon? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Rebuilding the SDK

2008-12-02 Thread Jean-Baptiste Queru
The list you're looking for is probably android-platform. JBQ On Mon, Dec 1, 2008 at 6:04 PM, ChoboMuffin [EMAIL PROTECTED] wrote: I have recently started some work on the Android SDK. (I know maybe I should have posted to android-internals but could not seem to post there for some reason).

[android-developers] Re: invoking com.android.internal.*

2008-12-02 Thread Jean-Baptiste Queru
Those are private implementation/internal classes that aren't supported for use by 3rd-party applications. JBQ On Tue, Dec 2, 2008 at 5:32 PM, dreamerBoy [EMAIL PROTECTED] wrote: Does anyone know of a way to use classes in com.android.internal.* - e.g., com.android.internal.telephony.Call ?

[android-developers] Re: com.google.wireless.gdata

2008-12-02 Thread Jean-Baptiste Queru
I'll try to simplify. In a nutshell, the com.google.* APIs are Google-specific add-ons that are not part of the Android core. Those APIs won't be present on all Android devices, and aren't ready to be officially supported as public Google-specific APIs. JBQ On Tue, Dec 2, 2008 at 10:27 PM,

[android-developers] Re: Compass X Y inverted on G1 phone?

2008-12-03 Thread Jean-Baptiste Queru
There are quite a few significant issues with the sensor API as it currently exists in the G1, where many aspects were too loosely defined, and where there are a few bugs. A later version of the Android API is expected to resolve those issues (and to provide backward-compatibility with the

[android-developers] Re: Where is the source codes of status bar?

2008-12-03 Thread Jean-Baptiste Queru
This is probably a question that should be asked on the android-platform mailing list. Thanks, JBQ On Tue, Dec 2, 2008 at 11:12 PM, CXF [EMAIL PROTECTED] wrote: Hi, guys: Where is the source codes of status bar? Thank you! --CXF --~--~-~--~~~---~--~~

[android-developers] Re: HTTP compression lost when using 3G connection

2008-12-03 Thread Jean-Baptiste Queru
yourself, but the proxy should only send you compressed data if you advertise that you support it (in your request headers), and you should advertise it if you don't support it. JBQ On Wed, Dec 3, 2008 at 2:16 PM, melody [EMAIL PROTECTED] wrote: Hi Jean-Baptiste Queru, Thanks for the info

[android-developers] Re: HTTP compression lost when using 3G connection

2008-12-03 Thread Jean-Baptiste Queru
/decompression layer when using a 3G connection that has been abstracted away from the SDK? Jean-Baptiste Queru wrote: The compression is standard HTTP compression when seen from the client. As I understand (but I'm not an authority in this domain), if you use the Android HTTP stack

[android-developers] Re: Who maintains / supports Android core applications like MMS / Contacts / etc.?

2008-12-03 Thread Jean-Baptiste Queru
Every app that's been open-sourced as part of the Android Open-Source Project is maintained as part of Android. You've reported your bug in the right place, and your bug report is wonderfully detailed. Sadly, keeping up with all the incoming bugs has proven to be a challenge. You might find

[android-developers] Re: rebuilt browser to g1

2008-12-03 Thread Jean-Baptiste Queru
Indeed, the built-in android browser uses a variety of private system APIs, very unfortunately, which means that rebuilding it in order to be able to install it on a G1 as if it was a 3rd-party application is hard enough to be essentially almost imporsible. JBQ On Wed, Dec 3, 2008 at 4:22 PM,

[android-developers] Re: rebuilt browser to g1

2008-12-03 Thread Jean-Baptiste Queru
of a pain would it be to write my own browser? it would be essentailly just a webview would it not? i dont understand why the android team put so much effort into building their browser up and not bulding up webkit... On Dec 3, 11:41 pm, Jean-Baptiste Queru [EMAIL PROTECTED] wrote: Indeed

[android-developers] Re: Storing pictures in internal storage.

2008-12-04 Thread Jean-Baptiste Queru
Space on internal storage is very very tight, and users are guaranteed to have an SD card with their G1. JBQ On Thu, Dec 4, 2008 at 12:41 AM, Brian [EMAIL PROTECTED] wrote: Hi all, The default behavior seems to store the pictures captured by camera into the external storage (the SD card).

[android-developers] Re: Storing pictures in internal storage.

2008-12-04 Thread Jean-Baptiste Queru
-Baptiste Queru wrote: Space on internal storage is very very tight, and users are guaranteed to have an SD card with their G1. To be fair, users are guaranteed that they *can have* an SD card in their G1. That is not the same as saying there is always an SD card installed in the G1, as SD cards

[android-developers] Re: invoking com.android.internal.*

2008-12-05 Thread Jean-Baptiste Queru
I can't recommend doing any of the things you're trying to do, for the simple reason that you're putting yourself at the mercy of implementation changes with no notice, and you shouldn't expect to receive any support if anything goes wrong. I write code that's part of the Android platform, which

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

2008-12-05 Thread Jean-Baptiste Queru
No, it just means that the issue that K9 didn't resolve the original issue in the Email client. JBQ On Fri, Dec 5, 2008 at 10:11 AM, SLSq [EMAIL PROTECTED] wrote: ... has the same kinds of problems as the builtin eMail client. This finding indicates problems with the underlying Android

[android-developers] Re: New SDK Available

2008-12-07 Thread Jean-Baptiste Queru
Sprint moved away from GSM a very long time ago, and this phone is GSM-only and therefore doesn't work on Sprint's network. If you're in the US, T-Mobile is the best operator to use the Android Dev Phone 1 on (and if you already have a G1 you can swap the SIM between the phones). It'll work on

[android-developers] Re: Resources for Android Wifi Programming

2008-12-07 Thread Jean-Baptiste Queru
-The emulator doesn't emulator wifi, you'll have to use a real device for that. -In the current version of Android, you'll find that the wifi support is mostly suitable for infrastructure-based connections (i.e. communicating through an access point), not for ad-hoc connections. You can just

[android-developers] Re: JavaFX on Android

2008-12-07 Thread Jean-Baptiste Queru
It probably goes along the following lines: -Step 1: ask Sun to port JavaFX to Android. -Step 2: wait until they're done. -Step 3: tada, it works. Jokes aside, that's really a question for Sun. JBQ On Sat, Dec 6, 2008 at 9:14 PM, Edmon [EMAIL PROTECTED] wrote: What are the steps to (if even

[android-developers] Re: Application crashing

2008-12-07 Thread Jean-Baptiste Queru
You application is using too much memory. For bitmaps, it doesn't really matter how big they are when compressed, it's really the decompressed size that matters. 300kB each is a lot. JBQ On Sun, Dec 7, 2008 at 9:01 PM, Prashant [EMAIL PROTECTED] wrote: Hi , I have created an application in

[android-developers] Re: New SDK Available

2008-12-08 Thread Jean-Baptiste Queru
Search back in this thread for my reply about a day ago. The answer is no, the Android Dev Phone 1 doesn't work with Sprint, because Sprint is not a GSM operator. JBQ On Mon, Dec 8, 2008 at 7:34 AM, don rhummy [EMAIL PROTECTED] wrote: Will the phone work with Sprint? Is there anything that

[android-developers] Re: New SDK Available

2008-12-08 Thread Jean-Baptiste Queru
So, you're saying that developers should be forced to release untested applications? JBQ On Mon, Dec 8, 2008 at 7:43 AM, Teo [EMAIL PROTECTED] wrote: About the new dev phone, there should probably be one mandatory app submission (if there isn't one already) because otherwise there will be

[android-developers] Re: Android Dev Phone 1™

2008-12-09 Thread Jean-Baptiste Queru
For Orders shipping outside the US, shipping pricing includes cost of shipping service and the applicable customs, duties, import and country specific other fees. JBQ On Tue, Dec 9, 2008 at 5:39 AM, Matt [EMAIL PROTECTED] wrote: Justin when will the devices be available shipped directly from

[android-developers] Re: Does android browser support plugins?

2008-12-10 Thread Jean-Baptiste Queru
Plugins aren't supported at this point. JBQ On Tue, Dec 9, 2008 at 11:13 PM, Juliana [EMAIL PROTECTED] wrote: Does current android browser support pulgins whether the plugins are implemented by native code or java? If it does, how? As all know, gears is a plugin implemented by google. I

[android-developers] Re: Does android browser support plugins?

2008-12-10 Thread Jean-Baptiste Queru
, Dec 10, 2008 at 11:41 PM, Jean-Baptiste Queru [EMAIL PROTECTED] wrote: Plugins aren't supported at this point. JBQ On Tue, Dec 9, 2008 at 11:13 PM, Juliana [EMAIL PROTECTED] wrote: Does current android browser support pulgins whether the plugins are implemented by native code or java

[android-developers] Re: startActivity(), Browser, and windows

2008-12-11 Thread Jean-Baptiste Queru
That's an area where improvements are known to be necessary. If you have some precise ideas, feel free to head over to the android-framework list where we discuss specific changes to the android source code that are visible at the level of applications built on top of the SDK. JBQ On Thu, Dec

[android-developers] Re: Question about service life cycle for GOOGLE engineers

2008-12-11 Thread Jean-Baptiste Queru
I don't know why you'd specific ask Google engineers to answer this question. There are plenty of non-Google people who also have some detailed understanding about the way Android works. You're seeing situations where the visible activity takes so much space that the system has to start killing

[android-developers] Re: Information related to Browser application

2008-12-11 Thread Jean-Baptiste Queru
If you're trying to port android to a specific piece of hardware, you should consider asking in the android-porting mailing list. This list here (android-developers) is for developers writing Android apps using the official SDK. Thanks, JBQ On Thu, Dec 11, 2008 at 3:45 AM, srinivas

[android-developers] Re: iPhone SIM Card compatibility

2008-12-11 Thread Jean-Baptiste Queru
If it's a Dev Phone (not a G1), it's not SIM-locked so you can use any SIM in it. Did you enter the proper APN for your network? JBQ On Thu, Dec 11, 2008 at 12:50 PM, Logan logan.green...@gmail.com wrote: Hello All, I just recevied my G1 Dev Phone. I promptly took the sim from my ATT 3G

[android-developers] Re: iPhone SIM Card compatibility

2008-12-11 Thread Jean-Baptiste Queru
. Registration fails and the data icon never shows up. I've now tested with a T-Mo blackberry SIM card, data DOES work, but registration still fails. Logan On Dec 11, 3:52 pm, Jean-Baptiste Queru j...@google.com wrote: If it's a Dev Phone (not a G1), it's not SIM-locked so you can use any SIM

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread Jean-Baptiste Queru
You can not rely on a service staying alive 100% of the time, because the system reserves the right to kill the processes that host services in order to make space for the visible activity. JBQ On Thu, Dec 11, 2008 at 3:21 PM, code_android_festival_way festival.s...@googlemail.com wrote: At

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread Jean-Baptiste Queru
In fact when the system (kernel) decides to kill a service to make space, the service *is* killed outright, no onDestroy(). JBQ On Thu, Dec 11, 2008 at 3:44 PM, Mark Murphy mmur...@commonsware.com wrote: code_android_festival_way wrote: Ok so all I can do is set some last Toast in the

[android-developers] Re: Service not able to download network data while in standby

2008-12-14 Thread Jean-Baptiste Queru
Sounds like you want to use AlarmManager. JBQ On Sun, Dec 14, 2008 at 9:54 AM, ChisterNordvik cnord...@gmail.com wrote: Hi! I have a service polling data at regular time intervals and this works great except when the phone goes into standby. Then the service never runs the timer thread

[android-developers] Re: Whose supporting VGA/QVGA at the moment?

2008-12-15 Thread Jean-Baptiste Queru
If you're going in that direction, a first step could be to look at the various criteria that have been identified in Android as being relevant to be used for resource selection: http://code.google.com/android/devel/resources-i18n.html#AlternateResources (yes, that focuses on input and display,

[android-developers] Re: Is a SIM Required for Dev 1?

2008-12-15 Thread Jean-Baptiste Queru
Looks like there's a way after all (since the device ships with adb enabled and su, so you can get a root shell): http://forum.xda-developers.com/showthread.php?t=452316 JBQ On Sun, Dec 14, 2008 at 8:38 AM, cyntacks kevin.clout...@cyntacks.com wrote: Ah... now we are talking GREAT to

[android-developers] Re: What 's the difference between ContentResolver and ContentValues?

2008-12-15 Thread Jean-Baptiste Queru
ContentResolver allows your application to communicate with other applications' ContentProviders. ContentValues is a container for name-value pairs that are used to insert or modify a row in a ContentProvider. JBQ On Sun, Dec 14, 2008 at 1:50 AM, hc huang chinahhu...@gmail.com wrote: That's a

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-16 Thread Jean-Baptiste Queru
There is a speech-recognition engine in Android, but there are currently no public APIs to access it. This is likely to change in the future. JBQ On Tue, Dec 16, 2008 at 12:45 AM, Mihai mihai...@gmail.com wrote: This is an interesting library that will probably enable some neat applications,

[android-developers] Re: Why File.mkdirs() can not succeed?

2008-12-17 Thread Jean-Baptiste Queru
. Thanks all . On 12月17日, 上午12时21分, Jean-Baptiste Queru j...@google.com wrote: You're trying to write in a location (/data) where your app doesn't have write permissions. JBQ On Mon, Dec 15, 2008 at 10:04 PM, shuoshuo wzshuos...@gmail.com wrote: I use new File(/data/mydir/tmp).mkdirs() to create

[android-developers] Re: G1 owners: A system update is available - is it safe?

2008-12-17 Thread Jean-Baptiste Queru
This'd be a question for android-discuss, actually. The SIM-locking in the G1 is unrelated to Android itself, it's a much deeper property of the underlying firmware. You can apply the upgrade and your device will still be SIM-unlocked. JBQ On Wed, Dec 17, 2008 at 7:35 AM, Stoyan Damov

[android-developers] Re: G1 owners: A system update is available - is it safe?

2008-12-17 Thread Jean-Baptiste Queru
, 2008 at 7:39 AM, Jean-Baptiste Queru j...@google.com wrote: This'd be a question for android-discuss, actually. The SIM-locking in the G1 is unrelated to Android itself, it's a much deeper property of the underlying firmware. You can apply the upgrade and your device will still be SIM-unlocked

[android-developers] Re: What is Android.mk file?

2008-12-18 Thread Jean-Baptiste Queru
That's a makefile used to build the Android platform. You don't need to worry about those when developing apps with the SDK. JBQ On Thu, Dec 18, 2008 at 5:24 AM, jalandar jagtap...@gmail.com wrote: What is Android.mk file? -- Jean-Baptiste M. JBQ Queru Android Engineer, Google.

[android-developers] Re: Cupcakes Email and K9

2008-12-18 Thread Jean-Baptiste Queru
The detailed discussion about merging K9 changes will belong on android-platform (since it's explicitly about actively contributing code changes into Android). Too keep it short: it makes the merge of K9 into Android much easier, because it'll allow open cooperation between the K9 authors and the

[android-developers] Re: G1 vs. Fedora Core (6+) vs. udev

2008-12-18 Thread Jean-Baptiste Queru
Do you think that you could copy-paste your email (as is) in a new bug report at b.android.com so that we don't lose track of it? Thanks, JBQ On Thu, Dec 18, 2008 at 4:27 PM, enervat...@gmail.com wrote: Hi all, I've finally figured out what was going wrong with the udev stuff on Fedora

[android-developers] Re: Port 554 closed?

2008-12-18 Thread Jean-Baptiste Queru
In the current version, ports below 1024 aren't accessible to applications. JBQ On Thu, Dec 18, 2008 at 7:47 PM, Moto medicalsou...@gmail.com wrote: I have been trying to create a local RTSP server on my phone but I haven't had any luck! I'm trying to connect from MediaPlayer to my

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-19 Thread Jean-Baptiste Queru
This is not supported in Android 1.0. It is expected to be available in a future release. JBQ On Fri, Dec 19, 2008 at 11:17 AM, redmapleleaf redmaplel...@gmail.com wrote: Hi all, Would you know if there is any way I can let the user to browse the web and select the interesting text for

[android-developers] Re: Android Dev Phone 1™

2008-12-19 Thread Jean-Baptiste Queru
On the wall side, the power supply should accept international voltages (100-240V), so you just need a plain socket adapter (shouldn't cost more than a few dollars). This was mentioned on the ordering page. On the device side, did you try to plug the adapter the right way? (yes, try the other

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-20 Thread Jean-Baptiste Queru
in that release). JBQ On Sat, Dec 20, 2008 at 3:41 AM, redmapleleaf redmaplel...@gmail.com wrote: Hi Jean, Thank you very much for your response. Could you please give me an idea of how soon this future release may be :) Thanks! On Dec 19, 2:19 pm, Jean-Baptiste Queru j...@google.com wrote

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-20 Thread Jean-Baptiste Queru
of it in a selection window where the user may signal whether he want to save it or not. Thank you for your help. On Dec 20, 10:51 am, Jean-Baptiste Queru j...@google.com wrote: I don't want to make any commitment. Even though some code has been written in that direction, there's always a risk

[android-developers] Re: natvie code try/catch statement support or not

2008-12-21 Thread Jean-Baptiste Queru
Native code development is not currently supported. JBQ On Sat, Dec 20, 2008 at 4:27 AM, lucky wjj...@gmail.com wrote: Hi, Below try/catch code can not pass build: #include stdio.h int main() { try { printf(try statement\n); throw 1; } catch (...) {

[android-developers] Re: Thought's On Android CupCake?

2008-12-21 Thread Jean-Baptiste Queru
Actually, Disconnect's description of the situation is conceptually accurate (and the subtle points aren't relevant for this discussion). JBQ On Sun, Dec 21, 2008 at 9:29 PM, nkijak nki...@gmail.com wrote: How can you say it has nothing to do with Google. They brought Android to T-Mobile.

[android-developers] Re: how to update apk's Jad file in run time

2009-01-05 Thread Jean-Baptiste Queru
Besides knowing whether you can safely edit classes.dex (I'd recommend putting the relevant information in a separate file in the apk), you're not going to be able to do what you have in mind without also re-signing the apk. JBQ On 1/5/09, sudha sudhagupta2...@gmail.com wrote: can i make

[android-developers] Re: File permissions for world read/write

2009-01-05 Thread Jean-Baptiste Queru
Note that you shouldn't hard-code the path to the SD card. There's an API in the Context class (if I remember correctly) that let's you query it. JBQ On 1/4/09, ggcespia g...@boopsie.com wrote: problem solved. package B had a typo in the file name. works fine now. On Jan 3, 9:02 pm,

[android-developers] Re: File download in Browser

2009-01-09 Thread Jean-Baptiste Queru
The download manager, by design, only allows to download files for which there are registered viewers (ACTION_VIEW, file:///, mime type). Installing an app that can view any file (e.g. a hex dump app) will let you download any file. JBQ On Wed, Dec 24, 2008 at 9:36 PM, TBoom8669

[android-developers] Re: Browser Bug with downloading files?

2009-01-12 Thread Jean-Baptiste Queru
This discussion would be more appropriate on android-discuss. Could it be that the .loc file and the search page have the same URI, with the former being a POST and the latter being a GET? JBQ On Mon, Jan 12, 2009 at 12:39 PM, bryan browne.al...@gmail.com wrote: It seems that the browser

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Jean-Baptiste Queru
Second hand information about the battery trick: yaffs2 has some sanity-checking code that can detect and recover from unlinked files, but that code is only run when the filesystem wasn't cleanly unmounted. JBQ On Mon, Jan 12, 2009 at 1:02 PM, Stoyan Damov stoyan.da...@gmail.com wrote: On

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Jean-Baptiste Queru
12, 2009 at 11:06 PM, Jean-Baptiste Queru j...@google.com wrote: Second hand information about the battery trick: yaffs2 has some sanity-checking code that can detect and recover from unlinked files, but that code is only run when the filesystem wasn't cleanly unmounted. JBQ On Mon, Jan 12

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Jean-Baptiste Queru
on the home screen. I have a hunch it is. Cheers On Mon, Jan 12, 2009 at 11:39 PM, Jean-Baptiste Queru j...@google.com wrote: There is a bug somewhere (it's assigned to me for investigation) where the system process keeps apk files open after they get unlinked in some scenario close to what

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-13 Thread Jean-Baptiste Queru
Just to make some things clear: -the core bug appears to be on the filesystem side. I'm not going to touch that part. -a secondary issue exists in the system process where some unlinked files are kept open longer than necessary (which apparently triggers the core bug). This is where I'm hoping

[android-developers] Re: Accessing Files on the sdcard

2009-01-13 Thread Jean-Baptiste Queru
And you should use Environment.getExternalStorageDirectory() to know the path to the external storage instead of hard-coding /sdcard. JBQ On Tue, Jan 13, 2009 at 7:37 AM, hmmm akul...@mail.ru wrote: sorry, /sdcard/... -Original Message- From: hmmm akul...@mail.ru To:

[android-developers] Re: How to set the permission to open a dev fd?

2009-01-14 Thread Jean-Baptiste Queru
Like Dianne said, you can't. Use the published SDK APIs to access the various functionalities exposed by Android. JBQ On Wed, Jan 14, 2009 at 2:38 AM, taosinker taosin...@gmail.com wrote: Hi Dianne: Could you give me an advice to resolve it? Now I find the reason is /dev/xx is the root

[android-developers] Re: Accessing Files on the sdcard

2009-01-14 Thread Jean-Baptiste Queru
was wondering whether it is possible to stream audio to the AudioTrack class i came across in the cupcake development branch. If so, how can I go about bringing that functionality to the current version of the SDK. Cheers, Earlence On Jan 13, 8:44 pm, Jean-Baptiste Queru j...@google.com wrote

[android-developers] Re: Permission denied while compiling android source code..

2009-01-14 Thread Jean-Baptiste Queru
This'd be a better question for android-platform, so that android-developers can stay focused on discussing issues related to application development with the SDK. It sounds like somehow the files in your git checkout don't have the executable bit when they should. Could it be that the

[android-developers] Re: How to uninstall calculator package from emulator

2009-01-15 Thread Jean-Baptiste Queru
That's not possible. Recompile calculator with a different android package name and you'll be able to install it alongside the original one. JBQ On Wed, Jan 14, 2009 at 10:47 PM, Anil Yadav anil.andr...@gmail.com wrote: Hi All I'm trying to uninstall calculator package (pre installed

[android-developers] Re: make failed

2009-01-15 Thread Jean-Baptiste Queru
Discussions about working with the android source code should be held on the android-platform mailing list, thanks. JBQ On Wed, Jan 14, 2009 at 9:31 PM, Caspar caspar@gmail.com wrote: The make system post these messages: target Dex: core-tests make: ***

[android-developers] Re: Questions regarding Opencore and System.img file

2009-01-16 Thread Jean-Baptiste Queru
This would be a better question for android-platform, since android-developers is for people using the SDK. The G1 is not designed to allow users to modify or update the system on their own. You should look into getting an ADP1, which is the exact same hardware but doesn't have any restrictions

[android-developers] Re: Accessing Files on the sdcard

2009-01-16 Thread Jean-Baptiste Queru
in which it would be possible to use the class from cupcake or build another class that can achieve that functionality using existing classes. cheers, Earlence On Jan 14, 6:23 pm, Jean-Baptiste Queru j...@google.com wrote: There is currently no SDK built from cupcake (which isn't stable enough

[android-developers] Re: working with /cache/recovery/command

2009-01-16 Thread Jean-Baptiste Queru
You should be asking this question on android-platform, so that people coming here to discuss application development with the SDK don't get lost in the gory details of the underlying platform. Thanks, JBQ On Fri, Jan 16, 2009 at 11:50 AM, surferdude datruesur...@gmail.com wrote: Hello, I'm

[android-developers] Re: Hypotheses for why I can't find a ContentProvider

2009-01-17 Thread Jean-Baptiste Queru
I'd recommend putting the full class name (including the full package name) in the android:name attribute. I don't know if that's it, but it can't hurt. JBQ On Fri, Jan 16, 2009 at 11:30 PM, Tim Bray timb...@gmail.com wrote: I've written a ContentProvider, stealing heavily from

[android-developers] Re: Cupcake branch

2009-01-21 Thread Jean-Baptiste Queru
Let's move this discussion into another list (e.g. android-platform), since this is unrelated to developing applications with the SDK. Thanks, JBQ On Wed, Jan 21, 2009 at 2:16 AM, longhairedsi longhaire...@googlemail.com wrote: Hi, I used the steps here:

[android-developers] Re: ALSA lib

2009-01-21 Thread Jean-Baptiste Queru
That's an underlying audio library whose presence or absence has no impact on the SDK APIs. Don't worry about it. JBQ On Wed, Jan 21, 2009 at 1:08 AM, Tez earlencefe...@gmail.com wrote: Hi, What is the ALSA lib and what can it be used for. Where is doc for it? Cheers, Earlence --

[android-developers] Re: Port Forward in Cupcake

2009-01-21 Thread Jean-Baptiste Queru
Can we take this discussion to android-framework, so that this list continues to be about developing on top of officially released SDKs? Thanks, JBQ On Wed, Jan 21, 2009 at 4:34 AM, Breno breno.min...@gmail.com wrote: Hi, Untill now, i were forwarding my PC ports using telnet, but with

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

2009-01-21 Thread Jean-Baptiste Queru
It's not that easy, because aapt assumes that the android package name is also the source code package name. At the very least you need a custom post-processing step to move the generated R file into the proper source code package, and none of the standard Android build tools support that. On

[android-developers] Re: Repo Client init problem ubuntu 8.10

2009-01-21 Thread Jean-Baptiste Queru
This would be a good question to the repo-discuss mailing list, or android-platform, so that android-developers can stay focused on helping people who are developing applications with the SDK. Do you have git installed? JBQ On Mon, Jan 19, 2009 at 1:58 PM, PerCentage ja...@percentage.com

[android-developers] Re: list of package names on the phone

2009-01-21 Thread Jean-Baptiste Queru
It's part of the output of adb bugreport. There's probably a way to get to that information without the rest of the bugreport output. JBQ On Wed, Jan 21, 2009 at 8:45 PM, Jin android.quest...@gmail.com wrote: Is there any way to get the name of all the packages(e.g., com.android.calendar)

[android-developers] Re: How to get Available Device RAM

2009-01-22 Thread Jean-Baptiste Queru
If there's any RAM free, it's wasted. RAM can be used to keep processes, applications and paused activities around, to keep uncollected garbage in the virtual machines, to cache files, etc... and it's really a goal to keep RAM usage as high as reasonable all the time. JBQ On Wed, Jan 21, 2009

[android-developers] Re: why Android disable wlan interface when receive EVENT_SUPPLICANT_DISCONNECT

2009-01-22 Thread Jean-Baptiste Queru
This would probably be more appropriate for the android-platform mailing list (if you want to actively contribute changes) or android-discuss (if you just want to passively discuss), since it isn't directly related to developing applications with the SDK. Thanks, JBQ On Wed, Jan 21, 2009 at

[android-developers] Re: Using android 1.5 emulator, the sdcard can't be mounted

2009-01-22 Thread Jean-Baptiste Queru
This would be more appropriate for the android-framework mailing list, since there hasn't been any official SDK released from the cupcake source tree yet. Thanks, JBQ On Thu, Jan 22, 2009 at 1:21 AM, tony shangyun...@gmail.com wrote: Command sequence is: 1.make sdk first, and cd

[android-developers] Re: Attn: Android Engineers. Feature request

2009-03-11 Thread Jean-Baptiste Queru
Please mention this a http://b.android.com so that we don't lose track of it. Thanks, JBQ On Wed, Mar 11, 2009 at 11:08 AM, Colin crgod...@gmail.com wrote: There may be issues with this, but I have run into problems developing for android that could easily be solved by this: Maybe add an

[android-developers] Re: Risk of upgrading to 1.1?

2009-03-11 Thread Jean-Baptiste Queru
Well, there is a risk that a bug in 1.0 that would have been fixed in 1.1 could be hit by your application. I'm not explicitly aware of such situations, but that's definitely possible in theory. It is possible (and in fact reasonably easy) to downgrade an ADP1 back to 1.0, the drawback being

[android-developers] Re: Am I being banned from the list?

2009-03-11 Thread Jean-Baptiste Queru
I got one of those too. My guess is that some member on the list has an auto-auto-responder because their mailbox is full. JBQ On Wed, Mar 11, 2009 at 2:45 PM, Stoyan Damov stoyan.da...@gmail.com wrote: Thank you for the prompt reply. I don't know what could be the problem, I'm posting by

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Jean-Baptiste Queru
ro stands for read-only. Those can't be modified. JBQ On Fri, Mar 13, 2009 at 3:01 AM, Nio luodali...@gmail.com wrote: hi all, I can find that build.prop in the direction product/generic/system/ build, and there are some items like ro.build.id=TC3 etc. I want to add my modification here

[android-developers] Re: Merchant account signup down?

2009-03-13 Thread Jean-Baptiste Queru
I've notified the Android Market team about the situation. JBQ On Tue, Mar 10, 2009 at 6:16 PM, jsdf jasons...@gmail.com wrote: I am trying to sign up for a merchant account but it seems to be down: Sorry, we could not setup your merchant account. Please try again later. Can anyone else

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Jean-Baptiste Queru
. 2009/3/13 Jean-Baptiste Queru j...@android.com ro stands for read-only. Those can't be modified. JBQ On Fri, Mar 13, 2009 at 3:01 AM, Nio luodali...@gmail.com wrote: hi all, I can find that build.prop in the direction product/generic/system/ build, and there are some items like

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Jean-Baptiste Queru
the OEM. I guess i can change or add some thing in the file build.prop. I saw lots of item like that there. 2009/3/13 Jean-Baptiste Queru j...@android.com Those are set in the factory, they're not meant to be modified by applications. JBQ On Fri, Mar 13, 2009 at 8:30 AM, Daliang Luo luodali

[android-developers] Re: Android Debug Bridge (ADB) license

2009-03-13 Thread Jean-Baptiste Queru
I'm looking into this. JBQ On Fri, Mar 13, 2009 at 8:34 AM, andycarr acarr_...@yahoo.co.uk wrote: Hi, do you know which license the Android Debug Bridge (ADB) is licensed under? I am unable to find any reference to the ADB license in the SDK documentation. The file NOTICE.TXT, in the

[android-developers] Re: Android Debug Bridge (ADB) license

2009-03-13 Thread Jean-Baptiste Queru
The relevant information is here: http://android.git.kernel.org/?p=platform/system/core.git;a=blob;f=adb/adb.c;h=fa5269f5037c652a32954596aa90ab7ce9c73d9b;hb=HEAD I've made a note to make that more clear in the future. JBQ On Fri, Mar 13, 2009 at 11:52 AM, Jean-Baptiste Queru j...@android.com

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-03-13 Thread Jean-Baptiste Queru
There isn't any. 1.1 isn't explicitly available in the open-source tree. All the features developed for 1.1 were merged into the cupcake tree, which is available. JBQ On Thu, Mar 12, 2009 at 5:42 PM, Michael Burton m...@niskala.org wrote: Don't see a clear response to this, has anyone found

[android-developers] Re: Repo Client init problem ubuntu 8.10

2009-03-14 Thread Jean-Baptiste Queru
Sounds like you don't have git installed on your system. JBQ On Wed, Mar 11, 2009 at 7:03 PM, doubleslash doublesl...@gmail.com wrote: I have the same problem. I tried curl and verified indeed the whole python script was downloaded. I installed libreadline5-dev instead of lib32readline5.dev

[android-developers] Re: Some questions about modding stuff in the source code

2009-03-15 Thread Jean-Baptiste Queru
Mark's answers are correct. A bit of extra precision: -use the android-platform group if you want to contribute your changes back to the main Android source for inclusion in future official releases. Use android-porting if you are working in a copy of the Android source and don't intend to

[android-developers] Re: Matching SDK version to code? NPE Bug in WebView?

2009-03-15 Thread Jean-Baptiste Queru
Unfortunately neither the exact code for the 1.0 SDK nor for 1.1 (especially for 1.1) are available. Versions 126986 and 128600 respectively match PLAT-RC33 (current version for the T-Mobile G1 in the US) and TMI-RC9 (the European equivalent). Here's the relevant code in 1.1, which matches the

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-15 Thread Jean-Baptiste Queru
I haven't looked in detail, but this looks like yet another case of a platform application that uses private platform APIs and therefore can't be built against the SDK. JBQ On Sun, Mar 15, 2009 at 7:57 AM, Hans hkess...@gmail.com wrote: Manifest for Camera.git application lists this service.

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-15 Thread Jean-Baptiste Queru
in-house at Google? I'm just looking for what my requirements would be in order to build the Camera application if truly necessary. Thanks, Hans Appreciated - Hans On Mar 15, 10:58 am, Jean-Baptiste Queru j...@android.com wrote: I haven't looked in detail, but this looks like yet

[android-developers] Re: Matching SDK version to code? NPE Bug in WebView?

2009-03-15 Thread Jean-Baptiste Queru
-Baptiste Queru j...@android.com wrote: Unfortunately neither the exact code for the 1.0 SDK nor for 1.1 (especially for 1.1) are available. Versions 126986 and 128600 respectively match PLAT-RC33 (current version for the T-Mobile G1 in the US) and TMI-RC9 (the European equivalent). Here's

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-15 Thread Jean-Baptiste Queru
on this a bunch but found nothing but vagaries that make it sound like no ones actually doing this right now. Thanks, Hans On Mar 15, 11:40 am, Jean-Baptiste Queru j...@android.com wrote: Oh, I see. The real problem is that the class in question was deleted a long time ago, but the manifest

[android-developers] Re: Transferring paid apps G1 - HTC Magic

2009-03-17 Thread Jean-Baptiste Queru
If those apps were downloaded from Android Market, just be sure to sign into the new device with the same Google account and re-download the apps there (they'll be listed in Market - My Downloads). JBQ On Tue, Mar 17, 2009 at 1:48 AM, Carl Whalley carl.whal...@googlemail.com wrote: With the

  1   2   3   >