[android-developers] Getting a G1...

2008-12-18 Thread david
Hey guys... I know there are ways to get the G1 for cheap or free (like http://free-g1.certainlead.com ), but those seem to only be good for US citizens and our testers are not in the US. Does anyone know of similar ways of getting a G1 for non-US residents?? Sorry if this isn't the right

[android-developers] Warning on Ignoring InnerClasses attribute with dex

2008-12-18 Thread Raja Nagendra Kumar
Could any one explain what is the meaning of the below warning of dex tool [dx] warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.) This comes when

[android-developers] Re: Need help using hat to track down memory usage

2008-12-18 Thread Imran
hi i am using Windows Xp , so there is no Cat Command in it, so how can i merge this files heap-dump-tm1213483064-pid4748.hprof-head heap-dump-tm1213483064-pid4748.hprof , i have used Copy Command but with out any Success. Thanks in Advance for any Replays...!!! Cheers, Imran On Dec

[android-developers] Re: M5's api equivalent of Activities showAlert() method in 1.0 r2

2008-12-18 Thread Al Sutton
You're missing one call from your builder; http://code.google.com/android/reference/android/app/AlertDialog.Builder.html#setPositiveButton(java.lang.CharSequence,%20android.content.DialogInterface.OnClickListener) or

[android-developers] Does the SpinnerWidget support filtering?

2008-12-18 Thread for android
Is there a way in which we can allow filtering in a spinner widget?Just like we can enable setTextfilter as in the ListView. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Have you tried the event send EV_KEY command in android emulator console ??

2008-12-18 Thread Dec.
It just cann't work ,and without any reason Will anybody please tell me y ?? Any comment will be much appreciated! BTW, the command event text string does a very nice work, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Cupcakes Email and K9

2008-12-18 Thread Al Sutton
I noticed the significant (and welcome) fixes to the Email client in the Cupcake branch (http://source.android.com/roadmap/cupcake). Does this affect the chances of K9 being merged into the main tree? The reason I ask is that K9 seems to have some significant improvements over the inbuilt

[android-developers] Re: How to assign a hotkey to an application

2008-12-18 Thread Eric Chan
set short key:) 2008/11/24 ram nath ramyn...@gmail.com Hi , How to assign a hotkey to an application so that the application will start running on press of that key. Regards, Ramanadh -- Best Regards Eric Chan --~--~-~--~~~---~--~~ You received

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

