[android-developers] running android application

2010-02-27 Thread siddarth
hi... I have complete code of an android application running well . But this application will run only on clicking its icon in the menu I WANT THIS APPLICATION TO RUN WHEN 5 BUTTON ON THE ANDROID KEYBOARD IS CONTINUOUSLY PRESSED FOR MORE THAN 5sec How do i do it. Plz... help me its

[android-developers] Re: event handling

2010-02-27 Thread dmtrl...@gmail.com
In documentation I see - So, if you return false when the down action event is received, you indicate that you have not consumed the event and are also not interested in subsequent actions from this event.Thus, you will not be called for any other actions within the event, such as a finger

Re: [android-developers] Using Handler

2010-02-27 Thread bhaskar bommala
Hi Every one , I am New to the Android what is the use of handler and where can we use this handler. please help me. Thanks in Advance... On Thu, Feb 25, 2010 at 12:22 PM, Paolo brand...@gmail.com wrote: Hi, In my main activity (ListActivity) i start a thread in background to do some

Re: [android-developers] Database management

2010-02-27 Thread Narendra Bagade
Create dB using sqlite manager.put it. On asset folder access through ur activity. On Saturday, February 27, 2010, James Wang jameswangc...@gmail.com wrote: My suggestion is create your own content provider for this and open db in onCreate and hold it as static. -- You received this

[android-developers] ImageView with graphic from the www ?

2010-02-27 Thread Marco Alexander Schmitz
Hello, I want to show a graphic inside my activity. A graphic thats from the www. Just like http://www.google.de/logos/olympics10-sskating-hp.png. Wenn, in general I would download the graphic, convert it (maybe with photoshop or something), rename it (if neccassary) and copy it to my drawable

[android-developers] Specifying a port in HttpPost

2010-02-27 Thread drill
I want to make a Http-post-request to a webserver on a specific port. For that I use the HttpPost constructor as follows: HttpPost post = new HttpPost(http://webpage.com:1212/httppost.php;); Then I put some parameters with it using post.setEntity(params); When I now want to execute that request

[android-developers] Re: ImageView with graphic from the www ?

2010-02-27 Thread skink
Marco Alexander Schmitz wrote: Now I want this procedure dynamically. what you mean dynamically ? pskink -- 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

[android-developers] Re: Obtain unicode string for Roslien Language

2010-02-27 Thread Takami Labs
Thanks Bob and Frank for your kind reponses. I have meanwhile sent a mail to the font provider , if he can provide me with the info regarding the font. 1. Whether the font use a Private Use Area 2. If it does than which code point points it assigns its characters to.. As for an input method to

[android-developers] Re: Obtain unicode string for Roslien Language

2010-02-27 Thread Takami Labs
To be more specific , this is the piece of code I use to display the Roslien font on my message box: Typeface face = Typeface.createFromAsset(getAssets(),fonts/ Roslien.ttf); messageBox.setTypeface(face); Thanking You, Regards, Srikant Aggarwal On Feb 27, 4:43 pm, Takami Labs

[android-developers] Re: Google Maps

2010-02-27 Thread deepak
Hi Julian.. As Matt said almost all phones come with a GPS receiver, but it can use cell-id based location access when you register to a server (with a specified port). This is AGPS. For this you need to have data connection on your phone.. Thanks Regards, Deepak On Feb 27, 2:20 am, Gaunt Face

[android-developers] TTS

2010-02-27 Thread Atif Gulzar
TTS is supported since 1.6. Is it possible to set the minimum supported version as 1.5 Where my application will not speak in 1.5 and will speak in 1.6 -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: anyDensity - bitmap not resized

2010-02-27 Thread rukiman
How can I make that inner linearlayout scale correctly? On Feb 27, 6:25 pm, James Wang jameswangc...@gmail.com wrote: Pre-scale resource should be depend on density of screen, not resolution. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: ImageView with graphic from the www ?

2010-02-27 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
not possible On Feb 27, 4:36 am, Marco Alexander Schmitz marco.alexander.schm...@googlemail.com wrote: Hello, I want to show a graphic inside my activity. A graphic thats from the www. Just likehttp://www.google.de/logos/olympics10-sskating-hp.png. Wenn, in general I would download the

[android-developers] Re: Building android source for the first time on new machine java version error,

2010-02-27 Thread Conny
Just checked the sun.com site. Java5 is not supported from Nov 2009 onwards. I guess its important to move to java6. Siddharth On Feb 27, 9:41 am, MCON Dev mcon...@gmail.com wrote: Issue 1 : Error : Your version is: java version 1.6.0_0. The correct version is: 1.5. Should I downgrade java ?

[android-developers] Re: selecting language from within the app rather than by locale of the system settings

2010-02-27 Thread Menion
Hi mot12, sorry not post earlier. I don't know, if you find my info still useful ..., but ad 1) Yes, it's my own function that check if user selected Czech or English, so this return cz or en String. ad 2) I didn't tried this. When user change locale in PreferenceScreen, I force him to restart

