[android-developers] HAPPY NEW YEAR

2009-01-03 Thread Naina K
HELLO ALL, WISH U ALL A VERY HAPPY PROSPEROUS NEW YEAR. THANKS, NAINA --~--~-~--~~~---~--~~ 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: Memory leak in BitmapFactory/Gallery?

2009-01-03 Thread EboMike
I take that back... I looked a lot more into the issue, and it seems that the leak only occurs when a debugger is attached. Here is something to try when you're plagued by OOMs -- run your app directly through the emulator without a debugger attached. Is the memory situation any better? I

[android-developers] Re: Could Chinese developper register Android market?

2009-01-03 Thread Al Sutton
Dan, The article says the remaining amount goes to carriers and billing settlement fees, what about taxes? In the UK we have V.A.T. which is currently chargeable at 15% on services supplied via the Internet. If this is included in the 30% Google deduct then this is great, if this is added

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-03 Thread blindfold
How does the HTTP proxy approach perform as compared to saving to flash and then playing from there? Is there any sample code for trying this proxy server workaround for playing audio? Thanks On Jan 2, 6:32 pm, Dave Sparks davidspa...@android.com wrote: I haven't looked at imeem, but one way

[android-developers] Which component for image/* mimetype

2009-01-03 Thread AlexG
Hi I use this code to view/play different files: Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); File file = new File(my file); intent.setDataAndType(Uri.fromFile(file), mimetype); startActivity(intent); Using mp3 and audio/* mimetype it works OK for jpg and

[android-developers] Authentication and retrieving problem with Calendar API

2009-01-03 Thread shleeforandroid
hi. I have some problems with android apps using Calendar API. I want to authenticate to google Data API (Calendar API) and retrieve my calendars and calendar's events. I have downloaded the gdata(gdata-src.java-1.28.0.java.zip ) from http://code.google.com/p/gdata-java-client/downloads/list

[android-developers] Authentication and retrieving problem with Calendar API

2009-01-03 Thread shleeforandroid
hi. I have some problems with android apps using Calendar API. I want to authenticate to google Data API (Calendar API) and retrieve my calendars and calendar's events. I have downloaded the gdata(gdata-src.java-1.28.0.java.zip ) from

[android-developers] Re: Change active AlarmManager event

2009-01-03 Thread ena
if anyone has the solution then please let me know.. On Nov 6 2008, 2:51 pm, hve.dk henrik.v.eriks...@gmail.com wrote: Can you provide me with a small code sample on how to unschedule the old alarm and schedule a new one inside the onReceive event? - TIA. On 6 Nov., 08:52, hackbod

[android-developers] Re: Change active AlarmManager event

2009-01-03 Thread Dianne Hackborn
ApiDemos shows how to schedule and unschedule alarms. You can do it anywhere. On Sat, Jan 3, 2009 at 12:48 AM, ena enu1...@gmail.com wrote: if anyone has the solution then please let me know.. On Nov 6 2008, 2:51 pm, hve.dk henrik.v.eriks...@gmail.com wrote: Can you provide me with a

[android-developers] Re: Receive notification for onDestroy, onStop, and onPause etc in other applications?

2009-01-03 Thread Dianne Hackborn
Please don't write an app that depends on parsing stuff out of the logs. This is not a defined part of the SDK, and your app will surely break in the future. On Fri, Jan 2, 2009 at 2:20 PM, focuser linto...@gmail.com wrote: Thanks Alistair and Dianne, Now I understand that a notification is

[android-developers] Re: suggestion. replace onActivityResult(), Request Code and Result Codes with flexible callbacks

2009-01-03 Thread Dianne Hackborn
This is not a problem. The calling activity supplies the request code, and the called activity supplies the result code. This is why they are two distinct values, so there can be no overlap or ambiguity in the assigned values. On Sun, Dec 28, 2008 at 9:40 PM, brnzn brendon.mathe...@gmail.com

[android-developers] Re: Pass state from Activity to Service

2009-01-03 Thread mobilek...@googlemail.com
Thanks, my code works fine now! It was a typo... On Jan 2, 1:47 pm, Brad Gies rbg...@gmail.com wrote: You haven't really given enough information for a definitive answer. Are you calling the following somewhere? public void startService(){ super.onStart(); But, I would also put an if (b

[android-developers] Re: How to start the standard MusicBrowserActivity?

2009-01-03 Thread AlexG
Ok I found out how to do so: Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); File file = new File(your mp3); intent.setDataAndType(Uri.fromFile(file), audio/*);

[android-developers] Re: How to write code to uninstall apk from device/emulator?

2009-01-03 Thread Dr. Tingrong Lu
This answer makes me sad, my boss ordered me to do that. - Original Message - From: Shane Isbell To: android-developers@googlegroups.com Sent: Saturday, January 03, 2009 3:36 PM Subject: [android-developers] Re: How to write code to uninstall apk from device/emulator?

[android-developers] Re: Could Chinese developper register Android market?

2009-01-03 Thread Evgeny V
Would be better if some Android market/Google official person will respond at least one time. Thanks On Sat, Jan 3, 2009 at 10:34 AM, Al Sutton a...@funkyandroid.com wrote: Dan, The article says the remaining amount goes to carriers and billing settlement fees, what about taxes? In the UK

[android-developers] Re: How To Start a RTSP connection

2009-01-03 Thread Paranoia
exactly,opencore dose not support mp3 rtp playback, whatever it's rfc3119 or rfc2250. On Dec 20 2008, 3:37 am, kamil kamit...@gmail.com wrote: Hi, I've encountered the very same error as described above. I'm using VLC as MP3/RTSP streaming server, and this looks exactly like Android didn't

[android-developers] Re: How To Start a RTSP connection

2009-01-03 Thread Ravi Yenduri
http://code.google.com/p/android/issues/detail?id=1513 On Jan 3, 6:33 pm, Paranoia zheny...@gmail.com wrote: exactly,opencore dose not support mp3 rtp playback, whatever it's rfc3119 or rfc2250. On Dec 20 2008, 3:37 am, kamil kamit...@gmail.com wrote: Hi, I've encountered the very same

[android-developers] Re: How to write code to uninstall apk from device/emulator?

2009-01-03 Thread freepine
Dr. Lu, Don't be sad, I believe there must be a way:) PackageManager.installPackage is still there in cupcake branch. Maybe it's just not exposed in public sdk. On Sat, Jan 3, 2009 at 6:30 PM, Dr. Tingrong Lu lutingr...@hotmail.comwrote: This answer makes me sad, my boss ordered me to do

[android-developers] Problem with list.setOnItemSelectedListener (new OnItemSelectedListener() {});

2009-01-03 Thread jphdsn
Hi, somebody knows why when nothing is selected on the list LIST the variable TextView ADNAME doesn't set the text toto in the code above? But the first String in position 0 of the String[]name? Why this code works only when a row of the list is selected? LIST.setOnItemSelectedListener (new

[android-developers] Re: How To Start a RTSP connection

2009-01-03 Thread Paranoia
thanks. you mean pv will not support mp3 rtp in opencore. right? or it is some value-add feature? i heard that it's not opencore in G1, but core. On Jan 3, 9:45 pm, Ravi Yenduri yend...@pv.com wrote: http://code.google.com/p/android/issues/detail?id=1513 On Jan 3, 6:33 pm, Paranoia

[android-developers] Re: Receive notification for onDestroy, onStop, and onPause etc in other applications?

2009-01-03 Thread focuser
oh thanks Dianne, Does that mean there's no defined ways so far to determine whether an app is killed or not? On Jan 3, 1:31 am, Dianne Hackborn hack...@android.com wrote: Please don't write an app that depends on parsing stuff out of the logs. This is not a defined part of the SDK, and your

[android-developers] Re: http proxy

2009-01-03 Thread DanG
Hi Krishna - Are you trying to set the proxy for the device as a whole, or just for a specific app? If you're trying to use a proxy from within an application you're working on, I'd recommend looking at the API for URL.openConnection(Proxy p); one of the variants of this call takes a proxy as

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-03 Thread Dave Sparks
I haven't tried it myself and don't have any sample code. The proxy approach has one advantage over simple file playback: It can start playing as soon as there is a reasonable amount of content downloaded - assuming the content is formatted properly for streaming. For local file playback, I

[android-developers] Re: When will the Media classes be able to connect to telephone 'conversation' audio channels ?

2009-01-03 Thread Dave Sparks
It may be a compelling feature, but it's outside the control of the apps processor. It is up to the hardware manufacturer to implement this, not Android. My understanding is that there are strict latency requirements on GSM audio that makes it difficult to loop call audio through the apps

[android-developers] Re: Customizing ListAdapter

2009-01-03 Thread Romain Guy
This class was renamed a long time ago, it is now called LayoutInflater and it works exactly the same way. On Fri, Jan 2, 2009 at 11:21 PM, Sarath Kamisetty sarath.kamise...@gmail.com wrote: Hi, The examples in the blog are using ViewInflate class, however I can't find this class in the SDK

[android-developers] Re: When does one use a SurfaceView vs a View?

2009-01-03 Thread Karl Rosaen
If you are implementing a game or any other application that has complex animations, a SurfaceView will eek out more frames per second. That is, your class that extends View and implements the custom drawing could extend SurfaceView instead of View to have minimum overhead aside from the

[android-developers] Re: http proxy

2009-01-03 Thread kpowerinfinity
Hi Dan, I do want to use a proxy in a _real_ device, for the existing firewall and all the other built in apps. It sounds really stupid if there is no way to set a proxy even though there is a way to access it programmatically. I have to travel to a university quite frequently on work, and their

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-03 Thread blindfold
Thank you David. I was considering whether I should pursue this approach as an ad interim solution, but lacking experience in this sort of http server programming it could take a lot of time and effort to figure things out and make it robust, so in principle I'd rather wait for the more general

[android-developers] Re: changing string resources

2009-01-03 Thread EvgenyV
Just make sure I'm not missing something... I have some code: public class MyLangTest extends Activity { @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); String fromResources = getResources().getString(r.string.f_name); //Displayed First Name Locale newLocale = new

[android-developers] Re: WebView Behavior on Android

2009-01-03 Thread Fred Grott(shareme)
Interesting ... 1. Yes one thread as that is why your addjavascripr interface has to be on a different thread to allow UI changes 2. not sure about this oine yet When I have mor e info it wil be posted to PlanetAndroid.com and blog and youtube channel as I videocast my demos.. Mine, Xspot is

[android-developers] Re: Should be able to launch an Activity from the browser (not a WebView)

2009-01-03 Thread Fred Grott(shareme)
There is not an obvious way..iPhone has the same problem. In the PhoneGap js lib project tackled it by doing a native class to enable the 'intent' and use the javascript bridge to access it and call it.. The other project more specific to Android is the OpneIntents project at googlecode..

[android-developers] Re: WebView and JavaScript functionality

2009-01-03 Thread Fred Grott(shareme)
See the PhoneGap examples and the webview demo android -apps at googlecode.. On Jan 1, 10:38 pm, Tez earlencefe...@gmail.com wrote: Hi, Thanks for that advice. Also, I heard that AJAX calls are not supported from within the WebView. So it would be logical to implement a native layer that

[android-developers] Re: GridView

2009-01-03 Thread Erik Calissendorff
I'm interested in this question aswell, and how you can set the height of each row for that matter, would be nice not to have to reimplement the whole GridView. Regards, //Erik On Dec 9 2008, 10:42 am, Andriy Zakharchuk andriy.zakharc...@gmail.com wrote: Hello Xavier, what I'm trying to do

[android-developers] Re: How to use WSDL web service in Android

2009-01-03 Thread Cattivik
It is possible to insert a timeout in AndroidHttpTransport that thrown an Exception when the url is down or not respond? Please give me some example of code thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to track menu navigation focus changes?

2009-01-03 Thread blindfold
I've submitted it now as issue 1705: http://code.google.com/p/android/issues/detail?id=1705 In my own app I now use a ListView to replace Menu altogether, and that finally works. Regards On Dec 30 2008, 3:12 am, Enginerd enginer...@gmail.com wrote: I'm having a similar issue.  I guess you

[android-developers] Re: How to use built in email application to send email from my application?

2009-01-03 Thread Abraham Lincoln
This doesn't seem to work for regular text file. I have tried giving mime types of */*, text/plain etc. Anyone knows how to attach text files using Gmail? Doesn't even work from Gmail app. On Dec 12 2008, 12:08 pm, Peli peli0...@googlemail.com wrote: I'd love to see that one extra line in

