[android-developers] Re: How can I send CJK text via SMS on G1

2008-12-16 Thread hex
It's very interesting for me too. :) On 12月9日, 上午2时55分, pusher toytro...@gmail.com wrote: Yes. It's very interesting for me too. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

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

2008-12-16 Thread blindfold
For your information. I was tipped by a reliable source about the availability of Eyes-Free, a new text-to-speech (TTS) library from Google that currently uses an Android port of the eSpeak text-to- speech engine: http://eyes-free.googlecode.com/svn/trunk/documentation/tutorial/tutorial.html

[android-developers] Re: How to generate tones for keys

2008-12-16 Thread Mihai
Great, thanks, I'll check it out. On Dec 16, 9:12 am, Dave Sparks davidspa...@android.com wrote: The radio firmware generates the tones for the far end. The local tones are generated algorithmically on the app processor. See ToneGenerator. On Dec 15, 10:55 pm, Mihai mihai...@gmail.com

[android-developers] Background setting problem

2008-12-16 Thread diya blore
Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How can I send CJK text via SMS on G1

2008-12-16 Thread Eric Chan
Jay : you need to add CJK font support in your G1 2008/12/16 hex hexuzh...@gmail.com It's very interesting for me too. :) On 12月9日, 上午2时55分, pusher toytro...@gmail.com wrote: Yes. It's very interesting for me too. -- Best Regards Eric Chan

[android-developers] Re: Background setting problem

2008-12-16 Thread Eric Chan
ok, which view you wannt to add backgrould, try setbackground 2008/12/16 diya blore diya.bl...@gmail.com Hi All, i wan to set image as background through my project.. ?how can it be achieved? Guide me.. -- Thank's in adv. Diya :) -- Best Regards Eric Chan

[android-developers] Re: Can we write Android code in C++

2008-12-16 Thread Eric Chan
of course, you can , before that, you should know how interoperation between Java and C 2008/12/16 gaso...@gmail.com gaso...@gmail.com A guy (who implement chinese IME) from www.dotphone.org said they will release a C/C++ dev toolkit (NOT from Google) in a few week, let's see. The

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

2008-12-16 Thread Mihai
This is an interesting library that will probably enable some neat applications, however I would also be interested in something that works the other way around. Do you know such libraries? Thanks, Mihai On Dec 16, 10:17 am, blindfold seeingwithso...@gmail.com wrote: For your information. I

[android-developers] Re: When is (or isn't) instance state restored ?

2008-12-16 Thread jarkman
Justin - thanks for the explanation. I'm not making any allegation of impropriety on the part of the system, just trying to understand what the orthodox behaviour ought to be for a 'vanilla' app. I had completely missed the distinction between leaving via 'back' and leaving via 'home', which

[android-developers] Re: How to remove a file in assets at run time?

2008-12-16 Thread jarkman
We've got a similar issue, with a bunch of files that we extract from the apk on first run and will never need in the apk again. It is a terrible waste of space to leave them there. Shame. Richard On Dec 15, 9:16 pm, Ralf ralfo...@gmail.com wrote: You can think of the the APK as being a

[android-developers] Re: Background setting problem

2008-12-16 Thread diya blore
Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.* activityinstance*); MainActivity.*activityinstance*.setContentView(absLayout); absLayout.setBackgroundResource(R.drawable.*background*); this my code.. it work for first two

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

2008-12-16 Thread jarkman
We're using it to make directories on the SD card with no trouble. Can you make those directories by hand via the adb shell ? R On Dec 16, 6:04 am, shuoshuo wzshuos...@gmail.com wrote: I use new File(/data/mydir/tmp).mkdirs() to create dir  mydir and tmp, but it can not be created, does

[android-developers] Re: Background setting problem

2008-12-16 Thread Eric Chan
you can overrite theme setbackground, overrite layout, and use the new layout for you project 2008/12/16 diya blore diya.bl...@gmail.com Its like theme.. it must be through project.. i had set in AbsoluteLayout absLayout = *new* AbsoluteLayout(MainActivity.*activityinstance*);

