[android-developers] Deletion of a view from the screen

2010-03-26 Thread Shekhar
Hi, I have to implement the following requirement. There are multiple views(not application widget) placed in my application screen.When I long press on a particiular view,trash icon should appear in the screen and I should be able to drag the view to the trash,so that end user get a feel that

Re: [android-developers] Re: Is there any changes in crop image activity

2010-03-26 Thread Paul Tongyoo
UPDATE: Romain Guy confirmed the CROP intent-filter still exists in Eclair, just moved to the Gallery.git manifest. HTH On Tue, Mar 23, 2010 at 2:13 PM, Streets Of Boston flyingdutc...@gmail.comwrote: This has been working for me, at least on a Droid, G1 and Nexus1: final Intent intent =

[android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?

2010-03-26 Thread Kirrrilka
Did you try to do mount option from phone? It appears in notification area... On Mar 26, 5:12 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi Kirrrilka, Thanks a lot! I've hacked it and succeeded. I've posted the notes to my

[android-developers] Re: How to create daemon process

2010-03-26 Thread Nithin
You can create a daemon thread, by creating a Timer with parameter true as Timer time = new Timer(true); The boolean true represents, its a daemon thread. Nithin On Mar 26, 10:40 am, saikiran n saikiran@gmail.com wrote: Hi all Can we create a daemon process in android. If possible can

[android-developers] Re: Possible to finish() my activity when Home is pressed?

2010-03-26 Thread And-Rider
I am not sure about your exact requirement but if u want to launch the parent activity each time app is launched from home add android:clearTaskOnLaunch=true in your manifest to your parent activity.This should clear the stack on launch. On Mar 25, 11:52 pm, paladin quoti...@gmail.com wrote: I

Re: [android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?

2010-03-26 Thread Qingyan(Evan) Liu
I've not got such mount option from phone. Just got a USB debugging connected message... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Did you try to do mount option from phone? It appears in notification area... On Mar 26, 5:12 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi

[android-developers] Configuring Android source

2010-03-26 Thread Parse
Hi , I am new to android build system . I want to know that is android build system having any type of config file to just see what are the component android build having. If I want to remove a component from android build what is the way of doing it. Please, can you help me?? -- You received

[android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?

2010-03-26 Thread Kirrrilka
Strange :( When I connect phone I have two icons in notification area: USB debugging connected and USB connected with usb icon - this notification gives mount option. I just found on my phone that this notification doesn't appear if SD card not installed. Are you sure that you card is

[android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-26 Thread Bob Kerns
You don't get notified BEFORE an uninstall, just after. I think I may have a solution for you. I'm having trouble parsing this thread; it may overlap with other suggestions here. This suggestion is based on what I've done for the Free/Pro versions of my SmartVolume app. (Only the Free is up at

[android-developers] Re: GLSurfaceView and camera surface

2010-03-26 Thread sleith
thanks for the link Marc ^^ going to try this On Mar 26, 11:55 am, Marc Lester Tan mail...@gmail.com wrote: You can try this one: Camera image as an OpenGL texture on top of the native camera viewfinderhttp://nhenze.net/?p=172 Marc http://nhenze.net/?p=172 On Fri, Mar 26, 2010 at 11:22

Re: [android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?

2010-03-26 Thread Qingyan(Evan) Liu
Yes i'm sure the SD card is there and I can explore the files there. Just no USB connected with usb icon. I guess maybe my hack has some problem still... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Strange :( When I connect phone I have two icons in notification area: USB debugging

[android-developers] Device seeding question

2010-03-26 Thread Bob Kerns
I have a simple question, and I don't really want to wade through the 'Where's my phone?' thing the other thread has turned into. The second program -- the one based on community participation, etc... does anyone know what the criteria are? I'm just curious. We seeded ourselves (me, N1,

[android-developers] Re: Problem in read() for Bluetooth

2010-03-26 Thread madmax
Hi, After much deliberation over the issue and also after tweaking the code a lil' bit... I realised that moneytoo was correct and i'm not getting the InputStream. @moneytoo can u please tell me what could be done in this case?? Thanks and Regards, Prafull. On Mar 22, 10:11 am,

[android-developers] Re: APK for AGSP application

2010-03-26 Thread Kabita
hi Andreas , I am looking for any Andriod application available on net in form of srouce code or apk which is based on AGPS technologies. I found that 2.1 Eclair has support of this AGPS technology. It would be really helpfull if you can provide me any such apk. Please help... actually ... If I

[android-developers] Re: Edit Text Password visible on focus in landscape

2010-03-26 Thread Nithin
Sorry for open this topic again. I am also facing the same problem. In landscape mode, the soft keyborad is coming in full screen and whatever typed is displayed, password property is working. I am creating View in java, so no xml attributes please. I tried with ,

[android-developers] Re: GLSurfaceView and camera surface

2010-03-26 Thread sleith
after trying i think the things that make it visible is the GLSurfaceView need to implements SurfaceHolder.Callback and then set it's holder : getHolder().setFormat(PixelFormat.TRANSLUCENT); i think its working, thanks for the link ^^ On Mar 26, 1:48 pm, sleith raysle...@gmail.com wrote: thanks

[android-developers] Re: GPS Queueing in LocationListener

2010-03-26 Thread Roman Mazur
And for JFrog, I do same as Mike, just throw away measure that accuracy is worst then your limit. This will filter biggest anomalies. We also treat the time of the obtained location. And can replace the current location by less accurate but actual data. -- You received this message because

Re: [android-developers] Re: screen flickering in GLSurfaceView

2010-03-26 Thread Andres Colubri
Hi, I just wanted to mention that I found a method that solves the flickering problem in continuous drawing applications: * right after the frame has been completely drawn, but before doing the buffer swap, copy the screen image into a texture using glCopyTexImage2D. This texture should be

[android-developers] How access restricted contacts in third party app

2010-03-26 Thread piyu
Hi All, I am developing a sync application which can sync multiple sync account contacts in server. To take a backup of all contacts I am reading raw_contacts from Raw_contacts table but problem is I am not getting restricted contacts of facebook and others in query for Raw_Contacts.ContentUri.

[android-developers] Re: Deletion of a view from the screen

2010-03-26 Thread alain
I think you could search with the ViewManager : http://developer.android.com/reference/android/view/ViewManager.html I never tried it, but it looks like it's providing what you need : Interface to let you add and remove child views to an Activity. To get an instance of this class, call

[android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-26 Thread String
Great discussion you have going on here. I've been following it from the sidelines, but I do have a few things to add. First, I had confirmation from a Google employee - informally, over lunch at one of the Developer Lab events, but from a Googler nonetheless - that it's absolutely OK to link

[android-developers] Re: ADP3? When?

2010-03-26 Thread String
On Mar 25, 9:05 pm, Dianne Hackborn hack...@android.com wrote: Part of being allowed to ship with market is allowing app development through adb and the dev tools. Someone might want to mention that to ATT. Apparently they've disabled Unknown sources on the Motorola Backflip:

[android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-26 Thread westmeadboy
@Bob Kerns - thanks for the excellent post! From what I understand, you set up a receiver so that the browser starts up whenever the upgrade package is installed. But I thought only services (not activities) should be started from receivers??? Sorry, I'm a bit rusty on this side of Android. And

[android-developers] MP3 Audio Tag in MediaPlayer

2010-03-26 Thread MobDev
Hi there, I was wodnerign if there is any way to retrieve an MP3 tag through the MediaPlayer, just like in J2ME ? Or if there is some kind of other Interface or class for that ? Thanks in advance ! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: What does ERROR: thread attach failed mean?

2010-03-26 Thread Paolo
so can i ignore it? On 25 Mar, 20:57, fadden fad...@android.com wrote: On Mar 25, 3:27 am, Paolo brand...@gmail.com wrote: When my app starts often I get this error. Only this one, anything else, and my app works fine. What does it mean? ERROR/AndroidRuntime(28130): ERROR: thread

[android-developers] Re: Deletion of a view from the screen

2010-03-26 Thread vikas kumar
Hey dude... try this site...i found.. http://www.techjini.com/blog/category/android/ No need for thnx... enjoy.. On Mar 26, 11:05 am, Shekhar shekhar...@gmail.com wrote: Hi, I have to implement the following requirement. There are multiple views(not application widget) placed in my

[android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-26 Thread String
On Mar 26, 9:50 am, westmeadboy westmead...@yahoo.co.uk wrote: From what I understand, you set up a receiver so that the browser starts up whenever the upgrade package is installed. But I thought only services (not activities) should be started from receivers??? Starting an Activity from an

[android-developers] How to delete a contact in android 2.1

2010-03-26 Thread Rishabh
Hi, I have added one contact to android by following code. ContentValues values = new ContentValues(); Uri rawContactUri = getContentResolver().insert(RawContacts.CONTENT_URI, values); long rawContactId = ContentUris.parseId(rawContactUri); values.clear(); values.put(Data.RAW_CONTACT_ID,

[android-developers] Issue regarding writing to the Bluetooth Device.

2010-03-26 Thread madmax
Hello, I have a Bluetooth Device that is supposed to send me some data(response) upon me sending it some command. My application is in the client mode and the device, in the server mode. After getting the Socket and getting the InputStream to send the command i get a Transport Endpoint

[android-developers] stuck in OnTouchEvent OnClikc method. please help

2010-03-26 Thread satish bhoyar
Hi all, Hi all, I am stuck in a situation,where I have onClick() method onTouchEvent() method. The situation is the my onTouchEvent() is handling the fling gestures (like left,right), after each fling i am changing the Layout presenting new one for the user. On each layout i have some buttons

[android-developers] Adding image into imageadapter at runtime

2010-03-26 Thread Abdul Mateen
Hi, I just want to ask that how it is possible to add images ( bitmaps ) into ImageAdapter which is BaseAdapter at runtime. Thank You, Abdul Mateen. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Did Google really remove the ability to call the CropImage activity from Android 2.x apps?

2010-03-26 Thread Mark Murphy
Paul Tongyoo wrote: And to confirm Romain Guy's response, YES the com.android.camera.action.CROP intent-filter IS defined in the Gallery class so NO google didn't remove the ability to call the CropImage activity. ;-) That does not mean it is a good idea. You do not want to be referencing

Re: [android-developers] Re: Modifying audio in real time

2010-03-26 Thread Simone Russo
Hi, thank you very much for your answer. The problem I have is that I got an audio stream, say 5 seconds long. I want the user to be able to change the volume and the playbackrate while the sound is being played. I'm able to modify those parameters before i call the play() method, but I need to

[android-developers] Update language in Widget

2010-03-26 Thread Ricardo A . Sá
I have a widgett that supports for many languages, but if the user change the language in Settings, my widget don't update.. Only works, if I close it and open again, or rebook the handset.. Someone have any suggestion for me to solve this? Thnaks -- You received this message because you are

Re: [android-developers] Update language in Widget

2010-03-26 Thread Mark Murphy
Ricardo A. Sá wrote: I have a widgett that supports for many languages, but if the user change the language in Settings, my widget don't update.. Only works, if I close it and open again, or rebook the handset.. Someone have any suggestion for me to solve this? I suspect that there is no

[android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-26 Thread westmeadboy
On Mar 26, 11:54 am, String sterling.ud...@googlemail.com wrote: If your add-on app doesn't have a LAUNCHER intent, the system won't give the user the option to open it, from anywhere. I thought using category INFO also allows the user to click Open in the Market app once the downloaded app has

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

2010-03-26 Thread Disconnect
Or the one I set up 2 weeks ago - exchange.andblogs.net :) And its open to anyone with android devices to swap, including google's community seeding program. On Fri, Mar 26, 2010 at 1:06 AM, Corollary Computing corollarycomput...@gmail.com wrote: Called FedEx and when I told him why I was

Re: [android-developers] How to delete a contact in android 2.1

2010-03-26 Thread Dmitri Plotnikov
When you use the Delete option from the menu, the raw contact is marked for deletion. Normally a sync adapter sees that flag, removes the contact from the server and then physically removes the raw contact from the phone. In the absence of a sync adapter, the contact marked for deletion stays on

Re: [android-developers] How access restricted contacts in third party app

2010-03-26 Thread Dmitri Plotnikov
Unfortunately the answer is no. That is a policy established by facebook and is specific to facebook. No other sync adapter creates restricted raw contacts. On Mar 26, 2010 2:16 AM, piyu spk2p...@gmail.com wrote: Hi All, I am developing a sync application which can sync multiple sync account

[android-developers] Re: What happens with the registered broadcast receivers after the application is killed?

2010-03-26 Thread Tughi
I had no idea I could do that with the components declared in the manifest. Thanks a lot! On Mar 25, 5:23 pm, Mark Murphy mmur...@commonsware.com wrote: Tughi wrote: Hi guys, I want to optimize the CPU usage in my application. Currently my application is configured to always receive the

[android-developers] Is it possible to integrate the speech input in other way, not only like in sample application?

2010-03-26 Thread myhayloff
I want to integrate the speech input to my keyboard, so I can't copy and paste from sample application to get started. Is it possible to integrate speech input in other way, not only like in sample application, without using startActivityForResult(..) or something like, without showing Speak now.

[android-developers] Re: How to indicate to user that a row is long-clickable?

2010-03-26 Thread Mark Wyszomierski
Long-click is a cool mechanism for exposing more options, it would be neat if there was some UI guideline that the android team could come up with to indicate to users that a row has this capability, Thanks On Mar 23, 5:58 pm, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote:

[android-developers] Re: The server could not process your apk. Try again.

2010-03-26 Thread Bob
I did some more investigation and it seems to be a problem with my having a uses-configuration android:name=android.permission.READ_PHONE_STATE/ at the end of my Android manifest. When I remove that the market seems to function normally. Has this permission been removed or renamed or do I need

Re: [android-developers] Re: The server could not process your apk. Try again.

2010-03-26 Thread Mark Murphy
Bob wrote: I did some more investigation and it seems to be a problem with my having a uses-configuration android:name=android.permission.READ_PHONE_STATE/ at the end of my Android manifest. When I remove that the market seems to function normally. Has this permission been removed or

[android-developers] Re: Design for Battery Life

2010-03-26 Thread kec6227
On Mar 25, 5:03 pm, Dianne Hackborn hack...@android.com wrote: On Thu, Mar 25, 2010 at 11:31 AM, kec6227 kec6...@gmail.com wrote: 2) This thought just came to me is that maybe I can use an alarm manager to chain broadcasts; I could set an alarm for the first time I need, then when that

[android-developers] Network connectivity checking without wakelock

2010-03-26 Thread Tako Au
I have a terrible bug in my widget. The widget is waken up using an AlarmManager (the update interval is chosen by users, ranging from 30 mins to 2 hours) to grab some data from the Internet and display it on the widget. I do not hold a wakelock since if the phone sleeps, just let it sleeps.

Re: [android-developers] how to Play music from AudioTrack

2010-03-26 Thread dillirao malipeddi
when you set properties explicitly, be sure to set the correctly based on stream... you cant hard code the values.. Stream properties --. track properties... On Mon, Feb 15, 2010 at 4:42 PM, kavitha kavith...@gmail.com wrote: Hi All, I want to play music from online mp3 link. I am reading

Re: [android-developers] Re: how to Play music from AudioTrack

2010-03-26 Thread dillirao malipeddi
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Thu, Mar 18, 2010 at

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

2010-03-26 Thread Corollary Computing
Oh haha, I set this one up way back when the program was first announced :) On Mar 26, 5:38 am, Disconnect dc.disconn...@gmail.com wrote: Or the one I set up 2 weeks ago - exchange.andblogs.net :) And its open to anyone with android devices to swap, including google's community seeding

[android-developers] Re: CacheManager.getCacheFileBaseDir() always returns null

2010-03-26 Thread qh.p...@gmail.com
i have the same problem the method init() is not accessible May be we should extend the CacheManager class and add a public method to call init() On 16 mar, 23:30, LeonB leonboga...@gmail.com wrote: If I look at the webkit sources:http://tinyurl.com/yfqutnf I see that they call

Re: [android-developers] Re: play audio from a stream in android...

2010-03-26 Thread dillirao malipeddi
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Thu, Feb 11, 2010 at

Re: [android-developers] Regarding web radio channel playing

2010-03-26 Thread dillirao malipeddi
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Wed, Feb 17, 2010 at

[android-developers] Configuring a DNS server IP address on android while using 3G

2010-03-26 Thread Android Development
Hello, I wish to configure the IP address of the primary DNS server while using 3G access from an android application. This is because, the DNS server is part of a private infrastructure and I need the application to resolve domain names from this particular DNS server only. For WiFi access, I

[android-developers] Re: Adding image into imageadapter at runtime

2010-03-26 Thread Tako Au
Haven't tried. I bet that you'd better extends ArrayAdapter instead of BaseAdapter then use ArrayAdapter.add(Object T) to put it into the ListView dynamically. Here is the reference, I tried to make a TextView + Checkbox custom ListView using this guide (CheckedTextView does not work since I

Re: [android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-26 Thread chris harper
We are probably in the running for the most active thread now but that’s great because this is an important issue that needs to be addressed. Bob – Thank you. Your solution is a pretty thought out solution. I admit I had to print it out and re-read it a few times. I might have a few questions

[android-developers] Sound output

2010-03-26 Thread André
Hi, I'm wondering if there is a way of choosing your sound/audio output source for a audio file or the text to speech function to ear speaker instead of the louder back speaker? Been looking around for it but can't find an answer for it. André -- You received this message because you are

[android-developers] Re: Problem in Showing TXT file in Webview

2010-03-26 Thread Bob Kerns
Yeah, compatibility with existing data is one of the cases where you have to deal with this stuff. Thel, issue you'll face, then, is just what encodings are available. I don't know what ones are available, but here's the list of the only ones REQUIRED to be available: US-ASCII, ISO-8859-1,

Re: [android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?

2010-03-26 Thread Qingyan(Evan) Liu
Strange thing occurs that sometimes there will be USB connected with usb icon. Then I can click on it to mount and everything is OK. Sometimes it doesn't work. However, it works though not very stable. Thanks a lot, Kirrrilka! 2010/3/26 Qingyan(Evan) Liu qingyan...@gmail.com Yes i'm sure the

[android-developers] Get current track from music player?

2010-03-26 Thread Jesper Majland
Hi I'm working on a application that, while it's running, should be able collect and save information about the music played by the Phones MediaPlayer. There are not any public API for this at the moment, do you have any plans for this in the future? It would be nice if my application just

[android-developers] how to determine length of a video programmatically?

2010-03-26 Thread Abhi
Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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

Re: [android-developers] how to determine length of a video programmatically?

2010-03-26 Thread Simone Russo
Try the MediaPlayer.getDuration() method Simone On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way to determine the length of a video before playing it? Thanks, Abi -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
I am using VideoView and I tried using getDuration() this way * defined VideoView mVideoView earlier in the code.. mVideoView.setVideoPath(getDataSource(path)); long duration = mVideoView.getDuration(); mVideoView.start(); This returns a -1 when I try reading 'duration' Abi On Mar 26, 1:12 

Re: [android-developers] How access restricted contacts in third party app

2010-03-26 Thread chris harper
I would think that is what is meant by restricted. On Fri, Mar 26, 2010 at 3:15 AM, piyu spk2p...@gmail.com wrote: Hi All, I am developing a sync application which can sync multiple sync account contacts in server. To take a backup of all contacts I am reading raw_contacts from

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
Hi, Could anyone tell me how to use getDuration() method for VideoView? I tried using getDuration() much after using setVideoPath() but the result is always the same -1. Abhi On Mar 26, 1:19 pm, Abhi abhishek.r.sha...@gmail.com wrote: I am using VideoView and I tried using getDuration() this

[android-developers] Re: How to indicate to user that a row is long-clickable?

2010-03-26 Thread Ken H
I just put a short Toast up when the activity launches, but I like Marks idea...basically give the user two or more paths to do the same thing. One when 'power users' would figure out on their own to do this, and another that basically takes the user by the hand. Ken IMHO, long-click should be

[android-developers] Re: Get current track from music player?

2010-03-26 Thread Ken H
I believe that music player is actually a separate application. Just because it came with the phone doesn't mean it's part of the API (or ever will be). Banged my head against a wall for 2-weeks before I figured that one out. Ken On Mar 26, 9:50 am, Jesper Majland jespermajl...@gmail.com wrote:

[android-developers] getDuration() in VideoView returns -1 !!!

2010-03-26 Thread Abhi
Hi, Has anyone tried using the getDuration() method in VideoView? It returns a -1 for me always. Is there a way around? Thanks, Abhi -- 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] Re: getDuration() in VideoView returns -1 !!!

2010-03-26 Thread Yahel
Stop posting twice the same question. Wait for an answer in your original post. Yahel On Mar 26, 7:06 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Has anyone tried using the getDuration() method in VideoView? It returns a -1 for me always. Is there a way around? Thanks, Abhi -- You

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Yahel
Have you checked that your setVideoPath returns a correct video path ? Can you see the video when calling the start method ? Yahel On Mar 26, 6:46 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Could anyone tell me how to use getDuration() method for VideoView? I tried using getDuration()

[android-developers] Re: getDuration() in VideoView returns -1 !!!

2010-03-26 Thread Abhi
The idea was to post the same question with a relevant subject this time... don't think it should annoy you that much On Mar 26, 2:17 pm, Yahel kaye...@gmail.com wrote: Stop posting twice the same question. Wait for an answer in your original post. Yahel On Mar 26, 7:06 pm, Abhi

[android-developers] Databases and Activity life-cycle

2010-03-26 Thread Anders Widen
Hi! I've been a long time reader, and I've had problems with handling databases (open, close, create adapter) within an Activity I think I've figured out the best way to do it so I wanted to share, by writing a small blog post to easily handle code. I would love to hear your thoughts and

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
yes there is nothing wrong with the video path and the video plays fine. thanks On Mar 26, 2:18 pm, Yahel kaye...@gmail.com wrote: Have you checked that your setVideoPath returns a correct video path ? Can you see the video when calling the start method ? Yahel On Mar 26, 6:46 pm, Abhi

[android-developers] Dev 1 Phone OS Images for SDK 2.0 or 2.1

2010-03-26 Thread AuxOne
I have a Dev 1 Phone which I was able to update from Android 1.0 to 1.6 via an OS Image found online. I did not see an OS Image to update to 2.X. Does that exists? Does the hardware of the Dev 1 even support it? Thanks -- You received this message because you are subscribed to the Google

[android-developers] Re: What does ERROR: thread attach failed mean?

2010-03-26 Thread fadden
On Mar 26, 3:33 am, Paolo brand...@gmail.com wrote: so can i ignore it? Yes. -- 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

[android-developers] Re: Roadmap and JSR's

2010-03-26 Thread Ian
anyone from Google? On Mar 23, 1:28 pm, Ian pale.cold.f...@gmail.com wrote: Are we going to see a new Roadmap?  When? This is a reoccuring question posed by many people here. There are many different JSR that people are wondering if they will get ported/adopted. Personally, I am wondering

Re: [android-developers] Re: Roadmap and JSR's

2010-03-26 Thread Shane Isbell
One issue with JSRs is they require licensing, which is not so great for the open-source side of things. They also hamper distribution of the base platform. On Fri, Mar 26, 2010 at 12:29 PM, Ian pale.cold.f...@gmail.com wrote: anyone from Google? On Mar 23, 1:28 pm, Ian

[android-developers] Re: LED is not working

2010-03-26 Thread DanM
Which product is this for? dan On Mar 23, 5:37 am, AKarmakar karmakar.arin...@gmail.com wrote: Hi All, I wrote a small application to test LED. Here is the code snippet: private void RedFlashLight()     {     NotificationManager nm = ( NotificationManager ) getSystemService(

[android-developers] Re: Being legally harassed, by a large iPhone developer

2010-03-26 Thread csaunders
I just downloaded the demo of your game and did a comparison of your game to the game by Firemint. They are fairly similar, the smoke from the planes, exclamation point, etc. Perhaps you could do some level redesigns and change your incoming vehicle notifier from an exclamation point to an arrow

[android-developers] Unknown DNS queries

2010-03-26 Thread Nitin Bajaj
I was monitoring the traffic on Eclair 2.1 and noticed periodic DNS queries to android.clients.google.com after launching IM/Email/ Browser even though the phone was idle and I was not doing anything. Does anyone know why Android generates these periodic queries to android.clients.google.com? Is

[android-developers] are there functions available to control VPN ? (create profile, connect to, ... )

2010-03-26 Thread Nils Kannengiesser
Hi, are there functions available to control VPN (create profile, connect to, ) ? For now I haven't found any functions for that. I don't have a rooted Nexus One. I also don't want that for the moment. Are there official functions available for that or will they be made available within the

Re: [android-developers] requestLocationUpdates Problems

2010-03-26 Thread Ning Shi
I don't know why but whenever i try to run the program on my AVD it says that I have a NullPointerException on line 47, which I can't seem to get through. That's exactly the problem. You haven't initialized locationManager before you call it. Follow the description in

[android-developers] SDK couldn't load in Eclipse for some reason

2010-03-26 Thread Droni
It is work fine on Win XP, but on Win 7 x64 after add some libraries (for example jbox2d) I see message 'Android SDK Content Loader' has encountered a problem. parseSkdContent failed. And first error contains next stack: java.lang.NullPointerException at

Re: [android-developers] using google map search API

2010-03-26 Thread Ning Shi
On Wed, Mar 24, 2010 at 3:54 AM, lee platin...@gmail.com wrote: Is it possible to use google map search API in android? I was looking for the same thing a while ago. It seems that it's not available directly. However, you can form the Google Maps AJAX Search URL and parse the JSON results by

[android-developers] Unique ID of phone?

2010-03-26 Thread Anna PS
This seems to be a bit of a vexed issue: see http://groups.google.com/group/android-developers/browse_thread/thread/3f4ae5cdf792ce00 Like the person who started that thread, I need to get a unique ID for a device, without using scary permissions for TelephonyManager. I've tried id =

Re: [android-developers] Problems calling GeoCoder.

2010-03-26 Thread Ning Shi
On Tue, Mar 23, 2010 at 6:16 PM, Sergio Visinoni sergio.visin...@gmail.comwrote: Hi all, I'm having a problem calling GeoCoder.getFromLocation(); I have a LocationListener calling an updateLocation() method in my class, which in turns calls GeoCoder.getFromLocation() with the current

[android-developers] GridView bringToFront problem

2010-03-26 Thread Arikon
I've been making a simple android game. It's some sort of board game. I have a gridView with TextViews as children. Everything was fine until i decided to animate selected TextView. Animation is that the TextView scales up. First i had problem with the fact that neighboring textViews cover scaled

[android-developers] ContextMenuInfo null in ListView

2010-03-26 Thread Laxmi Katti
Hi All, I have two listviews in my activity and I am using two adapters to populate them.The list items are customized. I have implemented onClick listener on the list item and it works fine. Next what I want to try is: on long press on the list item I should be able to display the

Re: [android-developers] Service that can report my location all the time

2010-03-26 Thread Ning Shi
On Tue, Mar 23, 2010 at 6:11 PM, Kateling ling.hu...@gmail.com wrote: Hi, there I want to create a service that runs on Android which can collect all of my location information. Either write the information to a file or send to a server using 3G/wiki network. I was thinking about using a

[android-developers] Unknown DNS queries

2010-03-26 Thread Nitin Bajaj
Hi, I was observing the traffic on Eclair 2.1 and noticed that after launching IM/Email/Browser, periodic DNS queries were sent to android.clients.google.com even though the phone is idle. Does any one know why these DNS queries are generated? -Nitin -- You received this message because you

Re: [android-developers] Running Flash 10 on Android 2.1

2010-03-26 Thread Deven
REMOVE ME -- 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 more

[android-developers] List of Android Apps by license

2010-03-26 Thread avilella
Hi, Where can I see a list of Android Apps categorized by license? I am interested in a list of GPL or FSF-approved license apps. Cheers, Albert. -- 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] Contacts is missing a very important function

2010-03-26 Thread Jeff
On 1.5 at least, which I have not confirmed on subsequent releases, it is not possible to search or see company name. This doesn't seem to be available via gmail on the web either. I don't understand why contacts should only be viewable and searchable by first and last name, ONLY. This is a

[android-developers] Re: Moto Milestone device drivers for XP/32?

2010-03-26 Thread DanM
Have you tried this Driver installation package from the Motorola site? There are 64 bit drivers there as well. Direct Download: http://direct.motorola.com/hellomoto/Common/Drivers%20and%20Plug%20ins/USB_Drivers_32_bit_4.5.0.zip Link to Motorola site:

Re: [android-developers] view list of extra's for a intent

2010-03-26 Thread Ning Shi
On Wed, Mar 24, 2010 at 3:48 PM, arnoldl arn...@fortuin.nl wrote: i'm trying to find out what extra's there are for a specific intent.. in the eclipse debug window i can see it has extra's , but i can''t find a list of those extra's. I also can't find a function to get all extra's into a

[android-developers] HttpPost abort not returning immediately when called from separate thread

2010-03-26 Thread tme
I am using a DefaultHttpClient and a ThreadSafeClientConnManager to share the httpClient across threads. That part is working well. However, when I execute an HttpPost in one thread, and call httpPost.abort() from another. It does not return immediately and continues blocking until the socket

[android-developers] Android Applications for Web Browsers

2010-03-26 Thread Ashish Khivesara
Hi, I am new to Android and am currently reading the documentation. I am trying to scope out the following. *Porting an android application UI to Web Browsers. * * * The reason here is, we plan on using android as a platform for an embedded device and the output/renderer in this case is going

[android-developers] Anyone with Nexus One and Logcat? My program is crashing...

2010-03-26 Thread MadsVA
Hi, I've developed an app that uses the camera to detect movements, but unfortunately it crashes on Nexus One phones. I *think* it might be an issue with the supported sizes of the preview and the snapshots, but im not sure. So is there anyone out there with a Nexus One who would try to run the

[android-developers] Service not running when phone is locked

2010-03-26 Thread Anbu
In my application i written a service which will continuously track the location using GPS.But when phone is locked service is not tracking the location. Anyone having any idea ? Please let me know. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Solution to why list item text is invisible in AlertDialog

2010-03-26 Thread shawn
I have seen several posts (which for some reason I cannot reply to) that complain that there list item text is invisible when inside an AlertDialog unless they select it. I ran into this problem and wanted to post my solution. If you use AlertDialog.Builder.setItems with a simple string array,

[android-developers] Passing Command line arguments to an android application

2010-03-26 Thread Naveen
Hello, I am new to Android Development. I have a few questions to ask. 1) How can i pass command line arguments to an android application. Lets say, i have to pass an Integer value as a command line argument to an android application while launching it. 2) can we launch an application made

  1   2   >