[android-developers] Re: Stop an SMS from being sent from default SMS client.

2009-11-18 Thread Gulfam
Hi All, I also want to achieve the same goal as said by Mr Aftab. The Goal I want to achieve: (As you have seen many apps in market like "Truephone" those intercepts outgoing calls and abortBroadcast(); and take user decision to call via GSM or via their apps.) So i want to achieve this goal wi

Re: [android-developers] Re: Network File Transfer Android Apps

2009-11-18 Thread Bharath Gandhi
Hi, Could you please explain further?. I just need some apps to transfer file from android apps to PC. Thanks, Bharath. On Thu, Nov 19, 2009 at 12:24 PM, Bala wrote: > Recently I evaluated a "web server" for Android. I was so impressed > with its performance and utility. > Potentially, this

[android-developers] Re: How to put Margin for widgets

2009-11-18 Thread Nithin
Hi, I dont know, what I did till now, now all working fine.. I got the input from this link http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/MenuInflateFromXml.html the code I am working is, layout = new LinearLayout(this); layout.setOrientation(LinearLayout

[android-developers] Re: Network File Transfer Android Apps

2009-11-18 Thread Bala
Recently I evaluated a "web server" for Android. I was so impressed with its performance and utility. Potentially, this product may be bundled as a standard package with Android platform. You could access your Android device with address such as, http://123.43.45.34:7800 The photo gallery and ent

Re: [android-developers] How to make a LinearLayout fousable and its children change foreground color

2009-11-18 Thread surya prakash
On Thu, Nov 19, 2009 at 10:16 AM, n179911 wrote: > Hi, > > I have a LinearLayout with 2 text View as its children. > How can I make the children of LinearLayout to change foreground color > (in this case, the text color of the text view) when the linearlayout > has focus? > > >

[android-developers] Re: Choosing Dev Phone

2009-11-18 Thread Nightwolf
You need any SIM card with data access to pass initial screen (of course if your phone is unlocked and accept any SIM) . After that SIM card can be removed. On 19 ноя, 08:54, Nathan wrote: > Just to update everyone. > > In the absence of guidance on what will run 2.0, I decided against Dev > 2 or

[android-developers] Re: Android market .... what's happening?

2009-11-18 Thread droidin.net
All my 3 apps are affected and I bet there's no single App on the marked that is intact. Interesting that I have more reviews than ratings. They screwed the database alright. The dev concole still shows old numbers but then it is always lagging due to caching On Nov 18, 10:24 pm, Pieter wrote: >

[android-developers] Re: Android market .... what's happening?

2009-11-18 Thread Pieter
I bet some engineers at Google are sweating profusely at this point. If any of your happen to read this (which I doubt), good luck in fixing this issue! On Nov 19, 5:30 am, "nubin...@gmail.com" wrote: > My app's total downloads dropped from 48000 to 789? Did Google just > invent time machine? > >

[android-developers] Limitation of AppWidgetProviders and RemoteView - Canvas Drawing?

2009-11-18 Thread Zi Yong Chua
HI guys, Not sure anyone of you have this problem. I have having a lot of difficulty trying to port what i have done in drawables for my activity into my widget through remoteview. Does any one know any work around this issue on how to use canvas drawing inside AppWidgetProvider class? Not sure w

[android-developers] Re: How Handle Android Default Messaging Application According To Our Requirement

2009-11-18 Thread Gulfam
Hi All, Is there any response on this issue?? I am still waiting. Gulfam Hassan On Nov 18, 7:07 pm, Gulfam wrote: > Hi Everyone, > >  Currently I am doing R&D on an idea for example I have an application > "abc" which send sms through my own way . > I want to do work like this: > When user

[android-developers] Network File Transfer Android Apps

2009-11-18 Thread Bharath Gandhi
Hi, I need to transfer the file from Android mobile (Client) to standalone PC (Server) via network. Please let me know is there any good Open source android apps available to transfer the files (any type of file) to server via HTTP protocol?. Thanks, Bharath. +91- 98410 32749. -- You received

[android-developers] Re: Choosing Dev Phone

2009-11-18 Thread Nathan
Just to update everyone. In the absence of guidance on what will run 2.0, I decided against Dev 2 or the Droid. That means I'll probably end up getting something else later, but hopefully when there is more clarification or more choices. The multitouch, for one, is one that will be hard to test ou

[android-developers] Re: get network info on cdma network

2009-11-18 Thread sam
Hi , can anybody help on this please? thanks for any help. On Nov 18, 4:42 pm, sam wrote: > Hi guys, > > do you know how to get the > Home country code, current country code, the Mobile directory number > on a cdma network. > > I see TelephonyManager.getNetworkCountryIso() can get the current > c

[android-developers] How to put Margin for widgets

2009-11-18 Thread Nithin
Any idea, how to put margin for widgets... setPadding() wont work in my case. I want the entire widget to move, unlike setPadding. In setPadding(), only contents will move within the widget. Thanks On Nov 18, 3:26 pm, Nithin wrote: > Hi, > > now, I am trying in this, still its not working... >

[android-developers] Re: HTC Hero + "requestFeature() must be called"

2009-11-18 Thread Shane
I did but can't remember exactly what I did :-) It had something to do with the alertdialog. I debugged it by loading an HTC Hero ROM onto a developer G1. I got the same error as a real Hero and worked backwards from there. Shane On Nov 13, 12:52 am, Anton Pirker wrote: > HiShane! > > Ha

[android-developers] Re: Market data loss

2009-11-18 Thread Shane
All our apps are showing wrong download numbers and wrong number of ratings.. Someone did a code push at Google that screwed things up.emergency rollback. On Nov 18, 9:11 pm, niko20 wrote: > Same here too. Probably going to lose sales now because of this. > Sucks. > > On Nov 18, 10

Re: [android-developers] Android market .... what's happening?

2009-11-18 Thread SoftwareForMe.com SoftwareForMe.com
IT'S SPREADING! PhoneMyPC now shows 32 ratings (though you can still access all 270 or so of them). Scott SoftwareForMe.com Makers of PhoneMyPC On Wed, Nov 18, 2009 at 9:29 PM, Wenwei Cai wrote: > Same issue here. Weird! > > On 11/19/09, Yao wrote: > > I met the same problem! > > > > On Thu,

Re: [android-developers] Android market .... what's happening?

2009-11-18 Thread Wenwei Cai
Same issue here. Weird! On 11/19/09, Yao wrote: > I met the same problem! > > On Thu, Nov 19, 2009 at 12:30 PM, nubin...@gmail.com > wrote: > >> My app's total downloads dropped from 48000 to 789? Did Google just >> invent time machine? >> >> I have another app that has -8 active installs now. >>

Re: [android-developers] Re: Android market .... what's happening?

2009-11-18 Thread SoftwareForMe.com SoftwareForMe.com
@niko: thanks; we're working on it! We can't wait to get remote-login rolled out so we can turn back to some non-essential, but FUN features, like sound, more settings, perhaps collaboration features :-) A friend, Chris, developer of Spending Monitor first notice the Market issues on his paid vers