[android-developers] Re: Background setting problem

2008-12-16 Thread diya blore
is there any apis for setting themes? On Tue, Dec 16, 2008 at 3:59 AM, Eric Chan jude...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project 2008/12/16 diya blore diya.bl...@gmail.com Its like theme.. it must be through

[android-developers] Re: Background setting problem

2008-12-16 Thread diya blore
you can overrite theme setbackground, overrite layout, and use the new layout for you project ? can u explain bit brifely? On Tue, Dec 16, 2008 at 4:02 AM, diya blore diya.bl...@gmail.com wrote: is there any apis for setting themes? On Tue, Dec 16, 2008 at 3:59 AM, Eric Chan

[android-developers] Any intent that is fired when a phonebook is clicked

2008-12-16 Thread Chandrakar Aravind-rqj386
Hi, Is there any intent get fired when phonebook (contact) is clicked, or is it possible to add some intent in phonebook. Arvind --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: OpenGL backed Canvas

2008-12-16 Thread fcalzada
i found out how to make 2d over 3d. It's in the android samples... look for this thread '2D over 3D' Franck On Dec 15, 2:21 pm, rollbak roll...@gmail.com wrote: Ok, thanks. But why is still in the docs? It is planned to enable it in a near future? I really need to mix 2d with 3d in my

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

2008-12-16 Thread szeldon
Sorry, you can create something in /data/data/package.of.your.app/. Basing on what I see in abd shell, owner of /data/ directory is system and a group is system. Moreover, there's no permission to read/ write for others, so you can't create something there. /data/data/ has the same properties.

[android-developers] Device File System

2008-12-16 Thread rajesh
I created an application which saves couple of files in the application file system. On Emulator I am able to view those files using File Explorer. But i am not able to do same on the adnroid device. To which location are the files being saved. I want the files such that the user could read it

[android-developers] It is possible to use XPATH in Android?

2008-12-16 Thread Cattivik
Hello It is possible to use XPATH in Android? I want to find and extract a node by id atribute in a xml file. It is possible? Plese, give mi an example Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers]

2008-12-16 Thread Naina K
Hello, I am new to this android. I want to write my own application to interface with the application which is already present in the android mobile. Could anybody please let me know how to register our application in Android platform? Thanks

[android-developers] Re: Receiver to get outgoing phone number

2008-12-16 Thread Sajid
register for android.intent.action.NEW_OUTGOING_CALL and you can get the outgoing call number like this. public void onReceive(Context context, Intent intent) { String data1= intent.getStringExtra(Intent.EXTRA_PHONE_NUMBER); } On Dec 16, 12:18 am, bparker

[android-developers] Re: Google Docs and Reader

2008-12-16 Thread Disconnect
I'd like to see it provide some of the gears support the full version provides (which .. kinda.. works on the g1), such as offline reading. (And undoing some of the recent bugs they added - not sure exactly when, but several of us on #android have noticed that 'keep unread' is erratic, 'mark

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

2008-12-16 Thread blindfold
Just curious, Jean-Baptiste: will there be the same speech recognition engine that currently powers Google's Voice Search on the iPhone? Thanks On Dec 16, 3:24 pm, Jean-Baptiste Queru j...@google.com wrote: There is a speech-recognition engine in Android, but there are currently no public

[android-developers] Starting the messaging preferences - not possible? Really?

2008-12-16 Thread code_android_festival_way
Hello! Is it really not possible to start the preferences activity of the default messaging application? It would be ok as well to start the messaging application at the conversation list. Is there no way to do this? Regards. --~--~-~--~~~---~--~~ You received

[android-developers] Re: WPA-Enterprise To Be Offered?

2008-12-16 Thread Michael
I think so but you would be able to use wep wpa etc not just one form of encryption key.. WEP, WPA personal, and WPA Enterprise are all done differently. Android doesn't currently support WPA enterprise, but wpa_supplicant, the program which Android uses to handle this, does. So its

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

2008-12-16 Thread Sundog
This is in the FAQ... You can set a number of general window properties, such as whether to display a title, whether the window is floating, and whether it displays an icon, by calling methods on the Window member of the underlying View object for the window. Examples include calling

[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-16 Thread Michael
You won't be able to create a directory or any files in /data. Besides that's the phone memory. You probably want to do this on the SD card instead. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Draw primitives and Video

2008-12-16 Thread chabfive
Hi, again Anybody have drawn a video over a canvas. I retrieved the canvas from a SurfaceView and I used a VideoView to display my video. I create the VideoView only when I launch the video. My issue is that the video stay under the SurfaceView. If I shift the SurfaceView with margin, I can

[android-developers] Re: Any intent that is fired when a phonebook is clicked

2008-12-16 Thread for android
http://code.google.com/android/reference/android/provider/Contacts.Intents.UI.html http://code.google.com/android/reference/android/provider/Contacts.Intents.UI.html#LIST_DEFAULT On Tue, Dec 16, 2008 at 2:47 PM, Chandrakar Aravind-rqj386 rqj...@motorola.com wrote: Hi, Is there any

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

2008-12-16 Thread Moto
Great thanks guys! I will be trying this out! -Moto --~--~-~--~~~---~--~~ 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

[android-developers] Re: Anyone willing to share...

2008-12-16 Thread Al Sutton
I've got two progress dialogues at the moment; One is created in the onStart method if the app database hasn't been populated, the database is populated in a worker thread, and then the progress dialogue is dismissed using a Runnable passed to a android.os.Handler at the end of the worker

[android-developers] How can an activity detect that its application is about to run out of memory?

2008-12-16 Thread Cheryl Sedota
How can an activity detect that its application/process is about to run out of memory? The 'onLowMemory' API only seems to get called when the system is running low on memory but I'd like to be able to determine when my activity itself needs to tighten its belt to avoid an OutOfMemoryError

[android-developers] Re: GetLastKnownLocation vs. requestLocationUpdates

2008-12-16 Thread mobilek...@googlemail.com
I think the API doc is explanatory enough. public Location getLastKnownLocation(String provider) Returns a Location indicating the data from the last known location fix obtained from the given provider. This can be done without starting the provider. Note that this location could be

[android-developers] android.database.sqlite.SQLiteException: error code 20

2008-12-16 Thread mobilek...@googlemail.com
Just wondering where I can find a reference of the error codes that the android.database.sqlite.SQLiteException class returns? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Question about the use of FrameLayout

2008-12-16 Thread Mark
Would there be an advantage of using multiple Activity classes each with their own primary layout as opposed to creating multiple layout views and stacking them into FrameLayout? One of the things I currently do in my WM development that has worked very well in terms of performance is to create

[android-developers] Re: GetLastKnownLocation vs. requestLocationUpdates

2008-12-16 Thread mobilek...@googlemail.com
I think the API doc is explanary enough. public Location getLastKnownLocation(String provider) Returns a Location indicating the data from the last known location fix obtained from the given provider. This can be done without starting the provider. Note that this location could be out-of-date,

[android-developers] Using AIDL and list of self defined AIDL object

2008-12-16 Thread greata...@googlemail.com
Hello I can't manage to get AIDL working with my interface. I've defined a set of AIDL Interface (A, B, C and D) in their own .aidl file, and the compilation seem to be working. Now I'm defining a interface named E who has method that can take A, B, C or D as parameter and that also works. But

[android-developers] Re: Draw primitives and Video

2008-12-16 Thread Dianne Hackborn
Look at the API demo for doing overlays on top of a surface view. On Tue, Dec 9, 2008 at 1:11 AM, chabfive chabf...@gmail.com wrote: Hi everyone, I have some problems to draw primitives on a SurfaceView's canvas and to display a video on another SurfaceView in the same time. When I start

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread Romain Guy
Such an approach would be very inefficient for several reasons. First of all it requires to inflate many resources that won't be needed right away, which will slow down your application startup time. It will also increase memory usage. Then you will defeat the history mechanism built in Android,

[android-developers] Device File System

2008-12-16 Thread rajesh
I created an application which saves couple of files in the application file system. On Emulator I am able to view those files using File Explorer. But i am not able to do same on the adnroid device. To which location are the files being saved. I want the files such that the user could read it

[android-developers] Re: Anyone willing to share...

2008-12-16 Thread Dianne Hackborn
You can't call .dismiss() after onDestroy() of an activity. In the case of an orientation switch, the previous activity will be destroyed and a new instance created; after the previous instance is destroyed, its window and all windows it created are removed from the window manager, and the next

[android-developers] Re: Starting the messaging preferences - not possible? Really?

2008-12-16 Thread Dianne Hackborn
It's definitely not possible to start one of the default messaging application, since there is no such thing. There is no standard start the messaging preferences intent, so individual apps could allow external entities to start their prefs with their own private protocol, but most likely none of

[android-developers] Re: SSH to the G1 ?

2008-12-16 Thread Disconnect
http://www.gotontheinter.net/content/first-g1-story-dropbear-ported You can build dropbear for the G1/ADP1 although it uses a fixed password. But key authentication works.. I'll probably put together a new version soon, actually ported over to bionic and with autostart. (Been busy..) On Mon,

[android-developers] Re: Background setting problem

2008-12-16 Thread for android
http://code.google.com/android/reference/available-resources.html#stylesandthemes On Tue, Dec 16, 2008 at 4:04 PM, diya blore diya.bl...@gmail.com wrote: Can any one help me out.. On Tue, Dec 16, 2008 at 4:13 AM, diya blore diya.bl...@gmail.com wrote: you can overrite theme setbackground,

[android-developers] Re: How to remove a file in assets at run time?

2008-12-16 Thread Dianne Hackborn
The .apk is read-only, and can not be modified. On Tue, Dec 16, 2008 at 12:49 AM, jarkman jark...@gmail.com wrote: We've got a similar issue, with a bunch of files that we extract from the apk on first run and will never need in the apk again. It is a terrible waste of space to leave them

[android-developers] Auto attendant

2008-12-16 Thread sthustfo
Hi, With the current state of the API, is it possible to write an auto-attendant application that answers/forwards/rejects a call depending on certain criteria? AFAIK (SDK1.0 rc1), PhoneStateListener can only be used to get a hook into the incoming call, but there is know way to change the state

[android-developers] Re: question

2008-12-16 Thread ipalik
On 16 Dez., 01:19, Xavier Mathews xavieruni...@gmail.com wrote: Did it show you via email? On 12/14/2008, ipalik p.christo...@googlemail.com wrote: yesterday the ups page showed me, I should get the phone at the 15 december. Now, it shows me not the date, when i will get it. Does

[android-developers] Re: question

2008-12-16 Thread Xavier Mathews
Congrads. On 12/16/2008, ipalik p.christo...@googlemail.com wrote: On 16 Dez., 01:19, Xavier Mathews xavieruni...@gmail.com wrote: Did it show you via email? On 12/14/2008, ipalik p.christo...@googlemail.com wrote: yesterday the ups page showed me, I should get the phone at the

[android-developers] Creating reusable components for use across multiple packages

2008-12-16 Thread Mark
If I am interested in creating custom views, services, and utilities that would be used by multiple application packages what is the best way of handling the installation of these from an .apk file perspective? I am new the to the Java/Android scene and come from a Windows Mobile background

[android-developers] Re: Working example of CrossProcessCursor?

2008-12-16 Thread whitemice
bump So correct me if I am wrong, but the only Cursors that can be sent across a process boundary are the ones created by SQLite? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

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

2008-12-16 Thread Alex
Great library, thanks! Are different voices implemented? I am trying mTts.speak(Hello, 0, new String [] {TTSParams.VOICE_ROBOT.toString () }); with VOICE_MALE and VOICE_FEMALE, but getting the same voice that sounds like robot. On Dec 16, 9:31 am, plusminus stoeps...@gmx.de wrote:

[android-developers] how to get contacts in SIM card?

2008-12-16 Thread Burne Xu
AS title Thanks --~--~-~--~~~---~--~~ 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 email to

[android-developers] Re: ★ A Ma pView API KEY issue.....PLEASE HELP ★

2008-12-16 Thread Ah-Hsin
Do you use debug.keystore to request Map api key? if yes, you can not install android apk to the other emulators. On 12月16日, 下午2時10分, Nickname yes...@live.com wrote: Hi, I am having a problem on MapView ApiKey during collaboration with my colleague who installs my application apk with a

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2008-12-16 Thread gaborca
I've ordered it on 12/9 and nothing so far. I've called the customer support yesterday (15th) and they didn't find my order, the fedex track tool can't find anything with my order ID as reference. It's sad because if the package doesn't arrive to the shipping address until 18th morning then I

[android-developers] DATABASE

2008-12-16 Thread suresh kanna
hi... i'm doing one project in android...i'm crateing one database...the have three fieldsthe fields are id,title,urli'm stored in url is String formatbut i want website URL pattern...at the same time i get the url value in database...please help me

[android-developers] Problems with onKeyDown after resume

2008-12-16 Thread Brian Durney
Hello, I have written a simple application that draws an image (Drawable) on the screen. When the user presses a key, the image is supposed to move. When I first start the application from Eclipse, the keys work fine. However, if I go to another screen in the emulator and then go back to my

[android-developers] Android Dev Phone 1 and AT T

2008-12-16 Thread Vladimir Kelman
Did anyone successfully set up Android Dev Phone to work with ATT? I received my phone today and need some guidance. Could you please leave a comment here and / or on http://pro-though ts.blogspot.com/2008 /12/android-dev-phon e-1-and-at.html (where I described my problems) ?

[android-developers] Re: Sqlite connection coding

2008-12-16 Thread mikeq
Are you looking just for the query that will return a field from a record of a table? or are you looking for the entire code on how to connect and query a database table? If the latter then look at the notepad tutorial for Android, this shows making connections to database and querying. If the

[android-developers] unlocked phone - shipping fee

2008-12-16 Thread Dave
Hi there -- can someone explain the $264.49 shipping fee for the $399 US device? I would like to understand the costs behind it -- whether or not it's a mistake. I'm writing here because I don't know where to write to customer support. Thanks, Dave

[android-developers] G1 bluetooth support doubts

2008-12-16 Thread androidu...@gmail.com
Hi , A BIG warm greeting to all of you there as I am set to compose my first mail/query to this group I am new to Android and my scope of work is Bluetooth applications using Android Application Framework. I found that Android Application Framework does not support any BT APIS . After a lot of

[android-developers] Airplane mode charge lvl

2008-12-16 Thread Akapoor
After leaving the phone on charge (airplane mode) the maximum charge displayed is 57%. After a machine reboot, charge is redisplayed as 99%. Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

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

2008-12-16 Thread MrChaz
As the others have said, use the AlarmManager. A couple of other things which may be of use to you if your process takes a long time Use the PowerManager to get and aquire a WakeLock - this will stop the phone from going to sleep whilst you're doing stuff. Use the WifiManager to get and aquire a

[android-developers] Re: unlocked phone - shipping fee

2008-12-16 Thread Justin (Google Employee)
This has been extensively discussed on threads on this forum and android-discuss. Please search for related threads. Cheers, Justin Android Team @ Google On Dec 16, 10:04 am, Dave techh...@carlsoncanada.com wrote: Hi there -- can someone explain the $264.49 shipping fee for the $399 US

[android-developers] Re: Android Dev Phone 1 and AT T

2008-12-16 Thread Justin (Google Employee)
Please see http://groups.google.com/group/android-developers/msg/e4a9172898b7d7cc and http://groups.google.com/group/android-developers/search?group=android-developersq=dev+phone+at%26tqt_g=Search+this+group Remember to search first, chances are good that if you've had a question, someone else

[android-developers] Re: Problem setting up SDK

2008-12-16 Thread Vladimir Kelman
Are you sure WinZip correctly unpacted all files? I experience a strange and irregular problem with WinZip crashing (unloading?) in the middle of unzipping Android SDK. Event log doesn't show any errors, but WinZip does not want to complete its job. On Dec 16, 7:37 am, Gary Thomas

[android-developers] Calender app in emulator PIM API for Android Developers

2008-12-16 Thread Gautam Bisht
hi everyone please help me out regarding this issue. why there is no default calender application for tasks and events (ToDo Items) in emulator ?? is there any PIM API to work on default tasks and events ?? can we expect calender application in emulator in the new release ?? we can see the

[android-developers] Re: Background setting problem

2008-12-16 Thread diya blore
Can any one help me out.. On Tue, Dec 16, 2008 at 4:13 AM, diya blore diya.bl...@gmail.com wrote: you can overrite theme setbackground, overrite layout, and use the new layout for you project ? can u explain bit brifely? On Tue, Dec 16, 2008 at 4:02 AM, diya blore diya.bl...@gmail.com

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

2008-12-16 Thread plusminus
Text-2-Speech is built into AndNav2 since a few days *YAY* http://www.andnav.org Big thx to Charles L.Chen for his work and openness to suggestions! =) Best Regards, Nicolas On Dec 16, 9:24 am, Jean-Baptiste Queru j...@google.com wrote: There is a speech-recognition engine in Android, but

[android-developers] Re: If your hosting your own .apk

2008-12-16 Thread Justin (Google Employee)
Assuming your APK is 1MB you can host it on Google App Engine, which obviously gives you MIME-type control. (Hopefully your APK is below this threshold anyway). Cheers, Justin Android Team @ Google On Dec 14, 7:02 am, Tom thomasfmc...@gmail.com wrote:

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread Dianne Hackborn
There is nothing intrinsically right or wrong with either approach. It is just as wrong to say that you shouldn't use the activity model for your UI, as it is to say that you should never switch between multiple views in the same activity. For the issue Romain is addressing, I would agree that

[android-developers] Re: WPA-Enterprise To Be Offered?

2008-12-16 Thread Dashesy
wpa_supplicant, the program which Android uses to handle this, does. So its probably just a matter of some UI work. Wow, that is great news :) I am not currently concerned very much with the security issues and as far as I can get the WPA Enterprise work it is enough for me On Dec 16, 8:57 am,

[android-developers] Re: If your hosting your own .apk

2008-12-16 Thread blindfold
Installation via the web may not be available for emulators That was true up to and including SDK 1.0r1, but as of SDK 1.0r2 webmasters can install an APK directly from their own website using the browser on the emulator, after first enabling Unknown Sources (from the main screen selecting Menu

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread Romain Guy
Thanks Dianne, I should have been clearer: it is indeed perfectly fine to switch between Views, there are good reasons to do so. But replacing the Activity model is not a good one. One thing is certain, it is wrong to think that it would be an optimization. Like I said, it will only slow down

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread Mark
That makes complete sense. I appreciate the advice. Mark On Dec 16, 1:14 pm, Romain Guy romain...@google.com wrote: Thanks Dianne, I should have been clearer: it is indeed perfectly fine to switch between Views, there are good reasons to do so. But replacing the Activity model is not a good

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread Mark
There is not a single performance issue that I am trying to solve. It is more of an issue of keeping the code simple, limiting the number of Activities in my application and reducing the number of places that I have to access my content providers. Often times I have something like a Sports game

[android-developers] Re: ★ A Ma pView API KEY issue.....PLEASE HELP ★

2008-12-16 Thread Nickname
Thanks for information. What keystore i need to use to request Map ApiKey for my application apk that needs to be installed to the other emulators? I don't think i should use my release mode keystore, because it would need me to sign my app with the release key and make my app not installable

[android-developers] Phone crash on volume key

2008-12-16 Thread bleucalme
Hi, In my application (SDK 1.0.r2), after playing few sounds, I loose the sounds. If I touch the volume keys, the device reboots. I get the same behavior on the emulator. Anybody had the same problem? 12-16 14:15:49.892: ERROR/AudioFlinger(24): no more track names availlable 12-16

[android-developers] Re: Problem setting up SDK

2008-12-16 Thread Xavier Ducrohet
if you built the SDK yourself, you must point Eclipse to the folder in which the build system puts the SDK In your case: /local/Android/out/host/yourplatform/sdk/android-sdk-yourplatform/ Xav On Tue, Dec 16, 2008 at 4:37 AM, Gary Thomas samoht.y...@gmail.com wrote: I've downloaded and built

[android-developers] Re: ★ A Ma pView API KEY issue.....PLEASE HELP ★

2008-12-16 Thread Xavier Ducrohet
It does not matter what signature you use, it should not restrain installation on any emulators. (Side note: what may happen though is that switching from debug to release keys will require uninstall before installing the new version) Does your colleague recompiles the application himself? If he

[android-developers] Re: processing camera preview before display

2008-12-16 Thread Loechti
Hi, could you post your code? i tried it as described above but it crashes on the phone every time :/ thanks :) On 16 Nov., 20:39, Sean seaned...@yahoo.com wrote: On Nov 14, 8:49 am, Dave Sparks davidlspa...@gmail.com wrote: You might be able to get away with not passing a surface into the

[android-developers] Re: Debug multi process android app in eclipse

2008-12-16 Thread Xavier Ducrohet
One of the things that you can do is put android.os.Debug.waitForDebugger() in the starting code of your service. By doing this, the Android VM will pause and wait for a debugger to be connected. Eclipse/ADT will notice this and automatically connect a debugger to your service process. If you

[android-developers] Re: Starting the messaging preferences - not possible? Really?

2008-12-16 Thread code_android_festival_way
Thank you for your answer. Could you tell me if it possible to open the messages from the sms provider with the VIEW_ACTION? I'm trying to link from my text notification to the whole message list. I'm doing it like this: http://paste.pocoo.org/show/95624/ I'm getting the following error: 12-16

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread loty
Each Activity carries a lot of baggage like state management, etc which is not always applicable. I started my first Android app like a good boy from the Notepad example and very soon had a spaghetti of Activities. It got to the point that I had to click Back button 6 or 7 times to get back to my

[android-developers] Re: ★ A Ma pView API KEY issue.....PLEASE HELP ★

2008-12-16 Thread loty
If you are using Eclipse for development it generates it's own debug key and you need new Map API key for it. There is a place to specify a different keystore but last time I tried it it didn't work. On Dec 16, 2:26 pm, Nickname yes...@live.com wrote: Thanks for information. What keystore i