[android-developers] Re: Textures are white on Droid (and not other phones)

2010-02-27 Thread Robert Green
I don't have access to my Droid at the moment but my guess is that it maybe didn't like that alpha bits texture parameter? Perhaps you could just try without that. The minimal parameters that you need are the s and t clamp method and the minification and magnification function. I recommend

[android-developers] Re: Textures are white on Droid (and not other phones)

2010-02-27 Thread Robert Green
Oh.. yeah, you should run in the native Res by setting the supports screen flags in the manifest and then use drawable-nodpi. Both phones should scale the same but it depends on the manifest. I actually think that the n1 may support non power of twos but I don't have the extension list in front

[android-developers] Re: Building android source for the first time on new machine java version error,

2010-02-27 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You still want to point ot Java 5..in fact I only have on my system just for building android sources On Feb 26, 10:41 pm, MCON Dev mcon...@gmail.com wrote: Issue 1 : Error : Your version is: java version 1.6.0_0. The correct version is: 1.5. Should I downgrade java ? Issue 2 : I was unable

[android-developers] Authenticating with Youtube: ClientLogin?

2010-02-27 Thread Anna PS
I'm writing an Android app that, among other things, uses the GData libraries to upload videos shot with the camera to Youtube (code below). However, I'm a bit confused about how to authenticate my users. Can I simply assume that they are already signed in to Youtube, since they're using Android?

Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-02-27 Thread Joshua Frank
Has anyone heard any new about this issue being fixed. My active user stats are still down over 30%. Also, it now looks like the new market ranking system uses active users to rank apps. It has been over 2 months now. On Fri, Jan 22, 2010 at 3:33 PM, Seni Sangrujee sangru...@gmail.com wrote:

[android-developers] Re: Widget does not render on wvga854 ?

2010-02-27 Thread Mariano Kamp
Did you find a solution to your issue? I think I am seeing weird behavior with widgets too, but not constrained to a single skin. I usually don't see updates on the emulator, except sometime. I always see the updates on the devices I test with. On Dec 31 2009, 3:14 am, Chopcsu

[android-developers] Re: Any built-in intent for viewing a single image?

2010-02-27 Thread Mark Wyszomierski
Ok so I tried it on an API level 6 emulator, I get the basic simple (desired) intent. So is it just that the nexus one has done this on their own? It's definitely a nice device, but this implementation of this intent is kind of rough! If I wanted to cobble together my own 'basic' image viewing

Re: [android-developers] Re: Widget does not render on wvga854 ?

2010-02-27 Thread Mariano Kamp
Oh and I forgot to mention that in the emulator the debugger doesn't seem to work anymore since I use widgets. But this might be not related and maybe my emulator just has some defect? On Sat, Feb 27, 2010 at 5:01 PM, Mariano Kamp mariano.k...@gmail.comwrote: Did you find a solution to your

