[android-developers] Re: .9 SDK Questions

2008-08-21 Thread hackbod
On Aug 20, 9:16 pm, tberthel [EMAIL PROTECTED] wrote: 1. The emulator to run on a system much faster than the real device. 2. Instrumentation to control timing. An emulator that accurately models the performance of real hardware will not be able to run in realtime on any machine sitting on

[android-developers] Re: Activity Question

2008-08-21 Thread hackbod
The normal behavior would be for the user to return to activity B. You must be doing something more than you describe here. Fwiw, this might be useful: http://code.google.com/android/intro/appmodel.html Also from a command like prompt, adb shell dumpsys activity while the emulator is running

[android-developers] Re: Shared library/separate module not found

2008-08-21 Thread deviand
The package com.google.android.maps has also been removed, but it is used in ApiDemos and the application can be installed. The package com.google.android.gtalkservice is in the same situation. I don't understand why when java.awt is used the behavior is different.

[android-developers] Re: sqlite3?

2008-08-21 Thread shan
I need to access the system table in data/data/ com.android.providers.settings/databases/settings.db in the adb shell. I had earlier did this in the m5 to insert the 'http_proxy' field, but now i can't invoke sqlite3 from the adb shell. Please assist. On Aug 21, 1:30 am, Justin (Google Employee)

[android-developers] -http-proxy problems

2008-08-21 Thread shan
I am using a Win XP machine, I started the emulator with : emulator - http-proxy http://proxy:port but the default browser does'nt work (can't find message). Please assist. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: -http-proxy problems

2008-08-21 Thread andyn
Try it this way: http://openhandsetmagazine.com/2007/11/tips-howto-connect-android-emulator-behind-proxy/ On Aug 21, 9:05 am, shan [EMAIL PROTECTED] wrote: I am using a Win XP machine, I started the emulator with : emulator - http-proxy http://proxy:port  but the default browser does'nt

[android-developers] Re: 0.9 and simple database management issue ?

2008-08-21 Thread 6real
Thanks! I am gonna watch. I didn't know that. Rgds C. On Aug 20, 11:43 pm, Megha Joshi [EMAIL PROTECTED] wrote: Can you compare your code against the NotePad tutorial and see , NotePad tutorial uses SQliteOpenHelper... On Wed, Aug 20, 2008 at 11:10 AM, 6real [EMAIL PROTECTED] wrote:

[android-developers] Re: REST + JSON Web Service Client

2008-08-21 Thread cbraun75
Yes the Yelp.com offer a API with JSON response (http://www.yelp.com/ developers) Cu Christian On 21 Aug., 07:12, Baran [EMAIL PROTECTED] wrote: Anyone having any test web service link that provide response in JSON format. Need one to test the clinet. On Aug 21, 10:00 am, Baran [EMAIL

[android-developers] convert db from mysql to sqlite

2008-08-21 Thread giolekva
Hi. I've big database in mysql, to manage it I'm using phpmysql and I wont to import it in android app. I guess first of all I want to convert it to sqlite format. Is there any easy way to do this? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: -http-proxy problems

2008-08-21 Thread shan
Sorry I forgot to mention i am using the SDK 0.9 beta for Windows which does'nt have sqlite3 embedded. I can't invoke the sqlite3 from the adb shell. I can't access the system table in the /data/.settings.db path. Any solutions? On Aug 21, 12:08 pm, andyn [EMAIL PROTECTED] wrote: Try it

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

2008-08-21 Thread simon
YIHAAW! that did the trick! i removed all close()-calls on managed Cursors and now it works! Thanx a lot for your effort you guys. So what is the best way to call a Cursor? since i got a meta-database i have quite a few queries where i just get myself a small piece of information and then i

[android-developers] Re: 0.9 and simple database management issue ? [SOLVED]

2008-08-21 Thread 6real
Actually the issu was ...; in the rights attributed to the databases directory !!! I have changed the right thanks to a chmod 777 and now it works fine ! I don't understand which user is used when laucnhing the app but my issu is solved. I hope I wont have the same issu on final telephone !

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread code_android_festival_way
Thank you for your reponse. I'm trying to implement the requestUpdates() now. At the moment I'm faced with the follwing problem. I've implemented the LocationListener but always get the following LogCat error. Can't create handler inside thread that has not called Looper.prepare() Well I'm

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread code_android_festival_way
Ok. It was a silly question. Looper.prepare(); added. But I dont get any LocationUpdates. I have pushed locations to the device through the DDMS interface but get no LocationUpdate. On 21 Aug., 11:40, code_android_festival_way [EMAIL PROTECTED] wrote: Thank you for your reponse. I'm trying

[android-developers] An issue about Typeface

2008-08-21 Thread roland
I am porting my application from M5 to 0.9 SDK, and i just meet a problem when i use setTypeface method. I got a textview which its text is bold and italic. I tried these 2 solution, the first one works fine, but the second one just make bold text, not italic. 1.

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

2008-08-21 Thread [EMAIL PROTECTED]
I tried but I can only render plain or simple html content. When emails contain network references (such as images), loadData is not able to retrieve them. I need a local path: reachable from browser where I have rd/wr premission On 21 Ago, 03:34, Gil [EMAIL PROTECTED] wrote: Sorry for my bad

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread code_android_festival_way
I've added Location loc = new Location(lP.getName()); loc.setLatitude(37.422006); loc.setLongitude(-122.084095); lM.setTestProviderLocation(lP.getName(), loc); but the LocationListener doesnt get called. So I get no location update. On 21 Aug., 11:46, code_android_festival_way [EMAIL

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread Reto
I'm not at a PC I can test with, but try switching the order of your setTestProviderEnabled and setTestProviderStatus commands. I know in my code I've done it the other way around :) On 21 Aug, 11:10, code_android_festival_way [EMAIL PROTECTED] wrote: I've added Location loc = new

[android-developers] Re: I can't run m3 simulator after I test 0.9 simulator

2008-08-21 Thread Mark Murphy
[EMAIL PROTECTED] wrote: I decompressed the 0.9 SDK in another directory. After I had run the simulator in 0.9 SDK, I found my m3 simulator didn't work, it stayed in red eye, Do you know how to solve this problem? Thanks. The emulator stores data, such as the stuff you load onto it, in a

[android-developers] Re: sqlite3?

2008-08-21 Thread Mark Murphy
shan wrote: I need to access the system table in data/data/ com.android.providers.settings/databases/settings.db in the adb shell. I had earlier did this in the m5 to insert the 'http_proxy' field, but now i can't invoke sqlite3 from the adb shell. Please assist. Use adb pull (or the

[android-developers] Re: I can't run m3 simulator after I test 0.9 simulator

2008-08-21 Thread Eric
You are in luck, I had similar problem as you and found the solution. Use the wipe data command, it will del all the apps you installed. But at least your emulator will start and you can re-install them.. Windows: emulator -wipe-data Mac/Linux: ./emulator -wipe-data Cheers Eric Portable

[android-developers] Re: -http-proxy problems

2008-08-21 Thread andyn
Hm, I don't really know a solution. Maybe you can wait till the next release? It will have sqlite3 included also at the Windows version - http://groups.google.com/group/android-developers/browse_frm/thread/8be1419bef6fe2e2?hl=en On Aug 21, 10:00 am, shan [EMAIL PROTECTED] wrote: Sorry I

[android-developers] ANDROID Media Player problem with files generated by emulator

2008-08-21 Thread Jaime Cordeiro
Hi, I've got a strange problem that is im able to play a wave file that is in the sdcard but whem i try to play a copy of the file that is created in the emulator throws IOException. I've seen the file in HEX and there the same, the file plays fine outside the emulator but in the emulator throws

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread Reto
:// img.skitch.com/20080821-eypgin7w8fd9ku3ftj1ix38s7.jpg) after pushing a single location. But the Listener doesnt get invoked either. So I'm pretty much at the end of my knowledge to what I can try in order to get my geo location. :-) Regards! On 21 Aug., 12:29, Reto [EMAIL PROTECTED] wrote

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread code_android_festival_way
[EMAIL PROTECTED] wrote: Thank you for your reponse. I've changed the order the other way round but get the same result. Waiting for the Listener to be invoked but nothing happens. I tried it with the DDMS again and get an icon in the status bar (http:// img.skitch.com/20080821

