[android-developers] to use only a single frame layout for oading different-2 images from drawable folder

2010-11-10 Thread Alok Upadhyay
hi, i am working on a image based yoga project.In which i am thinking to use a single framelayout. In each screen there are different-2 yoga steps/images.And on each screen back and next buttons.I have done this using number of xmls and .java files as intent,set class and start activity(bad

Re: [android-developers] Thanks for your five stars, Haypi Kingdom, top10 game at Apple App Store, has come to Android Market!

2010-11-10 Thread Miguel Morales
Cool, will be checking this out. Looks like Pocket Empires. On Tue, Nov 9, 2010 at 11:50 PM, Eric jude...@gmail.com wrote: Haypi Kingdom, top10 game at Apple App Store, has come to Android Market! Haypi Kingdom is a massively multiplayer online role-playing game (MMORPG). You will be a

[android-developers] how to use eglCreateImageKHR?

2010-11-10 Thread 袁堂夫
I use Opengl 2.0 on android with nexues one,but I don't know how to use eglimage. Does any one have a example for me ? How do these functiones work? eglCreateImageKHR glEGLImageTargetTexture2DOES eglDestroyImageKHR -- You received this message because you are subscribed to the

[android-developers] Re: HTTPPOST (PHP,MYSQL)

2010-11-10 Thread Sarwar Erfan
= HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(http://10.0.2.2/pt.php;); try { ListNameValuePair nameValuePairs = new ArrayListNameValuePair(2);

[android-developers] Re: Android Version Support

2010-11-10 Thread String
Personally, I'm still supporting 1.5+ in all my apps. But then I don't have any functionality that needed a higher SDK; the few things that I did want to use were easy enough to manage via reflection (or similar techniques). Nor have I had any great difficulties supporting 1.5 devices in the wild.

Re: [android-developers] unable to open database file

2010-11-10 Thread Marcin Orlowski
recently I very often get error reports from users that upgrade their OS. This includes at least 1.5, 1.6, 2.1 and custom ROMs. Anybody else seeing these? Any idea what to do about it? For example, is the issue that the database is deleted, or that the database exists but somehow the

[android-developers] Re: Do many folks here go to the trouble of copyrighting their program?

2010-11-10 Thread DanH
some benefit. Well, I framed my registration certificate and hung it on the wall for awhile, but eventually it got crowded out by patent certificates (which look nicer) so I don't even know where it is any more. On Nov 10, 12:42 am, Mark Carter mjc1...@googlemail.com wrote: I just assumed

Re: [android-developers] Re: Downloading Problem

2010-11-10 Thread Kostya Vasilyev
Doing http networking this way: URLConnection ucon = url.openConnection(); doesn't seem to work very well. Take a look at DefaultHttpClient, there is lots of sample code for it. -- Kostya 10.11.2010 7:46, Android Humanoid пишет: No... nothing in logcat, download competed in 0sec am

[android-developers] Re: Error generating final archive: duplicate entry: AndroidManifest.xml

2010-11-10 Thread Shakthi
Buurd buurdb at gmail.com writes: HI! I've got the old duplicate entry-error on AndroidManifest.xml. Since it is a common problem I tried to use the common solution and started to investigate the jar-files that I'm importing into my project. Suprise, suprise, there was no extra

Re: [android-developers] How to upgrade Eclair (2.0) to Froyo (2.2)

2010-11-10 Thread Mark Murphy
On Wed, Nov 10, 2010 at 7:18 AM, ashwani ash1...@gmail.com wrote: How to upgrade Eclair (2.0) to Froyo(2.2). Ask your carrier or device manufacturer. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy

Re: [android-developers] Re: Local Service vs Remote Service

2010-11-10 Thread Dianne Hackborn
On Wed, Nov 10, 2010 at 1:25 AM, William Ferguson william.ferguson.au@ gmail.com wrote: Um, I think the point that Lance was trying to make was that he won't actually know about the force close UNLESS he uses the remote service. But sure, once he knows about, then he could fix it. If the

[android-developers] How to update a

2010-11-10 Thread ashwani
I'd like to know how to update SDK or Applications through OTA? -- 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] How to update Android firmware 2.1 to 2.2

2010-11-10 Thread ashwani
Hi All, I'd like to know how to update Android firmware 2.1 to 2.2. Regards Ashwani -- 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,

[android-developers] May I use this solution? (by ARMADA)

2010-11-10 Thread ARMADA
Hello, We have a question regarding limit of loaded shared libraries. We have failed to load a library. This problem is resolved to increase SO_MAX from 96 to 150 Plz refer to below source. ./bionic/linker/linker.c #define SO_MAX 150 //#define SO_MAX 96 - Is there any problem if it's

[android-developers] internal error

2010-11-10 Thread Alok Upadhyay
Hi,i am getting error as below and what i seem that there is no gen folder.but i check my folders there is gen folder with r.java file then why i am not able to run my project.see 1st line of stack trace [gen [in MagicYoga] does not exist] stack trace is as: Java Model Exception: Java Model Status

Re: [android-developers] How to write screen saver in Android

2010-11-10 Thread Mark Murphy
On Tue, Nov 9, 2010 at 10:50 PM, Bo Huang huangbo...@gmail.com wrote:    I am writing an application which requires screen saver. when the application runs in foreground and no body touch it for a while, it will automatically launch screen saver. There is no concept of a screen saver in

Re: [android-developers] Re: Local Service vs Remote Service

2010-11-10 Thread Dianne Hackborn
On Tue, Nov 9, 2010 at 11:33 PM, Lance Nanek lna...@gmail.com wrote: I can think of no scenarios in which you need a service to run in a separate process. I've run into a scenario. Force close kills your process. So if you want to do an internet call on unhandled exceptions, doing it in

[android-developers] Re: Local Service vs Remote Service

2010-11-10 Thread William Ferguson
Um, I think the point that Lance was trying to make was that he won't actually know about the force close UNLESS he uses the remote service. But sure, once he knows about, then he could fix it. On Nov 10, 7:14 pm, Dianne Hackborn hack...@android.com wrote: On Tue, Nov 9, 2010 at 11:33 PM, Lance

Re: [android-developers] Re: to connect android emulator to google account

2010-11-10 Thread Abhishek Patil
Thanks -- 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

[android-developers] How the input method can request 'updateCursor' event

2010-11-10 Thread Andriy Tsykholyas
Hi, we are implementing custom input method service and we are interested in receiving cursor update events. The documentation of InputMethodSession's updateCursor() says: This method is called when cursor location of the target input field has changed within its window. This is not normally

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Marcin Orlowski
On 9 November 2010 23:28, Connick oconn...@gmail.com wrote: Fielding questions from our IT dept around security and I didn't know this one off hand. Can anyone provide insight as to how credentials are stored in Android OS? (hashed, encrypted etc) No matter how it's stored, there's call like

[android-developers] Referencing a library adds libraryProj_src reference

2010-11-10 Thread oriharel
Hi, after updating Eclipse Android plugin (ADT 0.9.9) I get strange behavior. I have one android project referencing another (IsLibrary=true for the other). all worked fine but now, after upgrade, my referencing project now includes another node: libraryProj_src which is in error state. once I

Re: [android-developers] Re: Local Service vs Remote Service

2010-11-10 Thread Mark Murphy
Personally, I would use Thread.setDefaultUncaughtExceptionHandler() to eliminate the force-close dialog and deal with the unexpected exception myself, such as logging it to a server. This does not require a remote process. On Wed, Nov 10, 2010 at 4:29 AM, Dianne Hackborn hack...@android.com

[android-developers] May I use this method?

2010-11-10 Thread ARMADA
Hello, We have a question regarding limit of loaded shared libraries. We have failed to load a library. This problem is resolved to increase SO_MAX from 96 to 150 Plz refer to below source. ./bionic/linker/linker.c #define SO_MAX 150 //#define SO_MAX 96 - Is there any problem if it's

[android-developers] Re: French character encoding issues

2010-11-10 Thread Bob Kerns
No, that's not a bug. Here's a rule that you should always follow: If an operation has a version that takes an encoding -- use it, and specify UTF-8. NEVER use the one that does not. And never use anything other than UTF-8 unless you are very specifically interfacing with other encodings, and you

Re: [android-developers] proximity alert

2010-11-10 Thread Mark Murphy
On Tue, Nov 9, 2010 at 9:51 PM, Hendrik Greving fourhend...@gmail.com wrote: What happens if you add the semantically the same proximity alert without expiration several times, let's say with an intent to start a service? Obviously the service will be only started once, but will this compromise

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Marcin Orlowski
On 10 November 2010 11:51, Kostya Vasilyev kmans...@gmail.com wrote: That's a privileged API, and can't be called by an arbitrary application. Heard of rooting? :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: ADT painstakingly remove my exclusion setting for android library

2010-11-10 Thread mianwo
I can confirm that this problem exists. How to reproduce this: 1 Create an android project and set it as an Android library. 2 Create another android project that uses the previous library. 3 Commit these source code into a svn repository. 4 Change something in your library project, then commit

Re: [android-developers] May I use this method?

2010-11-10 Thread Mark Murphy
Questions regarding the firmware should go to a more relevant list: http://source.android.com/community/index.html On Wed, Nov 10, 2010 at 6:03 AM, ARMADA zionwar...@gmail.com wrote:  Hello,  We have a question regarding limit of loaded shared libraries.  We have failed to load a library.  

Re: [android-developers] How to upgrade Eclair (2.0) to Froyo (2.2)

2010-11-10 Thread Ashwani Kumar
Hi Mark, I have downloaded Eclair repo, and I want to update eclair repo to froyo. Is it possible? -- Regards. Ashwani Kumar On Wed, Nov 10, 2010 at 6:03 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Nov 10, 2010 at 7:18 AM, ashwani ash1...@gmail.com wrote: How to upgrade

Re: [android-developers] internal error

2010-11-10 Thread A N K ! T
try cleanin the project then build it again On Wed, Nov 10, 2010 at 6:15 PM, Alok Upadhyay maddy.luck...@gmail.comwrote: Hi,i am getting error as below and what i seem that there is no gen folder.but i check my folders there is gen folder with r.java file then why i am not able to run my

Re: [android-developers] need help in setting image path from drawable folder

2010-11-10 Thread Mark Murphy
Set up a 25-element static int[] array of resource IDs, and get your resource ID when you need it via its index. On Wed, Nov 10, 2010 at 7:11 AM, Alok Upadhyay maddy.luck...@gmail.com wrote: I am working on image based project in which clicking next/back buttons new images got loaded.ow how to

[android-developers] how to count number of images in my drawable folder

2010-11-10 Thread Alok Upadhyay
can anybody provide some script for getting image count in my drawable folder -- 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

Re: [android-developers] internal error

2010-11-10 Thread alok upadhyay
its amazing as soon as i am cleaning my project my gen folder automatically got deleted.Something wrong going on internally i already have worked on a project previously so this error stunning me On Wed, Nov 10, 2010 at 6:23 PM, A N K ! T ankit.awasth...@gmail.comwrote: try cleanin the project

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Kostya Vasilyev
10.11.2010 14:07, Marcin Orlowski пишет: On 10 November 2010 11:51, Kostya Vasilyevkmans...@gmail.com wrote: That's a privileged API, and can't be called by an arbitrary application. Heard of rooting? :) I have. How do you root somebody else's phone? -- Kostya Vasilyev -- WiFi Manager +

[android-developers] need help in setting image path from drawable folder

2010-11-10 Thread Alok Upadhyay
I am working on image based project in which clicking next/back buttons new images got loaded.ow how to give path dynamically. private int imageCounter = 0; private ImageView imageView; @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] How to upgrade Eclair (2.0) to Froyo (2.2)

