[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Al Sutton
There's a hack to get Market on an Archos device, but it's not sanctioned by Google, not supported by Google or Archos, and relies on users willing to apply the hack knowing they won't get any support, and so is probably not widespread. Archoses devices tend to fall short of Googles requirements

[android-developers] Re: how to disconnect the incomming call

2010-07-09 Thread Matt
That seems like something that the Android OS would NOT want an application to be able to do. So I doubt it's possible. On Jul 9, 6:30 am, A N K ! T ankit.awasth...@gmail.com wrote:  hey am trying to disconnect the incomming call can anybody help me in this .. -- Thanks Ankit -- You

[android-developers] Re: how do I restart my program?

2010-07-09 Thread Matt
Well, it depends on what you mean by app. If you mean the applications' process, I'm not sure, but I know you can very easily restart an activity. Here's some pseudocode from the top of my head: finish(); startActivity(new Intent(this, YourActivity.class)); On Jul 9, 2:10 pm, ArcDroid

[android-developers] Re: Calling Activity

2010-07-09 Thread Indicator Veritatis
One does not CALL BroadcastReceivers from Intents. One sends messages to them, usually via an Intent. See, for example, http://developer.android.com/guide/topics/intents/intents-filters.html, which has, among other relevant data: Intent objects passed to any of the broadcast methods (such as

[android-developers] Re: How to get all the children views of a layout

2010-07-09 Thread Matt
On Jul 9, 4:44 pm, Indicator Veritatis mej1...@yahoo.com wrote: Let's hope there is a better solution! After all, setting layout_width IS the layout manager's job. Right... and the layout manager does set the width. You can do many things: 1. Set the layout_width to fill_parent to always

Re: [android-developers] Re: How to get all the children views of a layout

2010-07-09 Thread Romain Guy
Setting layout_width is NOT the layout manager's job. It's set by the user to tell the layout manager how to compute the children's dimensions. On Fri, Jul 9, 2010 at 1:56 PM, Matt matthew.quig...@gmail.com wrote: On Jul 9, 4:44 pm, Indicator Veritatis mej1...@yahoo.com wrote: Let's hope

[android-developers] Re: android:clickable = true makes layout not clickable?

2010-07-09 Thread Matt
How do you know it isn't clickable? Did you try adding an onClick listener? Just because a view is clickable, does NOT mean it will change background colors when clicked. You have to use state to change the backgrounds when something is focused, pressed, etc. -Matt On Jul 8, 5:52 am, dxw_es

Re: [android-developers] Mapping Application

2010-07-09 Thread TreKing
On Thu, Jul 8, 2010 at 4:34 PM, vineet ma...@vineetyadav.com wrote: Can some put light to this on how to implement this?? Start here http://wiki.openstreetmap.org/wiki/Main_Page. Besides that, your question is too broad to really answer.

[android-developers] Re: Installed Application Size vs APK Filesize

2010-07-09 Thread John
Is there a technical reason why it takes up that much space? -- 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

Re: [android-developers] Re: Installed Application Size vs APK Filesize

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 5:05 PM, John jo-d...@hotmail.com wrote: Is there a technical reason why it takes up that much space? As opposed to a non-technical reason? I'm sure there is. Do I know all of the details? No. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Indicator Veritatis
It may seem to you to fit, but that is only because, as I said, you are not interpreting basic English logically. That is the point I have been trying to explain to you all this time. Yet you miss it every time, preferring to see insult instead. Perhaps you will get it from an example of a truly

[android-developers] HELP

2010-07-09 Thread Mark
Ok, don't hate me people, I come from Visual Studio. I need help. How do I get the code for Android? I've been converted (I love my Droid Incredible) Please help. I'm running on Windows 7 I do have Eclipse running I have managed to make a few small programs. Thanks Mark

Re: [android-developers] HELP

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 4:21 PM, Mark vbreneg...@sbcglobal.net wrote: How do I get the code for Android? It's really this easy http://lmgtfy.com/?q=android+source+code. - TreKing - Chicago transit

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Indicator Veritatis
Well, congratulations to John on the success of his app. But you seem to be implying that that is where he is getting his 88% figure from, and if you ever took even just one semester of statistics in college, you should know what an unreliable sample downloads of his app are. Why, even the figure

Re: [android-developers] Manifest android:versionCode question

2010-07-09 Thread TreKing
On Thu, Jul 8, 2010 at 9:35 PM, Rob rob.irv...@gmail.com wrote: Is the integer a 4-byte integer with a range of -2,147,483,648 to +2,147,483,647 or is it only a 2 byte integer with a range of -32,768 to +32,767 ? Does it really matter? I highly doubt you'll be updating you app over 32,767

RE: [android-developers] HELP

2010-07-09 Thread Mark
I know that part, but Can it be built in Eclipse? I told you I am come from Microsoft. (I've been converted) now LOL -Mark From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of TreKing Sent: Friday, July 09, 2010 4:25 PM To:

[android-developers] how to set setImageResource to null

2010-07-09 Thread ArcDroid
hello, I have a picture in the setImageResource, but I want to make it null; so far I am using i.setImageResource(1), but would like to know a better way. Thanks jake -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] HELP

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 5:34 PM, Mark vbreneg...@sbcglobal.net wrote: I know that part, but Can it be built in Eclipse? I told you I am come from Microsoft. (I’ve been converted) now LOL OK, I'm confused. Are you trying to build Android (the OS), or applications for Android? -- Mark Murphy (a

[android-developers] Re: ADB over TCP/IP?

2010-07-09 Thread Austin
On Jun 15, 12:54 pm, sws-vinpa vincepascu...@gmail.com wrote: I believe by default 'adbd' listens on port .  If you do a 'netstat' on your Android device, you should see: tcp        0      0 0.0.0.0:           0.0.0.0:* LISTEN The command to connect is: adb connect ip:port Let me

Re: [android-developers] Flickr and Facebook

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 2:49 PM, David Toledo dtole...@gmail.com wrote: Where can found some API the Flickr and Facebook for android? Filckr http://lmgtfy.com/?q=android+flickr+api Facebook http://lmgtfy.com/?q=android+facebook+api Yes, it really is that easy.

Re: [android-developers] Prefill databases

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 3:10 PM, Jaap jaap.hait...@gmail.com wrote: I have a program that needs a fixed database to do lookups of some data. Is there a way to easily fill such a database by just putting the data in a file or so Yes, just create the database you need, populate it, and include

Re: [android-developers] HELP

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 4:34 PM, Mark vbreneg...@sbcglobal.net wrote: I know that part I couldn't tell by your question, which I quote: How do I get the code for Android? Can it be built in Eclipse? Ah, see, that's quite a different question, isn't it? If that's what you wanted to know, I

Re: [android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2010-07-09 Thread Australuke
No, original del key problem remains. Actually i never got any response to my original questions about it. If I were you I would be tempted to pull a copy of the android gallery class source code into your project and start commenting out code until the problem goes away. I often find this is a

[android-developers] Application Lifecycle Questions.

2010-07-09 Thread Ubuntu Explorer
Hi, I have the following questions about application lifecycle. 1. Activity 1 of Task 1 (affinity 1) starts Activity 2 (affinity 1, allowTaskReparenting ) of Task 2 (affinity 2) using Intent with FLAG_ACTIVITY_NEW_TASK. But, Activity 2 is already part of task 2 stack. Will activity2 move from

[android-developers] Re: startForeground() broken on Incredible

2010-07-09 Thread Peter Jeffe
Submitted as http://code.google.com/p/android/issues/detail?id=9663: On the Incredible (and possibly other devices) the process is always put in the background scheduling group when it doesn't have a visible activity, even though the app's service has called startForeground(). This causes it to

[android-developers] Re: startForeground() broken on Incredible

2010-07-09 Thread Peter Jeffe
http://code.google.com/p/android/issues/detail?id=9663 that is. -- 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

Re: [android-developers] Re: startForeground() broken on Incredible

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 7:54 PM, Peter Jeffe pje...@gmail.com wrote: As a result, our thousands of users on the Incredible won't be able to use our equalizer function. Well, they should be able to use it if they keep your activity in the foreground, right? What they can't do is multitask or

[android-developers] Re: what is context?

2010-07-09 Thread cindy
Thanks! On Jul 9, 11:12 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 9, 2010 at 2:04 PM, cindy ypu01...@yahoo.com wrote: A very silly question, What is Context? It is a class. How to get it? Activity is a subclass of Context. Service is a subclass of Context.

[android-developers] Re: what is context?

2010-07-09 Thread Indicator Veritatis
All this is true, but it doesn't really answer the question. Why, for example, are all these things inheriting from one class, and why is that class named 'Context'? I think the OP will have a better feel for what a Context is by reading the Class Overview in the online reference, which does a

[android-developers] program crashes once sdk version added to manifest

2010-07-09 Thread ArcDroid
running v1.6 and having a problem with crashing...works if I take out the sdk line. tried... uses-sdk android:targetSdkVersion=4 / uses-sdk android:minSdkVersion=4 / ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] Re: Installed Application Size vs APK Filesize

2010-07-09 Thread Dianne Hackborn
It's because a version of the .apk needs to be available read-only to all applications, so they can pull things like labels and icons from it. So to install a forward-locked app, the real .apk is only readable by its app, and a fake world-readable .apk is also created that has a copy of the real

[android-developers] How to change list Item's focus color

2010-07-09 Thread cindy
Hi I have a list. I can set the back ground color , press color, and fosusing color in listbg.xml (selector). However the focus color doesn't work at all. The list item never get focus. Do I need to wrote code for focus? My code: listbg.xml ?xml version=1.0 encoding=utf-8? selector

[android-developers] how to get focus id for a list

2010-07-09 Thread cindy
Hi , For a ListView, how could I get the focus ID? It seems there is no API. Am I right? Thanks! Cindy -- 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

[android-developers] Re: Knowing when someone sets device to 2G only

2010-07-09 Thread Indicator Veritatis
That sounds like doing a little too much for them. But if you really want to wipe their noses for them like that, then I think either android.provider.Settings or android.provider.Settings.System has what you want. But I admit I didn't do an exhaustive search. On Jul 9, 9:11 am, Craig

[android-developers] Re: startForeground() broken on Incredible

2010-07-09 Thread Peter Jeffe
On Jul 9, 7:16 pm, Mark Murphy mmur...@commonsware.com wrote: Well, they should be able to use it if they keep your activity in the foreground, right? What they can't do is multitask or launch your player from an app widget. You're right, and we'll be notifying them of that (lots of fun

Re: [android-developers] program crashes once sdk version added to manifest

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 8:23 PM, ArcDroid jacobrjohn...@gmail.com wrote: running v1.6 and having a problem with crashing...works if I take out the sdk line. Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace, to find out where things are going wrong. --

Re: [android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Dianne Hackborn
On Fri, Jul 9, 2010 at 2:25 PM, Indicator Veritatis mej1...@yahoo.comwrote: Why, even the figure Google likes to use, the source for my 45% using 1.5 or 1.6, is far from ideal: but it is almost certainly a better measure of the number of phones out there with given version# than downloads of

Re: [android-developers] double tap zoom on Google maps

2010-07-09 Thread zeeshan mirza
Anyone who can help me BR, shan On Fri, Jul 9, 2010 at 12:28 AM, zeeshan mirza zeeshan.nabeel.mi...@gmail.com wrote: I am now forwading touch event to gestureDetector but let me know what to add more ? @Override *public* *boolean* onTouchEvent(MotionEvent event){

Re: [android-developers] Camera preview - strange on Samsung Galaxy S (2.1update1)

2010-07-09 Thread dan raaka
what verison does your device have ? use below .. $adb shell getprop | grep fingerprint -Dan On Fri, Jul 9, 2010 at 9:39 AM, Mathias Lin m...@mathiaslin.com wrote: In my activity I show the camera preview on a surfaceView. It works perfectly fine on Nexus One (2.1update1, 2.2) and HTC Desire

[android-developers] Re: Trying to compile the Voice Dialer, need help...

2010-07-09 Thread Nazgulled
I posted there already, nobody answers me too :( On Jul 8, 12:42 pm, RichardC richard.crit...@googlemail.com wrote: You might stand more chance of a response in:http://groups.google.com/group/android-platform /Richard On Jul 8, 9:38 am, Nazgulled mas...@ricardoamaral.net wrote: Any help

[android-developers] Re: how to set setImageResource to null

2010-07-09 Thread Lance Nanek
I've done that before by calling one of the other setImage* methods that takes an object. Something like setImageDrawable(null), etc.. On Jul 9, 5:37 pm, ArcDroid jacobrjohn...@gmail.com wrote: hello, I have a picture in the setImageResource, but I want to make it null; so far I am using

[android-developers] Re: Cannot find the culprit file in my android project even after expanding the main folder

2010-07-09 Thread varun
even then if you cant get rid of that red mark. go to problems view and right click on the problem and delete the problem. varun On Jul 9, 11:46 pm, RichardC richard.crit...@googlemail.com wrote: Do Project Clean ... Then look at either Problems or the Console view(s) /Richard On Jul

[android-developers] Re: program crashes once sdk version added to manifest

2010-07-09 Thread ArcDroid
crazy, it says I ran out of memory when I had the sdk line in. On Jul 9, 5:44 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 9, 2010 at 8:23 PM, ArcDroid jacobrjohn...@gmail.com wrote: running v1.6 and having a problem with crashing...works if I take out the sdk line. Use

Re: [android-developers] Re: Unable to Install .apk

2010-07-09 Thread diptendu das
Thank you Dr. Mike. now its workin.. On Thu, Jul 8, 2010 at 10:44 AM, Dr. Mike mjwelch...@ekgreaders.com wrote: The app has an AndroidManifest file which specifies (usually) the lowest level of device your app will run on. If your app is building under 2.2 (sdk 8) and your phone is 2.0 (sdk

<    1   2   3