[android-developers] Re: Webview has changed in RC33, problem with touch event and encoding

2009-02-10 Thread Chister Nordvik
Just to update anyone interested, then I've posted this as issue 1958 with code that reproduces the problem. I hope someone can answer on this newsgroup since that's usually a lot faster than the issues list! http://code.google.com/p/android/issues/detail?id=1958 Code that breaks on RC33:

[android-developers] Re: 3gpp files

2009-02-10 Thread Dave Sparks
Can you elaborate a bit more on how you are playing the file? Did you write your own video player? On Feb 9, 2:57 pm, KC grssmount...@gmail.com wrote: I have a video file in 3gpp format and I can use QuickTime to play it. But when tried with the SDK Windows emulator, I got the error msg:

[android-developers] Re: Home Screen source code in SDK 1.0

2009-02-10 Thread Jose Cortes
Thanks! I found it! Now I'm surprised about the non-public classes that are used in the code... android.os.ServiceManager or android.os.SystemProperties I have heard that this classes are not present in the public SDK, but they are implemented in the mobile devices. Is that true? On 6 feb,

[android-developers] Re: Home Screen source code in SDK 1.0

2009-02-10 Thread Jose Cortes
Thanks! I found it! Now I'm surprised about the non-public classes that are used in the code... android.os.ServiceManager or android.os.SystemProperties I have heard that this classes are not present in the public SDK, but they are implemented in the mobile devices. Is that true? On 6 feb,

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-10 Thread Dave Sparks
On the G1, no data is returned - only a null pointer. The original intent was to return an uncompressed RGB565 frame, but this proved to be impractical. On Feb 9, 3:57 pm, Xster xyxyx...@gmail.com wrote: Hi, Our university is intending to use the Android as a platform for mobile image

[android-developers] Re: Home Screen source code in SDK 1.0

2009-02-10 Thread Romain Guy
That is correct. You cannot use them to write SDK based applications because these classes are private APIs and may change/disappear in any release. On Tue, Feb 10, 2009 at 12:00 AM, Jose Cortes jbeerb...@gmail.com wrote: Thanks! I found it! Now I'm surprised about the non-public classes

[android-developers] Problem with SDK 1.1 - can not see javadoc

2009-02-10 Thread tranbinh.b...@gmail.com
Dear all, I have just upgraded the SDK version to 1.1. But after that, I can not see the javadoc of the methods. Example: I can not see the javadoc of onCreate() when I move the mouse over this method. Has anyone got into this trouble? --~--~-~--~~~---~--~~ You

[android-developers] ADC II

2009-02-10 Thread sommeralex
are there any rumors around concerning the google android challenge ADC II? or will it be canceled due to the financial worldwide crisis or the success of ADC I? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: J2ME Sprite equivalent api

2009-02-10 Thread Raja Nagendra Kumar
Hi Mike, android.graphics.Bitmap and android.graphics.Canvas does seem to have clip support as they support very low level way to do things. We are exploring the option of using openGL as they have higher level support for animations and image manipulations. In this regard, I am looking to know

[android-developers] Re: J2ME Sprite equivalent api

2009-02-10 Thread Romain Guy
Open GL ES 1.0 is fully supported in Android 1.0. On Tue, Feb 10, 2009 at 1:41 AM, Raja Nagendra Kumar nagendra.r...@gmail.com wrote: Hi Mike, android.graphics.Bitmap and android.graphics.Canvas does seem to have clip support as they support very low level way to do things. We are

[android-developers] Re: ADC II

2009-02-10 Thread De San Nicolas Jean Philippe
maybe it's a fake... 2009/2/10 sommeralex alexander.som...@gmail.com are there any rumors around concerning the google android challenge ADC II? or will it be canceled due to the financial worldwide crisis or the success of ADC I? --~--~-~--~~~---~--~~

[android-developers] object serialization ???

2009-02-10 Thread DaRolla
hi, I get nuts on this, who can help? package de.test; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.Serializable; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.widget.TextView;

[android-developers] ListView - TextFilter

2009-02-10 Thread CiprianU
Hi guys, Let's say i have a ListView with the text filter enabled, and an OnItemClickListener, how can i find out which item from my initial list was selected? For example: listView.setOnItemClickListener(new OnItemClickListener(){ public