2010-11-10 Thread ashwani
Hi, How to upgrade Eclair (2.0) to Froyo(2.2). Regards Ashwani -- 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] Video is not shown when returning to app

2010-11-10 Thread zohar lerman
Hi, I have an activity with MediaPlayer and Button. The MediaPlayer contains a VideoView (using MediaPlayer.getDisplay(VideoView.getHolder())). When the button is pressed it pause the MediaPlayer and open a browser. returning to app suppose to continue the video (MediaPlayer .start()) When the

[android-developers] Strange network behavior with two phones

2010-11-10 Thread William Añez
Hi, I have two phones (Motorola Milestone) and I has developed a simple application that does some network operations using web services, the applications runs perfectly calling a method on the emulator and in the phones, but just in one of the phones, in the other one i always get a operation

[android-developers] Re: More complex Scrollview example needed.

2010-11-10 Thread Rutton
On 9 Nov., 23:53, Kostya Vasilyev kmans...@gmail.com wrote: You could try ListView methods: setSelection, setSelectionFromTop. Not sure how well they work with cursor based adapters, but running some tests is probably worthwhile.. setSelection does what it says. It is possible to jump right

Re: [android-developers] standard power widget icons

2010-11-10 Thread Mark Murphy
I have no idea what the standard power control widget icons are. However, all icons that are part of the SDK can be found in: $ANDROID_HOME/platforms/$SDK/data/res where $ANDROID_HOME is wherever you unpacked the Android SDK and $SDK is some platform version (e.g., android-8). If the icons you

Fwd: [android-developers] to use only a single frame layout for oading different-2 images from drawable folder

2010-11-10 Thread alok upadhyay
-- Forwarded message -- From: Alok Upadhyay maddy.luck...@gmail.com Date: Wed, Nov 10, 2010 at 1:35 PM Subject: [android-developers] to use only a single frame layout for oading different-2 images from drawable folder To: Android Developers android-developers@googlegroups.com hi,

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Kostya Vasilyev
10.11.2010 13:25, Marcin Orlowski пишет: On 9 November 2010 23:28, Connickoconn...@gmail.com wrote: Fielding questions from our IT dept around security and I didn't know this one off hand. Can anyone provide insight as to how credentials are stored in Android OS? (hashed, encrypted etc) No

[android-developers] Re: Choose a Locale Keyboard dynamically

2010-11-10 Thread Sanchiski
Well, no answer from anyonw, anyway, I found a solution, which is to create dynamically at runtime my own keyboards and switch them with also dynamially. The technique is to define them in xml, and then load them via KeyboardView with the setKeyboard command. On the main layout where I want them

Re: [android-developers] Strange network behavior with two phones

2010-11-10 Thread Kumar Bibek
Umm, Weird. As far as I can guess, may be the 2nd device's network goes on n off very frequently. On Wed, Nov 10, 2010 at 6:40 PM, William Añez wecu...@gmail.com wrote: Hi, I have two phones (Motorola Milestone) and I has developed a simple application that does some network operations using

Re: [android-developers] Strange network behavior with two phones

2010-11-10 Thread Kostya Vasilyev
Also the carrier might assign ip addresses differently, behind different nats or routers. You can check by opening www.whatismyip.com as well as other ways -- Kostya Vasilyev -- http://kmansoft.wordpress.com 10.11.2010 16:58 пользователь Kumar Bibek coomar@gmail.com написал: Umm, Weird.

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Marcin Orlowski
That's a privileged API, and can't be called by an arbitrary application. Heard of rooting? :) How do you root somebody else's phone? It does not matter. Read thread former's question first. Also, if one will be willing to steal some people passwords it can be done with some efforts and for

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Julie Andrews
On Wed, Nov 10, 2010 at 3:55 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 9 November 2010 23:28, Connick oconn...@gmail.com wrote: Fielding questions from our IT dept around security and I didn't know this one off hand. Can anyone provide insight as to how credentials are stored

Re: [android-developers] Strange network behavior with two phones

2010-11-10 Thread Julie Andrews
On Wed, Nov 10, 2010 at 6:40 PM, William Añez wecu...@gmail.com wrote: Hi, I have two phones (Motorola Milestone) and I has developed a simple application that does some network operations using web services, the applications runs perfectly calling a method on the emulator and in the phones,

Re: [android-developers] More complex Scrollview example needed.

2010-11-10 Thread Julie Andrews
On Sun, Nov 7, 2010 at 4:38 AM, Rutton rut...@web.de wrote: Hello there, I am working on some sort of record lookup for a database. My code allows to search for some kind of string within an index (of that database) and returns the database-position of the found thing . With this found

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Connick
Just curious as to the underlying storage mechanism for the data itself. Dealing with rooting and access via API's is separate concern for IT. Cheers, Stace On Wed, Nov 10, 2010 at 9:11 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: That's a privileged API, and can't be called by an

[android-developers] issue with Edit Text

2010-11-10 Thread Kartik Bansal
hi, in my app i am using edit text. i am specifying hint as well as aligning the text of the edit text using the gravity tag. if i align the text then hint is not shown but if i remove the gravity tag for aligning text then it shows. please help as to how i can align text as well as show hint..

[android-developers] Product images for marketing materials

2010-11-10 Thread Phil Endecott
Dear All, What do people know about rights to reproduce device graphics for web sites and marketing materials? I have some great images of the Galaxy Tab that were published with their launch press release, and I have assembled a flyer showing my app running on it. However, my printer won't

[android-developers] nest custom views

2010-11-10 Thread kavitha b
Hi All, Is it possible to nest one custom views within another Custom view? Please tell me. It is very urgent. If possible,please give me example. Kavitha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] nest custom views

2010-11-10 Thread Kostya Vasilyev
Sure, as long as the enclosing view is a ViewGroup (custom or not). -- Kostya Vasilyev -- http://kmansoft.wordpress.com 10.11.2010 18:14 пользователь kavitha b kkavith...@gmail.com написал: Hi All, Is it possible to nest one custom views within another Custom view? Please tell me. It is very

Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Kostya Vasilyev
10.11.2010 17:11, Marcin Orlowski пишет: And if you rooted your device, you can be a victim too, no matter how clever you think you are. And (far too) many people rooted their phones because it's h4x0r or they simply found a tool for that, and not because they really neded to. Majority got not

[android-developers] Re: Strange network behavior with two phones

2010-11-10 Thread William Añez
I just discovered that the problem comes with the fact of reinstalling the application, I mean, now the two phones are giving the Operation Timeout, The phone that was working yesterday now is not, the only thing I did was uninstall the applciation and reinstall againg using Eclipse, now gives me

Re: [android-developers] nest custom views

2010-11-10 Thread kavitha b
Can you please provide me an example of that. I want to nest custom views,,,i mean outside one custom view and inside that another custom view.but how to draw a view within another? It is very very urgent. Please help. 2010/11/10 Kostya Vasilyev kmans...@gmail.com Sure, as long as the

[android-developers] Re: Choose a Locale Keyboard dynamically

2010-11-10 Thread Sanchiski
Well, no answer from anyone, but anyway I found a solution. I create dynamically at run-time my own keyboards and switch them also dynamically. The technique is to define them in xml, and then load them via KeyboardView with the setKeyboard command. On the main layout where I want them to be

Re: [android-developers] Product images for marketing materials

2010-11-10 Thread Marcin Orlowski
Hi, I have some great images of the Galaxy Tab that were published with their launch press release, and I have assembled a flyer showing my app running on it.  However, my printer won't print it unless I can convince him that I have the right to do so. Change printing house, now. These guys'

[android-developers] Direct Client Position:: WebSphere Portal developer // Jersey City, NJ // 12+ months contract.

2010-11-10 Thread imran recruiter
Hi Friends, I have an immediate opening for a consultant with the following skill sets for Direct client, please forward me the resumes at the earliest. WebSphere Portal developer Location: Jersey City, NJ Duration: 12 months Skills: 3 years WebSphere Portal development Experience with

[android-developers] Re: Product images for marketing materials

2010-11-10 Thread Phil Endecott
I am not a lawyer No, that quite clear. I'm not asking for legal advice, and certainly not from a non-lawyer who doesn't even know what country I'm in. I'm looking for pointers to product images that have clear re-use terms associated with them. Can anyone help? -- You received this message

[android-developers] Getting ready to Publish

2010-11-10 Thread jb
Hi, I'm just about ready to Publish my application. I have a question about the Signing/Aligning of the application. In looking at the Android documentation they say to run ant release to compile the application in release mode. Then to sign and align the apk run jarsigner and zipalign. I had

Re: [android-developers] AppsLib (Archos store) is not legit?

2010-11-10 Thread Michael MacDonald
On 11/09/10 16:51, SoftwareForMe.com SoftwareForMe.com wrote: Hello, What do you all know about AppsLib? I know they were a small startup store who partnered with Archos to provide them with an app store on their devices. Recently we found that they are distributing pirated software,

Re: [android-developers] nest custom views

2010-11-10 Thread Kostya Vasilyev
Well, subclass ViewGroup or one of its subclasses for the outer view, and View or one of its subclasses for the inner view. Then create them nested, either with xml, or from code. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 10.11.2010 19:04 пользователь kavitha b kkavith...@gmail.com

Re: [android-developers] nest custom views

2010-11-10 Thread kavitha b
I want nest 2 custom views through code. I didnt understand how to do it. Please provide any example. 2010/11/10 Kostya Vasilyev kmans...@gmail.com Well, subclass ViewGroup or one of its subclasses for the outer view, and View or one of its subclasses for the inner view. Then create them

[android-developers] in-app purchase with single-click checkout service?

2010-11-10 Thread Kai
just saw this single-click checkout service for Android at http://www.readwriteweb.com/mobile/2010/11/new-service-brings-single-click-checkout-to-android.php looks pretty cool. But again, I think it's a violation of Android Market TOS to use this kind of solution for in-app digital purchase(such

Re: [android-developers] nest custom views

2010-11-10 Thread Kumar Bibek
Well, if you mean nesting View classes, that's not possible. You can nest views/viewgroups if the parent is a ViewGroup. 2010/11/10 kavitha b kkavith...@gmail.com I want nest 2 custom views through code. I didnt understand how to do it. Please provide any example. 2010/11/10 Kostya

Re: [android-developers] How to update a

2010-11-10 Thread Kumar Bibek
If you have a Nexus One, you will get the updates faster. If you have any other device, your device manufacturer/carrier would be ready with an update for you to download it. Else, you have to root your phone and flash your OS to the stock OS from Google. On Wed, Nov 10, 2010 at 3:07 PM, ashwani

Re: [android-developers] Re: Launch twitter Homepage

2010-11-10 Thread Kumar Bibek
Can you tell us the details of the errors you are running into? On Wed, Nov 10, 2010 at 11:32 AM, Babita kumari babita.permeat...@gmail.com wrote: Hi Bibek , Sorry , I used word Launch for that . Actually I want to use the service of Twitter using Twitter4J API . I am getting errors

Re: [android-developers] turning on Camera Flash

2010-11-10 Thread TreKing
On Tue, Nov 9, 2010 at 3:07 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way by which I can control the camera flash at the back of the phone? http://developer.android.com/reference/android/hardware/Camera.Parameters.html

[android-developers] Re: Launching separate projects

2010-11-10 Thread kypriakos
He he - I liked that word ... Ok now I understand what you meant by a service here. Thanks On Nov 9, 12:26 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Nov 9, 2010 at 11:39 AM, kypriakos demet...@ece.neu.edu wrote: (3) Use a ContentProvider (4) Use a remote Service I'd vote

[android-developers] Re: French character encoding issues

2010-11-10 Thread Bob Kerns
It's clearly not logcat that's the issue here, because the two strings output differently. He's expecting them to be the same for some reason. It just now occurs to me that he may be assuming that the the one- argument version defaults to UTF-8; it defaults to *something*, but something

Re: [android-developers] Re: Fetch Spinner value outside setOnItemSelectedListener

2010-11-10 Thread TreKing
On Tue, Nov 9, 2010 at 5:58 PM, sisko adeod...@gmail.com wrote: Please enlighten me as to why the getSelectedItemPosition() function displays the currently selected value in my toast but as I try using it in my seSelection call, my spinner never sets to the value confirmed in my above toast ?

[android-developers] Re: Product images for marketing materials

2010-11-10 Thread Yahel
Your printer is a douchebag ... Just sign him a release stating that you won't sue him if any problem should arise and be done with it Phil Endecott from Scotland :) Oh yeah Samsung is so really going to be pissed off by a developper diffusing one of the press-release pictures of their product

[android-developers] Re: Product images for marketing materials

