[android-developers] Re: Varied accelerometer sample rate

2009-07-12 Thread Rud
You might try writing your data to the LogCat and then capturing it from there. Writing to a file might be introducing some of the delays your are seeing. Another option is to just write to LogCat when the time between samples exceeds a certain amount. I've seen file and other I/O impact

[android-developers] BufferedReader problem

2009-07-12 Thread Salt
Hi all, I encountered the problem that the BufferedReader causes garbled characters when I read UTF-8 file. I confirmed that this problem occurred on both Emulator(1.5) and ADP1 (1.5). I posted same message into Japanese community.

[android-developers] xml over http

2009-07-12 Thread Radzell
I was wonder how would i access a xml file over http like which libray would i use and how i would then combine that data to a view kind of like facebook does when you update your status. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: HTC Magic vs G1 performance

2009-07-12 Thread Al Sutton
Unless you can confirm that they're using the same firmware, have the same apps installed which are working with the same data sets and background tasks are firing off at the same time on both devices it's extremely difficult to say one it's the hardware that's causing the performance difference.

[android-developers] Re: Lazy-load images into a ListView

2009-07-12 Thread Mark Murphy
Evan Charlton wrote: I will be surprised if this hasn't been asked before, but I've been Googling for days now and haven't found anything very helpful. My problem is this: I'm trying to lazy-load images into a ListView--almost exactly how Market does it, if you're familiar with that. It's

[android-developers] Re: EditText number only?

2009-07-12 Thread Mark Murphy
Wah wrote: I have an EditText field that is intended for only numbers ( digits, decimal point, +/- signs). How do I tell the software keyboard to jump to numeric mode directly? android:input_type=numberDecimal|numberSigned should do the trick:

[android-developers] Getting the time of the outbound calls

2009-07-12 Thread Fernando Manso (BrOkeR)
Hi there, I am introducing myself to Android development. My first intention is to make a minute counter application. I tried to use a PhoneStateListener but it does not provide enough information to count the time of the outbound calls. The state of the phone does not change when my outbound

[android-developers] javax.xml.datatype.XMLGregorianCalendar

