Re: [android-developers] Re: Activity lifecycle... still a mystery to me

2011-03-13 Thread Dianne Hackborn
2011/3/12 Indicator Veritatis mej1...@yahoo.com Actually, comparing with the text, I don't think it means just what is says. There is an asymmetry in the states, an asymmetry I believe is deliberate, if poorly explained: that between onPause and onResume: when you enter onPause, you may still

Re: [android-developers] Re: Global Variables

2011-03-13 Thread Dianne Hackborn
That's strange, it works for me. On Sat, Mar 12, 2011 at 11:42 PM, Indicator Veritatis mej1...@yahoo.comwrote: I get no such project when I try to go to your link. On Mar 12, 1:05 am, Dianne Hackborn hack...@android.com wrote: Oh good lord, there is nothing intrinsically evil about globals

[android-developers] resources directory for 320x400 and 800x854

2011-03-13 Thread lruck
resource handling: how can iam add resources for the resolution of 320x400 and 800x854? the image can't be resize or crop at realtime from device until they looks not good. all images are fullscreen background images or splash picture. the directorys drawable-l/m/h dpi only

Re: [android-developers] Re: Activity lifecycle... still a mystery to me

2011-03-13 Thread Kostya Vasilyev
13.03.2011 10:29, Indicator Veritatis пишет: I want to perform certain actions when the BACK or HOME keys are pressed, and ignore cases where a third-party activity simply pops up on part of the screen and then goes away. If you find yourself needing this, perhaps you need a

[android-developers] SQLite Database - Multiple Tables

2011-03-13 Thread Brad Stintson
How to insert multiple tables which have few fields in common? -- 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

Re: [android-developers] SQLite Database - Multiple Tables

2011-03-13 Thread Kostya Vasilyev
Multiple inserts, one at a time. Preferably using a transaction. 13.03.2011 12:58 пользователь Brad Stintson geek.bin...@gmail.com написал: How to insert multiple tables which have few fields in common? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Global Variables

2011-03-13 Thread William Ferguson
Dianne, I also get 404 No such project On Mar 13, 6:42 pm, Dianne Hackborn hack...@android.com wrote: That's strange, it works for me. On Sat, Mar 12, 2011 at 11:42 PM, Indicator Veritatis mej1...@yahoo.comwrote: I get no such project when I try to go to your link. On Mar 12, 1:05

Re: [android-developers] SQLite Database - Multiple Tables

2011-03-13 Thread Brad Stintson
How to use transaction and how to implement the concept of foreign key? 2011/3/13 Kostya Vasilyev kmans...@gmail.com Multiple inserts, one at a time. Preferably using a transaction. 13.03.2011 12:58 пользователь Brad Stintson geek.bin...@gmail.com написал: How to insert multiple tables

[android-developers] Re: How to change animation velocity on SlidingDrawer

2011-03-13 Thread Bertrand Lebonnois
http://groups.google.com/group/android-developers/browse_thread/thread/a7d0102811474bfe/ 2011/3/11 bertrand hellobertr...@gmail.com Hey everyone. I'm using a sliding drawer and I just want to change animation velocity. But how ? How I can do that ? I don't see public attributes and

Re: [android-developers] ANR keyDispatchingTimedOut on android/com.android.internal.app.RingtonePickerActivity

2011-03-13 Thread San Zhang
Today, I got a ANR error, too. I want to know how to read this error message. 2011/3/1 Sven sirdarthna...@googlemail.com Hello! Today I got a error report in my market account for my application. It is listed under Freeze. I use the RingtonePicker in my preferences. Any chance I can do

Re: [android-developers] SQLite Database - Multiple Tables

2011-03-13 Thread Kostya Vasilyev
SQLite has foreign key support starting with version 3.6.19. http://www.sqlite.org/foreignkeys.html Some versions of Android have SQLite versions earlier than that - someone posted a breakdown recently, check the list archives. For earlier versions, it works pretty well to do something like:

[android-developers] how to write a view object into a parcelable class