[android-developers] Re: ADC II

2009-02-10 Thread sommeralex
:-( On 10 Feb., 10:45, De San Nicolas Jean Philippe jph...@gmail.com wrote: maybe it's a fake... 2009/2/10 sommeralex alexander.som...@gmail.com are there any rumors around concerning the google android challenge ADC II? or will it be canceled due to the financial worldwide crisis or

[android-developers] How to get the IMEI number of a android device programmatically?

2009-02-10 Thread manoj
Hi frnds, I want get the IMEI number of a android device programmatically. But I dont know how to get it by writing a program. Can any one please help me to get the IMEI? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: taking picture from emulator, if pc having webcam

2009-02-10 Thread Manuel Lucio Dallo
But now that solution is not usefull because the class CameraDevice is depreciated, do you know another solution? thanks. On 20 ene, 19:07, Peli peli0...@googlemail.com wrote: Have a look at this solution:http://www.tomgibara.com/android/camera-source Peliwww.openintents.org On Jan 20,

[android-developers] Re: J2ME Sprite equivalent api

2009-02-10 Thread Raja Nagendra Kumar
Oh ok..Got it.. we need to use all the OpenGL functionality though GL interfaces only.. Thank you Romain and Mike. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread Johan de Koning
Hello, Yesterday I flashed my phone with the ADP1.1 image. This morning I got two system updates pushed to my phone. This is the message of the second update A system update is available Holiday phone update 2 of 2: This is a full system update. Your data and settings will be preserved Update

[android-developers] Re: G1 device is slow

2009-02-10 Thread Mark Murphy
Rockingteam wrote: applications on my G1 device are very slow when GPS is ON. is there any solution for this. all the applications responds with force close messsage. Remove (or upgrade) third-party applications that use GPS, one at a time, until the problem goes away. If that fails, try

[android-developers] Re: How to add the superscript affect to the string?

2009-02-10 Thread Mark Murphy
manoj wrote: Hi frnds, I would like to write m2 (m to the power of 2, 2 should be on top of m in lower case). Can any one please tell me how to do this? Find the superscript-2 character in the font you want to use, and use that character. Many fonts have that one built in. If you are

[android-developers] g1 accelerometer refresh rate

2009-02-10 Thread ashu
Hey, I'm interested in an app that gets as much accelerometer data as possible in a fixed amount of time. How frequent can an application access the accelerometer (in the order of magnitude: 10Hz, 1kHz, 1mHz? How often is the accelerometer updated? --Andrew

[android-developers] Re: How to get the IMEI number of a android device programmatically?

2009-02-10 Thread sukumar bhashyam
Use TelephonyManager's getDeviceId(). On Tue, Feb 10, 2009 at 3:48 PM, manoj manojkumar.m...@gmail.com wrote: Hi frnds, I want get the IMEI number of a android device programmatically. But I dont know how to get it by writing a program. Can any one please help me to get the IMEI?

[android-developers] Re: How to add the superscript affect to the string?

2009-02-10 Thread Mark Murphy
Christoph Studer wrote: Actually, styled text supports superscript. A string resource like string name=E_mc2E=mcsupsmall2/small/sup/string Is there a definitive list floating around somewhere of the HTML tags that string resources support? -- Mark Murphy (a Commons Guy)

[android-developers] API for changing main menu

2009-02-10 Thread mboehmer
Hi there, is it possible, to control the icons shown in the main menu and on the desktop of the device by code? Is there an API for adding and removing icons/applications and for changing the arrangement? Best regards mboehmer --~--~-~--~~~---~--~~ You received

[android-developers] Re: How to add the superscript affect to the string?

2009-02-10 Thread Christoph Studer
Not that I know of. One can find some clues here: http://code.google.com/android/reference/android/text/Spannable.html#setSpan(java.lang.Object, int, int, int) http://code.google.com/android/reference/android/text/style/CharacterStyle.html Christoph On Tue, Feb 10, 2009 at 12:28 PM, Mark

[android-developers] Re: How to add the superscript affect to the string?

2009-02-10 Thread Mark Murphy
Christoph Studer wrote: Not that I know of. One can find some clues here: http://code.google.com/android/reference/android/text/Spannable.html#setSpan(java.lang.Object, int, int, int) http://code.google.com/android/reference/android/text/style/CharacterStyle.html Sometime when I have

[android-developers] Re: Reg playing youtube video in android

2009-02-10 Thread Harishkumar V
Dave, But will this work on real device, if i try to run m.youtube.com from browser. Thanks and Regards, HarishKumar On Tue, Feb 10, 2009 at 1:28 PM, Dave Sparks davidspa...@android.comwrote: I'm pretty sure this is due to the way the emulator handles UDP packets. There is an outstanding

[android-developers] Re: Where is a system-image for DP1?

2009-02-10 Thread cpedia
Hi Jean, Could you please give us the estimated release schedule? On Feb 10, 10:04 am, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Jean, Thank you for your response. I'm looking forward install new system image to my phone. Regards, keiji Jean-Baptiste Queru wrote: We're working

[android-developers] Re: How to solve the landscape mode issue?

2009-02-10 Thread Ludwig
Well, I assume your chosen layout does not fit well onto the landscape mode, which the app will change into when you open the keyboard. You will need to adapt this by either having a fitting layout for landscape mode or having something like a ScrollView around it. Without knowing anything about

[android-developers] Re: in-memory live object histogram

2009-02-10 Thread GiladH
Tnx Fadden. Two more issues: 1. hprof only works on emulator (unless i'm missing something). i would much prefer to analize mem usage on the device itself. Is there a tool that does it? 2. when used on the emulator, hprof measure an amazing level of mem usage by rather 'trivial' classes

[android-developers] Re: ImageView.setColorFilter and/or LightingColorFilter- how to use them?

2009-02-10 Thread Mike Reed
The int values are colors (see android.graphics.Color), and each of its 4 bytes (one for each alpha, red, green, blue components) range from 0..255, thus you can multiply/add each component with different coefficients. On Mon, Feb 9, 2009 at 5:52 PM, myIP marckas...@gmail.com wrote: It looks

[android-developers] Re: How to solve the landscape mode issue?

2009-02-10 Thread Odessa Silverberg
Well there can be some reasons. Problem is you aren't specific enough to get a clue what could be causing it. First off, you can also swap to Landscape Mode in the emulator too, if you press Ctrl+F11 (iirc, don't have eclipse/SDK installed on work) However, there could be a few reasons for this:

[android-developers] Re: Where is a system-image for DP1?

2009-02-10 Thread Jean-Baptiste Queru
At this point I can't give any schedule estimate. JBQ On Tue, Feb 10, 2009 at 4:22 AM, cpedia cpe...@gmail.com wrote: Hi Jean, Could you please give us the estimated release schedule? On Feb 10, 10:04 am, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Jean, Thank you for your response.

[android-developers] Replace dialer application by installing another dialer app

2009-02-10 Thread Shadakshari Hiremath
Hi Android, We want to disable the default dialer application and install our own dialer application on phone. We want to know how we can disable the default dialer so that it doesn't listen for missed calls, incoming calls and also it doesn't gets launched by other application for making calls

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread Jean-Baptiste Queru
On Tue, Feb 10, 2009 at 2:33 AM, Johan de Koning ikbennu...@gmail.com wrote: Hello, Yesterday I flashed my phone with the ADP1.1 image. This morning I got two system updates pushed to my phone. This is the message of the second update A system update is available Holiday phone update 2

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread Jean-Baptiste Queru
This is not PLAT-RC33. There is no 1.1 image available for ADP1. JBQ On Tue, Feb 10, 2009 at 2:33 AM, Johan de Koning ikbennu...@gmail.com wrote: Hello, Yesterday I flashed my phone with the ADP1.1 image. This morning I got two system updates pushed to my phone. This is the message of the

[android-developers] Service permission and AndroidManifest.xml errors

2009-02-10 Thread Android
Hi, I have created two .apk as client and server. My client Acticity wants to invoke the Service of my Server .apk. I used the AIDL and IPC mechanism to communicate betwwen the Client and server. My Client code was compiled fine but during Server compliation it was giving bunch of errors as :

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread Johan de Koning
Okey but where did this update came from? On 10 feb, 14:00, Jean-Baptiste Queru j...@android.com wrote: This is not PLAT-RC33. There is no 1.1 image available for ADP1. JBQ On Tue, Feb 10, 2009 at 2:33 AM, Johan de Koning ikbennu...@gmail.com wrote: Hello, Yesterday I flashed my

[android-developers] Re: object serialization ???

2009-02-10 Thread Marco Schmitz
maybe I didnt explain enough :) so what I want to is to serialize an Object in order to deserialize it later on. but its not that easy. I think the way I try to write is ok. but why do i get that exception? its only an in, a double and a string inside that object. greetings, darolla

[android-developers] Re: How to solve the landscape mode issue?

2009-02-10 Thread manoj
Hi frnds, I did as you suggested. I used ScrollView, inside that I used LinearLayout, but still the problem persists. can you please help me. Thanks, Manoj. On Feb 10, 5:52 pm, Odessa Silverberg silverberg.ode...@googlemail.com wrote: Well there can be some reasons. Problem is you aren't

[android-developers] Re: Views

2009-02-10 Thread Marco Schmitz
try to create a folder layout-land and layout-port next to layout. just place main.xml inside both folders but not inside layout. swapping the layout (numlock+7 inside the emulator) will show you the best fitting xml file. greetings, darolla 2009/2/10 Romain Guy romain...@google.com: 1)

[android-developers] Re: How to solve the landscape mode issue?

2009-02-10 Thread manoj
I pressed ctrl + F11, the emulator got into landscape mode and It is not allowing me to scroll down. Nothing is happening. On Feb 10, 6:07 pm, manoj manojkumar.m...@gmail.com wrote: Hi frnds, I did as you suggested. I used ScrollView, inside that I used LinearLayout, but still the

[android-developers] Re: How to solve the landscape mode issue?

2009-02-10 Thread Marco Schmitz
maybe you can create 2 different xml files for each mode. create a folder layout-land and a folder layout-port under res and place the xml file (same filename) into it. the xml file mustnt be inside layout. this way the best fitting xml file is used :) greetings, darolla 2009/2/10 manoj

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread Jean-Baptiste Queru
It came from whoever thinks that you got your phone from them and manages such phones. JBQ On Tue, Feb 10, 2009 at 5:04 AM, Johan de Koning ikbennu...@gmail.com wrote: Okey but where did this update came from? On 10 feb, 14:00, Jean-Baptiste Queru j...@android.com wrote: This is not

