[android-developers] Re: A notification sound taken from the Android .apk

2008-12-16 Thread elDoudou
Maybe my question was not clear. Is it possible with the "Notification" to set up a sound field which is taken from the .apk bundle, instead of providing a file path? If not, does it mean that the .ogg file taken from the .apk should be first copied on the file system? Where should it be unpacked:

[android-developers] Re: hiding the title bar

2008-12-16 Thread Eric Chan
Can you make me known which one is fullscreen? 2008/12/17 Dianne Hackborn > You could look at ApiDemos. > > On Tue, Dec 16, 2008 at 1:11 PM, Jason Proctor wrote: > >> >> >This works fine, when called in onCreate() of an activity: >> > >> >getWindow().requestFeature(Window.FEATURE_NO_TITLE); >>

[android-developers] MulticastSocket works?

2008-12-16 Thread sylvek
i currently write a personnal android application which use my wifi network. i have a computer that send broadcast tcp information on the ip 239.6.20.71, port 4378. i can receive event from my java code sample, it's work properly. but under android nothing !? this feature is broken? I use this co

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

2008-12-16 Thread Eric Chan
lol, I always argue with my mates about use activity or multiple layout views. We follow this, if menu changes with screen changes, use the activity, else employ multiple layout views 2008/12/17 Dianne Hackborn > We are just arguing semantics here. Yes, there are times when it makes > sense to

[android-developers] Question on Spinner

2008-12-16 Thread for android
Suppose I have a spinner widget,whats the way in which say I want the message on the screen to "Select Country",and when I click on it ,I don't want to get that option of "Select Country" And when I click them: USA UK Cannada --~--~-~--~~~---~--~~ You received

[android-developers] Regarding android registration

2008-12-16 Thread Naina
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: Debug multi process android app in eclipse

2008-12-16 Thread Manoj Gopalakrishnan
Hi, When I do to DDMS->Device Menu and try to select the service process by clicking the green bug, I get error as "No open project found for com.example.testservice:remote. Debug session failed". Actually both the service and activity process is part of same project and both source files are pre

[android-developers] Re: GetLastKnownLocation vs. requestLocationUpdates

2008-12-16 Thread lior
Thanks Mobile Kid, So you are using JSR 179 on Andriod? if yes, any sample code you can share? If I use requestLocationUpdates does it "wake" the gps if it is turned off? Thanks, Lior On Dec 16, 3:22 am, "mobilek...@googlemail.com" wrote: > I think the API doc is explanatory enough. > > publ

[android-developers] Modifying the call card (in-call screen)

2008-12-16 Thread bparker
Is it possible to manipulate the TextView fields on the in-call screen in any way? I'm mainly interested in the upper/lower title views (for example the one that says "Incoming call" when the phone is ringing). Thanks in advance --~--~-~--~~~---~--~~ You received t

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

2008-12-16 Thread mnj
Hi, When I do to DDMS->Device Menu and try to select the service process by clicking the green bug, I get error as "No open project found for com.example.testservice:remote. Debug session failed". Actually both the service and activity process is part of same project and both source files are pr

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

2008-12-16 Thread Dave
Thanks for the reply. It has been discussed but there is still no explanation as to why it costs $264.49. Google did not provide any valid explanation around this other than "it just is". $700 USD for a phone is just ridiculous. On Dec 16, 1:37 pm, "Justin (Google Employee)" wrote: > This has

[android-developers] Re: G1 bluetooth support doubts

2008-12-16 Thread Manohar Mahapatra
Thanks for the info ! AndUzer On Wed, Dec 17, 2008 at 1:50 AM, Nick Pelly wrote: > > 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,

[android-developers] Re: AT&T on dev phone, data connection not working

2008-12-16 Thread bparker
Those don't seem to work either... Everything else I've read shows a different username/password than yours though. What I always see when searching is: User: w...@cingulargprs.com Pass: CINGULAR1 (everything is all caps) On Dec 16, 10:18 pm, Dave wrote: > The correct settings for at&t are a

[android-developers] Re: G1 activation problem

2008-12-16 Thread Vladimir Kelman
Does it mean all services which are supposed to be available are available without AT&T data plan? I signed for a data plan, but it's expensive - additional $30 per month... Another question... if you use wifi... will they at AT&T detect that and will they complain? On Nov 24, 8:58 pm, Mark K w

[android-developers] Re: AT&T on dev phone, data connection not working

2008-12-16 Thread Dave
The correct settings for at&t are as follows NAME AT&T APN wap.cingular PROXY not set PORT not set USERNAME WAP.CINGULAR.COM PASSWORD cingular1 SERVER nnot set MMSC mmsc.cingular.com MMS PROXY not set MCC 80 MCC 310 MNC 410 APN TYPE not set These work i have phones running on at&t "setti

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

2008-12-16 Thread Xavier Mathews
No oslitor and it would have to be made into the phone no Android app can do that sorry. On 12/16/2008, Mihai wrote: > > Great, thanks, I'll check it out. > > On Dec 16, 9:12 am, Dave Sparks wrote: >> The radio firmware generates the tones for the far end. The local >> tones are generated algor

android-developers@googlegroups.com

2008-12-16 Thread Xavier Mathews
At&t is 3G! On 12/16/2008, Dave wrote: > > Anyone know of a way to get 3G thru at&t > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Client Based Tech Support Specialist Hazel Crest Illinois xavieruni...@gmail.com¥xavierunited@hotmail.com¥truestar...@yahoo.com "Fear

[android-developers] Re: changing string resources

2008-12-16 Thread Dianne Hackborn
I am pretty sure that if a character doesn't exist in the current font, it will be retrieved from the system's callback font. I can't tell you what languages Android will support. Eventually it will be many of them, but it just depends on who makes what devices running Android in whatever languag

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

2008-12-16 Thread dssheng
Hi maybe you can refer Browser component /package/apps/Browser/asserts/plugins/gear.so and BrowserActivity.java head of function run() On Dec 17, 10:07 am, "Dianne Hackborn" wrote: > We deliberately do not do this, so we can always reset the application back > to the initial state it was inst

android-developers@googlegroups.com

2008-12-16 Thread Dave
Anyone know of a way to get 3G thru at&t --~--~-~--~~~---~--~~ 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 gro

[android-developers] Re: Detect TAB key?

2008-12-16 Thread Dianne Hackborn
You are mixing physical key codes (which is what is delivered in KeyEvent objects) with generated characters. You really don't want to do that, because keyboards in different devices will have different (perhaps radically different) key layouts. Plus since there is no "tab key" in the G1, I think

[android-developers] Re: android:allowClearUserData and android:manageSpaceActivity

2008-12-16 Thread Dianne Hackborn
On Tue, Dec 16, 2008 at 6:44 PM, sandy8531 wrote: > I understand its on by default and I have not changed the manifest > file to turn it off. > My question really was prompted by the fact that on G1 I do not see > the button to clear the user data for my app, while I see it for an > app Media Sto

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

2008-12-16 Thread Tom
Sites will not work for hosting APKs since the mimetype is not set properly: Clicking the file from the G1 will result in a browser error, not an install. Good suggestion, though. On Dec 16, 7:35 pm, David Given wrote: > Tom wrote: > > My APK is 1.2M. I've searched for ways to reduce it in si

[android-developers] Re: android:allowClearUserData and android:manageSpaceActivity

2008-12-16 Thread sandy8531
On Dec 16, 8:09 pm, "Dianne Hackborn" wrote: > allowClearUserData is true by default, and I would strongly urge against > anyone making it false. > I understand its on by default and I have not changed the manifest file to turn it off. My question really was prompted by the fact that on G1 I d

[android-developers] Detect TAB key?

2008-12-16 Thread Keith Wiley
I would like to intercept the tab key in an EditText. I derived a new class from EditText and implemented the OnKeyListener interface. I look for event.getAction() == KeyEvent.ACTION_DOWN && keyCode == KeyEvent.KEYCODE_TAB, but here is what happens: user presses alt -> action down / keycode alt

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

2008-12-16 Thread Dianne Hackborn
We are just arguing semantics here. Yes, there are times when it makes sense to start a new activity and times when it makes sense to change the UI in an existing one. I'm not going to give you The Rule for when these times are. That is part of designing your UI, keeping in mind the basic activi

[android-developers] Re: hiding the title bar

2008-12-16 Thread Dianne Hackborn
You could look at ApiDemos. On Tue, Dec 16, 2008 at 1:11 PM, Jason Proctor wrote: > > >This works fine, when called in onCreate() of an activity: > > > >getWindow().requestFeature(Window.FEATURE_NO_TITLE); > > > >Or, as Andrew Stadler pointed out, you can use this in your in > >your manifest: >

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

2008-12-16 Thread Dianne Hackborn
It really is not that complicated -- the system will at various points ask you to save your current instance state in onSaveInstanceState(), and if in the future it needs to restart your activity with some previous saved state, your onCreate() will be called with a Bundle containing the saved state

[android-developers] Re: android:allowClearUserData and android:manageSpaceActivity

2008-12-16 Thread Dianne Hackborn
allowClearUserData is true by default, and I would strongly urge against anyone making it false. manageSpaceActivity, if set, adds an additional button the user can press to launch the activity you specify there. That is all. On Tue, Dec 16, 2008 at 2:58 PM, sandy8531 wrote: > > I notice that

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

2008-12-16 Thread Dianne Hackborn
We deliberately do not do this, so we can always reset the application back to the initial state it was installed in. Keeping .apks entirely self-contained, self-sufficient, and without needing some external installer that you can loose is of tremendous value in being able to manage everything the

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

2008-12-16 Thread Dianne Hackborn
There is a lot of stuff missing from that doc. On Tue, Dec 16, 2008 at 2:26 PM, filbert wrote: > > According to this page > http://code.google.com/android/reference/available-intents.html > the mailto: url is not supported by an intent... unless it was simply > left off the list by accident. T

[android-developers] Re: ACTION_MOVE between views?

2008-12-16 Thread Dianne Hackborn
Once a down is dispatched to a view, that view remains the target of pointer events until the following up. The only exception to this is that a parent can cancel the current target and start handling the pointer events itself. On Tue, Dec 16, 2008 at 3:03 PM, Patrick wrote: > > I have a number

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2008-12-16 Thread fadden
On Dec 16, 10:34 am, "aditya marella" wrote: > I too ran into this many times and my images are not on the disk they are > fetched from the network moreover none of my images exceed 5kb so i don't > understand why is it even trying to allocate 74752bytes. What is the size of your image in pixels

[android-developers] Re: Debugging an app

2008-12-16 Thread fadden
On Dec 16, 1:03 pm, JS wrote: > 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? See e.g. applyDebuggerSecurityPolicy() in base/core/java/com/android/internal/os/ZygoteConnection.java You can copy apps

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

2008-12-16 Thread filbert
According to this page http://code.google.com/android/reference/available-intents.html the mailto: url is not supported by an intent... unless it was simply left off the list by accident. That is a possible explanation but my attempts to use mailto: in a URL result in errors.. unfortunately I

[android-developers] ACTION_MOVE between views?

2008-12-16 Thread Patrick
I have a number of views on screen (Buttons actually, but it could change if needed). I want to know which one the user's finger is on top of. I setup a touch listener on each view, and then monitor for MotionEvent.ACTION_DOWN and MotionEvent.ACTION_MOVE. I get both just fine, except that the Mot

[android-developers] drawing markers on the overlay for the map