2010-11-10 Thread Phil Endecott
Your printer is a douchebag Somehow I just knew that I would get replies like this... Is there anyone out there who can offer a sensible reply? Do any Android device vendors publish product images with terms that allow developers to re-use them? Is anyone from Samsung reading this list? --

[android-developers] Re: HTTP Post works in activity but not in service

2010-11-10 Thread Bob Kerns
Indeed, the onCreate method of any component, including the Application, is the wrong place to do any network operation or other thing that can cause delay. In fact, you don't want to be doing it in any method that runs on the main thread, including onStartCommand. I'd suggest using an AsyncTask.

Re: [android-developers] Re: Product images for marketing materials

2010-11-10 Thread Mark Murphy
On Wed, Nov 10, 2010 at 1:05 PM, Phil Endecott spam_from_goo...@chezphil.org wrote: Is there anyone out there who can offer a sensible reply? Only if you define sensible as not what you want to hear.  Do any Android device vendors publish product images with terms that allow developers to

[android-developers] Full Screen Caller Pictures and Full Screen Caller ID

2010-11-10 Thread Kavinder Dhaliwal
So I've been searching for some time on how to either replace the in call screen or put something on top of itthe only solution I have found thus far is to make my own ROM, which doesn't make sense for such a small portion of an OS. however I found these two apps (Full Screen Caller Pictures

Re: [android-developers] proximity alert

2010-11-10 Thread Hendrik Greving
The documentation says that you can pass PendingIntent.FLAG_UPDATE_CURRENT and then any matching pending alert would be updated. It dosn't further specify what matching means though. longitude/latitude? - Original Message - From: Mark Murphy mmur...@commonsware.com To:

Re: [android-developers] proximity alert

2010-11-10 Thread Mark Murphy
On Wed, Nov 10, 2010 at 2:08 PM, Hendrik Greving fourhend...@gmail.com wrote: The documentation says that you can pass PendingIntent.FLAG_UPDATE_CURRENT and then any matching pending alert would be updated. That has nothing to do with locations. It dosn't further specify what matching means

[android-developers] HSPA vs HSPA+

2010-11-10 Thread gudujarlson
I don't see a separate constant on android.telephony.TelephonyManager for HSPA+ (Evolved High-Speed Packet Access). Is there no way to differentiate between HSPA+ and HSPA/HSUPA/HSDPA? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Is it a UNIT Test or an Integration test?

2010-11-10 Thread A. Elk
Good catch! The entire test package contains a *suite* of unit tests against methods in the application under test. They are unit tests because they test the smallest testable part of the application, which is a single method written by the user. In practice, multiple unit tests are run

[android-developers] Re: Child Thread Blocking Problems

2010-11-10 Thread Hank
I managed to fix it, apparently I was not associating the handler and looper to the child thread On Oct 28, 5:22 pm, DanH danhi...@ieee.org wrote: Assuming that post() or postDelayed() starts the Thread is even more popular. On Oct 28, 4:47 pm, fadden fad...@android.com wrote: On Oct 28,

Re: [android-developers] standard power widget icons

2010-11-10 Thread Hendrik Greving
I am looking for the buttons or icon images of the power control widget (wireless, bluetooth, gps, sync and display brightness). Couldn't find it in there. Are they open source and available at source.android.com by any chance? - Original Message - From: Mark Murphy

[android-developers] Re: Fetch Spinner value outside setOnItemSelectedListener

2010-11-10 Thread sisko
Thanks for responding. I have the following code: final Spinner spinner = (Spinner)findViewById(R.id.Spinner_gender); spinner.setOnItemSelectedListener( new AdapterView.OnItemSelectedListener() {

Re: [android-developers] ExtandableLists and LongClicks

2010-11-10 Thread TreKing
On Wed, Nov 10, 2010 at 1:13 AM, Patrick patrick.manges...@gmail.comwrote: Or how can I get this information (group and child position) of a long click? I would examine the values you get in the callback. What's the View? The ExpandableListView, the group, or the child? What's the value of

[android-developers] EXTRA_OUTPUT file path being ignore capturing Video woes

2010-11-10 Thread JimmyHoffa
Hi All, I'm having a pig of a time creating a basic video capture feature in my application. I want to call the default video capture tool my device and had the file saved to a specific location. From the documentation this is achieved by providing a Uri in EXTRA_OUTPUT, however what's

Re: [android-developers] How to update Android firmware 2.1 to 2.2

2010-11-10 Thread TreKing
On Wed, Nov 10, 2010 at 3:39 AM, ashwani ash1...@gmail.com wrote: I'd like to know how to update Android firmware 2.1 to 2.2. http://tinyurl.com/38zxpe9 - TreKing

Re: [android-developers] Re: Fetch Spinner value outside setOnItemSelectedListener

2010-11-10 Thread TreKing
On Wed, Nov 10, 2010 at 1:52 PM, sisko adeod...@gmail.com wrote: But, the very next line I am using the same function call but my spinner does not set to the previously selected value when the activity is re-loaded. However, if I simply give spinner.selection a static argument, e:g 2, it

Re: [android-developers] issue with Edit Text

2010-11-10 Thread TreKing
On Wed, Nov 10, 2010 at 8:39 AM, Kartik Bansal kartikban...@gmail.comwrote: if i align the text then hint is not shown but if i remove the gravity tag for aligning text then it shows. What's the alignment? Is this in the preview in Eclipse or when you actually run it?

Re: [android-developers] standard power widget icons

2010-11-10 Thread Mark Murphy
Maybe in Launcher2. On Wed, Nov 10, 2010 at 2:51 PM, Hendrik Greving fourhend...@gmail.com wrote: I am looking for the buttons or icon images of the power control widget (wireless, bluetooth, gps, sync and display brightness). Couldn't find it in there. Are they open source and available at

[android-developers] Re: Downloading Problem

2010-11-10 Thread Bob Kerns
I don't know what's happening to you specifically, but I do observe this behavior with regular web browsers and certain broken web servers. The server will get an error, either consistently or occasionally, and fail in such a way that the browser just sees a close. If there's no Content-Length:

Re: [android-developers] Re: Strange network behavior with two phones

2010-11-10 Thread Kostya Vasilyev
I wouldn't discard issues with the operator - quite the opposite, since you now have consistent misbehavior on two phones connected to the operator's network. The emulator doesn't go through the cellular network, so it's different from both phones, which are the same. Does you code make an

Re: [android-developers] nest custom views

2010-11-10 Thread Kostya Vasilyev
Kavitha, If your intent is to let the user drag and drop game pieces from the bottom portion of the screen to the game grid, then: Implement a view that subclasses ViewGroup (possibly one of its subclasses, such as RelativeLayout or LinearLayout). Handle touch and drag events in that view.

[android-developers] Re: Strange network behavior with two phones

2010-11-10 Thread William Añez
Not exactly, but my app have two kind of connections, one of those is a Socket that Im oppening in a Android Service of my own, in a Thread, this socket always is running sending a PING command each 5 minutes, for that way I spect to receive some messages for my application. The other connection

Re: [android-developers] Re: Product images for marketing materials

2010-11-10 Thread Kostya Vasilyev
Phil, If you want to get a response from Samsung, you might have better chance contacting the team that specifically maintains their web site, especially since you probably downloaded the image from their web site. There is usually a special email, such as i...@. or w...@ listed

[android-developers] Re: Is it a UNIT Test or an Integration test?

2010-11-10 Thread Bob Kerns
You can and should write normal unit tests for everything in your app that doesn't depend on the Android-specific APIs. It's a good idea to try to keep the android-specific stuff and the non- android-specific functionality as separate as possible. Not only does it aid testing, it aids porting to

Re: [android-developers] Re: French character encoding issues

2010-11-10 Thread Kostya Vasilyev
Good catch, Bob. You are right of course - I missed the lack of encoding parameter in the second call. The docs say this: http://developer.android.com/reference/java/lang/String.html#String(byte[]) Converts the byte array to a string using the default encoding as specified by the

Re: [android-developers] Getting ready to Publish

2010-11-10 Thread Kostya Vasilyev
I've not used ant for my builds, but... If you are prompted for the password, and you see ant run zipalign, then it looks like you're all set. You can further test this by trying to install your .apk with adb: adb install apk file name Just make sure to first uninstall the debug version of

  1   2   >