[android-developers] Re: If your hosting your own .apk

2008-12-16 Thread Tom
My APK is 1.2M. I've searched for ways to reduce it in size without success. Any pointers? On Dec 16, 1:56 pm, Justin (Google Employee) j...@google.com wrote: Assuming your APK is 1MB you can host it on Google App Engine, which obviously gives you MIME-type control. (Hopefully your APK is

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread Romain Guy
We never said every screen has to be an Activity (that's why it's called Activity and not Screen :)). Calendar is a good example of this, when you switch between the Day view to the Week view, you remain in the same activity for instance. Again, it is perfectly sound to flip views inside one

[android-developers] Re: G1 bluetooth support doubts

2008-12-16 Thread Nick Pelly
Yes we don't have official SDK API's to Bluetooth, but that does not mean we have a don't have a Bluetooth stack with supporting Java framework classes. See BluetoothDevice.java, BluetoothHeadset.java, RfcommSocket.java etc. However, we have not made any of these classes part of the official

[android-developers] Re: If your hosting your own .apk

2008-12-16 Thread Justin (Google Employee)
Well, first you need to figure out what is taking up space to see where the big wins will be. Typically this means resource files. Remove resources that are seldom used, consider downloading them when they're needed and then saving them to your data directory. Obviously you need to be very

[android-developers] Re: Android Dev Phone 1 and AT T

2008-12-16 Thread Vladimir Kelman
Thank you Justin! In fact, I already found the first link you provided and successfully set up my Android Dev Phone to work with ATT... I just wasn't sure I need to send a message about it. I duplicated set up instructions in my blog at

[android-developers] hiding the title bar

2008-12-16 Thread Jason Proctor
i'd like to hide the title bar, but it seems that the sample code -- requestWindowFeature (Window.FEATURE_NO_TITLE); -- doesn't do anything. is there a way that works? thanks, j --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Question about the use of FrameLayout

2008-12-16 Thread loty
Cool - I guess we were arguing on the same side of things. :) I definitely saw this in API docs somewhere and Diane just repeated it too that general rule of thumb should be new Activity for new screen and I just think that as a general rule of thumb you probably don't want to have new Activity

[android-developers] Re: Debugging an app

2008-12-16 Thread JS
Interesting. So the emulator doesn't honor the debuggable in manifest? Can I copy the app from the phone to the emulator and debug it? On Dec 15, 3:51 pm, fadden fad...@android.com wrote: On Dec 14, 10:31 pm, android_soft cspeche...@gmail.com wrote: You can do everything that you can do

[android-developers] Re: ACTION_ANSWER never answers the call - phone state stays RINGING..

2008-12-16 Thread dreamerBoy
The only thing that seems to work is the telnet technique: telnet localhost 5554 gsm accept 1234567 On Dec 11, 5:06 pm, dreamerBoy paul.hube...@gmail.com wrote: code:       try       {          // answer the phone          Intent myIntent = new Intent(Intent.ACTION_ANSWER);          

[android-developers] Re: Android Dev Phone 1 and AT T

2008-12-16 Thread Auauaua
I have it working on AtT - however - is it true that we are not able to use the 3G on Android G1???!!! I am only getting edge and G. narkis On Dec 16, 3:35 pm, Vladimir Kelman vkel...@gmail.com wrote: Thank you Justin! In fact, I already found the first link you provided and successfully set

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

2008-12-16 Thread Inderjeet Singh
Is it possible to use phonetic spelling of text to get accurate pronunciation of a word? Thanks Inder On Tue, Dec 16, 2008 at 7:29 AM, Alex alba...@gmail.com wrote: Great library, thanks! Are different voices implemented? I am trying mTts.speak(Hello, 0, new String []

[android-developers] Using WebView with AlertDialog

2008-12-16 Thread Inderjeet Singh
Hi, I want to display some HTML content in an alert dialog. Is it possible to do so or do I have to write my own dialog? Thanks Inder --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Compass Cals

2008-12-16 Thread RogerM
I would like to know if I can control the calibration routines in the compass on the G1. Would that be an HTC issue or an Android issue? Thanks, Roger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Android Dev Phone 1 and AT T

2008-12-16 Thread Joel Knighton
Yes, this is true. It is not a software limitation of any sort. There is not the radio for ATT 3G bands in the Dev Phone 1. On Tue, Dec 16, 2008 at 3:32 PM, Auauaua skraiduo...@gmail.com wrote: I have it working on AtT - however - is it true that we are not able to use the 3G on Android

  1   2   >