Re: [android-developers] ClearTaskOnLaunch flag is not working

2010-01-15 Thread kavitha sunil
Can someone please suggest a solution for this? On Thu, Jan 14, 2010 at 4:45 PM, Android Developer kavithasuni...@gmail.com wrote: Hi, I have two activities in an application Activiy1 and Activity2 where Activity1 is the launcher. i have set clearTaskOnLaunch=true for activity one using

[android-developers] Re: subclasses vs constructors

2010-01-15 Thread MrChaz
A constructor is what is called when you create a new instance of a class i.e. new Integer() calls the constructor of the Integer class. A subclass is a class which extends another class. You do this so that you can share functionality without duplicating code On Jan 15, 7:40 am, Duey Oxburger

Re: [android-developers] Forcibly using 3G or CDMA network even though wi-fi is available.

2010-01-15 Thread tauntz
Apps that need to route all client-server communication through the operator infrastructure. One reason for this is that for example for client- server HTTP requests, the operator will add various parameters to the request (like subscriber ID/name/phone number/whatever) so our server side app will

[android-developers] Re: How to have fullscreen keyboard in portrait mode ?

2010-01-15 Thread mr
No one have any tips for this ? On 13 jan, 09:27, mr mrduch...@gmail.com wrote: Hello, I wan't to have this result :https://docs.google.com/a/google.com/File?id=afzfgn3h3x_10dwd35pv4_b but in portrait mode the EditText take all the screen with the keyboard. How can I do that ? thank

[android-developers] horizentally center aligned

2010-01-15 Thread Jags
i have this layout LinearLayout android:id=@+id/llcmd android:orientation=horizontal android:layout_height=wrap_content android:layout_width=fill_parent android:layout_gravity=center_horizontal Button android:layout_height=wrap_content

[android-developers] Change network operator

2010-01-15 Thread SGAdrian
Hi, is there a way to change network operator or list available networks from the public API:s? BR, Sven -- 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: Accelerometer Reading ranges

2010-01-15 Thread ko5tik
On Jan 14, 2:17 am, MPower123 michaelh...@gmail.com wrote: Hi, I am writing a game for android phone and I want to know what is the range of values that can be read from the accelerometer? I want to know how many Gs can be read from the accelerometer? Or is this dependant on the phone?

[android-developers] RadialGradient question

2010-01-15 Thread schwiz
I am having problems with the constructor RadialGradient (float x, float y, float radius, int[] colors, float[] positions, Shader.TileMode tile) If I don't pass null into positions I get a force close the logcat spits out a bunch of stuff about frame layout. So my question is what exactly do they

[android-developers] Re: RadialGradient question

2010-01-15 Thread schwiz
Ok I was making a stupid mistake and not calling new before I set the floats in the array, so my forceclose is fixed, however it doesn't matter what numbers I put the in the array the gradient always looks the same. How can I give the inner color more weight? Thanks! Nathan On Jan 15, 3:25 am,

[android-developers] Re: get outgoing call details in background

2010-01-15 Thread RoSippA
Hi, please explain how to do it. I need to get realtime duration call. Thank you very much. On Nov 20 2009, 10:06 pm, patrizio.munzi patrizio.mu...@eris4.com wrote: Hi guys, in this last month I've been trying to develop on Android. I've tried a few stuff and also Nemat's code for

[android-developers] Re: Forcibly using 3G or CDMA network even though wi-fi is available.

2010-01-15 Thread Jens
For the same reason you added the feature that allows the MMS application to switch to a specific APN even when WiFi is available. lots of mobile apps require you to go through a specific APN - for billing purposes amongst other things. Dongjoon: You could check if the same crazed hack that

[android-developers] Re: horizentally center aligned

2010-01-15 Thread Kumar Bibek
This is ok. Doesn't this work?? Kumar Bibek On Jan 15, 2:19 pm, Jags jag...@gmail.com wrote: i have this layout         LinearLayout android:id=@+id/llcmd android:orientation=horizontal                 android:layout_height=wrap_content android:layout_width=fill_parent                

[android-developers] listitem listener is not being called

2010-01-15 Thread grace
hi, i've tried displaying a simple list using listactivity. it is working fine but the problem is with the listener. when i click on ant list item with mouse ,the onListItemClick() listener is not called.. strangely this is working fine when i click the key-upkey-down keys. can anybody tell

[android-developers] Re: Solved: OpenGL; GL11.glDrawTexiOES does not seem to work for Nexus One

2010-01-15 Thread PaulT
On Jan 12, 5:24 am, Streets Of Boston flyingdutc...@gmail.com wrote: Just before my backgrounds were drawn, parts of my objects were drawn with this called in the GL: gl.glFrontFace(GL10.GL_CW); I think there are other issues with glDrawTexiOES as I find on the N1 it will not work with

[android-developers] Re: Some application / market questions

2010-01-15 Thread Neilz
Hi Kevin, yes I think you summed it up nicely. We want a paid app which, when the levels have been completed, a new set can be installed for an additional purchase. I don't think running a web server to connect to is an option in this case (not currently anyway) so the update packs would all

[android-developers] ListView issue

2010-01-15 Thread Manoj
Hi I am using a list view and populating it with a Adaptor in which i have taken contacts from the system. At a time there are 7 items displays and the rest are out of screen. I have taken checkbox as an item for each row in list view. There are about 30 contacts in my emulator added. Now if i

Re: [android-developers] Re: How to have fullscreen keyboard in portrait mode ?

2010-01-15 Thread Dianne Hackborn
There isn't a facility for the app to request such a thing; it is up to the current IME. On Fri, Jan 15, 2010 at 1:16 AM, mr mrduch...@gmail.com wrote: No one have any tips for this ? On 13 jan, 09:27, mr mrduch...@gmail.com wrote: Hello, I wan't to have this result :

[android-developers] WebKit : how to scoll content from JavaScript ?

2010-01-15 Thread Nanard
Hi, My application uses Webkit to display its content. I use SPAN tags to change characters background. A few char at a time. The char 'selection' moves in the WebKit view. It can then select character which are in a non visible part of the HTML page How can I scroll the WebView display

[android-developers] Webview - XPath in Javascript

2010-01-15 Thread Nugman
I need XPath to work inside a WebView. I try to open a webpage that requests XPathResult inside a javascript function. But this doesnt work. 01-15 11:26:36.840: DEBUG/WebCore(5173): Console: ReferenceError: Can't find variable: XPathResult line: 391 source: file:///sdcard/.SWR/main.js What to do

[android-developers] Load image from Jar file

2010-01-15 Thread mscwd01
Hey, I realise the correct way to load an image is from res/drawable but imagine that was not a possibility. If you had to load an image from an attached jar file, how would one achieve it? Many thanks -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: UI Design Book

2010-01-15 Thread Sam Dutton
Not sure what your background is, and neither of these is oriented specifically to mobile UI design, but both are good (I think the first is by far the most useful usability/UI book): Don't Make Me Think!

[android-developers] Re: Options for sound in games

2010-01-15 Thread Neilz
Ogg files eh? Will give it a try, thanks for the tip. On Jan 14, 7:06 pm, dec...@shanaghy.com declanshana...@gmail.com wrote: I've found SoundPool to be more reliable when you use ogg format files. Anything else causes trouble. For example sounds wont play or exceptions are thrown. On Jan

[android-developers] Re: how to catch map zoom in/out event for Android 1.5

2010-01-15 Thread Vincent
To JP Thanks for your reply!! I didn't think of your idea!! As you wrote, I managed to capture zoom in/out manipulation in onDraw () method. ---onDraw method--- tempZoom = mapView.getZoomLevel(); if (tempZoom != mZoomLevel) { bla bla bla } mZoomLevel = tempZoom;

[android-developers] Finding if softkeyboard is visible in landscape mode

2010-01-15 Thread aniket ray
Hi, I wanted a way to find out whether a softkeyboard is visible at any given time. If I set the windowSoftInputMode property to adjustResize, I receive resize events in the portrait mode (onSizeChanged gets called). I use these events to find out whether the softkeyboard is visible or not. But

[android-developers] Re: ListView issue

2010-01-15 Thread Kumar Bibek
Hi Manoj, ListView is designed in such a way that it doesn't create holders for views that are not visible. The correct way to access the data is to use the Adapter which you would have bound to the list view. The adapter depending on your implementation would hold all the data which is not

[android-developers] Reading and writing to same file.