2011-03-13 Thread mani
Hi all, Basically i am trying to pass a view instance from one process to another process. I need to write a view instance into a parcelable class. I am not sure how to write a view data into parcel object. Parcel instance takes writeByte(byte), readByte(), writeDouble(double),

[android-developers] Re: Log every action/event to an external file

2011-03-13 Thread Pedro Teixeira
Hi there, Thank you for the feedback. I actually thought there was something to automatically log this information, I read some project (Microlog for Android) but I must have misunderstood. So basically what you're saying is that I'll have to log every piece of code that I actually want to a

[android-developers] Re: XOOM

2011-03-13 Thread Lance Nanek
Adb to Xoom worked on my Windows 7 laptop. I used this: Download Motorola 4.9.0 Driver with MotoHelper* From their USB and PC Charging Drivers page: http://www.motorola.com/consumers/v/index.jsp?vgnextoid=bda09ec8009a0210VgnVCM108806b00aRCRD And the INI modifications to the Android SDK

[android-developers] Re: Question about registering for location updates

2011-03-13 Thread lbendlin
You have to unregister. Otherwise you end up with multiple listeners for the same provider. On Mar 12, 4:05 pm, Danny S. danny.schi...@googlemail.com wrote: Hi, I have to register my locationListener for location updates using the LocationManager. Now the user have the change to set values in

[android-developers] Re: abortBroadcast

2011-03-13 Thread Lance Nanek
Judging from the name of the class, maybe it is an attempt to stop an SMS by working with android.provider.Telephony.SMS_RECEIVED? Unrelated, but does Toast#setDuration even work with raw numbers like that? I thought it takes one of two constants for long or short. I guess the name and

[android-developers] Paint single Path object with Xfermode

2011-03-13 Thread Menion
Hi, I have one path object (for example recorded track). I'm drawing it on canvas. When I set semi-transparent color to paint object, whole path is colored like this. This is correct. Imagine that you was walking on some rectangle area from one side to another, few times you were on same

[android-developers] Re: Log every action/event to an external file

2011-03-13 Thread lbendlin
There are examples for custom exception handlers that make the stack trace nicer to read and allow to save the result to SD card. Users can then decide if they want to help you and send you these files. Market has the option to show the raw stack traces but I found these insufficient for

[android-developers] Re: Log every action/event to an external file

2011-03-13 Thread Pedro Teixeira
This is a thesis project so I'm actually conducting the user testing on a singular device that I will have access to the information I need. That's a thing to consider then. Thanks for the feedback On Mar 13, 12:23 pm, lbendlin l...@bendlin.us wrote: There are examples for custom exception

[android-developers] passing arrays between classes using intent

2011-03-13 Thread Chetan Singh Bisht
hi, i am developing a final year project where i need to retrieve details of hospitals like name ,address, location(in terms of latitude and longitude) from a server and display them on a mapconnectivity has been established and i am able to retrieve the values in the from of array like

[android-developers] passing arrays between classes using intent

2011-03-13 Thread Chetan Singh Bisht
hi, i am developing a final year project where i need to retrieve details of hospitals like name ,address, location(in terms of latitude and longitude) from a server and display them on a mapconnectivity has been established and i am able to retrieve the values in the from of array like

Re: [android-developers] how to write a view object into a parcelable class

2011-03-13 Thread Mark Murphy
On Sun, Mar 13, 2011 at 7:26 AM, mani smanikanda...@gmail.com wrote:  Basically i am trying to pass a view instance from one process to another process. I can think of no valid scenario where this would be the appropriate design. First, unless these are multiple applications, there should not

Re: [android-developers] passing arrays between classes using intent

2011-03-13 Thread Mark Murphy
On Sun, Mar 13, 2011 at 8:49 AM, Chetan Singh Bisht chetanbish...@gmail.com wrote: hi, i am developing a final year project where i need to retrieve details of hospitals like name ,address, location(in terms of latitude and longitude) from a server and display them on a mapconnectivity has

[android-developers] Renderscript vs WebGL