2009-07-12 Thread Max
An external library that I use (Sesame) references the method javax.xml.datatype.XMLGregorianCalendar.toXMLFormat, which is not available in Android. What can I do about that? The complete error is this: E/ActivityThread( 1811): Failed to find provider info for com.google.settings W/dalvikvm(

[android-developers] Re: javax.xml.datatype.XMLGregorianCalendar

2009-07-12 Thread Mark Murphy
Max wrote: An external library that I use (Sesame) references the method javax.xml.datatype.XMLGregorianCalendar.toXMLFormat, which is not available in Android. What can I do about that? Option #1: Don't use Sesame. Option #2: Grab XMLGregorianCalendar from Apache Harmony and put it in your

[android-developers] Android application trying out rss feed read using Rome. Getting exception ExceptionInInitializerError

2009-07-12 Thread MCON Dev
Hello All, I am trying to write some test code to receive RSS feeds. I am using the ROME api's. But I am getting a exception when executing the following line of code SyndFeed feed = new SyndFeedInput().build(reader); I googled this exception and found the following. I dont know if thats helpful

[android-developers] how to set font for softkeyboard?

2009-07-12 Thread and.pradeep
how can I customize softkeyboard to use perticular font other than English language. --~--~-~--~~~---~--~~ 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: Lazy-load images into a ListView

2009-07-12 Thread Evan Charlton
Mark, Thanks for the reply! -- If you scroll enough before the image is done loading, and the row is recycled first, you'll get weird results (image will keep flipping to different pictures as its various tasks complete) Even if I never scroll, the results are still jumbled and/or

[android-developers] Re: How to send MMS in Android Mobile

2009-07-12 Thread Jimmy Huang
Does anyone can help me ? Thanks Jimmy On Jul 10, 10:38 pm, Jimmy Huang huan...@gmail.com wrote: Thanks John, Does I only import thisMMSgit to my application, I can have my application sendMMSprobably? please give me tips. thanks very much! Regards, Jimmy On Jul 10, 7:47 pm, john

[android-developers] URL commands when calling Youtube through Intent

2009-07-12 Thread dsurround
The standard Youtube URL commands (loop, rel, etc) do not seem to work when calling Youtube via an INTENT from inside the android application. The videos play fine, Youtube app comes up fine, but the additional URL commands don't appear to work. Is there another set of commands I should be

[android-developers] Re: HTC Magic

2009-07-12 Thread Nima
Please help to unlock the device. On Jul 12, 5:46 am, Mike Wolfson mwolf...@gmail.com wrote: You will need to root your device, before you can flash a new ROM. So, yes, it appears your device is locked. On Jul 11, 1:58 am, Nima sayikuma...@gmail.com wrote: Hi, I have followed the

[android-developers] Re: how to set font for softkeyboard?

2009-07-12 Thread Dianne Hackborn
You can't customize it from an application, the user needs to select what IME they want to use. On Sun, Jul 12, 2009 at 6:16 AM, and.pradeep and.prad...@gmail.com wrote: how can I customize softkeyboard to use perticular font other than English language. -- Dianne Hackborn Android

[android-developers] Re: retrieving freeMemory(), totalMemory() MaxMemory from other applications

2009-07-12 Thread Dianne Hackborn
No, sorry. On Sun, Jul 12, 2009 at 2:59 AM, aljo aljochim...@gmail.com wrote: any information guys?? On Jul 6, 1:39 pm, aljo aljochim...@gmail.com wrote: Is there a way to retrieve the free memory, total memory and maximum memory of other applications/processes using my application? I

[android-developers] Re: Lazy-load images into a ListView

2009-07-12 Thread Christine
What if you have the listview load the images from a hashmap, and have a separate process fill the hashmap in the background? On Jul 12, 3:47 pm, Evan Charlton evancharl...@gmail.com wrote: Mark, Thanks for the reply! -- If you scroll enough before the image is done loading, and the row

[android-developers] Re: Lazy-load images into a ListView

2009-07-12 Thread Mark Murphy
Christine wrote: What if you have the listview load the images from a hashmap, and have a separate process fill the hashmap in the background? That's effectively what I'm doing, but you still need to tell the ListView when images are ready to be loaded out of the HashMap. That's for the case

[android-developers] Re: Modifying the UI within Java, not XML

2009-07-12 Thread stanchat
You may want to consider the AddHeaderView and AddFooterView methods of the list view. The link below describes how to implement these. http://groups.google.com/group/android-developers/browse_thread/thread/9f11fe55e35d0e9e/997e3a06ec25d745?lnk=gstq=addHeaderView On Jul 11, 5:58 pm, Breezy

[android-developers] Adsense Earn

2009-07-12 Thread sakeyu
Adsense Earn Hey, welcome to this adsense earn affiliate programme. Think friends, if we click on each others adds by visiting their websites and ask them to do the same, how much we can earn. Yeah thats the whole idea, we will click each other ads and to be fair every member will take this

[android-developers] Re: **never ever** use Toasts with Activity context

2009-07-12 Thread skink
On Jul 7, 5:32 pm, Romain Guy romain...@google.com wrote: Same thing, there is no leak. You have no guarantee in your test that the GC was run. It is important for the system_server process to be GC'd as well, which your test does not guarantee. i don't really understand the last sentence.

[android-developers] Multi parameter searches using SearchManager

2009-07-12 Thread stanchat
I have been looking at the SearchManager in Android and wanted to know if it is possible to do multi parameter searches. For instance lets say you have a RESTful web services that can search on LastName, FirstName, BirthDate and Emal. With this scenario I would like to present the user with 4

[android-developers] Re: Multi parameter searches using SearchManager

2009-07-12 Thread Mark Murphy
stanchat wrote: I have been looking at the SearchManager in Android and wanted to know if it is possible to do multi parameter searches. For instance lets say you have a RESTful web services that can search on LastName, FirstName, BirthDate and Emal. With this scenario I would like to

[android-developers] Re: Updating framework - How to include new Java classes for android.jar

2009-07-12 Thread clemsongrad
Romain, That is a good point and in fact we will put them in a separate package. Can you pl address the magic on how com.android,internal.util.Predicate.class is included in the android.jar? Where is it specified on the files that needs to be part of the android.jar? Any help is greatly

[android-developers] Layout editor in Eclipse crashes frequently?

2009-07-12 Thread Kaj Bjurman
Hi, I have been trying to google, and search this forum, in order to find out if the layout editor in Eclipse crashes frequently for other developers as well. Didn't find much but I can't be the only one with huge problems? I have tried to use the Eclipse plugin in both Ganymede and Galileo (on

[android-developers] Programmatically prevent Toast from appearing?

2009-07-12 Thread gsmd
Is there a way to intercept a certain Toast and prevent it from showing up? --~--~-~--~~~---~--~~ 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: Lazy-load images into a ListView

2009-07-12 Thread Christine
My app loads new data like every four minutes, and if the pic is not there in time, too bad, you'll have it in the next round. What you can do is if the hashmap returns null, subsitute a default pic, which I gues you have to do because you'll probably have a recycled view which already contains a

[android-developers] Layout with custom View

2009-07-12 Thread Rud
I vaguely recall seeing the use of a custom view class in the layout XML that was something like: us.k5rud.experiment.ExpView __something__ View android:id=@+id/expView android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] Compiling Camera project from scratch

2009-07-12 Thread kostmo
Should the Camera app checked out via Git be able to compile as is? I used the command git clone git://android.git.kernel.org/platform/packages/apps/Camera.git to grab the source, then created a new Android 1.5 project from existing source in Eclipse. There are numerous errors in the project,

[android-developers] Re: Layout with custom View

2009-07-12 Thread Mark Murphy
Rud wrote: I vaguely recall seeing the use of a custom view class in the layout XML that was something like: us.k5rud.experiment.ExpView __something__ View android:id=@+id/expView android:layout_width=wrap_content

[android-developers] Re: Compiling Camera project from scratch

2009-07-12 Thread Mark Murphy
kostmo wrote: Should the Camera app checked out via Git be able to compile as is? I used the command git clone git://android.git.kernel.org/platform/packages/apps/Camera.git to grab the source, then created a new Android 1.5 project from existing source in Eclipse. Many, if not most, of

[android-developers] Re: Programmatically prevent Toast from appearing?

2009-07-12 Thread Dianne Hackborn
Sorry, there isn't. On Sun, Jul 12, 2009 at 1:13 PM, gsmd gsm...@gmail.com wrote: Is there a way to intercept a certain Toast and prevent it from showing up? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't

[android-developers] Could not find class com.google.gdata.data.calendar.CalendarEventFeed

2009-07-12 Thread Neha
Hi, I keep getting the above error when I try to integrate the calendar gdata api with my android application. In particular, it says Could not find class com.google.gdata.data.calendar.CalendarEventFeed, referenced from method com.google.gdata.client.calendar.CalendarService.declareExtensions

[android-developers] Re: two questions about MediaPlayer

2009-07-12 Thread tstanly
sorry,i says wrong.. that's /data/app/2.3gp On 7月10日, 下午10時29分, Marco Nelissen marc...@android.com wrote: A path like C:\somefile.3gp has no meaning within the emulator. On Thu, Jul 9, 2009 at 6:19 PM,tstanlytsai.sta...@gmail.com wrote: under c:\ thanks On 7月10日, 上午2時56分, Marco

[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-07-12 Thread Streets Of Boston
I'm seeing this behavior now too (Cupcake release). showDialog(id) -- config change -- dismissDialog(id) won't work more When calling dismissDialog(id) after a config change doesn't do anything (not dismissing the dialog, but no error-message either). Something is wrong here... On May 21,

[android-developers] Re: Varied accelerometer sample rate

2009-07-12 Thread Rud
I did some exploration of sensor data. I setup to sample magnetic (Ms), accelerometer (As) and orientation (Os). I wrote the time since the last sample for each sensor to the LogCat and did a cut paste to a spreadsheet (after some minor edits in a text processor). I have 737 total samples with

[android-developers] can get the music information?

2009-07-12 Thread tstanly
hi all, is there are api that can get the music information, such as album name,author name,song name or time of this song? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] How do I change Chooser list??

2009-07-12 Thread angie
I want to change the list in Chooser... How do I change the list? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Howto detect media actions

2009-07-12 Thread Jon Colverson
On Jul 2, 12:47 am, JayBird jayje...@gmail.com wrote: intent-filter action android:name=android.intent.action.ACTION_MEDIA_BAD_REMOVAL / action android:name=android.intent.action.ACTION_MEDIA_MEDIA_CHECKING / ... After doing this, I'm still not

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-07-12 Thread Romain Guy
Hi, Instead of: FileOutputStream file_out = openFileOutput (file_name,MODE_WORLD_READABLE); Just use: FileOutputStream file_out = new FileOutputStream(file_name); This should work. On Sun, Jul 12, 2009 at 8:10 PM, doubleminusdoublemi...@gmail.com wrote: I need to write a fairly simple

[android-developers] Calender app on [emulator/custom devices]

2009-07-12 Thread vishal bhoj
Hi, Has anyone got the calender application running on emulator/ custom devices. Can we use the client.jar available on http://android.git.kernel.org/?p=platform/frameworks/opt/com.google.android.googlelogin.git;a=summary and get calender app running ? -- with regards vishal

[android-developers] Router IP and Mac address

2009-07-12 Thread Shrikant Agrawal
Hi Guys.. In my app I require to get the router IP address and mac address after scanning. But ScanResult doesnt provides this information. Do anybody know how to get the router ip address and mac address on scanning. Thanks in advance Shrikant Agrawal

[android-developers] Re: What SensorManager.getOrientation returns?

2009-07-12 Thread yoshitaka tokusho
To make getRotationMatrix work, just pass the accelerometer and magnetic field sensor's observed values array to gravity and geomagnetic parameters and memory-allocated 4x4 float array to R and I parameters. I tried to pass 3x3 arrays as api doc say, but it didn't work. Y.T. On Jul 7, 6:28 am,

[android-developers] unknownhostexception in my app on device

2009-07-12 Thread ravi
Hi All, I have installed my application for picasa on G1 device and is trying to login to google through googl API. Sometime I am able to login but sometime it gives me IOException java.net.UnknownHostException: Host is unresolved: www.google.com:443 my code is static AndroidHttpClient

[android-developers] Avoid Failed Binder Transaction

2009-07-12 Thread Don Tran
My application is getting a failed binder transaction, which causes it to completely hang, when I do the following: Process process = Runtime.getRuntime().exec(SOME COMMAND); BufferedReader br = new BufferedReader(new InputStreamReader (process.getInputStream()); While(read the content using

[android-developers] Re: unknownhostexception in my app on device

2009-07-12 Thread Desu Vinod Kumar
Hi Are u given the Internet Permission in Android Manifest file. On Mon, Jul 13, 2009 at 11:16 AM, ravi ramkrishan.r...@gmail.com wrote: Hi All, I have installed my application for picasa on G1 device and is trying to login to google through googl API. Sometime I am able to login but