2010-01-15 Thread Alok Kulkarni
Hi guys, I have a basic question. Can we write to and read from the same file at a time ? I want to do this for Media Player application. One thread writes to the file and the other thread reads the file to play. I have seen the demo app custom-media-streaming-with-mediaplayer where they pause

[android-developers] Re: Videogame efficency

2010-01-15 Thread miguel
Thank you very much! -- 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+unsubscr...@googlegroups.com For

Re: [android-developers] fontconfig

2010-01-15 Thread vijayendra R
Thanks lot for replying ... I am new to this platform.. may i know which library is used instead of fontconfig in andriod On Fri, Jan 15, 2010 at 12:58 AM, David Turner di...@android.com wrote: There is no fontconfig in Android, period, and probably will never be. I don't know how you can

[android-developers] Re: Accelerometer Reading ranges

2010-01-15 Thread MPower123
Can anyone comment on the accelerometer's accuracy? I've read on other threads that, in general, it is very in accurate but has anyone tried to write a signal conditioner to smooth out the signal? On Jan 14, 4:35 pm, Chris McClanahan mcclanahooc...@gmail.com wrote: I believe the max

[android-developers] which folders can we safely access in a droid device?

2010-01-15 Thread guiha...@gmail.com
Hi, I know that we can safely write to /data/data/app_package... however, can the application also create folders and maybe access other folders as well, such as system? I could easily create an application to test that, but what i really want to know if the official Android approach to this

Re: [android-developers] which folders can we safely access in a droid device?

2010-01-15 Thread Mark Murphy
guiha...@gmail.com wrote: I know that we can safely write to /data/data/app_package... however, can the application also create folders and maybe access other folders as well, such as system? Not on a production device. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] READ_SMS permissions not working

2010-01-15 Thread draf...@gmail.com
Hi all, I keep getting the following error: 01-15 12:29:28.155: ERROR/DatabaseUtils(115): java.lang.SecurityException: Permission Denial: reading com.android.providers.telephony.SmsProvider uri content://sms from pid=1004, uid=10054 requires android.permission.READ_SMS Even though I have the

[android-developers] Re: Preparing for Droid OpenGL issues

2010-01-15 Thread shaun
Be aware that Android 2.0.1 and 2.1 both return bits instead of bytes for Float.SIZE. The expected return value is 4, but 32 is returned for some reason! This was used in a couple of places where allocation was involved and fatal errors ensued. Just so happens the errors were in OpenGL part of

Re: [android-developers] Re: UI Design Book

2010-01-15 Thread Mihai Fonoage
Thanks Sam for the useful info! Mihai Fonoage On Fri, Jan 15, 2010 at 7:13 AM, Sam Dutton sam.dut...@gmail.com wrote: Not sure what your background is, and neither of these is oriented specifically to mobile UI design, but both are good (I think the first is by far the most useful

[android-developers] Re: Preparing for Droid OpenGL issues

2010-01-15 Thread shaun
Sorry. I need to be clear that the Float.SIZE usage I mentioned was in my code not the Android OpenGL code. On Jan 15, 10:00 am, shaun shashepp...@gmail.com wrote: Be aware that Android 2.0.1 and 2.1 both return bits instead of bytes for Float.SIZE.  The expected return value is 4, but 32 is

[android-developers] Re: which folders can we safely access in a droid device?

2010-01-15 Thread guiha...@gmail.com
Hi, So, in a production device, we can't access any folder besides the data/data/package? Not even create a folder at the root? thanks guich -- 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: Eclipse no longer runs application

2010-01-15 Thread OldSkoolMark
I presume you've already tried the special 'android-fix project properties' command thats off a right click on your project. I've occasionally had an Eclipse workspace go bad. You may need to go to the nuclear option. Make sure all your source files are somewhere outside your current Eclipse

Re: [android-developers] Re: which folders can we safely access in a droid device?

2010-01-15 Thread Mark Murphy
guiha...@gmail.com wrote: So, in a production device, we can't access any folder besides the data/data/package? Not even create a folder at the root? Correct. You can manipulate files in /data/data/your.package.here and on the external storage (exact path varies by device, but typically

[android-developers] Alarm Manager Query

2010-01-15 Thread JimmyHoffa
Hi All, I'm new to using the alarm manager and was wondering if the following is possible.. I am creating a Android 2 Application which uses a database to store 'appointments' , date/who/reason etc.. What I want to do when viewing an appointment is to allow the user to select Remind Me +

Re: [android-developers] Alarm Manager Query

2010-01-15 Thread Mark Murphy
JimmyHoffa wrote: Hi All, I'm new to using the alarm manager and was wondering if the following is possible.. I am creating a Android 2 Application which uses a database to store 'appointments' , date/who/reason etc.. What I want to do when viewing an appointment is to allow the user

[android-developers] Re: Preparing for Droid OpenGL issues

2010-01-15 Thread shaun
I apparently live under a rock: Float.SIZE = Constant for the number of bits needed to represent a float in two's complement form. Taken from Android API (Java 1.5+ API same). Sheepish. On Jan 15, 10:04 am, shaun shashepp...@gmail.com wrote: Sorry.  I need to be clear that the Float.SIZE usage

[android-developers] Market behavior questions ..

2010-01-15 Thread dan raaka
As the subject says .. #1 I can see the update available icon on the notification bar - what is the time interval used by the market/vending app to check if there is any update availability ? #2 If I buy an app and then reset the device - Will market allow me to install the app which I paid for

[android-developers] Re: Invalidate and a card flip

2010-01-15 Thread Gregg Reno
Thanks for the reply Beth. I'll take a look at the ImageSwitcher. Since posting this, I found a workaround that seems to work. Basically I do the face up flip, and then send a message to the activity. The message handler does the face down flip like this. Here is some of the code: private

Re: [android-developers] Re: Force locale for an application, bug in 2.0?

2010-01-15 Thread Adrian Vintu
There is a bug when changing the Locale on the Motorola Milestone. The font gets smaller each time the updateConfiguration(...) is called. See here an article on this and the fix: http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx BR, Adrian Vintu On Sun, Dec 27, 2009 at 11:13

[android-developers] changing Locale (updateConfiguration(...)) on Milestone makes the fonts smaller

2010-01-15 Thread Adrian Vintu
Hi all, There is a bug when changing the Locale on the Motorola Milestone. The font gets smaller each time the updateConfiguration(...) is called. See here an article on this and the fix: http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx BR, Adrian Vintu -- You received this

[android-developers] Motorola Droid (possible android) multi-touch bug and how to reproduce

2010-01-15 Thread Mirmathrax
Multi-touch API is bugged (at least on Motorola Droid). Here is a method to reproduce the error for analysis: 1) Create a new android project in Eclipse with the following fields: Project name: PointerLocation Build target: Android 2.0.1 Application Name:

[android-developers] Re: Alarm Manager Query

2010-01-15 Thread JimmyHoffa
Thanks Mark, I didnt realise that they need re-esablishing so that's good to know. I'm concerned whether the alarms can be removed individually, as in the SDK it appears that they are removed by calling remove and passing in an Intent, which suggests, if one alarm is removed, they all are and

[android-developers] Opening main.xml causes Eclipse to crash out

2010-01-15 Thread courageac
When I open /layout/main.xml in a newly created Android Projects in Eclipse Galileo, it crashes Eclipse completely, i.e. Eclipse will just close and exit. This only happens with the Android Projects created using SDK 1.6, 2.1. SDK 1.5 2.0 are fine. Anybody has any clue? P.S. All the other

[android-developers] Re: Nexus One - Stalled when downloading Apps from Market using Wi-Fi

2010-01-15 Thread courageac
Let me clarify, I haven't activate the data plan on T-Mobile yet, therefore, I was trying to use Wi-Fi to download apps. Actually, found out it's something w/ my old Wi-Fi router, not the Nexus One. After I switch to a newer router, Nexus One works fine, i.e. no problem in downloading apps.

[android-developers] Re: Camera recorder fail to prepare on Android 2.0.1

2010-01-15 Thread Mr Pinguin
I have the same error by recording audio on android 2.1 On 22 Dez. 2009, 04:43, Tuấn anhtuanbk...@gmail.com wrote: Hi all, I have a problem with Android 2.0.2. My app use camera to record video. It works well on Android 2.0. But when I run it on Android 2.0.1, my app forced close when start

Re: [android-developers] Re: RadialGradient question

2010-01-15 Thread Romain Guy
It does matter, the positions are numbers between 0 and 1 indicating where each color stop should be in the gradient (0 == center, 1 == outside.) On Fri, Jan 15, 2010 at 1:33 AM, schwiz sch...@gmail.com wrote: Ok I was making a stupid mistake and not calling new before I set the floats in the

Re: [android-developers] Re: Restoring focus to ListView

2010-01-15 Thread Romain Guy
I wonder if this behavior should be defeatable. No. No. No. No. Currently, if the user navigates then clicks the ListView using the trackball and then hits the back button from the pop-up Activity without ever touching the screen, the system behaves as if there had been a touch.  In my

[android-developers] Initialization Order? ContentProvider vs. Application

2010-01-15 Thread Mariano Kamp
Sometimes less than 1 promille of the database upgrades of my app fail. This in itself would be annoying, but what is worse that I don't get to know about it .. usually. I installed an exception handler in my Application, but it seems that the ContentProvider get initialized before the

[android-developers] Re: Motorola Droid (possible android) multi-touch bug and how to reproduce

2010-01-15 Thread Lance Nanek
Have you created on official issue for it at http://b.android.com/ ? On Jan 15, 11:09 am, Mirmathrax mirmath...@gmail.com wrote: Multi-touch API is bugged (at least on Motorola Droid). Here is a method to reproduce the error for analysis: 1)  Create a new android project in Eclipse with the

Re: [android-developers] Re: Alarm Manager Query

2010-01-15 Thread Mark Murphy
JimmyHoffa wrote: Thanks Mark, I didnt realise that they need re-esablishing so that's good to know. I'm concerned whether the alarms can be removed individually, as in the SDK it appears that they are removed by calling remove and passing in an Intent, which suggests, if one alarm is

[android-developers] Re: Alarm Manager Query

2010-01-15 Thread JimmyHoffa
I'll look into that, thanks for your input. On Jan 15, 5:09 pm, Mark Murphy mmur...@commonsware.com wrote: JimmyHoffa wrote: Thanks Mark, I didnt realise that they need re-esablishing so that's good to know. I'm concerned whether the alarms can be removed individually, as in the SDK it

Re: [android-developers] Re: Buy one Nexus One in Argentina

2010-01-15 Thread Mario Chacon
Hola Moto, Todo puede ser posible en nuestra querisima Argentina. Desde hace un tiempo el milestone se comercializa en Argentina, pero estoy interesado en algunos características que tiene Nexus One, Si conoces alguna forma de acercarlo hasta aca, por favor no dudes en avisarme. Saludos desde

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-01-15 Thread Tanmay
I tried doing this in 1.6 but still gave me the Prepare Failed 0x1 error along with the PVMFFailure in the log. Has there been any solution to this one developed yet? On Dec 14 2009, 10:13 pm, YaushiIizuka vse5...@gmail.com wrote: Hi. String url = http://your.url;; MediaPlayer mp = new

[android-developers] Sample or Tutorial in using OpenGL in a Live Wallpaper in SDK 2.1?

2010-01-15 Thread Kermee
Hi All, I've been checking out the Canvas-based CubeLiveWallpaper which uses Paint to create a rotating 3D Cube and it works very well. I've been trying to get my head wrapped around how to move/port the GLSurfaceViewActivity/CubeRenderer/Cube from the API samples into a Wallpaper Service but

[android-developers] play video bypass surfaceflinger

2010-01-15 Thread Ocean
Dears, When we play a movie, the movie will decode by opencore. for example, a 720p video will decode to 1280*720 image size. then this frame will throw to surfaceflinger. and the sufracflinger will change the size to display size then throw the image to copybit then show on display. But, we

[android-developers] How to unlock HTC magic retail to dev phone?

2010-01-15 Thread Captain___nemo
Hi, I am a new android developer in China. Unfortunately, dev phone is not available in here. And it's almost impossible and hazardous to get one from US. However I can buy retail version of the phone and I would prefer HTC magic with 288 MB RAM version (for more RAM and memory, so that I can

[android-developers] Showing the map view before the direction list on android device.

2010-01-15 Thread masahiko
Hi, I've been trying to start the google maps directions from my application. Set intent with uri=http://maps.google.com/maps? saddr=33.589684,130.42336daddr=33.590073,130.4236. The defaut setting of the map with direction is to show the direction list before the map view. But I'd like to show

[android-developers] Android 2d graphics help

2010-01-15 Thread Mazi
Hi, i created a 2d game in java that runs as an applet, and i am now trying to translate this over to the android. As the android doesnt used paint() methods, i am thinking that i will have to import images of the game instead of drawing it, but i cannot find out how to do this. Anybody know how

Re: [android-developers] Re: horizentally center aligned

2010-01-15 Thread Sunny Aujla
What happens when the orientation changes? It looks fine to me, should stay center aligned. On Fri, Jan 15, 2010 at 10:33 AM, Kumar Bibek coomar@gmail.com wrote: This is ok. Doesn't this work?? Kumar Bibek On Jan 15, 2:19 pm, Jags jag...@gmail.com wrote: i have this layout

[android-developers] AvoidXferMode

2010-01-15 Thread Hugo Visser
Hi, Could somebody give me an example of how to use AvoidXferMode on a paint? What I'm trying to do is to replace a color by using canvas.drawPaint() and an AvoidXferMode with the color that I want to replace and the operation TARGET. I can't get this working, maybe I'm understanding the workings

[android-developers] Re: How to get device details

2010-01-15 Thread domi
you can get the device details by using android.os.Build sample code String model = android.os.Build.MODEL; String device = android.os.Build.DEVICE; String version = android.os.Build.VERSION.SDK; Log.v(TAG, model =+model); Log.v(TAG, device =+device); Log.v(TAG, version =+version); On Dec 9

[android-developers] Profiling Bitmap Memory

2010-01-15 Thread Gianormous Admin
Hello, My game - Tower Raiders - is continually floating fairly close to running out of bitmap memory... Unfortunately, I haven't found good information on profiling bitmap memory usage so that I can optimize / make informed decisions / add new content if it allows / etc. I'm aware that bitmap

[android-developers] Re: Extending contacts

2010-01-15 Thread kacper
I agree with Jens. What's the point of new API if nobody (except for Android SDK Developers) knows how it works? On 11 Sty, 15:49, Jens dunkingbikk...@gmail.com wrote: This needs to be addressed... The whole ContactsContract API is starting to look like a perfect lesson in how not to publish an

[android-developers] Ringtone from the RingtoneManager always returns null

2010-01-15 Thread Daan
Hey all, I have this piece of code to enumerate the ringtones on the system: RingtoneManager rm = new RingtoneManager(this); Cursor c = rm.getCursor(); c.moveToFirst(); while(!c.isAfterLast()){ Uri geller =

[android-developers] moving emails from trash to inbox

2010-01-15 Thread laxref94595
is there a way to move emails that have been deleted back to inbox? -- 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] ListView touch mode click on child views

2010-01-15 Thread Xavier
Hello, This is driving me nuts. I have a ListView that uses an extended ArrayAdapterT. Each row cell.xml contains a RelativeLayout and within a few TextViews and ImageViews. I have declared in the list xml definition a selector to change the row background: item

[android-developers] Audio Source Input for MIC Recording

2010-01-15 Thread Andy
I found there is a mismatch of define constant in these 2 files for the source input: AudioRecord.h and MediaRecorder.java In native code (AudioRecord.h), the values are... 44 enum input_source { 45 DEFAULT_INPUT =-1, 46 MIC_INPUT = 0, 47 VOICE_UPLINK_INPUT =

[android-developers] Building with Ant

2010-01-15 Thread Andreas Westin
Hi, I've encountered a problem, when I run coverage with ant in my test project from another directory the report disappears, e.g. ant -f some/dir/tests/build.xml coverage. This seems to be the cause that I cannot get reports when building through hudson. Anyone got any ideas ? Cheers Andreas

[android-developers] JOB OFFER--developing the Android SMS application

2010-01-15 Thread Jack Hsu
HI ALL I am looking for the SMS solution in Android cell phone to have the following functions (but not limited), would any one like to help me to develop this application? Payment can discuss. 1. can send and receive the SMS with encryption 2. can automatically store the receiving SMS in

[android-developers] sending around 1000 messages in batch using SMS API

2010-01-15 Thread Hasanat Kazmi
Hi, I have G1. I write python scripts using ASE. I have to send around 1000 SMSes using SMS API in ASE. I wonder if G1 will be able to hold up-to that? moreover, how much pause (time gap/ sleep) should I give between each message sent. Some of my colleges think that its a crazy idea. I should go

[android-developers] Re: Battery Life vs Features

2010-01-15 Thread Michael boggess
I think it depends on a few things, namely how long or often will the user use your app? If they will only use it for a few minutes at a time once a day you can keep all features active that are required for the app. On Jan 14, 3:27 pm, Acchao blazin...@gmail.com wrote: I'm curious as to how

[android-developers] JSON string to Bean

2010-01-15 Thread Bert
I'm using HttpClient to get the response of a webservice (REST servlet) which is a JSON string. This string represents a JSONArray of type Map with key mybeans. I'd like to assemble my bean using the JSON string. Usually I use net.sf.json json-lib and do something like this: String s =

[android-developers] Re: RadialGradient question

2010-01-15 Thread schwiz
I appreciate the reply, however I don't think I understand, I have 2 colors I set the positions to {.75f,.99f} but it looks exactly the same as if I just leave it as null. I have tried experimenting with some other values too but it always looks the same to me. Here is a code snippet

[android-developers] how to make two apks install at the same place

2010-01-15 Thread guiha...@gmail.com
Hi, I have one apk that installs at folder data/data/totalcross.android. Now i have another application that should install the files in that folder. How can i create a apk that does this? thanks in advance guich ps: dear moderator, if this question should not belong to this forum, please

[android-developers] Re: process has died after exiting app

2010-01-15 Thread Albert
Also I am implementing LocationListener() and I am updating my location by requestLocationUpdates(...), so if my process gets killed then I won't receive more location updates untill the alarm manager fires the service again. Is this correct? How can I deal with this? Thanks, Alberto -- You

Re: [android-developers] how to make two apks install at the same place

2010-01-15 Thread Mark Murphy
guiha...@gmail.com wrote: I have one apk that installs at folder data/data/totalcross.android. Now i have another application that should install the files in that folder. Could you explain a bit more what you mean by this? -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: how to make two apks install at the same place

2010-01-15 Thread Brion Emde
You might benefit from reading the article on Security Permissions: http://developer.android.com/guide/topics/security/security.html Each Android application corresponds to a User in Unix. If you want to share files between different applications, you can do that. It is explained in that

[android-developers] Re: Sample or Tutorial in using OpenGL in a Live Wallpaper in SDK 2.1?

2010-01-15 Thread Robert Green
Daniel, I adapted the GLSurfaceView design over to WallpaperService / Engine. Let me get the resources together and I'll post it. On Jan 14, 4:18 pm, Kermee dan...@gmail.com wrote: Hi All, I've been checking out the Canvas-based CubeLiveWallpaper which uses Paint to create a rotating 3D Cube

[android-developers] Google Map retains the reference to the context of the enclosing activity?

2010-01-15 Thread Katsiaryna
Hello All, I am trying to get rid of the memory leaks in my application. The structure of the application is as follows: the main tab activity includes several other activities as its tabs, one of these child activities contains a map view to display a standard Google map. I noticed that after

[android-developers] Re: UI Design Book

2010-01-15 Thread A. Elk
The Designing Visual Interfaces book by Mullet and Sano has some really good reviews. It's available on Amazon, but it's pricey. Tufte is, of course, one of the legends in the field, but his work focuses on quantitative display and interface rather than general user interaction. He does, however,

[android-developers] Re: JSON string to Bean

2010-01-15 Thread Brion Emde
A JSONObject basically is a bean. It's a pretty sophisticated Map. I do similar stuff to you, but I don't fool with Beans. I encapsulated my web service as a content provider. It communicates to me with JSONObjects, and JSONObjects packaging JSONArrays. I get the JSON string and parse it in the

[android-developers] Creating custom button looks?

2010-01-15 Thread Tommy
Hey, Is there a way to create a custom button style? Say I want a round button do I simply take the pre-made round graphic and make it the background of the button or will the button still be a rectangle? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Building with Ant

2010-01-15 Thread A. Elk
What version of the SDK are you using? In Android 2.0 and later, if you create or update your test project with android create test- project or android update test-project, then you get a run-tests target in your build.xml, which sends tests to STDOUT. Or do you mean a specific coverage tool such

[android-developers] Re: Some application / market questions

2010-01-15 Thread Nathan
I've wondered about this because of a variation on number 1. An application, App1, can become quite different application based on whether it has Content Bundle A,B,C even though the code, at least most of it, is the same. Would the Market allow either: 1. Application add-ons, that install into

[android-developers] Re: Sample or Tutorial in using OpenGL in a Live Wallpaper in SDK 2.1?

2010-01-15 Thread Robert Green
Here, I posted all of the code with instructions here - http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers Who's in charge of the wallpaper or GL apis? I think this is an easy design to use and would like to see the GLWallpaperService and GLEngine design added to Android

[android-developers] Re: GL for Live Wallpaper?

2010-01-15 Thread Robert Green
Romain, I adapted the code from GLSurfaceView into a GLWallpaperService/ GLEngine design and posted it here - http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers I'd like for your team to review it and consider adding it (with whatever modifications the API designers deem

[android-developers] Re: READ_SMS permissions not working

2010-01-15 Thread moneytoo
Use content://mms-sms instead if you must but I would recommend you to stick with the official API. On Jan 15, 3:50 pm, draf...@gmail.com draf...@gmail.com wrote: Hi all, I keep getting the following error: 01-15 12:29:28.155: ERROR/DatabaseUtils(115): java.lang.SecurityException:

[android-developers] Re: Creating custom button looks?

2010-01-15 Thread theSmith
use an imagebutton On Jan 15, 1:35 pm, Tommy droi...@gmail.com wrote: Hey, Is there a way to create a custom button style? Say I want a round button do I simply take the pre-made round graphic and make it the background of the button or will the button still be a rectangle? -- You received

Re: [android-developers] Re: Creating custom button looks?

2010-01-15 Thread Tommy Hartz
Ok so its shape will changed based on the image I assign to it? On Fri, Jan 15, 2010 at 2:11 PM, theSmith chris.smith...@gmail.com wrote: use an imagebutton On Jan 15, 1:35 pm, Tommy droi...@gmail.com wrote: Hey, Is there a way to create a custom button style? Say I want a round

[android-developers] Re: Motorola Droid (possible android) multi-touch bug and how to reproduce

2010-01-15 Thread rollbak
Can you please explain which the issue is? On Jan 15, 1:09 pm, Mirmathrax mirmath...@gmail.com wrote: Multi-touch API is bugged (at least on Motorola Droid). Here is a method to reproduce the error for analysis: 1)  Create a new android project in Eclipse with the following fields:  Project

Re: [android-developers] Re: GL for Live Wallpaper?

2010-01-15 Thread Romain Guy
Hi, If you want to contribute to Android, please go to http://s.android.com and follow the instructions. On Fri, Jan 15, 2010 at 10:53 AM, Robert Green rbgrn@gmail.com wrote: Romain, I adapted the code from GLSurfaceView into a GLWallpaperService/ GLEngine design and posted it here -

[android-developers] Re: GL for Live Wallpaper?

2010-01-15 Thread Robert Green
The link that works for me is http://source.android.com I'm all set up. What branch should I submit this to? The reason I didn't just submit this is because one would think that nice integration would involve reuse instead of a copy of much of that code. If GLSurfaceView were refactored a bit,

[android-developers] CircularLayout for HorizontalScrollView ?

2010-01-15 Thread ClarkBattle
I am writing an day planner that requires fling gestures to horizontally scroll to the next previous day. Each day contains text and buttons and whatnot. I would like to use HorizontalScrollView for the scrolling. The problem is that a horizontal LinearLayout is bounded at creation. In other

[android-developers] Re: Motorola Droid (possible android) multi-touch bug and how to reproduce

2010-01-15 Thread Mirmathrax
Sorry, perhaps I was not clear in the description what the bug is. I will attempt to explain it in better detail here. When you perform the following touch pattern: 1) place finger 1 down 2) place finger 2 down 3) remove finger 1 4) place finger 1 back down again The ACTION_POINTER_DOWN event

Re: [android-developers] Re: Creating custom button looks?

2010-01-15 Thread Kevin Duffey
You can use a png I believe with transparency to produce any style button you want. I don't know if the hit-test for clicking on it will work only on the image part or the whole square width/height size of the button itself tho. On Fri, Jan 15, 2010 at 11:18 AM, Tommy Hartz droi...@gmail.com

  1   2   >