[android-developers] Re: I can't run m3 simulator after I test 0.9 simulator

2008-08-21 Thread [EMAIL PROTECTED]
Following your advice, I have solved the problem. Thank you all. Regards On 8月21日, 下午7时09分, Eric [EMAIL PROTECTED] wrote: You are in luck, I had similar problem as you and found the solution. Use the wipe data command, it will del all the apps you installed. But at least your emulator will

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread Mark Murphy
code_android_festival_way wrote: Could it be that my while loop blocks the class (thread) and so the listenere cant be invoked? Sorry, I haven't looked at your code. But you may be right on this. Android applications have the main event thread, plus any secondary threads you create on your

[android-developers] Re: maps behind proxy 0.9 beta

2008-08-21 Thread jokochi
I am in the same situation that the browser in 0.9 couldn't get any data behind proxy. Also I recognize this problem is same as map view. Because of most proxy server will not convey a packet besides SSL(443) port with CONNECT method but MapView is trying to connect with CONNECT method first.

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread Eng . Mazen
hello dears, sorry for this interrupted question but i'm tring to download the SDK 0.9 but the following error appears: The requested URL /android/android-sdk-windows-0.9_beta.zip was not found on this server. any help ! On 8/21/08, code_android_festival_way [EMAIL PROTECTED] wrote:

[android-developers] Re: MediaMetadataRetriever works?

2008-08-21 Thread SungSuh Park
MediaMetadataRetriever is not complicated to use. I created object, setDataSource and captureFrame. I played the same video file with MediaPlayer well. code MediaMetadataRetriever metaRetriever = new MediaMetadataRetriever();

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread Reto
I agree. There's definitely a very good chance that the while loop is blocking the listener callback. Note: I believe he's running the whole lot in a new thread (and forcing the update requests to fire on that same thread) rather than the main event thread, but it still turns in to the same

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread code_android_festival_way
Well I'm starting a service from my main thread. (some activity) In the service I'm starting a new thread and do some work. (communication with external APIs (flickr)) While that work I need the position of the device. To get the position I had written this class:

[android-developers] Re: GPS LocationProvider journey simulation

2008-08-21 Thread marcel-182
Hello again, I found something interesting whilst starting up the emulator: 08-21 13:01:44.762: ERROR/GpsLocationProvider(47): Could not open GPS configuration file /etc/gps.conf 08-21 13:01:44.762: ERROR/GpsLocationProvider(47): java.io.FileNotFoundException: /etc/gps.conf Maybe that's the

[android-developers] Re: maps behind proxy 0.9 beta

2008-08-21 Thread tar blazer
sure jokochi, that would be a great help. At least we can expect a reply from google about the situation 2008/8/21 jokochi [EMAIL PROTECTED] I am in the same situation that the browser in 0.9 couldn't get any data behind proxy. Also I recognize this problem is same as map view. Because of

[android-developers] Re: HTC skin now available for Android Emulator!

2008-08-21 Thread Andrex
This is really cool, finally something to change it up a bit. Thanks! On Aug 21, 12:22 am, Tea Vui Huang [EMAIL PROTECTED] wrote: HTC skin now available for Android Emulator!http://teavuihuang.com/android To install, download and unzip HVGA-P-HTC.zip to the Android skin directory, e.g.

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread Mark Murphy
code_android_festival_way wrote: In M5 I only called getCurrentLocation() and everything was fine. Now as the methode is gone I need to set this update request to the LocationManager in order to get a not outdatet position. To achieve that I have to loop inside my geo location class and wait

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread code_android_festival_way
Thank you for your response. I will try handling this in a different way now. If I'm struggling I will come back to your offer. :-) Regards! On 21 Aug., 15:38, Mark Murphy [EMAIL PROTECTED] wrote: code_android_festival_way wrote: In M5 I only called getCurrentLocation() and everything was

[android-developers] URL class using server url with |

2008-08-21 Thread dai
hi, does anyone know how to avoid an IllegalArgumentException? When accessing to a web server with URL class on android platform, this error occurs. According to an error message, the | is invalid. Here is a sample code. /** sample code */ String

[android-developers] Re: URL class using server url with |

2008-08-21 Thread dai
Additional Info...Speaking of goole char api server, you'd see the same error even if you do encode (URLEncoder.encode(path)). The server seems that %7C (encoded |) would not fit into the server...The server returns one html page sayingBad Request... On 8月21日, 午後11:09, dai [EMAIL PROTECTED]

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-21 Thread code_android_festival_way
The LocationManager.request*Updates methods must be called from a Looper thread, such as the main thread of an Activity. Additional method variants have been added that take an explicit Looper argument to allow for use outside of a main thread. This could be the solution for my problem. Now I

[android-developers] Re: I want to gain the coordinate when i touch on the screen,how to?

2008-08-21 Thread Erik Calissendorff
Did you try: event.getRawX() event.getRawY() On Aug 21, 3:48 am, China-jlu-wangliang [EMAIL PROTECTED] wrote: yeah,i have tried to use the functions that you said,but when i pressed on the button i can't get the raw coordinate. On 8月18日, 下午12时10分, andylau [EMAIL PROTECTED] wrote: hi, try

[android-developers] Home Key Just installed application

2008-08-21 Thread SungSuh Park
There is activity manager bug. 1. Install apidemo apk in Eclipse 2. launch apidemo 3. Click submenu in apidemo. 4. Press Home Key. 5. Click ApiDemo icon in Home Screen. (!) 6. New activity is created and show main menu list. (Correct behavior : resume show submenu.) I can make it work

[android-developers] Re: No Bluetooth API in 0.9 or 1.0 SDK?!?!?

2008-08-21 Thread rezar
Bluetooth is very important for further integration of other sensors/ device to android device. I think they underestimate the importance of bluetooth. Let me put it this way: With bluetooth there is a possibility to connect Android device to lots of other thing (from T.V. and Refrigerator to

[android-developers] Re: Draw children manually in custom ViewGroup

2008-08-21 Thread Erik Calissendorff
Thanks, that was a much easier way to modify the views at drawing. Some tips which I learned as I tested this approach: You indicate that the ViewGroup supports static transformation with: this.mGroupFlags = this.mGroupFlags | FLAG_SUPPORT_STATIC_TRANSFORMATIONS; For the modified

[android-developers] Re: VideoView won't display video for some videos in the beta SDK

2008-08-21 Thread Cheryl Sedota
Thanks for helping to investigate, Megha. The URL is: http://feeds.feedburner.com/~r/IdolsOnEllen/~5/265429513/idolcast0407_dl.m4v On Aug 20, 7:05 pm, Megha Joshi [EMAIL PROTECTED] wrote: Please post your Video1 file.. On Wed, Aug 20, 2008 at 4:57 PM, Cheryl Sedota [EMAIL PROTECTED]wrote:

[android-developers] Updated Slideme site

2008-08-21 Thread Shane Isbell
We rolled a new version of our site: http://slideme.org so feel free to check it out. Thanks, Shane --~--~-~--~~~---~--~~ 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] dowload

2008-08-21 Thread dyonis
good morning, i need of dowload aplication android for develop ,with make? sorry ,my english not's good very tahnks, Dyonis Silva --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] [Android 0.9][Mac OS X] webView.loadUrl question

2008-08-21 Thread Guillion Didier
Hi, Is webView.loadUrl is supposed to work on a real URL like http://www.google.com; or can only access to local files? This provide a Web page unvailable error on my Mac. If yes, Is this can be related to the fact I use a proxy ? Best regards -- Didier Guillion - Myriad Web site:

[android-developers] java.lang.VerifyError with 0.9

2008-08-21 Thread drjunior
Hello, After migrating my application to the new sdk version, I'm getting an exception (VerifyError) from one file that belongs to a library that I used in m5 sdk version without any problems. I tried to compile again the library(jar file), but the error persist. Any ideas?? Best Regards,

[android-developers] Socket exception-unknown error from HttpClient execute() method

2008-08-21 Thread Graeme
Hi everyone I'm trying to figure out how to use HttpClient 4.x to do POST requests routed via a Proxy server. I'm seeing a socket exception triggered by calling DefaultHttpClient.execute(HttpHost target, HttpRequest method). My HttpPoster class looks like package com.bt.gcto.android.testhttp;

[android-developers] URI_MATCHER doesn't work correctly

2008-08-21 Thread Frank N. Stein
Hi Guys, I've written my own ContentProvider, which works, except for the URI_MATCHER. URI_MATCHER returns -1, when it should give me 1. First, I add my URI, so that the matcher is able to recognize it: URI_MATCHER.addURI(Crowd.CROWD_AUTHORITY, /Crowd, CUSTOMER); At this point: is

[android-developers] Re: URI_MATCHER doesn't work correctly

2008-08-21 Thread Jeff Hamilton
You need to remove the / from the beginning of the path, so it should read this: URI_MATCHER.addURI(Crowd.CROWD_AUTHORITY, Crowd, CUSTOMER); When building the URI tree it automatically puts the / between the authority and the path for you so you were ending up with

[android-developers] Re: No Bluetooth API in 0.9 or 1.0 SDK?!?!?

2008-08-21 Thread Justin (Google Employee)
Can you post in a *new* thread in your best language and I will use machine translation to try to understand your request? Thanks, Justin Android Team @ Google On Aug 21, 8:08 am, dyonis [EMAIL PROTECTED] wrote: good morning, i need ofdowloadaplication android for develop ,with make? sorry

[android-developers] Changing Content of a Tab dynamically - TabHost/Tabspec

2008-08-21 Thread Slater
Hi, My main UI has a tabular layout containing 3 tabs. On one of my tabs, I display a List and upon clicking a list item, I want a new view (containing another list) to overlap the existing tab content. My current implementation starts a new List Activity when list item is clicked, but that List

[android-developers] How to Keep Expandable List View be expanded by default?

2008-08-21 Thread Slater
Hi, Does anyone know of a easy way (via coding or through xml attributes) to display ExpandableListView as expanded/opened by default. Any help is highly appreciated. Thanks, Snep. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Changing Content of a Tab dynamically - TabHost/Tabspec

2008-08-21 Thread Mark Murphy
Slater wrote: My main UI has a tabular layout containing 3 tabs. On one of my tabs, I display a List and upon clicking a list item, I want a new view (containing another list) to overlap the existing tab content. My current implementation starts a new List Activity when list item is clicked,

[android-developers] Re: URI_MATCHER doesn't work correctly

2008-08-21 Thread Frank N. Stein
Thanks Jeff, you made my day. I think, I was confused, because of the correct URI in the exception. Hopefully Google will release the sourcecode of Android, so that developers are able to understand, how things get built. Have a nice day. On 21 Aug., 19:03, Jeff Hamilton [EMAIL PROTECTED]

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

2008-08-21 Thread [EMAIL PROTECTED]
I spent most of a day using the emulator in 0.9 surfing to sample video files on video contest provider sites, I must have tried playing 100's of files. Not one played. I have been able to encode a mp4 (mp4v/mp4a codecs) video file and load it from the browser (enter url in browser, probably

[android-developers] Re: setAlignment gone from TextView

2008-08-21 Thread Romain Guy
Use android:gravity=center On Thu, Aug 21, 2008 at 10:36 AM, RPO [EMAIL PROTECTED] wrote: This code fragment no longer works in the 0.9 SDK: TextView label; label.setAlignment(Alignment.ALIGN_CENTER); So how do I center text within a TextView? Thanks! Bob O'Hara --

[android-developers] Re: How to play audio recorded with MediaRecorder

2008-08-21 Thread Megha Joshi
On Wed, Aug 20, 2008 at 7:26 PM, walterc [EMAIL PROTECTED] wrote: i've successfully record sound using sample code on http://code.google.com/android/toolbox/apis/media.html but is having problem playing it back using MediaPlayer. Can you play back this file using mediaplayer on your

[android-developers] Re: How to play audio recorded with MediaRecorder

2008-08-21 Thread Megha Joshi
On Thu, Aug 21, 2008 at 10:54 AM, Megha Joshi [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 7:26 PM, walterc [EMAIL PROTECTED] wrote: i've successfully record sound using sample code on http://code.google.com/android/toolbox/apis/media.html but is having problem playing it back using

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

2008-08-21 Thread Travis Choma
For what it's worth all our 3gp videos play fine in 0.9. We encoded them with Sorenson Squeeze with progressive streaming turned on. On Aug 21, 1:48 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I spent most of a day using the emulator in 0.9 surfing to sample video files on video contest

[android-developers] Re: An issue about Typeface

2008-08-21 Thread Megha Joshi
On Thu, Aug 21, 2008 at 3:02 AM, roland [EMAIL PROTECTED] wrote: I am porting my application from M5 to 0.9 SDK, and i just meet a problem when i use setTypeface method. I got a textview which its text is bold and italic. I tried these 2 solution, the first one works fine, but the second one

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

2008-08-21 Thread [EMAIL PROTECTED]
A bit thin on details, which version of squeeze, you made a file with a 3gp extension...what encapsulation and codecs and rates were used that worked? How was it played/transported, from a url, (link in a browser), a file on the sd card, http, rtsp, what server was used to stream the rtsp? On

[android-developers] Re: 0.9 and simple database management issue ? [SOLVED]

2008-08-21 Thread Megha Joshi
You shouldn't have to change the database directory permissions manually...getWritableDatabase() should do that for you. Infact that is what it does in the Notepad tutorial. I don't see the create database script being executed from your DBHelper.onCreate() method. Is this database being created

[android-developers] Adding content to a tab view dynamically

2008-08-21 Thread Teo
Hi, i tried debugging quite a bit, but i can't figure it out; is it possible to add something (buttons, etc.) to a tab? I'm using a FrameLayout inside a TabWidget inside a TabHost. I tried lots of things, including adding to TabHost's getCurrentTabView, but i wasn't lucky. Any tips? Thanks,

[android-developers] Re: Adding content to a tab view dynamically

2008-08-21 Thread dyonis
help,for how to program to google. - Original Message - From: Teo [EMAIL PROTECTED] To: Android Developers android-developers@googlegroups.com Sent: Thursday, August 21, 2008 2:28 PM Subject: [android-developers] Adding content to a tab view dynamically Hi, i tried debugging quite

[android-developers] Re: How to Keep Expandable List View be expanded by default?

2008-08-21 Thread dyonis
help,for how to program to google. - Original Message - From: Slater [EMAIL PROTECTED] To: Android Developers android-developers@googlegroups.com Sent: Thursday, August 21, 2008 1:26 PM Subject: [android-developers] How to Keep Expandable List View be expanded by default? Hi,

[android-developers] Re: setAlignment gone from TextView

2008-08-21 Thread RPO
It works, thanks. Gravity it is. If this were the 60's I would say Heavy, man! --~--~-~--~~~---~--~~ 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] Geeting Error in New SDK:- emulator: broken configuration file doesn't have 'window' element

2008-08-21 Thread Dipen
Group, I am getting following error if launch emulator itself. And also I don't see emulator.cfg file anywhere in my system. Error:- emulator: broken configuration file doesn't have 'window' element Please note, if I launch emulator through IDE, error does not appear. Any specific reason for

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
I did more research on this subject and I have a new situation. Activity A is the main activity and it uses the singleTask launch mode. Activity B uses the singleTop launch mode. In my app Activity A is the login activity for my application. The user enters the username and password and if it is

[android-developers] SDK 0.9 camera issues

2008-08-21 Thread blindfold
SDK 0.9 camera issues I am porting from SDK M5 RC15 (where my app worked) to SDK 0.9 beta, and I run into the following problems with the camera preview: 1. The camera preview on the emulator gives a greyscale animation, while I need a color view for testing. How can I fix this? Having the

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

2008-08-21 Thread Megha Joshi
On Wed, Aug 20, 2008 at 4:46 PM, Megha Joshi [EMAIL PROTECTED] wrote: For security reasons, WebView does not allow file: access any more. If you want the link to be loaded in your activity, you should provide a WebViewClient and implement shouldOverrideUrlLoading with { return false; }

[android-developers] Re: ANDROID Media Player problem with files generated by emulator

2008-08-21 Thread Megha Joshi
Are you refering to a file recorded by the MediaRecorder as file created by the emulator? What kind of file is this...video or audio? Can you attach the file here? On Thu, Aug 21, 2008 at 4:42 AM, Jaime Cordeiro [EMAIL PROTECTED]wrote: Hi, I've got a strange problem that is im able to play

[android-developers] I'd like to modify the Dialer program

2008-08-21 Thread towlie
What I'd like to do is give the user the option of how they want to dial someone. ex service provider, yahoo voice, skype, vonage. Why stop there? You could bind phone numbers from several service providers as well if you wanted to. Also I want each protocol to play nice with each other when

[android-developers] Re: Adding content to a tab view dynamically

2008-08-21 Thread Josh Guilfoyle
Do you mean to add a new tab or simply dynamically adjust the View hierarchy in a particular tab? If so, getCurrentTabView will work to do what you need. Just modify the view hierarchy found there. Do realize that you are getting the root-level View of the tab, so you must search within that

[android-developers] Re: Adding content to a tab view dynamically

2008-08-21 Thread Josh Guilfoyle
Actually my mistake. getCurrentTabView might just get the view of the tab you have selected (not the contents of the tab). Try getCurrentView. Post sample code if you can't get it working and I will explore further. On Aug 21, 2:04 pm, Josh Guilfoyle [EMAIL PROTECTED] wrote: Do you mean to

[android-developers] Why is video so broken, there is a serious media stack hiding in there.

2008-08-21 Thread [EMAIL PROTECTED]
According to this article http://www.gearlog.com/2007/11/fresh_hot_specs_googles_androi.php there is a serious media stack available. I have seen http requests from a client identifying itself as User- Agent: PVCore/5.02.00.00. This matches the name of the product referred to in the article.

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
Dianne, please save me one more time. --~--~-~--~~~---~--~~ 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,

[android-developers] Re: VideoView won't display video for some videos in the beta SDK

2008-08-21 Thread Megha Joshi
Hi Cheryl, Thanks for the link...I get the following error in logcat on playing your video: W/PlayerDriver( 25): Video cannot catch up. Are you playing a high quality content? E/MediaPlayer(18559): Error (44,0) D/VideoView(18559): Error: 44,0 which gives you the reason why its failing. To

[android-developers] Re: ANDROID Media Player problem with files generated by emulator

2008-08-21 Thread Jaime Cordeiro
Hi, The objective is to send wave file throught a socket in to a second emulator and rebuild the file there. the bytes read are the bytes passed to rebuilding the file. If i extract the file and play in windows media player its fine, but if i try to use the androids mediaplayer it throws an IO

[android-developers] Re: ANDROID Media Player problem with files generated by emulator

2008-08-21 Thread Megha Joshi
On Thu, Aug 21, 2008 at 2:20 PM, Jaime Cordeiro [EMAIL PROTECTED]wrote: Hi, The objective is to send wave file throught a socket in to a second emulator and rebuild the file there. the bytes read are the bytes passed to rebuilding the file. If i extract the file and play in windows media

[android-developers] Re: Managed Dialogs

2008-08-21 Thread Gil
A related question... I noticed that the AlertDialogs that I use in my app seem to be managed without me calling showDialog in an Activity. If that is true, is there a way for me to write a class which extends Dialog and maybe call some getOwnerActivty() member methods to achieve the managed

[android-developers] AlertDialog Padding

2008-08-21 Thread Gil
I need to implement an AlertDialog with a EditView and an an OK and a Cancel button. I would like to be able to enable/disable the OK button if the EditText has/does not have text in it. I have two choices but I have problems with each approach: 1) If I create the AlertDialog with a layout which

[android-developers] Re: maps behind proxy 0.9 beta

2008-08-21 Thread daspears
Jokochi, I would be interested in seeing your solution as well. Thanks. On Aug 21, 5:12 am, jokochi [EMAIL PROTECTED] wrote: I am in the same situation that the browser in 0.9 couldn't get any data behind proxy. Also I recognize this problem is same as map view. Because of most proxy

[android-developers] Re: SDK 0.9 camera issues

2008-08-21 Thread Jeffrey Sharkey
1. The camera preview on the emulator gives a greyscale animation, while I need a color view for testing. How can I fix this? Having the color animation of SDK M5 RC15 would have been OK for me. I hope that greyscale preview is not going to be the preview standard for the physical phones? I

[android-developers] Icon Pack

2008-08-21 Thread [EMAIL PROTECTED]
Is there a way to get the Android Desktop Icons (Browser, Folder, etc..) as PNGs with Alpha? - Gavin Greenwalt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Problem with TableLayout

2008-08-21 Thread Kavi
I have two questions regarding the use of a TableLayout. 1) First of all, i am using a horizontal orientation. The content of my TableLayout gets hidden at the bottom of the screen if the title feature is not turned off. if i use requestWindowFeature(Window.FEATURE_NO_TITLE); then. all the

