[android-developers] Re: How do I get the user's phone number?

2008-08-19 Thread Huebi
You need the permission READ_PHONE_STATE, then use TelephonyManager.getDefault() to get hold of the TelephonyManager. On the returned instance call mgr.getLine1Number() and there it is :) Cheers -Huebi On 19 Aug., 07:30, j [EMAIL PROTECTED] wrote: How do I get the user's phone number in 0.9

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-08-19 Thread code_android_festival_way
Thank you Justin for helping me out. It is working pretty fine now. :-) Cheers from Germany! On 19 Aug., 02:11, Justin (Google Employee) [EMAIL PROTECTED] wrote: Looks like you also need the Apache Commons IO library which you can get fromhttp://commons.apache.org/io/. Cheers, Justin

[android-developers] Re: How do I get the user's phone number?

2008-08-19 Thread Romain Guy
Do not use TelephonyManager.getDefault(), this is private API that may change. Instead use the following: (TelephonyManager) getSystemService(phone) On Mon, Aug 18, 2008 at 11:06 PM, Huebi [EMAIL PROTECTED] wrote: You need the permission READ_PHONE_STATE, then use

[android-developers] Re: How do I get the user's phone number?

2008-08-19 Thread Jeff Hamilton
You should get the TelephonyManger using getSystemService(TELEPHONY_SERVICE) instead, like this: TelephonyManager telephony = (TelephonyManager) getSystemService(TELEPHONY_SERVICE); See http://code.google.com/android/reference/android/content/Context.html#TELEPHONY_SERVICE for the definition

[android-developers] Re: Error when loading app to 0.9 beta SDK

2008-08-19 Thread Alex Pisarev
Xav, I always wipe emulator with -wipe-data before starting it, so the output I am getting is the one with clean emulator. But still get an error. My APK is around 2.5 Mb - may be it's too much? Regards, Alex On Aug 19, 6:49 am, Xavier Ducrohet [EMAIL PROTECTED] wrote: Hi zero, -11 is

[android-developers] Re: Error when loading app to 0.9 beta SDK

2008-08-19 Thread Alex Pisarev
Yes, exactly same story. On Aug 19, 4:04 am, zero [EMAIL PROTECTED] wrote: my 2 cents: there must be something about the verify process. * without further investigation, the whole smack api  is now failing.  a lot of this seems to be caused by awt or javax classes missing. * what will