[android-developers] Re: How to use built in email application to send email from my application?

2009-01-03 Thread Noam Wolf
Is there a way to actually send the email without having the user choose an email client and hitting send? (without using a network connection and having a server do it on the back end) On Jan 3, 7:11 pm, Abraham Lincoln mehtabhave...@gmail.com wrote: This doesn't seem to work for regular text

[android-developers] Re: How to use WSDL web service in Android

2009-01-03 Thread Margaret
I thought that would be implement by ourself. mawei...@gmail.com 13585201588 2009/1/4 Cattivik alberto.bott...@gmail.com: It is possible to insert a timeout in AndroidHttpTransport that thrown an Exception when the url is down or not respond? Please give me some example of code thanks

[android-developers] Store last selected items in Spinner across different app-launching

2009-01-03 Thread Developer
Hi, I want to save the selected item somehow, so that the selected item is shown as the selected spinner item next time the same activity is launched. How can I achieve that? Thanks, public class MyActivity extends Activity { private Spinner mSpinner; ... public void onCreate(Bundle

[android-developers] Stumped on launching Market app

2009-01-03 Thread Keith Wiley
I just can't find a simple bit of sample code online that shows how to do this so I'm trying to piece it together as best as I can. Any help is appreciated. I am following the suggestions on the doc page page about publishing w.r.t. notifying users of version updates. I already have a simple

[android-developers] Re: Store last selected items in Spinner across different app-launching

2009-01-03 Thread Emmanuel
I would use SharedPreferences for this : http://code.google.com/android/devel/data/preferences.html Emmanuel http://androidblogger.blogspot.com/ On Jan 4, 2:14 am, Developer shuo.yang.2...@gmail.com wrote: Hi, I want to save the selected item somehow, so that the selected item is shown as

[android-developers] where is the control console 's source code?

2009-01-03 Thread barqw
when I telnet localhost 5554 ,I can input some cmds, such as gsm ,sms etc. I want to know where the gsm cmd's source code is? thanks a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] how to send AT command to android phone?

2009-01-03 Thread barqw
such as ATH.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] how to Start onRunning Activity without restarting??

2009-01-03 Thread Wesley Sagittarius
hi all, Happy new year to all... I have a question on starting the activity... if the activity is onRunning(already started) { How can I call the activity to run, without duplicate and restart the activity??? coz whenever I use this.startActivity(intent); twice, it will start

[android-developers] Re: Stumped on launching Market app

2009-01-03 Thread John Spurlock
Try this: startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse (market://search?q=pname: + packageName))); See http://code.google.com/android/devel/sign-publish.html#marketintent On Jan 3, 9:18 pm, Keith Wiley kbwi...@gmail.com wrote: I just can't find a simple bit of sample code online that

[android-developers] Re: Stumped on launching Market app

2009-01-03 Thread John Spurlock
Doh - sorry it's late. Re-reading your question it seems you've done the same things. Fwiw, that's what I use in apps and it works just fine. Perhaps you need uses-permission android:name=android.permission.INTERNET / in the manifest? On Jan 3, 11:12 pm, John Spurlock john.spurl...@gmail.com

[android-developers] Re: Stumped on launching Market app

2009-01-03 Thread John Spurlock
3rd time's the charm. It's probably your action. Replace ACTION_VIEW with Intent.ACTION_VIEW (which is actually android.intent.action.VIEW) On Jan 3, 11:21 pm, John Spurlock john.spurl...@gmail.com wrote: Doh - sorry it's late.  Re-reading your question it seems you've done the same things.

[android-developers] Re: Stumped on launching Market app

2009-01-03 Thread Keith Wiley
Hmmm, the suggested quoted below worked. I wonder why. BTW, on your other two posts, I had tried those, no luck. Doing the whole thing in one statement seems to work. I'll have to look into it. Thanks. On Jan 3, 8:12 pm, John Spurlock john.spurl...@gmail.com wrote: Try this:  

[android-developers] Re: How to write code to uninstall apk from device/emulator?

2009-01-03 Thread gasolin
Hi, You could uninstall app by sending an intent. Here is what we do in aTrackDog: Uri uri = Uri.fromParts(package, strPackageName, null); Intent it = new Intent(Intent.ACTION_DELETE, uri); startActivity(it); -- gasolin On 1月3日, 下午9時54分, freepine freep...@gmail.com wrote: Dr. Lu, Don't be

[android-developers] File permissions for world read/write

2009-01-03 Thread ggcespia
I'm trying to create file at /sdcard/foobar.tmp from one package that needs to be readable by another package. This works fine on the emulator. However, on the G1, if I create the file in package A, then try to read it in package B, the request fails - even tho both packages are signed by the

[android-developers] Re: File permissions for world read/write

2009-01-03 Thread ggcespia
problem solved. package B had a typo in the file name. works fine now. On Jan 3, 9:02 pm, ggcespia g...@boopsie.com wrote: I'm trying to create file at /sdcard/foobar.tmp from one package that needs to be readable by another package.  This works fine on the emulator. However, on the G1, if

[android-developers] use one .apk startup other .apk??

2009-01-03 Thread SinFrancis
use one .apk startup other .apk?? i wanna use A.apk startup B.apk ,how can i do ??? --~--~-~--~~~---~--~~ 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: How to track menu navigation focus changes?

2009-01-03 Thread Jamie
For more on the rationale behind touch-mode and ListView focus see: http://android-developers.blogspot.com/2008/12/touch-mode.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Deployment of native C library

2009-01-03 Thread shimo...@gmail.com
Hi, Did as you suggested from my Windows PC (using adb shell). The 'mount' command did not yield any error. But - saw no change in the \system attributes (using ls -l). And - when I try to do adb push MySans.ttf \system\fonts\MySans.ttf I get an error message: failed to copy ...: read-only file

[android-developers] Re: How can i access System directory in an emulator ??

2009-01-03 Thread Andrew Stadler
It's not clear if you're trying to write tests (as you implied in the first paragraph) or modify behavior of a running system (as you implied in the second paragraph). But in either case, as Dianne noted, Instrumentation is designed for use directly with your own code, not to be applied to any

[android-developers] Re: https://dl-ssl.google.com/android/eclipse/

2009-01-03 Thread herain
You can try http. On Jan 2, 10:17 pm, AlexG alex.shpindov...@gmail.com wrote: Hi What happened to the ecipse plugin download site?https://dl-ssl.google.com/android/eclipse/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Eclipse IDE for Android platform development android.jar

2009-01-03 Thread YCW
When I want to build a application ,in Eclipse, using android.opengl.Object3D whereas it's not in SDK android.jar. Then I checked the web-site http://source.android.com/using-eclipse; teaching you how to use whole android opensource in Eclipse and debugging. My questions are: 1. Is there any

[android-developers] How to write code to install a apk file to device or emulator

2009-01-03 Thread fjasii
Hi,all I want to write a software to download .apk file in a list, when downloading is comleted, user can click the file name and install the apk file. but I can't find any class or package for the function of install. please help me, thanks!

[android-developers] Re: Barcode scanning through the camera

2009-01-03 Thread S Plissken
Hi, Does anyone able to setup android sdk on linux with camera working in the emulator? On Thu, Jan 1, 2009 at 4:51 PM, brnzn brendon.mathe...@gmail.com wrote: Hey Timothy, Take a look at ZXing (pronounced Zebra Crossing): http://code.google.com/p/zxing/ brnzn On Jan 2, 9:14 am,

[android-developers] Re: use one .apk startup other .apk??

2009-01-03 Thread 边蓬
try startIndent ? On Jan 4, 1:32 pm, SinFrancis kyowxf2...@gmail.com wrote:   use one .apk startup other .apk??   i wanna use A.apk startup B.apk ,how can i do ??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Devices for android

2009-01-03 Thread Pratik Patel
Hi all, I am beginner to Android, Can anyone provide me links/articles to start knowledge base for android. From where I can get list of devices which supports Android. Thanks and Regads, Pratik Patel Sr. Software Engineer C-SAM www.c-sam.com email: pratik.pa...@c-sam.com

[android-developers] Displaying contact Email address in a List in ListActivity

2009-01-03 Thread Droid
Hello all, Happy New Year! I'm a newbie trying to display a list of contact details in a ListActivity. What is the best way to retrieve the Contact Name, Email address and phone number and display it in a ListActivity? Here's what I have so far... (Obviously in a half-cooked form)

[android-developers] How to write code to uninstall apk from device/emulator?

2009-01-03 Thread Dr. Tingrong Lu
Hi, How to write code to uninstall apk from device/emulator? Could anyone drop a sample code? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] File.setLastModified(long) broken?

2009-01-03 Thread info.sktechnol...@gmail.com
setLastModified in the File class seems to always return false, even for files I have created on the SD card? Has anyone been able to get this to work? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] question, has any one use the void glDrawElements(intmode,intcount,inttype,intoffset) in GL11

2009-01-03 Thread 边蓬
the source of framework shows that use offset as void * directly, than what should I do before call glDrawElements ? /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) */ static void android_glDrawElements__ (JNIEnv *_env, jobject _this, jint mode, jint

[android-developers] Re: Slide from an Activity to another...

2009-01-03 Thread Sergey Ten
It may be easier to use animation set, wwhich combines out and in animations together and runs them simultaneously. I am typing from G1, so I can't provide any examples right away. Please let me know if you are interested and I will try to find some. Sergey Moto medicalsou...@gmail.com

[android-developers] Re: Attaching the Eclipse debugger to actual device

2009-01-03 Thread Quartz
I was also able to get adb to see my devices as a normal user, but with a small quirk. Note: I am using Ubuntu Gutsy (7.10). I have written it up here: http://william.quartz.googlepages.com/mobile%3Agoogleg1 But basically, I have to start the adb deamon a certain way, as follows: kill server

[android-developers] how to add webview to listview

2009-01-03 Thread Shabs
Hi, How to add WebView to the listview. I need to take input from a textview at the bottom of the screen and after formatting the text need to add it to the ListView above it.So each time the user enters some text in the textview sends it , it should be added to the listview.

[android-developers] seeking andriod developers

2009-01-03 Thread lincolnsand
Company seeking developers with the android platform. We have some amazing ideas for gadgets and we are seeking developers. Please send e- mail with contact information and we will get in touch with you. lincolns...@gmail.com Thanks Ben --~--~-~--~~~---~--~~

[android-developers] Re: Market paid-for apps

2009-01-03 Thread Sena Gbeckor-Kove
Why don't you just set up a company, in a country where you're allowed to distribute apps from? Setting up a company in the UK is very quick (hours) inexpensive and can be done online. S On 1 Jan 2009, at 07:52, madcoder wrote: I'm an American living in Thailand, and I want to sell to

[android-developers] Re: Pass state from Activity to Service

2009-01-03 Thread Pv
Where is it crashing? I am running in to a similar problem for I different reasons. What class is this in in your code? I don't know if this will help, but try the following code: // In your activity private void startService(){ Intent myIntent = new Intent(this, MyService.class);

[android-developers] Re: Sending HTML email with GMail installed on G1

2009-01-03 Thread sergey
Hello Thrusty, This can be solved by using Spans. Here is a piece of code which demonstrates how it can be done: SpannableString ss = new SpannableString(getResources ().getString(R.string.link));

[android-developers] Re: https://dl-ssl.google.com/android/eclipse/

2009-01-03 Thread BrendanM
Use http instead of https... http://dl-ssl.google.com/android/eclipse/ On Jan 2, 7:17 am, AlexG alex.shpindov...@gmail.com wrote: Hi What happened to the ecipse plugin download site?https://dl-ssl.google.com/android/eclipse/ --~--~-~--~~~---~--~~ You

[android-developers] How to get Voice data from Android

2009-01-03 Thread er
Hello all, I wish to develop some of my modules onto the Android platform and in order to do so i have some questions regarding the SDK and platform. 1. Is it possible to capture the outgoing voice channel of the caller? 2. Can i control the outgoing buffer and set it to different data? 3. Where

[android-developers] Re: Market paid-for apps

2009-01-03 Thread Sena Gbeckor-Kove
Isn't that still a 3 month window? It just seems ridiculously long to me. I'm not bashing the guys, I'm sure they're pulling out all the stops. a possible (and likely) 3 more months with no revenue could be serious for many people. I know there are other alternatives like SlideMe which I

[android-developers] ClassNotFoundException in Eclipse Layout tab when custom view references another project

2009-01-03 Thread Jeff
I have an eclipse workspace containing several projects. One project is an android project, containing a custom view (say MyView) which I have added to my main.xml layout. My custom view references a class (say OtherClass) in another project in the workspace. The visual layout editor in

[android-developers] Help with Gallery Widget

2009-01-03 Thread Chris
Hello everyone, I have 2 problems - I want to scroll gallery to a specific position by calling a function, but at the same time to see the animation of scrolling. I have tried the following but they don't seem to do the animation (although the ): # public void setSelection(int position, boolean

[android-developers] Target window when launching a new web browser activity?

2009-01-03 Thread ddum...@gmail.com
It seems that when I send off an intent to open a web browser window, when i press the back button to go back to my launching activity, the window that was created in the browser app stays open. If there's no way to close it when it returns, is there a way i can get my app to open all links in

[android-developers] Re: support for encryption

2009-01-03 Thread Isaac Potoczny-Jones
Folks might also take a look at the crypto intents and keystore intents that we're building in collaboration between the Android Password Safe project the OpenIntents project. Our system allows a single password, and periodic single sign-on so that all applications can encrypt, decrypt, and

[android-developers] New Screens (one per class)

2009-01-03 Thread Gary Colman
Hi I'm totally out of my depth but persistently wading and learning as I go. I'm really unfamiliar with the Java paradigm, so please bear with me and don't assume I know anything (because, really, I probably don't :- ( ). A few questions: 1. Could someone point me to, or explain to me, the

[android-developers] Re: Any updates on paid apps timeline?

2009-01-03 Thread Sena Gbeckor-Kove
True, but I suspect there will be more Android devices than iPhones in short order. For a start Samsung sells the most touch screen devices (not Apple) and they're working on multiple handsets. Furthermore, NetBooks and other form factors will start showing up late in the year. Don't flame

[android-developers] Very slow startup of app on first run

2009-01-03 Thread Matt Hall
Hi everyone, I have an app that is around 3.8 megs, with a lot of that size being png graphics. When I install the apk on the device the first run of the app takes a very long time, around 30 seconds. After that first run the startup is nearly instant. Is there something I can do to speed that

[android-developers] Re: Long click on list activity item

2009-01-03 Thread tranbinh.b...@gmail.com
Hi, Maybe this can help: @Override public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { AdapterView.AdapterContextMenuInfo info; try { info = (AdapterView.AdapterContextMenuInfo) menuInfo; } catch

[android-developers] Calling JavaScript functions with parameters

2009-01-03 Thread Tez
Hi, Can anyone show me an example of how to call a JavaScript function from a function in Java WITH parameters passed to the JavaScript Function? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups