[android-developers] background color of preference screen

2010-02-08 Thread vidya
hi , How to set the background color of a preference screen? 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] Re: ASM(Android Screen Monitor) problem

2010-02-08 Thread tururu
I solved a problem. Sample board is 24bpp, however, (qualcomm) adb does not support above 16bpp. Search all 24bpp related source and rollback it to default. But I think it’s better to modify qualcomm abd source, if you can access to that. In my way, you can see a screen on either lcd or monitor,

[android-developers] Re: ListView scrolling behavior and performance

2010-02-08 Thread GDroid
For the record I managed to solve the scrolling problem. The issue was setting an event listener to the onClick event on the item view itself. The correct method is use :setOnItemClickListener of the ListView itself. The same is correct for long press context menu. Registering for the long press

[android-developers] Re: ListView scrolling behavior and performance

2010-02-08 Thread GDroid
For the record I managed to solve the scrolling problem. The issue was setting an event listener to the onClick event on the item view itself. The correct method is use :setOnItemClickListener of the ListView itself. The same is correct for long press context menu. Registering for the long press

[android-developers] Re: loading files(images) from sdcard in webView

2010-02-08 Thread Yaya
Hi Tim, Thanks for the response. I'll try this and i will let you know. On 6 fév, 17:02, Tim Bray timb...@gmail.com wrote: On Sat, Feb 6, 2010 at 2:56 AM, Yaya ndongoy...@gmail.com wrote: Hi, There is no one to  help me ? Seehttp://code.google.com/p/android/issues/detail?id=2454  -T --

[android-developers] How 3rd party api compatibility can be checked using CTS or some other tool??

2010-02-08 Thread manohar
Hi All I wanted to get the info on the following query, could you guys please help me in getting the answer?? I have set of platform api those will be tested by CTS to check compatibility, and I am making use of some 3rd party api in one of the platforms api. Suppose if I am changing or

[android-developers] NeighboringCellInfo 3G CellID

2010-02-08 Thread Ne0
Hi, I'm trying to get neighbouring cell id info for the 3G neighbours, though i dont get a result (-1). It gets the serving cell just fine, can anyone tell me if this is a bug or weather this is how it is supposed to be? Liam -- You received this message because you are subscribed to the

[android-developers] Re: loading files(images) from sdcard in webView

2010-02-08 Thread Yaya
Hi, i'am still having the Failed to find provider info for com.myCompany.myPackageName error. In the html i used i've tryed src=content:// com.myCompany.myPackageName/android_asset/sdcard/path/path/toto.png/ in the link you gave me, they tryed to access to an html file stored in the sdcard. In

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
public static ServerConnection getInstance() {       if(m_connection == null)           m_connection = new ServerConnection();       return m_connection; } Actually I've done it this way, was just a writing error -- You received this message because you are subscribed to the Google

[android-developers] Error in android_server_BluetoothEventLoop.cpp?

2010-02-08 Thread Johannes Carlsson
Hi The below functions from frameworks/base/core/jni/ android_server_BluetoothEventLoop.cpp seems to be mixed up to me. I am not sure if this will cause any trouble... static unsigned int unix_events_to_dbus_flags(short events) { return (events DBUS_WATCH_READABLE ? POLLIN : 0) |

[android-developers] Black Screen on setVisiblity

2010-02-08 Thread Takami Labs
Hi, I am developing a simple two view app. I am overriding the onKeyPressed to make the activity go into background when back key is pressed, instead of destroying it. Now when I am on first view and I sent the activity to background(using back key) , on again launching the app, the first view

[android-developers] signout google account

2010-02-08 Thread Nemat
Hi, Is it possible to signout programmatically fron the google account opened in android phone Has anyone any clue about it? Looking forward to your positive response Thanks in Advance Nemat -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] background color of preference screen