2008-12-18 Thread whitemice
Solved Use a MatrixCursor instead of a CrossProcessCursor. This will allow you to send custom data in a Cursor object over a ContentProvider, and works across the process boundary. Example code: public class TestContentProvider extends ContentProvider { public Cursor query(Uri uri,

[android-developers] Re: Customize layout of ExpandableListView

2008-12-18 Thread Luke w
Hi mscwd01, How about the result ? could you give some comment ? BR, Luke Wang Jay London - I was going to buy a book on hair loss, but the pages kept falling out. On Tue, Dec 16, 2008 at 12:11 AM, mscwd01 mscw...@gmail.com wrote: Brilliant! Thanks for taking the time to show me this.

[android-developers] Re: Cupcakes Email and K9

2008-12-18 Thread Al Sutton
Having read further down the list one of the changes to the framework is; - Support third party updates of system applications. New menu options in Settings-ManageApplications to list updated system applications. Does this mean I will be able to replace the Email app with K9 on a G1 when a

[android-developers] Re: PackageManager??

2008-12-18 Thread teo2706
Hello Dianne, I'm following the same approach with starting a VIEW intent on the apk file, but I am unable to install the package, because the Android system complains with: Out of space: Android System could not be viewed. Free up some space on your phone and try again. I have free space both

[android-developers] Re: Service launching multiple times

2008-12-18 Thread sukumar
hi, Thats not my doubt. My service needs to read some data using htttpget, this action is performed onStart method of the service. While service is in middle of reading data from web. If someone starts the service again. What happens to the task started first? Will the service ends the first

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Re: Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Attaching debugger to emulator

2008-12-18 Thread JS
Hi, Is it possible to attach the debugger to the emulator so I can see what kind of things are happening on the goldfish virtual CPU? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: How to create a socket in Andriod platform

2008-12-18 Thread alan
you need the android.permission.INTERNET then you can use the standard java sockets api On Dec 18, 7:25 am, silverburgh.me...@gmail.com silverburgh.me...@gmail.com wrote: Hi If I need to open a new socket in Andriod platform, do I need to set some permission before it will work? I currently

[android-developers] Re: Best Practices for Image Buttons?

2008-12-18 Thread alan
if you use a state drawable then you can do this you need the selector xml element, its not very well documented but if you have the android source you can get some examples from there On Dec 18, 6:10 am, Robert Green rbgrn@gmail.com wrote: My goal is to have a method for creating buttons

[android-developers] Re: How can ExpandableListActivity be customized?

2008-12-18 Thread mscwd01
See here for a solution: http://groups.google.com/group/android-developers/browse_thread/thread/2781fddf7d9a429e On Dec 18, 10:32 am, Luke w hit...@gmail.com wrote: and the images dynamic, I get it by an id refers to the bmp files in /res/drawable/id.bmp Thanks very much BR, Luke Wang

[android-developers] Re: Replacing default Menu with a Dialog

2008-12-18 Thread mscwd01
That worked nicely, thanks. On Dec 18, 1:19 am, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: I wish to replace the default Menu with a Dialog that consists of several TextViews. I suspect what you mean is: you want to display a Dialog that consists of several TextViews when

[android-developers] Record Audio problem in SDK 1.0 r2

2008-12-18 Thread Breno
Hello fellows, i'd like to know if anybody here had a problem in recording audio using sdk 1.0 r2. I did my project using sdk 1.0 r1, and audio record works fine. I change to r2, and the audio it's very damaged. I spent sometime trying to discover, but nothing. So, i revert to SDK 1.0 r1

[android-developers] Inflate a view and retrieve widget

2008-12-18 Thread arnouf
Hi all, My code is following class MyAdapter extends View{ public MyAdapter(Context context, ContactPerso contact) { super( context ); inflate(context, R.layout.myadaptercontact, null);

[android-developers] Re: Inflate a view and retrieve widget

2008-12-18 Thread Mark Murphy
arnouf wrote: Hi all, My code is following class MyAdapter extends View{ public MyAdapter(Context context, ContactPerso contact) { super( context ); inflate(context, R.layout.myadaptercontact, null);

[android-developers] Re: fitness or workout program

2008-12-18 Thread Peli
What would you expect from a fitness or workout program? I've outlined a possible version here: http://groups.google.com/group/openintents/browse_frm/thread/2a07c31b28e69d62 That one would be loosely based on our Timesheet application ( http://www.openintents.org/en/node/153 ) - just instead of

[android-developers] Extending a tablelayout

2008-12-18 Thread for android
i need to get a customizable tablelayout with borders. Hence in the onDraw,I have the following code,but i get only the left side and top of the rectangle.but not on the right and bottom lines of the rectangle. I have layout in which the layout has a white background.And that layout has a table

[android-developers] What is Android.mk file?

2008-12-18 Thread jalandar
What is Android.mk file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Inflate a view and retrieve widget

2008-12-18 Thread arnouf
Now it's ok but I don't see my layout :( As my view was not loaded correctly :( Thanks MArk for your help (and your book :)) On Dec 18, 2:05 pm, Mark Murphy mmur...@commonsware.com wrote: arnouf wrote: Hi all, My code is following class MyAdapter extends View{ public

[android-developers] Sony Ericsson joins Open Handset Alliance

2008-12-18 Thread Marcio Alexandroni
Good news, we will have more devices: http://developer.sonyericsson.com/site/global/newsandevents/latestnews/newsd ec08/p_oha_android_sonyericsson_announcement.jsp?link_general=article-openha ndsetalliancesonyericssonannouncement Marcio Alexandroni http://www.cialogica.com/

[android-developers] Re: What is Android.mk file?

2008-12-18 Thread Jean-Baptiste Queru
That's a makefile used to build the Android platform. You don't need to worry about those when developing apps with the SDK. JBQ On Thu, Dec 18, 2008 at 5:24 AM, jalandar jagtap...@gmail.com wrote: What is Android.mk file? -- Jean-Baptiste M. JBQ Queru Android Engineer, Google.

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

2008-12-18 Thread jarkman
Dianne - that reminds me of another question - is the user going to have any way to get the .apk back off a device after installation ? I'm wondering if we should expect this world to be a bit like old- school PalmOS, where users tended to pass apps around, or more like (I'm sorry for the

[android-developers] help for XmppClient for android

2008-12-18 Thread jalandar
I am coding sample for XMPPClient(smack API and openfire server) , and at the time of receiving message the error comes, and process force fully stops. Is there any permissions needed in Manifest file to accept messages. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Inflate a view and retrieve widget

2008-12-18 Thread arnouf
Ok it's working - I would like to be too complex :) Thank you On Dec 18, 2:26 pm, arnouf arnaud.far...@gmail.com wrote: Now it's ok but I don't see my layout :( As my view was not loaded correctly :( Thanks MArk for your help (and your book :)) On Dec 18, 2:05 pm, Mark Murphy

[android-developers] Re: Cupcakes Email and K9

2008-12-18 Thread Jean-Baptiste Queru
The detailed discussion about merging K9 changes will belong on android-platform (since it's explicitly about actively contributing code changes into Android). Too keep it short: it makes the merge of K9 into Android much easier, because it'll allow open cooperation between the K9 authors and the

[android-developers] Re: Warning on Ignoring InnerClasses attribute with dex

2008-12-18 Thread alan
kxml is built into android so you shouldnt need to include that jar (you need to use the xmlpull.org interface rather than calling kxml directly) On Dec 18, 8:20 am, Raja Nagendra Kumar nagendra.r...@gmail.com wrote: Could any one explain what is the meaning of the below warning of dex tool  

[android-developers] Re: Developing Your Application IDEAS REQUIRED !

2008-12-18 Thread loty
Developer with no imagination?!? You shame us all. On Dec 17, 2:16 pm, T-Mobile Whisperer [G1] nadiafai...@googlemail.com wrote: Hi Guys, The Mission: To develop an android program for the G1 (and hopefully any other android handset which will follow) Problem: Does anyone have any ideas

[android-developers] Re: Button issue

2008-12-18 Thread loty
If you want to make the button disappear do button.setVisibility (View.GONE); or View.INVISIBLE in your button click handler On Dec 18, 1:02 am, diya blore diya.bl...@gmail.com wrote: Hi ALL. i  m facing an issue.. wheni click on button a pop up menu appear.. along wit that behind the click

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Re: How To Start a RTSP connection

2008-12-18 Thread Jona
Hi Dave, I have tried opening the link using the Live555 Media Server to broadcast the mp3 track. This broadcast is accessible anywere on the internet and as well my local network. I tried accessing via my wireless connection and using WireShark to record communication and I could see the first

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Android Notification

2008-12-18 Thread Alpesh
hello Guys, i have problem of status bar.when i got the missed call then it comes to the status bar.but i want to know that when someone pick that missed call means someone click on the missed call then call manager open.and then i want to receive some event or notification flag or

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] What determines Android Market popularity ranking

2008-12-18 Thread joshv
I've posted this question to the Market technical support forum and received no answer, so I will try here. Does anyone know what metrics are used to determine an application's popularity in the Android Market? It does not appear to involve just the number of ratings, the download count, or the

[android-developers] BaseAdapter getView question

2008-12-18 Thread loty
I have a question about getView method of BaseAdapter that I overwrote to populate my GridView. All is well when convertView parameter is null - I create my views for cells and populate them, works and looks great. The problem is when my data is updated and notifyDataSetChanged(); is called

[android-developers] Re: PackageManager??

2008-12-18 Thread teo2706
I withdraw my question ... The problem was that the apk file was put in a folder, which was not accessible from the Package Installer application. The latter tries to copy the apk file in other location... On 18 Дек, 12:35, teo2706 teo2...@abv.bg wrote: Hello Dianne, I'm following the same

[android-developers] Re: PackageManager.installPackage().

2008-12-18 Thread teo2706
I withdraw my question ... The problem was that the apk file, that I wanted to install, was put in a folder, which was not accessible from the Package Installer application. As the latter tries to copy the apk file in other location, it fails... On 5 Дек, 12:20, teo2706 teo2...@abv.bg wrote: I

[android-developers] Re: ContentObserver - SMS - What's wrong with it

2008-12-18 Thread G
Just curious, but in your onChange you cancel a notification using SMS_ID. I'm assuming this is your own private notification id, but thought i'd ask just in case you figured out a way to cancel the messaging app's notification. Did you? On Dec 12, 1:19 pm, code_android_festival_way

[android-developers] Re: More MediaPlayer questions

2008-12-18 Thread Rajendrakumar C
HI, Can anyone of you know how to extract the comosers info from Mp3 file. Please let me know if you know that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] setSelector listview Text bug?

2008-12-18 Thread Protocol-X
when using setSelector in listview on release if there is anykind of list movement or intent called a box gets left around the text. Is there a way around this or is it a bug? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Unable to emulate Hello, Android

2008-12-18 Thread filbert
Yeah, there's a few threads on this in the Beginner's group and I'm sure there are some here. What you are seeing is the emulator startup screen (equivalent of BIOS maybe?) After that you get the Android startup screen which is the green android logo glowing. After that, the phone will finish

[android-developers] Re: Simple GridView question

2008-12-18 Thread loty
Just to answer my own question in case anyone has the same problem. getCount has to return total number of cells to display in GridView. So if you want to have 3x3 grid getCount needs to return 9 position in getView is linear e.g. position 7 means row 3 cell 1 convertView is a total mystery as

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread Mark Murphy
loty wrote: I can definitely do the same but it seems super strange to me that it would return anything other than what I created in the initial call. getView() gets called more than once. Is there any rhyme or reason for what this function gets in the convertView parameter? Sure. It's a

[android-developers] Re: Activity finishOnBackground attribute

2008-12-18 Thread Soonil Nagarkar
Giving this topic some life, is there any way to implement something similar to finishOnTaskBackground? It is possible to reenter a task that was previously in the background without going through the launcher, in which case the desired behavior of finishing a task with this flag does not happen.

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread joshv
In my adapter code I only ever return a single type of view from getView(). This view always has a field with an id of R.id.name. A non-zero percentage of the time I am given a convertView in the parameters passed to getView() and the code: convertView.findViewById(R.id.name) will return

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread joshv
It makes no sense to me either - I *always* return the same type of view from getView so I have no idea why the framework would ever send me a view of a different type. On Dec 18, 10:11 am, loty lev.pert...@gmail.com wrote: Thanks josh, I can definitely do the same but it seems super strange

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread loty
Thanks a lot Mark - excellent explanation. Still have a question: getView's first 2 parameters are --position--The position of the item within the adapter's data set of the item whose view we want. --convertView-- The old view to reuse, if possible. Note: You should check that this

[android-developers] Re: Activity finishOnBackground attribute

2008-12-18 Thread Soonil Nagarkar
Actually, I got the behavior I was looking for by launching the edit activity with the no history flag. It's not quite as flexible as I'd like but everything works as expected. On Dec 18, 11:25 am, Soonil Nagarkar soon...@gmail.com wrote: Giving this topic some life, is there any way to

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread Mark Murphy
loty wrote: Is this some sort of garbage collection at work here? I have a pile of garbage views to be recycled and hey you need a view - how about this one? No, you are SOL... I mean if getView doesn't bother returning me my original view for a given location why bother with convertView

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread loty
I didn't mean to insult anyone - sorry if it came out that way. Just wanted a clear explanation for what seems to be a weird and unpredictable behavior. On Dec 18, 11:57 am, Mark Murphy mmur...@commonsware.com wrote: loty wrote: Is this some sort of garbage collection at work here? I have a

[android-developers] Re: Best Practices for Image Buttons?

2008-12-18 Thread Robert Green
I found this by Romain Guy and it worked perfectly http://groups.google.com/group/android-developers/msg/0714e077e25d63a6 On Dec 18, 6:09 am, alan a...@birtles.org.uk wrote: if you use a state drawable then you can do this you need the selector xml element, its not very well documented but if

[android-developers] Re: ID3 Tag

2008-12-18 Thread Dave Sparks
The media scanner automatically extracts metadata from any file that it recognizes on the SD card. Can you be more explicit about your use case? On Oct 24, 6:45 am, CiprianU ch3l...@gmail.com wrote: Hy guys, Can you tell me how can I extract the ID3 tags from an mp3 file, using Android of

  1   2   >