2011-03-13 Thread John Davis
Anyone know the strategy for 3D on Android? Is the primary platform going to be Renderscript or WebGL? Also, is there a PC emulator for Honeycomb? http://www.pcprogramming.com JD -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: how to write a view object into a parcelable class

2011-03-13 Thread mani
thanks for your response!! I will add more into the details, what scenario i am in. I am trying to pick the Notification view from status bar and put into another application. Its our requirement that for our product we are planning to remove the notification view from status bar and keep

Re: [android-developers] Re: how to write a view object into a parcelable class

2011-03-13 Thread Mark Murphy
On Sun, Mar 13, 2011 at 9:27 AM, mani smanikanda...@gmail.com wrote: I am trying to pick the Notification view from status bar and put into another application. That makes no sense for an SDK application. Its our requirement that for our product we are planning to remove the notification

[android-developers] Re: how to write a view object into a parcelable class

2011-03-13 Thread mani
okay.. Thanks for your advise. On Mar 13, 6:33 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Mar 13, 2011 at 9:27 AM, mani smanikanda...@gmail.com wrote: I am trying to pick the Notification view from status bar and put into another application. That makes no sense for an SDK

[android-developers] RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Marshall Farrier
I'm trying to make a RadioGroup with active games where there is a message Your move! beside those games where it is your move. So, I modified my RadioGroup to have LinearLayouts with horizontal orientation as immediate children, then nest the RadioButtons inside those along with a TextView that

Re: [android-developers] RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Mark Murphy
On Sun, Mar 13, 2011 at 10:33 AM, Marshall Farrier marsh...@marshallfarrier.com wrote: I’m trying to make a RadioGroup with active games where there is a message “Your move!” beside those games where it is your move. So, I modified my RadioGroup to have LinearLayouts with horizontal orientation

[android-developers] Re: Log every action/event to an external file

2011-03-13 Thread Pedro Teixeira
I found a really helpufll class that helps me easilly to Log into a a .log file on the SDCARD and all I have to do is to call it whenever I need it during my application. You can actually almost creat a script of the user action. Thank you very much for your input that helped me finding this. P

Re: [android-developers] RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Kostya Vasilyev
13.03.2011 17:33, Marshall Farrier ?: Unfortunately, when I put the LinearLayout between the RadioButtons and the RadioGroup in the hierarchy, the RadioGroup OnClickListener() stopped working. You can always mange RadioButton states without a RadioGroup at all, by setting an

[android-developers] Mapview ArrayIndexOutOfBoundsException in java.util.Vector.elementAt

2011-03-13 Thread Ricky
I really need some help. I have a report of a force close with this stack trace, and I cant find any information on how to prevent this type of error. java.util.Vector.elementAt(Vector.java:331) com.google.googlenav.map.Map.drawTile(Unknown Source)

[android-developers] Re: RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Aisthesis
Thanks very much for the fast responses! I don't like the string concatention because the UI looks way better if I can make the message text a different color and size. Any suggestions on where to look to make my RadioGroup smart enough to look down the hierarchy or to drop the RadioGroup but

[android-developers] Dynamic rows in a TableLayout

2011-03-13 Thread New Developer
Hi I 'm trying to add dynamic rows to a table layout I current have an image button (to add) and then it runs the code TextView txt02 = new TextView(row.getContext()); txt02.setId(102000 + table.getChildCount() + 1); txt02.setTextSize(TypedValue.COMPLEX_UNIT_PT, 10);

Re: [android-developers] Re: RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Kostya Vasilyev
13.03.2011 18:14, Aisthesis пишет: to drop the RadioGroup but keep the RadioButtons and manage their states by setting an onCheckedChangeListener? You will need something that implements OnCheckedChangeListener, might as well be your activity. Also something to store the currently selected

Re: [android-developers] Re: How to share data among different devices

2011-03-13 Thread Mark Murphy
On Sun, Mar 13, 2011 at 11:41 AM, ez qzh...@gmail.com wrote: I am looking for out of box solution from Google. There is none. The closest thing is BackupEngine, but that is not a sync solution. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Making Views the Same Width

