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

2010-07-10 Thread Al Sutton
Can I suggest calling an end to the thread? We're now way off topic from what the OP wants, and most posts to it seem to end up as troll food. Al. On Jul 11, 7:03 am, Dianne Hackborn wrote: > It is number of unique devices.  It wouldn't be a count of each connection. >  That would be...  stupid.

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

2010-07-10 Thread Indicator Veritatis
Then we can certainly agree that the dashboard figures are a much better measure of how many 1.5 and 1.6 devices are out there than the downloads of any one popular app. And yes, that other count would have been stupid; but I have seen even more stupid things hidden under such vague language as "r

Re: [android-developers] Clearing Overlays

2010-07-10 Thread Brad Gies
I've had problems with this on occassion also...but just clearing the items from each Overlay achieves the same thing without problems. myOverlay.items.clear(); If you have more than one Overlay, and want to clear them all, just loop through them and clear the items. On 10/07/2010 9:1

[android-developers] Re: Problems with audio playback on froyo

2010-07-10 Thread cpedia
But the socket method still doesn't work. If I need to inject cookie with this method. Anyone can give some advice? On Jul 7, 11:17 pm, Rich wrote: > Okay! Sorry I got all uppity. > > Here's the > solution:http://code.google.com/p/npr-android-app/source/diff?spec=svn77&r=77&;... > > Rich > > On

[android-developers] Re: HELP

2010-07-10 Thread Indicator Veritatis
Really? Then what is http://source.android.com/source/using-eclipse.html all about? It says "Platform development", and uses several other key phrases that make it clear it is not just about building Android applications. In particular, it says, " if you are looking for information on how to use E

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

2010-07-10 Thread Indicator Veritatis
Strictly speaking, you are correct, of course. But since the OP said '"layout_width"', not 'layout_width', I assumed he was really thinking about the actual numeric value the width takes, rather than the XML attribute "layout_width". But I did not preserve this distinction in my own writing, so I w

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

2010-07-10 Thread Dianne Hackborn
It is number of unique devices. It wouldn't be a count of each connection. That would be... stupid. On Sat, Jul 10, 2010 at 10:47 PM, Indicator Veritatis wrote: > So then does the dashboard count each MEID/IMEI connecting within the > given time period only once, regardless of how many times i

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

2010-07-10 Thread Indicator Veritatis
So then does the dashboard count each MEID/IMEI connecting within the given time period only once, regardless of how many times it connects and reconnects to the Market? If not, then no, it is not "pretty much the exact data they want", because it is skewed by how often devices connect and disconne

[android-developers] Re: How to define some smart layout?

2010-07-10 Thread Jeruliu
Matty's sample works, thanks. On Jul 9, 11:14 pm, Matty wrote: > This simple layout seems to work for me: > > >         xmlns:android="http://schemas.android.com/apk/res/android"; >         android:layout_width="fill_parent" >         android:layout_height="fill_parent" >         android:orient

[android-developers] Re: How to access shared preference outside of Activity

2010-07-10 Thread Jeruliu
Thanks, you solved my problem, again. On Jul 9, 7:40 pm, Mark Murphy wrote: > On Fri, Jul 9, 2010 at 5:03 AM, Jeruliu wrote: > > Thanks, actually i need to access the shared preference in a class > > that extends from BroadcastReceiver, how can i call the context then? > > PreferenceManager.getD

[android-developers] Re: Smooth Image Rotation with Gesture Control?

2010-07-10 Thread ocdtrekkie
I might give a try at the OpenGL method, I actually took an OpenGL class, it's just the mobile stuff I'm trying to grasp. ;) Ansca, btw, looks very nice. But as a college student doing this for fun, and releasing for free, I can't afford a solution like that. But it looks pretty neat, definitely

[android-developers] Clearing Overlays

2010-07-10 Thread Michael
Hello, I'm unable to clear my overlays without error. I run mapView.getOverlays().clear() as I've seen but to no avail. Is there any way I can effectively remove these markers? I think it will help resolve a concurrentmodificationexception. Thanks! Michael -- You received this message because you

Re: [android-developers] Re: Possible to achieve using relative layout?

2010-07-10 Thread Connick
Thanks for the input. Actually that will do the trick as I'd like to keep an area on the far right for a sync progress image anyway. On Sat, Jul 10, 2010 at 9:14 PM, Streets Of Boston wrote: > Good luck with that one... i tried but no luck. > > If you think about it, it makes sense that this is

