[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread Al Sutton
I'm pretty sure Google makes a small cut on app purchases via it's checkout fees which are included in the 30%. Beyond that unless you've got access to all the legal agreements you can't say for sure that the OHA or other organisations aren't contributing something to Googles development

[android-developers] How to provide image file as an sd card

2009-03-18 Thread Chetan
Hello , I am using camera to capture snapshots. But i am unable to view taken pictures location. I am also unable to browse sdcard directory using DDMS in eclipse. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Jetty Comet Library

2009-03-18 Thread Miguel Paraz
Hi, How are you guys doing with the Jetty+Comet? I'm getting the exception below, consistently. This is on a physical ADP1/1.1, on WiFi. This is using CONNECTOR_SOCKET mode. CONNECTOR_SELECT_CHANNEL mode does not work at all. Another problem is that this exception is in a thread and is not

[android-developers] Re: need help on --core-library

2009-03-18 Thread Marco Schmitz
hi stoyan, I am working for a company that needs an android client for their web application. because the server is coded nicely, the first try is going to be a serialized server object on android. but the server uses jdk 1.6 and therefor some classes that android doesnt support like java.bean.

[android-developers] Problem with detecting a shake movement

2009-03-18 Thread gganesh
I use OpenIntents SensorSimulator In code i wrote public float accelerometer_shake_threshold = 1.2f; static final int ACCELEROMETER_FLOAT_TO_INT = 1024; int mACCELEROMETER_SHAKE_THRESHOLD_SQUARE; public void onSensorChanged(int sensor, float[] values){

[android-developers] Re: Simple Cursor Adapter - List View

2009-03-18 Thread Marco Nelissen
You should create your own adapter (probably derived from SimpleCursorAdapter) that does this in its bindView method. On Tue, Mar 17, 2009 at 11:57 PM, Markiv vikramshe...@gmail.com wrote: I have table with 3 columns which is binded to an XML document with three text views. String[] from =

[android-developers] Re: need help on --core-library

2009-03-18 Thread Stoyan Damov
FreeTTS is a text-to-speech engine. It's only dependency is *again* java.beans.PropertyChangeListener. I've tried compiling with --core-library using Eclipse but no matter what I did I wasn't able to pass that parameter to the Android tools (can't remember which one required it). I managed to

[android-developers] Re: is there an andriod simulator?

2009-03-18 Thread Anonymous Anonymous
Check the tools folder in SDK On Wed, Mar 18, 2009 at 10:42 AM, Marco Nelissen marc...@android.comwrote: The emulator is included in the SDK. On Tue, Mar 17, 2009 at 3:09 PM, ytbryan ytbr...@gmail.com wrote: hi all, may i know is there an andriod simulator ? like how the iphone

[android-developers] How to get LayoutInflater from other apk?

2009-03-18 Thread quill
Hi, guys, I want to get an xml layout file(in other apk that has been installed in the emulator) to add to my screen, I use getPackageManager ().getResourcesForApplication(name).getLayout(id) to get the xml file, and then inflater to my screen, that is ok. But it can't resolve the string ids and

[android-developers] Re: Specifying Android project dependencies (in Eclipse)

2009-03-18 Thread Susan
Why nobody answer it? I meet the same question. Have you resolved it? Henrik Gustafsson wrote: Hi all! This was originally posted as a StackOverflow question ( http://stackoverflow.com/questions/549451 ), but following advice from #android I will also post the question here. I have

[android-developers] Re: Creating a JAR that contains references

2009-03-18 Thread Susan
Hi, Dianne. So we can't include an extern jar file that has its own resource file? Is there other way if I want to reference a custom view class which has its customized properties defined in xml and not in my project? Thanks stephen.lloyd.h...@googlemail.com wrote: I'm not after

[android-developers] Re: General Question to Google Team - Pin favourite threads

2009-03-18 Thread Tommaso
Yes, but therefore I need to send copies to my mail account. I want it to be separated. Ciao, Tommaso On 18 Mrz., 09:50, Anonymous Anonymous firewallbr...@googlemail.com wrote: I think You can use the feature Labels if you use gmail :) , i use the same .. On Wed, Mar 18, 2009 at 2:19

[android-developers] General Question to Google Team - Pin favourite threads

2009-03-18 Thread Tommaso
Hi Google-Team, I was wondering, why there is no functionality to pin threads a user is interested in. As there is such a high traffic on these groups, it takes time to find the threads I answered to or some I am interested to see how the problem is solved. Sometimes you don't remember the

[android-developers] Re: General Question to Google Team - Pin favourite threads

2009-03-18 Thread Anonymous Anonymous
I think You can use the feature Labels if you use gmail :) , i use the same .. On Wed, Mar 18, 2009 at 2:19 PM, Tommaso nuccio.tomm...@gmail.com wrote: Hi Google-Team, I was wondering, why there is no functionality to pin threads a user is interested in. As there is such a high traffic