[android-developers] Re: How to invoke a service of one APK in another APK

2009-02-10 Thread Sunil . Maharana
Hi, My objective: I want to develop two .apks as .apk#1 and .apk#2. My .apk#1 has one serice as serv#1 and .apk#2 has serive as .serv#2. I wanna to invoke the serv#1 of .apk#1 in serv#2 of .apk#2. For time being i have created two .apks and thinking how to commucate between them, i mean how

[android-developers] Re: KML Support in Maps Application

2009-02-10 Thread Chander Pechetty
Ok posting my own answer: Sending an Intent with data URI set as below seems to work fine. Intent mapIntent = new Intent(Intent.ACTION_VIEW, uri); Uri uri1 = Uri.parse(geo:0,0?q=http://code.google.com/apis/kml/ documentation/KML_Samples.kml); mapIntent.setData(uri1);

[android-developers] Re: Views

2009-02-10 Thread Bobbie
I tried using fill_parent, but somewhere I still have to specify a percentage screen height instead of a px value, that's what I'm having issues with. Can you post an example of how to do an 80% screen height with a 20% screen height below it? On Feb 9, 11:05 pm, Romain Guy

[android-developers] Re: Service permission and AndroidManifest.xml errors

2009-02-10 Thread Ludwig
This seems to be the trigger for your problems: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' you are somehow trying to launch some activity that has has misconfigured UI content. I would put breakpoints into my onCreate() methods to see

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread AusR
I like this suggestion: If you have a retail device running Android, contact your operator for the update schedule. What about if your 'operator' doesn't know anything about an upgrade? eg T-Mobile UK. On Feb 9, 10:31 pm, Justin (Google Employee) j...@google.com wrote: Hey developers, today

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread Johan de Koning
For everybody reading this post. The update is from https://android.clients.google.com/updates/signed-holiday_devphone-ota-130444-debug.55489994.zip. Looks official to me On 10 feb, 14:23, Jean-Baptiste Queru j...@android.com wrote: It came from whoever thinks that you got your phone from them

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread Disconnect
Despite the crap JBQ is feeding, it is an official (if possibly unreleased) update. https://android.clients.google.com/updates/signed-holiday_devphone-ota-130444-debug.55489994.zip If you wait for JF to wake up, he will probably spin up a new adp1 image with multitouch, etc. Alternately, you can

[android-developers] Re: Problem with SDK 1.1 - can not see javadoc

2009-02-10 Thread NJ
yeah, I am having the same problem, still haven't found a solution. On Feb 10, 1:26 pm, tranbinh.b...@gmail.com tranbinh.b...@gmail.com wrote: Dear all, I have just upgraded the SDK version to 1.1. But after that, I can not see the javadoc of the methods. Example: I can not see the javadoc

[android-developers] Re: Views

2009-02-10 Thread Ludwig
2009/2/10 Bobbie bobbie.st...@gmail.com I have a couple different questions: 1) Does Google think there will only be one screen size on Android phones? The reason I ask is because I haven't been able to find anything on variable layouts in Android? I would like to create a layout with 2