2010-02-08 Thread Chirayu Dalwadi
You can see background color with android:background=#FF attribute in XML file hexadeciml code can be calculated using following link: http://www.drpeterjones.com/colorcalc/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
However, thank you very much for your help. Also tried to implement it without singleton now and I just have the same weired problem :-( On 6 Feb., 18:49, Bob Kerns r...@acm.org wrote: In addition to the comment/correction by Streets of Boston... It's unclear from your description just

[android-developers] Re: How to decide widget size in a configure Activity?

2010-02-08 Thread String
On Feb 8, 2:15 am, Urakagi urak...@gmail.com wrote: Hi, in HTC Sense, we can choose widgets of different size after tapping a single entry in the widget list. Is this also possible in pure Android Framework? AFAIK it is not generally possible. Overall widget size is specified in XML and

[android-developers] Re: How to run android application from super user(administrator) mode

2010-02-08 Thread Asif k
I got somewhere on the net following code, I tried to execute but it throws broken pipe: IOException at os.writeBytes(single + \n); line Following is the code.. Process process = Runtime.getRuntime().exec(su); DataOutputStream? os = new DataOutputStream?(process.getOutputStream());

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
It's unclear from your description just where you're storing your non- static variables. The right way would appear to be in your ServerConnection instance, since that's the static singleton. Your activity will have a much shorter lifespan. The variables are stored as class members in the

Re: [android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Michael Rueger
On 2/8/2010 11:58 AM, Florian Lettner wrote: afterwards connect() is called which uses the member variable, the member has got its initial value again, like it is a different object. Is it the inital value from a variable initialization? (e.g. int variable = 0; ) If so, what I ran into is

[android-developers] About box in application manager?

2010-02-08 Thread draf...@gmail.com
I was wondering does anyone know how to give an Android application an about box in the application manager? So when a user goes to Settings Applications Manage Applications and clicks on an app there is an About box there that the user can click and info about the app pops up. You can see

[android-developers] EventListenerList in Android

2010-02-08 Thread drill
Hello, I want to import a java project into Android. But I figured out that this project is using an EventListenerList, which is part of swing and so not available in Android. Does anybody of you have an idea how to transform that into some Android-valid code and still have the opportunity that

[android-developers] TextView Animation problem

2010-02-08 Thread satish bhoyar
Hi all, i am working on some animation application where i am trying to apply 2 kind of animation on the TextView. during onCreate() of the activity I am rotating it by 45 degrees on onTouch() event i want it to translate then rotate it to proper shape. But on onTouch it comes to normal shape

[android-developers] HELP REQUIRED

2010-02-08 Thread Chirayu Dalwadi
Hi Community, I have problems with, 1. Notifications 2. Linkify 3. Dynamic generation of tables I have referred to many codes available online, but none of them works for me. Please suggest a simple way to enable that in my application. Thank You in advance. -- Warm Regards, Chirayu Dalwadi

[android-developers] Re: TextView Animation problem

2010-02-08 Thread satish bhoyar
please can anybody tell me why this things .. On Mon, Feb 8, 2010 at 5:18 PM, satish bhoyar getsatonl...@gmail.comwrote: Hi all, i am working on some animation application where i am trying to apply 2 kind of animation on the TextView. during onCreate() of the activity I am rotating it by

Re: [android-developers] Re: How to run android application from super user(administrator) mode

2010-02-08 Thread Sean Hodges
Are you using a rooted phone? Elevated privileges will be refused on a stock build. I'm not sure what the actual effect will be. I would expect a SecurityException, but it's possible that the su program is simply not visible to user-space processes. Also, you are not specifying the full path to

[android-developers] Re: What's his name?

2010-02-08 Thread Carl Whalley
Mikey Android Academy http://www.androidacademy.com On Feb 8, 1:59 am, tora kogo...@gmail.com wrote: Hello, I have a simple question. What's his name?http://www.android.com/intl/ja/media/android_vector.jpg According to this site, his name is [ android robot

[android-developers] Move buttons within Layout

2010-02-08 Thread Kritzli
I tried so many things to relocate buttons of a list. Relocate the current button is working but the older buttons not. To clarify the situation: There are two Activities (Activity A and B). At Activity A I customize a button and pass it on Activity B via an intent. On Activity B I move the

Re: [android-developers] Move buttons within Layout

2010-02-08 Thread Mark Murphy
There are two Activities (Activity A and B). At Activity A I customize a button and pass it on Activity B via an intent. You cannot pass a Button via an Intent. On Activity B I move the button somewhere on the screen. Activity B cannot modify the UI of Activity A. Activity B cannot safely

[android-developers] Re: moving the softkeyboard from place

2010-02-08 Thread flsobral
AFAIK this is possible if you create your own IM, by extending the class InputMethodService and overriding the method onEvaluateFullscreenMode() to always return true. I wasn't able to do it myself though, my IM was freezing the application. On Feb 6, 4:06 pm, Mark Murphy mmur...@commonsware.com

Re: [android-developers] Re: What's his name?

2010-02-08 Thread Sean Hodges
Terence On Mon, Feb 8, 2010 at 12:54 PM, Carl Whalley carl.whal...@googlemail.com wrote: Mikey Android Academy http://www.androidacademy.com On Feb 8, 1:59 am, tora kogo...@gmail.com wrote: Hello, I have a simple question. What's his

[android-developers] Re: options menu items

2010-02-08 Thread Robert Nekic
There were several more replies in this thread on Friday, 2/5/2010. They were appropriate to this discussion and concerned limited options for styling menuitems as documented in R.attr. Where did the replies go? On Feb 4, 12:03 pm, haric zhu haric@gmail.com wrote: I think it is not

[android-developers] Re: KeyStore causing EOFException

2010-02-08 Thread Reado
Ahah I've found the solution, sorry about this! The problem was caused due to an exception being thrown earlier that I missed which meant the keyStore would never be saved. On Feb 8, 1:14 am, Reado agent4...@googlemail.com wrote: I have some code for my app that creates akeystorein android,

[android-developers] Handling large Bitmaps

2010-02-08 Thread Samuh
I have a bunch of image URLs. I have to download these images and display them in my application one-by-one. I am saving the images in a Collection using SoftReferences and also on Sdcard to avoid refetches and improve user experience. The problem is I dont know anything about the size of the

[android-developers] Re: Handling large Bitmaps

2010-02-08 Thread Hekki
Sorry to state the obvious, but since you downloaded the file why don't you downsample only picture that are either : - Larger than 1024x768 in size - Bigger than 500 KB or a smart mix of the two ? Best regards On 8 fév, 15:48, Samuh samuh.va...@gmail.com wrote: I have a bunch of image URLs.

[android-developers] Re: AppWidget on Homescreen: How to focus ImageView or TextView with trackball?

2010-02-08 Thread Steve
What was the fix? On Feb 7, 4:10 am, Moritzz moritz...@googlemail.com wrote: Okay I fixed that one ;) On Feb 6, 8:29 pm, Moritzz moritz...@googlemail.com wrote: Hi, I coded an AppWidget the user can add to his homescreen. There are a bunch of images (ImageView) in it that perform

[android-developers] Help Needed With Some Layout - UI Problems

2010-02-08 Thread MobDev
Hi, I'd like to create an UI existing out of the following elements : LinearLayout TableLayout TableRow ImageButton TextView /TableRow /TableLayout ScrollView TableLayout TableRow ImageButton ImageButton

[android-developers] Re: Handling large Bitmaps

2010-02-08 Thread Samuh
Sorry to state the obvious, but since you downloaded the file why don't you downsample only picture that are either : - Larger than 1024x768 in size - Bigger than 500 KB or a smart mix of the two ? I guess because I was creating a Bitmap from the stream before I was writing it to the SD

[android-developers] Re: UI Testing

2010-02-08 Thread Mihai Fonoage
Hi Andrew, Maybe you'll find this helpful as well: http://mihaifonoage.blogspot.com/2010/01/unit-and-functional-testing-in-android.html. Mihai Fonoage On Feb 8, 12:42 am, andrew_prunicki andrew.pruni...@gmail.com wrote: Of course right after I wrote this, I noticed the classes in

[android-developers] Re: Handling large Bitmaps

2010-02-08 Thread Streets Of Boston
If you use them for fit-in screen display only, just scale them to the screen-size. You don't need any bigger. 1. Figure out the actual width and height of the image (inJustDecodeBounds = true) 2. When actually loading the pic, downsample (inSampleSize 1) so that the resulting image fits the

[android-developers] Re: Handling large Bitmaps

2010-02-08 Thread Samuh
I could try and commit the stream to the file system first and then decode the file to create a Bitmap. That way, I can keep a check on the size of the File assuming that File.length would yield relevant results. I guess it would be better to display the Bitmap a little late than throw unexpected

[android-developers] Re: Handling large Bitmaps

2010-02-08 Thread Streets Of Boston
Store them full-sized (100%) on your SD-card. Then load the Bitmap from the copy on your SD-card. If you don't want these images to show up in the Gallery application, be sure to put them into a directory that starts with a period '.' . On Feb 8, 10:11 am, Samuh samuh.va...@gmail.com wrote:

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Streets Of Boston
Did you check if you service is being destroyed (onDestroy) or being killed (entire service process is being killed by Android) and re- created later at points in your code that are unexpected? Put break-points in your service's onCreate, onDestroy and onBind and see what's going on. Another

[android-developers] Re: Handling large Bitmaps

2010-02-08 Thread Samuh
Sounds perfect! 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+unsubscr...@googlegroups.com

[android-developers] Re: How to send motion Event down to another activity

2010-02-08 Thread Streets Of Boston
The activity that is no longer visible could have been destroyed by the OS. However, since your top-activity is (partially) translucent, this probably won't happen. If you really need to communicate back to the activity in the background, there are various methods: 1. Use a static variable that

[android-developers] Popping up a custom Dialog from a Widget (AppWidget)

2010-02-08 Thread Nik Bhattacharya
I am developing a desktop widget. I would like to pop up a custom dialog when a remote view is clicked (much like the Facebook widget on Android when the user clicks in the update status field). I know how to use pending intents to launch an activity and have that currently hooked up. I would

[android-developers] Do multiple overlays slow map response?

2010-02-08 Thread ian
As I add successive overlays to track my progress over a map. the performance slows. Anybody know if this likely due to the burden of pushing all those overlays around? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: How to run android application from super user(administrator) mode

2010-02-08 Thread Bob Kerns
The broken pipe exception means the process on the other end is gone. This won't give a SecurityException, because it's not Java that's checking the permissions. Connect to the phone via 'adb -d shell' and type 'su' followed by Enter. What happens? (You may need to add the tools directory from

[android-developers] Re: Wakelock and phone restarts

2010-02-08 Thread nikhil
It seems that the phone restarts even when I try to use maps . Has any one faced this? On Feb 3, 1:51 pm, nikhil nik...@gmail.com wrote: may be you are releasing the lock somewhere in your code... are you facing the rebooting problem that I have mentioned? coz this post is about continuous

Re: [android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Michael MacDonald
On 02/08/10 10:30, Streets Of Boston wrote: Did you check if you service is being destroyed (onDestroy) or being killed (entire service process is being killed by Android) and re- created later at points in your code that are unexpected? Put break-points in your service's onCreate, onDestroy

[android-developers] bug in ColorDrawable ?

2010-02-08 Thread skink
hi, i wanted my TextView to be a little white tinted, so in layout xml i put: android:background=#3fff to my surprise the background is opaque white! so i changed it to its equivalent: android:background=#33ff unfortunately, the same result changing to: android:background=#33fefefe

[android-developers] Manifest permissions not taking effect

2010-02-08 Thread Vyder
Hi I am having trouble creating a text file on the sdcard. Here's the code I'm trying to run: File file = new File(Environment.getExternalStorageDirectory() + log.txt); //file.mkdirs(); try { file.createNewFile(); } catch (IOException e1) { e1.printStackTrace(); } I have added

Re: [android-developers] Re: btsocket connected but read zero bytes

2010-02-08 Thread Alexei Czeskis
Another thing to check is to make sure your UUID is correct. If the device you're connecting to doesn't know about the UUID you're advertising, it'll make a low level connection and then fail. The behavior I saw when this was happening to me is somewhat reminiscent of the original post. -Alexei

[android-developers] Failed to link shared library on Android 2.0

2010-02-08 Thread Mike
Hi, The following program works fine on Android 1.5 1.6, however, it doesn't work on Android 2.0. Can anyone help to explain what this error message means and how to fix it? # link_image[1831]: 613 could not load needed library 'libhello.so' for '/system/xbin/test' (reloc_library[1245]: 613

[android-developers] NOOOB warning

2010-02-08 Thread fabkebab
Hi all - First of all, I am a longtime java and C# developer and I have been through the tutorials for android (about a year ago). I have finally got my hands on an android phone (N1) and I am enthusiastically trying to learn about how to program it) - I am sorry to ask such a simple question,

[android-developers] How to display an image on the Overlay of the Google Map

2010-02-08 Thread CMF
Hi guys, I am new to Android, I just followed the tutorial on this webpage, http://developer.android.com/resources/tutorials/views/hello-mapview.html, and got success to display the message OverlayItem overlayitem = new OverlayItem(point, Hola, Mundo!, I'm in Mexico City!); But now, I want to

[android-developers] Re: Motorola Droid (possible android) multi-touch bug and how to reproduce

2010-02-08 Thread Peter Kirn
Did anyone ever fill out a bug report for this? I can confirm it as well. I think it can safely be described as a defect. The most significant issue is that of the conflicting flag on those touch up events. I can confirm that the video is exactly accurate. So, the next questions -- How should a

[android-developers] download and save image on android device

2010-02-08 Thread Sandeep
Hi Developing the widget that give the provision the download and save the image and ring tone on mobile. Can any one help me with example How to save the image/ audio on SD Card when click on the Download Button. (image/ audio file are at server side ) Regards sandeep -- You received this

[android-developers] CDMA options

2010-02-08 Thread SyzOogle
Interesting.. CDMA Options now on the Android phone.. MyTouch 3G... -- 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] LIST VIEW

2010-02-08 Thread warrior
LIST VIEW 1) Consider i have 7 items in a list view (and each item in a list has in turn has many views like a image,and text views). 2) Now when i use setListadapter() all the items in the list are displayed in a same fashion. Now my ques is can i display each item in the List

Re: [android-developers] Re: Launching the correct activity on resume

2010-02-08 Thread massrk
Sent from my BlackBerry® smartphone from !DEA -Original Message- From: Josh Hoffman keshis...@gmail.com Date: Sat, 23 Jan 2010 14:22:48 To: Android Developersandroid-developers@googlegroups.com Subject: [android-developers] Re: Launching the correct activity on resume Thanks for your

[android-developers] Header Names

2010-02-08 Thread Thai Huynh
I have this issue header names all being converted to lowercase. Thus, causing my authentication to fail using signpost oauth. I'm simply doing request.setHeader(Content-Type, application/x-www-form- urlencoded); and Content-Type got converted to content-type. If anyone could help or point me to

[android-developers] Web Page Not Available -- help?!

2010-02-08 Thread Deke
Hi - Same problem- HelloWebview code (and other WebView code samples) all result in web page not available error. Javascript is enabled Permissions set for INTERNET, ACCESS_NETWORK_STATE, CHANGE_NETWORK_STATE in Manifest.xml. Does not work on either emulator or device (Samsung Moment --

[android-developers] Android audio recording problem

2010-02-08 Thread Joost van Doremalen
Hi all, I am trying to build a language learning app in which users can pronounce foreign words and automatically get feedback on how they did. It's a client-server setup. The server is a speech recognizer which I've built for this purpose. The client is an android activity which main purpose is

[android-developers] Re: Signing in to Google for Google Document access

2010-02-08 Thread Jonathan Nalewajek
Hugo, Thank you for the clarification! I plan on making this a 2.0+ app (at least I think that is what I want?) so I will probably use the AccountManager option. I actually was originally thinking about doing it this way, but then changed my mind and deleted all of my code (sigh). I'll post back

[android-developers] HelloAndroid Launch Error in Eclipse

2010-02-08 Thread Rakesh Parimi
I followed all the steps posted by Android to create the basic/simple HelloWorld example. When I try to run the HelloAndroid example, I get this error: java.lang.IllegalArgumentException: Path for project must have only one segment. at

Re: [android-developers] Showing image from Url

2010-02-08 Thread Sandeep Phansekar
add following in mainfest file uses-permission android:name=*android.permission.INTERNET* / On Sat, Feb 6, 2010 at 1:40 PM, pankaj nigam p.niga...@gmail.com wrote: Hi, i want to display an image from URL,i found one example from forum .but it doing nothing. i m sending the code plz

[android-developers] Subscription

2010-02-08 Thread Marcio Dias
Subscription -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] howto update all after language change programmatically

2010-02-08 Thread mj
hi, i use the following code to change the language via the menu: void switchLanguage(Locale pLocale) { Resources res = getResources(); DisplayMetrics dm = res.getDisplayMetrics(); Configuration conf = res.getConfiguration(); conf.locale = pLocale;

[android-developers] Re: Android Market Developers site

2010-02-08 Thread XdebugX
I have been having a similar issue. http://www.google.com/support/forum/p/Android+Market/thread?tid=07487f36ae9b4026hl=en I can login to the developer console, but my home page is blank as well. By chance are you using alltel mobile broadband for your isp? On Feb 3, 12:48 pm, Roaders

[android-developers] Multi-APN Support

2010-02-08 Thread tushus
Hi, is Multi-APN (where different apps use different APNs simultaneously) supported in Android 2.1 (Eclairs)? -- 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] Adjusting contents of ListView at runtime

2010-02-08 Thread Kasra Rahjerdi
Hello, I currently have a ListView being filled by a custom Adapter with content it gets from a JSON string on a web page. The ListView's row layout is a LinearLayout that has two things in it, one AdMob layout and one TextView. The AdMob layout's visibility is by default set to Gone. What I want

[android-developers] webkit resizing in droid

2010-02-08 Thread stan wiechers
Hey there, I have a question regarding the meta viewport declaration in HTML pages. Please tell me if this is not the correct group to post to. I have been doing quite a few iphone specific websites and I always use: meta name = viewport content = width = device-width; minimum- scale=1.0;

[android-developers] Querying the standard browser

2010-02-08 Thread oleven
Is it possible to interface with the standard browser? I would like to know what urls are open in all browser windows/tabs, maybe the history for each window/tab and finally the position(what text is visible, scrollbar percent etc.) of each window. Is this possible? I've looked at the tutorials

[android-developers] OnLongClick not available for GridView?

2010-02-08 Thread Brett
Hi, I have a gridview that successfully registers and responds to an OnItemLongClickListener, no problem. What I'm trying to add is an OnLongClickListener to respond to a user selecting empty space on a gridview; so that I pop up my 'add widget' view (In contrast to the Item listener that brings

[android-developers] Showing Custom Dialog

2010-02-08 Thread YCH
Hi, I am new to android development and is having some problems on showing a custom dialog. My development environment is sdk 1.5 with eclipse. In the menu, if user click on the first button, I want to show a dialog. public boolean onOptionsItemSelected(MenuItem item) { switch

[android-developers] Re: Android Market Developers site

2010-02-08 Thread XdebugX
I am having a similar problem, have a disscusion of it on the market help forums: http://groups.google.com/group/android-developers/browse_thread/thread/e42f81a6a8721a9c I can sign into the developer console, but my home page is blank. I've tried multiple browsers, disabling my firewall and

[android-developers] Access sim card via code in Android

2010-02-08 Thread ilana
Hi All I am quite new to Android. I develope telephony tests that checks SIM functionality Can somebody provide code examples of how we can access sim card via code What Android APIs can I use to read contacks to write sim etc. I have an access to internal apis (that are not a part of Android)

[android-developers] Using USB connection for data transfer

2010-02-08 Thread Nand
Hi, Can anyone tell me whether it is possible to transfer data between 2 applications( one running on Android Phone and another application running on PC) via USB connection? If yes then please tell me the what are the settings to be done. Thanks in Advance -- You received this message because

[android-developers] Showing Custom Dialog

2010-02-08 Thread YCH
Hi, I encountered a message like below when opening a custom dialog through menu option. 02-07 16:37:45.478: ERROR/BACKGROUND_PROC(1007): android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application Using the latest sdk with 1.5 emulator. Any

[android-developers] Standard Android Music Player

2010-02-08 Thread Nick Mitin
Is there any way to pass a file or a playlist to a standard Android Music Player? I guess almost all applications, for instance, i Music do it. -- 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] Trapping onItemSelected events from an Auto complete list

2010-02-08 Thread androided
I am trying to write an application with a list of items read in from a file. This item list and the fields that go with each item are fed into a DB. The item names are presented to the user as an auto- completing list. Once the list item is selected, I would like to get the value from the list

[android-developers] Working with Strings.xml

2010-02-08 Thread CMF
Hi guys~:) I would like to parse the strings.xml Here is my code: Line1: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); Line2: DocumentBuilder builder = factory.newDocumentBuilder(); Line3: Document dom = builder.parse(new File(//myproject//res// values//strings.xml));

[android-developers] Problem with developer console at anrdoid market site

2010-02-08 Thread XdebugX
I can log into my developer console on the android market, but the home page is blank. It shows me signed in, but there is no link to upload apps, buy developer phones and such. On my work computer it shows these links, but at home on this computer the home page is blank. I've tried IE, firefox

[android-developers] Re: Mulit-Touch Problems

2010-02-08 Thread Peter Kirn
Mario, I can verify this on the two Droids I have here. (Then again, I guess that'd be ONE way to get two reliable pointers... yipes...) What happens on the NexusOne or other Android devices that report multiple pointers? My strong suspicion is that this is hardware - firmware related, not

[android-developers] CursorTreeAdapter!!!

2010-02-08 Thread beginner
Hello everyone!!! I'm new android, i'm trying to do with CursorTreeAdapter but it doesnt work. Please help!!! Here is my code import android.app.Activity; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.net.Uri; import

[android-developers] i am unable to create second table in android

2010-02-08 Thread ram
this is helper class . i m unable create a second table in my sqlite please observe the following code helper class.java public class DBAdapter { private static final String DATABASE_NAME=satya_db; private static final int DATABASE_VERSION=1; private static Context context;

[android-developers] How I enable Accessibility Services options in settings if it not visible

2010-02-08 Thread Administrador
Hi My company develops applications with a focus on people with visually impaired and are already in advanced stages of development we would like to test our applications on a real phone. The first phone to arrive in Brazil with the necessary defining features is the Motorola A853. Recently

[android-developers] About boot.img

2010-02-08 Thread kR105
Hello! I'm trying to guess what are the files that contain the low level code of the boot.img/recovery.img images. I tried modifying the .S files in the sub folders of /bootable/bootloader/legacy/, but after a re- compilation the boot image are exactly the same as before my edits to the file(s)

[android-developers] Are processes kept alive when nothing is being done?

2010-02-08 Thread Al Sutton
I have an app which declares a BroadcastReceiver, the receiver gets the broadcast, does what it needs to, then ends ensuring that everything is tidied up as needed. When I examine the system through the DDMS view in Eclipse the process for the application is still running after the receiver has

[android-developers] logcat filter, colon within tagname

2010-02-08 Thread Venu
I have an application(not mine) printing logcat messages with a colon : within the tagname. How do i use logcat filter with it, since logcat filter itself uses : as a delimiter to specify the level. D/App:theservice( 402): posting event 345 D/App:theservice( 402): posting event 920 I can't use

[android-developers] How do I modify the -encoding argument to javac in the Android Ant build system

2010-02-08 Thread paulbutcher
Apologies if this is a stupid question - I'm an Android and Ant newbie. I have utf8 encoded source files that I need to compile with the Android Ant build system. By default, the encoding is set to ascii. I'd be very grateful for a pointer to whatever I need to do to let the build system know

[android-developers] How to read xml data (Text + Images) and display

2010-02-08 Thread Niketa
Hi all, I am developing an application in which I have to display data and Images with Pagination facility (like Ebook). All the data Contents are in xml and the XML Structure would be like this, -root.xml |-child1.xml |-text blah blah blah /text |-image

[android-developers] Rotation with ListActivity

2010-02-08 Thread Noodles
I have a problem with rotation, during my ListActivity is loading data from the network. To do it I use a background thread which recovers data and put them inside an ArrayList. While this thread works, there is Progress dialog activated in foreground. For the rotation I use the method with

[android-developers] Fiddler2 not capturing HTTP traffic

2010-02-08 Thread TimHilco
For HTTP debugging purposes, I'm try to set up Fiddler to capture and display the HTTP traffic from my application. I've installed Fiddler2 and have tried various configuration options to get it to recognize the HTTP traffic. I've set the http-proxy arg to -http-proxy 127.0.01: in the Eclipse

[android-developers] getView() multiple call details

2010-02-08 Thread CatDaaaady
Searching the net and this group I can see this topic has come in a billion times. What I wanted to know if anyone can explain or point to information on how the View/getView() implementation determines the number of getView() calls that are required to display content. I understand there are

[android-developers] Fwd: Google Docs

2010-02-08 Thread David Toledo
-- Forwarded message -- From: DAVIDT dtole...@gmail.com Date: 2010/2/7 Subject: Google Docs To: Android Developers android-developers@googlegroups.com Hi All How to read the info from spreadsheets from GoogleDoc. I need read the info from cells and save to database. Thanks

[android-developers] Where can I find the Adwhirl SDK for Android ?

2010-02-08 Thread mf007
Hi, Checked for SDK at http://code.google.com/p/adwhirl/downloads/list but could'nt find the SDK for Android. -- 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

Re: [android-developers] Are processes kept alive when nothing is being done?

2010-02-08 Thread Dianne Hackborn
Yes this is normal. Process management is explained here: http://developer.android.com/guide/topics/fundamentals.html#proclife http://developer.android.com/guide/topics/fundamentals.html#proclifeKeeping it around has no negative impact on the user. People who are complaining about this,

[android-developers] Re: Web Page Not Available -- help?!

2010-02-08 Thread nikhil
if you are using webview add myWebView.setWebChromeClient(new WebChromeClient()); myWebView.setWebViewClient(new WebViewClient()); On Feb 6, 6:24 pm, Deke dkennedy12...@gmail.com wrote: Hi - Same problem-  HelloWebview code (and other WebView code samples) all

[android-developers] Re: bug in ColorDrawable ?

2010-02-08 Thread skink
Hi, actually this is not bug in ColorDrawable: when i instantiate it from java: d = new ColorDrawable(0x33ff) tv.setBackgroundDrawable(d) everything works OK so i think it must be problem when converting xml files from text to binary representation thanks pskink -- You received this

Re: [android-developers] Sqlite Error

2010-02-08 Thread Jason Proctor
well, like the error says, the cursor is being garbage collected but it hadn't been closed or deactivated. you must close your cursors! and do it in a finally block so that they still get closed even if other code throws an exception. for example -- Cursor c = null; try { c =

  1   2   3   >