[android-developers] Re: Dalvik spends 7.4% of its time garbage collecting, Android UI spends 7.4% of its time unresponsive

2009-01-08 Thread ______
Thanks, cross-posted. On Jan 8, 2:32 am, Andrew Stadler stad...@gmail.com wrote: This is a great topic, but is probably more suited to android-platform. On Wed, Jan 7, 2009 at 11:05 PM, __ luke.hu...@gmail.com wrote: With the phone sitting *idle*, Dalvik GCs every 3.5sec on average.  

[android-developers] Re: stopSelf() question

2009-01-08 Thread jsm
I am enclosing the anr file related to my package. If anybody can help, greatly appreciated... ---traces.txt-- ... - pid 189 at 2009-01-08 13:26:08 - Cmd line: com.mypackage.package DALVIK THREADS: main prio=5 tid=3 WAIT | group=main sCount=1 dsCount=0 s=0

[android-developers] Re: onActivityResult returns RESULT_CANCELED immediately :(

2009-01-08 Thread Stoyan Damov
Thank you Dianne! The parent activity's launch mode was set to singleInstance (for which I have a pretty good reason, but can live with removing it). I thought that the *child* activity was supposed to not have the launch modes you mentioned - apparently I thought wrong. Thanks again, Stoyan

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread A R
check putExtra method in Intent Class Regards, Amit. On Jan 8, 12:37 pm, Asif k asifk1...@gmail.com wrote: Hi all,   In an application I am switching between HomeApp.java activity to ListApp.java activity using following code :                 Intent filelist = new Intent(this,

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
So whats the conclution? Is SlideMe safe. Not as in 100% safe - that will never happen. I just want to secure that not everyone with alittle IT knowledge and a filebrowsing application on Android can copy my application installed with SlideMe's SAM. You have to be in top 5% of hackers to do it,

[android-developers] Re: Skia Graphics Library

2009-01-08 Thread sunitna...@gmail.com
Thank u Mike David for ur replies and valuable suggestions. But the issue is i have to use it and might as well inflict pain when integrating future release as david rightly suggested :-) But then i have to use it... where can i get some sample implementation of controls using the Skia API's

[android-developers] Recipients editor

2009-01-08 Thread Manjunatha M (ಮಂಜುನಾಥ ಎಂ)
Hi All, You guys may have seen the MMS application, When you type the numbers in the TextBox, It suggests the name reading from the contacts. Can I write an application which will have the same functionality as that of the recipient editor in MMS? if So, How do i do the same, Please let me know.

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Shane Isbell
Hi Per, We are still looking into this. For certain, we aren't having the apps on the SD card like some of the other paid services. But as it stands now, people could grab applications off the device using the Android SDK tools, as Dianne mentioned. If we can't get Android to lock down these

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Al Sutton
Shane, I've given a method where G1 owners can any Market .apk the phone at; http://groups.google.com/group/android-platform/browse_thread/thread/be1f7d3d376e4d11/96c991164328afe4#96c991164328afe4 I'll email you privately with details of the deliberate error included in the method so you can

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
Thats ok. My daily job is, to a high degree, to be critical about others solutions in application development. I will use Mogees for now. I acutally I would like to use something else, cause Mogees requires the application to ask for different premissions no the phone, and i fear that it will

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Shane Isbell
On Thu, Jan 8, 2009 at 1:41 AM, Steff st...@designware.dk wrote: Thats ok. My daily job is, to a high degree, to be critical about others solutions in application development. I will use Mogees for now. I acutally I would like to use something else, cause Mogees requires the application to

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
For our solution, you will also need to use android.permission.READ_PHONE_STATE to be able to handle forward locking. We require this permission on SAM as well. I'm not sure if Mogees goes beyond this in required permissions, as it has larger scope and usage rules. Mogees requires:

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Shane Isbell
Ouch, fine location. I see what you mean, as that would make me a little hesitant as well. On Thu, Jan 8, 2009 at 2:05 AM, Steff st...@designware.dk wrote: For our solution, you will also need to use android.permission.READ_PHONE_STATE to be able to handle forward locking. We require

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread Asif k
Hi Amit, Thanks for ur reply I had Used it like following , Intent filelist = new Intent(this, ListApp.class); showButton.putExtra(android_giude.AndroidView.hello,Asif here); startActivity(filelist); But my doubt is how to retrive this value in the ListApp activity??

[android-developers] Re: Skia Graphics Library

2009-01-08 Thread David Turner
there is no sample implementation of controls in C/C++, all the widget/view sub-system is done in Java On Thu, Jan 8, 2009 at 10:00 AM, sunitna...@gmail.com sunitna...@gmail.comwrote: Thank u Mike David for ur replies and valuable suggestions. But the issue is i have to use it and might as

[android-developers] Re: javax.net.ssl.SSLException: Not trusted server certificate

2009-01-08 Thread AnuR
I was not able to fix the error the error is still there. I tried to disable the cretificate verification using the code from :http://www.exampledepot.com/egs/javax.net.ssl/TrustAll.html? l=rel // Create a trust manager that does not validate certificate chains TrustManager[]

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread David Turner
thanks, however, I'd be more interested in the output that happens when you actually try to connect to a site. this should dump the HTTP queries being made, how they are rewritten, and what kind of error the proxy is returning... On Thu, Jan 8, 2009 at 2:59 AM, freepine freep...@gmail.com wrote:

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread lummie
In the onCreate or else where in the activity: String value = this.getIntent().getStringExtra (android_giude.AndroidView.hello); there are severla getExtra methods for retrieving different types of data. On Jan 8, 10:18 am, Asif k asifk1...@gmail.com wrote: Hi Amit, Thanks for ur reply

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread lummie
In the onCreate or else where in the activity: String value = this.getIntent().getStringExtra (android_giude.AndroidView.hello); there are severla getExtra methods for retrieving different types of data. On Jan 8, 10:18 am, Asif k asifk1...@gmail.com wrote: Hi Amit, Thanks for ur reply

[android-developers] Re: Recipients editor

2009-01-08 Thread for android
Yes use http://code.google.com/android/reference/android/widget/MultiAutoCompleteTextView.html http://www.netmite.com/android/mydroid/packages/apps/Mms/src/com/android/mms/ui/ On Thu, Jan 8, 2009 at 2:46 PM, Manjunatha M (ಮಂಜುನಾಥ ಎಂ) man...@gmail.comwrote: Hi All, You guys may have seen

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread Asif k
Hi all, I got the solution here is a good thread regarding this topic http://groups.google.com/group/android-developers/browse_thread/thread/9d0fd6127cb513ff On Jan 8, 3:54 pm, lummie gro...@lummie.co.uk wrote: In the onCreate or else where in the activity: String value =

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread freepine
Hi David, That's all I've got from the console after launching emulator, browsing default google website, etc... Do you mean I should send the logcat output to you when I try to launch browser? Or there is some flag I can turn on to enable detailed http log? Or should I capture all network

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
For our solution, you will also need to use android.permission.READ_PHONE_STATE to be able to handle forward locking. We require this permission on SAM as well. Ohhh, I was hoping that it would be enough to give SAM the permission. Why should the installed app (my app for instance) need the

[android-developers] How to textview on MapView instead of a drawable image by ItemizedOverlay?

2009-01-08 Thread Hongliang Tong
hi all I want to know how to create a map pin such as the one used in the Google Maps app, shown when you search for a particular address. The white balloon which contains a short String to denote what the pin is representing. Instead of adding a drawable for my pin in an OverlayItem, I would

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Shane Isbell
On Thu, Jan 8, 2009 at 3:45 AM, Steff st...@designware.dk wrote: For our solution, you will also need to use android.permission.READ_PHONE_STATE to be able to handle forward locking. We require this permission on SAM as well. Ohhh, I was hoping that it would be enough to give SAM the

[android-developers] Re: Using G1 as modem

2009-01-08 Thread Tee
Hi Marco, or anyone that has successfully used g1 as modem give me a shout and help me get it working for me on both vista and xp please. Thanks On Dec 11 2008, 7:06 pm, Marcio Alexandroni mar...@cialogica.com.br wrote: Yes, there is, google for tetherbot, I use in my notebook and it works.

[android-developers] Re: Recipients editor

2009-01-08 Thread Manjunatha M (ಮಂಜುನಾಥ ಎಂ)
Hi, Is there any simple way to do this? In MMS app, It deals with lots of classes :( On Thu, Jan 8, 2009 at 4:52 PM, for android forandr...@gmail.com wrote: Yes use http://code.google.com/android/reference/android/widget/MultiAutoCompleteTextView.html

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
Since the app directory is wide open, you will need to have something embedded in the app itself to prevent forwarding. How can the app prevent itself form being forwarded? Why cant SAM do that to the application after the Android installer have installede the application for SAM. Regards,

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
How can the app prevent itself form being forwarded? Why cant SAM do that to the application after the Android installer have installede the application for SAM. I thing it would be great if SlideMe would strech to find a solution where the apps does not need to require any permissions.

[android-developers] XML file parsing (big size xml file) throws IOException

2009-01-08 Thread saagar.par...@gmail.com
When I try to load a big XML file (1.2 MB), XMLPullParser throws IOException... It runs perfectly for small files..Please help..Is ther anyway to increase application buffer size?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: missing javax audio?

2009-01-08 Thread blindfold
TTS is already available as a library from Android Market and http://eyes-free.googlecode.com, and works quite well in my experience. For many audio purposes, javax.sound is not needed, as other audio APIs may offer similar functionality. For me the audio functionality of Java ME (J2ME) was and

[android-developers] Re: XML file parsing (big size xml file) throws IOException

2009-01-08 Thread bklik
It is hitting the 5 second timeout barrier? Did you try putting in parse in a Service rather than an Activity so that it can take it's time parsing the large file? Brenton On Jan 8, 7:51 am, saagar.par...@gmail.com saagar.par...@gmail.com wrote: When I try to load a big XML file (1.2 MB),

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread Falcon4ever
Thanks for the tutorial, it should work without much troubles in SDK 1.0. There is just one thing, is there a way to avoid the XML? In some cases I would like to create views using Java code instead of using 'static views' XML. I haven't seen examples of how to create a viewflipper object from

[android-developers] Re: Restart application

2009-01-08 Thread Evgeny V
Hi All, Any ideas how to restart the app from itself? I'm trying following code but failed with null pointer exception. Where is my fault? public void Restart() { newIntent.setClassName(mypackage.name, MyMainClass); newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); app.startActivity(newIntent);

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

2009-01-08 Thread blindfold
Thanks David. You say that Cupcake's AudioTrack allows for generating raw audio in the application to be streamed to the audio output. It does not include a byte stream interface to the MediaPlayer, for example. Does this mean that it bypasses MediaPlayer altogether in accessing the audio

[android-developers] Re: How to register a ContentProvider

2009-01-08 Thread Inderjeet Singh
Thanks, that helps. How do I find out what all content providers are registered and who has ability to access them? Thanks Inder On Wed, Jan 7, 2009 at 9:50 AM, Dianne Hackborn hack...@android.com wrote: It is backwards, android:name is the class name (like all of the other manifest

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread madcoder
Wow, really good stuff. I see the ViewFlipper methods allow for setting which child view to display, as well as adding and removing views. Very nice. Falcon4ever, if you check out the example at androidguys, above, scroll down and they show how to add views in code. Mark, I got your book, and

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread Mark Murphy
madcoder wrote: Mark, I got your book, and it's quite good. I would really like to see a little more depth on the UI threads, but overall, well worth the money. It has saved me some headaches already. Contact me off-list sometime with your ideas for what you'd like to see covered, and I'll

[android-developers] Contact Provider across applications

2009-01-08 Thread inder
My app1 accesses a content provider provided by app2. Do I need to set any permissions in app2 so that app1 can access it? Also, when app1 is trying to query the content, app2 will not be running at the moment. Does the Android system automatically start app2, calll its onCreate() method and

[android-developers] Is package name classloading conflict between applications possible ?

2009-01-08 Thread Derek
Hi, I'm wondering if there could be some issue with package naming and classloing For instance, I've application1 (app1.apk) including the following packages: a.app1 a.shared And another application2 (app2.apk) including the following packages: a.app2 a.shared Classes under a.shared packages

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread Al
Does anyone know how they implemented the part where you can drag the current screen left/right and also view part of the next screen at the same time? Was it the same way as the Home screen or is there another method for it? On Jan 8, 2:07 pm, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread whitemice
I’ve blogged this question with pictures here: http://tinyurl.com/9hwdva I am writing a component that makes certain functionality available to any application running on an Android device (e.g. an advertising service, stock ticker cache, Snowball server, etc). This functionality is useful for

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread Kavi
I tried creating something similar like a home screen a while back and ended up using the View Flipper. As you pointed out, you cannot view the next view while dragging the screen. and thts why, i started writing my own layout. I wasn't able to finish it but it can be done by writing your own

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread Sergey Ten
What is described looks very similar to me to what the Gallery class is doing. You may to check if the class is working for you. Sergey Kavi wrote: I tried creating something similar like a home screen a while back and ended up using the View Flipper. As you pointed out, you cannot view the

[android-developers] HSC SIPUA on android

2009-01-08 Thread pulkit
Hi everyone, I hope some of you must have worked on HSC SIP UA for android. We are trying to incorporate instant messaging service in this UA. We are able to send messages successfully to the other end, but not able to receive any. I think for the same reason it also does not take incoming

[android-developers] Re: Album Art

2009-01-08 Thread Dominic
Michael said: I'm doing this in an unreleased application. I made an account over at Amazon.com, and make a simple HTTP request to their server, retrieve the XML result, parse it, locate the image URL, fetch the image, and cache it on the SD card. Hi Michael, I'd agree that fetching the

[android-developers] Android media api's relation to PVMF api's

2009-01-08 Thread vishy s
Hi folks, I am trying find the relation between android media api's available ( http://code.google.com/android/reference/android/media/MediaPlayer.html) for android applications and the PVMF api's which are available as a part of openCORE. Some of the API's are differing. How are these linked

[android-developers] Zoom from a point

2009-01-08 Thread araj2...@gmail.com
Hi, Can someone tell me how zoom in the Browser application is done from the center of a page and not from (0, 0)? Webkit by default does zoom from the origin. Just curious to know how zoom from center is done in Android's browser. Regards, Amruth Raj.

[android-developers] problem in receiving sms.

2009-01-08 Thread Honest
I have created one main class which extends activity. Another class which extends BroadcastReceiver. The code of it is as below. import android.app.NotificationManager; import android.content.*; import android.app.Notification; import android.widget.*; public class AlarmReceiver extends

[android-developers] Android Instrumentation Non UI Results

2009-01-08 Thread sundar
Hey, I have tried running the instrumentation through adb shell, it works fine. I wonder whether android supports running instrumentation through eclipse to get display results in UI. Because as of now I was using adb shell to execute the instrumentation. Is there any way using which I can run

[android-developers] LocationManager

2009-01-08 Thread Vee
I was trying to create a mock location manager and i found out that some of the methods were removed in 1.0 SDK. Can someone give me a solution on how to implement one? This is just a sample app i am trying to write, so any help in that regard is helpful as well. Thanks !

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-08 Thread Mike Hearn
Looks good! A few comments: * The directory names are a bit odd - why do they have an extraneous 'r' in them? Also, why layout-land and not layout-landscape? I guess it's too late to change this now but the rest of the Android/ Java APIs eschew abbreviations. * Are there any tools that can help

[android-developers] Updating ListView on Gallery item select disables focus

2009-01-08 Thread btm...@gmail.com
Hello all, I have a simple layout with a Gallery and a ListView. What I want to do is move through the gallery using the trackball and update the ListView as I select items in the Gallery. However, there is a problem where the gallery loses focus as soon as it selects an item. I don't think this

[android-developers] Re: Send Data to the other Activity

2009-01-08 Thread PRATAP SOLAPUR
To your Intent add the data using putExtra() method and in the second activity in which u want to display use getIntent().get.Extra() to retrieve ur data n then display On 1/7/09, PRATAP SOLAPUR pratap.sola...@gmail.com wrote: Use Bundles On 1/7/09, Android

[android-developers] Re: remove SMS notification

2009-01-08 Thread atas...@gmail.com
I would also like to know how to do this, but for missed call notifications. I'm worried that it is not (yet) allowed by the SDK. Anyone? On Nov 24 2008, 3:38 am, Stefan Selariu stefansela...@gmail.com wrote: Hi, I have a BroadcastReceiver that fetches incoming SMSs. I need to know how can I

[android-developers] Re: Dev1 Phone on ATT

2009-01-08 Thread A ron
I am in San Antonio, on a military base. Based on the layout of San Antonio, Tmobile service is spotty is some areas on post and the only other tower my G1 registers as available is an ATT tower. I have tried connecting to it and the G1 states that due to my sim card, it will not let me connect.

[android-developers] Dispatch Key Event

2009-01-08 Thread Kamal Hasan
Hi, I want to inject a Global Key Event.In previous version of SDK it was supported by injectKeyEvent method which is removed later. Please help me to inject a new KeyEvent to the device. Kamal --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Using G1 as modem

2009-01-08 Thread kaushik sur
Hi Tee are you talking about DUN-dial up network profile for G1? if yes, i dont think the G1 supports DNP. if i am wrong,please correct me. Regards Kaushik On Thu, Jan 8, 2009 at 5:45 PM, Tee gurt...@gmail.com wrote: Hi Marco, or anyone that has successfully used g1 as modem give me a shout

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2009-01-08 Thread Lon Lentz
The dev version is not sim locked or code locked. You can use it on any carrier, flash your own OS builds and run unsigned apps. On Tue, Jan 6, 2009 at 9:26 AM, boolea...@googlemail.com boolea...@googlemail.com wrote: Dont know if you guys are aware of the amazon offer in US or not. But

[android-developers] How to do background image in 3D SurfaceView?

2009-01-08 Thread nEx.Software
I am at a loss as to how to add a background image to the Cube sample, or any other OpenGL SurfaceView for that matter. Can anyone offer any assistance? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread kaushik sur
Hi i also require have the quiry, please anyone come forward and let us know the organisation of the code. regards kaushik On Thu, Jan 8, 2009 at 7:19 PM, Manohar Mahapatra androidu...@gmail.comwrote: Hi I needed some info regarding the Bluetooth module in the cupcake release. I wanted to

[android-developers] Has anyone loaded video into a application?

2009-01-08 Thread Delmarc
I am working on a game where cut-scenes happen... but I have yet to read anything deep on video formats and such... I am guessing that I can go with H.264... but has anyone worked with it deeper??? also I doubt you can do anything deeper then just play the video but does anyone know this??? I

[android-developers] Web View creating problem

2009-01-08 Thread balendra.kumar.si...@gmail.com
Hi All, I have a online web application for mobile devices. Its url is http://www.yomotouch/content/mobile/mobilecomics.jsp . I would like to wrape it with Android's WebKit but i am unable to load app on android's web kit currenctly. Code is given below... public void onCreate(Bundle

[android-developers] Generate Bytecode Dynamically

2009-01-08 Thread Sergio Ciruela
Hi! I would like to create bytecode dynamically using BCEL or ASM. I know that there are annotations and reflection in Android. My question is, Is it possible? How I can load this class? Thanks for all ;) --~--~-~--~~~---~--~~ You received this message because

[android-developers] How could I get the content of a multimedia message?

2009-01-08 Thread junlong.z...@gmail.com
I cannot find MMS API in SDK. --~--~-~--~~~---~--~~ 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

[android-developers] Is there a media player in Android

2009-01-08 Thread linuxtom gate
Hi: Except youtube I did not find a default real media player on Android like real player or windows media player that can play mp3, mp4, h263, and so on. Who can tell me why android did not ship with a media player since it has already has PV media lib? Thank you Tom

[android-developers] ERROR: Unknown command 'compile'

2009-01-08 Thread lanewang...@gmail.com
Hi all, I followed the GettingStarted. After I created project with activitycreator. I ran mvn install. But I get this error below. I changed different version of android but the error is still. I am using the same pom.xml as the example. Anyone can help have a look. Thanks.

[android-developers] Re: Create Thread notation question

2009-01-08 Thread maximus
Hi Steve.. I m a android beginner and started with the same book suggested here...i.e. Android Essentials. R u still continuing with same book or got a better one?? -- On Nov 24 2008, 6:25 pm, steve_macleod steven_macl...@hotmail.com wrote: Hi, First post here, so hello everyone! I am

[android-developers] Re: new to android

2009-01-08 Thread PRATAP SOLAPUR
Android Programmers Guide is a good book for beginner. Anddev.org http://anddev.org u'll get tutorials On 1/7/09, google swapna.annaman...@gmail.com wrote: hi, can any one suggest good way to practice android. good books or any free applications

[android-developers] New

2009-01-08 Thread msmsmukesh
Hi I m new to this android. I know java nly. Anyone pls tell how to work with android. Thanks, Mukesh --~--~-~--~~~---~--~~ 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: Problem with list divider

2009-01-08 Thread muckwarrior
I'm having the same problem. If I add something like android:divider=#123456 to my listview the dividers disappear completely. Anyone know why? On Nov 14 2008, 7:07 am, for android forandr...@gmail.com wrote: I have a layout,something like this. Table with white bngcolor       TableRows  

[android-developers] Is it possible to replace or extend the dialer application ?

2009-01-08 Thread pinguin
can i extend the dialer app ? how i can i use android.telephony class to answer call ? can i write my own c++ dialer app running outside the virtual machine ? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: New

2009-01-08 Thread Juan Hernandez
helloandroid.com On Wed, Jan 7, 2009 at 8:13 AM, msmsmukesh msmsmuk...@gmail.com wrote: Hi I m new to this android. I know java nly. Anyone pls tell how to work with android. Thanks, Mukesh --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-01-08 Thread EboMike
For a simple demonstration of how BitmapFactory leaks, try this: { new Timer().schedule(timerTask, 10, 10); } TimerTask timerTask = new TimerTask() { String filePath = [point this to a valid JPG file]; public void run() { System.gc(); BitmapFactory.decodeFile(filePath);

[android-developers] DRAG AND DROP

2009-01-08 Thread kaushik.siso
hi i want to know how can i enbale Drag and drop feature in android. suppose i have a image,which are to be dragged and dropped on another result and it will start a new activity. i seek your help to get a head-start atleast. regards k...@sis

[android-developers] Is it possible to get incoming caller id (phone number) in real time ?

2009-01-08 Thread pinguin
now or in the futured SDK ? Please let me now. If not i will stop to develop on amdroid ! --~--~-~--~~~---~--~~ 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] Map Overlay performance issue

2009-01-08 Thread sidecircle
Hello, I'm using a MapView that shows about 1000 points of interest using a class SitesOverlay that extends ItemizedOverlayOverlayItem. There is a big performance problem, and the Map behaves slowly on movements, scales etc. So I decided to distribute the points of interest into many smaller

[android-developers] Re: Notification and PendingIntent

2009-01-08 Thread Gothy
Haven't you found solution for this issue? On Dec 26 2008, 9:24 pm, Al alcapw...@googlemail.com wrote: Not that I know of. I also tried using a Bundle instead, still no luck. On Dec 25, 5:46 am, JS yevm...@gmail.com wrote: is there a way to see the actual extras from the logcat? On Dec

[android-developers] Re: New

2009-01-08 Thread Andrew Stadler
Mukesh- You'll probably find more useful information on the android-beginners mailing list. See http://source.android.com/discuss for more information. Good luck! On Wed, Jan 7, 2009 at 5:13 AM, msmsmukesh msmsmuk...@gmail.com wrote: Hi I m new to this android. I know java nly. Anyone pls

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread Andrew Stadler
Anduzer - Questions about the internals of the platform source code will probably better addressed in the android-platform mailing list. See http://source.android.com/discuss for more details. Good luck! On Thu, Jan 8, 2009 at 5:49 AM, Manohar Mahapatra androidu...@gmail.com wrote: Hi I

[android-developers] native C++ SIP stack on Android

2009-01-08 Thread pinguin
Can i port SIP stack written in C++ to android and let it running as service in kernel ? and the GUI will communicate with SIP stack through JNI ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: native C++ SIP stack on Android

2009-01-08 Thread David Turner
first, you cannot have C++ code in the kernel. however, depending on how your stack is designed, you may be able to use it from Java through JNI given that you give absolutely no information about your stack's interface, it's really difficult to answer your question On Thu, Jan 8, 2009 at 5:57

[android-developers] SSL certificate bypassing for DigiCert

2009-01-08 Thread NitroDesk
Hello, We have pulled a lot of hair out for this one. We use the DefaultHttpClient to connect with exchange servers. In order to get past sites with self issued certs, we save the cert in a file, then when connecting, we get the keystore, add the saved certificate to the keystore as a

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread David Turner
thanks, you don't need to send me the local output. I'm guessing something. Can you tell me if accessing a site through its IP number works, e.g. use -http-proxy and -debug-proxy, then launch the browser and enter a numeric IP address like: 63.233.183.101 (www.android.com) 62.70.27.118

[android-developers] No reply on market

2009-01-08 Thread freeanderson
Hello. About 10 days ago, I posted question to android market's 'support' about my order. But there was no reply until now. Is the market being operated normally? It doesn't make a sense. (Sorry for posting here.) Thank you. --~--~-~--~~~---~--~~ You received

[android-developers] Re: How to use observer pattern in Andorid/ or other method to improve UI response

2009-01-08 Thread cindy
Thanks! I will try that. On Jan 7, 9:55 pm, A R amit.r...@gmail.com wrote: HiCindy, You can implement the same observer pattern. Create a delegate interface, pass the reference to the thread and once work is done let the thread do the call backs. Skeleton below might help (note code below

[android-developers] Re: track boor isn't working on button with has only background image

2009-01-08 Thread cindy
The solution I found: You can't set background. No matter which widget which has background set will not get forcused. On Dec 15 2008, 1:13 pm, Ralf ralfo...@gmail.com wrote: Just a random thought: you could try to add android:focusable=true There's also android:focusableInTouchMode=true.

[android-developers] Android开发者QQ群:2 8759870

2009-01-08 Thread bin
欢迎大家加入!! --~--~-~--~~~---~--~~ 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: Bluetooth in Cupcake - please help

2009-01-08 Thread Nick Pelly
Yes, I promise to answer these questions if you move them to the right group (android-platform). Sorry but its important to enforce good list hygiene. On Thu, Jan 8, 2009 at 8:44 AM, Andrew Stadler stad...@gmail.com wrote: Anduzer - Questions about the internals of the platform source code

[android-developers] Re: Uninstalling application breaks gmail preview on G1

2009-01-08 Thread Tyler Ernst
It looks like gmail is still trying to preview the document with our viewer even though it has been uninstalled? 01-08 09:52:19.033: ERROR/AndroidRuntime(4732): Uncaught handler: thread main exiting due to uncaught exception 01-08 09:52:19.323: ERROR/AndroidRuntime(4732):

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread kaushik sur
hi i got a suggestion here. but i really doubt whether it will work or not. http://groups.google.com/group/android-beginners/browse_thread/thread/fd9f7b241d4c160e/02d2798f5d949b2b please give me a valid reasoning or example. regards Kaushik On Thu, Jan 8, 2009 at 9:43 PM, kaushik.siso

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread Dianne Hackborn
Sorry, there is no support for this currently built into the platform, you will have to roll it yourself. You shouldn't have trouble doing it yourself for drag and drop in the same window (you can look at the standard home screen for an example), but without system support doing it across windows

[android-developers] Re: Uninstalling application breaks gmail preview on G1

2009-01-08 Thread Dianne Hackborn
Actually I would guess the fact that there was a viewer for PDF files allowed gmail to download that attachment, and even though there is no longer a viewer it still has the attachment so thinks it can display it. I don't think this is anything you can fix, whatever exactly is causing it is most

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread Dianne Hackborn
As far as naming issues, this is why you should use an authority in a namespace/domain you own, so that there will not be naming collisions. For the possibility of your provider not being there, whether or not it was ever there originally, any client app that is relying on a component that is not

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread kaushik sur
hi DIanne thanks for ur suggestion. but suppose i want to do it on the same widnow,then what will be the procedure. trully speaking i am not getting any clue of that. i need prior info to atleast check this feature on a single window regards kaushik On Thu, Jan 8, 2009 at 11:53 PM, Dianne

[android-developers] Re: Push Notification Techniques: Discuss

2009-01-08 Thread Josh Guilfoyle
I thought I'd chime in with some recent work I have done on this topic. The Google services on Android use Gtalk to implement push notifications and they do so using a persistent TCP connection as is the case with most other data-based push systems (like Microsoft's Exchange ActiveSync, for

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread Peli
Hm, I think you end up with unnecessary code duplication if you include your component / content provider in every application. I think it would be better if every application that wants to use your component shows a small dialog You need to install the following component... with a button that

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread Peli
The code sample you linked to should work. The basic idea is that you continuously put your image to a new position according to the coordinates that you obtain through ACTION_MOVE to give the illusion of dragging. In ACTION_UP you check whether the finger position is close to the target. in

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread Romain Guy
You can also look at the source code of the Home (Launcher) application, in particular the class called DragLayer. On Thu, Jan 8, 2009 at 11:12 AM, Peli peli0...@googlemail.com wrote: The code sample you linked to should work. The basic idea is that you continuously put your image to a new

[android-developers] How to call activity using multiple key press

2009-01-08 Thread Massimo Barbera
Hi all, I wonder if there is anyway to do the following: call my activity when a certain sequence of keys is pressed, disregarding the application ongoing in foreground this shall be something similar to a shortcut but I wasn't able to find a way to do that for being more precise I was

  1   2   >