[android-developers] Re: outgoing sms

2009-10-01 Thread kapnkore
private void sendSMS(Stringhttp://www.google.com/search?hl=enq=allinurl%3AString+java.sun.combtnI=I%27m%20Feeling%20LuckyphoneNumber, Stringhttp://www.google.com/search?hl=enq=allinurl%3AString+java.sun.combtnI=I%27m%20Feeling%20Luckymessage ) {

[android-developers] Re: What would cause a DeadObjectException?

2009-10-01 Thread Guru
When the remote process gets killed by the OS,then you get a DeadObjectException. Any process might get killed by the OS depending on system requirements. On Thu, Oct 1, 2009 at 10:22 AM, yukinoba ckmagic...@gmail.com wrote: to dear all Android developers and fans, Does anyone ever meet a

[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and back button. How to restore progress dialog?

2009-10-01 Thread Kacper86
I'm creating an application to backup contacts (and sms messages, files etc.) on the device and upload it to a server. It may take a long time. So I suppose I should use a service (without spawning any additional threads) in a different process id than the activity? And as a user may from time

[android-developers] Re: Activity Closing, Task affinity

2009-10-01 Thread Guru
look at onResume() On Wed, Sep 30, 2009 at 4:59 PM, Siju siju.mat...@gmail.com wrote: How can I force an activity to close when user presses Home button or navigates out of the activity? Do I get a callback when focus goes out of the activity? I cannot see that in the Activity callback

[android-developers] Re: Issue in broadcasting SMS through Android

2009-10-01 Thread Cédric Berger
On Wed, Sep 30, 2009 at 18:25, Nainos nainos.sm...@gmail.com wrote: Hi! There seems to be a limit to the number of SMS that can be sent programmatically. It seems to be hovering around 70 to 100 messages. After a batch of messages, when I try to resend a batch I get a warning message A

[android-developers] Telephony API

2009-10-01 Thread Konrad
Hi out there, I need to execute a new Intent right after a call has ended. The code line for starting the call is: startActivityForResult(new Intent(Intent.ACTION_CALL, Uri.parse(tel: +4922031010424)), 1); which works fine. For starting the new Intend I have implemented: protected void

[android-developers] App upgrade (with zipalign) causes force closes/disappearing of app icon

2009-10-01 Thread SCMSoft
Hi, Almost all our users complain that after upgrading to the newest version of our Camera Pro app, either the app crashes or the icon is not showing up anymore in the home screen. The problem seems to be gone after deinstalling and reinstalling the app. How can it be possible that the icon is

[android-developers] Re: How to force soft keyboard to be visible?

2009-10-01 Thread James W
Dwass, This is tested on the standard emulator and an unbranded Hero, running the latest official HTC ROM update, 2.73. On Dianne's suggestions, I streamlined this a bit, removing the unnecessary hide flags. To show the keyboard on the dialog's OnCreate, I use:

[android-developers] Re: How to make adb of android's sdk recognizes HTC Hero on Mac OS?

2009-10-01 Thread Pieter
On Linux, I have to click on the HTC Sync entry from the notifications. Only then adb recognizes the Hero. On Sep 30, 1:43 pm, eric bugbun...@gmail.com wrote: I have a way to recognize HTC Magic by adb from this groups,but HTC Hero? I need a adb that make HTC Hero recognized on Mac. I need

[android-developers] Re: Crossword Puzzle in Android

2009-10-01 Thread Seth Mould
Carl, that's brilliant. The XML can be adapted to use bars and blocks as I described earlier, then overlayed with text boxes and hey presto! On Sep 28, 4:39 pm, Carl Whalley carl.whal...@googlemail.com wrote: I just put a tutorial up on making tiles scale correctly. Its not exactly what you

[android-developers] how to change an EditText focus rim color from orange to some other color or image...

2009-10-01 Thread sdphil
how can I change the focus color (orange) on an edittext box. the focus color is a small rim around the entire control and is bright orange when the control has focus. how can I change the color of that focus either with a different color or using a drawable. tia.

[android-developers] Camera and Surface problems with 1.6

2009-10-01 Thread Anders Johansson
Hi all, My company has so far developed four different camera-based applications that all work by manipulating the viewfinder feed from the camera. The Android camera API expects a Surface to draw the viewfinder feed to, however in our apps we rely on sidestepping the direct drawing and grabbing

[android-developers] How to run Gallrey by a common way?

2009-10-01 Thread 楊健
Hey everybody! My question is how to run Gallrey by a common way? I fount that gallrey has different package name on different phone. Is there a way to run Gallrey without package name? By the way, I can run Camera by the intent action INTENT_ACTION_STILL_IMAGE_CAMERA,without pacake name. Best

[android-developers] Center TextView between other two widgets

2009-10-01 Thread fhucho
Hi, I have a horizontal LinearLayout in which I have a button, text1 and text2. I want the button to be on the left, text2 on the right and text1 centered between them, like in the following diagram ( | is edge of the screen, - is empty space): | BUTTON---TEXT1TEXT2 | text1

[android-developers] Re: Trying to get Javascript on Android

2009-10-01 Thread ebisudave
John, Fred, and Streets Of Boston, Sorry I stepped away from this conversation for a bit. Work has a nasty habit of getting in the way sometimes. Thank you for replying and explaining the situation to me a little more. I can now see how touch events might diverge from mouse events in certain

[android-developers] Re: Android 1.6 on ADP1 Force close

2009-10-01 Thread babaroga_srb
Thanks for the reply! I have checked the group you provided, seems that htc placed wrong files for download. Hopefully it will be resolved in short period of time! zz, Sava On Oct 1, 5:28 am, Chad Fawcett chadfawc...@gmail.com wrote:

[android-developers] Can a library uses import in the Android.mk ?

2009-10-01 Thread Mauricio Porto
Hi, I am trying to import android.graphics.Bitmap inside an aidl file intended to be used as part of a library (i.e., the Android.mk calls include $(BUILD_JAVA_LIBRARY)). However, the aidl tool always return the error could not find import for android.graphics.Bitmap. When building the same

[android-developers] How to create TextView with a link that opens in browser

2009-10-01 Thread fhucho
I would like to create a TextView that would contain a single link, e.g. google.com. After click it would open google.com in browser. I found a way how to do it, but it's a bit slow, can this be done more efficiently? Now I use this code: TextView link = (TextView) findViewById(R.id.link);

[android-developers] Re: outgoing sms

2009-10-01 Thread Mika
Yeah sure.. but I understood that the question was about notifications when the sms is not sent form within your own app. For example when the user uses the default messaging app to send an sms. -Mika On Oct 1, 9:13 am, kapnk...@gmail.com wrote:  private void

[android-developers] Re: Camera and Surface problems with 1.6

2009-10-01 Thread Tom Gibara
If I understand correctly, you're doing something very similar to what I'm doing in my Moseycode application. In my case I render the camera YUV data via a GLSurfaceView. I can't say whether this will work for certain on all/any 1.6 devices, but my approach since 1.5 has been to make the

[android-developers] on focus color change

2009-10-01 Thread Sundar
Hi, I have a list of layouts with many views within it. When the trackball is moved and layout gets focused i want each layout showing that it has focus - with some color. What are the ways to do that? Thanks in advance. Sundar --~--~-~--~~~---~--~~ You

[android-developers] problem in inserting record into database

2009-10-01 Thread Honest
Hello, I got following Exception while inserting data into database. The Exception is as follow. no such table: inbox : , while compiling: INSERT INTO inbox(from_num, content, date1, time1) VALUES(? , ?, ?, ?); --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to create TextView with a link that opens in browser

2009-10-01 Thread Mark Murphy
I would like to create a TextView that would contain a single link, e.g. google.com. After click it would open google.com in browser. I found a way how to do it, but it's a bit slow, can this be done more efficiently? Now I use this code: TextView link = (TextView)

[android-developers] RecognizerIntent available languages ?

2009-10-01 Thread Lee
Does anyone have an inkling how I could find out the available languages for speech recognition (relating to the LANGUAGES extra on the ACTION_RECOGNIZE_SPEECH action). (so that I can offer them to the user) Thanks, Lee --~--~-~--~~~---~--~~ You received this

[android-developers] Re: problem in inserting record into database

2009-10-01 Thread Mark Murphy
I got following Exception while inserting data into database. The Exception is as follow. no such table: inbox : , while compiling: INSERT INTO inbox(from_num, content, date1, time1) VALUES(? , ?, ?, ?); Presumably, you have no table named inbox in your database. Double-check your code

[android-developers] Maximum size of Image attachment?

2009-10-01 Thread Isuru Samaraweera
Anybody knows the maximum size of a image which can be attached in a email sent through Android??? Thanks Isuru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Activate network on debug device

2009-10-01 Thread Markus
Hello, I developer a android app. Today I get the HTC hero for testing. I installed the driver and can start the app on the device. The problem is that I need a network connection. I am connect via usb to my desktop computer. Can the device that is on usb connect use my i-net connection to send

[android-developers] Re: Clickable URLs in EditText when using ArrowKeyMovementMethod

2009-10-01 Thread Abhilash
*bump* On Sep 25, 9:13 am, Abhilash abhilash.ramakris...@gmail.com wrote: Is there a way to make URLs in a EditText clickable when the MovementMethod is set to ArrowKeyMovementMethod? ~Abhilash --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] android:launchMode=singleInstance pros AND cons

2009-10-01 Thread Chris
What are advantage and disadvantage of applying android:launchMode=singleInstance in the android.manifest file. Will it hamper the services in the application? And how is it related to the performance of the application? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Center TextView between other two widgets

2009-10-01 Thread Mark Murphy
Hi, I have a horizontal LinearLayout in which I have a button, text1 and text2. I want the button to be on the left, text2 on the right and text1 centered between them, like in the following diagram ( | is edge of the screen, - is empty space): | BUTTON---TEXT1TEXT2 |

[android-developers] Custom Views Timerview

2009-10-01 Thread andr0id
Hi everyone, I've made a simple countdown timer and I would like to use it as a custom view in my xml layout. The view works perfectly well if i add it manually like this: this.myTimerView = new TimerView(this); layout.addView(myTimerView); However when I use it in the xml file, the program

[android-developers] java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
Hello, i get an OutOfMemoryError in my app after changing the orientation. I have read, that if have to use Context.getApplicationContext() instead of a normal activity context?? My java file looks like: class . { private MapView mapView; onCreate() { ... mapView =

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
Here my logcat: E/dalvikvm-heap( 961): Out of memory on a 167772196-byte allocation. I/dalvikvm( 961): main prio=5 tid=3 RUNNABLE I/dalvikvm( 961): | group=main sCount=0 dsCount=0 s=N obj=0x4001ab08 self=0xbc60 I/dalvikvm( 961): | sysTid=961 nice=0 sched=0/0 handle=-1343996920

[android-developers] Re: MapView Overlays

2009-10-01 Thread Ne0
Not had any response, but my solution is to add a bit of intelligence to my activity to only add the overlays that would be displayed on the map currently visible by the map view. I have no idea about how the mapView goes about doing this, but it appears to be really slow at doing so. So i am

[android-developers] Gestures and ListView (as seen in a keynote of Google I/O)

2009-10-01 Thread Marc Reichelt
Hi there! I have seen a small scene from http://www.youtube.com/watch?v=S5aJAaGZIvk at timecode 1:23:30 - letters are recognized by being drawn on the screen. Does anybody know how this works, or where I can find an easy example? Great thanks in advance regards Marc Reichelt ||

[android-developers] Capture large image

2009-10-01 Thread Isuru Samaraweera
Hi All, I want to capture much larger image than the current small image captured by the android g1 phone camera.Any clue??? Thanks Isuru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Camera and Surface problems with 1.6

2009-10-01 Thread Anders Johansson
Hi Tom, It does indeed seem like we're in the same situation. I'm going to play around some more with the position, size and visibility of my PUSH_BUFFERS surface to see what works best. All in all though, I completely agree with your conclusion...this is a hack, and there's no telling how long

[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)

2009-10-01 Thread alex
Which it does. On Sep 30, 6:44 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: The only fair solution would be to make sure the judging app doesn't function on 1.6 -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Custom Views Timerview

2009-10-01 Thread Gopal Biyani
If you can send the exact exception from log cat, then it will be easy to find error. On Thu, Oct 1, 2009 at 8:42 AM, andr0id sgrang...@gmail.com wrote: Hi everyone, I've made a simple countdown timer and I would like to use it as a custom view in my xml layout. The view works perfectly

[android-developers] Re: MapView Overlays

2009-10-01 Thread Mika
What you could try is to use just one instance of your Overlay subclass that includes all the 60 icons that you want to show on the map. -Mika On Oct 1, 4:08 pm, Ne0 liamjamesalf...@googlemail.com wrote: Not had any response, but my solution is to add a bit of intelligence to my activity to

[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)

2009-10-01 Thread Maps.Huge.Info (Maps API Guru)
On Sep 30, 11:00 am, ander...@phdgaming.com ander...@phdgaming.com wrote: The second round of judging also includes user judging - 40% of the outcome if I remember correctly. I believe you are incorrect on this.  This first round of judging is user judging, and makes up 40% of an apps

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Mika
From the stack trace it seems that your trying to allocate 160 MB of memory. And for one app the max heap size in Android is 16 Mb (if i remember correctly). That's why the outofmemoryerror. Don't know why are you allocating that much memory though?? -Mika On Oct 1, 3:43 pm, Stefan

[android-developers] Repairing the 1.6 install

2009-10-01 Thread Troglodad
I understand that the system images made available wqere the wrong ones, but what about the recovery image I used to update? Mine reads Build Number dream_devphone-userdebug 1.6 DRC83 14271 test- keys I reckon test keys means it's the wrong damn one. I say damn as I don't relish the idea of

[android-developers] Re: Camera and Surface problems with 1.6

2009-10-01 Thread Tom Gibara
1. There's a callback for receiving viewfinder data, but it never occurred to the designer that 3rd parties might want to use that _instead_ of letting the framework draw it directly to a surface. I agree, it seems like an obvious use-case. Given the high quality of many of the Android APIs

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
Hi, On Oct 1, 4:07 pm, Mika mika.ristim...@tkk.fi wrote: From the stack trace it seems that your trying to allocate 160 MB of memory. And for one app the max heap size in Android is 16 Mb (if i remember correctly). That's why the outofmemoryerror. Don't know why are you allocating that much

[android-developers] Re: MapView Overlays

2009-10-01 Thread Ne0
Thanks for your response Mika, but unless i am misunderstanding what you are saying, it is doing just that, that causes the laggy result. When i let the Overlay (super class) and map view handle which overlays should be visible in the mapView, it becomes so slow it is unusable. Liam On Oct 1,

[android-developers] Re: How to create new APN setting

2009-10-01 Thread muhammad.rayhan
a week passed by, still no response guys?? Or maybe it is not possible at all? Thx On Sep 23, 7:50 pm, muhammad.rayhan saviour...@gmail.com wrote: Hello All! This is my first post  . I'd like to know how to add newAPNconfiguration programmatically in my android program. Is it possible or

[android-developers] Re: MapView Overlays

2009-10-01 Thread polyclefsoftware
Do you mind sharing what type of app it is? Why are you rendering 60 overlays at a time? Could the problem simply be solved by showing 10 overlays at a time and just prompting the user to search for more if those 10 do not meet their needs? On Sep 28, 8:51 am, Ne0 liamjamesalf...@googlemail.com

[android-developers] Re: Dynamic Image loading from Resources in ImageView

2009-10-01 Thread zeeshan
Hi Dear, i need a similar solution like R.drawable.+myVairable for my stateDrawable. i have 2 stateButtons defined in res/Drawable/statebutton1.xml and res/Drawable/statebutton2.xml now i need to use a variable for Button image like Button.setBackgroundResource(R.drawable.variablename) i

[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)

2009-10-01 Thread ander...@phdgaming.com
From http://code.google.com/android/adc/adc2_terms.html Ooops, looks like I had it wrong. Thanks for the correction - had missed that previously. :) This does present a bit of an interesting situation. The HTC Tatoo coming out in October has a 240X320 screen the smallest of any mainstream

[android-developers] Re: A question about rtsp Streaming

2009-10-01 Thread ParanoidAndroid
I also think that this is a wireless problem, although Google does not think so: http://code.google.com/p/android/issues/detail?id=2302can=1q=rtsp%20wlancolspec=ID%20Type%20Status%20Owner%20Summary%20Stars On 19 Sep., 18:25, yjshi shiyaju...@gmail.com wrote: Hi,all.        I met a very strange

[android-developers] Re: Android 1.6 on ADP1 Force close

2009-10-01 Thread Guillaume Perrot
Everything work as expected for me including GTalk and Market. Maybe because I performed a factory reset after upgrade. On Oct 1, 12:30 pm, babaroga_srb mikalac...@gmail.com wrote: Thanks for the reply! I have checked the group you provided, seems that htc placed wrong files for download.

[android-developers] Re: MapView Overlays

2009-10-01 Thread Ne0
Essentially its a tracker, one part of the app tracks gps location and logs it to a file, the other part loads the file into a mapView with the readings (taken every 10 or however many seconds you like), essentially loading the route you took. This is for using when going off road, i am into

[android-developers] Views - Orientation Change

2009-10-01 Thread Vijay
Do Views know changes in orientation? In my case, I create popups from TextView and need to know when the orientation changes(porttrait-- landscape). I cannot depend on activity's onOrientationChange. Thanks. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Beowolve
From the stack trace it looks like the memory allocation is done inside the Map.resize function. So you most likely set a enormous size after the orientation change to your mapview. Adding some Log.i functions might narrow it down to the source of the problem. On 1 Okt., 16:18, Stefan

[android-developers] Re: NumberFormat and comma as decimal separator

2009-10-01 Thread Gerald
Thanks for the comments, I check with my user in Germany and he confirmed that he cannot type the comma into a decimal field in Android. The issue is arising for me because when I copy the text into the edit field I convert it into a localized String which has the comma in it. Once this gets into

[android-developers] Re: Views - Orientation Change

2009-10-01 Thread Vijay
Just want to destroy popups when the orientation changes. On Oct 1, 10:01 am, Vijay vijay.meenakshisunda...@gmail.com wrote: Do Views know changes in orientation? In my case, I create popups from TextView and need to know when the orientation changes(porttrait-- landscape). I cannot depend

[android-developers] Unswapped raw sensor orientation values?

2009-10-01 Thread RS
Does this still work? I don't see event value array lengths larger than 3 ever. From: http://developer.android.com/reference/android/hardware/SensorListener.html#onSensorChanged(int,%20float[]) IMPORTANT NOTE: The axis are swapped when the device's screen orientation changes. To access the

[android-developers] Re: Contact Photo in LiveFolder

2009-10-01 Thread nEx.Software
Arg! So, I found the bug. Kind of. Somehow, all get calls (getLong (), getBlob(), and of course getString()) on my Cursor are being treated as getString(). This makes no sense to me at all. Why are they not getting directed to the correct functions? On Sep 30, 12:14 pm, nEx.Software

[android-developers] Re: Application object life cycle.

2009-10-01 Thread gnugu
Thanks Dianne for your answers. My problem regarding the database is that I need it during the lifetime of the application. Now when you say that Application.onTerminate() is not normally called, I have no place to close it, other then open_and_close every time I need it. Would that be a

[android-developers] Re: DATE_FORMAT (System.Settings) returns null since 1.6 (Donut)

2009-10-01 Thread Max_well
I think (hope) it's an emulator bug. I filled a bug btw : http://code.google.com/p/android/issues/detail?id=3973 Simon On Oct 1, 7:44 am, EboMike ebom...@gmail.com wrote: Settings.System.getString(resolver, Settings.System.DATE_FORMAT) returns null if the user never made a selection. If

[android-developers] Re: DATE_FORMAT (System.Settings) returns null since 1.6 (Donut)

2009-10-01 Thread EboMike
Unlikely, since I suddenly got a bunch of one-star uh appilcatoin doesnt run under 1.6 lame ratings. Well, if I could reply, I'd say that there is no official 1.6 out yet, but still. Assuming MM-dd- if the result is either null or an empty string fixed the problem. -Mike On Oct 1, 9:13 

[android-developers] Re: Contact Photo in LiveFolder

2009-10-01 Thread nEx.Software
Finally got it to work. I needed to override fillWindow in my MatrixCursor and tell it to not get String values for every column. On Oct 1, 8:35 am, nEx.Software email.nex.softw...@gmail.com wrote: Arg! So, I found the bug. Kind of. Somehow, all get calls (getLong (), getBlob(), and of course

[android-developers] Re: Application object life cycle.

2009-10-01 Thread Dianne Hackborn
onTerminate is not called because your process is killed. At that point, it doesn't matter, the kernel is going to clean up all your stuff. Like I said, if you are getting a message about it not being closed, this is because you created and use the object and released all references on it before

[android-developers] Re: android:launchMode=singleInstance pros AND cons

2009-10-01 Thread Dianne Hackborn
Don't use it. If you are asking these questions, you don't need to use it. The only two launch modes apps should use are multiple and singleTop. The others are for very unusual special cases and require great care and understanding in using them correctly. On Thu, Oct 1, 2009 at 5:38 AM, Chris

[android-developers] Re: App upgrade (with zipalign) causes force closes/disappearing of app icon

2009-10-01 Thread Dianne Hackborn
zipalign should have no impact on the running of your app at all, except for making some ways the system accesses it faster and lighter since it doesn't need to copy data out of your app. All applications built in to the system have always had zipalign run on them. On Thu, Oct 1, 2009 at 12:52

[android-developers] how to turn a color into a resource.

2009-10-01 Thread sdphil
i want to change the background image of a button either into a resource drawable or a solid color. findViewById(R.id.myView).setBackgroundResource( xyz == 0 ? R.drawable.myBackground : 0); instead of zero, i want some solid color... tia. --~--~-~--~~~---~--~~

[android-developers] Re: MapView Overlays

2009-10-01 Thread polyclefsoftware
Are you aware of My Tracks? It's a free tracker and probably does exactly what you want. If you still wanted to develop your own, there's no need to mark every reading with a separate overlay. Just use a single image for the entire route and update the image every time you update the route. That

[android-developers] Re: A question about rtsp Streaming

2009-10-01 Thread Roman ( T-Mobile USA)
Have you tried to find out whether any traffic is successfully sent out the the device using tcpdump or wireshark? Also run a tcpdump on your device to see whether you receive any rtsp streaming. Only from reading about the problem, my first guess is that whatever is causing the problem, it

[android-developers] Re: MediaPlayer PVMVErrTimeout error

2009-10-01 Thread Mark Skiba
In an attempt to get more info on the leading ERROR/PlayerDriver (26027): HandleInformationalEvent: type=28 UNHANDLED log event, I added a MediaPlayer onInfo() handler. Unfortunately, the MediaPlayer onInfo() event doesn't fire when this error occurs. Does anyone know what this PlayerDriver

[android-developers] Re: Custom Views Timerview

2009-10-01 Thread andr0id
I figured it out, the problem wasn't coming from this piece of code, my bad.. On 1 oct, 15:53, Gopal Biyani gopalbiy...@gmail.com wrote: If you can send the exact exception from log cat, then it will be easy to find error. On Thu, Oct 1, 2009 at 8:42 AM, andr0id sgrang...@gmail.com wrote:

[android-developers] Re: Android 1.6 SDK is here!

2009-10-01 Thread Peter
I'm having trouble getting rid of the permission warning for the new WRITE_EXTERNAL_STORAGE permission. Here are the instructions from the release notes: WRITE_EXTERNAL_STORAGE: Allows an application to write to external storage. Applications using API Level 3 and lower will be implicitly

[android-developers] Re: Wake Locks and the Cellular antenna...

2009-10-01 Thread Richard Schilling
Yes - this is true, which makes my dilemma more surprising and perplexing. When I have a PhoneStateListener object registered with the TelephonyManager, PhoneStateListener.onSignalStrengthChanged(int) is not called when the CPU goes to sleep, AND when I have a partial wake lock. The only way I

[android-developers] Re: New Activity from MapActivity

2009-10-01 Thread jotobjects
I think you want to be able to zoom. Call setBuiltInZoomControls. MapView mapView = (MapView) findViewById(R.id.myMapViewId); mapView.setBuiltInZoomControls(true); On Sep 30, 2:35 pm, ssun shadowatthe...@gmail.com wrote: Hijotobjects, Thanks for your reply, I just realize

[android-developers] Re: Adding a JAR to my Android project?

2009-10-01 Thread jotobjects
Thanks - That saves me trying it out in an AVD target that does not include the maps API shared library. I do not get the rationale for Google not making the library available so the API could be used without the device dependency. Is there a way to find out which devices have the Maps API

[android-developers] Re: Issue in broadcasting SMS through Android

2009-10-01 Thread Joe
Right, I don't want my phone to be sending thousands of sms without letting me know either. On Oct 1, 3:27 am, Cédric Berger cedric.berge...@gmail.com wrote: On Wed, Sep 30, 2009 at 18:25, Nainos nainos.sm...@gmail.com wrote: Hi! There seems to be a limit to the number of SMS that can be

[android-developers] Re: Android 1.6 SDK is here!

2009-10-01 Thread Dianne Hackborn
Are you using android:targetSdkVersion=4? The namespace prefix is important. As long as your manifest has a uses-sdk android:targetSdkVersion=4/ under the manifest tag, you won't be forced to have the permissions. On Thu, Oct 1, 2009 at 10:52 AM, Peter mr.bald...@gmail.com wrote: I'm having

[android-developers] Re: how to turn a color into a resource.

2009-10-01 Thread Dianne Hackborn
Use setBackgroundColor() On Thu, Oct 1, 2009 at 10:00 AM, sdphil phil.pellouch...@gmail.com wrote: i want to change the background image of a button either into a resource drawable or a solid color. findViewById(R.id.myView).setBackgroundResource( xyz == 0 ? R.drawable.myBackground : 0);

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Beowolve
Actually I thought you set the size by your self, didn't notice that you posted the xml file. So you could have wrote the size to logcat with Log. So in this I don't know whats causing the view to consume memory that way it does. On 1 Okt., 17:25, Stefan ebay-dah...@web.de wrote: Hi On Oct 1,

[android-developers] Re: Eclipse crashing after update to ADT 0.9.3 and SDK 1.6

2009-10-01 Thread JMichel
After trying the revert option of Eclipse it seems it does not working correctly. I selected the latest version with the XML editor 3.04, then Eclipse restarts and the versions of all my plugins are the same. XML editor stays to 3.1. Anyone with the same problem? On Sep 30, 10:20 am, JMichel

[android-developers] DDMS doesn't show wake locks.

2009-10-01 Thread Richard Schilling
I can't get DDMS to show the wake locks on a device when it's tethered. Does anyone else have this problem? Thanks. Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Android 1.6 on ADP1 Force close

2009-10-01 Thread Andrew
On Oct 1, 4:44 pm, Guillaume Perrot guillaume.p...@gmail.com wrote: Everything work as expected for me including GTalk and Market. Maybe because I performed a factory reset after upgrade. The problem is that your device is still using the (wrong) test keys instead of the release keys, so you

[android-developers] Re: lock_layer() Warnings

2009-10-01 Thread nstegg
Upon further testing, it seems to have been my use of the android.os.SystemClock time methods instead of using System.currentTimeMillis() in my game loop thread timing, which is what I had originally used (read somewhere to use the android ones instead). At any rate, having reverted back, I am no

[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)

2009-10-01 Thread ander...@phdgaming.com
It would appear 1.6 is now being rolled out to all T-mobile users ( http://forums.t-mobile.com/tmbl/board/message?board.id=AndroidGeneralthread.id=6733 and most android news sites). Ouch for those who happen to have application problems under the new release.

[android-developers] Re: Android 1.6 SDK is here!

2009-10-01 Thread Peter Jeffe
On Sep 15, 5:22 pm, Xavier Ducrohet x...@android.com wrote: http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here... And today T-Mobile is starting to roll it out to customers. Does anyone else think 2 weeks is a bit short of a time for developers to ensure that their app works

[android-developers] Re: Eclipse crashing after update to ADT 0.9.3 and SDK 1.6

2009-10-01 Thread Ray da Costa
I had something similar, the procedures adopted: 1 - made sure that the version he was using was a 1.6 jdk 2 - I downloaded the ADT 0.9.3, did not update via the site, I place the installation process. Ai ran smoothly. The eclipse has a lot of it, sometimes it takes the jdk that exist in the

[android-developers] where is sleep/screen behavior documented?

2009-10-01 Thread Richard Schilling
I'm looking around and trying to find out where sleep behavior is documented - and I mean in the general sense. When the phone is left alone: * Sometimes the phone screen dims and doesn't shut off. * Sometimes the phone screen goes dark in five seconds * Sometimes the menu lock happens. *

[android-developers] Re: ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-10-01 Thread David Bernstein
Found the problem due to problem with release build scripts. Diagnosis: pilot error. DOH! On Sep 30, 6:33 pm, David Bernstein dbb.post...@gmail.com wrote: I have some code that starts another activity based on a menu item selection:     public boolean onOptionsItemSelected( MenuItem item ) {

[android-developers] Re: ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-10-01 Thread David Bernstein
Found the problem due to problem with release build scripts. Diagnosis: pilot error. DOH! On Sep 30, 6:33 pm, David Bernstein dbb.post...@gmail.com wrote: I have some code that starts another activity based on a menu item selection:     public boolean onOptionsItemSelected( MenuItem item ) {

[android-developers] Re: lock_layer() Warnings

2009-10-01 Thread nstegg
My bad, the above mentioned solution did not correct my issue after all, I just happened to have a lucky run, or perhaps I didn't wait long enough. Continuing to check for a solution. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: where is sleep/screen behavior documented?

2009-10-01 Thread Yusuf Saib (T-Mobile USA)
One place to start is to learn about the PowerManager: http://developer.android.com/reference/android/os/PowerManager.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: where is sleep/screen behavior documented?

2009-10-01 Thread Dianne Hackborn
Unless there is a third party app messing with you, there is something broken with your software. The typical behavior is: - Screen dims after the screen-off timeout sets in preferences, and then turns off (and locks) a few seconds later. - Screen turns off and locks with you press them end call

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
hi, i have test it without the mapView and my app work fine after i rotate the emulator. so the problem is the mapView. Can the display size a problem?? Because the button, which is over the MapView (if it will be activated), is positionated at the button of the display. But than i think, the

[android-developers] Re: ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-10-01 Thread David Bernstein
Found the problem due to problem with release build scripts. Diagnosis: pilot error. DOH! On Sep 30, 6:33 pm, David Bernstein dbb.post...@gmail.com wrote: I have some code that starts another activity based on a menu item selection:     public boolean onOptionsItemSelected( MenuItem item ) {

[android-developers] Re: App upgrade (with zipalign) causes force closes/disappearing of app icon

2009-10-01 Thread fadden
On Oct 1, 12:52 am, SCMSoft scms...@gmail.com wrote: Almost all our users complain that after upgrading to the newest version of our Camera Pro app, either the app crashes or the icon is not showing up anymore in the home screen. The problem seems to be gone after deinstalling and

[android-developers] does Android support displaying HTML, javascript, etc. within an application?

2009-10-01 Thread sherry
We have an Android application. Now I need to conduct a user survey for this application. Our app will display a list of selections, etc. This view and it's control will be data driven by (a) document(s) downloaded from a server. What Android utilities I can use to displaying HTML, javascript,

[android-developers] Re: does Android support displaying HTML, javascript, etc. within an application?

2009-10-01 Thread Mark Murphy
We have an Android application. Now I need to conduct a user survey for this application. Our app will display a list of selections, etc. This view and it's control will be data driven by (a) document(s) downloaded from a server. What Android utilities I can use to displaying HTML,

[android-developers] Re: EditText`s hint disappeared when Input Type is set.

2009-10-01 Thread ponkin
Ok I think I`ve found the cause of bug, at least, you can reproduce it on your SDK. Just set EditText`s Input Type attribute to, for example, textPassword and then set Gravity attribute to center or center_horizontal - these steps will make EditText`s hint disappear. If you switch Gravity to any

[android-developers] Application Manager Force Close

2009-10-01 Thread Emiliano Schiano
Hello Everybody, I´m having the following issue. The ApplicationManager is killing the process of my application when the user presses on FORCE STOP on the Aplication Manager. MENU- SETTINGS - APPLICATIONS - MANAGE APPLICATIONS - My APP . FORCE STOP. According to the documentation a broadcast

[android-developers] Re: Application Manager Force Close

2009-10-01 Thread Romain Guy
So you want to restart your app when the user just explicitly said he didn't want to run your app anymore?? Don't do that. On Thu, Oct 1, 2009 at 2:13 PM, Emiliano Schiano emylya...@gmail.com wrote: Hello Everybody, I´m having the following issue. The ApplicationManager is killing the process

  1   2   >