[android-developers] Images

2008-08-21 Thread [EMAIL PROTECTED]
I apologize if this double posts. I posted this a half hour ago and it never went up so I assume something went wrong. 1) Is it possible to extract the icons as PNGs and 2) are the Backgrounds also extractable? (From the SDK)/Emulator. Thanks, Gavin Greenwalt

[android-developers] Re: Activity Question

2008-08-21 Thread Justin (Google Employee)
The user enters the username and password and if it is correct I call finish() on Activity A an call startActivity to start Activty B. You are calling startActivity from onPause() then? If you are calling startActivity and then finish(), finish() won't actually execute until the new activity

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

2008-08-21 Thread Justin (Google Employee)
What encoding settings are you using? What are you encoding with? Are you configuring for progressive streaming? Do you know the files that you've tried are progressively streamable? Can you provide some example URLs? Cheers, Justin Android Team @ GOogle On Aug 21, 10:48 am, [EMAIL PROTECTED]

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

2008-08-21 Thread Justin (Google Employee)
You'll need to add uses-permission android:name=android.permission.INTERNET / to your manifest file if your application wishes to use data. Cheers, Justin Android Team @ Google On Aug 20, 12:43 am, DeMorgan [EMAIL PROTECTED] wrote: Justine: I'm able to use HttpClient just fine (in fact,

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

2008-08-21 Thread Justin (Google Employee)
Ah, and Mark already got this one. Such a mess in here with the changed subject lines! :-) Cheers, Justin Android Team @ Google On Aug 21, 4:07 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: You'll need to add uses-permission android:name=android.permission.INTERNET / to your

