[android-developers] Rebuilding Launcher.apk

2010-03-11 Thread Coffee
I would like to rebuild the launcher.apk in Eclipse so I can have access to edit the .xml files to customize the launcher. How would I go about doing this? I kind of have a idea, but I need some more though push. -- You received this message because you are subscribed to the Google Groups

[android-developers] drawing video frames as a background through opengl

2010-03-11 Thread tdom...@googlemail.com
hi, I'm currently developing a application, that needs to draw video frames(the camera preview) as the background of a opengl scene. To do so, I currently use a quad to which I assign a texture containing the video frame. as opengl uses shared memory the images will be copied from one RAM location

[android-developers] Bind to system service

2010-03-11 Thread Chrissshen
Hi, is it possible somehow to bind to private system services? What I want to do is listen to the activitymanagerservice and be notified when other activites are started. I tried implementing the IActivityController.aidl from the Sourcecode. It has methods like activityStarting and

[android-developers] Re: Best practice for downloading a file - URLConnection, HttpClient, Intent, ...

2010-03-11 Thread Yahel
On 11 mar, 16:03, westmeadboy westmead...@yahoo.co.uk wrote: If an app needs to download some critical data (without the data it cannot function) of several MB, what is the best practice? I would use assets and ship that content with the app directly from the market. We are already used to wait

[android-developers] Re: android.speech.action.RECOGNIZE_SPEECH activity not found

2010-03-11 Thread Zigurd
Handle the exception. There is no guarantee that an Intent will get a match, and the situation can change as the user adds and deletes applications. Conceivably, matches could go away in future version of Android, or in a port of Android with very different hardware than a phone. So even if it

Re: [android-developers] Best practice for downloading a file - URLConnection, HttpClient, Intent, ...

2010-03-11 Thread TreKing
On Thu, Mar 11, 2010 at 9:03 AM, westmeadboy westmead...@yahoo.co.ukwrote: If an app needs to download some critical data (without the data it cannot function) of several MB, what is the best practice? How much is several MB? While you should definitely try to keep the app size down, a few

Re: [android-developers] G1 Upgrade to 1.6???

2010-03-11 Thread TreKing
On Thu, Mar 11, 2010 at 10:04 AM, Rud rudmerr...@gmail.com wrote: Yesterday my G1 upgraded to version 1.6. More than likely your G1 upgraded to 1.6 quite some time ago (some time last summer I think). The latest update was not a firmware upgrade, it was a patch to fix issues with the phone

[android-developers] Raw sound file as ringtone

2010-03-11 Thread Sonic
Hi all, I am using the following code trying to pull an .mp3 or .ogg file from my raw directory and saving it to the sd card and activating it as a ringtone. Although, it keeps failing for some reason or another and doesnt actually copy the new file to the sdcard. Any ideas please? public

[android-developers] Re: Need a Nexus One tester with logcat

2010-03-11 Thread Funksta
This assumes that the user will follow through with the email though, right? Or can apps send emails without any kind of ok from the user? If that were the case, it would open up a world of spam apps. -Geoff On Mar 9, 9:10 pm, Farproc farp...@gmail.com wrote: I would have to add INTERNET

Re: [android-developers] Re: Need a Nexus One tester with logcat

2010-03-11 Thread Jim Blackler
The user has to press Send. This is as it should be, as they get a chance to review the message contents first. And a record of the message in their inbox. This is perfect for privacy concerns. I have used this method on BBC News with some success. Jim On 11 March 2010 17:20, Funksta

[android-developers] Re: No View key event called back when BACK key is pressed while IME is shown?

2010-03-11 Thread jamesc
I only discovered that thread this morning. I tried many different ways of 'catching' the IME show/hide, and that is, as Dianne says. the only way of doing it. Not only is there the issue of the BACK key, but there's the Sense UI (as the OP in the link I posted stated) with it's additional 'hide

[android-developers] Leaking Service ... vs. stopped service. middle ground??

2010-03-11 Thread Hunter Peress
If I don't unbind a service of mine in onPause,then a back button press will cause a leaking service. if i do unbind the service in onPause, then the service doesnt leak but it stops. So how can I unbind (to prevent leaking onBackButtonPress) yet still allow the service to run (my service is

[android-developers] Re: Contacts FAQ?

2010-03-11 Thread Jens
Bug or intentional? On 3 mar, 20:31, HCH hayeshau...@gmail.com wrote: From my reading of the sources (2.1) a custom account contact is not editable on the phone outside of the name fields. The contact editor does not read the relevant information out of the contacts.xml.  It only reads

[android-developers] Re: AlarmManager on droids

2010-03-11 Thread nikhil
Thanks for your reply martin. By any chance, do you have a list of phones facing this problem? In our case, the phone stops receiving notifications immediately after it is put in the sleep mode. Once it is out of sleep mode it works well. Also, the user has indicated that in sleep mode it works

Re: [android-developers] Re: What phone to buy for development?

2010-03-11 Thread Jim Blackler
If you want to see what your app looks like with QVGA (and appears in the Market for QVGA users) get a Tattoo. I strongly recommend developing on a low-end phone. If it works on that, it's all a bonus thereafter. Tattoo is currently on 1.6. To test (relatively) low RAM, and 1.6, get a G1. To

[android-developers] Re: Need a Nexus One tester with logcat

2010-03-11 Thread classic.nerds
If this isn't everything you need, let me know. I/ActivityManager( 74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=ujoint.cball/.CompassBallActivity } I/ActivityManager( 74): Start proc ujoint.cball for activity

Re: [android-developers] Alignment problem of EditText and Button in LinearLayout

2010-03-11 Thread k. bhuvaneswari kumaresan
hi can u tel me clearly? if u need to know whether the text field and button are in same row like tht -- 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

[android-developers] Re: How to display all contacts?

2010-03-11 Thread Karan
Use the following code to read the data. Cursor cursor = mResolver.query( Data.CONTENT_URI, null, where, null, Data.DISPLAY_NAME ); if( cursor != null ) { while( cursor.moveToNext() ) { String rawContactID = cursor.getString( cursor.getColumnIndex( Data.RAW_CONTACT_ID ) );

[android-developers] Re: HTML content on AppWidget

2010-03-11 Thread Kumar Bibek
You cannot use a WebView on a widget. However, you can use TextView and convert a HTML string to Spannable string and set it to the TextView. It will show the simple formatted stuff. Thanks and Regards, Kumar Bibek On Mar 10, 1:16 pm, Deepak dpak2...@gmail.com wrote: Hello Guys, I need to

[android-developers] Re: Alignment problem of EditText and Button in LinearLayout

2010-03-11 Thread Karan
Try using the android:layout_gravity xml parameter. On Mar 10, 12:49 pm, Sven Jacobs sven.jac...@web.de wrote: Hi all, this is the first time I'm developing an Android app so please bear with me ;) I've put an EditText and Button into a horizontal LinearLayout but unfortunately the button

[android-developers] Android Virtual Devices, can i uses it to simulate a android phone with most if not all features

2010-03-11 Thread Cobra
Hi, I want to gain expedience with goggle android both to help people with the likes of setting up email and connecting to wifi, and to gain some expeinces before i start to try and develop a app for them I am hoping to do this by using AVD. Will ADV be able to give me most if not all the menu

[android-developers] Re: API for my map

2010-03-11 Thread janaki
You can use Google map data api for retreving,creating and updating my maps. I think android does not support gdata for creating the maps so we have to use http protocol, here is the link http://code.google.com/apis/maps/documentation/mapsdata/developers_guide_protocol.html#UpdatingMaps Thanks

Re: [android-developers] Re: reply soon

2010-03-11 Thread k. bhuvaneswari kumaresan
s i am one of android developers -- 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] Sending Packets via UDP over a WIFI connection

2010-03-11 Thread Joshua Nelson
Hi All, I am trying to send UDP packets over a WIFI connection from my phone to a Server on my pc. Here is the code that I have on my client: String data = Testing; byte [] buffer = data.getBytes(); DatagramPacket packet = new DatagramPacket(buffer, buffer.length, new

[android-developers] how to overcome permission denied error when SystemProperties.set

2010-03-11 Thread superrookie
Hi All, I have a system property named my.sys.property, and able to get its value by SystemProperties.get(), but when I set it using SystemProperties.set(my.sys.property, value), i got error saying that init: sys_prop: permission denied uid:10003 name:my.sys.property I've search same problem

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Matthew Perkins
So, how long do we speculate it will take to actually receive the device? I got my confirmation on the 5th... I have tried asking them questions but received no response... kind of wish they made the specific information more accessible. On Mar 10, 1:47 pm, Thomas Riley

[android-developers] Re: Android MYSQL

2010-03-11 Thread cellurl
try the examples. I forget the name. Search for sqlite. On Mar 8, 3:45 pm, Si458 simonsmith5...@googlemail.com wrote: Hiya, Im currently trying to develop a mysql app on the android, ive got the basics working and ive also managed to get the JDBC working with java but not android :( im

[android-developers] I have resolved it

2010-03-11 Thread Seigfried Y
I have resolved it -- 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+unsubscr...@googlegroups.com For

[android-developers] Error 400,content is not allowed in prolog

2010-03-11 Thread janaki
Hi, I have tried the following code to create map but its giving me Error 400:Content is not allowed in prolog. Here is my code. String feed =entry xmlns='http://www.w3.org/2005/ Atom'+titleFirst Map Created by Janaki/title+summaryHey Hey I Did it/summary+/entry; URL urlget = new

[android-developers] Re: HTML content on AppWidget

2010-03-11 Thread Deepak
Thanks String and Mark. I really appreciate it. I will try with the html.fromHtml() method with textviews. My ultimate goal is to make an AppWidget with the Widget Package with .wgt file extension or in other words with the widgets that comply with the W3C specifications. My study on android

[android-developers] Requesting to have a member of this group

2010-03-11 Thread evergreen.sub...@gmail.com
Hello i am subrat, i am working in android platform. i am interested to join your group. Regards, Subrat Kumar Panda. -- 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

[android-developers] Failure to connect to camera service.

2010-03-11 Thread Shantanu
Hi I'm trying to write a basic camera app. The problem that I am facing is that it works fine in emulator but on the phone (Nexus one) it fails. The point of failure is the very first call, i.e. Camera.open(). It fails on the phone saying Failed to connect to camera service. Any idea what could

[android-developers] Android SDK for Ad Optimization Mediation Platform

2010-03-11 Thread Jessie_Nexage
Hi All, I just wanted to let you know that Nexage has released its Android SDK for immediate availability, giving Android developers access to 35+ mobile ad networks and a managed mobile ad optimization solution. We optimize the monetization of app inventory and let developers focus on what they

[android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-11 Thread brian
As far as I can tell, in order to provide PRESENCE, a 3rd party provider needs to populate the following fields:PROTOCOL,CUSTOM_PROTOCOL,IM_HANDLE,IM_ACCOUNT At the same time there is a note on DATA_ID: If this field is not specified, the provider will attempt to find a data row that matches the

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Matt
I just wish we were a little more in the know about this. I've sent a handful of questions to the specified email address, and have yet to receive a response (been almost a week now). I did get the confirmation emails and all of that. Any speculation as to what the majority of the randomly

[android-developers] Localization of Plurals using Context and resources strings.xml

2010-03-11 Thread Greg
Hi, I am used to just using a choice format for doing something deciding between {0} thing and {0} things. However Context and Resources have a lot of utitilities it seems for dealing with String and loading them with native replacement. One method of such is Resources.getQuantityText(int id, int

Re: [android-developers] Re: Which API Level to target

2010-03-11 Thread k. bhuvaneswari kumaresan
hi better u can use 2.1 regards Student -- 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: Best practice for downloading a file - URLConnection, HttpClient, Intent, ...

2010-03-11 Thread Makas Tzavellas
I would think a service is definitely necessary for this case especially that the process can be very long. The user will be expected to press the Home key to go back to Home screen and do other things, it is not possible to expect the user to be stop using their phone during such a long download.

[android-developers] latest-programs

2010-03-11 Thread ahmed aglaan
hello to every one : Offer you the best blog specializes in computer software http://latest-programs.blogspot.com/ Tell me your views and suggestions thanks very much -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] help

2010-03-11 Thread subrat kumar panda
hello all, subrat here.im struggling with android soap which not getting any respone from axis server.currently i want 2 authenticate the username password. im sending my client code. help me, plz. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] TextView before ListView

2010-03-11 Thread Pipen
Dear All, I've tried to add a TextView before a ListView in a LinearLayout. The result is that the ListView wont show at all. The same thing happens if I put the TextView after the ListView, but then I will only see the ListView. Is there a way to get a text view above the ListView without to

[android-developers] Re: How to manage orientation dependent activities?

2010-03-11 Thread Makas Tzavellas
Are you just referring to just different layout or even different behavior? Because if it's just different layout, you can always use the different layout folders to manage the layouts. E.g. layout-land in for landscape layout and the default layout folder for portrait. More info at

[android-developers] Updating the UI in response to a received broadcast.

2010-03-11 Thread Ed Greenberg
I have an app with an activity and a service. The service schedules a function to run using timer.scheduleAtFixedRate. When the timer task runs, I want to update some TextView objects in the Activity's UI, so that the user knows that the service has run, and the last thing it did. So in the

[android-developers] Problem with relayouting a scrollview.

2010-03-11 Thread Martin
Hi, I've created an app that handles all the layouts by drawing them manually thru each viewgroup's onLayout function respectively. In one of the custom layouts (ViewGroups) i want to have a ScrollView (at position x,y that not takes up the whole screen) with another custom view in it. The view

[android-developers] Great Deal!!!

2010-03-11 Thread Sazreen Saupi
Hello everyone, I want to tell you about great site I found. They pay me to read e- mail, visit web sites and much more. It's free to join and easy to sign up! CLICK THIS LINK TO VISIT: http://worldwideptr.com/pages/index.php?refid=scaniaboy join now and u can see your money alive! -- You

[android-developers] Re: setting an icon in the application.

2010-03-11 Thread Makas Tzavellas
Sounds like you want to use a GridView, create a custom adapter that returns an ImageView and set OnItemClickListener to activate your desired behaviour. You would probably want to take a look at the API Demos that uses ListViews for some examples. On Mar 11, 5:55 pm, NewDev kna...@gmail.com

[android-developers] Tab Layout Sample

2010-03-11 Thread vetus
I'm a begginer Android developer, and I've tried to compile the Tab Layout Sample, and I've find some issues that I will comment now. - in step 4 you have to change android;padding=5dp / for android:padding=5dp / - you have to introduce three new activities (ArtistActivity, SnagsActivity,

[android-developers] Bluetooth UUID

2010-03-11 Thread Peter Fortuin
Hello, I want to create a serial connection over Bluetooth to a device I have. But the problem is that I don't know the UUID of the service on that device. How can I found out what the UUID is before connecting? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Custom content provider(java.lang.VerifyError)

2010-03-11 Thread Makas Tzavellas
The error stack trace indicates that you are using com.mypack.android.mycontentprovider.MyProvider class directly in com.mypack.android.appwidgetsettingstest.TestActivity where I assume your second application is located. You *cannot* import classes or reference classes that does not belong to

[android-developers] Re: Custom content provider(like contact content provider)

2010-03-11 Thread Makas Tzavellas
This page should be able to answer your question. http://developer.android.com/guide/topics/providers/content-providers.html#creating On Mar 11, 8:53 pm, Musafir musafir4frie...@gmail.com wrote: hi friends, can anyone say how can i create a custom content provider like contact content

[android-developers] Different AlarmClock applications for every phone?

2010-03-11 Thread Thomas
I have a widget that should launch the AlarmClock when its clicked. After searching for a result it seems to me that every phone can have its own AlarmClock-application, and that what I am trying to do isnt really possible? I have been using this for HTC Hero:

[android-developers] CARLOS SLIM DETHRONES............. (Top Billionaires)

2010-03-11 Thread haritha jen
CARLOS SLIM DETHRONES. (Top Billionaires) http://sites.google.com/site/beautyzkavi http://sites.google.com/site/beautyzkavi http://sites.google.com/site/beautyzkavi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Invalid Task Affinity name ... must have at least one '.' separator

2010-03-11 Thread Makas Tzavellas
http://developer.android.com/guide/topics/manifest/activity-element.html#aff If this attribute is not set, the activity inherits the affinity set for the application (see the application element's taskAffinity attribute). The name of the default affinity for an application is the package name set

[android-developers] How to run a prefs activity from my widget !!

2010-03-11 Thread Frandroid
Hi droids! I havnt found any solution to my problem plz help ! Situation : I've made an application for network monitoring Myapp under com.domain.monitor package and which contains a Prefs-activity . After that , I made a widget to let the admin keep an eye on hosts status the information is

[android-developers] Re: Custom Spinner

2010-03-11 Thread Bob Kerns
I should add that yes, I could write my own parent widget. However, I really think this is a bug in Spinner. Using it with RelativeView leads to it basically ignoring the layout parameters. Anomalies like this make the toolkit that much harder and more frustrating to use. Is this a known bug? I

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Arnon
Yea, shame they don't respond to emails On Mar 10, 11:04 pm, Matthew Perkins mperkins...@gmail.com wrote: So, how long do we speculate it will take to actually receive the device?  I got my confirmation on the 5th...  I have tried asking them questions but received no response... kind of wish

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Greg Donald
On Wed, Mar 10, 2010 at 3:04 PM, Matthew Perkins mperkins...@gmail.com wrote: I have tried asking them questions but received no response Google doesn't do support. -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to run a prefs activity from my widget !!

2010-03-11 Thread Kumar Bibek
Hi, It's called the ConfigureActivity http://developer.android.com/guide/topics/appwidgets/index.html#Configuring Thanks and Regards, Kumar Bibek On Mar 11, 2:30 pm, Frandroid oua...@gmail.com wrote: Hi droids! I havnt found any solution to my problem plz help ! Situation : I've made an

[android-developers] Re: How to get process list updates?

2010-03-11 Thread Chrissshen
I am looking for something similar. Did you find a solution yet? I tried playing with the IActivityController.aidl from the source code. Maybe you have more luck. If so let me know. Chris On 5 Mrz., 15:46, Slike mailst...@gmail.com wrote: Hi, Question: How do I track changes in the list of

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Maps.Huge.Info (Maps API Guru)
Two sayings come to mind from the recent posting: Patience is a virtue. Don't look a gift horse in the mouth. I suggest everyone just sit back and enjoy the wait for your free device. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: help

2010-03-11 Thread Kumar Bibek
What I can figure out is that you are using localhost. Instead, give the IP of your machine, and it will work. The app running on the emulator doesn't recognize the localhost as the localhost of your system. This should fix your problem. Thanks and Regards, Kumar Bibek On Mar 11, 2:04 pm,

[android-developers] Re: Need Bluetooth UUID clarification

2010-03-11 Thread Arun
You're right on the money! :-) Thank you! 0003--100­0-8000-00805F9B34FB did not work. I could connect to BT headset on 1101--100­0-8000-00805F9B34FB! Where can I find more information on these well known UUIDs like HFP, OBEX, etc? On Mar 10, 11:08 pm, moneytoo m...@seznam.cz

[android-developers] Re: ViewFlipper caching issue

2010-03-11 Thread Kumar Bibek
You can try animating the view flipper. in the flipper, there's a method to animate. AnimationUtils class should be used to do this. Thanks and Regards, Kumar Bibek On Mar 11, 1:33 pm, Farha Ansari farha45ans...@gmail.com wrote: The views are not cached in a ViewFlipper. Is there a way

[android-developers] Re: Unit Testing : Who uses it ?

2010-03-11 Thread Jay Gischer
I've been a professional programmer since 1975. A lot of my programming was done without unit testing. I now think that was a mistake. I'm fond of saying that programming is both really easy and impossibly difficult. Testing is a good example of this. But it depends on the size and

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Arnon
Cheers to that! On 11 מרץ, 20:12, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Two sayings come to mind from the recent posting: Patience is a virtue. Don't look a gift horse in the mouth. I suggest everyone just sit back and enjoy the wait for your free device. -John Coryat

Re: [android-developers] Re: Alignment problem of EditText and Button in LinearLayout

2010-03-11 Thread Sven Jacobs
2010/3/11 Karan karanpop...@gmail.com Try using the android:layout_gravity xml parameter. Hm, I added android:layout_gravity=bottom to the button, text field AND the surrounding LinearLayout and it didn't help :( Regards, Sven -- You received this message because you are subscribed to the

[android-developers] Re: TextView before ListView

2010-03-11 Thread Brion Emde
You can totally do this. Make sure that your TextView is set to android:layout_height=wrap_content and not to fill_parent. That will surely do what you are describing. --- On Mar 11, 5:35 am, Pipen erik.ing...@gmail.com wrote: Dear All, I've tried to add a TextView before a ListView in a

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Thomas Riley
Exactly! I'm happy to wait as long as it takes. Only thing I would like to know though Since its being imported to the UK will I have to pay import taxes? Really wish someone would reply to my geuine question! On Mar 11, 6:12 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Two

[android-developers] Video splitter

2010-03-11 Thread Abhi
I want to create a video splitter that uses the videos that reside on the SD card and lets you split the video and store as separate files on the SD Card. Are there any APIs to enable this or I would need to use something like ffmpeg? Any suggestions? Abhi -- You received this message because

Re: [android-developers] Re: Alignment problem of EditText and Button in LinearLayout

2010-03-11 Thread Sven Jacobs
Hm, I added android:layout_gravity=bottom to the button, text field AND the surrounding LinearLayout and it didn't help :( Adding android:layout_gravity=fill_horizontal to the button did the trick! Thanks for the hint! :) Regards, Sven -- You received this message because you are

Re: [android-developers] Re: How to get process list updates?

2010-03-11 Thread Dianne Hackborn
There is no way to get push updates about such changes, and this is not really how the information is supposed to be used. On Thu, Mar 11, 2010 at 10:09 AM, Chrissshen chri...@googlemail.comwrote: I am looking for something similar. Did you find a solution yet? I tried playing with the

Re: [android-developers] Different AlarmClock applications for every phone?

2010-03-11 Thread Dianne Hackborn
There is no standard alarm clock API in the platform. Heck, some devices may not even have one. On Thu, Mar 11, 2010 at 12:23 AM, Thomas thomas.erme...@gmail.com wrote: I have a widget that should launch the AlarmClock when its clicked. After searching for a result it seems to me that every

Re: [android-developers] Re: How to display all contacts?

2010-03-11 Thread Dmitri Plotnikov
Nice, but this might be even better: Cursor cursor = mResolver.query( Data.CONTENT_URI, new String[]{Event.DISPLAY_NAME, Event.DATA}, Data.MIMETYPE + = + Event.CONTENT_ITEM_TYPE + AND + Event.TYPE + = + Event.TYPE_BIRTHDAY, null, Data.DISPLAY_NAME ); if( cursor != null ) {

[android-developers] Re: How to manage orientation dependent activities?

2010-03-11 Thread ailinykh
I mean different behavior. In portrait mode I have one list and a bunch of list oriented actions (add item, delete item) In landscape mode I have two lists (one on left side, another on right), so actions involve two lists (copy, move) On Mar 11, 10:25 am, Makas Tzavellas

[android-developers] Re: Unit Testing : Who uses it ?

2010-03-11 Thread Bob Kerns
Ralf, I certainly agree that there are differences between lone-wolf programming and for the large team. Scale, for one thing. There are also differences between being a 14-year-old beginner, who may someday go on to be on a team, and a programmer with decades of experience, who can afford to

[android-developers] Re: AlarmManager on droids

2010-03-11 Thread mot12
Maybe it is something else then :(. I would suggest a quick test to establish that we are talking about the same thing: Test 1) Set the stock alarm to ring right after your alarm should go off. For several devices I have users that passed this test, i.e. both alarms don't go off. (And make sure

Re: [android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-11 Thread Dmitri Plotnikov
Hi Brian, You are exactly right on both accounts: a second row with the IM information needs to be added to the raw contact to own the presence dot; and yes there should be an example. :-) Cheers, - Dmitri On Thu, Mar 11, 2010 at 9:46 AM, brian br...@bwalsh.com wrote: As far as I can tell,

Re: [android-developers] Different AlarmClock applications for every phone?

2010-03-11 Thread Thomas Ermesjo
So anyone with a Nexus One can check their logcat to see what the Alarmclock classname for the nexus is? Thomas 2010/3/11 Dianne Hackborn hack...@android.com There is no standard alarm clock API in the platform. Heck, some devices may not even have one. On Thu, Mar 11, 2010 at 12:23 AM,

[android-developers] Re: Video splitter

2010-03-11 Thread Abhi
or a video joiner for that matter? Actually, all I need for now is a way to play two video files one after the other using the MediaPlayer class is that possible? Abhi On Mar 11, 1:37 pm, Abhi abhishek.r.sha...@gmail.com wrote: I want to create a video splitter that uses the videos that reside

[android-developers] ListView refresh problem

2010-03-11 Thread ls02
I have listview with items that include both text and images. If I scroll the listview fast enough all items images are messed up: wrong images are displayed for wrong items. The same problem exists with expandable listview. I tried to implement holder class to cache imageview and image itself

Re: [android-developers] Different AlarmClock applications for every phone?

2010-03-11 Thread Mark Murphy
Thomas Ermesjo wrote: So anyone with a Nexus One can check their logcat to see what the Alarmclock classname for the nexus is? You should not be doing this. The alarm clock is an application, not part of the SDK. http://www.androidguys.com/2009/12/14/code-pollution-reaching-past-the-sdk/ Some

Re: [android-developers] ListView refresh problem

2010-03-11 Thread Mark Murphy
ls02 wrote: I have listview with items that include both text and images. If I scroll the listview fast enough all items images are messed up: wrong images are displayed for wrong items. The same problem exists with expandable listview. I tried to implement holder class to cache imageview and

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread TreKing
On Thu, Mar 11, 2010 at 12:12 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Two sayings come to mind from the recent posting: Patience is a virtue. Don't look a gift horse in the mouth. I suggest everyone just sit back and enjoy the wait for your free device. QFE On Wed,

[android-developers] Re: What phone to buy for development?

2010-03-11 Thread Dan S
Well tattoo is ok but the 'dev tools app' doesn't work on it, which prevents you from doing certain dev work http://groups.google.com/group/android-developers/browse_thread/thread/9c57df28e4164737/b20202476f6b02f3 Dan On Mar 11, 5:39 pm, Jim Blackler jimblack...@gmail.com wrote: If you want to

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Justin Giles
You mean they aren't going to spontaneously appear on my doorstep??? Seriously people. If you received the email and filled out the form and google confirmed you meet the criteria, it will be 2-4 weeks. Late March or early April. If you didn't meet the criteria clearly spelled out on their

Re: [android-developers] Different AlarmClock applications for every phone?

2010-03-11 Thread Thomas Ermesjo
Now, if you want to allow the user to choose an application to launch, by pulling up a list of available activities from the PackageManager, that's perfectly reasonable. Thanks. Good idea. 2010/3/11 Mark Murphy mmur...@commonsware.com Thomas Ermesjo wrote: So anyone with a Nexus One can

[android-developers] SensorEvent.timestamp to absolute (utc) timestamp?

2010-03-11 Thread mike
The documentation about SensorEvent.timestamp just says: The time in nanosecond at which the event happened nanosecond... from what?? A typical number I'm seeing (today, at least) is 38396760636000 Which doesn't seem to correlate to anything I can think of. Mike -- You received this

[android-developers] Re: Bluetooth UUID

2010-03-11 Thread Arun
The predefined UUID for serial port is: 1101--1000-8000-00805F9B34FB Check this post: http://groups.google.com/group/android-developers/browse_thread/thread/bf24c424e5c42e8b/bcca77b1927d3074?hl=en#bcca77b1927d3074 On Mar 11, 1:41 am, Peter Fortuin peter.fort...@gmail.com wrote: Hello,

[android-developers] Re: Supplying a different background drawable for a dialog?

2010-03-11 Thread ivar
While changing the color of the panel, did you set the alpha value to FF? 0 gives you full transparency and FF gives you total opacity. Hope this helps. Ivar On Mar 11, 8:37 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, I'm trying to supply my own background drawable for a dialog. It

[android-developers] Re: Supplying a different background drawable for a dialog?

2010-03-11 Thread Mark Wyszomierski
I just took the original image from the android assets folder, changed the color, and save it out in photoshop. If it weren't set to 0, then wouldn't it also be opaque on 1.6+ ? Someone recommended I try this: WindowManager.LayoutParams lp = getWindow().getAttributes();

[android-developers] android: memory for kernel and apps

2010-03-11 Thread Porting beginner
Hi, I have android running on my target platform. When its booting, as kernel boots , I see free memory around 53mb-55mb range there till console. ( cat /proc/meminfo ) *Just after kernel boot... * MemTotal: 88792 kB *MemFree: 53496 kB *Buffers: 0 kB *Cached:

Re: [android-developers] Re: Unit Testing : Who uses it ?

2010-03-11 Thread Ralf Schneider
Hi Bob, I absolutely agree that unit test can be a big win if done properly (as you wrote this is not as simple as it looks like. The very specific corner cases are the important test cases). But I was specifically answering to the original poster. For a 14 years old programmer who is starting

[android-developers] Re: How to manage orientation dependent activities?

2010-03-11 Thread Makas Tzavellas
Hmmm... Then I suggest that you do something like this Have the same Activity class but create 2 different classes that behaves differently for portrait and landscape that implements a common interface. And do something like this. public interface ActivityDelegator { // Put methods here

[android-developers] Re: How to run a prefs activity from my widget !!

2010-03-11 Thread Frandroid
Hi Thank you , but how about starting an activity included in a third party app (which's my situation! ) or an other third party app which is not my own ! Thanks ans Regards Frandroid On 11 mar, 19:08, Kumar Bibek coomar@gmail.com wrote: Hi, It's called the ConfigureActivity

[android-developers] Re: HTML content on AppWidget

2010-03-11 Thread String
On Mar 11, 5:41 am, Deepak dpak2...@gmail.com wrote: Is it possible to make AppWidgets with WebWidgets. Uh, no. COMPLETELY different uses of the word widget. Web widgets (a la the W3C spec) are really miniature web apps, and generally are more comparable to ordinary apps on a mobile platform.

[android-developers] Re: multiple parameters with rawQuery in sqlite = BUG

2010-03-11 Thread Nathan
On Mar 10, 5:29 pm, Mark Murphy mmur...@commonsware.com wrote: I'm not aware of any. I'm not even sure it's Android that is doing the ? replacement -- the Ruby SQLite library has the same feature, so it might be handled by SQLite itself. It could certainly be in SQlite or its JDBC driver.

Re: [android-developers] Updating the UI in response to a received broadcast.

2010-03-11 Thread TreKing
On Thu, Mar 11, 2010 at 9:56 AM, Ed Greenberg greenberg...@gmail.comwrote: Can somebody shed some light? That exception means that the identifier you passed to setText(int) is not a valid resource id. For example, dateTime1 should probably be something like R.string.dateTime1.

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Matt
I think it is a legit concern regarding timeframe / phone model. Consider this... a majority of current Android devices are going to be switching to Android 2.1 with in the next 2 - 6 weeks (if there is any truth behind the rumors). I'm not sure where the Droid is on that list, but I know that

[android-developers] Re: Unit Testing : Who uses it ?

2010-03-11 Thread DulcetTone
I routinely find a disproportionate number of my bugs and crashes reside in the code set up for the purpose of testing and evaluation of the program rather in the function of the program itself. I'm sure this is a measure of my unfamiliarity with best practices, but I find it more beneficial to

[android-developers] Re: Need Bluetooth UUID clarification

2010-03-11 Thread moneytoo
The official source would be documents about specific profiles on BT SIG (bluetooth.com). Or you may just take a look at sdptool or other sources (here's pretty long list: http://32feet.codeplex.com/sourcecontrol/network/Show?projectName=32feetchangeSetId=64636#51271). On Mar 11, 7:16 pm, Arun

<    1   2   3   >