[android-developers] Re: Importing existing projects to Android

2010-07-10 Thread kypriakos
So I generated a new project, and of course the R.java is in place as expected, imported the src dirs from the other project into the src dir of this one, checked all of them and no errors are displayed, but still when I run the app (without the Activity class calling any of these imported classes

[android-developers] How should I do this?

2010-07-10 Thread Sean Chitwood
Hi--     I'm trying to write a simple podcast application that allows a show to have a branded application that people can use to listen to the show, read show notes and even call a phone number if the show has a voice mail box.     Most everything is going great, I made some mistakes (like impleme

[android-developers] Re: Importing existing projects to Android

2010-07-10 Thread kypriakos
RIght but that didn't do it Craig. It does build the files I have imported successfully but the R class does not get generated. I have a feeling a hidden issue somewhere (even though the Error Log does not show anything in Eclipse) is preventing this generation. I may try to create a new empty pro

Re: [android-developers] Re: Killi Process with files on SD card

2010-07-10 Thread Mark Murphy
Where is this CursorUtils class that you are using? I don't see it in the SDK or source code. Thanks! On Sat, Jul 10, 2010 at 9:23 PM, Streets Of Boston wrote: > Register your broadcast receiver like this: > > IntentFilter intentFilter = new > IntentFilter(Intent.ACTION_MEDIA_EJECT); > intentFil

[android-developers] Re: Killi Process with files on SD card

2010-07-10 Thread Streets Of Boston
Register your broadcast receiver like this: IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_EJECT); intentFilter.addAction(Intent.ACTION_MEDIA_MOUNTED); intentFilter.addDataScheme("file"); intentFilter.addDataAuthority("*", null); intentFilter.addDataPath((mIsExternal

[android-developers] Re: SDK 1.6 installation problem with "Install_parse_failed_no_ceritifcates"

2010-07-10 Thread eric
I've experienced this before. Try renaming one of your drawables and rebuild the apk. That worked for me. On Jul 7, 2:46 pm, androidshare wrote: > Hi, All, > > Our application package can install on devices and emulator with SDK > 2.0.1, but fail to install on devices and emulator with SDK 1.6

[android-developers] Re: Possible to achieve using relative layout?

2010-07-10 Thread Streets Of Boston
Good luck with that one... i tried but no luck. If you think about it, it makes sense that this is not 'easy' to do with the standard controls (like the text view). The text-view knows about its parent (the rel. layout), not about its siblings (imageview). If you center the text-view in the paren

[android-developers] Re: Resolving activities

2010-07-10 Thread CMWiii
"name" was just chosen for the psuedo code. It is a component name of the form" packagename/classname", hence the unflatten. On Jul 10, 5:24 pm, Dianne Hackborn wrote: > What is "Name"? > > ComponentName has a constructor that takes a package name and class name; in > the activity info these are

Re: [android-developers] Re: Resolving activities

2010-07-10 Thread Dianne Hackborn
What is "Name"? ComponentName has a constructor that takes a package name and class name; in the activity info these are .packageName and .name. On Sat, Jul 10, 2010 at 3:52 PM, CMWiii wrote: > Same result: > > used: > myIntent.setComponent(ComponentName.unflattenFromString(Name)); > > > On Ju

[android-developers] Re: Resolving activities

2010-07-10 Thread CMWiii
The line: ResolveInfo ri = manager.resolveActivity(exceptionIntent,0); should read: ResolveInfo ri = manager.resolveActivity(myIntent,0); On Jul 10, 3:28 pm, CMWiii wrote: > In a test app I pass an intent to resolveActivity to find out what is > the > best fit for the intent. > > For example:

[android-developers] Re: Resolving activities

2010-07-10 Thread CMWiii
Same result: used: myIntent.setComponent(ComponentName.unflattenFromString(Name)); On Jul 10, 3:38 pm, Mark Murphy wrote: > Try setComponent() instead of setPackage(). > > > > On Sat, Jul 10, 2010 at 6:28 PM, CMWiii wrote: > > > In a test app I pass an intent to resolveActivity to find out wh

[android-developers] canvas.addArc problem

2010-07-10 Thread Ricardo
Hi why the Path addArc don´t work like canvas.drawArc? This code works well: canvas.drawArc(rect, startAngle, sweepAngle, true, paint); But this code don´t fill the ARC like the previous one. Path path = new Path(); path.addArc(rect, startAngle, sweepAngle); canvas.drawPath(path, paint); The

Re: [android-developers] Resolving activities

2010-07-10 Thread Mark Murphy
Try setComponent() instead of setPackage(). On Sat, Jul 10, 2010 at 6:28 PM, CMWiii wrote: > > In a test app I pass an intent to resolveActivity to find out what is > the > best fit for the intent. > > For example: > >   Intent myIntent = new Intent(); > >   myIntent.setPackage(PackageName); >  

[android-developers] Resolving activities

2010-07-10 Thread CMWiii
In a test app I pass an intent to resolveActivity to find out what is the best fit for the intent. For example: Intent myIntent = new Intent(); myIntent.setPackage(PackageName); myIntent.addCategory(Intent.CATEGORY_LAUNCHER); myIntent.setAction(Intent.ACTION_MAIN); PackageManage

[android-developers] Re: Problem with Intents (I think)

2010-07-10 Thread CMWiii
Sorry for the delay in getting back to this but I found the problem after revisiting the code a few days later. It actually worked correctly but two of the applications (2 of 10) I was testing against had a problem. What they were doing was actually starting another instance of themselves which g

Re: [android-developers] How to manage an event by 2 widgets

2010-07-10 Thread Mark Murphy
On Sat, Jul 10, 2010 at 5:22 PM, Sebastián Treu wrote: >> Then clone the Gallery class in your project and make your changes there. > > I thought on that, but my 'clone' will be on my package and there's > some protected variables that they don't have (or I can't find them) > the proper getters an

[android-developers] Possible to achieve using relative layout?

2010-07-10 Thread Connick
I have a relative layout with an imageview aligned to parent left and a textview centered horizontally/vertically in the parent. Is there a way I can indicate that the textview should not overlap the imageview should the text be long enough to fill the parent? Cheers, Stace -- You received this

Re: [android-developers] How to manage an event by 2 widgets

2010-07-10 Thread Sebastián Treu
Hi Mark, thanks for the reply. >> If I modify the source code of Gallery.java I >> can manage the fill of the Gallery for the specific items I want (i >> already read the source code). > > Then clone the Gallery class in your project and make your changes there. I thought on that, but my 'clone'

Re: [android-developers] How to manage an event by 2 widgets

2010-07-10 Thread Mark Murphy
On Sat, Jul 10, 2010 at 4:22 PM, Sebastián Treu wrote: > 1) How can I compile the modified API to generete a MyGallery.class to > be added to android.jar? You can't, short of building your own firmware. > If I modify the source code of Gallery.java I > can manage the fill of the Gallery for the

[android-developers] How to manage an event by 2 widgets

2010-07-10 Thread Sebastián Treu
Hi all, I want to change how a gallery looks like. I want to add 2 jogs at each side, so looks like this: http://omploader.org/vNHc2Yw/device.png First approach was to add the "jogs" to the ImageAdapter (at the beginning and at the end) for the Gallery. The Gallery will show the items as usual,

[android-developers] Re: Killi Process with files on SD card

2010-07-10 Thread ls02
I register for this broadcast. However the process is killed before I receive any broadcast event. On Jul 10, 2:59 pm, Dianne Hackborn wrote: > There is a broadcast sent when the SD card is being unmounted (sorry I don't > remember the name off-hand).  You should close all your files at that poin

[android-developers] How can I find unneeded permission?

2010-07-10 Thread deg
I am doing radical surgery on a large existing Android app, creating a much smaller app from just part of it. The existing app requests many permissions that I no longer need. I have removed the obvious ones, but I very likely have removed too many or too few. Is there any static way to determine

[android-developers] Re: Preload NinePatchs

2010-07-10 Thread Gyscos
Thanks for the answer ! :) I didn't see how I could tell the Resource to first load the resource in memory, and then create the drawables objects from it, without creating myself the Bitmap / NinePatch objects... If you're referring to the 'getDrawable' command, does this mean I should use this f

[android-developers] Re: Google Maps API in a Live Wallpaper

2010-07-10 Thread Hayden
Thanks for the info! Hmmm, static might work, though the image sizes are limited to 640x640. From looking at some of the Google API terms, using static maps or javascript does not allow for commercial use, though the Google Maps API for Android does. So, it appears I need to figure out how to use

Re: [android-developers] Re: Run app in full resolution?

2010-07-10 Thread Dianne Hackborn
For what it's worth, I think if you use the Eclipse IDE it has a nice GUI for editing the manifest file. On Sat, Jul 10, 2010 at 12:04 PM, Deren wrote: > Thanks, I had the targetsdkversion, but I tried to put it in the > application-tag, that why it didnt work. > > On 10 Juli, 20:51, Dianne Hack

[android-developers] Re: Run app in full resolution?

2010-07-10 Thread Deren
Thanks, I had the targetsdkversion, but I tried to put it in the application-tag, that why it didnt work. On 10 Juli, 20:51, Dianne Hackborn wrote: > (Or hopefully in the not too distant future, just forget about building > against 1.5.) > > On Sat, Jul 10, 2010 at 11:49 AM, Dianne Hackborn wrote

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

2010-07-10 Thread Dianne Hackborn
On Fri, Jul 9, 2010 at 11:33 PM, keno wrote: > Dianne, can you give any guidance on when to use copy protection and > when not to? > Personally I would say to never use it. Then again, my arm was twisted to put that in, so I have a little bias against it. ;) -- Dianne Hackborn Android framewo

Re: [android-developers] Preload NinePatchs

2010-07-10 Thread Dianne Hackborn
The platform already does this for you -- just retrieve the Drawable through the Resources object. On Sat, Jul 10, 2010 at 6:32 AM, Gyscos wrote: > Hi people ! > > I'm trying to use 9-patches in my application. > > At first, I created one NinePatchDrawable that I used in every Button, > but this

Re: [android-developers] Killi Process with files on SD card

2010-07-10 Thread Dianne Hackborn
There is a broadcast sent when the SD card is being unmounted (sorry I don't remember the name off-hand). You should close all your files at that point. If you don't, the platform needs to kill the process because Linux can't unmount the file system while any files remain open on it. On Sat, Jul

[android-developers] Block incoming calls without disabling Bluetooth - i.e., DND (do not disturb) mode

2010-07-10 Thread WhitneyApps
I'm working on an app that should have the ability to disable incoming calls for a user-specified period of time. It should work much the way a "DND" (do not disturb) button works on an office phone. I've looked over the SDK, and I can't find any way to send phone calls to voicemail without putti

Re: [android-developers] Run app in full resolution?

2010-07-10 Thread Dianne Hackborn
(Or hopefully in the not too distant future, just forget about building against 1.5.) On Sat, Jul 10, 2010 at 11:49 AM, Dianne Hackborn wrote: > Or just android:targetSdkVersion="4" or greater. > > > On Sat, Jul 10, 2010 at 11:36 AM, Mark Murphy wrote: > >> Add the appropriate element to your ma

Re: [android-developers] Run app in full resolution?

2010-07-10 Thread Dianne Hackborn
Or just android:targetSdkVersion="4" or greater. On Sat, Jul 10, 2010 at 11:36 AM, Mark Murphy wrote: > Add the appropriate element to your manifest. > > On Sat, Jul 10, 2010 at 2:28 PM, Deren wrote: > > I have an application which is basically a surfaceview, where height/ > > width is set to f

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

2010-07-10 Thread Denzil Ferreira (dferreira)
So that means that we can't make a call manager? Like incoming call -> voicemail / reject call automatically and such? On Jul 9, 4:49 pm, Matt wrote: > 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,

Re: [android-developers] Run app in full resolution?

2010-07-10 Thread Mark Murphy
Add the appropriate element to your manifest. On Sat, Jul 10, 2010 at 2:28 PM, Deren wrote: > I have an application which is basically a surfaceview, where height/ > width is set to fill_parent. I run it on a htc desire, but when I > check the size of the view (or the canvas I obtain), it says 3

[android-developers] Run app in full resolution?

2010-07-10 Thread Deren
I have an application which is basically a surfaceview, where height/ width is set to fill_parent. I run it on a htc desire, but when I check the size of the view (or the canvas I obtain), it says 340x533, so some kind of scaling seems to be done. Also, I load a bitmap, which seems to be scaled. Do

[android-developers] Re: Google Maps API in a Live Wallpaper

2010-07-10 Thread Maps.Huge.Info (Maps API Guru)
Have you considered using the Maps v3 JavaScript API (in a webview)? Would that work with a live wallpaper? There's a static map API with that as well. I believe the terms of the Google Maps API - v3 allow such a use, as long as you have it available free in the market that is. -John Coryat -- Y

[android-developers] Re: IP infringements on the Market

2010-07-10 Thread Maps.Huge.Info (Maps API Guru)
50+ - I'm from a time that if you plagiarized to write a paper, you got expelled from school. That mentality stuck. -John Coryat -- 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@google

[android-developers] Re: ListView containing multiple, clickable, Views (i.e. like GMail)

2010-07-10 Thread jamesc
Replying to my own question. It appears that I screwed-up when registering the Button's listener, which presumably resulted in the unresponsive state observed. On Jul 10, 3:30 pm, jamesc wrote: > Hi > > I've been wrestling with trying to achieve something similar to the > GMail app's ListView en

[android-developers] Google Maps API in a Live Wallpaper

2010-07-10 Thread Hayden
Is there a way to use the Google Maps API in a live wallpaper? From looking at the API, it requires a MapActivity which I'm not sure how can work with a WallpaperService. It's obviously possible since there is the Google Maps live wallpaper included in Google Maps for Android, but wasn't sure if t

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

2010-07-10 Thread Brad Gies
Hi Pedro, There are several ways to do it, but you probably want to do it when you create the overlay. If you are not using the overlayItem tag for anything else, just set the tag to the Geopoint, and then you can access it by casting the tag to a Geopoint after you get the item in the code b

[android-developers] Re: IP infringements on the Market

2010-07-10 Thread michael
Hi Yahel, thanks for your view! Personally I'm not worried about the ethics of say hurting Disney either. I just don't want to get myself into legal trouble because I don't fully understand the consequences. Maybe you are right though, and I take it all too seriously -- I'm in the upper end (29) o

[android-developers] Re: IP infringements on the Market

2010-07-10 Thread Yahel
Hi Michael, You need a little more cynism :) What will happen to these infringers and their app if they get caught ? They will receive a cease-and-desist letter from the rights holders and maybe Google will ban the appMost likely not the developper, just the app. So thinking about it being

[android-developers] Killi Process with files on SD card

2010-07-10 Thread ls02
I found that Android kills my app process that has files open on SD card when the card is mounted when the device connects to a computer. It is done without any notification, I see in the log something like KillProcessWithFilesOpenedOnCard message, my app receives no notification, has no chance to

Re: [android-developers] Send data from my android application to tomcat server

2010-07-10 Thread Brad Gies
HttpClient On 07/07/2010 8:52 AM, NewB wrote: Hello All, I'm trying to send a simple string (an access token I receive in the same program from another server) from my android emulator to my tomcat server running locally. Any ideas on where I should be looking? Thanks in advance!

[android-developers] Re: GPS accuracy reliability

2010-07-10 Thread jgostylo
In answer to some questions. I am setting up the network location finder and the GPS location finder using 2 separate LocationListeners. I have some logic that determines what the user has activated so I only listen to gps if the have gps enabled and so forth. >From my user feedback it seems lik

[android-developers] Re: Mapping Application

2010-07-10 Thread vineet
Hi there, let me be specific. We are building a ranging application for which the data will be provided to mobile application by formats (say by Mobile Atlas Creator http://mobac.dnsalias.org/) now application will be when the users wish to go to remote areas, say villages, forests, where they cou

[android-developers] Re: IP infringements on the Market

2010-07-10 Thread Maps.Huge.Info (Maps API Guru)
Virtually every market category is just stuffed with copyright violators. In my favorite category, "News & Weather" there is a developer that has about 50 apps that all violate someone's copyright. This developer basically scrapes a web site and publishes it as an app, and runs his ads in it. Does

[android-developers] Re: GPS accuracy reliability

2010-07-10 Thread Maps.Huge.Info (Maps API Guru)
You can manage the orientation changes yourself and eliminate this source of device confusion, it's quite easy, just add android:configChanges="orientation" to your manifest's activity. As for the signal source, just make sure to check your provider for "gps" - if it says gps, it will be from that

[android-developers] InstrumentationTestCase.sendKeys() fails on headless emulators

2010-07-10 Thread Matthias
Hi, before reporting this as a bug, I thought I'd ask here (I also posted on stackoverflow with no reply so far, but the Google developers don't seem to be actively posting there anyway -- http://stackoverflow.com/questions/3214531/how-to-send-key-events-to-a-headless-emulator-in-an-instrumentatio

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

2010-07-10 Thread Nazgulled
Yeah, yoy're right... Thanks. On Jul 10, 9:07 am, RichardC wrote: > Just a guess then (as i have never built from the source) you said you > had > > >"I downloaded the HEAD revision of the Voice Dialer from GIT (" > > you probably need to download all of the source and build it from the > root a

[android-developers] Re: GPS accuracy reliability

2010-07-10 Thread JP
That was my thought. Unless location provider registration is managed through the variety of app lifecycle state changes, it is easy to put an app in a state where it acquires the device location using Network based location providers, even though the user selected GPS and unselected everything el

[android-developers] ListView containing multiple, clickable, Views (i.e. like GMail)

2010-07-10 Thread jamesc
Hi I've been wrestling with trying to achieve something similar to the GMail app's ListView entries (i.e. clicking/tapping on the whole entry will start a new Activity (in GMail's case the email proper), and there's a Button (of sorts) on the right side of the entry that should call back to the re

Re: [android-developers] Re: ListView : TextView : text on left and right not working

2010-07-10 Thread Mark Murphy
On Sat, Jul 10, 2010 at 9:44 AM, elubin wrote: > Marquee doesn't help me and i don't want to use fixed width.  Is there > a way to do this with a table?  RelativeLayout?  LinearLayout? All three, probably, though TableLayout would be the messiest. > I would think this is a normal request?  text

[android-developers] Re: ListView : TextView : text on left and right not working

2010-07-10 Thread elubin
Marquee doesn't help me and i don't want to use fixed width. Is there a way to do this with a table? RelativeLayout? LinearLayout? I would think this is a normal request? text on left and right, with the left text stretching as much as it can. -- You received this message because you are sub

[android-developers] Re: GPS accuracy reliability

2010-07-10 Thread RichardC
Get enough data sets and you know where the tracks are :) On Jul 10, 12:15 pm, Pent wrote: > > 2) in the backend applcation - Trains travel on tracks (hopefully) so > > ignore all GPS positions that we cannot map on to a track. > > Oh I'm highly jealous, wish I could filter on tracks as well.

[android-developers] Preload NinePatchs

2010-07-10 Thread Gyscos
Hi people ! I'm trying to use 9-patches in my application. At first, I created one NinePatchDrawable that I used in every Button, but this lead to some problems : http://pastebin.com/pBep1NM0 This happened with any Drawable, including NinePatchDrawable or BitmapDrawable. Someone told me that it

[android-developers] Re: IP infringements on the Market

2010-07-10 Thread michael
Hi again, > Doing so may well violate their DMCA safe harbor provisions and open > them up to big-ticket lawsuits. I suspect that they are best served by > following the DMCA rules, which requires takedown notices by the > rights holders (e.g., Disney). I didn't think of that but good point. I a

Re: [android-developers] Re: IP infringements on the Market

2010-07-10 Thread Mark Murphy
On Sat, Jul 10, 2010 at 8:37 AM, michael wrote: > However, I doubt flagging apps as inappropriate will have much of an > effect. I am sure you are correct. To be honest, I was just trying to make you happy, because I am guessing that you won't like anything else that I tell you. AFAICT, the only

[android-developers] Re: IP infringements on the Market

2010-07-10 Thread michael
Thanks for your reply Mark. However, I doubt flagging apps as inappropriate will have much of an effect. Surely Google is already aware of the issue and choose not to do anything about it. But who knows, maybe they would react if infringing apps are flagged by sufficiently many people. /Michael.

Re: [android-developers] IP infringements on the Market

2010-07-10 Thread Mark Murphy
On Sat, Jul 10, 2010 at 6:10 AM, michael wrote: > Should infringing apps just > be accepted, or is there something we as a community can do to deal > with the problem? In the Market listing, click "Flag as inappropriate", then "Other objection". -- Mark Murphy (a Commons Guy) http://commonsware

[android-developers] Re: GPS accuracy reliability

2010-07-10 Thread Pent
> 2) in the backend applcation - Trains travel on tracks (hopefully) so > ignore all GPS positions that we cannot map on to a track. Oh I'm highly jealous, wish I could filter on tracks as well. Pent -- You received this message because you are subscribed to the Google Groups "Android Devel

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

2010-07-10 Thread Mathias Lin
@Dan: version is [ro.build.fingerprint]: [Samsung/GT-I9000/GT-I9000/GT-I9000:2.1- update1/ECLAIR/I9000XXJF3:user/release-keys] @blindfold: yes, after commenting out the parameter p.set(ROTATION, 90) it looks ok now, thanks. I just need to rotate the image afterwards manually then, since it's in w

[android-developers] Re: 4001b180 exception

2010-07-10 Thread Al Sutton
That line alone probably isn't enough to give you a good answer. Can you put the complete output from logcat onto a web server somewhere and add the URL to this thread. Al. On Jul 10, 9:08 am, Abhyudai Shanker wrote: > Hey Guys, > > In my mobile log, m getting the following exception: > > W/dal

[android-developers] IP infringements on the Market

2010-07-10 Thread michael
Hi folks, I thought I would ask other developers for their opinions on the large number of apps on the market which seem to infringe on third-party intellectual property. I have apps in the free Casual Game category, and a quick count reveals that out of the 200 top apps, at least 30 very likely

[android-developers] Re: About the testing of Bluetooth

2010-07-10 Thread moneytoo
Currently such thing cannot be done easily. It's possible but you'd have to write your own implementation of OBEX on top of RFCOMM. On Jul 8, 11:17 am, Sam wrote: > Hi All, > > I have some questions about the testing of bluetooth. > > I have tried the bluetooth chat and it worked pretty well on

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

2010-07-10 Thread zeeshan mirza
Can you see what i have replied rather than criticizing whether i can develop this application or not. It is better to do something rather than sitting and wasting time. Regards, Shan On Sat, Jul 10, 2010 at 11:08 AM, Hugo Visser wrote: > Michael gave you the solution, if you can't understand t

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

2010-07-10 Thread Hugo Visser
Michael gave you the solution, if you can't understand that, maybe building this app is kinda out of your league. On Jul 10, 3:23 am, zeeshan mirza wrote: > Anyone who can help me > > BR, > shan > > On Fri, Jul 9, 2010 at 12:28 AM, zeeshan mirza < > > > > zeeshan.nabeel.mi...@gmail.com> wrot

[android-developers] Re: Prefill databases

2010-07-10 Thread vineet
See this link.. it may help http://vineetyadav.com/tutorials/11-adding-prefilled-sqlite-database-to-android-app.html On Jul 10, 1:10 am, Jaap wrote: > Hi, > > 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

Re: [android-developers] How to get selected text from EditView and color it

2010-07-10 Thread YuviDroid
Ops, I just noticed now that you asked for 'text selection'...sorry! Still, you can use the getText() to get the entire text, and then use the String method: substring(int start, int end) to get only the selected text. On Sat, Jul 10, 2010 at 10:55 AM, YuviDroid wrote: > Do you mean EditText

Re: [android-developers] How to get selected text from EditView and color it

2010-07-10 Thread YuviDroid
Do you mean EditText or TextView? Anyway, in both cases to get the text: yourEditText.getText().toString(); to change the text color you can use: yourEditText.setTextColor(Color.WHITE); Hope it helps. On Sat, Jul 10, 2010 at 8:32 AM, monty wrote: > hey everyone > Culd any1 please tell me h

[android-developers] 4001b180 exception

2010-07-10 Thread Abhyudai Shanker
Hey Guys, In my mobile log, m getting the following exception: W/dalvikvm( 902): threadid=3: thread exiting with uncaught exception (group=0x4001b180) Does anyone happen to know what this exception refers to and how can I get rid of it. Coz, my complete program stops due to this exception. Reg

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

2010-07-10 Thread RichardC
Just a guess then (as i have never built from the source) you said you had >"I downloaded the HEAD revision of the Voice Dialer from GIT (" you probably need to download all of the source and build it from the root as most of the projects use components from other projects. On Jul 10, 3:41 am, Na

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

2010-07-10 Thread blindfold
I have no experience with Samsung, but did you try uncommenting all of p.set(ORIENTATION, PORTRAIT); p.set(ROTATION, 90); p.setPreviewSize(s.width,s.height); to see what happens? > Anybody experiencing such issue on the Samsung Galaxy S as well? -- You received this message because you are subsc

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

2010-07-10 Thread Al Sutton
Actually getting the setting is pretty difficult because it's not a universal setting (CDMA devices don't have a preferred network type setting), so the setting itself isn't exposed in a universal way. You could try setting up a broadcast receiver for ConnectivityManager.CONNECTIVITY_ACTION and te