[android-developers] Re: ActivityThread.ContextCleanupInfo leaking memory?

2009-12-21 Thread kohlerm
Hi, kohlerm thats me :-) Thanks for the compliment! Your applications looks cool, and might be something I need within the near future :-) So let's see whether I can help you. Is there anything I need to do to reproduce the issue? Or maybe you can just send me a heap dump? Regards, Markus On

[android-developers] Re: Emulating TreeViews using Expandable ListViews

2009-12-21 Thread Samuh
:bump: -- 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 options,

[android-developers] sending and receiving data with sockets

2009-12-21 Thread Benjamin
Hello, i want to develop an app for controlling my Windows Media Center with my Android phone. Therefore i use the vmccontroller plugin (http:// vmccontroller.codeplex.com/Release/ProjectReleases.aspx? ReleaseId=23251). With this plugin i can controll my MediaCenter by sending Strings like

[android-developers] strings.xml resource

2009-12-21 Thread Patrick Plaatje
Hi All, i was wondering if i could put extra attributes in a strings.xml resource. I need more metadata for the value in this resource and it seems to me that if i could read those extra attributes from the static R reference, it saves me resources over implementing an xml reader. So what i

[android-developers] Re: Viewing database contents on device

2009-12-21 Thread Neilz
Isn't there some software you can use for visually viewing the database? Would that work on my device? -- 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] A question regarding AsyncTasks

2009-12-21 Thread Android Development
Hello, In the documentation, I read that it is not possible for executing 2 Async Tasks. If execute is called again, it should throw an exception. The following is given under the heading of Threading Rules, and i quote: The task can be executed only once (an exception will be thrown if a

[android-developers] Re: Dont show Link Borders in WebView

2009-12-21 Thread ko5tik
What is wrong with CSS? On Dec 20, 8:21 pm, guruk ilovesi...@gmail.com wrote: Hi, first thanks for all your previous help before :) Now I need a solution for HOW to disable the standart LINK Borders in a WebView! I mean. For example I have a page with some Pics or Text and all with Links.

Re: [android-developers] A question regarding AsyncTasks

2009-12-21 Thread Agus
No you don't wait for the 1st to finish, just create another instance of AsyncTask. The implementation of AsyncTask uses pooled threads On Mon, Dec 21, 2009 at 2:23 AM, Android Development indodr...@gmail.comwrote: Hello, In the documentation, I read that it is not possible for executing 2

[android-developers] Re: Dont show Link Borders in WebView

2009-12-21 Thread guruk
Thanks... i solved it now. webview.setFocusable(true); webview.setFocusableInTouchMode(false); so this orange frames does not appear while in touch mode but when you use your trackball you still can use that orange Link Marker. greets chris On Dec 21, 12:35 pm, ko5tik

Re: [android-developers] A question regarding AsyncTasks

2009-12-21 Thread Android Development
Thanks for the prompt response Agus. So, this means that the documentation needs to be updated ? On Mon, Dec 21, 2009 at 4:09 PM, Agus agus.sant...@gmail.com wrote: No you don't wait for the 1st to finish, just create another instance of AsyncTask. The implementation of AsyncTask uses pooled

[android-developers] Linkify specifications

2009-12-21 Thread Ajp007
Hi, I added android:autoLink= true to TextView. Now, wanted to know, specifications which it turns as links. Like: What is the length of the number, which can turn to clickable phone number. Some times, If date present in Body of SMS, it is linking year as number. Appreciate your help. --

[android-developers] Some permissions not being copied

2009-12-21 Thread ber4444
Hi, I'm having the following permissions in my manifest: uses-permission android:name=android.permission.INTERNET/ uses-permission android:name=android.permission.MOUNT_UNMOUNT_FILESYSTEMS / uses-permission android:name=android.permission.RECORD_AUDIO uses-permission

[android-developers] Re: Some permissions not being copied

2009-12-21 Thread ber4444
Never mind. On Dec 21, 12:24 pm, ber gabor.berenyi...@gmail.com wrote: Hi, I'm having the following permissions in my manifest:  uses-permission android:name=android.permission.INTERNET/  uses-permission android:name=android.permission.MOUNT_UNMOUNT_FILESYSTEMS /  uses-permission

[android-developers] How to start activity in android default packages

2009-12-21 Thread saikiran n
Hi I have implemented code to start android built in applications like email application see the following code PackageManager appInfo = context.getPackageManager(); ListPackageInfo plist=appInfo.getInstalledPackages(0); for(int i=0;iplist.size();i++) {

[android-developers] Display numeric entities (eg. #35;) in TextView or WebView

2009-12-21 Thread Patrick Plaatje
Hi All, i'm trying to process text which i'm receiving from a RSS feed. In this feed all special characters are defined as numeric entities. When i try to display these texts in a Text- or WebView, it stops displaying anything after encountering the numeric entity. Any thoughts? Regards,

Re: [android-developers] Manifest question

2009-12-21 Thread Mark Murphy
FJMustak wrote: In my manifest, I defined uses-configuration android:reqNavigation=trackball, and when I published my game, I got a user comment saying the game force closed on him. I used that configuration specifically because I only had access to phones with a trackball (G1 and Google

Re: [android-developers] Re: ($25 reward) GPS not triggering onLocationChanged

2009-12-21 Thread Mark Murphy
dapaintballer331 wrote: Seems I'm having trouble keeping my service running. 12-21 02:24:49.060: WARN/MessageQueue(267): java.lang.RuntimeException: Handler{43782188} sending message to a Handler on a dead thread What thread are you using? If this is the main application thread, I'd be

[android-developers] Re: Lifecycle states

2009-12-21 Thread stanlick
Actually, the save preferences code was factored into its own method and there was a commit. The two lifecycle methods were simply calling it. This is why it appeared to me to be a threading issue in the lifecycle callbacks On Dec 19, 6:05 pm, Mark Murphy mmur...@commonsware.com wrote:

Re: [android-developers] How to start activity in android default packages

2009-12-21 Thread Mark Murphy
saikiran n wrote: But my requirement is this email app is having several activites if i want to start a perticular one how can i do it Read the documentation for the application in question, and use whatever public Intents they offer to start other activities. If there is no such

[android-developers] Calendar - Custom Appointment Data

2009-12-21 Thread moa
Hi, Is it possible to hook into a calendar appointment so that I can create a new button for the appointments' menu? I would like to add some extra functionality to an appointment. When my new button is pressed the appointment will be passed to my new activity? Is this possible? and how? --

[android-developers] Re: just another android rtp stack question

2009-12-21 Thread maxsap
ok thanks, currently I am using jlibrtp but I don't mind GPL license so if I can't do it I will use Sipdroid's -- 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

[android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread matt smith
phew - its not just me then - thought everyone has abandoned my app in the last week (14% unaccounted drop in active installs in 7 days even after staying steady for the last 8 months) - even though i haven't changed anything! thought i'd done something to upset all my users all at once ...

Re: [android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread Justin Giles
Well, after the update over night my active installs didn't decrease at least. I'm still missing 15% from what I had 3 days ago (and averaged over a month prior). On Mon, Dec 21, 2009 at 8:09 AM, matt smith mattsmith...@googlemail.comwrote: phew - its not just me then - thought everyone has

Re: [android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread Greg Donald
On Mon, Dec 21, 2009 at 8:16 AM, Justin Giles jtgi...@gmail.com wrote: Well, after the update over night my active installs didn't decrease at least.  I'm still missing 15% from what I had 3 days ago (and averaged over a month prior). At this rate I'll have a zero retention rate in a week,

[android-developers] Re: Droid - How to create a top bar notification during calls.

2009-12-21 Thread Matt
Thanks Dianne, Are you saying that notifications can not be delivered or can be delivered on all Android phones during calls? Thanks again, Matt On Dec 20, 3:14 pm, Dianne Hackborn hack...@android.com wrote: It works the same as all other Android phones. On Sun, Dec 20, 2009 at 12:02 PM,

[android-developers] AudioTack

2009-12-21 Thread Business Talk
I seems as if the sdk 2.0.1 introduced some instability into the AudioTrack. The PlaybackPositionUpdateListener is call very inpredicably. It used to work fine in 2.0.0. Has anybody alse noticed this change? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Converting a free app to a paid-for

2009-12-21 Thread Matt
If your application is a pay application, and you make it free as a temporary promotion, can you then charge again? Matt On Dec 20, 1:58 pm, Mark Murphy mmur...@commonsware.com wrote: frantz lohier wrote: Is there a way to convert a free app to a paid for ? Does not look like this option

Re: [android-developers] Re: Converting a free app to a paid-for

2009-12-21 Thread Mark Murphy
Matt wrote: If your application is a pay application, and you make it free as a temporary promotion, can you then charge again? That's a good question. All I know is that in my Market panel, things that are free have the paid option disabled. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Re: Converting a free app to a paid-for

2009-12-21 Thread TreKing
I don't think so. I believe I saw a post on the Market Help Forums about this. Someone tried this and was surprised to find they couldn't revert back. Same rules apply. Once it's free it stays free. -

Re: [android-developers] Re: Droid - won't rotate image captured from camera? (Camera.Parameters)

2009-12-21 Thread 李務誠
Droid respects setRotation. The problem is Droid does not rotate the entire picture. Droid only sets orientation in the EXIF header. Applications need to check the orientation in the EXIF header and then rotate it accordingly before display.

[android-developers] Re: Get the list of discovered bluetooth

2009-12-21 Thread rezar
No answer ? :( On Dec 18, 12:06 pm, rezar rraw...@gmail.com wrote: Can any body help me how can I get the list of discoveredbluetooth device ? I am currently developing an application which scan forbluetooth devices in a specific time interval and log their names. I haven't been found any

[android-developers] Cant find my content provider?

2009-12-21 Thread draf...@gmail.com
Hi, I have written the following content provider, but when I try to pull information from it into an array, I get the following error: 12-21 15:14:18.627: ERROR/ActivityThread(1160): Failed to find provider info for cicero.org.provider.CiceroContentProvider I presume its something to do with

Re: [android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread TreKing
I noticed a drop as well (at least 10%) but ... the ACTIVE / TOTAL ratio is now actually accurate as far as I can tell. Maybe they just adjusted their stats to only count ACTIVE once the user has exceeded their refund window and can no longer get a refund? If you have a large volume of sales on

[android-developers] Re: Video Playback freezes on 1.6 donut with opencore2

2009-12-21 Thread Alexey Krasnoriadtsev
bump Anyone has any ideas? On Dec 18, 9:35 pm, Alexey Krasnoriadtsev ale...@agilefusion.com wrote: It looks like there is something wrong with the player (opencore), at times, video playback will get stuck on one frame, and will stay there for a long time. If you look at the log, you can

[android-developers] Re: Setting for Use incoming call volume for notifications

2009-12-21 Thread Beth
I need to bump this thread I face the same problem. My guess is that there is nothing public and anything we might find through source and code into a program could change without notice. Truth is that the shift from SDK 1.1 to SDK 1.5 introduced this tie in and broke my UI! My solution was to

[android-developers] Re: Droid - won't rotate image captured from camera? (Camera.Parameters)

2009-12-21 Thread Mark Wyszomierski
Hi Wu-Cheng, I'm not following - I'm using the native camera intent with the Droid. So if I take a picture while holding the camera in a portrait orientation, then it should write a rotation of 90 degrees into the exif header of the output jpeg (while not really rotating the image data)? If

[android-developers] Re: Focus problem with dpad

2009-12-21 Thread tikky
I was able to get this working by calling: list.setItemsCanFocus(true); Now the button gets focus when navigating with D_PAD. But now I face another issue. The textview does not get highlighted when selected. Is there anyway I can get the textview to be highlighted when focussing on it? Kunal

[android-developers] Using new sdk methods on devices running older sdks?

2009-12-21 Thread Mark Wyszomierski
Hi, I'm using the level 5 sdk to compile my app, but set my target to sdk level 3 in my manifest. All is fine. I may need to use some level 5 classes (ExifInterface) though. What's the right way to go about using them while not fouling things up for devices running older sdk versions? Do we

[android-developers] Re: AudioTrack - Clicking Sound

2009-12-21 Thread Business Talk
Mark, Yours is a golden tip. In a long run using files is out of the question, considering the size of the application it would generate. Your approach is definitely the way to go. I just have no experience in the sound synthesis, Specifically synthesizing instrument sounds. Do you have any

Re: [android-developers] Re: Droid - How to create a top bar notification during calls.

2009-12-21 Thread Dianne Hackborn
On Mon, Dec 21, 2009 at 6:53 AM, Matt hansen.matt...@gmail.com wrote: Are you saying that notifications can not be delivered or can be delivered on all Android phones during calls? You absolutely can post them. It is unlikely to me they would cause a sound to play, though, if the user is

Re: [android-developers] Using new sdk methods on devices running older sdks?

2009-12-21 Thread Mark Murphy
Mark Wyszomierski wrote: Hi, I'm using the level 5 sdk to compile my app, but set my target to sdk level 3 in my manifest. All is fine. I may need to use some level 5 classes (ExifInterface) though. What's the right way to go about using them while not fouling things up for devices

[android-developers] Re: Working with the new ContactContracts API

2009-12-21 Thread Molee
for content of email and note, by convention, you can put then into column data1 directly ContactsContract.DataColumns.data1 i found that there is no object in ContactsContract.CommonDataKinds.Email representing data1 hence i just put data1 directly and it works

[android-developers] Help Understanding Custom Components and Multiple Resolutions - Analogy to Lego!

2009-12-21 Thread superjet
I had posted a similar thread a while back and received no feedback, so let me try to be more clear... I am able to use Androids components to build the most basic layouts, which include images, buttons, text areas, etc. These are like Android Lego! I can build the castle. BUT I want to design

Re: [android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread Justin Giles
Most recent update: +113 downloads, -131 active installs. Numbers just don't add up. I would not think by chance that this would happen, consistently over a 4 day period when a months worth of data says that both the downloads increase as well as the active installs. So far I've lost 16% points

[android-developers] Re: Droid - won't rotate image captured from camera? (Camera.Parameters)

2009-12-21 Thread Streets Of Boston
Check by using the content-provider. Do a query on the image-id (can be obtained from the image-Uri) and request its value of the column 'MediaStore.Images.ImageColumns.ORIENTATION'. About #2: Yep, doing that in the device using full-resolution will be hard to do. Not enough memory available for

Re: [android-developers] Help Understanding Custom Components and Multiple Resolutions - Analogy to Lego!

2009-12-21 Thread Mark Murphy
superjet wrote: I had posted a similar thread a while back and received no feedback, so let me try to be more clear... I am able to use Androids components to build the most basic layouts, which include images, buttons, text areas, etc. These are like Android Lego! I can build the castle.

Re: [android-developers] Re: Working with the new ContactContracts API

2009-12-21 Thread Dmitri Plotnikov
That's right. DATA1 is used for the most important data element by convention. Email has an unfortunate alias DATA for DATA1. In 2.1 we will also have Email.ADDRESS mapping to DATA1. The DATA1 column is indexed, so doing searches on that column in combination with a MIMETYPE constraint will be

[android-developers] Re: Converting a free app to a paid-for

2009-12-21 Thread polyclefsoftware
No, you can't. At least, the market didn't let me do this the last time I tried (about 6 weeks ago). Sales on a particular app were near zero, so I decided to put ads in it and distribute it for free. Once I did so, the option to toggle it back to paid was permanently disabled. On Dec 21, 8:57 

[android-developers] Re: Rotate animation applied to full window -- view crops width? How to fix?

2009-12-21 Thread jean-guys
Just to follow up, the desired effect is achieved by hard-coding the dimensions of the ImageView to the dimensions of the actual image. On Dec 20, 10:54 am, jean-guys jean...@gmail.com wrote: Hi all, I have a pretty simple view hierarchy, including an ImageView in a FrameLayout with a source

Re: [android-developers] Display numeric entities (eg. #35;) in TextView or WebView

2009-12-21 Thread Frank Weiss
I suppose the feed you're reading is correctly formed XML.How are you parsing it? If you're using say javax.xml.parsers.SAXParser, the entity escapes should already be decoded once you access the text or attribute as a java.lang.String. On Mon, Dec 21, 2009 at 5:22 AM, Patrick Plaatje

Re: [android-developers] Re: Issues debugging Droid with Eclipse

2009-12-21 Thread Frank Weiss
The issue was mostly my bad programming with the UI thread and other things. I was collecting items with SAXParser using AsyncTask and adding items to a subclass of ItemizedOverlay. I was calling the populate method for each added item instead of only once when all items are available (read the

[android-developers] AlarmManager PendingIntents Query

2009-12-21 Thread stanlick
Is there a way to identify PendingIntents sitting on the AlarmManager? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] A question regarding AsyncTasks

2009-12-21 Thread Frank Weiss
It was clear to me that the documentation meant the instance of AsyncTask cannot be executed again. -- 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

[android-developers] Building Android Applications using J2ME Polish

2009-12-21 Thread Sandeep Ranganath
Hi, Was just going through J2ME Polish, it supports to build applcations for various platforms, What are the disavantages i would face if i use J2ME Polish for developing an application for Android Phones. I have little info about how J2ME polish doesnt allow us to use the native commands of

[android-developers] Re: Droid - How to create a top bar notification during calls.

2009-12-21 Thread Matt
My problem is specific to the Droid. I can successfully post notifications during calls in the emulator using 1.5, 1.6, and 2.0. I can also post notifications on the G1. However, when I use the Droid, notifications are squelched (as far as I can tell) during active phone calls. All other

[android-developers] Re: How to change widget layout background or hide it dynamically?

2009-12-21 Thread Ryan
I am having this same issue have you found a solution? My current workaround is to make a new XML layout file for each background that I want in the imageview. But I can't believe that there isn't a way to do this in code. Thanks, - Ryan On Dec 9, 2:58 pm, pcm2a reeeye...@gmail.com wrote: I

[android-developers] Is it ever OK to use AbsoluteLayout?

2009-12-21 Thread k_day
I understand the problems with assigning a fixed position to UI components, but I would like to use AbsoluteLayout in a way such that the position of the components are chosen dynamically, calculated based on the screen size. Here is why I am thinking this may be easiest: I want to display a

[android-developers] NumberPicker based widgets function different in emulator than phone

2009-12-21 Thread jtoolsdev
TimePicker and DatePicker use NumberPicker which is an internal widget. On the emulator the EditText on the widget is focusable and you can type into it. On my phone, and HTC Eris, you cannot. Does this have something to do with the attributes (which I don't entirely understand) and HTC maybe

[android-developers] Re: SDK 1.6, ADT 0.9.3, Eclipse 3.4.2: Problem with Android Editors

2009-12-21 Thread dmanpearl
I have the same problem. Reversion to Eclipse XML Editors and Tools v3.0.5 or v3.0.4 did not help or change the symptoms. My work-around is to use a text editor. Any solution? - David -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Abhi
That didn't help. :( Can someone guide me to the right tutorial/sample code? Thanks, Abhishek On Dec 18, 11:03 pm, android09 pranav.jaja...@gmail.com wrote: Hi Abhishek, You can to through the below example for creatingcustomview. Follow the below link.

[android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread Seni Sangrujee
That's disturbing that you dropped 20 positions. I'd been thinking that this problem was happening to everyone or the changes wouldn't be enough to change the rankings much. I hadn't noticed my app dropping in the rankings the last few days, but dropped 3 spots today. Actually, rereading this

[android-developers] Re: ($25 reward) GPS not triggering onLocationChanged

2009-12-21 Thread dapaintballer331
This is interesting. Every time that block of log was sent to logCat, it was due to the system trying to send the WakefulIntentService a location. HOWEVER, only a WakefulIntentService was able to activate the gps activity. (Based on the gps icon in the notification bar) Once I made the program a

[android-developers] Develop Android app using J2ME Polish

2009-12-21 Thread Sandeep Ranganath
Hi, I m currently evaluating the pros and cons of devleoping the application for Android devices using J2ME polish, please send me accross your views on this. What are the technical issues, legal issues etc Regards, Sandeep -- You received this message because you are subscribed to the

[android-developers] Anyone noticing more uninstalls of their app than usual over last weekend/today?

2009-12-21 Thread pawpaw17
I released an upgrade to my app on Saturday night and since have noticed an unusual number of uninstalls. My app has been out for 8 months, and this is very unusual. Has anyone else noticed this? I'm wondering if there is anything related to the market, or a new OS version hitting, or contracts

Re: [android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
Abhishek, it's kinda hard to resolve this without any code, but here's how i solved it: in the main activity, i defined the following: setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? arg0, View arg1, int arg2, long

Re: [android-developers] Anyone noticing more uninstalls of their app than usual over last weekend/today?

2009-12-21 Thread Greg Donald
On Mon, Dec 21, 2009 at 3:11 PM, pawpaw17 georgefraz...@yahoo.com wrote: I released an upgrade to my app on Saturday night and since have noticed an unusual number of uninstalls. My app has been out for 8 months, and this is very unusual. Has anyone else noticed this? I'm wondering if there is

[android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread greenrift
I put out a bug update for mine on Friday evening. On Dec 21, 3:00 pm, Seni Sangrujee sangru...@gmail.com wrote: That's disturbing that you dropped 20 positions. I'd been thinking that this problem was happening to everyone or the changes wouldn't be enough to change the rankings much. I

[android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread pawpaw17
I put out a bug update Saturday night and, like you guys, the floodgates opened on uninstalls. What makes no sense is I had a large number of uninstalls Monday morning which is always light for activity. I want someone from Google to respond to this. I think there is something wrong with the

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
My Apologies, i didn;t see the complete message thread earlier (thanx Gmail!). I hope my post did help you though. If not, reply again and i'll see if i can help. Regards, Patrick -- Forwarded message -- From: Patrick Plaatje pplaa...@gmail.com Date: 2009/12/21 Subject: Re:

Re: [android-developers] Re: Are the market stats for developers broken?

2009-12-21 Thread Greg Donald
On Mon, Dec 21, 2009 at 3:30 PM, pawpaw17 georgefraz...@yahoo.com wrote: I want someone from Google to respond to this. This one guy said something earlier here: http://www.google.com/support/forum/p/Android+Market/thread?tid=4c5752ca3e5af4ffhl=en Also, my app is free, some of the apps

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Abhi
Hi Patrick, Thanks for getting back. I don't think I understand your solution completely. Maybe I am too exhausted to think straight. Here is what I am trying to do, I have a custom listview with an icon, textview and button on each row. There are 6 items in the listview and each row button

[android-developers] Re: I am a newbie...

2009-12-21 Thread Jae Chang
HOW DO I RUN SAMPLE CODE I GOT FROM ANDROID PAGE IN ECLIPSE WITH ANDROID ADT/AVD/SDK? Thanks for helping this n00b out. I got that USB driver thing and other stuff you explained kind of... On Dec 19, 8:10 pm, Frank Weiss fewe...@gmail.com wrote: Info about the USB driver is on the

Re: [android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
Hi Abhishek, what i did in my solution was not setting the onClick listener in the getView method, but rather attach an onItemClickListener to the listview: lv.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? arg0, View arg1, int

[android-developers] Re: android.intent.category.DESK_DOCK

2009-12-21 Thread Wes
Good post, Nat. Thanks for the link to the other site. I was trying to do the same thing as you with my Droid (override Motorola's default multimedia station thing) and your link answered my question. I appreciate it. On Dec 11, 4:56 pm, Nat nathamm...@gmail.com wrote: Anyone know anything

[android-developers] Audio Video recording on Android.

2009-12-21 Thread Anu
Hi, I am trying to develop an app which streams live audio/video. I have the mediarecorder to record both audio, video frames , and it does so. But the thing is it records a chunk of audio and then records a chunk of video frames and then records a chunk of audio frames to the file. How do I

[android-developers] subclassed Drawable disables AlphaAnimation?

2009-12-21 Thread kostmo
I have been applying a simultaneous rotate and alpha animation to an ImageView using AnimationSet. It was working fine when I set a Bitmap as the image with Image.setImageBitmap(my_bitmap). I then extended the Drawable class with my own drawing routine. In my custom drawable I do some

[android-developers] Define what activity will start the task on Recent Apps menu

2009-12-21 Thread André Oriani
The Recent menu apps( the one after a long home key preess) can do two things: 1- If the task for the app is still running it will the resume the activity on the top of the stack of the task 2 - Otherwise it launches the activity that has started the task, no matter if it is not the the activity

[android-developers] Re: Will the droid with andoid 2.0 get updates that give us more home screens?

2009-12-21 Thread André Oriani
Have you heard of Moto CLIQ with Motoblur ? So it has 7 screens On 8 nov, 17:18, Scott Diener kewlsco...@gmail.com wrote: I love mydroid. But it seems unfair that the best android device has the least amount of home screens. Three isnt nearly enough. The HTC eris has seven. The hero has

[android-developers] SDK and Linux 64 bits

2009-12-21 Thread Nanard
Hi, I wonder if someday the SDK will run fine on Linux 64 bits. I understand it's not a priority for Google team, but 64bits desktop OS are becoming common... My case : Mandriva 2010 64 bits, Eclipse 64 bits, SDK 1.6 : OK to create code launch emulator. But : - adb never find my phone linked

Re: [android-developers] SDK and Linux 64 bits

2009-12-21 Thread Dan Sherman
Works fine on Ubuntu 9.04, and 9.10 x86_64... Haven't tried Mandriva, but it should be possible... - Dan On Mon, Dec 21, 2009 at 6:17 PM, Nanard bsegon...@free.fr wrote: Hi, I wonder if someday the SDK will run fine on Linux 64 bits. I understand it's not a priority for Google team, but

[android-developers] Re: The GPS Shutdown Thing

2009-12-21 Thread Mark Wyszomierski
I was able to confirm this on an HTC Hero. If the refresh rate is a value over ~35 seconds, the GPS icon will sometimes get stuck on the notification bar. Setting a refresh rate of 1 second takes the notification off the bar without fail. Until the next HTC Hero update, anyway! On Dec 20, 7:07 

[android-developers] Re: Is it ever OK to use AbsoluteLayout?

2009-12-21 Thread Paul Turchenko
I would suggest creating your own layout for this purpose. On Dec 21, 10:01 pm, k_day kevin.r@gmail.com wrote: I understand the problems with assigning a fixed position to UI components, but I would like to use AbsoluteLayout in a way such that the position of the components are chosen

[android-developers] Re: Droid - won't rotate image captured from camera? (Camera.Parameters)

2009-12-21 Thread Mark Wyszomierski
Alright thanks all, got this working. On 2.0+ devices, I use the ExifInterface class to see if the image needs to be rotated. If so, I can load the image at a downsampled size and do the rotation myself. Like Streets Of Boston pointed out, I don't know of a good way to do the rotation of the full

[android-developers] Re: Using new sdk methods on devices running older sdks?

2009-12-21 Thread Mark Wyszomierski
Thanks Mark, all works well as directed. On Dec 21, 12:47 pm, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote: Hi, I'm using the level 5 sdk to compile my app, but set my target to sdk level 3 in my manifest. All is fine. I may need to use some level 5 classes

Re: [android-developers] Using new sdk methods on devices running older sdks?

2009-12-21 Thread Dianne Hackborn
In a lot of cases you can probably avoid checking the API version at all. For example as Andy McFadden describes in the backwards compatibility blog post, it is natural to simply test for the particular class or other API that you are wanting to use at the time you use it:

[android-developers] Re: Using new sdk methods on devices running older sdks?

2009-12-21 Thread Mark Wyszomierski
Thanks Dianne, that's a useful post. On the topic of backwards compatibility, my manifest file looks like: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=5/ this produces a warning in eclipse: Attribute minSdkVersion (3) is lower than the project target API level (5) this

[android-developers] How to use android:required

2009-12-21 Thread Mark Wyszomierski
Hi, In my manifest file, I have the following: uses-permission android:name=android.permission.CAMERA / uses-feature android:name=android.hardware.camera/ my app can use the camera if one exists, but is not necessary for the app to function. My app also uses the auto-focus callback when

[android-developers] Re: Source Code

2009-12-21 Thread Brion Emde
I also looked high and low for Android sources, just for reference. Finally, I saw that Dianne Hackborn posted this links to the Google Source for the project: http://android.git.kernel.org/ The Java classes are in the platform/frameworks tree. On Dec 16, 8:37 pm, Michael J

Re: [android-developers] How to use android:required

2009-12-21 Thread Dianne Hackborn
android:required appeared in 1.6; unfortunately it isn't in the docs. But correct, if you don't specify this, it will be assumed you require the camera. If you don't want that, you need to use android:required=false. Older versions of the platform will ignore this. (Actually the platform

[android-developers] Fancy ListView help

2009-12-21 Thread Abhi
Hi, I am using excerpts from this website - http://www.androidguys.com/2008/07/14/fancy-listviews-part-one/ (under Dynamic) to build my own ListView with 6 list rows. I am doing the exact same thing, but with a button added to each row. I want to be able to listen to each button click and take

Re: [android-developers] Re: Using new sdk methods on devices running older sdks?

2009-12-21 Thread Dianne Hackborn
Yeah I'm not sure where that warning comes from -- the aapt tool that builds your project sure doesn't care -- but I imagine it is just to warn you that you have set yourself up to use APIs that won't exist on some platforms you run on. On Mon, Dec 21, 2009 at 4:00 PM, Mark Wyszomierski

[android-developers] Re: streaming issue with mediaplayer on android 2.0

2009-12-21 Thread cvance383
***UPDATE*** http://stream29l.grooveshark.com/collin.php this mp3 will stream fine if you go to the url on android 1.5, but not on 2.0. If you download the mp3, and put it on the phone it works on 2.0, just not when you stream it. On Dec 20, 5:11 pm, cvance383 cvance...@yahoo.com wrote: I've

[android-developers] Re: Is it ever OK to use AbsoluteLayout?

2009-12-21 Thread k_day
Yeah, I would like to do that. What sort of View would I parent off of though? AbsoluteLayout is the only type of layout that I can find that will allow me to assign coordinates to. How would I write a layout to do this? On Dec 21, 5:42 pm, Paul Turchenko paul.turche...@gmail.com wrote: I

[android-developers] Restarting an application programatically

2009-12-21 Thread jax
I need to restart my application in response to a particular event. How do I do this? I need to do a full restart, ie. kill the process and start it again. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Bluetooth Developers Guide and Bluetooth Sample Code

2009-12-21 Thread chen ji
It is good. I just want to find such example. Thanks. On 12月19日, 上午6时12分, Nick Pelly npe...@google.com wrote: Hi Bluetooth Developers, We have just published an Android Bluetooth Developers Guide, and a Sample Application. See links

[android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2009-12-21 Thread wusch
I am seeing it too. Did you use the Max SDK setting on the AndroidManifest.xml? I noticed a blog posting that said the default behavior is when a Over the Air update was pushed for 2.0.1 and you had a max sdk setting of 5, it would Uninstall the purchased application automatically!! Supposedly

[android-developers] GLSurfaceView.Renderer design question

2009-12-21 Thread Robert Green
Maybe someone can explain this to me: I've been trying to figure out how to get to the current EGLContext from the GLSurfaceView. I looked at the APIs and looked at the code but it doesn't seem like there is any path to it. I could have just missed it - please correct me if I have, but it

[android-developers] coule you tell me in android2.0.1 the package of Calendar?

2009-12-21 Thread peng
my sdk2.0.1 when i use the following code: ComponentName componentName =new ComponentName (com.android.calendar, com.android.calendar.LaunchActivity); if(componentName!=null) { Intent intent = new Intent (android.content.Intent.ACTION_VIEW);

Re: [android-developers] GLSurfaceView.Renderer design question

2009-12-21 Thread Dan Sherman
-- Waiting the obligatory 15 minutes before Rob answers his own question... Just kidding man :) I've actually wondered the same thing a few times - Dan On Mon, Dec 21, 2009 at 10:42 PM, Robert Green rbgrn@gmail.com wrote: Maybe someone can explain this to me: I've been trying to

Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2009-12-21 Thread Justin Giles
This is happening on my free app though. Big time. I've lost 17% so far. On Mon, Dec 21, 2009 at 9:29 PM, wusch jwu...@gmail.com wrote: I am seeing it too. Did you use the Max SDK setting on the AndroidManifest.xml? I noticed a blog posting that said the default behavior is when a Over

  1   2   >