[android-developers] Re: a way to make signal processing

2009-03-18 Thread maisonobe alexandre
ok, still , i know it is possible to record to a file from the microphone is it possible to read this file as raw data ? alex 2009/3/18 Marco Nelissen marc...@android.com On Tue, Mar 17, 2009 at 4:09 PM, Maisonobe.A (MaaKs) alexma...@gmail.com wrote: Hello, I'm looking for a way to work

[android-developers] Re: Disk Activity and Disk Usage

2009-03-18 Thread rezar
I found following as the output of diskstats: Field 1 -- # of reads issued Field 2 -- # of reads merged, Field 3 -- # of sectors read Field 4 -- # of milliseconds spent reading Field 5 -- # of writes completed field 6 -- # of writes merged Field 7 -- # of sectors written Field 8 -- # of

[android-developers] Can i convert AMR to MP3 OR WAV in my activity?

2009-03-18 Thread zeeshan
Hi Android Experts, i want to convert recorded AMR sound into mp3 or WAV within my activity, is there any method or package i can use? i am using this activity for recording: Intent intent = new Intent (MediaStore.Audio.Media.RECORD_SOUND_ACTION); startActivityForResult(intent, SELECT_AUDIO);

[android-developers] Disk Activity and Disk Usage

2009-03-18 Thread rezar
Can any body help me how to measure Disk Activity and Disk Usage on android ? Unfortunately iostat is not available in Android. I would like to monitor Data read and Data written for disk activity and Utilized and Free space for Disk Usage. I found diskstats but I don't know how to read it.

[android-developers] Re: Accessing the internet.

2009-03-18 Thread murphy
Thanks for the help guys. I'm still having problems reading from the internet and also displaying the retreived content on a text file. Do you think it's a code problem or a firewall problem or am i missing some bit of code in the manifest to access the internet? On Mar 11, 7:19 am, ku fu

[android-developers] Re: Accessing the internet.

2009-03-18 Thread murphy
Sorry, displaying in a TextView, not text file. On Mar 18, 10:05 am, murphy howt...@hotmail.com wrote: Thanks for the help guys. I'm still having problems reading from the internet and also displaying the retreived content on a text file. Do you think it's a code problem or a firewall

[android-developers] Set Screen Orientation of a Tab

2009-03-18 Thread Uri.Kanonov
Hello, I would a Tab (in a TabHost) to have a Landscape orientation while the activity with the TabHost is in Portrait orientation, is that possible (if so how)? I tried setting the orientation of the Activity displayed in the tab in the Manifest but it didn't work. Any help will be much

[android-developers] Re: Re-register AlarmManager events on upgrades

2009-03-18 Thread Michael Bollmann
Thanks that sounds good --~--~-~--~~~---~--~~ 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: Can i convert AMR to MP3 OR WAV in my activity?

2009-03-18 Thread Dave Sparks
No, there is no built-in package to convert from AMR to MP3 or WAVE. If you want to do this in the current SDK, you'll need to write your own code to do the conversion. On Mar 18, 2:44 am, zeeshan genx...@gmail.com wrote: Hi Android Experts, i want to convert recorded AMR sound into mp3 or

[android-developers] Re: Mp3 file read problem in Real device (G1)

2009-03-18 Thread Dave Sparks
Just in case there is any confusion, your APK is not going to contain the MP3 files that were loaded on the virtual SD card in the emulator. If you want to play MP3's on the device's SD card, you need to install them there, either by copying them from your workstation, downloading them from the

[android-developers] Re: Re-register AlarmManager events on upgrades

2009-03-18 Thread Stoyan Damov
On Wed, Mar 18, 2009 at 4:36 AM, Dianne Hackborn hack...@android.com wrote: Fwiw, cupcake will add a new field to PACKAGE_ADDED to tell you if this was due to an update, and allow this broadcast to be received by the app to restart itself. This cupcake thing very much reminds me of Duke

[android-developers] Problems with NotificationManager

2009-03-18 Thread mobilek...@googlemail.com
Hi, In my app I use several different notifications, which require different actions. By default the notification manager loads the main activity, when users select a notification. How can I change that so different notifications prompt different actions. I've been studying the related APIs,

[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread Al Sutton
Carl, I'm going to put the other side of the argument so we can look at this in a balanced way; Apparently 96% of submitted apps get accepted to the iPhone store, and Market also includes a we can pull it if we want to clause http://www.android.com/us/developer-distribution-agreement.html

[android-developers] Re: Location.getTime() does not return milliseconds

2009-03-18 Thread Yossi
thanks, I also don't want fixes more then every few seconds but to calculate the accurate speed/pace I would expect milliseconds accuracy. On Mar 18, 12:07 am, Dianne Hackborn hack...@android.com wrote: It just says the units are in milliseconds; it doesn't say anything about the accuracy.  I

[android-developers] Image manipulation

2009-03-18 Thread Pratik Goswami
Hello Friends, I want to convert my image to black and white. As well i want to apply different image manipulations operations like brightness, contrast etc.. Can anyone tell me how to achieve this functionality? Thanks in advance. Pratik Goswami

[android-developers] Black areas during alpha animation on transparent PNGs.. Help !

2009-03-18 Thread quakeboy
I am currently at the verge of releasing a game for android. While creating menu view animations, for which I use ImageViews in AbsoluteLayout and while changing screen, I have used a custom Alpha animation (I tried built in fadeout also) When I startAnimation on the ImageView, Instead of

[android-developers] Re: CheckBox test= (CheckBox) findViewById(R.id.test); returns null

2009-03-18 Thread zeeshan
Thanks, this solved it On Mar 17, 11:24 pm, Glen Humphrey glendon.humphr...@gmail.com wrote: I believe your xml should look like this with android:id instead of just id. CheckBox android:id=@+id/checkbox android:layout_width=wrap_content android:layout_height=wrap_content / On Mar 17,

[android-developers] Re: MockContext and any other Mock entities they are for what?

2009-03-18 Thread Dirk Jäckel
Please! Me too! Can I use them to run some of my unit-tests in the JVM instead of the emulator? That would be great. If not. Is there a way to run at least some tests in a JVM? Regards, Dirk On Mon, Jan 12, 2009 at 9:59 PM, hmmm akul...@mail.ru wrote: Hi, MockContext and any other Mock

[android-developers] Re: Image manipulation

2009-03-18 Thread Pratik Goswami
Hi mark, Not a single one, if third-party JARs are available then also it wont be compatible with SDK 1.0 i think. Have you any idea?? Is there any class in android which can be used for this? Thanks Pratik Goswami. On Mar 18, 4:55 pm, Mark Murphy mmur...@commonsware.com wrote: I want to

[android-developers] Re: Image manipulation

2009-03-18 Thread Mark Murphy
Not a single one OK. if third-party JARs are available then also it wont be compatible with SDK 1.0 i think. I would not make that assumption. Is there any class in android which can be used for this? There are many graphics operations found in the android.graphics package, but I have no

[android-developers] Count Down Timer in list view

2009-03-18 Thread AnuR
Hi, I want to add a count down timer in a list view. the time duration is got from an xml in the format (PnYnMnDTnHnMnS). I used joda-time.jar for parsing the time from Period. I used long totaltimeinmilliseconds = (H*24*60+M*60+S)*1000; new CountDownTimer(totaltimeinmilliseconds, 1000) {

[android-developers] roadmap

2009-03-18 Thread daniel.benedykt
Hi Is the roadmap at http://source.android.com/roadmap updated constantly or now is kind of old? Is there any place to see the future releases? Thanks Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] How to implement buddy list screen

2009-03-18 Thread Explore Android
Hi All, I am working on implementing an Instant Messenger application in Android. I want to display buddy list screen as follows, Friends(this is group name) status_icon friend1_name status_icon friend2_name . . General (this is group name) status_icon general1_name

[android-developers] Re: Location.getTime() does not return milliseconds

2009-03-18 Thread Neil
If you want the speed call getSpeed(). On Mar 18, 12:21 pm, Yossi yossi@gmail.com wrote: thanks, I also don't want fixes more then every few seconds but to calculate the accurate speed/pace I would expect milliseconds accuracy. On Mar 18, 12:07 am, Dianne Hackborn hack...@android.com

[android-developers] Re: Location.getTime() does not return milliseconds

2009-03-18 Thread Yossi
I'm calculating the average speed of several points so I need to have the accurate total distance and time. On Mar 18, 2:32 pm, Neil neilb...@gmail.com wrote: If you want the speed call getSpeed(). On Mar 18, 12:21 pm, Yossi yossi@gmail.com wrote: thanks, I also don't want fixes more

[android-developers] how to access mobile web app on local network

2009-03-18 Thread legerb
I expireince the same problem. Is it possible to configure the emulator to access local network addresses? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: General Question to Google Team - Pin favourite threads

2009-03-18 Thread Rajesh S
As long as you have posted or replied, it is easy to track.. 1) try to see your 'profile' link on the top/right of most pages or 2) just use the 'More options' next to any of your messages and select 'Find messages by this author' Cheers, Rajesh.S On Mar 18, 9:15 am, Tommaso

[android-developers] Re: General Question to Google Team - Pin favourite threads

2009-03-18 Thread Jean-Baptiste Queru
If you're using the web UI for groups, how about bookmarking the threads you're interested in? JBQ On Wed, Mar 18, 2009 at 1:49 AM, Tommaso nuccio.tomm...@gmail.com wrote: Hi Google-Team, I was wondering, why there is no functionality to pin threads a user is interested in. As there is

[android-developers] Re: General Question to Google Team - Pin favourite threads

2009-03-18 Thread Jean-Baptiste Queru
And, of course, you can star a conversation and see it in the web UI under Favorites. JBQ On Wed, Mar 18, 2009 at 5:48 AM, Jean-Baptiste Queru j...@android.com wrote: If you're using the web UI for groups, how about bookmarking the threads you're interested in? JBQ On Wed, Mar 18, 2009 at

[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread Jean-Baptiste Queru
You should really move this thread to android-discuss, so that people who are actually trying to achieve something here don't see their discussions lost in the noise. Thanks, JBQ On Tue, Mar 17, 2009 at 7:18 PM, Schiffres schifty...@gmail.com wrote: This is a message to all other Android

[android-developers] Permission of SystemClock.setCurrentTimeMillis()

2009-03-18 Thread elvisw
Hi everyone, The document says: SystemClock.setCurrentTimeMillis() Sets the current wall time, in milliseconds. Requires the calling process to have appropriate permissions. --- What is the appropriate permission I should declare in uses- permission??? Thanks your help... Elvis.

[android-developers] Re: Permission of SystemClock.setCurrentTimeMillis()

2009-03-18 Thread Stoyan Damov
uses-permission android:name=android.permission.APPROPRIATE / mwuahah ;) On Wed, Mar 18, 2009 at 3:12 PM, elvisw elvise...@gmail.com wrote: Hi everyone, The document says: SystemClock.setCurrentTimeMillis() Sets the current wall time, in milliseconds. Requires the calling process to have

[android-developers] IWindowManager Not Available

2009-03-18 Thread Rajendrakumar C
Hi All, I downloaded the Android Source to my machine, I have seen the source code. In that I found Iwindowmanager, I activity manager and etc I managers... But when I try to use those things in my application. Those classes and even the packages also not avaiable. Can any one know how to

[android-developers] Creating Android.Jar File

2009-03-18 Thread Rajendrakumar C
Hi all, I downloaded the android source code.. Can any one tell me how to make our own jar file with all our available java classes in the Android source code If any one know please help me how to do this... --~--~-~--~~~---~--~~ You received this message

[android-developers] When the system launches a ResolverActivity or ChooserActivity it doesn't present...

2009-03-18 Thread Hans
...services which are registered for a particular intent does it? What I mean, and I'll test this later when I get a chance, is that if I create a service that registers for ACTION_SEND, and a user, in the photo viewer, clicks 'Share' and the system launches a chooser activity for ACTION_SEND,

[android-developers] Re: General Question to Google Team - Pin favourite threads

2009-03-18 Thread Tommaso
Yes, but only when I am part of the thread otherwise it doesn't work. @Jean-Baptiste Yeah, I also thought about that, but on another PC... Thanks for the ideas. Ciao, Tommaso On Mar 18, 1:47 pm, Rajesh S rajeshs...@gmail.com wrote: As long as you have posted or replied, it is easy to

[android-developers] Re: Location.getTime() does not return milliseconds

2009-03-18 Thread JonkNYC
Plus, getSpeed() often returns 0, even when it shouldn't. -Jon On Mar 18, 8:37 am, Yossi yossi@gmail.com wrote: I'm calculating the average speed of several points so I need to have the accurate total distance and time. On Mar 18, 2:32 pm, Neil neilb...@gmail.com wrote: If you want

[android-developers] Re: Problem with setTheme() method

2009-03-18 Thread Marcus
I have the same problem! Would be nice to get a solution... --~--~-~--~~~---~--~~ 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] Application dataflow query - BroadcastReceiver / ContentProvider / Activity

2009-03-18 Thread Ray Bellis
I've developed an application that receives a Broadcast and then launches an Activity, where that Activity queries a ContentProvider which pulls information out of the DNS in real-time. I'd like to be able to shuffle this so that instead of going: BroadcastReceiver - Activity -

[android-developers] Re: Location.getTime() does not return milliseconds

2009-03-18 Thread patg
Most GPS receivers output a position that is valid at the second boundry. On Mar 17, 2:54 pm, Yossi yossi@gmail.com wrote: Hi, According to the decumentation, android.location.Location.getTime() returns the fix time in milliseconds. however I keep getting the time rounded to seconds

[android-developers] Re: Can i convert AMR to MP3 OR WAV in my activity?

2009-03-18 Thread zeeshan
Thanks for reply Dave, can anyone tell me how can i do this, i assume to install any converter application and use it in my code to convert and return the mp3 uri please help me - On Mar 18, 10:31 am, Dave Sparks davidspa...@android.com wrote: No, there is no built-in package to convert from

[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread patg
Google needs to realize that smart phones are the next wave of personal computers and start treating Android phones as a computer with a phone attached rather than a phone with fairly impressive compute power. The outcome of this line of thought is understanding that google does not know what

[android-developers] Is /cache supposed to be accessible?

2009-03-18 Thread BoD
Hi! My app is downloading a file that does not need to be kept. So I was trying to put it in the directory returned by Environment.getDownloadCacheDirectory() (that returns /cache). But apparently it is not accessible, (a FileNotFoundException is thrown). Is this normal? Thanks!

[android-developers] Re: Is /cache supposed to be accessible?

2009-03-18 Thread BoD
Well ok then :) Actually I was also wondering if there was an API somewhere that I didn't see in the framework to ask for a file download or is the normal way to do that is to do it manually (using HttpClient or URL.openConnection and all that jazz). Thanks a lot! BoD On Mar 18, 3:50 pm,

[android-developers] Re: Is /cache supposed to be accessible?

2009-03-18 Thread Jean-Baptiste Queru
Right now the download manager (which happens to own /cache) is not exposed to applications, so you have to do your downloads manually. JBQ On Wed, Mar 18, 2009 at 7:58 AM, BoD bodl...@gmail.com wrote: Well ok then :) Actually I was also wondering if there was an API somewhere that I

[android-developers] Why can not edit /init.rc on adp1 with firmware 1.1?

2009-03-18 Thread cpedia
I flashed my adp1 to firmware 1.1 following the instruction from HTC. http://www.htc.com/www/support/android/adp.html But after that, I want to modify the /init.rc, after I remount the rootfs as writable, I can edit or replace the /init.rc file. But the file will roll back the original version

[android-developers] HTML strike tag with HTML.fromHtml

2009-03-18 Thread Mark Hansen
I'm using HTML.fromHtml to convert some text with HTML for a TextView. I can't seem to get the strike tag to render though, is there a way to get this to render with this method? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Do ProximityAlerts actually work?

2009-03-18 Thread Faber Fedor
Sorry about that. My browser was acting weird. Anyway... I'm coming to the conclusion that ProximityAlerts (PAs) don't actually work at least in v 1.0. Here is why I think PAs don't work (reliably): 1. my code sends ProximityAlerts which show up in the log 2. when my code does a

[android-developers] Re: Could I release a new version of an app under a new name and port existing users for free?

2009-03-18 Thread Sena Gbeckor-Kove
Dude, that sucks so hard! The same thing happend to me 4 weeks ago, luckily I had backups though. Good luck. S On 18 Mar 2009, at 16:41, admin.androidsl...@googlemail.com wrote: I ask this because my laptop was stolen along with my signing keys! I know I should have backed up - but

[android-developers] Re: Simple Cursor Adapter - List View

2009-03-18 Thread Glen Humphrey
Here is an example of the the simplest way I have found to do this type of thing. public class IconCursorAdapter extends SimpleCursorAdapter { IconCursorAdapter(Context context, int layout, Cursor cursor,String[] from, int[] to) { super(context, layout, cursor, from, to);

[android-developers] Re: Re-register AlarmManager events on upgrades

2009-03-18 Thread Marco Nelissen
On Wed, Mar 18, 2009 at 3:47 AM, Stoyan Damov stoyan.da...@gmail.com wrote: On Wed, Mar 18, 2009 at 4:36 AM, Dianne Hackborn hack...@android.com wrote: Fwiw, cupcake will add a new field to PACKAGE_ADDED to tell you if this was due to an update, and allow this broadcast to be received by the

[android-developers] Re: Problems with NotificationManager

2009-03-18 Thread Marco Nelissen
Just use a different Intent for each of your notifications. On Wed, Mar 18, 2009 at 4:03 AM, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, In my app I use several different notifications, which require different actions. By default the notification manager loads the main

[android-developers] Re: Why can not edit /init.rc on adp1 with firmware 1.1?

2009-03-18 Thread Rajesh S
Cpedia, It probably is part of the ramdisk and so what you are editing is just the content in RAM. On a fresh boot the ramdisk recreates the good old root file system. You'll have to change it in ramdisk.img .. since you have come this far, it won't be tough to google and find methods of creating

[android-developers] Re: Black areas during alpha animation on transparent PNGs.. Help !

2009-03-18 Thread Michael MacDonald
I think the system might be assuming the ImageView is opaque and so not drawing what's behind it. Try using a custom Drawable in the image view and return the correct value from getOpacity() quakeboy wrote: I am currently at the verge of releasing a game for android. While creating menu view

[android-developers] Re: Catching clicks on xml files in the browser

2009-03-18 Thread Rohit
I guess adding an intent filter just allows my activity to start up if someone starts a new intent with that data scheme and mimetype. I guess it isn't meant for catching clicks in the browser. I guess the code in the browser app needs to be changed to be able to start off a new intent when a

[android-developers] How to move file from sdcard to private location

2009-03-18 Thread yves...@gmail.com
I want to move some files from sdcard to /data/data/myapp/files folder, I can use OpenInputFile and OpenOutputFile and write to it, then delete the original one. But it is slow, so, I tried to use oldFile.Rename(newFile), but it always return false. Any idea? The reason I am doing this is to hide

[android-developers] How to config G1 to make both browser and MMS work?

2009-03-18 Thread FayGU
I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For browser, I use following APN config: --- name:cmnet apn: cmnet proxy:blank

[android-developers] Automatic site login

2009-03-18 Thread David
Hi i have user credential, with that can i automatically login to a site like orkut, facebook etc using webview when user clicks a button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Accessing contact' email addresses

2009-03-18 Thread Umair
Posted: Tue Mar 17, 2009 11:47 amPost subject: Accessing contact' email addresses Hi! I'm developing an application in which I need to display user a list of contacts and their email addresses so that user can choose one of them. I've got some help from Internet and I'm able to display a

[android-developers] Re: How to provide image file as an sd card

2009-03-18 Thread David
In Run Configuration, target set the Additional emulator command line options type this parameter -sdcard exactpath of image file in your PC so this image will be added as SDcard for your emulator. -David On Mar 18, 11:08 am, Chetan hackpal...@gmail.com wrote: Hello , I am using camera to

[android-developers] how to use WebView.setHttpAuthUsernamePassword() ?

2009-03-18 Thread BrianH
I am trying to use WebView.setHttpAuthUsernamePassword() to handle basic HTTP authentication on displaying a web page. I wouldn't think it's anything complicated but I cannot find any documentation on how to use it, an example, etc. I've tried what I would guess is the usage: webview =

[android-developers] Android email client hyperlinks and uri schemes

2009-03-18 Thread eclecticpockets
Hi, What url schemes does the Android email client recognise and highlight (e.g. make clickable) and are they extensible? e.g. can ayou register new schemes with it - i.e. a proprietary scheme like myshceme:// so that we can send a link to launch our app with data in an email) ? ATB Steve

[android-developers] Re: Fails to connect to AP(which didn't support DHCP Service)

2009-03-18 Thread Mark Anacker
The 169.254.x.x IP is a Windows convention - and usually causes more trouble than it's worth. It doesn't appear that this version of the system (or the configuration UI at least) supports a static IP address for the WiFi interface. The underlying Linux does, of course. But without the proper

[android-developers] system notification while app is running

2009-03-18 Thread Robert
Hello, After I install an apk and run it immediately, it seems the system notification (app installed) is pushed only when I exit the app. Any possible way to detect this whilst app is running? Thanks Robert --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread Bradley S. O'Hearne
Pat, I don't wish to get into a religious debate here, but for the purposes of constructive, concrete criticism/suggestion, I'd like to mention something here. I have / use / develop on both the iPhone and Google Android. It is very interesting to set both devices side by side, and

[android-developers] Android developer Needed urgently

2009-03-18 Thread Tulsana Android
Hi, Please reply me with Maching profile on shv...@tulsana.com; Please do not send resume without Android experiance. I am looking for “ Android developer”. Job Description: Title: Android Developer Location: Houston, San Jose, Rate : Market Job summary: The ideal candidate will design, code,

[android-developers] Spinner Selector Help

2009-03-18 Thread VikinG
Hello i'm trying to change the design of the selector on a spinner as the big circular button looks very ugly. I've been trying to follow this guide http://www.gersic.com/blog.php?id=57. However, i'm having problems using the following two xml attributes as they are unknown and i'm getting the

[android-developers] How to Show One tab at a time on the screen.

2009-03-18 Thread prassu
Hi i developed five tabs and i want to display only one tab on the screen at a time. when i press emulator keys the controle change from one tab to another tab. Tell me how to write the code (not in XML) for the above Question. --~--~-~--~~~---~--~~ You received

[android-developers] Problems with ksoap2 and BasicAuth

2009-03-18 Thread sumdroid
hi, at the moment i have the following problem. I try to establish a connect to a SOAP-service. Therefore i need basicauth via http. I use ksoap2 and HttpTransportBasicAuth. The problem is, I do not know how i can start a call when i use HttpTransportBasicAuth becouse the function call is not

[android-developers] SOAP with ksoap2: BasicAuth-Problems

2009-03-18 Thread sumdroid
hi, i try to establish a connection to a SOAP-Service. Therefore i use ksoap2. I need Authentification so i tryed the class HttpTransportBasicAuth. The Problem is, that i do not know how i should use this class the make a call. The class HttpTransportBasicAuth do not know the function call.

[android-developers] Re: Problems with ksoap2 and BasicAuth

2009-03-18 Thread sumdroid
Sorry for the double post. please ignore this post ;) On 18 Mrz., 18:24, sumdroid f.fingerh...@googlemail.com wrote: hi, at the moment i have the following problem. I try to establish a connect to a SOAP-service. Therefore i need basicauth via http. I use ksoap2 and HttpTransportBasicAuth.

[android-developers] @drawable/logo is not showing the icon in Emulator

2009-03-18 Thread androidSpb
Hi I am not able to show the icon at the startup time in my emulator This is the code what i have in manifest.xml application android:icon=@drawable/logo and I have logo.png in drawble folder. But still i am not getting that icon it is diaplying simply blank block image. Can any one help me

[android-developers] Re: Problems with NotificationManager

2009-03-18 Thread mobilekid
I can't believe I've made this mistake, Cheers. On Mar 18, 4:58 pm, Marco Nelissen marc...@android.com wrote: Just use a different Intent for each of your notifications. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How to move file from sdcard to private location

2009-03-18 Thread Michael MacDonald
Rename won't work because they are on different file system. You'll have to physically copy from one to the other. yves...@gmail.com wrote: I want to move some files from sdcard to /data/data/myapp/files folder, I can use OpenInputFile and OpenOutputFile and write to it, then delete the

[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread Paper Coder
An excellent comparison of interfaces. Although the iPhone doesn't sem to have the capabilities the Android OS has, the Android interface is, as already mentioned in other posts, lacking. It would be nice to see a set of standards that all apps should attempt to adhere to. So far I only see

[android-developers] how to take small picture

2009-03-18 Thread cindy
Hi, Is there anyway to reduce the resolution of picture taken using camera? It takes long time to upload the image to server. Does anyone use any compression software for image ? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: how to take small picture

2009-03-18 Thread Streets Of Boston
Take a look at the Bitmap and BitmapFactory classes in the Android SDK On Mar 18, 1:52 pm, cindy ypu01...@yahoo.com wrote: Hi, Is there anyway to reduce the resolution of picture taken using camera? It takes long time to upload the image to server. Does anyone use any compression software

[android-developers] Re: How to move file from sdcard to private location

2009-03-18 Thread Yves Liu
Michael, thanks for the explanation. When you mean copy, does that mean I have to read from one file and write to another one? Or Java provide a way to do the copy? Also, is there a way to mark a file in the sdcard to be private so no other app can see it? That way, I won't need to copy the file

[android-developers] MediaPlayer and onRetainNonConfigurationInstance()

2009-03-18 Thread Andres Calvete
I know this question has been asked previously because I have read the other postings over a hundred times but yet I cannot come up with an answer on how to use keep a MediaPlayer object playing over an orientation change. I've read that you can use onRetainNonConfigurationInstance() to pass an

[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread Schiffres
Hey Guys, First, I want to apologize for the lack of coherence, or paragraphs (sorry Al), I've had a pretty minimal amount of sleep this week :P. To Carl, I fully acknowledge the iPhone shortcomings and the grant potential for Android, it's why I'm, perhaps blindly, an uber Android supporter.

[android-developers] Re: MediaPlayer and onRetainNonConfigurationInstance()

2009-03-18 Thread Marco Nelissen
You will have to handle the orientation change yourself, since otherwise the surface that the video is displayed on goes away. On Wed, Mar 18, 2009 at 11:30 AM, Andres Calvete andres.calv...@gmail.com wrote: I know this question has been asked previously because I have read the other

[android-developers] How to detect Fling action in my widget

2009-03-18 Thread Meryl Silverburgh
Hi, Can you please tell me how can I detect Fling action in my own widget? I have implemented my widget as OnGestureListener. And like in Gallery, I have a GestureDetector mGestureDetector = new GestureDetector(this); For my onTouchEvent(), I have @Override public boolean

[android-developers] Re: Do ProximityAlerts actually work?

2009-03-18 Thread Faber Fedor
I think I may be onto something...I can get PAs to work in the field if I send one *and only one* PA to the LocationManager. I'm now thinking that the last PA is the only one active. If that's true, then I'll have to write my own routine to figure out which landmark is closest to me which kind

[android-developers] Re: How to detect Fling action in my widget

2009-03-18 Thread Streets Of Boston
Make sure you return the correct boolean-values in the other methods of your OnGestureDetector (onDown, onScroll, etc). On Mar 18, 2:51 pm, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, Can you please tell me how can I detect Fling action in my own widget? I have implemented my

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-03-18 Thread David Turner
when you want to use different APNs for both data and MMS, you need to set the apn type field for the system to make a difference between them and use them both. use apn type=default for the data APN. and apn type=mms for the MMS one. Hope this helps On Wed, Mar 18, 2009 at 12:38 AM, FayGU

[android-developers] Re: Putting Android on Par with the iPhone Software

2009-03-18 Thread Dianne Hackborn
Move this to android-discuss. Please. On Wed, Mar 18, 2009 at 11:37 AM, Schiffres schifty...@gmail.com wrote: Hey Guys, First, I want to apologize for the lack of coherence, or paragraphs (sorry Al), I've had a pretty minimal amount of sleep this week :P. To Carl, I fully acknowledge the

  1   2   >