[android-developers] Re: is there a way to read the screen text

2009-02-10 Thread jman
http://code.google.com/p/eyes-free/ On Feb 10, 7:48 am, redmapleleaf redmaplel...@gmail.com wrote: Hi all, I would like to develop an application to read the screen text for the blind. Do you know if there is any way that I can read the text (word, or line of text) under the cursor at any

[android-developers] Re: How to solve the landscape mode issue?

2009-02-10 Thread Christoph Studer
Using two different layouts might work for the current default screen resolution. In order to make your app play nice with other screen resolutions, too, you should take the time and make your layout scale well, either by using relative measures or by wrapping it into a ScrollView, as suggested.

[android-developers] Re: Will the addPreferredActivity method available in the future?

2009-02-10 Thread Sei
I'm not sure why you are being so upset. I'm just trying to figure out the right way to implement my solution. Per my original post, I agreed with you that a user has the right to decide the preferred activity. I'm just asking if my activity could ask the users their preference. On Feb 9,

[android-developers] Re: Replace dialer application by installing another dialer app

2009-02-10 Thread nagaraj attimani
Your dialer apllication can have same intent as current one and increase the priority of your application comapre existing one. On Tue, Feb 10, 2009 at 6:26 PM, Shadakshari Hiremath shad...@gmail.comwrote: Hi Android, We want to disable the default dialer application and install our own

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-10 Thread shimo...@gmail.com
Hi, Is there a link to instructions on how do I use this ZIP to update my ADP1 device ? TIA On Feb 10, 4:36 pm, Disconnect dc.disconn...@gmail.com wrote: Oh, and I just realized (too late, sorry) that we're seriously off topic here - this is better on android-discuss or maybe

[android-developers] How to get the Uri of the contact photos?

2009-02-10 Thread code_android_festival_way
Well at the moment I'm trying to set the contact photo in a custom view to the RemoteView of my custom expaneded statur bar. For setting an image to the RemoteView I have two possibilities: contentView.setImageViewUri(...) contentView.setImageViewResource(...) Well now I got the problem that I

[android-developers] How to lock down device?

2009-02-10 Thread marchinram
Hello, I am developing for an event marketing company that wishes to have event staff use the device with android at events and capture data from people with an app I'm gonna write. What I want to know is if it is possible to lock down the device, e.g. disable the dialer, messaging, not allow

[android-developers] Replacement for android.settings.SYSTEM_UPDATE_SETTINGS ?

2009-02-10 Thread Sergi Velez
Hi, I'm trying to write an Activity to replace system's update activity. In the manifest I have the following entry: activity android:name=.UpdateProcessActivity android:launchMode=singleTask intent-filter action android:name=android.intent.action.MAIN /

[android-developers] Re: Is there way to keep the phone number as is before it hits the RIL layer?