2008-12-16 Thread chouman82
I have quite some trouble to get the markers to show up for some reasons. This is what i have done: public void addOverlayBusinessItems() { Drawable defaultMarker = getResources().getDrawable (R.drawable.pin); defaultMarker.setBounds(0, 0, defaultMarker.getIntrinsicWidth(

[android-developers] Re: TraceView error

2008-12-16 Thread fadden
On Dec 16, 4:40 pm, Emmanuel wrote: > Actually, the trace file I get is coming from the emulator. > I uploaded it on my Pc, closed the emulator and Eclipse, and still get > the same results. The situation is the same whether you're using the emulator or an actual device. I may have been unclear

[android-developers] Re: Keeping an activity running all the time

2008-12-16 Thread Mark Murphy
bparker wrote: > What is the best way to keep an activity running forever? Not make it an activity. > Is there a > way to restart it whenever it gets killed? For example I have an app > that I use very frequently and it also has receivers that are > registered dynamically, so I need the activi

[android-developers] Keeping an activity running all the time

2008-12-16 Thread bparker
What is the best way to keep an activity running forever? Is there a way to restart it whenever it gets killed? For example I have an app that I use very frequently and it also has receivers that are registered dynamically, so I need the activity to stay running all the time. I thought I had read

[android-developers] Re: TraceView error

2008-12-16 Thread Emmanuel
Actually, the trace file I get is coming from the emulator. I uploaded it on my Pc, closed the emulator and Eclipse, and still get the same results. So it is not this bug ! Thanks anyway, Emmanuel http://androidblogger.blogspot.com/ On Dec 16, 12:53 am, fadden wrote: > On Dec 14, 6:07 pm, Emma

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

2008-12-16 Thread David Given
Tom wrote: > My APK is 1.2M. I've searched for ways to reduce it in size without > success. Any pointers? Alas, Google Pages is no more (unless you happen to have signed up for it before they started to shut it down), but sites.google.com is a similar free website hosting thingy that's nothing l

[android-developers] Re: Phone crash on volume key

2008-12-16 Thread Dave Sparks
It sounds like your application is not releasing its media player resources. When you're done playing a sound, you need to call the MediaPlayer.release() method. If you're playing a lot of sounds rapidly, the garbage collector won't be able to keep up. Arguably, the runtime shouldn't reboot. I th

[android-developers] Re: changing string resources

2008-12-16 Thread j
As Android adds support for new languages besides English, my utility app should ideally support those languages without modification to the apk. Ideally, I would like to use a custom font instead of the default Android font (I believe there are only 2 fonts that come with Android platform). The

[android-developers] Re: G1 activation problem

2008-12-16 Thread Alex B
Solution! I was able to connect via the *new* Fido SIM cards using the following APN settings: Name: Fido APN: internet.fido.ca Username: fido Password: fido MCC: 302 MNC: 370 * The new SIM cards (3G) use code 370 (three-seven-zero). The old Fido SIM cards (2G) use mobile network code 37 (three

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

2008-12-16 Thread Auauaua
right - the specs are in question on that Canadian site - the phone is "out of stock" ;) It would be interesting to get to the bottom of this - so to speak, and find out what exactly determines the frequencies and if the radio chip is modable. narkis On Dec 16, 6:13 pm, Michael wrote: > Last I

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

2008-12-16 Thread Urs Grob
It would be nice to have something like an installation package that contains the apk as well as some files that are only needed during installation time. Like this you could deploy e.g. your sqlite db file with some initial content or some files that maybe should be stored inflated on the sdcard.

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

2008-12-16 Thread Michael
Last I checked, T-Mobile didn't have a presence in Canada. Which would mean, no Canadian G1. >From what others are saying around here, it's AT&T who did this wrong, using oddball frequencies. --~--~-~--~~~---~--~~ You received this message because you are subscrib

[android-developers] Access point signal level updating

2008-12-16 Thread Doughy
I'm writing an application that requires that I check the signal levels of all access points in the vicinity. I am using the WifiManager as follows: WifiManager wm = (WifiManager)getSystemService(Context.WIFI_SERVICE); boolean scanResult = wm.startScan(); String totalString = ""; List scan = wm.

[android-developers] android:allowClearUserData and android:manageSpaceActivity

2008-12-16 Thread sandy8531
I notice that some system applications like Media Storage, allow me to clear their database through the Settings->Applications->Manage Applications. How can I enable resetting my applications DB using this method ? Do I need to implement some interface or intent ? I tried setting android:allowCle

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

2008-12-16 Thread Auauaua
ok - after a quick check HTC G1 has the following specs - 3G HSDPA US Version: 1700/2100 MHz - from HTC website processor/chipset - Qualcomm® MSM7201A™, 528 MHz AT&T service - 3G HSDPA 850/1900Mhz (here we are talking 3G frequencies only - Edge and 2G are available and overlapping) so - is this

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

2008-12-16 Thread jarkman
Thanks for the confirmation. Still seems like a shame... :-) R. On Dec 16, 5:25 pm, "Dianne Hackborn" wrote: > The .apk is read-only, and can not be modified. > > > > On Tue, Dec 16, 2008 at 12:49 AM, jarkman wrote: > > > We've got a similar issue, with a bunch of files that we extract from >

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

2008-12-16 Thread Michael
You would be better off waiting for the next Android phone. These things are generally not interchangable. And really, this phone was made by HTC for T-Mobile, it's of no surprise that it's designed to work with their network and not a competitor's. --~--~-~--~~~---~-

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

2008-12-16 Thread jarkman
Right, but we can't get away from understanding what the designers had in mind. We need to know when we should be presenting to the user as a new run and when we should be presenting as a continuation of an old run, so the user gets a consistent model of the app lifetime. On most platforms we do

[android-developers] Re: Rotate MapView

2008-12-16 Thread David C
I just received this response: "Override a ViewGroup and apply the rotation in dispatchDraw()." Thanks Romain! On Dec 8, 12:43 pm, David C wrote: > "Bump"  can anyone provide insight here? > > Did the MapView onDraw() API change to "final" at some point? If the > recommended method to rot

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

2008-12-16 Thread Auauaua
this is a MAJOR oversite - I like the G1 but it is somewhat limited without the 3G anything we can do? Can HTC provide a hardware mod for this? If AT&T 3G service is on a slightly different frequency than T-Mobile - can we get the matching radio frequency configured on the G1? or if we need to in

[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 AT&T 3G bands in the Dev Phone 1. On Tue, Dec 16, 2008 at 3:32 PM, Auauaua wrote: > > I have it working on At&T - however - is it true that we are not able > to use the 3G on Android G1???!!! > I am only

[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 Develo

[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 pos

[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 wrote: > > Great library, thanks! > > Are different voices implemented? I am trying > >mTts.speak("Hello", 0, new String [] {TTSParams.VOICE_ROBO

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

2008-12-16 Thread Auauaua
I have it working on At&T - 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 wrote: > Thank you Justin! In fact, I already found the first link you provided > and successfully set up my Android

[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 wrote: > code: > >       try >       { >          // answer the phone >          Intent myIntent = new Intent(Intent.ACTION_ANSWER); >          myIntent.setFlag

[android-developers] hiding the title bar

2008-12-16 Thread Jason Proctor
>This works fine, when called in onCreate() of an activity: > >getWindow().requestFeature(Window.FEATURE_NO_TITLE); > >Or, as Andrew Stadler pointed out, you can use this in your in >your manifest: > >android:theme="@android:style/Theme.NoTitleBar" > >Note that these remove the title bar. They do

[android-developers] Re: hiding the title bar

2008-12-16 Thread Mark Murphy
> 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? This works fine, when called in onCreate() of an activity: getWindow().requestFeature(Window.FEATURE_NO_TITLE); Or, a

[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 wrote: > On Dec 14, 10:31 pm, android_soft wrote: > > > You can do everything that you can do with a normal java app, attach > > t

[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 fo

[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 Go

[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 AT&T... I just wasn't sure I need to send a message about it. I duplicated set up instructions in my blog at http://pro-thoughts.blogspot.com/2008/12/android-dev-phone-1

[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 carefu

[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 And

[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 Acti

[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)" 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 below > this

[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 wrote: > Thanks for information. > > What keystore i need to use to

[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: 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: 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 do

[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 wrote: > On Nov 14, 8:49 am, Dave Sparks wrote: > > > You might be able to get away with not passing a surface into the > > camera object. I don't think we've

[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: 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//sdk/android-sdk-/ Xav On Tue, Dec 16, 2008 at 4:37 AM, Gary Thomas wrote: > > I've downloaded and built the entire SDK, to the point where I can run

[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 14:15:49

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

2008-12-16 Thread joshv
Basically if you are interested in long term persistent state, ignore the Bundle passed in onCreate - I don't pretend to understand the reasons for why it is or is not null - perhaps they make sense to the framework designers, but whatever the rationale, it doesn't make much sense to store any sta

[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] 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 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 one. > > One thin

[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 you

[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 Me

[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 a

[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 it

[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 wrote: > Hostingyourapkonhttp://code.google.comforces it to have an open

[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 wrote: > I've

[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-developers&q=dev+phone+at%26t&qt_g=Search+this+group Remember to search first, chances are good that if you've had a question, someone else

[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: 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 wrote: > Hi there -- can someone explain the $264.49 shipping fee for the $399 > US device? I would like to unders

[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] 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] 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 f

[android-developers] Errors

2008-12-16 Thread suresh kanna
hi... i'm doing one project in android platform..i'm running the project but emulator is not working.i received some errors in the eclipse...the error is Android\Androidsdk1R1\tools\adb.exe start-server' to ensure ADB is running. [2008-12-16 10:17:55 - ddms]'adb start-server' succeeded [20

[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 AT&T? 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] 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 Develope

[android-developers] Problem setting up SDK

2008-12-16 Thread Gary Thomas
I've downloaded and built the entire SDK, to the point where I can run the emulator :-) Now, I'm trying to run eclipse (my first experience with it) and having troubles. When I try to set my Android preferences, I get an error that it can't locate android.jar. Indeed, looking through the SDK I

[android-developers] When GPS information is not available-- how to handle it

2008-12-16 Thread Sean
We all know that GPS information is not always available (e.g., my GPS lost its location information when it is inside a building). If an application calls android location API to try to retrieve its location information (when the GPS module can't report the information, as described above), how

  1   2   >