[android-developers] Loss of picture quality when creating a default drawable

2009-11-18 Thread Anirudh
Hi All, I have an imageview derived class and I created a in my attr.xml file under the "res\values\" folder as the default image source: @drawable/imageview_image I read it in the ctor of the class MyImageView extends ImageView using the constant R.drawable.default_image_src. There is a marke

Re: [android-developers] Android market .... what's happening?

2009-11-18 Thread Yao
I met the same problem! On Thu, Nov 19, 2009 at 12:30 PM, nubin...@gmail.com wrote: > My app's total downloads dropped from 48000 to 789? Did Google just > invent time machine? > > I have another app that has -8 active installs now. > > What's happening! > > -- > You received this message because

[android-developers] Re: Market data loss

2009-11-18 Thread niko20
Same here too. Probably going to lose sales now because of this. Sucks. On Nov 18, 10:57 pm, Andrei wrote: > same here > > On Nov 18, 11:48 pm, yidongsoft wrote: > > > > > My app is 10600/6902 moments ago, but now 3050/2038. two unpublished > > app is: 0/-1, 0/-15 > > > Is Taliban destroying go

[android-developers] Re: Android market .... what's happening?

2009-11-18 Thread niko20
Yup same probably here. Maybe they are making some changes or something. By the way softwareforme, the latest update is awesome, faster and more stable! On Nov 18, 10:47 pm, "SoftwareForMe.com SoftwareForMe.com" wrote: > I also noticed the order of apps in categories is down, some apps that hav

[android-developers] Re: Market data loss