[android-developers] cropped picture with ImageView?

2010-02-27 Thread Marco Alexander Schmitz
Dear developer, I'd like to show a picture with the ImageView, but the picture should be cropped. Lets say the original picture is 250x250. I'd like to show a 100x100 part of it. To show the complete picture: ImageView android:id=@+id/bildchen android:layout_width=wrap_content

Re: [android-developers] Using Handler

2010-02-27 Thread TreKing
On Sat, Feb 27, 2010 at 2:56 AM, bhaskar bommala bhaskar...@gmail.comwrote: I am New to the Android what is the use of handler and where can we use this handler. Try this http://lmgtfy.com/?q=android+handler http://www.google.com/search?btnG=1pws=0q=android+handler

[android-developers] Set button background color

2010-02-27 Thread ls02
How can I set button background color at run time? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Authenticating with Youtube: ClientLogin?

2010-02-27 Thread Anna PS
OK, I found this: http://code.google.com/apis/youtube/2.0/developers_guide_java.html#ClientLogin_for_Installed_Applications Should have read the docs more carefully :) It suggests supplying the password like this: YouTubeService service = new YouTubeService(clientID, developer_key);

[android-developers] App Widget Lifecycle?

2010-02-27 Thread Mariano Kamp
Hey guys,   I am bit puzzled by an app widget's lifecyle.   When I create a widget my own configuration activity is launched, some data is entered, I store this data some place and call finish on my config activity like this: Intent resultValue = new Intent();

[android-developers] Re: Set button background color

2010-02-27 Thread jotobjects
yes - See android.widget.Button documentation for details On Feb 27, 8:37 am, ls02 agal...@audible.com wrote: How can I set button background color at run time? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-27 Thread Rob Irondad
I just published a final draft. Feedback / comments still welcome. http://docs.google.com/View?id=dd9hmc43_0c9zh58gd -- Rob -- 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: Any built-in intent for viewing a single image?

2010-02-27 Thread jotobjects
On Feb 26, 3:49 pm, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote: Ok so I found this:   Intent intent = new Intent(android.content.Intent.ACTION_VIEW);   intent.setDataAndType(uri, image/jpg);   startActivity(intent); works great on the G1, the image viewing

[android-developers] Re: making videogame - newbie need help =P

2010-02-27 Thread Kofa
Thx Vlad, Robert, Jason, Martin!... I have upgraded everything to XML... but my game it's not real time, it's a turn based strategy =P... so for now it's ok with the ImageViews, Buttons and all of this stuff to start... I mean, i've never programmed on Java and it's my first project on android...

[android-developers] Re: Any built-in intent for viewing a single image?

2010-02-27 Thread Mark Wyszomierski
Yeah there's always the chance that some other application can catch the intent, but the OS should present the user with a list of all these apps for them to choose from. If it becomes annoying for them, they can just permanently set which app to use to open that type of data, I think that works

Re: [android-developers] Re: Any built-in intent for viewing a single image?

2010-02-27 Thread Carmen Delessio
One the Nexus One front, the gallery was developed by CoolIris. There is a article on that on AndroidGuys: http://www.androidguys.com/2010/01/07/cooliris-develops-media-gallery-for-the-nexus-one-joins-open-handset-alliance/ My guess is that they support all required gallery intents, but that may

[android-developers] Device needed

2010-02-27 Thread Saurav
hi all, I have in an immediate need for a android device for application development. I stay in India. I need a HTC G1 or G2 (developer phone, most probably second hand model). So if any one has any kind of contact or information, please reply. Regards, Saurav Mukherjee. -- You received

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-27 Thread Maps.Huge.Info (Maps API Guru)
I just read your final draft document and I have a strong criticism as to the wording. A petition like this is supposed to garner support for your ideas, not alienate the very people who it's aimed at. The preamble of this document is too negative, accusatory and essentially would derail the very

[android-developers] AlarmManager Not Firing Receiver

2010-02-27 Thread Nick Owens
Experts: Any experts on AlarmManager out there? I've got something weird going on. The basic code to set my repeating alarm works fine. I can close my app and the alarm will continue to run like clockwork every five minutes. It works fine only if I set it in the app and then close the app.

[android-developers] error while compiling droid pdf...

2010-02-27 Thread lalithalaxmi g
hi all, I am using droid pdf reader in ndk. I am unable to generate libpdfreader.so file. while compiling i am getting following errors. out/apps/droidreader-read-only//libmupdf.a(jdmaster.o): In function `master_selection': apps/droidreader-read-only/jni/jpeg/jdmaster.c:380: undefined

[android-developers] My first review of Shop Savvy on Nexus one and iPhone

2010-02-27 Thread Urban ArtFX
Check out my iPhone vs nexus one review. http://www.youtube.com/watch?v=4zmCgrYe90Qfeature=youtube_gdata -- 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: connect android emulator to mysql server

2010-02-27 Thread saturne
Hy saravanan I want to know How can I connect to MySQL DataBase ? Thank On Feb 12, 11:14 am, saravanan p saravanan6...@gmail.com wrote: thanks. now i clear the classnotfoundexception. i got exception like java.sql.SQLException:no sutiable drive On Feb 10, 7:35 am, David Turner

Re: [android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-27 Thread Mike Novak
There's multiple third party libraries that already have this functionality. Mike On 02/25/2010 07:38 PM, mssmison wrote: I love this idea! I'd like to build it into the source itself, that would be a life saver.. lol -- You received this message because you are subscribed to the

[android-developers] Lan connection

2010-02-27 Thread Ian Strain
Hello, I wondering if anyone knows how to connect to a lan and view the shared folders of a pc that is on the lan. Very much like what es file explorer does. Basically, I want to do what they do! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: why I can't see google's nexus one from eclipse

2010-02-27 Thread Matias Alberto de la Vega
You can try connecting the phone with USB Debugging disabled (don't mount your sdcard as a removable media from the Nexus One option either), and then once the phone is connected you enable USB Debugging in SettingsApplicationsDevelopmentUSB debugging. Sometimes my Eclipse IDE doesn't recognize my

[android-developers] External database and Android emulator

2010-02-27 Thread saturne
Hy I want to establish communication between an external database and Android emulator, how can I make this communication? I nedd PHP scripts for that? and How ? I work with spatial data and I hesitate between MySQL and PostgreSQL. Thank -- You received this message because you are

[android-developers] Default layout of device

2010-02-27 Thread neha
Is there a mechanism in Android to know the default layout of any device (landscape or potrait)? Thanks in advance -- 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

[android-developers] Weird bug in Canvas + TextView

2010-02-27 Thread Alfonso
Hi, it's my first time writing here and I want giving thanks everybody who makes the group possible. Specially to all the Android developpers. Well, let's go to the problem: I'm trying to rotate a WebView according with the orientation sensor. That's because below this view I have a GLSurfaceView

[android-developers] TableLayout with fixed row column

2010-02-27 Thread Ajay
Hi, I want to design a table whose first column items remain fixed when user scrolls horizontally, but should scroll when the user scrolls vertically. Similarly the first row items remain fixed when user scrolls vertically, but should scroll when the user scrolls horizontally. Can this be

[android-developers] Real-world compatibility?

2010-02-27 Thread ceem
Hello group, I am new to Android, thinking about developing for the system. Since I couldn't find a qualified answer on the web, I'd like to ask about the real-world compatibility of Android installations on different mobile devices. From my experience working with Java, Windows Mobile and Palm

[android-developers] Can someone explain putExtra()?

2010-02-27 Thread Hunk of Hulk
i.putExtra(NotesDbAdapter.KEY_BODY, c.getString( c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); Hi, I don't understand this code line from the notepad tutorial. What is the second parameter c.getString(). doing here? Is it getting the column index of the string body? In the

[android-developers] Image and text copy from browser

2010-02-27 Thread santosh kumar
Hello, I want to copy text and image simultaneously from browser. It has option to separately copy text and image. Please help me , is it possible and which part of code i have to look for it. Thanks santosh -- You received this message because you are subscribed to the Google Groups

[android-developers] Android applications and development

2010-02-27 Thread yuz technologies
We are a mobile and web application Development Company working since 2001.We are specialized in iphone and Android applications development as well as incorporate website design. We develop iphone applications for small - and medium - sized businesses using a wide range of programming

[android-developers] Intercept all trackboll events?

2010-02-27 Thread 5millp0x
Hello, am trying to interuppt and dissable all trackbool events, and only Allow trackball middle click. I have Overridden the onTrackballEvent, and the keyDown Events but still when i move the trackbool the first button om my screen gains focus, how dose i prevent this? @Override public boolean

[android-developers] scrolling a list within headder and footer

2010-02-27 Thread ram
hi to all, please tell me i have a dynamic list, how to set this list between headder and footer thankyou rameshmbnl -- 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] Changing the height of a WebView on runtime

2010-02-27 Thread Bennet
I am trying to integrate buttons for the PhoneGap application. For that I modified the main.xml and added ImageButtons below the WebView, and set the height of the WebView to 400px. It is looking good in portrait view. My problem is, when changed to landscape mode in runtime, the Buttons are not

[android-developers] Hard keyboard - opening direction

2010-02-27 Thread neha
Is there a mechanism in Android to know the direction in which the hard keyboard will open on any device (left, right or up)? Thanks in advance -- 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] Notification's VIBRATE is not enabled when a phone calling

2010-02-27 Thread yoko
Hi fellow Android developers, I am using a notification with vibration. The vibration doesn't vibrate when notifying in the alert while calling the phone. my code like .. NotificationManager _notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);

[android-developers] Querying Contacts DB w/ multiple synced accounts

2010-02-27 Thread jylc08
My Android app has a ContactsList activity in which I simply display a list of contacts that are on the phone. Only recently I noticed that my activity only displays contacts synced with my main Google account. I have two Google accounts on my test phone and ideally I want my activity to

[android-developers] How to highlight the text in webview.

2010-02-27 Thread srinivasa reddy
Hi All, I have a webview, i am getting data from some url. Here is the problem i want to select the text, I want to add that particular URL as book mark in WebView. Then i want to send an e-mail of selected data to someone. Can some one help on this please. Regards -Srinivasa Reddy -- You

[android-developers] Re: Error with custom made popup marker

2010-02-27 Thread eyedol
Solved. I was referencing the class with the MapActivity at the wrong method. I had to do that in the constructor. Now it works. Thanks for the pointers. On Feb 26, 12:13 am, eyedol add...@gmail.com wrote: Still throws that same exception. On Feb 25, 6:34 pm, TreKing treking...@gmail.com

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-27 Thread Streets Of Boston
Well said! I agree with the gist of the document; many, but not all of the points mentioned in the document are valid, but the 'demands' set a negative tone, other parst are quite accusatory and the document should be reworded to have 'suggestions' instead and convey a willingness to cooperate.

[android-developers] Re: Can someone explain putExtra()?

2010-02-27 Thread Streets Of Boston
In the query that created the cursor 'c', you specified a list of columns that needs to be returned for each row. The columns in this list could have been put there in any order (much like columns mentioned in SQL after 'SELECT' and before 'FROM'). This specified list of columns could even have

[android-developers] Re: Image effectsef

2010-02-27 Thread shankar
hello, Thank u for your reply. Am converting the textView in to Bitmap and adding the Bitmap on Canvas. But the problem comes when i want to add more than one text Any idea please -- You received this message because you are subscribed to the Google Groups Android

[android-developers] updating SDK and AVD under a proxy

2010-02-27 Thread Bharath M R
Hi, I have a proxy internet connection. I downloaded the sdk but not able to create an AVD because i dont have targets. I tries to update my sdk but it is not recognising my proxy setting. I have changed my proxy settings in the settings of AVD manager. Is there any way to download the

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2010-02-27 Thread Bharath M R
Hi, As i had the same problem,I downloaded the android sdk platform from figuring out the zip file from the repository. I am still not able to run the android virtual device. It says target id not found. How can i change the batch file so that it can figure a target Bharath M R -- You

[android-developers] notification service clear button disable in android

2010-02-27 Thread aswan
when i run my application i am running one notification service .how i disable clear notification service button in my application only i need to run the service when my application is running .is there any way to disable the clear notification button .please help me Thanks Aswan -- You

[android-developers] Type to Search with Multiple Content Providers

2010-02-27 Thread Senthil ACS
Hi All, I am implementing a Type To Search functionality using Quick Search Bar. Here, i have a requirement where from the MainActivity, i must be able to search for Media (Songs, Images, Videos) + a list of new movies from the server. I have separated both of them in two different

[android-developers] Piracy, almost 50% of my new users - Seriously Google?

2010-02-27 Thread Xavier
I published my first (and apparently last) Android application Wednesday 10pm. By now Google Checkout reports 203 orders (29 of those refunded). My app also includes the Furry analytic library. So far it reports 377 new users. A discrepancy of almost a 50% of users which only led me to believe

[android-developers] Re: AutoCompleteTextView and show suggestions

2010-02-27 Thread Steven
To see the source code, check out: http://code.google.com/p/cash2qif/source/browse/trunk/Cash2QIF/src/com/cash2qif/www/Edit.java -- 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] Change development machine...

2010-02-27 Thread Guddu
Hello friends!! I am developing an application on 1 machine using Android SDK with Eclipse Galileo. But now I have to work on different machine. I installed Java, Eclipse and Android SDK on that another machine but I don't know how to deploy my current machine's application on that another

[android-developers] Re: Multiple Icon on Android App

2010-02-27 Thread sri
nice thought!!! On Feb 26, 12:09 pm, Simone Francesca guptasmr...@gmail.com wrote: I am trying to build an app that would have multiple icons with multiple captions based on the area. HOw can i do that in Android because right now there is no way to change the icon dynamically. It is tied to

[android-developers] a global high score board for android games - aHighScore

2010-02-27 Thread Andoop
Hello, friends, Andoop released a local global high score board library. It is easy to integrated and can be used by any android game to save user scores in a local or global scoreboard. It is easier to make your Game more Popular. It is very useful for promoting your games. Let us make it

[android-developers] AIDL Compiler for C/C++

2010-02-27 Thread MGD
Folks I am trying to use iBinder to interface from Java process to C native process. Is there AIDL compiler support for C/C++? If not, what would my workaround be to support such IPC between Java and C processes? TIA MGD -- You received this message because you are subscribed to the Google

[android-developers] Re: Image effectsef

2010-02-27 Thread shankar
Hello, Thank you for your reply. Am able to convert textView to bitmap and able to draw it on canvas. but am not able to draw multiple texts(bitmaps) on the canvas Any idea please. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Building android source for the first time on new machine java version error,

2010-02-27 Thread Andoop
On Feb 27, 12:41 pm, MCON Dev mcon...@gmail.com wrote: Issue 1 : Error : Your version is: java version 1.6.0_0. The correct version is: 1.5. Should I downgrade java ? Yes, you should use java 1.5 Hope it will upgrade to 1.6 in the future. -- You received this message because you are

[android-developers] Strided buffer support in Camera preview callback

2010-02-27 Thread Sundar
Hi, Does the Google API for Camera preview callback support passing stride-d buffer (Width of the buffer is larger than the image data present in the buffer) from the Camera Service level? I see the below signature that applications are provided to access the preview data from Camera. Is it

[android-developers] How to change border color for EditText?

2010-02-27 Thread Cryogenic
Hi, all! I want to do White Theme in my application (black text on a white background). I changed bgcolor for controls to white then borders of EditTexts makes themselves invisibles. How to paint borders of EditText to black color? Thanks. -- You received this message because you are

[android-developers] Re: Piracy sucks, or does it?

2010-02-27 Thread ko5tik
On Feb 26, 1:18 pm, Hekki kaye...@gmail.com wrote: I do not know what a PITA is but I agree. It's acronym: Pain In The A[guess what] -- 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: Petition: Google, please improve the Android Market.

2010-02-27 Thread Hekki
I have strong criticism to your criticism :D We NEED a good tool in order to make the best of(and for) the android platform. Not we WANT !! We NEED ! And if google and the Android Team want to make it a success then THEY HAVE to move. The current market is a joke, and I'm very sad to learn

[android-developers] App Name

2010-02-27 Thread Nick Owens
Developers: Does anyone know a way to have the name of the app, as shown in the menu be different than the title shown for the app on the launcher activity? Thanks, Nick Owens VP, ThreeClix Office: (904) 429-7039 Mobile: (847) 565-9392 After Hours: (904) 540-5830 -- You received this message

[android-developers] Re: Piracy sucks, or does it?

2010-02-27 Thread Hekki
Oh ok, then I would then say that it's a MPITIA (Major Pain In The Irritated A[guess what] : ) And not likely to be used by anyone in their right mind. Yahel On 27 fév, 20:44, ko5tik kpriblo...@yahoo.com wrote: On Feb 26, 1:18 pm, Hekki kaye...@gmail.com wrote: I do not know what a PITA is

[android-developers] Re: image on sd card

2010-02-27 Thread Albert
You need to use: yourbitmap.compress(Bitmap.CompressFormat.PNG, 100, out); //PNG better supported, you will see a loss of quality if you use JPEG where out is your FileOutputStream with the file's destination you can get it back with BitmapFactory.decodeStream(in, null, null); where in is your

Re: [android-developers] Querying Contacts DB w/ multiple synced accounts

2010-02-27 Thread Dmitri Plotnikov
Take a look at this sample app. It runs on every version of the SDK starting from Cupcake and calls the right API on each platform. http://developer.android.com/resources/samples/BusinessCard/index.html I hope this helps, - Dmitri On Thu, Feb 25, 2010 at 5:26 PM, jylc08 jyl...@gmail.com wrote:

[android-developers] Re: AlarmManager Not Firing Receiver

2010-02-27 Thread nikhil
alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, (System.currentTimeMillis() + (5 * 1000)), (5 * 6), pendingIntent); You may try AlarmManager.ELAPSED_REALTIME_WAKEUP and SystemClock.elapsedRealtime() in above line. Hope it works... Nikhil On Feb 27, 1:20 pm, Nick Owens

[android-developers] Re: Default layout of device

2010-02-27 Thread nikhil
What do you mean when you say knowing default layout? Do you wish to set your app so as to restrict it to landscape or portrait orientation? On Feb 26, 4:30 am, neha neha31gu...@gmail.com wrote:  Is there a mechanism in Android to know the default layout of any device (landscape or potrait)?

[android-developers] Re: Piracy, almost 50% of my new users - Seriously Google?

2010-02-27 Thread JP
In my experience the download stats in Android Market are updated only every 24h or so. I don't keep an eye on it all the time, but this is how I saw it the last time I checked more frequently (like, months ago, actually, time flies). Give it a few more days and you'll get a better feel for

Re: [android-developers] Piracy sucks, or does it?

2010-02-27 Thread chris harper
I have been designing and testing my app for the past 4 months and I figured I have about another two months before I am ready to publish it. What you experienced concerns me. I didn't know about Flurry but after goggling it I know I want it within my app now and I thank you for mentioning it. I

[android-developers] Can I get sued for using Android Caller ID?? -Please answer

2010-02-27 Thread chris harper
Hi I read this article and it concerns me. It's about patent infringements for the caller ID within android applications. http://techdirt.com/articles/20100224/0244468285.shtml I am writing an application for android which uses the PhoneStateListener and following the example outlined in this

Re: [android-developers] Can I get sued for using Android Caller ID?? -Please answer

2010-02-27 Thread Dmitri Plotnikov
This mailing list is not the best place to discuss legal issues. Please talk to lawyers, not developers, about things like patents and law suits. Thanks, - Dmitri On Sat, Feb 27, 2010 at 1:11 PM, chris harper ch393...@gmail.com wrote: Hi I read this article and it concerns me. It's about

[android-developers] startActivityForResult

2010-02-27 Thread Pierre Henry
Encoutered a tricky result using startActivityForResult from an Activity In the called Activity , I set result like that: __ setResult(RESULT_OK, getIntent().putExtra(getPackageName()+values, values)); __ When running the on ActivityResult, the extra has

[android-developers] Re: Database management

2010-02-27 Thread Paul
Thanks for the good advice. To make the database accessible in other Activities I initialize again in each Activity, which seems to work, but I get log messages that say I need to close the database. If I close the database when leaving an activity, then it isn't available in onActivityResult when

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-27 Thread Maps.Huge.Info (Maps API Guru)
Regardless, you won't get anywhere with demands, threats and being angry. You need to work with the Android team not against them. The best way to do that is be friendly, suggestive and show that you understand their predicament. I, for one, will not support such a document in the current form.

[android-developers] Re: Piracy, almost 50% of my new users - Seriously Google?

2010-02-27 Thread Edward Falk
If your app is talking to a server anyway, why not authenticate on that channel too? -- 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,

Re: [android-developers] AlarmManager Not Firing Receiver

2010-02-27 Thread Mark Murphy
Nick Owens wrote: I've got a registered BootReceiver for re-registering the repeating alarm. I know it fires on boot b/c the log message clearly shows it is firing and re-setting the repeating alarm in question for the same frequency. But the AlarmManager is not firing. Basically, the

Re: [android-developers] Re: Any built-in intent for viewing a single image?

2010-02-27 Thread Mark Murphy
Mark Wyszomierski wrote: Yeah there's always the chance that some other application can catch the intent, but the OS should present the user with a list of all these apps for them to choose from. If you use createChooser(). -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-27 Thread Rob Irondad
Thanks for the feedback. Is there any way you both (John Coryat and 'Streets of Botston') could provide me with an annotated version, with your suggestions on how to make it sound better? You can send me a mail to rob.iron...@gmail.com. I don't think the current tone is that harsh, but I

Re: [android-developers] startActivityForResult

2010-02-27 Thread Mark Murphy
Pierre Henry wrote: Encoutered a tricky result using startActivityForResult from an Activity In the called Activity , I set result like that: __ setResult(RESULT_OK, getIntent().putExtra(getPackageName()+values, values)); __ When running the on

Re: [android-developers] App Name

2010-02-27 Thread Mark Murphy
Nick Owens wrote: Developers: Does anyone know a way to have the name of the app, as shown in the menu be different than the title shown for the app on the launcher activity? Try the android:label attribute on activity. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-27 Thread Bob Kerns
And the good aspects of the current market would be? Besides not having an Apple-style lock-in? Seriously -- if I were a Google engineer, I would be a little offended by your message. Personally, I give them more credit for being adults, and not needing their feelings protected. Nobody is

[android-developers] Is it possible to always use a custom Instrumentation?

2010-02-27 Thread Bob Lee
I was hoping to use a custom instrumentation to create my activities with Guice (instead of calling Class.newInstance()). Thanks, Bob -- 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: Petition: Google, please improve the Android Market.

2010-02-27 Thread Bob Kerns
I don't, in fact, understand their predicament. I presume they have one. They haven't communicated it, so I won't pretend to understand it. I'll settle for helping them understand my predicament, and hope they can use that effectively in balancing their predicament. Could you please identify in

  1   2   >