[android-developers] Re: Problem with TableLayout

2008-08-21 Thread Romain Guy
To me, it looks like it calculates the height needed for the TableLayout and then just adds the title above it which pushes the entire layout down and hence, some stuff gets hidden. Is this an issue and if yes, was it there in the old SDK? What would be a workaround? Your content is simply

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
Sorry it was not clear.Please let me try to explain the second part in a different way. 1) Start the application for the first time. Activity A is displayed (it is the main Activity i.e. uses MAIN/LAUNCHER in the intent filter). Activity A also uses singleTask launch mode. 2) User enters

[android-developers] Re: Activity Question

2008-08-21 Thread Justin (Google Employee)
How are you performing your asynchronous authentication? Are you just starting another thread from your Activity or are you using a specific class? Cheers, Justin Android Team @ Google On Aug 21, 4:13 pm, Gil [EMAIL PROTECTED] wrote: Sorry it was not clear.Please let me try to explain the

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
I'm starting my own thread from Activity A and then I use a Handler to post the callback to make it thread safe. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Images Cursor Problem

2008-08-21 Thread Gil
My code launches the image picker to select a photo from external media. In the onActivityResult I call extra.getData() to obtain the image Uri. I know that it is valid because I can obtain a bitmap from the Uri. However, when I try to get a cursor for this item for the purpose of getting the

[android-developers] Can I change the homesample code?

2008-08-21 Thread 于慧娟
SDK 0.9 give the m15 home screen code, I try to change the code ,but it doesn't work! Who can tell me why? -- Confidentiality Notice: The information contained in this e-mail and any accompanying

[android-developers] Re: 答复: [android-de velopers] Re: 答复: [android-developers] Re: ca n iadd widget to home screen

2008-08-21 Thread nainfanta
希望建一个汉语的类似圈子的东东,方便国人内部沟通。 From nainfanta 2008-08-22 08:58:21 Shenzhen Kehao Information Technologies Co., Ltd. http://www.kehaoinfo.com 发件人: 于慧娟 发送时间: 2008-08-21 09:04:58 收件人: android-developers@googlegroups.com 抄送: [EMAIL PROTECTED] 主题: [android-developers] 答复: [android-developers] Re: 答复:

  1   2   >