[android-developers] File Downloads in Android Web Browser

2009-12-07 Thread AJ
Hi All, I have problem in downloading the content when Content-Disposition: attachment is specified in response coming from the server. I searched the forum and found that earlier one guy also had the similar issues. I am facing the exactly same problem which being specified there. Here is the

[android-developers] Sqlite trigger

2009-12-07 Thread Chris
Is it possible to write a trigger over a table that changes the same table. To be more clear, say i have a table A, now can i write a trigger over A which in turn delete some rows in table A. If its not possible then what may be alternative solution to achieve this. Thanks a lot. -- You

[android-developers] Re: Detecting screen size group (normal,large, small)

2009-12-07 Thread Chopcsu
Ok I have determined half the problem Although I was using 480x800(or 854), it still thought it was a normal size screen with hdpi So now im searching for how to detect dpi Also a way for normal hdpi and large mdpi to use the same set of resources, rather than having to duplicate directories

[android-developers] further doubt in layout and activity

2009-12-07 Thread Jags
Again I am confused a little. If I can show a different layout calling setContentLayout, please anybody can give me an example of a compelling situation where my app would need more than one activity ? regards -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Detecting screen size group (normal,large, small)

2009-12-07 Thread Chopcsu
And density detection is done by DisplayMetrics.densityDpi On Dec 8, 4:58 pm, Chopcsu st...@kilsby.com.au wrote: Ok I have determined half the problem Although I was using 480x800(or 854), it still thought it was anormal size screen with hdpi So now im searching for how to detect dpi

[android-developers] Adding button to ListView

2009-12-07 Thread Abhi
Hello, I have a tab layout with two tabs, the first of which has a listview of 5 clickable rows. Below this listview, I need a button. I have been able to create the listview but don't know how to create the button to the bottom of the display. Please help. Also, the listview is created using

[android-developers] Upgrade to Android 1.6 on Google IO Device -- where did Amazon MP3 go?

2009-12-07 Thread bkbonner
I updated to the 1.6 OS level in November shortly after it was made available here: http://developer.htc.com/google-io-device.html I wanted to download a song that I had done with OS 1.5 and to my surprise the Amazon MP3 app was gone. Did I screw up my upgrade? What should I change to get this

[android-developers] Is it possible to start activity when received a broadcast?

2009-12-07 Thread feng tian
Hi, All: I found that the onReceive of broadcast intent can't start an activity explicitly. Is there any way to start an activity when I receive a broadcast? eg: I need an interaction UI with user when specific package has been installed in the system. With many thanks. BR, Feng -- You

Re: [android-developers] Re: How to get the event when the _current_ application install finished.

2009-12-07 Thread feng tian
kay, thanks for your reply. 2009/12/8 Dianne Hackborn hack...@android.com Sorry, you must wait for the user to explicitly launch your app. This is the intended design. On Mon, Dec 7, 2009 at 1:31 AM, feng tian feng.of.t...@gmail.com wrote: Or, in a fallback solution. Can my application

Re: [android-developers] further doubt in layout and activity

2009-12-07 Thread Mark Murphy
Again I am confused a little. If I can show a different layout calling setContentLayout, please anybody can give me an example of a compelling situation where my app would need more than one activity ? Here are a starting set of arguments, and I am sure there are more to be made: 1. Doing

[android-developers] Re: Is it possible to start activity when received a broadcast?

2009-12-07 Thread Dexter#39;s Brain
I don't exactly know the reason why you cannot do that, but you can definitely start an Activity from within a service. So, if the Receiver doesn't allow you to start it, write a service, start that service, which in turn will launch your activity. Thanks, Kumar Bibek

Re: [android-developers] Sqlite trigger

2009-12-07 Thread Mark Murphy
Is it possible to write a trigger over a table that changes the same table. To be more clear, say i have a table A, now can i write a trigger over A which in turn delete some rows in table A. If its not possible then what may be alternative solution to achieve this. This may be a better

[android-developers] R wont generate

2009-12-07 Thread schwiz
Suddenly my R file has stopped generating. It has deleted itself and won't come back. In eclipse, I have all the latest updates to the sdk and the plugins. Has this ever happend to anyone else before, how do you fix it?! I have tried restarting, cleaning the project, rebuilding, doing the

[android-developers] Re: Is it possible to start activity when received a broadcast?

2009-12-07 Thread manoj
You can start an activity from a broadcast receiver, see the below example code: public void onReceive(Context context, Intent intent) { Intent i = new Intent(context,ACTIVITY_CLASS_TO_BE_LAUNCHED); i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context..startActivity(i); } On Dec 8,

[android-developers] Re: Large SQLite3 DB handling

2009-12-07 Thread nagamatu
Thanks Mark, I understand that there is no way with current framework. I will try to write window cache mechanism over SQLiteCursor. On 12月8日, 午前2:32, Mark Murphy mmur...@commonsware.com wrote: I'd like to handle a large SQLite3 database on Android. But CursorWindow that is used internal of

[android-developers] Re: Custom Widget reference in View XML

2009-12-07 Thread Raja Nagendra Kumar
Looking to get forums attention on this.. in case it is not possible currently, could all of you vote for such feature in the upcoming skd releases pl.. Android is very power full and try to give most of it though XML interface.. however some of such features can make xml very painful to

Re: [android-developers] Re: Custom Widget reference in View XML

2009-12-07 Thread Romain Guy
It is perfectly possible to use a custom View from XML: com.my.custom.package.MyView / On Mon, Dec 7, 2009 at 11:31 PM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Looking to get forums attention on this.. in case it is not possible currently, could all of you vote for such feature

Re: [android-developers] Re: Custom Widget reference in View XML

2009-12-07 Thread Mark Murphy
Looking to get forums attention on this.. in case it is not possible currently, could all of you vote for such feature in the upcoming skd releases pl.. Android is very power full and try to give most of it though XML interface.. however some of such features can make xml very painful to

[android-developers] Re: Does showAlert now take 5 lines to do same?

2009-12-07 Thread JimmyHoffa
Thanks all for the replies. On Dec 7, 11:25 pm, Jason Proctor jason.android.li...@gmail.com wrote: i have a utility method which takes a Context and either a string resource ID, a raw string, or a Throwable, and pukes up a Toast appropriately. that way it's only one line of code in the

<    1   2   3