[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread Peli
Thank you very much for this long awaited public SDK! This is really a great step forward! On a detail level, I would also like to know more about the planned Bluetooth API. a comprehensive Bluetooth API will not be possible... Does it mean, there could be a limited Bluetooth API available for

[android-developers] How to access java.lang.instrument ??

2008-08-19 Thread brad
Hi, The new release sdk has no more java.lang.instrument.* package. But I had used Berkeley DB on Android and the Berkeley DB's impl need that package. The jdk5, jdk6 have that package too. why reomve that package?? And are there any substitutes for that? Thanks in advance. Brad

[android-developers] How to play Video/Audio Streaming Binary files on H.264 ?

2008-08-19 Thread Phelps
I am use AndRoid only two weeks,now have a job need try at AndRoid play H264 Audio/Video Streaming File,This files don't in SDCard,but realtime create.I know in Android Media APIs have three methods,1. Playing a Raw Resource 2.Playing a File,3 Playing Media via URL,but these method play

[android-developers] How to display a local file in the browser?

2008-08-19 Thread Peli
Is it possible to open a local file in the browser? In the Android browser, I tried menu / go to: file:///sdcard/test.html I always receive the error message: Web page not available. The web page at file:///sdcard/test.html could not be loaded as: The requested file was not found. even though

[android-developers] How to get focus in list footer via key pad?

2008-08-19 Thread Peli
I add a fooer to a list using the code below. It contains a button. I can press the button using touch (i.e. mouse click), but I can not put focus on the button using the key pad only. If I choose the 3rd parameter in addFooterView() to be true instead of false, then I can select the whole

[android-developers] Re: Error when loading app to 0.9 beta SDK

2008-08-19 Thread Alex Pisarev
Justin, I was talking about my own code which is not properly deployed (I am sorry for using com.android.commandro package for some of my own classes - that's probably why you were confused) ;) If there is no restriction, can you please tell me why application is not loading properly? What is

[android-developers] Is there a Gadget API for the new home screen?

2008-08-19 Thread Peli
The new home screen features a clock and a Google search box if one scrolls to the left or right. Also application icons can be placed on the home screen by long- clicking them. Question: Is it possible for us to write custom gadgets for the home screen like the clock or the Google search box?

[android-developers] Re: Is there a Gadget API for the new home screen?

2008-08-19 Thread Romain Guy
No, such an API does not exist and won't exist in 1.0. On Tue, Aug 19, 2008 at 1:07 AM, Peli [EMAIL PROTECTED] wrote: The new home screen features a clock and a Google search box if one scrolls to the left or right. Also application icons can be placed on the home screen by long- clicking

[android-developers] Re: Is there a Gadget API for the new home screen?

2008-08-19 Thread Peli
Ok thanks. Would it in principle be possible to write a new home screen that offers a gadget API? (i.e. do you see a technical possibility or possible problems combining views from different apks in a single activity?) What would be the best way to tackle this? Peli On 19 Aug., 10:08, Romain

[android-developers] Re: Is there a Gadget API for the new home screen?

2008-08-19 Thread Romain Guy
I don't know if there is enough support in the platform to let your application load widgets from other apks. Theoretically you could, but: - We do plan on having such an API in future versions - Your API would work only for your Home screen - There are some serious security concerns with this

[android-developers] Re: Is there a Gadget API for the new home screen?

2008-08-19 Thread Peli
Home usually runs with many permissions and widgets are basically foreign pieces of code that run in your process which can lead to a great amount of security issues. Indeed, ideally widgets should probably run as separate processes with their own limited permissions - maybe as a service? The

[android-developers] new sdk

2008-08-19 Thread Peter Stevenson
when trying to download new sdk for linux which is 91mb sun downland keeps come up with an error When I try down load just with fire fox download manger the file size only 86.7mb please help Peter --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] SDK 0.9 emulator crashes in QVGA-L?

2008-08-19 Thread blindfold
The SDK 0.9 emulator on Windows XP for me consistently crashes in QVGA- L mode. Tried Noteslist and ApiDemos. No such problem with HVGA-L target. Anyone else experiencing the same? Thanks. SDL_app: emulator.exe - Application Error The instruction at 0xblahblah referenced memory at 0xblahblah.

[android-developers] What happens to android.media.AudioSystem?

2008-08-19 Thread blindfold
What is the status of android.media.AudioSystem? It is still in the 0.9 SDK, and its setVolume methods still compile (but AudioSystem.stayAwake does not) , yet AudioSystem is not in the current online documentation. Is it going to be deprecated or what? Thanks.

[android-developers] Geolocation provider emulation and sms format for this stuff

2008-08-19 Thread [EMAIL PROTECTED]
Location aware is a big draw for android, but this link does not appear to be working right now: http://code.google.com/android/reference/geo Is there a better reference for geographic functions? Does someone have a standard format for embedding geo location data in an SMS message? I can

[android-developers] No bluetooth support ?!?!?!

2008-08-19 Thread rezar
I'm very disappointed with new SDK, where is bluetooth ? Bluetooth is going to be the social sensor of the phones. Removing bluetooth is totally unacceptable. If there is no bluetooth support I will go for MS windows mobile. --~--~-~--~~~---~--~~ You received this

[android-developers] Restrictions on android apps?

2008-08-19 Thread #Confused#
Hi all, I want to know if there is a place where I can find the restrictions on what the android apps can do. Can my app block an incoming call? Can my app divert an incoming call to a different number? Can my app change the appearance of the dial pad itself? Thanks in advance!

[android-developers] Problem with running emulator - my program won't show up

2008-08-19 Thread maximz2005
Hello, I am having a problem with the Android Emulator. Whenever I run it, it just shows the phone and it says Android and then shows the android logo on the screen. I can't get it to show anything else. I've tried tweaking the settings, no luck. I'm using the newest version of the Eclipse IDE

[android-developers] KeyguardManager , KeyguardLock

2008-08-19 Thread 异域风情
Help: KeyguardManager, KeyguardLock two Examples. I did not realize lockout --~--~-~--~~~---~--~~ 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: No bluetooth support ?!?!?!

2008-08-19 Thread Paulo Sergio
it seems that there will be no support for using bluetooth programatically, but i think the phones will support bluetooth.. or so it seems... On Tue, Aug 19, 2008 at 2:42 PM, rezar [EMAIL PROTECTED] wrote: I'm very disappointed with new SDK, where is bluetooth ? Bluetooth is going to be the

[android-developers] Re: What is wrong with the Bitmap Decoder?

2008-08-19 Thread kingkung
Mark and Justin, thanks for all of your help. Finally got everything to work, for anyone who runs into these problems in the future: 1) I took Mark's advice and used the HttpClient to retrieve the image, but still it was producing inconsistent results. Finally, instead of using

[android-developers] attempt to acquire a reference on a close SQLiteClosable

2008-08-19 Thread simon
Hi all! First of all i wanted to say thank you to Google for the new SDK! Lookin forward to the phones! now to my problem: as soon as i push the back button in some of my application's activities, i get the following error: 08-19 14:10:13.050: ERROR/AndroidRuntime(1183): Caused by:

[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread gjs
Many thanks for beta sdk + road map ! ( at last :-) Regards On Aug 19, 5:15 pm, Peli [EMAIL PROTECTED] wrote: Thank you very much for this long awaited public SDK! This is really a great step forward! On a detail level, I would also like to know more about the planned Bluetooth API. a

[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread Nanard
No Text to Speech (tts) yet ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Recommended Way to package Databases with Applications?

2008-08-19 Thread LeegleechN
What's the best way to include a database with your program? In the M5 SDK I was copying the file over from raw to the files directory on the first run of my program and opening it from there, but now that .9 has come out I'm having some issues with that approach and I'm wondering if there is a

[android-developers] Re: attempt to acquire a reference on a close SQLiteClosable

2008-08-19 Thread Justin (Google Employee)
My guess would be that you have an SQLite cursor that you're not releasing when your Activity loses focus. I believe you have two options. You say that you've tried to handle this in callback functions onRestart, onResume, etc. The problem is you're looking at the wrong end of the lifecycle.

[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread Linuxemacs
David McLaughlin (Android Advocate) 写道: Fellow Android developers, We're pleased to announce the release of the Android 0.9 SDK beta! For full information, please see Dan Morrill's blog post: http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html

[android-developers] Android GUI application testing

2008-08-19 Thread bmannix
I have been working on developing SQA test strategy for a new Android product. I need to automate black box testing of the Android GUI. I have found a few open source tools out there, but it appears that they all require Swing, which android does not use. Is anyone aware of any black box GUI

[android-developers] About sqlite

2008-08-19 Thread eggerxu
I already have a ms access database file with a big amount data(one table with 10 rows). Now, i want to import it to sqlite.Any easy methods? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: No bluetooth support ?!?!?!

2008-08-19 Thread Raymond Rodgers
I believe there were some issues with the bluez package that caused them to remove it at least for the time being. See the release notes (http://code.google.com/android/RELEASENOTES.html ) which state: Due to significant API changes in the upstream open-source project and due to the timeline

[android-developers] Re: How to play Video/Audio Streaming Binary files on H.264 ?

2008-08-19 Thread Megha Joshi
Not sure what you mean by realtime created streaming files... Streaming of H.264 mp4 files is supported for http protocol, not rtsp... In addition your file should be of type progresive streamable content... On Mon, Aug 18, 2008 at 11:37 PM, Phelps [EMAIL PROTECTED] wrote: I am use

[android-developers] Re: How to access java.lang.instrument ??

2008-08-19 Thread Megha Joshi
On Tue, Aug 19, 2008 at 12:22 AM, brad [EMAIL PROTECTED] wrote: Hi, The new release sdk has no more java.lang.instrument.* package. But I had used Berkeley DB on Android and the Berkeley DB's impl need that package. The jdk5, jdk6 have that package too. why reomve that package?? The

[android-developers] Re: How to display a local file in the browser?

2008-08-19 Thread Megha Joshi
Browser does not support viewing local files... On Tue, Aug 19, 2008 at 12:38 AM, Peli [EMAIL PROTECTED] wrote: Is it possible to open a local file in the browser? In the Android browser, I tried menu / go to: file:///sdcard/test.html I always receive the error message: Web page not

[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread viktor
Dear Google representatives, Since Bluetooth seems to be hottest topic for the SDK 0.9, please clarify the level of Bluetooth support in the first Android phone that is coming this fall. Which of the following is correct? 1. The phone does not have Bluetooth hardware. 2. The phone has disabled

[android-developers] Re: new sdk

2008-08-19 Thread Megha Joshi
On Tue, Aug 19, 2008 at 2:10 AM, Peter Stevenson [EMAIL PROTECTED]wrote: when trying to download new sdk for linux which is 91mb sun downland keeps come up with an error When I try down load just with fire fox download manger the file size only 86.7mb 86.7 MB is the right size, try using

[android-developers] Re: Error when loading app to 0.9 beta SDK

2008-08-19 Thread Alex Pisarev
So, if private inner classes are still allowed, can someone explain why my application is not getting deployed properly? Thanks, Alex On 19 авг, 00:54, Alex Pisarev [EMAIL PROTECTED] wrote: Justin, I was talking about my own code which is not properly deployed (I am sorry for using

[android-developers] Re: BUG: SDK 0.9 - APK is CUT during build

2008-08-19 Thread Justin (Google Employee)
We really need more information to start diagnosing this. Where are you getting this number from? What platform are you on? What version of Eclipse are you using? Have you double checked Eclipse's plug-in version? Cheers, Justin Android Team @ Google On Aug 19, 12:15 pm, Alex Pisarev [EMAIL

[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread Mark Murphy
viktor wrote: Which of the following is correct? 1. The phone does not have Bluetooth hardware. 2. The phone has disabled Bluetooth hardware that can be enabled with a future SDK update. 3. The phone has Bluetooth hardware and supports basic Bluetooth features such as pairing and RFCOMM.

[android-developers] Re: Android GUI application testing

2008-08-19 Thread Andrew Stadler
For true black box testing, have a look at http://code.google.com/android/reference/monkey.html This is a command-line tool that will inject pseudo-random event streams into your application. It's primarily helpful as a stress test, but if you run it for long enough, it can eventually exercise

[android-developers] Re: Geolocation provider emulation and sms format for this stuff

2008-08-19 Thread Megha Joshi
Did you find this one: http://code.google.com/android/toolbox/apis/lbs.html On Tue, Aug 19, 2008 at 5:46 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Location aware is a big draw for android, but this link does not appear to be working right now:

[android-developers] Re: Remote 3GP video in 0.9 SDK

2008-08-19 Thread Megha Joshi
Yes, you can use QuickTime Pro to create progressive streamable format: Steps below: 1. Open the video file in Quick Time Pro. 2. Goto File Export 3. Select type as 'Movie to 3G' 4. Click Options 5. Select file format as 3gpp 6. In the drop down menu below the file format, select

[android-developers] Re: Restrictions on android apps?

2008-08-19 Thread Megha Joshi
On Tue, Aug 19, 2008 at 12:53 AM, #Confused# [EMAIL PROTECTED] wrote: Hi all, I want to know if there is a place where I can find the restrictions on what the android apps can do. Can my app block an incoming call? Can my app divert an incoming call to a different number? Can my app

[android-developers] Re: SDK 0.9 emulator crashes in QVGA-L?

2008-08-19 Thread Megha Joshi
At present Android UI is not optimized for QVGA-L mode, but you can file a bug in the public issue tracker about these apps crashing in QVGA-L mode On Tue, Aug 19, 2008 at 4:41 AM, blindfold [EMAIL PROTECTED]wrote: The SDK 0.9 emulator on Windows XP for me consistently crashes in QVGA- L

[android-developers] Re: KeyguardManager , KeyguardLock

2008-08-19 Thread Justin (Google Employee)
Sorry, I don't understand the question, could you add more to your question? Thanks, Justin Android Team @ Google On Aug 19, 3:23 am, 异域风情 [EMAIL PROTECTED] wrote: Help: KeyguardManager,KeyguardLocktwo Examples. I did not realize lockout --~--~-~--~~~---~--~~

[android-developers] GPS Functionality???

2008-08-19 Thread maximz2005
Hello, I'm wondering - is there going to be Android GPS functionality? If yes, then how can I access the current coordinates of the phone? Thanks, -Maximz2005 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: BUG: SDK 0.9 - APK is CUT during build

2008-08-19 Thread Xavier Ducrohet
I've build bigger application during my tests and didn't have a problem. Is there anything in the eclipse log (located in the workspace, under the .metadata folder)? thanks Xav On Tue, Aug 19, 2008 at 12:15 PM, Alex Pisarev [EMAIL PROTECTED]wrote: I just noticed that new SDK cuts out APK at

[android-developers] Re: GPS Functionality???

2008-08-19 Thread Mark Murphy
maximz2005 wrote: I'm wondering - is there going to be Android GPS functionality? If the underlying phone supports it, yes. If yes, then how can I access the current coordinates of the phone? Use android.location.LocationManager:

[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread Mark Murphy
viktor wrote: From marketing standpoint, it is important to know if an application that uses RFCOMM to connect to a custom hardware via Bluetooth (e.g. SplashPlay from challenge Top 50) will be able to run on this phone immediately, in future or never. Both your and my questions are

[android-developers] Cannot update eclipse adt plugin to new one (0.9 sdk)

2008-08-19 Thread rollbak
Hi all, I am trying to update my eclipse adt plugin, but i get a conecction time out error. And if try to go to the plugin url (https:// dl-ssl.google.com/android/eclipse/) from my browser i get a 404 error. Does anyone managed to update their plugin succesfully? Thanks,

[android-developers] Re: Cannot update eclipse adt plugin to new one (0.9 sdk)

2008-08-19 Thread Xavier Ducrohet
There is no index.html file at that url so the browser won't find anything. There is, however, a file called site.xml which is what eclipse will look for. Xav On Tue, Aug 19, 2008 at 1:42 PM, rollbak [EMAIL PROTECTED] wrote: Hi all, I am trying to update my eclipse adt plugin, but i get a

[android-developers] Re: browser-support for SVG?

2008-08-19 Thread Megha Joshi
Browser SVG support is not planned for 1.0 release. On Tue, Aug 19, 2008 at 7:58 AM, David Mosberger [EMAIL PROTECTED]wrote: I see a similar question has been asked back in 2007, but I didn't see an answer: The browser in the current SDK (0.9) doesn't appear to support SVG. Since the

[android-developers] Re: GPS Functionality???

2008-08-19 Thread maximz2005
Great! Is there a way to emulate GPS functionality??? Thanks, -Maximz2005 On Aug 19, 1:31 pm, Mark Murphy [EMAIL PROTECTED] wrote: maximz2005 wrote: I'm wondering - is there going to be  Android GPS functionality? If the underlying phone supports it, yes. If yes, then how can I access

[android-developers] Unable to install ADT plugin 0.7.1 on Eclipse Europa

2008-08-19 Thread Mickey
Hi There, I'm a newbie about Android and I want to try the SDK using the eclipse plugin. Unfortunately I got the following error, trying to install it via Remote Site or Archive site as well: JST Web Core Patches (2.0.2.v200803241913-208i8s733I395D6BA7) requires feature

[android-developers] Re: SDK 0.9 emulator crashes in QVGA-L?

2008-08-19 Thread hackbod
To reinforce this a little, you should be designing your applications for the default resolutions of the emulator: HVGA portrait and landscape (480x320 and 320x480) with a touchable UI. Take the UI of the system and applications as a strong indicator of what your target should be. On Aug 19,

[android-developers] Re: Problem with running emulator - my program won't show up

2008-08-19 Thread maximz2005
Hi, Thank you! I found another solution, so my emulator works now. Before, when I typed adb devices, it didn't show my emulator, thus nothing worked. Thanks again, -Maximz2005 On Aug 19, 1:12 pm, Megha Joshi [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 12:26 AM, maximz2005 [EMAIL

[android-developers] Re: GPS Functionality???

2008-08-19 Thread Justin (Google Employee)
Please review http://code.google.com/android/toolbox/apis/lbs.html . Regards, Justin Android Team @ Google On Aug 19, 1:40 pm, maximz2005 [EMAIL PROTECTED] wrote: Great! Is there a way to emulate GPS functionality??? Thanks, -Maximz2005 On Aug 19, 1:31 pm, Mark Murphy [EMAIL PROTECTED]

[android-developers] sqlite3?

2008-08-19 Thread Brad Larson
Has the sqlite3 command line tool been removed from 0.9beta? I haven't been able to find anything in the documentation, but I do get sqlite3: not found from the shell. This was a useful debug tool... if it has been removed, is there anything to replace it? Thanks, Brad

[android-developers] Re: Remote 3GP video in 0.9 SDK

2008-08-19 Thread Justin (Google Employee)
Snowcrash, thanks for pointing this out! To elaborate on reasonably interleaved... What determines reasonably is dependent on many factors like network bandwidth, network latency, and buffer size. In general you want to have a chunk of audio for a certain unit of time followed by a corresponding

[android-developers] Re: Unable to install ADT plugin 0.7.1 on Eclipse Europa

2008-08-19 Thread Megha Joshi
What is your Eclipse version? On Tue, Aug 19, 2008 at 2:08 PM, Mickey [EMAIL PROTECTED] wrote: Hi There, I'm a newbie about Android and I want to try the SDK using the eclipse plugin. Unfortunately I got the following error, trying to install it via Remote Site or Archive site as well:

[android-developers] Re: Recommended Way to package Databases with Applications?

2008-08-19 Thread LeegleechN
Yeah, it's a standard sqlite db. On Aug 19, 3:31 pm, Megha Joshi [EMAIL PROTECTED] wrote: Is it a sqlite db? On Tue, Aug 19, 2008 at 8:51 AM, LeegleechN [EMAIL PROTECTED] wrote: What's the best way to include a database with your program? In the M5 SDK I was copying the file over from

[android-developers] Required maximum version of adb: 1.0.18.Current version is 1.0.20

2008-08-19 Thread hve.dk
After upgrading to Android 1.9 I get this message: Required maximum version of adb: 1.0.18.Current version is 1.0.20 when starting eclipse. Any ideas on how to fix this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] GPS LocationProvider journey simulation

2008-08-19 Thread marcel-182
Hello, after migrating my application from m5 to the new 0.9 SDK I don't get any location updates for the GPS LocationProvider. The documentation (http://code.google.com/android/toolbox/apis/ lbs.html) says: Note: By default, the LocationManager currently provides a single LocationProvider

[android-developers] Re: sqlite3?

2008-08-19 Thread Megha Joshi
You cab use sqlite3 from the sdk tools directory directly... On Tue, Aug 19, 2008 at 2:26 PM, Brad Larson [EMAIL PROTECTED] wrote: Has the sqlite3 command line tool been removed from 0.9beta? I haven't been able to find anything in the documentation, but I do get sqlite3: not found from the

[android-developers] Re: Required maximum version of adb: 1.0.18.Current version is 1.0.20

2008-08-19 Thread Megha Joshi
Did you update the android sdk location to new sdk location under WindowPreferences Android? On Tue, Aug 19, 2008 at 2:42 PM, hve.dk [EMAIL PROTECTED] wrote: After upgrading to Android 1.9 I get this message: Required maximum version of adb: 1.0.18.Current version is 1.0.20 when starting

[android-developers] Re: sqlite3?

2008-08-19 Thread Brad Larson
Thank you for the reply Magha. I can't find anything related to sqlite in the tools directory. Could you please provide more information? Thanks! -Brad On Aug 19, 4:52 pm, Megha Joshi [EMAIL PROTECTED] wrote: You cab use sqlite3 from the sdk tools directory directly... On Tue, Aug 19,

[android-developers] Re: sqlite3?

2008-08-19 Thread Megha Joshi
Which OS are you using? On Tue, Aug 19, 2008 at 3:15 PM, Brad Larson [EMAIL PROTECTED] wrote: Thank you for the reply Magha. I can't find anything related to sqlite in the tools directory. Could you please provide more information? Thanks! -Brad On Aug 19, 4:52 pm, Megha Joshi [EMAIL

[android-developers] 'signature' attribute of Android Manifest no longer valid in beta SDK (v0.9)

2008-08-19 Thread Cheryl Sedota
Hi, In the past Diane showed me how to use two attributes of the Android manifest in order to get ActivityGroups working properly (i.e. all the apps whose activities will be combined using the ActivityGroup will be accessible) - those attributes are 'sharedUserId' and 'signature'.

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-08-19 Thread Justin (Google Employee)
Just to finish this thread off nicely, here's some code to use multipart posts. Again, you need mime4j, httpmime, and Apache Commons IO. import java.io.ByteArrayInputStream; import java.io.InputStream; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost;

[android-developers] Re: browser-support for SVG?

2008-08-19 Thread David Mosberger
Not the answer I was hoping for, but thanks for letting me know. --david On Aug 19, 3:05 pm, Megha Joshi [EMAIL PROTECTED] wrote: Browser SVG support is not planned for 1.0 release. On Tue, Aug 19, 2008 at 7:58 AM, David Mosberger [EMAIL PROTECTED]wrote: I see a similar question has

[android-developers] Re: Required maximum version of adb: 1.0.18.Current version is 1.0.20

2008-08-19 Thread hve.dk
Yes, that was what I did ;-) The solution was to use: Search for new features to install --- YES - instead of - Search for updates of the currently installed features --- NO On 19 Aug., 23:56, Megha Joshi [EMAIL PROTECTED] wrote: Did you update the android sdk location to new sdk location

[android-developers] Re: 'signature' attribute of Android Manifest no longer valid in beta SDK (v0.9)

2008-08-19 Thread Xavier Ducrohet
Hi, I'm not sure about the removal of the signature attribute, but here are a few points to check: - the sharedUserId value you specify seems too generic to me. In order to be sure the uid name is unique to your apps, it should probably be something like com.frogdesign.shareduid. Dianne can

[android-developers] running httpclient with beta 0.9

2008-08-19 Thread dai
hi, I'm running into UnknownHostException on my android app with beta 0.9 release. (yes, the host is avaiable) To reach the host, I'm using apache common httpclient (included the android sdk) On RC5 platform, I can reach the host I set without exception like this...using the apache common

[android-developers] Re: running httpclient with beta 0.9

2008-08-19 Thread Justin (Google Employee)
I'm able to use HttpClient just fine (in fact, just posted some sample code for doing multipart posts). If the browser does succeed in loading the site, can you post your code? There are a lot of variables and code will make it a lot easier. The emulator at least used to have issues accessing

[android-developers] Re: running httpclient with beta 0.9

2008-08-19 Thread dai
Yes, I can access web sites via build in web browser. I mainly use https:443.. then run into unknownhost exception. I aslo tried to access via http:80, same error happened. Speaking of https:443, I could reach the target host without problems. Are you be able to access web sites now from you

[android-developers] Re: running httpclient with beta 0.9

2008-08-19 Thread Mark Murphy
dai wrote: Yes, I can access web sites via build in web browser. I mainly use https:443.. then run into unknownhost exception. I aslo tried to access via http:80, same error happened. Speaking of https:443, I could reach the target host without problems. I'm confused -- you say for HTTPS,

[android-developers] Re: running httpclient with beta 0.9

2008-08-19 Thread dai
aahh, I'm so sorry.. What I said I could run was with RC5. Thank you, I'll post code later. I'm confused -- you say for HTTPS, you get the exception, then later, you say you use HTTPS and it works. Which is it? Or does the exception come and go? On Aug 20, 9:35 am, Mark Murphy [EMAIL

[android-developers] KeyguardManager or KeyguardLock use

2008-08-19 Thread 异域风情
KeyguardManager or KeyguardLock use, I use it to achieve the keyboard lock failure --~--~-~--~~~---~--~~ 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: sqlite3?

2008-08-19 Thread Brad Larson
I'm using windows, although I have access to a linux box if that is needed On Aug 19, 5:27 pm, Megha Joshi [EMAIL PROTECTED] wrote: Which OS are you using? On Tue, Aug 19, 2008 at 3:15 PM, Brad Larson [EMAIL PROTECTED] wrote: Thank you for the reply Magha.  I can't find anything related to

[android-developers] Re: .9 SDK Questions

2008-08-19 Thread hackbod
On Aug 19, 6:54 pm, tberthel [EMAIL PROTECTED] wrote: Are the first phones going to be this fast? The spend of the emulator depends entirely on the PC you are running it on, so there is no way to correlate whatever speed you see with the speed on an actual device. (And that is ignoring other

[android-developers] Re: sqlite3?

2008-08-19 Thread Megha Joshi
It seems windows sdk is missing tools/sqlite3 which will be fixed in the next release. For the time being if you use Linux, you will find tools/sqlite3. On Tue, Aug 19, 2008 at 7:31 PM, Brad Larson [EMAIL PROTECTED] wrote: I'm using windows, although I have access to a linux box if that is

[android-developers] Re: Is there a Gadget API for the new home screen?

2008-08-19 Thread hackbod
On Aug 19, 1:42 am, Peli [EMAIL PROTECTED] wrote: Indeed, ideally widgets should probably run as separate processes with their own limited permissions - maybe as a service? The question is how they could display themselves and interact with the user - maybe through AIDL calls? Would this make

[android-developers] Re: .9 SDK Questions

2008-08-19 Thread tberthel
Could someone give us the PC hardware of something that is running it the same speed as the real phone? When will the PC not determine the performance as much? I assume they could provide a sleep timer to provide semi accurate performance to a phone with a profile until instrumentation is added

[android-developers] unable to open AndroidManifest.xml

2008-08-19 Thread walterc
i am using the new sdk (0.9 beta) and was unable to open AndroidManifest.xml. i am developing on a mbp with eclipse 3.4 and the jvm is 1.5. the following is the exception: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException: An error occurred while

[android-developers] AndroidGL - 0.4

2008-08-19 Thread [EMAIL PROTECTED]
Hello Folks, I've updated the Android OpenGL tutorials to reflect the new EGL/ Surface API in Android 0.9 See: http://code.google.com/p/android-gl Thanks! --brendan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to push a .so file to /system/lib in version beta 0.9???

2008-08-19 Thread Romain Guy
Use adb remount first. Note that the system partition will be read only on actual devices. On Tue, Aug 19, 2008 at 8:19 PM, Alan [EMAIL PROTECTED] wrote: In version 0.9 beta This folder /system/lib is read only If I use command mode to push a .so file I got a error message as following

[android-developers] can't launch the application from eclipse with android-0.9

2008-08-19 Thread Needle
After upgrading both the android 0.9 SDK and the ADT plugin in eclipse I am having trouble launching my application. I am using the standard eclipse run configuration that is created by ADT plugin. The error message in Android console says Could not find appname.apk! file. The ADT plugin is

[android-developers] Re: can't launch the application from eclipse with android-0.9

2008-08-19 Thread Needle
Update: This happens only when I package additional jar files with the application. The .apk file created by the eclipse plugin is somehow corrupted. On Aug 19, 6:15 pm, Needle [EMAIL PROTECTED] wrote: After upgrading both the android 0.9 SDK and the ADT plugin in eclipse I am having trouble

[android-developers] M5 - 0.9: access to PixelCalculator functionality

2008-08-19 Thread Joa
In M5 I used MapView.PixelCalculator in overridden methods draw(...) and onTap(...) of a subclass of Overlay to convert geo locations (Point / GeoPoint) to screen coordinates. The signatures of these methods have changed, so I referred to the Overview of Changes page which mentions that

[android-developers] Re: AndroidGL - 0.4

2008-08-19 Thread Steve Oldmeadow
That was quick! Thanks Brendan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send