2009-02-10 Thread Videoguy
Anyone there? Thanks --~--~-~--~~~---~--~~ 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] Detect end of scroll/fling in Gallery

2009-02-10 Thread Siva Rajaraman
Hello Everyone, Can anyone tell me how to detect the end of scroll/fling in case of Gallery?? The reason I want to know this is that, I want to load the gallery items when it has finished scrolling instead of loading the images while scrolling. There is an OnScrollListener in case of ListView,

[android-developers] Unable to start service Intent

2009-02-10 Thread Graeme
I am repeatedly seeing the following message in the debug console 02-10 16:07:54.186: WARN/ActivityManager(53): Unable to start service Intent { flags=0x4 comp={com.bt.btinnovate.android.photoobserver/ com.bt.btinnovate.android.photoobserver.PhotoUploadService} (has extras) }: not found when

[android-developers] Re: 3gpp files

2009-02-10 Thread K. Chen
Nope. I was using a sample code from a book (I forgot the name). It seems fairly straightforward (below). Of course, I'm newbie, so please bear with me. Thanks. public class VideoDemo extends Activity { private VideoView video; private MediaController ctlr; @Override public void

[android-developers] How to get current page content of WebView

2009-02-10 Thread Guolong
hello, It's easy to get current page's url and title of webkit.WebView. But I could not find way to get page content of WebView. Anybody could help me with this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Question about writing a custom button

2009-02-10 Thread ying lcs
Hi, I am writing a custom button. In the android button, I can customize my button like this: Button android:id=@+id/subtract_button android:text=- / And in the Button.java source code, it gets the value like that: In TextView.java: case

[android-developers] Re: 3gpp files

2009-02-10 Thread Stoyan Damov
The emulator emulates the device, it can't access your file system. Add an sdcard and upload your video on it, then play it from there. On Tue, Feb 10, 2009 at 6:55 PM, K. Chen grssmount...@gmail.com wrote: Nope. I was using a sample code from a book (I forgot the name). It seems fairly

[android-developers] Re: 3gpp files

2009-02-10 Thread Dave Sparks
The problem is that your video path is on your host machine. You have to remember that the emulator is actually emulating an ARM processor run its own Linux kernel. The file system is not your host computer, but a virtual file system within the Linux kernel emulation. Use mksdcard to create an

[android-developers] Re: Question about writing a custom button

2009-02-10 Thread skink
On 10 Lut, 16:34, ying lcs ying...@gmail.com wrote: Hi, I am writing a custom button. In the android button, I can customize my button like this:         Button android:id=@+id/subtract_button                 android:text=-         / And in the Button.java source code, it gets the

[android-developers] Parse an XML

2009-02-10 Thread cool.manish
Hi, I am trying to make a simple application to parse the XML using SAXParser but it is not finding the xml file which I have added in the project. How and where should I add the XML file? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Android Platform Profiling

2009-02-10 Thread rajiv
Hi Everyone I have successfully brought up a OMAP24240 target running Android with YAFFS2 and UBIFS file systems. I am now trying to identify the performance overheads associated at every level like the application, file system, DVM, File Translation Layer, Linux IO scheduler etc. I am primarily

[android-developers] Browser Plugin for Android

2009-02-10 Thread Raj Kiran Talusani
Hello All, My goal is to run a custom plugin on the android web browser. I have found a hello world plugin, and successfully compiled with webkit. now i have the plugin as a .so file. what should be the next steps :- 1. where do i copy this plugin so that browser can load it? 2. How do i check

[android-developers] Re: some question about Pictures

2009-02-10 Thread 石则锦
Picture can show images such as jpegbmpgifpng. 2009/2/10 birdy birdy.f...@gmail.com Hi all: I have some questions about AP-Pictures. 1.Android support jpg, png and gif file formate. Can Pictures show *.gif file? I put some gif file in /sdcard, but those files do not in the list.

[android-developers] BlueTooth API in 1.1?

2009-02-10 Thread pradeep.va...@gmail.com
Could anyone tell me if there is Bluetooth API in SDK 1.1? Is bluetooth chatting already been implemented on the G Phone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: object serialization ???

2009-02-10 Thread Chechy
Hi, I've tried several ways but the only way I succeeded to serialize something is to serialize each member of class Serialisiere: public void writeIt(String filename) throws IOException { FileOutputStream fos = openFileOutput(filename, MODE_WORLD_WRITEABLE);

[android-developers] Will there be a Dev 2 phone?

2009-02-10 Thread Troglodad
If there's going to be a G2 phone released, ca nwe expect to see a Dev 2? I'm ordering my Dev 1 tomorrow, but if there's been any ruor of a Dev2 I think I'd rather wait. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Detecting Ad Hoc Wifi access points

2009-02-10 Thread drew.jac...@gmail.com
What you need to do is look at the capabilities of the ScanResult that you have. The following code will tell you if the signal is AdHoc or not. scanResult.capabilities.contains([IBSS]); if it returns true, its AdHoc, false and its not. Hope that helps, - Drew On Feb 9, 5:57 pm, Susahosh

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread Dr. Disintegrator
Sorry if this is a newbie question, but how do I update the firmware in my Android Developer G1 phone to version 1.1? FWIW - I've got an Android Developer G1 phone and use ATT. I assume if you are on T-Mobile the update is pushed out. On Feb 9, 4:31 pm, Justin (Google Employee) j...@google.com

[android-developers] Secure Connection - IS anybody working on any kind of VPN APP!?!

2009-02-10 Thread polzifer
Hi there, just wanted to ask if anybody is working on an app for connecting via vpn or pptp!? As far as i can see, that will be hard to have as e.g.: Openvpn needs root for bridging etc... I was waondering i somebody had any ideas ?! --~--~-~--~~~---~--~~ You

[android-developers] changing voice attributes with android

2009-02-10 Thread eliak...@gmail.com
hello, I want to create an application that can change one's voice during a call in real time is there a way to do that in android? can you point me to the right package? thanx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Launching Activity from Overlay onTap

2009-02-10 Thread jgostylo
I am wondering if I am going about this problem the correct way. I am making an app that places overlays on top of google maps. When you click on the overlay it should launch a dialog type window that will give you options on what to do with that overlay. Currently the method I am trying to

[android-developers] Re: object serialization ???

2009-02-10 Thread Chechy
Hi, I've tried several ways to get it work but the only way I found is to serialize all members of the class: public void writeIt(String filename) throws IOException { FileOutputStream fos = openFileOutput(filename, MODE_WORLD_WRITEABLE);

[android-developers] How do you install updated Android OS images (ver. 1.1) to G1 developer phones?

2009-02-10 Thread Jim
This may be a 'newbie' level question, but here is my situation: 1) I have an Android G1 developer phone (unlocked) 2) I use it on ATT, WITHOUT a data plan (I use a goPhone SIM, activated and setup the phone, then removed the APN) 3) I'd like to be able to install new versions of the firmware,

[android-developers] How to update Android Dev 1

2009-02-10 Thread Andreas Jellinghaus
Hi, * where can I find official firmware for my android dev 1? * what is the official way to update the firmware? * does such a firmware update have negative side effects? which one? So far I found only unofficial images for t-mobile g1, and update methods using some root hack, neither is what

[android-developers] starting Activity in Overlay onTap (dup post?)

2009-02-10 Thread jgostylo
I apologize if this is a duplicate post. I tried posting this over an hour ago and there is no indicator that it posted. I am attempting to launch a dialog type window when I click an Overlay that has been placed on google maps. I thought the way I would do this was Override the onTap()

[android-developers] Android Emulator

2009-02-10 Thread Zoraiz
I want to use Android Emulator in my website. The idea is that I will deploy my application in that emulator and so the users can check that application before downloading it. Is there a way we can install or use emulator on a web server? --~--~-~--~~~---~--~~ You

[android-developers] starting Activity in Overlay onTap (dup post?)

2009-02-10 Thread jgostylo
I apologize if this is a duplicate post. I tried posting this over an hour ago and there is no indicator that it posted. I am attempting to launch a dialog type window when I click an Overlay that has been placed on google maps. I thought the way I would do this was Override the onTap()

[android-developers] Re: Question about writing a custom button

2009-02-10 Thread ying lcs
Thank you. But in my custom button, how can I get the attribute defined in android? For example, if MyButton inherits from Button, how can I get 'TextAppearance_textColor in my MyButton class? This is how the android's Button class get the TextAppearance_textColor case

[android-developers] Re: Launching Activity from Overlay onTap

2009-02-10 Thread Tim Bray
On Tue, Feb 10, 2009 at 7:13 AM, jgostylo jgost...@gmail.com wrote: I am wondering if I am going about this problem the correct way. I am making an app that places overlays on top of google maps. When you click on the overlay it should launch a dialog type window that will give you options

[android-developers] propagate attribute value through view hierarchy

2009-02-10 Thread wen yi
Hello, I have attribute attr1 defined for my views A, B, C. A and B are actually ViewGroups. Let's say C is contained in B and B in A. Is there an existing mechanism in Android framework that allows me to specify the value of attr1 in A and have it automatically propagated to B and C? Thanks!

[android-developers] Re: propagate attribute value through view hierarchy

2009-02-10 Thread Romain Guy
No :) On Tue, Feb 10, 2009 at 10:46 AM, wen yi wen...@gmail.com wrote: Hello, I have attribute attr1 defined for my views A, B, C. A and B are actually ViewGroups. Let's say C is contained in B and B in A. Is there an existing mechanism in Android framework that allows me to specify the

[android-developers] Re: changing voice attributes with android

2009-02-10 Thread Dave Sparks
No, there is no way to do this in SDK 1.0. On Feb 10, 9:48 am, eliak...@gmail.com eliak...@gmail.com wrote: hello, I want to create an application that can change one's voice during a call in real time is there a way to do that in android? can you point me to the right package? thanx

[android-developers] can i disable scrolling through tabs on a tabActivity

2009-02-10 Thread kingkung
I don't want tabs in a tabactivity to be selected or switched using the trackball. Is there any way to disable this? I've tried setting selectable=false and focusable=false on both the TabHost and the TabWidget, and neither seems to disable scrolling to the tabs. Thanks.

[android-developers] Re: Question about writing a custom button

2009-02-10 Thread skink
But I can't do the same in MyButton since the 'com.android.internal.R.styleable.TextAppearance_textColor' is not accessible. So can you please tell me how can I get the textColor in MyButton? hi, i think you can use android.R.styleable.TextAppearance_textColor

[android-developers] How does the TabActivity successfully switch activities?

2009-02-10 Thread kingkung
I'm trying to implement my own ActivityGroup to mimic TabActivity (without tabs) but I'm having trouble closing activities. My ActivityGroup has a ViewFlipper, each housing a separate activity's window. When I attempt to switch activities I call ViewFlipper.setDisplayedChild() on the view of

[android-developers] java.lang.NoSuchMethodException while running the ProgressBar example

2009-02-10 Thread ying lcs
Hi, I am trying to run the ProgressBar example from http://learnandroid.blogspot.com/2008/02/progressbar-android-simple-custom.html But I get this ARProgressBar exception? 02-10 20:13:29.293: ERROR/AndroidRuntime(165): Caused by: java.lang.NoSuchMethodException: ARProgressBar 02-10

[android-developers] Re: java.lang.NoSuchMethodException while running the ProgressBar example

2009-02-10 Thread Romain Guy
This is an old example for an outdated version of Android. On Tue, Feb 10, 2009 at 12:25 PM, ying lcs ying...@gmail.com wrote: Hi, I am trying to run the ProgressBar example from http://learnandroid.blogspot.com/2008/02/progressbar-android-simple-custom.html But I get this ARProgressBar

[android-developers] Re: ImageView.setColorFilter and/or LightingColorFilter- how to use them?

2009-02-10 Thread myIP
Mike, thanks for the reply. Perhaps I don't fully understand how a value is assigned to a color. Forgive me, I should have said I am perplexed rather then I was mislead. Anyways, I am still perplexed. Can you give an example on how to manipulate a red or green component? Do I need to use

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-10 Thread Ronald van der Lingen
Justin, Today, I started to see download numbers for my 'PimPam' app. In the afternoon it was listed as having 3 downloads and now it is bumped up to 52. Can you tell me whether this means that between this afternoon and now there were 49 downloads, of are the downloads from the last 10 days

  1   2   3   >