2011-03-13 Thread Jay Bloodworth
Is there a standard idiom for an Activity to enforce that two of it's child views have the same width in cases where a LinearLayout won't do it (like two horizontally adjacent buttons)? I assume it would involve something like overriding onDraw, but perhaps there is another entry point that is

[android-developers] Re: How to share data among different devices

2011-03-13 Thread ez
I am looking for out of box solution from Google. Anyone knows if any of Google services can do this without setting up my own web application. Thanks On Mar 10, 11:27 am, Greg Donald gdon...@gmail.com wrote: On Thu, Mar 10, 2011 at 11:11 AM, ez qzh...@gmail.com wrote: We don't have a remote

[android-developers] Re: RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Aisthesis
awesome, tx Kostya! On Mar 13, 10:49 am, Kostya Vasilyev kmans...@gmail.com wrote: 13.03.2011 18:14, Aisthesis пишет: to drop the RadioGroup but keep the RadioButtons and manage their states by setting an onCheckedChangeListener? You will need something that implements

[android-developers] Yarrr the pirates be on facebook sharin' yer paid apps

2011-03-13 Thread Robert Green
http://www.facebook.com/profile.php?id=1113885654 using site http://mobilesat.blogspot.com/ to syndicate files from mediafire. He's posting to all of the device fan pages with links to his site which is full of commercial APKs for free. Please report this person for spam/scam if it affects you

[android-developers] ANN: Mock Objects on Android with Borachio

2011-03-13 Thread paulbutcher
One of my biggest frustrations with writing code for Android has been the fact that none of the current Java mocking frameworks work on Android’s Dalvik VM. I recently released Borachio a native Scala mocking framework which does work on Android. Because Borachio is written in Scala, you’ll need

[android-developers] Re: Global Variables

2011-03-13 Thread Brill Pappin
I think Java still has a variant of the GOTO, but I have never seen it used once in about 18 years of java development! - Brill Pappin On Mar 9, 6:01 pm, Kostya Vasilyev kmans...@gmail.com wrote: Oh, come on, guys, it's not that bad :) Sometimes I even miss a good old-fashioned goto. --

[android-developers] Re: Global Variables

2011-03-13 Thread Brill Pappin
public static final apiKey = xxx; now you can access it as: String key = globalVars.apiKey; However, not that this is not a variable, its a constant. According to convention, it should be in upper case: public static final API_KEY = xxx; - Brill Pappin On Mar 9, 8:11 pm, David

[android-developers] Rooting your device

2011-03-13 Thread Raghav Sood
HI everyone, Does anyone know if my rooting my LG Optimus P500 void its warranty? I live in India and have bought the device here. Thanks -- Raghav Sood http://www.raghavsood.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Global Variables

2011-03-13 Thread Brill Pappin
That is a very good article and entertaining to read.. every one of us should be reading it and understanding it before we're allowed to call ourselves programmers :) - Brill Pappin On Mar 9, 8:35 pm, fadden fad...@android.com wrote: On Mar 9, 2:13 pm, TreKing treking...@gmail.com wrote: On

[android-developers] Re: Yarrr the pirates be on facebook sharin' yer paid apps

2011-03-13 Thread Brill Pappin
mediafire will take it down, but you need to send them a DMCA takedown notice. I'm sure someone here has some template notice that can be used. - Brill Pappin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Status Bar Notifications

2011-03-13 Thread Brill Pappin
Why is the analytics library mixed up with a UI library like that? Sounds like a maintenance nightmare. - Brill Pappin -- 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

Re: [android-developers] Re: Log every action/event to an external file

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 9:42 AM, Pedro Teixeira pedroteixeir...@gmail.comwrote: I found a really helpufll class that helps me easilly to Log into a a .log file on the SDCARD and all I have to do is to call it whenever I need it during my application. Er ... what did you find and where did

[android-developers] Re: Buyer’s Currency

2011-03-13 Thread Brill Pappin
Yah, for some reason Google doesn't take Canadian developers very seriously. Likely they simply forgot the dog (us canucks) when they went on vacation (turned on the feature)! We seem to have some kind of special place in the Google world where we have partial everything. /rant -- You

Re: [android-developers] Re: Install % drop again?

2011-03-13 Thread Brill Pappin
Wow, I was worried about one of my keyboards dropping from 65% to 60%, but if others are seeing a 35%-40% average, I guess I should be happy! - Brill Pappin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Question about registering for location updates

2011-03-13 Thread Danny S.
Thank you very much! I'll do this ;-) An other and my last question is: if I have set the distance AND time interval - must both conditions be true that onLocationChanged() is called, or only one? (AND or OR?) Thanks a lot! -Danny On 13 Mrz., 13:16, lbendlin l...@bendlin.us wrote: You have to

Re: [android-developers] Re: Buyer’s Currency

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 12:51 PM, Brill Pappin br...@pappin.ca wrote: Yah, for some reason Google doesn't take Canadian developers very seriously. You say that as if they take the rest of us very seriously ... =P

Re: [android-developers] passing arrays between classes using intent

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 7:49 AM, Chetan Singh Bisht chetanbish...@gmail.com wrote: now i need to pass these values from an activity class to map activity class..i have used bundle to pass variables but i have no clue how to pass integer and string arrays and how to retrieve them in the

Re: [android-developers] Dynamic rows in a TableLayout

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 10:35 AM, New Developer secur...@isscp.com wrote: Thanks in advance I did not see a question. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

Re: [android-developers] Rooting your device

2011-03-13 Thread Harsh J
Raghav, On Sun, Mar 13, 2011 at 11:02 PM, Raghav Sood raghavs...@gmail.com wrote: Does anyone know if my rooting my LG Optimus P500 void its warranty? I live in India and have bought the device here. This mailing list is for android development, not device support. Please read your device's

Re: [android-developers] Re: Question about registering for location updates

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 12:56 PM, Danny S. danny.schi...@googlemail.comwrote: An other and my last question is: if I have set the distance AND time interval - must both conditions be true that onLocationChanged() is called, or only one? (AND or OR?)

Re: [android-developers] Rooting your device

2011-03-13 Thread Raghav Sood
Thanks Harsh, I know that this is a development list but I used it as a last resort. I have previously checked the manuals and written LG a mail without effect. Even their customer support couldn't answer me. On Sun, Mar 13, 2011 at 11:49 PM, Harsh J qwertyman...@gmail.com wrote: Raghav,

[android-developers] MediaPlayer.isPlaying() question

2011-03-13 Thread Ken H
Will android.media.MediaPlayer.isPlaying() return true if the MediaPlayer is paused? Ken -- 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

[android-developers] Installation unsuccesfull messages

2011-03-13 Thread John Lussmyer
I've have a few people report that that my app won't install on their phones, and they are just getting an Installation unsuccesful message. That isn't very helpful. I do have ACRA installed, and haven't received any reports from that. Any suggestions on where to look? -- You received this

Re: [android-developers] Making Views the Same Width

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 11:09 AM, Jay Bloodworth johnabloodwor...@gmail.com wrote: Is there a standard idiom for an Activity to enforce that two of it's child views have the same width in cases where a LinearLayout won't do it (like two horizontally adjacent buttons)? If you have to

Re: [android-developers] Rooting your device

2011-03-13 Thread Kostya Vasilyev
13.03.2011 21:24, Raghav Sood пишет: I know that this is a development list but I used it as a last resort. I have previously checked the manuals and written LG a mail without effect. Even their customer support couldn't answer me. You could try asking in a different way: Does making

Re: [android-developers] Installation unsuccesfull messages

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 1:27 PM, John Lussmyer johnlussm...@gmail.comwrote: Any suggestions on where to look? This may shock you, but it's an issue with the Android Market. I would direct your users here:

[android-developers] Re: Installation unsuccesfull messages

2011-03-13 Thread Ken H
Any suggestions on where to look? A possible quick fix, tell your users to: 1. Go to Settings 2. Select Applications 3. Select Manage Applications 4. Select the Market app 5. Select clear cache clear data uninstall updates 6. Back out and select Download Manager 7. Select clear data This

[android-developers] Re: Mapview ArrayIndexOutOfBoundsException in java.util.Vector.elementAt

2011-03-13 Thread Stephan Wiesner
You might have to do some catching of exceptions in your ItemizedOverlay and/or LocationOverlay classes. There are some bugs eg on Motorola phones that lead to unexpected exceptions on some phones/ versions of phones/versions of Android. I can't find the links at the moment, there is a discussion

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread Dianne Hackborn
On Sun, Mar 13, 2011 at 6:17 AM, John Davis unicom...@gmail.com wrote: Anyone know the strategy for 3D on Android? Is the primary platform going to be Renderscript or WebGL? That question makes no sense. Those two things have nothing to do with each other, except they have GL involved.

Re: [android-developers] resources directory for 320x400 and 800x854

2011-03-13 Thread Dianne Hackborn
Don't. Raw resolutions are fragile. You will need to do something to take care of resizing or cropping the image at run time to work on whatever screen you find yourself on. On Sun, Mar 13, 2011 at 1:00 AM, lruck lruckha...@gmx.de wrote: resource handling: how can iam add resources for the

[android-developers] Re: MediaPlayer.isPlaying() question

2011-03-13 Thread Ken H
What I'm really asking is for a way to test if the MediaPlayer was paused. I think my app is being paused by the OS for maybe a notification or something. It drives me up the wall when it just...stops. On Mar 13, 11:25 am, Ken H hunt1...@gmail.com wrote: Will

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread John Davis
Dianne, My perception is that WebGL support isn't even being considered on Android, is this true? Forward progress on this front has been minimal. For no touch deployment of 3D apps on Android, what should we as developers expect to see in the future? OES2.0 support in the PNaCl sandbox? A

[android-developers] Any idea for Augmented Reality??

2011-03-13 Thread Abhishek Talwar
Hey guys can anyone guide me to the path of augmented reality some nice tutorials, books ,special tips, platforms/sdk video links which can do the magic,.. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Question about registering for location updates

2011-03-13 Thread Danny S.
That was really helpful! Thanks a lot! -Danny S. On 13 Mrz., 19:20, TreKing treking...@gmail.com wrote: On Sun, Mar 13, 2011 at 12:56 PM, Danny S. danny.schi...@googlemail.comwrote: An other and my last question is: if I have set the distance AND time interval - must both conditions be

[android-developers] Re: ANR keyDispatchingTimedOut on android/com.android.internal.app.RingtonePickerActivity

2011-03-13 Thread jtoolsdev
I've seen these when running monkey when with the version of my app that has market licensing. Monkey would stop and dump reporting a crash but nothing is showing on the emulator and the app continues to run just fine. What I've read but not dug into yet is that the thread needs to be set up

[android-developers] Re: Any idea for Augmented Reality??

2011-03-13 Thread Hari Edo
On Mar 13, 3:59 pm, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: can anyone guide me to the path of augmented reality some nice tutorials, books ,special tips, platforms/sdk video links which can do the magic,.. Here you go: http://tinyurl.com/663pdl2 -- You received this message

Re: [android-developers] ANR keyDispatchingTimedOut on android/com.android.internal.app.RingtonePickerActivity

2011-03-13 Thread Dianne Hackborn
It is just the stacks of all of the Dalvik threads in your process at the time of the ANR. The ANR happens because the main thread of the process is not responding to messages, so generally you look at the main (first) thread in the list and see what it is doing. On Sun, Mar 13, 2011 at 4:03 AM,

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread Dianne Hackborn
On Sun, Mar 13, 2011 at 12:28 PM, John Davis jda...@pcprogramming.com wrote: My perception is that WebGL support isn't even being considered on Android, is this true? Forward progress on this front has been minimal. Isn't even considered? I don't even know what that means. I don't think

[android-developers] Re: Making Views the Same Width