2009-11-18 Thread Andrei
same here On Nov 18, 11:48 pm, yidongsoft wrote: > My app is 10600/6902 moments ago, but now 3050/2038. two unpublished > app is: 0/-1, 0/-15 > > Is Taliban destroying google's data centre? -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Difference between ImageView.setImageBitmap() and RemoteView.setImageViewBitmap() ????

2009-11-18 Thread tedd
Hi, I have seen that the ImageView.setImageBitmap() can process high resolution images(even of size greater than 480x640), but RemoteView.setImageViewBitmap() fails with FAILED BINDER TRANSCATION error Is there ary constraint on the bitmap size which RemoteView can handle Why is the di

[android-developers] Market data loss

2009-11-18 Thread yidongsoft
My app is 10600/6902 moments ago, but now 3050/2038. two unpublished app is: 0/-1, 0/-15 Is Taliban destroying google's data centre? -- 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@go

Re: [android-developers] Android market .... what's happening?

2009-11-18 Thread SoftwareForMe.com SoftwareForMe.com
I also noticed the order of apps in categories is down, some apps that have 100's of comments show with only 5, etc. However, the actual feedback items remain intact. Clearly, somebody tripped on a critical power cord or spilled water in the toaster. Scott SoftwareForMe.com Makers of PhoneMyPC

[android-developers] How to make a LinearLayout fousable and its children change foreground color

2009-11-18 Thread n179911
Hi, I have a LinearLayout with 2 text View as its children. How can I make the children of LinearLayout to change foreground color (in this case, the text color of the text view) when the linearlayout has focus? Thank you. -- You received this message because you are subscri

[android-developers] Android market .... what's happening?

2009-11-18 Thread nubin...@gmail.com
My app's total downloads dropped from 48000 to 789? Did Google just invent time machine? I have another app that has -8 active installs now. What's happening! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: Text on top of a ImageView

2009-11-18 Thread pablitoman
Thank you very much! On Nov 18, 11:00 pm, Lance Nanek wrote: > TextView supports a background drawable: >         android:id="@+id/top_bar" >         android:background="@drawable/header" >         android:layout_width="fill_parent" >         android:layout_height="fill_parent" >         android

[android-developers] emulator dependent files

2009-11-18 Thread shri
hi anybody can share the emulator dependent files (source files as well as binary files) regards shri -- 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 f

[android-developers] Re: Text on top of a ImageView

2009-11-18 Thread Lance Nanek
TextView supports a background drawable: A FrameLayout with an ImageView and TextView inside might work as well if you need some feature of ImageView. On Nov 18, 9:56 pm, pablitoman wrote: > Hi, I'm using Android 1.6. > > I'm wondering if there's a simple way to put text on top of an > ImageVie

[android-developers] lock_layer timed out (is the CPU pegged?)

2009-11-18 Thread Julius Spencer
Hi, I have a situation occurring intermittently with an application where I receive the following message. It's probably something to do with a Thread. The application seems to stop, but I get the following message and I'm not sure what it means: WARN/SurfaceComposerClient(2106): lock_layer

