[android-developers] Re: XML parsing

2009-03-14 Thread nowb
The java-app. that I´m trying to port is not only parsing xml, it´s building up graphics from the xml (the xml is quite similar to xaml) and it uses the DOM to do that. I guess I should have written that in my first message. So I do have to work with the horrible old DOM :) Any suggestions? /N

[android-developers] Re: GridView ImageView and performance

2009-03-14 Thread Romain Guy
Like it's been mentioned previously, make sure you are recycling the convertView passed to the getView() method. Also make sure that you are not drawing images that are scaled at drawing time. On Sat, Mar 14, 2009 at 11:22 PM, ifuller1 wrote: > > Hi Gesh, > > Thanks for the response. I'll certai

[android-developers] Re: GridView ImageView and performance

2009-03-14 Thread ifuller1
p.s. when running the debugger I don't appear to be using anything like 16mb of the allowed heap space... wonder if it's something else - if I don't have any luck I'll post my (likely very poor) code up here. Thanks again. On Mar 14, 11:38 pm, Gesh wrote: > hi, > > I have written 2 connected ap

[android-developers] Re: GridView ImageView and performance

2009-03-14 Thread ifuller1
Hi Gesh, Thanks for the response. I'll certainly give the bitmap factory a go. I'm currently using the ImageAdapter from the Hello GridView sample. But loading the images from the web rather than using resources. The problem is immediate, in that the performance doesn't degrade after re- visits t

[android-developers] Development Platform Compatibility

2009-03-14 Thread javame.developer
Hi, I am getting a new OS, which OS is Android SDK/IDE development environment compatible with XP64, Vista64 or Windows7? Or Do I need to keep a XP32 partition around? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: XML parsing

2009-03-14 Thread Tim Bray
On Sat, Mar 14, 2009 at 4:29 AM, nowb wrote: > I´m trying to port a java xml-parser to android. Why? Android comes with a perfectly OK XML parser that seems to Just Work, and then there are some android-specific libraries that look pretty slick if you don't want to wrestle with the horrible ol

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-14 Thread Tim Bray
On Sat, Mar 14, 2009 at 5:24 PM, Mark Murphy wrote: > > Tim Bray wrote: >> I'd like to implement something on a MapView that acts much like >> Zoomer - slides in whenever you touch the map, then fades after a bit >> of inactivity. > > What are the specific feature(s) you are seeking code for? Ap

[android-developers] Re: Repo Client init problem ubuntu 8.10

2009-03-14 Thread Jean-Baptiste Queru
Sounds like you don't have git installed on your system. JBQ On Wed, Mar 11, 2009 at 7:03 PM, doubleslash wrote: > > I have the same problem. I tried curl and verified indeed the whole > python script was downloaded. I installed libreadline5-dev instead of > lib32readline5.dev because my comput

[android-developers] Re: developer.android.com breaks on G1 ?

2009-03-14 Thread meaglith
You maybe access developer.android.com by Opera Mini. On Wed, Mar 4, 2009 at 3:43 PM, CKinniburgh wrote: > > I believe I have noticed this, or a similar issue on an iPhone today. > The Dev guides were cut off at the bottom of the page. > > On Mar 3, 9:19 pm, Sen wrote: > > Has anyone noticed tha

[android-developers] Re: GridView ImageView and performance

2009-03-14 Thread Gesh
hi, I have written 2 connected apps with some image content pulled from the web and must say if you handle your resources right it shouldn't be a problem at all. Do you use your own Adapter for the GridView or do you use some of the already available ones in the SDK? If you use your own you shou

[android-developers] Re: How to dismiss the single select dialog in AlertDialog

2009-03-14 Thread Mercury
Hi Vincent you can try to comment button founction and use functions as following boolean onKeyDown(int keyCode, KeyEvent event) A key was pressed down. boolean onKeyUp(int keyCode, KeyEvent event) A key was released. you could choice one of them and then add following code in

[android-developers] Re: How to dismiss the single select dialog in AlertDialog

2009-03-14 Thread mercury xu
Hi Vincent That‘s a good idea , as we know, if we build an alterDlg need following code //modify by mercury xu 20090314 in the new sdk //they don't support this function as showAlert! new AlertDialog.Builder(loginScreen.this) .setTitle("

[android-developers] png + opengl

2009-03-14 Thread borghild.hedda
Hi, Is it possible to draw a png image and then to run opengl operations on it with android? Is this the right forum to ask this? where can i get more information on doing such stuff? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] Re: Host is unresolved error

2009-03-14 Thread Amine
I spent the last 3 weeks trying to solve the emulator problem with http proxy and dns. Even if I use the google IP address(http:// 74.125.19.103/) I still get "Web page not available". I read the android docs, searched the internet for similar problem but in vain. All these isssues manifest thems

[android-developers] How to add a system menu item

2009-03-14 Thread Davide
That it will be show in every application. Like the virtual keyboard menu item ? Thanks in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: How to dismiss the single select dialog in AlertDialog

2009-03-14 Thread Gesh
from what i can gather what you are looking for is the .setItems() method, not the setSingleChoiceItems() On Mar 14, 5:47 pm, vincent Kor wrote: > Hi, All: > >     from the reference of SDK,  AlertDialog information as below. > >     I want to create a dialog but i don't want to have any buttons

[android-developers] Drawing ViewGroup content on a SurfaceView/SurfaceHolder Canvas

2009-03-14 Thread Zia
Hi, Is it possible to draw contents of ViewGroup on SurfaceView/ SurfaceHolder canvas? I've a control that needs to be ontop of layout (with buttons and etc) and also requires fast drawing. I wonder if implementing it as SurfaceView and then calling ViewGroup.draw(canvas) on the layout with the S

[android-developers] Internet Permission crashes my app

2009-03-14 Thread The Savage Killer
When i add internet permissions to my manifest file my application refuses to even start and i get this in my console: [2009-03-13 20:06:17 - Funny RSS] ActivityManager: Starting: Intent { comp={dev.funnyrss/dev.funnyrss.FRSS} } [2009-03-13 20:06:17 - Funny RSS] ActivityManager: [1] Killed

[android-developers] Android can't play a YouTube video I uploaded

2009-03-14 Thread mobdev....@gmail.com
Hi, not sure if this is the right forum to ask, but several days ago I posted a demo of our app on youtube and discovered that users can't view it from their phone. The YouTube app shows this error message: "Sorry, at this time the video you requested is not available in a format that will display

[android-developers] Drawing ViewGroup content on a SurfaceView/SurfaceHolder Canvas

2009-03-14 Thread Zia
Hi, Wanted to know if its possible to draw ViewGroup contents on SurfaceView/SurfaceHolder canvas? I'm trying to achieve fast 2D animation (using SurfaceView) alongside Android UI components on the screen. Since SurfaceView punches a hole in the app window, I tried creating SurfaceView, and ins

[android-developers] Re: Repo Client init problem ubuntu 8.10

2009-03-14 Thread danL
deleted the .repo file, same problem. Please advise. thx, Dan On Mar 12, 5:49 am, Eric Chan wrote: > try to delete the .repo file at your work folder, it is hided. > Best Regards > > Eric Chan > > On Thu, Mar 12, 2009 at 10:03 AM, doubleslash wrote: > > > I have the same problem. I tried cur

[android-developers] Market API to access app descriptions and ratings?

2009-03-14 Thread rAndomPi
I'm trying to create an app that would allow me to organize my installed applications into various groups. As part of the application I would like to display information about the app including the description the developer provides as part of the market, its current rating, and the number of dow

[android-developers] computer software

2009-03-14 Thread fami
27 Feb 2009 ... Computer software, or just software is a general term used to describe a collection of computer programs, procedures and documentation that ... en.wikipedia.org/wiki/Software - 96k - Cached - Similar pages Softwa

[android-developers] Drawing ViewGroup content on a SurfaceView/SurfaceHolder Canvas

2009-03-14 Thread Zia
Hi, Is it possible to draw contents of ViewGroup on SurfaceView/ SurfaceHolder canvas? I've a control that needs to be ontop of layout (with buttons and etc) and also requires fast drawing. I wonder if implementing it as SurfaceView and then calling ViewGroup.draw(canvas) on the layout with the S

[android-developers] Database

2009-03-14 Thread hazlema
I have a problem and I have no idea whats wrong. I have a database called items and it consists of the following fields: "_id integer, list integer, category integer, item text". In my program I have a function called getItems: public Cursor getItems() { return db.query("items",

[android-developers] XML parsing

2009-03-14 Thread nowb
Hello Android Developers! I´m trying to port a java xml-parser to android. The parser is using ElementImpl from the com.sun.org.apache.xerces.internal.dom package. This package does not exist in the android sdk, the corresponding package seems to be org.apache.harmony.xml.dom. However I can´t re

[android-developers] Support from Developers

2009-03-14 Thread Alexander
I have been in discussion with a few devs not quite content with the ratings/feedback system currently in place on the Android Market, and had the following idea: If there was a Developer Only Market, things would be _much_ more civil, professional, and productive for all involved. Particularly b

[android-developers] Keystores

2009-03-14 Thread linkmaster_6
Hello yes i have forgotten the password to my keystore and was wondring if there was anyway to retrieve this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: Getting Raw Data from AMR-NB 3GP file

2009-03-14 Thread benmccann
I played with ISO parser a bit more today, and made some progress. I made a single 3gp audio recording on my Android device and ISO parser seems to be telling me that it is 5 boxes and 3 tracks, which I don't really understand. When I print the results of IsoFile.getBoxes() : File Type Box: 3gp4

[android-developers] How to know SMS and Contacts update?

2009-03-14 Thread Kenny Yu
Where SMS/Contacts are added/updated/deleted, how can I write an App- Service to know the contents change? The changes are possibly caused by App activities or SYNC activity, or any else. Any content observer or intents I should look into? Welcome your design suggestion. Kenny --~--~-~--

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-14 Thread JP
By using Overlay http://developer.android.com/reference/com/google/android/maps/Overlay.html and MapController http://developer.android.com/reference/com/google/android/maps/MapController.html and possibly subclassing MapView you can create pretty much any manipulation you could wish for. On Mar

[android-developers] BroadcastReceiver to log PhoneState during of my activity

2009-03-14 Thread Mak
Hi. I'd like to log some telephonyManager and phoneState events as onCellLocationChanged and onCallStateChanged.. during my activity. Cause i need this for more than one activity, i created an broadcastReceiver that receives broadcasts, when something special in my activities happen. But my prob

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-14 Thread Mark Murphy
Tim Bray wrote: > I'd like to implement something on a MapView that acts much like > Zoomer - slides in whenever you touch the map, then fades after a bit > of inactivity. What are the specific feature(s) you are seeking code for? -- sliding? -- fading? -- touching? -- something else? -- Mark

[android-developers] MapView Zoomer behavior, how?

2009-03-14 Thread Tim Bray
I'd like to implement something on a MapView that acts much like Zoomer - slides in whenever you touch the map, then fades after a bit of inactivity. MapView is closed-source, sigh... I'm sure I can figure it out, but if anyone else already has, I'd love to have some code to look at. -Tim --~--~

[android-developers] Re: change rild privilege

2009-03-14 Thread Ajith
Hi Srinivas: Did you get further with this issue? I am also seeing the same behavior. It seems like commenting out switchuser() is the hack that works for now. But as far as I know, rild is not to be touched by ril implementations, so there must be some cleaner way of fixing this. Thanks Ajith O

[android-developers] Re: How can I source-level debugging in unit test caes in android under eclipse with ADT?

2009-03-14 Thread Gavin Aiken
http://developer.android.com/reference/android/test/InstrumentationTestRunner.html * " To debug your tests, set a break point in your code and pass: -e debug true in addition to the other arguments. "* Knew i'd read it somewhere! Gav On Sat, Mar 14, 2009 at 8:53 PM, Gavin Aiken wrote: > Hi Ying

[android-developers] Re: How can I source-level debugging in unit test caes in android under eclipse with ADT?

2009-03-14 Thread Gavin Aiken
Hi Ying, Did you ever work out how to debug using adb shell am instrument? I can't work out what the flag to allow this is. Kind regards, Gav On Mon, Feb 2, 2009 at 8:09 PM, ying lcs wrote: > > By following this: > > http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html >

[android-developers] Re: Question on listing an app in Featured Apps list at Android Market?

2009-03-14 Thread Nmix
This seems to be entirely at the discretion of the folks at Android Market. My experience is that they requested info from us (at their initiative) when they decided they *may* feature one of our apps. They do not promise. The reason given for the selection was the app's high ranking within its

[android-developers] Re: Current Percentage of Refunds on Android Market?

2009-03-14 Thread dm1973
For what is worth I am seeing about 40% cancellation. About 75% of those cancellations are within 2 mins of the authorization so I assume those are mainly download issues. On Mar 13, 6:45 pm, Jon Colverson wrote: > On Feb 23, 2:13 am, Jon Colverson wrote: > > > On Feb 23, 1:04 am, Shane Isbell

[android-developers] Re: Accelerometer power tied to display backlight power

2009-03-14 Thread Stoyan Damov
http://developer.android.com/reference/android/os/PowerManager.WakeLock.html On Sat, Mar 14, 2009 at 8:23 PM, Jordan Frank wrote: > > Hi, > > Although I haven't received confirmation from anyone at Google, I can > confidently state that when the power to the display goes off, one can > no longer

[android-developers] Accessing CallLog beyond Activity

2009-03-14 Thread Manfred
Hi! I want to get informed in a service about outgoing calls! As far as i have seen its only possible with the CallLog. I found an example like this: Cursor c = getContentResolver().query( android.provider.CallLog.Calls.CONTENT_URI, null, null, n

[android-developers] Accelerometer power tied to display backlight power

2009-03-14 Thread Jordan Frank
Hi, Although I haven't received confirmation from anyone at Google, I can confidently state that when the power to the display goes off, one can no longer obtain data from the accelerometers. I can easily think of a number of examples of where one would like to continue collecting accelerometer d

[android-developers] Re: Request to device test the Android Application

2009-03-14 Thread nitichandra ingle
Hey, I have sent you a copy please check ur inbox, you can reply me back on my company id---nitichan...@mofirst.com Thanks & Regards, Niti MoFirst Solutions Pvt. Ltd. Email: [2]nitichan...@mofirst.com Tel: +91-22-28474446 [3]www.mofirst.com On Sat, Mar 14, 2009 at 1:50 PM,

[android-developers] How to dismiss the single select dialog in AlertDialog

2009-03-14 Thread vincent Kor
Hi, All: from the reference of SDK, AlertDialog information as below. I want to create a dialog but i don't want to have any buttons in the dialog, then i hope to dismiss the dialog after i click any item in the dialog, how should i dismiss the dialog ? When the user click the "bac

[android-developers] Re: How to dismiss the single select dialog in AlertDialog

2009-03-14 Thread vincent Kor
Thanks for your reminding me of that. JBQ. Hi, All: from the reference of SDK, AlertDialog information as below. I want to create a dialog but i don't want to have any buttons in the dialog, then i hope to dismiss the dialog after i click any item in the dialog, how should i dismiss

[android-developers] Re: hi

2009-03-14 Thread Dan Raaka
This code .. http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=blob_plain;f=src/com/android/launcher/Utilities.java;hb=HEAD should help .. look for createBitmapThumbnail -Dan On Mar 12, 10:44 pm, Nithin wrote: >   HI... >           I want to resize the image dynamically bef

[android-developers] launch application

2009-03-14 Thread Dilli
Hi all , I am developing a shoutcast(streaming) player, it works fine.. I want to launch my player automatically if user clicks any shoutcast link's in the browser. How can i set my player as default player if user clicks on streaming audio(.pls/m3u) links in the browser --~--~-~--~--

[android-developers] GridView ImageView and performance

2009-03-14 Thread ifuller1
I've managed to successfully connect to the picasa web services using JSON and download a list of thumbnails from my picasa album. The thumbnails are all very small but I'm getting pretty terrible performance (especially when compared to the native picture viewer). As my main goal was getting the

[android-developers] Thumbnails

2009-03-14 Thread Gaurav
I will like some clarifications around thumbnails: 1. Whose responsibility is it to generate thumbnails - the android OS or the application developer? 2. If it is that of android OS - Can you please explain when the thumbnail generation happens and whether it is possible to have images on my SD

[android-developers] Re: How to capture some/all of the log file from an application?

2009-03-14 Thread Mariano Kamp
Awesome Carter. Thanks for sharing. On Sat, Mar 14, 2009 at 5:26 AM, Carter wrote: > > You must request the android.permission.READ_LOGS in your Android > Manifest. > > Then you can run the logcat from the command line on the phone, and > just get a dump of the output. I recommend filtering the

[android-developers] Re: Request to device test the Android Application

2009-03-14 Thread Nio
Hi Niti, Have you already send me the copy? On 3月13日, 下午10时05分, nitichandra ingle wrote: > We have already done that part by using a KML file but before launching we > need a final testing on the device. > > Any volunteer from US? who can do the testing as the device is ready just > review it an

[android-developers] Looking for an example of using state with a custom control

2009-03-14 Thread dm1973
I am writing a custom widget and would like to use setState and the like to handle the focus and pressed states. Is there any sample code explaining how to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "An