[android-developers] Re: Webview Broken in 1.5 SDK?

2009-07-09 Thread Bill Zimmerly
You're welcome, MIND GAME. - Bill On Jun 10, 5:02 am, MIND GAME lovekhanna04...@gmail.com wrote: hii thanks this woks for me. On May 12, 6:56 am, Bill Zimmerly billzimme...@gmail.com wrote: I was successful in fixing the problem (above) and this details it... This line in the

[android-developers] Re: Video with MediaRecorder

2009-07-09 Thread manoj
Hi all, I am also getting same error as mentioned above by coolislandsurf1981. Can any one please help me to solve this. Thanks, Manoj. On Jun 4, 5:27 am, coolislandsurf1981 nbahad...@gmail.com wrote: Hi everyone, I used the code above but the CameraView activity dies (see log below).

[android-developers] Re: Can't install usb driver because Windows do not pop New hardware wizard

2009-07-09 Thread Markuz05
If you have already installed drivers windows doesn't show you the option again. Try to go on System properties - hardware - device manager to verify it bye On 9 Lug, 07:29, XC He schosnab...@gmail.com wrote: Did you enable the usb debug option on your HTC magic? I ever encountered same

[android-developers] Re: Image

2009-07-09 Thread Alexey Krasnoriadtsev
You can create your class that will extend from ImageView. at some point store a Drawable of the small image as an instance variable. overwrite public void onDraw(Canvas canvas){ super.onDraw(canvas); mDrawable.setBounds(0, 0, drawableWidth, drableHeight); mDrawable.draw(canvas); } This

[android-developers] Re: Saving Scroll Position When Activity Returns

2009-07-09 Thread MrChaz
Override onSaveInstaceState() which will provide you a bundle to put data into. This bundle is then passed into the activity when it's next started On Jul 9, 12:36 am, Nick psnim2...@gmail.com wrote: How can I save and load the scroll position of a listview that is destroyed/hidden/paused.

[android-developers] Re: Video with MediaRecorder

2009-07-09 Thread hanged_man
i didn't read this whole thread but i think i got a clear idea of your problem, why don't you people just use out-of-the-box video recorder (using intents) instead of implementing your own and getting into lots of troubles ? Check out this:

[android-developers] Re: Can't install usb driver because Windows do not pop New hardware wizard

2009-07-09 Thread Victor Lin
I do open debug option on my phone. I also check the hardware device manager, but I can't find any device like HTC Magic/Android.. or something like that. What can I do? On 7月9日, 下午3時47分, Markuz05 divitama...@gmail.com wrote: If you have already installed drivers windows doesn't show you the

[android-developers] Setting Alpha to an ImageView does set alpha to the ImageResource...

2009-07-09 Thread Alx
Hello all, I've certainly missed something on how to use ImageView objects but I'm lost for now... So, I've created 2 ImageView, using the same resource : i0 = new ImageView(this); i0.setAdjustViewBounds(true); i0.setImageResource(R.drawable.blood_01);

[android-developers] PArsing Xml From File....

2009-07-09 Thread android.vinny
Hi all Is there An thing Wrong With this code i am doing parisng XMl from raw folder // Parse the SOAP Response FileInputStream istream = null; MyContentHandler myContentHandler = new MyContentHandler (); try { istream =

[android-developers] Re: Orientation problem while dynamically loading Views

2009-07-09 Thread Ani
Thank you Jack But no change in the lay out. i tried to add using table raw in a table layout dynamically. in that case i am getting blank screen On Jul 8, 8:59 pm, Jack Ha jack...@t-mobile.com wrote: Try changing:     android:orientation=vertical to     android:orientation=horizontal

[android-developers] Start TTS from broadcast receiver

2009-07-09 Thread nuno
Hi all, I am trying to start TTS from a broadcast receiver and it as document an intent receiver can't bind the service. Is there a work around, I can't figure out how to start the service using startService(Intent, Bundle) any tips? Thanks, --~--~-~--~~~---~--~~

[android-developers] EditTextPreference

2009-07-09 Thread kalyan
hi all.. im using a EditTextPreference to get a value for a field.. how to get to know whether the Ok or Cancel button was clicked.. can anyone please send me the code snippet... kindly help! thanks in advance!! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Can't install usb driver because Windows do not pop New hardware wizard

2009-07-09 Thread Mark Murphy
Victor Lin wrote: Hi, I want to install usb driver on my windws xp to debug on my HTC Magic phone, I follow steps here: http://developer.android.com/guide/developing/device.html But I find that when I plugin the connecting cable to my phone, windows xp just treat it as a storage

[android-developers] Re: Setting Alpha to an ImageView does set alpha to the ImageResource...

2009-07-09 Thread Mark Murphy
Alx wrote: Hello all, I've certainly missed something on how to use ImageView objects but I'm lost for now... So, I've created 2 ImageView, using the same resource : i0 = new ImageView(this); i0.setAdjustViewBounds(true);

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009-07-09 Thread Declan
I'm running XP and I had the problem, I fixed it with USBDeview. --~--~-~--~~~---~--~~ 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] how to remember zoom level?

2009-07-09 Thread tstanly
hi all, I use the mapview for the gps location of the code: LinearLayout mZoomView1=(LinearLayout)mMapView01.getZoomControls(); mZoomView1.setLayoutParams( new ViewGroup.LayoutParams (

[android-developers] translatable

2009-07-09 Thread Shang Hao
Hi, What do we mean when we declare something as translatable in xml files?? eg. string-array name=preferences_first_day_of_week_values translatable=false item0/item item1/item item2/item item3/item /string-array Thanks.

[android-developers] Is possible to change the preferred contact telephone number?

2009-07-09 Thread Monkiki
I wonder if I can change the preferred contact telehone number from the API (nort manually, of course) --~--~-~--~~~---~--~~ 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: Is possible to change the preferred contact telephone number?

2009-07-09 Thread Monkiki
Seems to be set primary flag into a contact phone. But I am not sure I modify the database is a good idea. On 9 jul, 13:54, Monkiki monk...@gmail.com wrote: I wonder if I can change the preferred contact telehone number from the API (nort manually, of course)

[android-developers] Re: Can't install usb driver because Windows do not pop New hardware wizard

2009-07-09 Thread schwiz
do what markuz05 said On Jul 9, 6:32 am, Mark Murphy mmur...@commonsware.com wrote: Victor Lin wrote: Hi, I want to install usb driver on my windws xp to debug on my HTC Magic phone, I follow steps here: http://developer.android.com/guide/developing/device.html But I find that when

[android-developers] Re: items can't be selected (or highlighted)

2009-07-09 Thread Andy Liu
hi Tom, I encountered the same problem you had. Did you find the solution to the problem? thanks, andy On Jun 3, 7:01 am, Tom thomas.coz...@gmail.com wrote: Ok first in my row.xml I had :  - a TextView with the attribute android:telephone When I remove this attribute, the item can

[android-developers] Class Zero Message behavior

2009-07-09 Thread Thomas
Hi All, Someone knows how property in the AndroidManifest (or in the code) does the activity has the same behavior of a Class 0 Activity in Mms App. The behavior is when this activity starts, it opens in front of everything, and if the user presses the home key and gets into Messaging,the class

[android-developers] Varied accelerometer sample rate

2009-07-09 Thread House n @ MIT
Hello, Has anyone been able to get the accelerometer on the G1 to sample consistently for long periods of time? We’ve been doing some testing of the G1 accelerometer on Android, and wanted to see if others have gotten the same result. Our test uses a partial wake lock to keep the CPU alive.

[android-developers] Re: Can't install usb driver because Windows do not pop New hardware wizard

2009-07-09 Thread john
1.insert 2G SDCARD 2.plugin the connecting cable to your phone 3.open usb notification in status bar ,agree USB connect to your phone 4.open usb driver in you computer,double click HTCSync_1.0.0.exe On 7月9日, 下午7時32分, Mark Murphy mmur...@commonsware.com wrote: Victor Lin wrote: Hi, I want

[android-developers] Re: Can't install usb driver because Windows do not pop New hardware wizard

2009-07-09 Thread nEx.Software
Good FAQ Mark... For those who don't necessarily want to mess with the registry, you can try this utility: http://www.nirsoft.net/utils/usb_devices_view.html Via: http://forums.androidandme.com/topic/help-with-screen-shot-guide On Jul 9, 7:20 am, john john4...@gmail.com wrote: 1.insert 2G

[android-developers] Re : Create APK of my Project (Need FAST Answer)

2009-07-09 Thread ssfss
Hi In bin folder just exist resources.ap_ (AP_ File) ... what is this? why my apk do'nt create? thanks On Apr 14 2008, 8:12 am, OmarFlores patriciayo...@gmail.com wrote: Noam, I believe that when you compile the project, the file gets automatically created. Just go to the bin folder

[android-developers] Re: EditTextPreference

2009-07-09 Thread Jack Ha
onDialogClosed(boolean positiveResult) positiveResult == true (OK button was clicked) positiveResult == false (Cancel button was clicked) -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread Moto
I don't see your ListView under the xml file... where is that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread Moto
I don't see your ListView under the xml file... where is that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: TabHost Listview dissapearing after going to SMS screen and back.

2009-07-09 Thread extrapedestrian
its me again, here is simple example to reproduce this bug, please if anyone can confirm it, (or point out mistake i make) i would appreciate it... public class TabHostListView extends TabActivity implements TabHost.TabContentFactory { /** Called when the activity is first created. */

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread eags
I didn't include that code because I assumed the issue was with the list item. I am just using the ListView like in other examples that work for me so I didn't think the problem could be there. Here is the layout anyway: ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] add new sensor?

2009-07-09 Thread bluestar
I know the Android SDK provieds many Sensor class to use to get data or do something. I already verified my driver of sensor to get data successfully under linux kernel-2.6.29 I use I2C protocol to communication with my device, so I put sensor code under drivers/i2c/chips NOW I want to add my

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread extrapedestrian
do you have set OnKeyListener? like: alarmsListView.setOnKeyListener(this); On Jul 9, 5:28 pm, Moto medicalsou...@gmail.com wrote: I don't see your ListView under the xml file... where is that? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread extrapedestrian
sory not onKey but onClickListener... On Jul 9, 5:45 pm, extrapedestrian extra.pedestr...@gmail.com wrote: do you have set OnKeyListener? like: alarmsListView.setOnKeyListener(this); On Jul 9, 5:28 pm, Moto medicalsou...@gmail.com wrote: I don't see your ListView under the xml file...

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009-07-09 Thread Declan
I spoke too soon! I got rid of the drivers and installed the new ones, but when I do adb devices it shows nothing! any ideas? On Jul 9, 7:38 am, Declan dmeen...@gmail.com wrote: I'm running XP and I had the problem, I fixed it with USBDeview.

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread nEx.Software
You'll need an ItemClickListener set for your ListView - Though I am sure that you already know that... Something like: alarmsListView.setOnItemClickListener(ItemClickListener); On Jul 9, 8:46 am, extrapedestrian extra.pedestr...@gmail.com wrote: sory not onKey but onClickListener... On Jul

[android-developers] Re: Intent to view sms?

2009-07-09 Thread N4Spd
Chris, Can you please share how one can view/access a sms message? Thanks, Rob On Jul 2, 5:24 am, Seer gilligan.ch...@gmail.com wrote: ok guys i have this work great now but i have a new problem.  when someone views the sms in my app i mark the sms as read and they have accessed my app via

[android-developers] adb shell on Google IO phone

2009-07-09 Thread Christine
I have a problem using adb shell on my Google IO phone. I get shell access, I can type cd /data/data, but then when I type ls it says opendir failed, Permission denied. Same when I type sqlite3. I didn't think I'd need to root my phone, but what setting did I miss to get access to data on the

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread eags
Since I'm getting a few questions about the list view itself and what I'm doing with it, here is that code. This code worked perfectly with a simple_list_view_item_1 (or whatever it is called) and a regular ArrayAdapter. All I did was switch out the layout resource I specify for the adapter and

[android-developers] Re: Sent email via intent removing newline characters

2009-07-09 Thread Hayden
This is on an actual device. I get the message you described when trying to similar actions with Gmail, the Market, etc on the emulator. There might be ways around it on the emulator, but I'm not sure of any. On Jul 9, 12:27 am, mrjimmy410 mrjimmy...@gmail.com wrote: This comment is not going

[android-developers] Can android run java class files

2009-07-09 Thread n179911
Hi, There are a lot of language which compiles into Java class files when can run on JVM (e.g. JRuby, Scala, Rhino). Can you please tell me if I can take those class files (compiles by the JRuby/Scala/Rhion compiler) and run it on Android platform? Thank you.

[android-developers] Re: Can android run java class files

2009-07-09 Thread Romain Guy
Hi, You first need to convert them to the Dalvik bytecode format using the dx tool that you can find in the SDK. On Thu, Jul 9, 2009 at 10:18 AM, n179911n179...@gmail.com wrote: Hi, There are a lot of language which compiles into Java class files when can run on JVM (e.g. JRuby, Scala,

[android-developers] Re: adb shell on Google IO phone

2009-07-09 Thread Dianne Hackborn
Only root has blanket access to the filesystem. Not even the core system process can touch application data. On Thu, Jul 9, 2009 at 9:23 AM, Christine christine.kar...@gmail.comwrote: I have a problem using adb shell on my Google IO phone. I get shell access, I can type cd /data/data, but

[android-developers] Re: Start TTS from broadcast receiver

2009-07-09 Thread Dianne Hackborn
You need to start your own service and do the work there. There are examples of this in APiDemos. On Thu, Jul 9, 2009 at 3:18 AM, nuno nba...@gmail.com wrote: Hi all, I am trying to start TTS from a broadcast receiver and it as document an intent receiver can't bind the service. Is there a

[android-developers] Re: How could I customize the launcher without modify the SDK?

2009-07-09 Thread Dianne Hackborn
Sorry, no, the user needs to do that. On Wed, Jul 8, 2009 at 9:04 PM, Siu Man Yu siuma...@gmail.com wrote: It will pop-up a dialog to let me select my application or original Home to start with. Could I set any attribute to bypass this dialog force to use my app as launcher? Thank you

[android-developers] Re: Sent email via intent removing newline characters

2009-07-09 Thread Peli
As far as I know, Gmail does not provide the intent filters necessary to launch that application through the standard email intents. You can download and install K9 mail onto your emulator: http://code.google.com/p/k9mail/ Peli www.openintents.org twitter.com/openintents On Jul 9, 6:27 am,

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-09 Thread Mike
Does no one know the answer to this question? Even a no you can't do that. response would be better than nothing. Google framework engineers - where are you? :) It seems based on the other threads that have been started on this subject that there is a reasonable amount of interest surrounding

[android-developers] Low accuracy of the accelerometer Sensor

2009-07-09 Thread dilit
We are writing an application that uses acceleration sensor data to plot phone's movement in 3D. We are finding gross inconsistencies in the actual data output by the sensor. Also, sampling rates vary greatly from 8 to 200 millis. (using System.currentTimeMillis()) Specifically, when we try

[android-developers] Re: DEVELOPER CHALLENGE 2 - Can update of existing published app can participate?

2009-07-09 Thread havexz
Someone from google please response back On Jul 1, 4:17 pm, havexz bali.param...@gmail.com wrote: noone responded:-/...where is the details of the terms for DC2...which is supposed to be out in june On Jun 23, 1:00 am, havexz bali.param...@gmail.com wrote: Can any one from Google

[android-developers] Re: Varied accelerometer sample rate

2009-07-09 Thread dilit
Not only the sampling rate is off, but also the data are very unreliable. See my thread for our findings: http://groups.google.com/group/android-developers/browse_thread/thread/f92f0d648a1c274f If someone from google could comment, I am sure it would become clear that cell phone is just that. It

[android-developers] Re: Low accuracy of the accelerometer Sensor

2009-07-09 Thread dilit
Just in case, We did calibrate our phones. E.g. My phone's Gravity value is more like 8.7 vs 9.81. While static, the phone's accel values were acceptable. As soon as the phone was in motion, the acceleration (position) data went out to lunch. FYI, marketing = lying 99% of the time. IMO On

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-09 Thread nEx.Software
Presumably, if you knew the ClassName and the extras it was expecting, you could accomplish this. On Jul 9, 10:39 am, Mike michaeldouglaskra...@gmail.com wrote: Does no one know the answer to this question?  Even a no you can't do that. response would be better than nothing.  Google framework

[android-developers] Re: two questions about MediaPlayer

2009-07-09 Thread Marco Nelissen
On Wed, Jul 8, 2009 at 1:01 AM, tstanlytsai.sta...@gmail.com wrote: and i think that's not the formation of audio/video issue, because I put the 3gp video in the /data/app and modify the path to: setVideoURI(Uri.parse(/data/app/2.3gp)); now, it can work! I am so confused.

[android-developers] Play YouTube videos in WebView?

2009-07-09 Thread Mariano Kamp
Hi, when accessing a website with embedded YouTube video from within the browser, I can play the video. When accessing it from WebView I haven't been able to do that. Is that not possible or is there anything I do wrong? WebView webView = (WebView) findViewById(R.id.content_web_view);

[android-developers] Re: Speech Recognition

2009-07-09 Thread Steven
I have seen that code. I can't get it to work. After reading through other peoples post it seems like they have the same problem. Plus there isn't any other tutorial or sample code out there that will help me develop a voice recognition app. On Jul 7, 9:09 pm, Mark Murphy mmur...@commonsware.com

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-09 Thread Mike
Can you tell me how? I am the owner of the other app I am trying to open in the market from the first app. - Mike On Jul 9, 12:42 pm, nEx.Software justin.shapc...@gmail.com wrote: Presumably, if you knew the ClassName and the extras it was expecting, you could accomplish this. On Jul 9,

[android-developers] Re: Speech Recognition

2009-07-09 Thread Mark Murphy
I have seen that code. I can't get it to work. Silent failures? Logcat error messages? Crashes? Phone explosions, with the resulting shrapnel threatening life and limb? ;-) I have not seen the other threads you refer to, but I don't tune into each and every message that gets posted here.

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-09 Thread nEx.Software
I don't know how exactly, but I can tell you the class name. You'll have to figure out the extras though. Intent intent = new Intent(); intent.setClassName (com.android.vending, com.android.vending.AssetInfoActivity); On Jul 9, 12:29 pm, Mike michaeldouglaskra...@gmail.com wrote: Can you tell

[android-developers] Re: android socket server

2009-07-09 Thread Yusuf T. Mobile
Your remote-server-has-my-address idea could work. The only caveat is that if your phone is running a server for other phones, they need to be able to reach your IP address, which can be tricky if you are behind a firewall or network address translator; that's one of the problems a server proxy

[android-developers] ProGuard with Android 1.5

2009-07-09 Thread Carter
Hi, Has anyone had any luck with using ProGuard on Android 1.5 projects? The build.xml format changed significantly from earlier versions of Android, making previous examples and discussions no longer helpful (for example, here:

[android-developers] ItemizedOverlays Complications

2009-07-09 Thread aspekt9
I have a MapView which utilizes and ItemizedOverlay to draw map markers to the map. The application stores the markers for later use in a database and in the mOverlays OverlayItem ArrayList. This works fine for adding new items, but removing items from the ArrayList shrinks the arraylist and

[android-developers] What's the individual file size limit imposed on assets file?

2009-07-09 Thread Agus
What's the individual file size limit imposed on assets file? --~--~-~--~~~---~--~~ 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] onPreViewFrame obtain wrong data

2009-07-09 Thread Hong Phuc
I decode the data obtained from onPreViewFrame to ARGB, then display image on the SurfaceView. But the images displayed after decoding is just the last frame obtained from Camera app in my G1, not real time data. What happened ? --~--~-~--~~~---~--~~ You received

[android-developers] Re: How can I start an Intent to launch the IM applicaiotn

2009-07-09 Thread monkey888
Hi Jack Ha: following your steps, I can't run IM in android 1.5 emulator, I can't find im-providers's database, why? I very want to gain your reply, thanks firstly! best wishes On Jun 9, 12:06 pm, Jack Ha jack...@t-mobile.com wrote: IM: Intent i = new Intent(Intent.ACTION_VIEW);

[android-developers] Re: Video with MediaRecorder

2009-07-09 Thread golavish
OMG!!! Good find. I have been looking for how to do this all along. I haven't tried it out but will post when I do. On the other hand, manoj and coolislandsurf, android doesn't support MPEG4 encoding, it only supports H263. On Jul 9, 11:25 am, hanged_man majd...@gmail.com wrote: i didn't read

[android-developers] Building emulator for windows incorrectly detects byteswap.h

2009-07-09 Thread Timo Suoranta
I tried to build platform\external\qemu on Windows, like this: ./android-rebuild.sh --sdl-config=/cygdrive/g/mydroid/prebuilt/windows/ sdl/bin/sdl-config The build fails: android-configure.sh incorrectly detects that byteswap.h is available. The detection does not use the -mno-cygwin compiler

[android-developers] change Launcher

2009-07-09 Thread lz2008ok
Hi,All. When i was changing Launcher in the source codes, i was unable to find the desktop default picture. Somebody tells me why? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] UW-LAnguage Institute

2009-07-09 Thread uzma wahid
This is an educational site ,which provides loads of information regarding many world wide spoken languages.Beside that it gives detailed knowledge of different language institute at nation and international level.In other relevant links it provides information about online institutes, Learning

[android-developers] Re: Is possible to change the preferred contact telephone number?

2009-07-09 Thread Manjula C
modifying the database? On 7/9/09, Monkiki monk...@gmail.com wrote: Seems to be set primary flag into a contact phone. But I am not sure I modify the database is a good idea. On 9 jul, 13:54, Monkiki monk...@gmail.com wrote: I wonder if I can change the preferred contact telehone number

[android-developers] Re: Packet Driver and RIL Header Files

2009-07-09 Thread Chris Heiden
Do we know about what? On Wed, Jul 8, 2009 at 4:12 PM, Junior Oyebadejo joyebad...@gmail.comwrote: Anyone know anything about this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Automated Functional Testing

2009-07-09 Thread Software Testing Training
Automated Functional Testing By Bhrigu Malhotra ( http://www.qacampus.com ) First of all let me make you all aware that I’m a developer and what you are going to read further is a developer’s account, so it may sound to you like a layman tester. But what I’m going to share is something which

[android-developers] Associate app to open email attachments

2009-07-09 Thread Mirko Nasato
Hi all, I've written an app that can handle the VIEW action for a given mimeType, say application/foo. By adding the following to AndroidManifest.xml the Browser automatically uses my app to open downloads of that type: intent-filter action android:name=android.intent.action.VIEW/

[android-developers] Re: adb install failure with return code -12

2009-07-09 Thread truedat
Nice error code. Would like to see a list of possible return codes that we can expect from adb install foo.apk. Does anyone know the git branch and the source files we would need to inspect for the adb tool? I briefly looked around under

[android-developers] How to implement the slide effect like desktop

2009-07-09 Thread 单单
For example, I have an application containing 3 interfaces(each one occupys a screen), I want to switch different interfaces by touching on the screen. Just like the desktop has 3 parts, we can move from one to anohter by touching. Can anyone tell me how to implement the kind of effect or where

[android-developers] Re: how to set the size of tab in tabHost?

2009-07-09 Thread k7k0
On 29 mayo, 01:00, Android Users androidmai...@gmail.com wrote: Try this. tabHost.getTabWidget().getChildAt(0).setLayoutParams(new LinearLayout.LayoutParams(width,height)); It works! Thanks a lot. To avoid a new layout: tabHost.getTabWidget().getChildAt(0).getLayoutParams().height = 35;

[android-developers] Cell Radio Info

2009-07-09 Thread ain
Is there a way I can get access to the following information from the cell. I know that it uses a Qualcomm MSM7201A chip. I know qualcomm unleashes a boat load of information such as: Pilots-Channels PN offset Neighbours Searches PN Codes Power Control-TX and RX Slot DRC Signal Noise Ratio

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread Radzell
It looks like what you need is not to put android clickable in the view group but in the individual view that you want to make clickable ie ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=horizontal

[android-developers] Re: Fail to install Maps.apk on cupcake

2009-07-09 Thread Haritha
Elvis i'm also facing the same issue with Maps.apk. Please let me know if you have resolved this. regards Haritha On Jun 26, 2:17 am, Elvis elvisdai...@gmail.com wrote: Hi all~~ I was unable to installMaps.apk into emulator cupcake. I've tried 2 method, both are failure. 1. adb

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-07-09 Thread babo
On OSX 10.5 use this command to disable IPv6 for loopback interface: sudo ip6 -d lo0 /Attila --~--~-~--~~~---~--~~ 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] Analysing browser Traffic

2009-07-09 Thread arjun r
Hi All, i wish to analyse the various data passing through the browser. AFAIK i would need a handeler of the browser to query the contents. Is there any way that my application can get this handler of the browser and query for these data. Regards, Arjun

[android-developers] Re: Playing recorded sounds in Android 1.5

2009-07-09 Thread SonjaM
What you need to do is pass in a FileDescriptor to the setDataSource() method of MediaPlayer instead of a String file path. This is to avoid the permissions problems that Marco talks about earlier in the thread. String fileNameStr = getResources().getString(R.string.tmpfile); FileInputStream

[android-developers] run source in emulator

2009-07-09 Thread dmodroid
I downloaded the entire source tree, and ran make. I would like to run it in the emulator, now. How do I do that? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] change Launcher

2009-07-09 Thread lz2008ok
I changed the source code in the Launcher, but the default desktop picture android has been unable to find the cases for which to know, please tell me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] API google map key

2009-07-09 Thread sweet
Hi Everyone I'm begining in android developement and at that time I work in the API google map tutorial. In this tutorial they said : Once you have located the keystore, use this Keytool command to get the MD5 fingerprint of the debug certificate: $ keytool -list -alias androiddebugkey \

[android-developers] Re: Can only hear sound when playing video

2009-07-09 Thread Alslayer
My bad, that method does not exist. You'll need to get an AssetFileDescriptor for your resource, and then use setDataSource(FileDescriptor, long, long) with the FileDescriptor, offset and length from that AssetFileDescriptor. I was wondering. I had never heard that before, and I did read

[android-developers] 1.5 Alarm Clock

2009-07-09 Thread UncleMilt
New to Android 1.5 using one day. Everything seems to work fine except on starting emulator takes forever then Message : Application Alarm Clock (in process com.android.alarmclock) is not responding. Tried setting clock for a time but still no go?? Figure the long emulator startup time is do

[android-developers] onPreViewFrame obtain wrong data

2009-07-09 Thread Olalalili
I decode the data obtain from onPreViewFrame to ARGB, then display image on the SurfaceView. But the images displayed after decoding is just the last frame obtained from Camera app in my G1, not real data. What happened ? --~--~-~--~~~---~--~~ You received this

[android-developers] onPreViewFrame obtain wrong data

2009-07-09 Thread Olalalili
I decode the data obtain from onPreViewFrame to ARGB, then display image on the SurfaceView. But the images displayed after decoding is just the last frame obtained from Camera app in my G1, not real data. What happened ? --~--~-~--~~~---~--~~ You received this

[android-developers] GET_TASK permission for a Class used as a library fuction

2009-07-09 Thread Sreekanth Rao
Hi All, I'm very new to Android. I want to write a loging fuction which prints logs all the recent task. I have written a function updateTaskList that can be called by any of the loging fuction to get the recent tasks invoked by the user. private static void updateTaskList(StringBuilder

[android-developers] View.post(Runnable r) within threads

2009-07-09 Thread Mike Ying
I have noticed something interesting with how View.post(Runnable r) works as opposed to using a Handler to post back to the UIThread, and I'm wondering if all of you out there can perhaps pick up on something that I am not seeing (a problem in my code I believe). Perhaps the multiple threads are

[android-developers] Re: loading external data on local file in WebView

2009-07-09 Thread kuyoh
Hello pius.lee, I'm having this same problem have you found out how to solve it?! Thanks! On May 27, 7:50 am, pius.lee idkil...@gmail.com wrote: when Iloadexternalweb page, image or javascript file from local webpage. I can't seeexternalimage and can'tloadjavascript or webpage. but I can

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

2009-07-09 Thread Jimmy Huang
Dear All, I would like to develop an Android Application to allow the user to send MMS on Mobile, does anyone know which API should be used? Thanks, Jimmy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Speech Recognition

2009-07-09 Thread Steven
So when I use the code from voiceRecognition.java to see if it will work. I get and error with R.layout.voice_recognition as well as R.id and when I try import com.example.android.apis.R it wants me to create the class. When I created the project the R class was already pre built. I'm pretty new

[android-developers] How to drawBitmap() using the alpha from another bitmap?

2009-07-09 Thread ReubenH
Hi, As per title, can anyone advise as to ways to draw a bitmap using the alpha channel from another bitmap? I have a collection of bitmaps which are effectively stencils, i.e. the alpha channel is the only part I wish to use, to draw one bitmap on top of another (following the stencil

[android-developers] Re: GET_TASK permission for a Class used as a library fuction

2009-07-09 Thread Dianne Hackborn
If in app is going to use your function (which means compiling it into their app), then they need to request the permission. There is no way around it. On Thu, Jul 9, 2009 at 11:41 AM, Sreekanth Rao dns...@gmail.com wrote: Hi All, I'm very new to Android. I want to write a loging fuction

[android-developers] Re: Installing USB drivers on Vista 64 bit

2009-07-09 Thread consultutah
I get the same thing too. Any suggestions? --~--~-~--~~~---~--~~ 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

[android-developers] Re: View.post(Runnable r) within threads

2009-07-09 Thread Romain Guy
When a view, in a list, goes out of the screen, it is detached from the window and cannot therefore communicate with the default handler. On Wed, Jul 8, 2009 at 2:41 PM, Mike Yingconfuciu...@gmail.com wrote: I have noticed something interesting with how View.post(Runnable r) works as opposed

[android-developers] Why didn't the Chrome OS announcement make any mention of Android Market developers?

2009-07-09 Thread JohnJYates
The Android Discuss group is discussing the Chrome OS announcement but its this Android Developers group where the real issue is most relevant. Google didn't even mention Android Market in the announcement. My reaction was, Will Android Market Apps work on the new Chrome OS? I blog about this

[android-developers] Orientation flip without major state change?

2009-07-09 Thread Keith Wiley
I have an app that might build some rather large data structures in RAM. Is there any way at all for my app to respond to orientation flips (either via keyboard flip or tilt-sensor rotation, I don't care which) without having to save and restore the state? It can take quite a while to save the

[android-developers] Re: Orientation flip without major state change?

2009-07-09 Thread Streets Of Boston
Take a look at these two: http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance() http://developer.android.com/reference/android/app/Activity.html#getLastNonConfigurationInstance() On Jul 9, 4:30 pm, Keith Wiley kbwi...@gmail.com wrote: I have an

  1   2   >