Re: [android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread Dianne Hackborn
You need to design your two animations so both the entering and leaving animations continue running for the same amount of time. After the exit animation is done, its window is hidden. On Wed, Nov 18, 2009 at 6:52 PM, CyberQat wrote: > Thanks much guys... its ALMOST working perfectly. > > One m

[android-developers] Installing APK from Internet?

2009-11-18 Thread babu
Is there any way to download APK from the internet on an Android phone (T Mobile MyTouch)? I have installed the Apps Installer application that installs APK's from the SDCard. However I want to download the APK from the internet and then use Apps Installer to install it. Currently when I download m

[android-developers] Re: Reinstall and an App Widget...

2009-11-18 Thread sdphil
after tinkering for a while, here's what i've come up against -- in my AndroidManifest.xml file, I added these lines --

[android-developers] Where is "dump HPROF file" button in DDMS

2009-11-18 Thread James Wang
Here,http://android.git.kernel.org/?p=platform/ dalvik.git;a=blob_plain;f=docs/heap-profiling.html;hb=HEAD is a description about Dalvik Heap Profiling. In "Android 1.6 ("Donut")" section, it says "Select your application and click the "dump HPROF file" button. ". I can find that button in DDMS.

[android-developers] Services, Intents and Wakelocks

2009-11-18 Thread Daniel I. Applebaum
Many months ago, there was a discussion about how to use the AlarmManager effectively to trigger a service. The summary is to use a BroadcastReceiver to receive the Intent sent by the AlarmManager, and pass WakeLocks from the BroadcastReceiver to the Service. I understand that, and am modifying t

[android-developers] Text on top of a ImageView

2009-11-18 Thread pablitoman
Hi, I'm using Android 1.6. I'm wondering if there's a simple way to put text on top of an ImageView element. Specifically, I'd like to have text overlayed on top of a rectangle filled with a color gradient. I have the following in my XML layout: but the text specified in android:text doesn't s

[android-developers] Does VM Heap in DDMS help?

2009-11-18 Thread James Wang
AFAIK, we have two ways to track memory usage with Android 1. VM Heap View in DDMS 2.dump hprof file and analyze it by Eclipse MAT I wonder how VM Heap View is supposed to help developers? 1.About the first grid(ID,Heap Size,Allocated...), what pattern of data smells bad? 2.I only saw one "Stats"

[android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread CyberQat
Thanks much guys... its ALMOST working perfectly. One minor visual glitch, when I fly in the second view, the first view disappears behind it before the start of the animation resulting in a "black flash". Interestingly enough when I fly the second view out, I don't get this effect. How do I pre

[android-developers] 东方赛富推出"破冰工程 ",500万助力学员就业

2009-11-18 Thread jiess
为应对金融危机下的IT行业就业寒冬,东方赛富3G学院2009年7月推出“破冰工程”,为嵌入式行业和3G移动互联网行业培养紧缺的《嵌入式 Linux工程师》和《Android Linux手机开发工程师》。作为国内首家Linux Android ARM嵌入式开发和手机开发培训机构, 东方赛富的课程体系全面深入,深受广大计算机、通信、自动化、电子工程等相关专业的学子喜爱。赛富3G学院开设了《嵌入式Linux系统工程师定向就业 班》、《Android Linux 3G手机开发定向就业班》、《Android应用开发班》、《Android系统开发班》、《Linux驱动开发 班》、《Android系统移植

[android-developers] hidden APIs in Android

2009-11-18 Thread tomei.ninge...@gmail.com
There are a bunch of APIs that are hidden using the @hide tag so they are not exposed in the SDK. If I call these APIs anyway, does the VM actually prevent me from doing that (in dexopt stage, etc)? I am trying to do a demo so I just need a quick hack. This is not for a product so please don't tel

[android-developers] Re: question about mapview "data"

2009-11-18 Thread tatman
On Nov 18, 3:02 pm, Mark Murphy wrote: > tatman wrote: > > At what point would I have more than one instance of my type derived > > from ItemizedOverlay > > Perhaps never. However, you may have more than one overlay (e.g., yours > and MyLocationOverlay). > > > and what point would I have more th

[android-developers] HorizontalScrollView XML starting scrolled to RIGHT instead of left

2009-11-18 Thread Ferran Garriga Ollé
Hi, When you define by XML an HorizontalScrollView, inside it a LinearLayout with several items, if there are too many items, you will be able to scroll it. This scrolls by default, go from left to right, the first item is on the left and the last item "cutet" because is doesn´t fit on he right.

[android-developers] unsubscribe

2009-11-18 Thread Sou Dai
-- All those moments will be lost in time, just like tears in rain. -- 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 andr

Re: [android-developers] ContactsContract.Data RAW_CONTACT_ID vs. CONTACT_ID

2009-11-18 Thread Rachel Blackman
On Nov 18, 2009, at 12:58 PM, jak. wrote: > For example I create a brand new contact like so? : > // (please pay attenion to use of Data RAW_CONTACT_ID vs. CONTACT_ID) > // According to the Google folks on the list, the recommended method is not to add contacts yourself but rather to use th

[android-developers] HorizontalScrollView XML starting scrolled to LEFT

2009-11-18 Thread Ferran Garriga Ollé
Hi, When you define by XML an HorizontalScrollView, inside it a LinearLayout with several items, if there are too many items, you will be able to scroll it. This scrolls by default, go from left to right, the first item is on the left and the last item "cutet" because is doesn´t fit on he right.

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread Jeff Sharkey
> 15) What is the best way to write the code so in case the API Level is > below 5, some of the contacts actions can still be done correctly. Here's an excellent example that uses new ContactsContact APIs when available, or otherwise falls back to the original API: http://code.google.com/p/androi

[android-developers] Re: video recording issue

2009-11-18 Thread android_dev
when i add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. i am not finding what i am doing wrong.Please help setContentView(R.layout.camera); preview=(SurfaceView)findViewById(R.id.surface); previewHolder=previe

[android-developers] Re: media recorder error on start

2009-11-18 Thread android_dev
when i add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. i am not finding what i am doing wrong.Please help setContentView(R.layout.camera); preview=(SurfaceView)findViewById(R.id.surface); previewHolder=previe

[android-developers] Re: media recorder error on start

2009-11-18 Thread android_dev
when i add video source and video encoder, it gives error in recoreder.prepare while the same code is working for audio. i am not finding what i am doing wrong. setContentView(R.layout.camera); preview=(SurfaceView)findViewById(R.id.surface); previewHolder=preview.getHolder(); previewHolder.setTyp

Re: [android-developers] Permission denial

2009-11-18 Thread Mark Murphy
Pierre Henry wrote: > All hi, > > This error is logged when launching activity: > > __ > 11-19 00:15:41.940: WARN/ActivityManager(71): Permission Denial: > starting Intent { flg=0x1000 > cmp=com.soladhoc.affinity.ecf/.RemoteServiceBinding } from null > (pid=-1, uid=-1) require

[android-developers] Re: Suspending and resuming threads in Android

2009-11-18 Thread fadden
On Nov 16, 11:22 pm, Eldad wrote: > In the Java SDK the methods Thread.suspend() and Thread.resume() are > deprecated but we can still use them. Also there is the Java debugger > API which allows one to do that if you connect to the VM as a > debugger. > > Is there some API for android we can use?

Re: [android-developers] Ruby for Android

2009-11-18 Thread Cédric Berger
maybe check http://rhohub.com/ On Tuesday, November 17, 2009, TCBlues wrote: > Is there any way to develop applications on Ruby for Android? > > thank you > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send

[android-developers] Re: Garbage Collector

2009-11-18 Thread fadden
On Nov 17, 8:48 am, Joel Gonçalves wrote: > I made some research and I found the System.gc() call to give a hint > to the GC. The problem is that it do not command the GC only gives a > hint. Is this method synchronous or asynchronous. There is no way to turn the GC off. If you create your perfo

[android-developers] Permission denial

2009-11-18 Thread Pierre Henry
All hi, This error is logged when launching activity: __ 11-19 00:15:41.940: WARN/ActivityManager(71): Permission Denial: starting Intent { flg=0x1000 cmp=com.soladhoc.affinity.ecf/.RemoteServiceBinding } from null (pid=-1, uid=-1) requires android.permission.INTERNET

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You probably will not like my answer despite its honesty. I have found that those who want to 'pitch' telecom firms job candidates that do not understand the major differences between the skill sets of an application developer and an embedded mobile developer usually do yes have a touch time in fi

[android-developers] Re: PACKAGE_ADDED, PACKAGE_REMOVED and PACKAGE_REPLACED...

2009-11-18 Thread sdphil
how do you do that? I tried: And a bunch of variations of android:path, but I couldn't get it to only notify me when it was my app. tia. On Nov 18, 12:58 pm, Dianne Hackborn wrote: > Please register for only your specific package name, not every

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread jotobjects
On Nov 18, 1:55 pm, Cédric Berger wrote: > I meant not when the user requested it, but when the system went > really too low on memory : as I understand the system  may eventually > have to kill some services (even if it is not a full "force stop") ? > (And if not, what happens when it is reall

[android-developers] Re: Certificate webpage problem when using WebView

2009-11-18 Thread HeHe
perhaps you need to combine "raw" tcp socket i/o, fake X509TrustManger and webView.load() to achieve it. On Nov 18, 11:21 am, Mark wrote: > Isn't anybody know that solutions? > > On Nov 16, 11:07 am, Mark wrote: > > > > > Hi, folks > > > i have aproblemto show specific web page (https:// > > emo

[android-developers] Re: How to keep the selected item of a ListView vertically centered?

2009-11-18 Thread arielm
Can I ask why the list-centering behavior was canceled? Is it possible to access the source-code from then (SDK v0.9 or so?) On Nov 18, 9:30 pm, Romain Guy wrote: > This is not supported indeed. We used to have this behavior pre-1.0 > but we got rid of it. > > > > On Wed, Nov 18, 2009 at 6:21 PM

[android-developers] Re: Re-Register PhoneStateListener if application crashed

2009-11-18 Thread shahzad ahmad
Any help ? On Wed, Nov 18, 2009 at 1:43 PM, shahzad ahmad wrote: > Hi, >i've registered a PhoneStateListener in BOOT_COMPLETED receiver by using > following call: > >tm.listen(new TestCallStateListener(), > PhoneStateListener.LISTEN_CALL_STATE); > > If the application crashes then system

Re: [android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread Cédric Berger
On Wed, Nov 18, 2009 at 22:45, Dianne Hackborn wrote: > 2009/11/18 Cédric Berger >> Are there situations where it is done by the system (automatically) ? >> (ie. in case it is too low on memory). > > Nope, definitely never ever.  The user must explicitly request this. > >> >> Or can I be sure th

[android-developers] Text To Speech Android 1.6 with minsdk 3

2009-11-18 Thread Eric Carman
Hello, I was playing with adding Text to Speech to one of my applications and have been working with it using the Android 1.6 SDK. I was hoping to release the code such that it could be used on the earlier 1.5 OS since there are still quite a few of these around - and this is an upgrade. I realize

Re: [android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread Dianne Hackborn
2009/11/18 Cédric Berger > So now that (I think) I understand what this "force stop" is really > about (completely and definitely stopping an app) : > > Are there situations where it is done by the system (automatically) ? > (ie. in case it is too low on memory). > Nope, definitely never ever.

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread Cédric Berger
On Wed, Nov 18, 2009 at 18:53, Dianne Hackborn wrote: > I'm not sure which UI you are talking about.  The "force stop" button that > has been around since 1.5 does everything we have been talking about: > killing processes, unregistering alarms, etc.  The new running services UI > -only- stops a

[android-developers] urgent: issue with media recorder

2009-11-18 Thread android_dev
HI, i am really stuck with media recorder. i am trying to record a video. it is working to record audio and i can play the recorded audio as well.the code sample for recording audio is: recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat (Medi

Re: [android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread Dianne Hackborn
On Wed, Nov 18, 2009 at 12:18 PM, jotobjects wrote: > If the system is slow due to CPU contention then an Activity running > in the background would also be part of the problem. If the system is > low on memory the System can also kill Services. But I get it that > too many Services thrashing h

Re: [android-developers] Re: PACKAGE_ADDED, PACKAGE_REMOVED and PACKAGE_REPLACED...

2009-11-18 Thread Dianne Hackborn
Please register for only your specific package name, not every package, so your app doesn't get launched every time another app is installed or uninstalled. On Wed, Nov 18, 2009 at 12:21 PM, sdphil wrote: > oh, okay, so I added this line to my manifest -- > > > > and it seemed to work. I ge

[android-developers] ContactsContract.Data RAW_CONTACT_ID vs. CONTACT_ID

2009-11-18 Thread jak.
ContactsContract.Data.RAW_CONTACT_ID vs. ContactsContract.Data.CONTACT_ID Can anyone please explain how these two IDs are different. I'm having very strange merge issues when I try to add contacts programmatically, (phone numbers that I mean to set to one contact, end up in another for example)

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread PJ
Also you could try to meet developers in the IRC channel. "The Android community is using the #android channel on the irc.freenode.net server." http://developer.android.com/community/index.html -- PJ On Nov 18, 2:49 pm, PJ wrote: > Since you specifically mentioned Dallas, check out the dallas

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread PJ
Since you specifically mentioned Dallas, check out the dallas-android- developers group. There are over a dozen of us and many of us are interested in job opportunities. http://groups.google.com/group/dallas-android-developers -- PJ On Nov 18, 2:25 pm, Sundog wrote: > Hope you're not talking

[android-developers] Re: Android Market Anti-Piracy

2009-11-18 Thread admin.androidsl...@googlemail.com
AlexK - you didn't mention where you get your data for the blacklist. I am guessing its based on pirated copies of your app. How are you determining which users have illegal copies? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Re: Appwidget Update issue

2009-11-18 Thread tedd
Also i even tried to change the approach, and stored the bitmap into the jpeg/png file locally and provided the Uri od the file to the appwidgetManager using setImageViewUri() This works with few issues :( Since i am copying the bitmap data to outputstream using bitmap.compress() writing to the lo

[android-developers] Re: How to Add Objects to Sqlite Database

2009-11-18 Thread PJ
As Lior pointed out, you can't just stuff object-oriented data into a SQL database magically. You have to somehow convert the data into a format that can be stored. There are lots of options here but they all require extra work: 1. Manually convert your object into multiple columns of basic data

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Sundog
Hope you're not talking about mine; I've never had a single bug report, not even one. Not even on the new version. And feedback about the appearance is all positive. On Nov 18, 12:16 pm, niko20 wrote: > 3-6 learning days is enough to write a game that looks like hell and > has subtle bugs LO

[android-developers] Re: PACKAGE_ADDED, PACKAGE_REMOVED and PACKAGE_REPLACED...

2009-11-18 Thread sdphil
oh, okay, so I added this line to my manifest -- and it seemed to work. I get a removed followed by a replaced. as is documented here: http://developer.android.com/intl/fr/guide/appendix/faq/framework.html now I just gotta figure out how to remove/replace the app widget when i get this..

[android-developers] Problem with drop down views on orientation change (bug?)

2009-11-18 Thread Stephen Abrams
This may be a bug, but not if there is a way to attach the view to the window manager. I have a class extending AlertDialog. The dialog has a drop down menu that allows user to choose item. When the orientation is changed with the drop down menu displayed, I get the exception listed below. I set

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread jotobjects
On Nov 18, 9:53 am, Dianne Hackborn wrote: > On Wed, Nov 18, 2009 at 8:27 AM, jotobjects wrote: > > Don't you care just as much about Activities that have threads running > > the background? > > No, the system can freely kill those processes when it needs memory.  Thus > this isn't the cause of

[android-developers] Re: custom protocol handler...

2009-11-18 Thread sdphil
ping... still unanswered and unworking... On Nov 15, 9:48 pm, sdphil wrote: > ping... > > On Nov 13, 11:06 am, sdphil wrote: > > > okay, tried adding the ? mark.  same thing. > > > i gotta believe someone else is doing this > > > On Nov 13, 4:10 am, skink wrote: > > > > On Nov 12, 6:31 pm,

[android-developers] Appwidget Update issue

2009-11-18 Thread tedd
Hi, In my photowidget app, when i configure the photo widget with bitmap of bigger size( around 48x640 or more) using remoteviews.setImageViewBitmap(), the widget dosent get updated with the new image instead i see FAILED BINDER TRANSCATION error !!! How to get rid of this If this issue i

Re: [android-developers] Re: SoundPool problem

2009-11-18 Thread Wayne Wenthin
I'm glad someone is having a good day! LOL I hate bugs! On Wed, Nov 18, 2009 at 12:04 PM, Doug wrote: > You just made my day. > > On Nov 18, 8:44 am, Wayne Wenthin wrote: > > I may be wrong but I thought I read that the ADC2 was restricted and will > > not run on 2.0. > > -- > You received t

[android-developers] PACKAGE_ADDED, PACKAGE_REMOVED and PACKAGE_REPLACED...

2009-11-18 Thread sdphil
when I re-install an application, i get PACKAGE_REMOVED followed by PACKAGE_ADDED. I never see PACKAGE_REPLACED. any ideas why? And actually, I never see any of the PACKAGE_* actions except in LogCast -- I cannot get my broadcast receiver to get the events. i'm doing this in the emulator using

[android-developers] Re: Setting the ID in a SimpleAdapter

2009-11-18 Thread jeffro
You need to implement the Adapter method to pass the id value you want: public long getItemId(int index) {} On Nov 18, 7:17 am, jax wrote: > How do you set the Id attribute for a SimpleAdapter so that when you > run > > onItemClick(AdapterView parent, View view,int position, long id) > > I will

[android-developers] Re: SoundPool problem

2009-11-18 Thread Doug
You just made my day. On Nov 18, 8:44 am, Wayne Wenthin wrote: > I may be wrong but I thought I read that the ADC2 was restricted and will > not run on 2.0. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

Re: [android-developers] Re: question about mapview "data"

2009-11-18 Thread Mark Murphy
tatman wrote: > At what point would I have more than one instance of my type derived > from ItemizedOverlay Perhaps never. However, you may have more than one overlay (e.g., yours and MyLocationOverlay). > and what point would I have more than one type > derived from ItemizedOverlay? Perhaps nev

[android-developers] Re: Uri withAppendedPath not finding contacts

2009-11-18 Thread joebowbeer
Looking ahead: Emulator Instances can no longer call/sms each other in SDK 1.5 http://code.google.com/p/android/issues/detail?id=2660 --Joe On Nov 17, 12:30 am, Sime wrote: > I'm trying to lockup what contact belongs to a specific number. I'm > sending sms from one emulator instance to anothe

[android-developers] D-Pad and WebView

2009-11-18 Thread rollbak
Hello, I am developing an application using WebView widget and i can't capture D-Pad or TrackBall events on it. The rest of the keys are working as expected, but with D-Pad i don't get any keyPressed handler called. Does anyone know how to get D-Pad keys from JavaScript in a WebView? Thanks, Lu

[android-developers] Re: startForeground

2009-11-18 Thread Andrei
this is from adb command isForeground=true foregroundId=10 foregroundNoti=Notification (vibrate=null,sound=null,defaults=0x0) On Nov 18, 2:20 pm, Dianne Hackborn wrote: > On Wed, Nov 18, 2009 at 11:12 AM, Andrei wrote: > > Thanks > > In my sample it does not post notification when i call it > >

[android-developers] How to specify id when uses include in layout xml file

2009-11-18 Thread hap 497
Hi, In my layout xml file, I have included other layout xml file (each with a different android id). But when I run it in the emulator, and start Hierarchy Viewer, each of the layout still shows 'NO_ID', and in my code, I have findViewById(R.id.test1) and findViewById(R.id.test2) both returns

[android-developers] Re: question about mapview "data"

2009-11-18 Thread tatman
On Nov 18, 2:37 pm, Mark Murphy wrote: > tatman wrote: > > I'm going through the tutorials about mapview.   And it seems like > > there is a lot of "lists" going around and, honestly seems like > > overkill. > > > Is the mapview example accurate in that I need to maintain my map data > > in 3 lis

[android-developers] Re: startForeground

2009-11-18 Thread Andrei
I see my log message, i don't see notification in the notification bar I get start_foreground through reflection Object args[] = new Object[2]; args[0] = new Integer( 10 ); long when = System.currentTimeMillis(); args[1] = new Notification( R.drawable.notify, "servi

Re: [android-developers] question about mapview "data"

2009-11-18 Thread Mark Murphy
tatman wrote: > I'm going through the tutorials about mapview. And it seems like > there is a lot of "lists" going around and, honestly seems like > overkill. > > Is the mapview example accurate in that I need to maintain my map data > in 3 lists? > 1) override ItemizedOverlay which contains lis

Re: [android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Abdul Mateen
Why not outsource the job! there are many developers around the globe, they can meet your needs! On Wed, Nov 18, 2009 at 2:23 PM, Maps.Huge.Info (Maps API Guru) < cor...@gmail.com> wrote: > As I used to tell my customers a long time ago in a place far, far > away: > > "Any 10 year old with a PHD i

[android-developers] Re: Mediaplayer and stopping it....

2009-11-18 Thread furby
Works like a charm! Thanks dude! On Nov 18, 2:24 pm, StevePotell wrote: > stop the player in the onPause > > On Nov 18, 2:12 pm, furby wrote: > > > I have a activity which is called from another activity as an > > intent... This activity loads and starts playing a audio file. All is > > good - t

Re: [android-developers] How to keep the selected item of a ListView vertically centered?

2009-11-18 Thread Romain Guy
This is not supported indeed. We used to have this behavior pre-1.0 but we got rid of it. On Wed, Nov 18, 2009 at 6:21 PM, arielm wrote: > Scenario: > > 1) A ListView with many items (i.e. scrolling will occur at some > point) > 2) At the beginning, the selection is at the top (item #0) > 3) User

[android-developers] question about mapview "data"

2009-11-18 Thread tatman
I'm going through the tutorials about mapview. And it seems like there is a lot of "lists" going around and, honestly seems like overkill. Is the mapview example accurate in that I need to maintain my map data in 3 lists? 1) override ItemizedOverlay which contains list #1 of OverlayItem instance

[android-developers] Re: Mediaplayer and stopping it....

2009-11-18 Thread StevePotell
stop the player in the onPause On Nov 18, 2:12 pm, furby wrote: > I have a activity which is called from another activity as an > intent... This activity loads and starts playing a audio file. All is > good - that much works. The activity also has a "stop" button and that > stops the audio from p

[android-developers] How can I check if GPS is supported in code?

2009-11-18 Thread Camv
Hi folks, Im trying to write a piece of code which checks if GPS is supported by the device. locationProvider = locManager.getProvider("gps"); if (locationProvider != null) { if (locManager.isProviderEnabled("gps")) {

  1   2   3   >