2011-03-13 Thread Jay
Thanks. I should have been more clear. I don't want them to have to take up the whole space. I want them both to essentially wrap_content as if both had the same (wider of the two) labels. More generally, knowing how to do this kind of spacing by hand would make a RelativeLayout more useful in

Re: [android-developers] Re: Making Views the Same Width

2011-03-13 Thread Dianne Hackborn
You'll need to write your own layout manager that implements the layout algorithm you want. Writing a layout manager to accomplish a specific layout is not hard; the ones that are built into the platform look complicated because they try to handle anything reasonable you throw at them and tend to

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread John Davis
I'm curious, if you don't know anything, why are you posting on Google's behalf? On Sun, Mar 13, 2011 at 4:19 PM, Dianne Hackborn hack...@android.comwrote: On Sun, Mar 13, 2011 at 12:28 PM, John Davis jda...@pcprogramming.com wrote: My perception is that WebGL support isn't even being

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread Mark Murphy
On Sun, Mar 13, 2011 at 6:21 PM, John Davis jda...@pcprogramming.com wrote: I'm curious, if you don't know anything, why are you posting on Google's behalf? Please understand that Google makes few forward thinking statements regarding what is in and not in future versions of Android. We all

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread John Davis
Fair enough, where's the webgl section? On Sun, Mar 13, 2011 at 5:38 PM, Mark Murphy mmur...@commonsware.comwrote: On Sun, Mar 13, 2011 at 6:21 PM, John Davis jda...@pcprogramming.com wrote: I'm curious, if you don't know anything, why are you posting on Google's behalf? Please

[android-developers] peculiar or undocumented behavior of ExifInterface?

2011-03-13 Thread Bernard T. Higonnet
I have been trying to use ExifInterface and am either doing something very wrong or my subject line is correct. If I run the following code ExifInterface hoohaa; hoohaa = new ExifInterface(filename); hoohaa.saveAttributes(); on a photograph

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread Mark Murphy
Note that you replied to me directly. I am redirecting this response to the list. On Sun, Mar 13, 2011 at 7:29 PM, John Davis jda...@pcprogramming.com wrote: How do I find out if someone else is already working on the same thing? Search the archives of [android-contrib] and [android-platform].

[android-developers] Creating SQLite DB

2011-03-13 Thread David Williams
All, I am trying to create an SQLite DB but for some reason it's not working. My logic performs the following. db.openDatabase(GlobalVars.DATABASE_NAME, null, 0); This simply tries to open my DB. If the DB doesn't exist it will throw an exception, which I can check, but I would suspect

[android-developers] RSSI values

2011-03-13 Thread Pedro Duque
Hi, I trying to make a wifi meter and to get wifi signal strength I'm using the following code: WifiManager wifi = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); int rssi = wifi.getConnectionInfo().getRssi(); I get values between -40 and -90 when connection is established and

[android-developers] Background Service

2011-03-13 Thread perumal316
Hi All, I am writing an Android background service. I want it to become active when my another application is started. Any idea how do I detect the activation of another application? Should I package the application and service together? Thanks In Advance, Perumal -- You received this

Re: [android-developers] Background Service

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 8:25 PM, perumal316 perumal...@gmail.com wrote: I want it to become active when my another application is started. Any idea how do I detect the activation of another application? You don't detect another application. You start your service from your Activity. Should

[android-developers] Re: bitmap returning null

2011-03-13 Thread Goodwin
hi, I tested this in Android 2.2 emulator. it is ok. On 3月12日, 下午4时24分, vani reddy vani.redd...@gmail.com wrote: Hi, I used the below links,but still bitmap is null. I am using the below iamge url,in browser it is opening.

Re: [android-developers] Renderscript vs WebGL

2011-03-13 Thread Dianne Hackborn
It is also worth pointing out that it may be difficult to be able to contribute in this kind of area. The engineers responsible for different parts of the system also have obligations they need to deliver for upcoming releases; if someone wants to make a contribution that deeply impacts their

Re: [android-developers] Re: marketbilling project closed?

2011-03-13 Thread Zhihong GUO
Hi Dalvinder, Thanks for the answer. I am interested in the market billing of Android and want to read the source code, and I want to know if there will be big changes before I use it. I am wandering if there will be changes due to the close of the project. James 2011/3/11 Dalvinder Singh

[android-developers] Re: Log every action/event to an external file

2011-03-13 Thread lbendlin
I was thinking about that whole process some more, and in order to make it easier for users I thought I could immediately bring up the email chooser when the crash report is ready. But it looks like startActivity(Intent.createChooser(intent, Send crash report via:)); is not possible

[android-developers] Re: RSSI values

2011-03-13 Thread Rahul Garg
Hi Perdo, As per I know these min and max values for RSSI is decided by the operator/Manufacturer generally. So it is not universal constant. And there is no API for these values. -- Rahul -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Log every action/event to an external file

2011-03-13 Thread TreKing
On Sun, Mar 13, 2011 at 9:28 PM, lbendlin l...@bendlin.us wrote: I was thinking about that whole process some more, and in order to make it easier for users I thought I could immediately bring up the email chooser when the crash report is ready. But it looks like

[android-developers] NullPointerException onCreate for a small number of users

2011-03-13 Thread acr
I have a relatively successful app in the android market that a very small amount of users experience force close on start up of the app. It is not happening on a specific device, im not sure if it's something these users have installed that is interfering with the app. I've tried to troubleshoot

Re: [android-developers] NullPointerException onCreate for a small number of users

2011-03-13 Thread Dianne Hackborn
Given this: Caused by: java.lang.NullPointerException at com.myco.myappfree.myapp.onCreate(myapp.java:53) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) What is on line 53 of your app?

[android-developers] Re: NullPointerException onCreate for a small number of users

2011-03-13 Thread acr
sorry for got to add this.. 53:howtoplayButton.setOnClickListener(this); this works on 99.9 percent of devices here's a larger snippet: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Re: Background Service

2011-03-13 Thread perumal316
Hi TreKing, I already have my own webview application that will load a custom webpage. I need to get user inputs from the data field in the webpage to do some computation and insert back the result into the webpage. I am thinking of writing a background service and couple it with this

[android-developers] Re: NullPointerException onCreate for a small number of users

2011-03-13 Thread Kevin TeslaCoil Software
Do you have howtoplay_button defined in your layout-port/main.xml and not in your layout-land/main.xml ? (Or in general if you have multiple main.xml files, for different screen sizes or whatever, and forgot to update one of them, this can happen) -Kevin On Mar 13, 11:40 pm, acr acr...@gmail.com

[android-developers] Re: Using Eclipse write monkeyrunner

2011-03-13 Thread Diego Torres Milano
Some hints to use monkeyrunner from eclipse can be found at http://dtmilano.blogspot.com/2011/03/using-android-monkeyrunner-from-eclipse.html On Mar 11, 6:06 am, c j techandroid@gmail.com wrote: I need using monkeyrunner do some easy auto test but have some problem. Eclipse SDK 3.6.2

[android-developers] Re: Install % drop again?

2011-03-13 Thread gjs
Hi, Be interested if they do eventually provide an explanation whether the install % jumps back to before. Regards On Mar 12, 10:52 am, Zsolt Vasvari zvasv...@gmail.com wrote: I finally got a response from Google that they are looking into the problem, but no change in the install %. My

[android-developers] Re: NullPointerException onCreate for a small number of users

2011-03-13 Thread Brill Pappin
Well its pretty clear from your stack trace and code that sometimes the howtoplayButton is null. If its working most of the time, are you sure you don't have multiple layouts of the same view? Double check that *all* versions of R.layout.main in your app contain the button. in fact, search for

Re: [android-developers] Reasoning behind disabling certain ProGuard optimizations?

2011-03-13 Thread Mark Carter
When using Proguard I was getting a VerifyError on SDK 3 when trying to access the Version.SDK_INT field. With proguard disabled, everything worked fine because I was using the standard approach of using a wrapper class to prevent VerifyErrors: public static int getSdkInt() { int sdkInt =

  1   2   >