[android-developers] Home and back key of device key pad

2011-11-23 Thread Naveen
How to handle Home and Back key of a device. down vote favorite 3 share [fb] share [tw] So I have this method in one of my Android Activities: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_BACK) { Log.d(Test, Back button

[android-developers] Re: Home and back key of device key pad

2011-11-23 Thread skink
On Nov 23, 9:00 am, Naveen kumarnaveen.si...@gmail.com wrote: How to handle Home and Back key of a device. down vote favorite 3 share [fb] share [tw] So I have this method in one of my Android Activities: @Override public boolean onKeyDown(int keyCode, KeyEvent event) {    

[android-developers] Re: ChartDroid 3rd party library for dynamic graphing

2011-11-23 Thread Alfdevel
Hi, I've been using AChartEngine for displaying dynamic pie chart and line chart, works really well. Never used chartDroid sorry. On 22 nov, 20:07, droid-stricken harik...@gmail.com wrote: Hi, I had posted the same question on StackOverflow y'day and it does not seem to have strung a chord

[android-developers] how can I post questions here ?

2011-11-23 Thread gil eichenbaum
I have tried posting a question, but it never got to be on the thread. What sould I do? -- 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] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
Please give me guideline how to handle the home event and pause event in code separately. On Wed, Nov 23, 2011 at 2:03 PM, skink psk...@gmail.com wrote: On Nov 23, 9:00 am, Naveen kumarnaveen.si...@gmail.com wrote: How to handle Home and Back key of a device. down vote favorite 3 share

[android-developers] Issue 9656: Library projects don't support custom XML attributes for custom classes

2011-11-23 Thread gil eichenbaum
From what i have read about new ADT R.15, I hoped this issue is solved by now, but when I tried compiling my library project and the projects that use it, I got same error saying error: No resource identifier found for attribute. I was using a sulotion offered here:

Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
Is there any way to handle these cases using activity life cycle. On Wed, Nov 23, 2011 at 2:31 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Please give me guideline how to handle the home event and pause event in code separately. On Wed, Nov 23, 2011 at 2:03 PM, skink

{SAP-Jobs-SAP-FAQ} www.bignlife.in--[e-mail sending Job]-- Re: [android-developers] how can I post questions here ?

2011-11-23 Thread TreKing
On Wed, Nov 23, 2011 at 2:41 AM, gil eichenbaum gileichenb...@gmail.comwrote: I have tried posting a question, but it never got to be on the thread. What sould I do? Whatever you did *this time*.

Re: [android-developers] Re: Architecture of mobile application

2011-11-23 Thread TreKing
On Wed, Nov 23, 2011 at 1:51 AM, Dusk Jockeys Android Apps duskjock...@gmail.com wrote: I have no idea what you are talking about. QFE -- 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: HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2011-11-23 Thread Tomáš Hubálek
Mark, thanks for suggestion related to content provider. I made some research and content provider is not doable because I can send file reference only. My app is clock so I had to serialize bitmap every minute to SD card and it would be too much resource consuming. I finally ended up with

[android-developers] Re: HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2011-11-23 Thread Tomáš Hubálek
I have the same feeling :-( On Nov 22, 1:27 pm, Kostya Vasilyev kmans...@gmail.com wrote: Using multiple remote views per update is a sure way to get a messed up widget after a configuration change, and sometimes sooner. 2011/11/22 Mark Murphy mmur...@commonsware.com 2011/11/21 Tomáš

[android-developers] [Help] Stop Animation while navigating one activity to another activity

2011-11-23 Thread chandra sekhar
Hi All, This is Chandrasekhar Azad . i just new to android . actually iam facing one problem in my app that is my app is moving while navigating one activity to another activity even though i had use the following line in onClick listener intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);

[android-developers] Re: Home and back key of device key pad

2011-11-23 Thread skink
On Nov 23, 10:01 am, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Please give me guideline how to handle the home event and pause event in code separately. On Wed, Nov 23, 2011 at 2:03 PM, skink psk...@gmail.com wrote: On Nov 23, 9:00 am, Naveen kumarnaveen.si...@gmail.com wrote:

{SAP-Jobs-SAP-FAQ} www.bignlife.in--[e-mail sending Job]-- Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
In case of Home and Back event both cases calls the android pause method of activity life cycle. On Wed, Nov 23, 2011 at 2:47 PM, skink psk...@gmail.com wrote: On Nov 23, 10:01 am, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Please give me guideline how to handle the home event and

[android-developers] Re: Home and back key of device key pad

2011-11-23 Thread skink
On Nov 23, 10:43 am, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: In case of Home and Back event both cases calls the android pause method of activity life cycle. i dont understand you well, but if you simply say that onPause() is called after both home and back jey is pressed, you

[android-developers] How to find out why my app crashes

2011-11-23 Thread wyo
It's totally frustrating when an app crashes before the first breakpoint. But how do I find out what Resource ID #0x7f030001 means? 11-23 10:52:31.600: E/AndroidRuntime(3973): java.lang.RuntimeException: Unable to start activity ComponentInfo{wyo.android.contacts/wyo.android.contacts.ContactMgr}:

[android-developers] need help on menu in android

2011-11-23 Thread sktniran
Hi friends, i have two spinner and three edit text fields in my form at top row. now i want to move these fields into menu which only pops up when you hit the menu button. is it there any way to get this? please help me. Thanks, -- You received this message because you are subscribed to the

Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
Please see the code @Override public void onCompletion(MediaPlayer mp) { CompleteFlag = true; video.pause(); /* */ if(checkNetworkConnection()){ try { new

Re: [android-developers] How to find out why my app crashes

2011-11-23 Thread Kostya Vasilyev
Open R.java in your project... Hit Ctrl+F... Enter the value, 0x7f03 But first of all, try cleaning the project and rebuilding. It might go away on its own. 23.11.2011 14:18, wyo пишет: It's totally frustrating when an app crashes before the first breakpoint. But how do I find out what

[android-developers] Re: Architecture - Best Practice

2011-11-23 Thread hhenne
Seek information on android architectural design patterns - evt. through this link: http://stackoverflow.com/search?q=android+design-patterns+architecture Hardy Henneberg http://www.maxikeys.com On 22 Nov., 20:33, Rajib rajibkanu...@gmail.com wrote: Hello Friends, I am new to Android. I am

[android-developers] PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Graham Bright
Hi, I am creating service which will run in the background and contain a blocking list (implemented using ArrayList) which may be used later by other activites. My Problem:- From my activity Services Demo I pass data to my service using dataIntent.putExtra(originator, x); this is fine but

[android-developers] Re: Programatically adding a contact issue

2011-11-23 Thread Alok Kulkarni
Hello.. Anybody there :) Please let me know if you have an answer :) On Tue, Nov 22, 2011 at 3:28 PM, Alok Kulkarni kulsu...@gmail.com wrote: Hi all, I am developing a Backup restore app for contacts.There is this device HTC Desire which has Birthday and Anniversary Fields which are not

Re: [android-developers] Re: Remove Log Statements

2011-11-23 Thread Android Developer
Hi, Did any have any solution for this? proguard return exception for adding external jar file. i am not using ant script for proguard running from eclipse itself. Im getting this exception. Proguard returned with error code 1. See console Unexpected error while performing partial evaluation:

[android-developers] How to get fade effect

2011-11-23 Thread Dav
I am developing a custom view . How to get fade effect while moving a view towards another view ? i,e . When i push one view under another view it should fade.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Sim is not detecting on android-x86 2.3 gingerbread

2011-11-23 Thread venky6
Hi, I am using an android-x86 2.3 gingerbread source code for my tablet pc. its able to compile successfully and booting . its has issues regarding GSM module.My device is having sim socket. But its not able to detect network... can any help to fix this... thanks, Venkatesh -- You received

[android-developers] android 3.0:Text Selection in webview

2011-11-23 Thread shweta
Hello Developers, I am using android 3.0 .As I select the data from webview , there comes a option menu copy to copy the data on clipboard. i wanna create own button .as i click on that button it will copy the text on clipboard. i am able to copy selected text from webview to clipboard till 2.3

[android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Graham Bright
Can anyone help? Thanks Graham On Nov 23, 2011 11:51 a.m., Graham Bright gbwienmobil...@gmail.com wrote: Hi, I am creating service which will run in the background and contain a blocking list (implemented using ArrayList) which may be used later by other activites. My Problem:- From

Re: [android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Kostya Vasilyev
Look below caused by in the logcat to identify where the NullPointerException occurrs. Then fix it. 23 ноября 2011 г. 15:36 пользователь Graham Bright gbwienmobil...@gmail.com написал: Can anyone help? Thanks Graham On Nov 23, 2011 11:51 a.m., Graham Bright gbwienmobil...@gmail.com wrote:

[android-developers] Re: Action Bar

2011-11-23 Thread tobias
There are no 3.0/3.1 -large devices. The ~7 tablet size was not supported until Android 3.2. From what I can see Google TV runs on Android 3.1, and is reacting as a large device. Not to sure on this though as there are a number of devices out and I don't know how all of them react. -- You

[android-developers] How to connect to Facebook and publish in the wall

2011-11-23 Thread saex
I need a little help with this issue. I just need to add two things to my android app, read the user facebook wall, and publish in the user facebook wall. I know that i need to make a authentification with oauth for the first time on my app to get two tokens. I'm checking a lot of oauth tutorials

[android-developers] Proguard returns null pointer exception while adding external restlet jar

2011-11-23 Thread Android Developer
Hi, Did any one have solution for this? proguard return exception for adding external jar file( restlet jar). Exception. Proguard returned with error code 1. See console Unexpected error while performing partial evaluation: Class = [org/restlet/engine/local/ ZipClientHelper] Method =

Re: [android-developers] Sim is not detecting on android-x86 2.3 gingerbread

2011-11-23 Thread Raghav Sood
Please use android-porting. On Wed, Nov 23, 2011 at 4:56 PM, venky6 venky.bab...@gmail.com wrote: Hi, I am using an android-x86 2.3 gingerbread source code for my tablet pc. its able to compile successfully and booting . its has issues regarding GSM module.My device is having sim socket.

[android-developers] Facebook posting not works if any crashing in application

2011-11-23 Thread Naveen
Hello All, I am using facebook posting in android app, if any crashing occur in app then facebook object loosed by App. then after facebook posting not work for us. Please give me guideline till app persist android facebook posting works regards, Naveen -- You received this message because

Re: [android-developers] Re: Action Bar

2011-11-23 Thread Mark Murphy
On Wed, Nov 23, 2011 at 7:03 AM, tobias ecker...@gmx.de wrote: There are no 3.0/3.1 -large devices. The ~7 tablet size was not supported until Android 3.2. From what I can see Google TV runs on Android 3.1, and is reacting as a large device. Not to sure on this though as there are a number of

Re: [android-developers] Unit Test Fragment

2011-11-23 Thread Mark Murphy
On Tue, Nov 22, 2011 at 5:22 AM, Stuart Turner trevsor...@gmail.com wrote: I'd like to unit test a fragment but cannot find any documentation or examples of how this can be achieved. Can anyone assist me with this please? Use the same approaches as you would for a View. Use AndroidTestCase to

[android-developers] View/onDraw(Canvas) vs. SurfaceView

2011-11-23 Thread John Goche
Hello, Could anyone kindly explain to me what the difference is between using a SurfaceView and subclassing a View class and overriding its onDraw() mehtod? Plus I've read a thread on this mailing list that SurfaceView has problems on newer phones (and perhaps GLSurfaceView is affected as well).

Re: [android-developers] Android Monkey.

2011-11-23 Thread Mark Murphy
On Tue, Nov 22, 2011 at 3:51 PM, naveen raj s.naveen...@gmail.com wrote: a) How do I know, what are the events generated by android Monkey ? Add the -v switch to get a dump of the events. b) Can I define the events for android monkey ? AFAIK, no. You can describe what percentage of events to

Re: [android-developers] To Know Which Process/App Is Holding A Wakelock

2011-11-23 Thread Mark Murphy
There are no APIs for this in the Android SDK. For firmware topics, visit http://source.android.com. On Tue, Nov 22, 2011 at 4:55 AM, ♥Sreekanth♥Muralidharan♥ sreekanth.mur...@gmail.com wrote: Hi I need to write an interface in HAL layer, to expose the information about which

[android-developers] Re: Facebook posting not works if any crashing in application

2011-11-23 Thread appel
I'd suggest you fix the bug that causes the app to crash. -- 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: How to get fade effect

2011-11-23 Thread Pent
I am developing a custom view . How to get fade effect while moving a view towards another view ? i,e . When i push one view under another view it should fade.. Use an AnimationSet with translate and alpha components. Pent -- You received this message because you are subscribed to the

Re: [android-developers] Re: Facebook posting not works if any crashing in application

2011-11-23 Thread NaveenShrivastva
I am playing a video by code . when video completely played by user then it;s calling @Override public void onCompletion(MediaPlayer mp) { -method Here when i am posting the wall before the video Completion then it's work fine but when calling a custom dialog when onCompletion method

Re: [android-developers] Re: Facebook posting not works if any crashing in application

2011-11-23 Thread NaveenShrivastva
After crashing i am losing this value response = mFacebook.request(me); so, i am not able to post-wall, Please guide me how to save response = mFacebook.request(me); till app persist android device On Wed, Nov 23, 2011 at 6:12 PM, NaveenShrivastva kumarnaveen.si...@gmail.com

[android-developers] How to change the RatingBar style from the code

2011-11-23 Thread yoav bbb
Hey I have 2 styles for my RatingBar (difference is in the star image). I have an activity with a rating bar in it. I want the ratingbar to use one of the styles depending on the application state (e.g. flag is true/flase). Is there any way to do it -- You received this message because

[android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
This is really frustrating try to see/get android source code on windows. Previously this is fine with the online browsing as the repositories were available for online browsing. Anyways, I have downloaded git on windows. I dont need to compile on windows. I just want to download a repository

[android-developers] Re: Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
Ok, I may be getting somewhere, the following seem to work git clone https://android.googlesource.com/platform/manifest.git and git clone https://android.googlesource.com/platform/frameworks/base.git will keep you posted On Wed, Nov 23, 2011 at 7:59 AM, Satya Komatineni

[android-developers] Launch SoftKeyboard without view in Android

2011-11-23 Thread Deepak Kumar
Hi All, I need the solution of following two things as early as possible:- 1)How to launch a softKeyboard even when there is no edittext or TextView present programmatically. 2)And get each character that is typed on the soft keyboard. Or wheather it is

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Mark Murphy
On Wed, Nov 23, 2011 at 7:59 AM, Satya Komatineni satya.komatin...@gmail.com wrote: This is really frustrating try to see/get android source code on windows. Previously this is fine with the online browsing as the repositories were available for online browsing. Use Google Code Search, at

Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
Reply me how to handle this issue On Wed, Nov 23, 2011 at 4:00 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Please see the code  @Override    public void onCompletion(MediaPlayer mp) {         CompleteFlag = true;         video.pause();        /* */        

[android-developers] Jimmy Wan wants to chat

2011-11-23 Thread Jimmy Wan
--- Jimmy Wan wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-ce45e49c8c-faf72e6cef-liKSxcpfyxo9q03JfBmiNvppjXU You'll

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
Mark, thank you very much. Really appreciate your help on this forum. The google code search doesnt seem to bring out the 4.0 code. At lease on my initial search. For instance the contact provider implementation doesnt seem to match what is there in the API docs. I will check again. may be i am

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Mark Murphy
On Wed, Nov 23, 2011 at 8:32 AM, Satya Komatineni satya.komatin...@gmail.com wrote: The google code search doesnt seem to bring out the 4.0 code. At lease on my initial search. For instance the contact provider implementation doesnt seem to match what is there in the API docs. It at least has

[android-developers] Re: How to find out why my app crashes

2011-11-23 Thread wyo
Thanks a lot. I've already found out. One of my classes was named Contacts which seems to collide with the ContactsContracts declaration. Renaming my class fixed the crash. On 23 Nov., 11:36, Kostya Vasilyev kmans...@gmail.com wrote: Open R.java in your project... Hit Ctrl+F... Enter the

[android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Graham Bright
Hi I am getting FATAL EXCEPTION when the ArrayList items is populated; can you help ? Thanks Graham W/dalvikvm(11235): threadid=9: thread exiting with uncaught exception (group=0x4 001e578) E/AndroidRuntime(11235): FATAL EXCEPTION: Thread-10 E/AndroidRuntime(11235):

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Kostya Vasilyev
Um, what's expected to change in five weeks? 23 ноября 2011 г. 17:13 пользователь Mark Murphy mmur...@commonsware.comнаписал: On Wed, Nov 23, 2011 at 7:59 AM, Satya Komatineni satya.komatin...@gmail.com wrote: This is really frustrating try to see/get android source code on windows.

Re: [android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Kostya Vasilyev
It's all in the logcat: E/AndroidRuntime(11235): java.lang.NullPointerException E/AndroidRuntime(11235):at com.example.MyService.print_result(MyService. java:62) The stack trace is quite informative - learn to use it to find references to your code. 23 ноября 2011 г. 17:46 пользователь

[android-developers] Re: View/onDraw(Canvas) vs. SurfaceView

2011-11-23 Thread John Goche
Hello, Let me rephrase my question. Given the information found at http://developer.android.com/guide/topics/graphics/2d-graphics.html which states: The aim of SurfaceView is to offer this drawing surface to an application's secondary thread, so that the application isn't required to wait until

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Mark Murphy
2011/11/23 Kostya Vasilyev kmans...@gmail.com: Um, what's expected to change in five weeks? Google Code Search was one of the Google initiatives that's on the chopping block. http://googleblog.blogspot.com/2011/10/fall-sweep.html Actually, we have until January 12, so it's closer to seven

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Kostya Vasilyev
Ah. Well, there is still GrepCode (and possibly others). http://www.grepcode.com/search/?query=android+calendarview No 4.0 sources there yet either, it seems. 23 ноября 2011 г. 17:50 пользователь Mark Murphy mmur...@commonsware.comнаписал: 2011/11/23 Kostya Vasilyev kmans...@gmail.com: Um,

Re: [android-developers] Launch SoftKeyboard without view in Android

2011-11-23 Thread anup Jaipurkar
Hi Deepak, Not much known about, How to launch a softkeybord. But, if your phone's UI showing some edittext field, you can definitely write there via adb shell. 1. connect the device via adb 2. touch the edittext where you want to type 3. $ adb shell 4.#input text deepak deepak will appear in

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Mark Murphy
2011/11/23 Kostya Vasilyev kmans...@gmail.com: Ah. Well, there is still GrepCode (and possibly others). http://www.grepcode.com/search/?query=android+calendarview No 4.0 sources there yet either, it seems. Yeah, and GrepCode seems exclusive to Java, based on light testing. No XML, no native

Re: [android-developers] Launch SoftKeyboard without view in Android

2011-11-23 Thread Deepak Kumar
Yeah, that is possible. But I want to know how to launch soft Keyboard programmatically if there is no edittext or textview in layout?. Please reply anyone knows about this? On Wed, Nov 23, 2011 at 7:28 PM, anup Jaipurkar androida...@gmail.comwrote: Hi Deepak, Not much

[android-developers] How to use statelistdrawable with ninepatchdrawable?

2011-11-23 Thread Build account
Hello. Any idea to combine StateListDrawable and NinePatchDrawable classes? to use programmatic image changer? What I want is that load some ninepatch image from external location. Is it possible? -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
Thank you very much for all the help for this question. This has been a fruitful morning after all. I used the following command git clone https://android.googlesource.com/platform/packages/providers/ContactsProvider to download the latest contacts provider that deals with personal profiles.

[android-developers] Updating Android Product

2011-11-23 Thread Siva Prakash
Hi I have published a product in Android market some time back now I want to upgrade it. What should I do? Should I have to change the version in my manifest and re-register it? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: ?Is it now possible to declare a custom attribute in a library project

2011-11-23 Thread Emanuel Moecklin
It's still not resolved. Compare http://code.google.com/p/android/issues/detail?id=9656 Cheers Emanuel Moecklin 1gravity LLC On Nov 22, 6:17 am, gil eichenbaum gileichenb...@gmail.com wrote: I know this issue has been disscused in many places, but I couldn't find a good answer for it. I am

Re: [android-developers] Updating Android Product

2011-11-23 Thread Raghav Sood
Update the version code in the manifest and upload the upgrade in the apk tab for that application in the developer console. Raghav Sood Sent from my Nexus S On Nov 23, 2011 2:52 PM, Siva Prakash siva.yuvan2...@gmail.com wrote: Hi I have published a product in Android market some time back

Re: [android-developers] Updating Android Product

2011-11-23 Thread Duygu Kahraman
Update version code and name in manifest file. And signed your application and dowload market. 23 Kasım 2011 17:22 tarihinde Raghav Sood raghavs...@androidactivist.orgyazdı: Update the version code in the manifest and upload the upgrade in the apk tab for that application in the developer

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Giuseppe
Hi. Thanks for pointing out directions to the code. The next one probably is a silly question, but the answer does not seem obvious to me: Let's say I'd like to peek into ImageView implementation, or ListView, whatever. How do I find which package to download from the whole lot? E.g. starting

[android-developers] Re: Client/Server SSL Authentication

2011-11-23 Thread mgolds02
Thanks for the reply. However, this brings up another issue - how does the server reject users that dont have the appropriate keystore? This might be a bit off topic for the Android Developers group but a point in the right direction would be appreciated. Would this setting to only allow

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Mark Murphy
On Wed, Nov 23, 2011 at 10:46 AM, Giuseppe piscopo.giuse...@gmail.com wrote: Hi. Thanks for pointing out directions to the code. The next one probably is a silly question, but the answer does not seem obvious to me: Let's say I'd like to peek into ImageView implementation, or ListView,

Re: [android-developers] Re: Client/Server SSL Authentication

2011-11-23 Thread Nikolay Elenkov
On Thu, Nov 24, 2011 at 12:47 AM, mgolds02 mgold...@gmail.com wrote: Thanks for the reply.  However, this brings up another issue - how does the server reject users that dont have the appropriate keystore? This might be a bit off topic for the Android Developers group but a point in the right

[android-developers] hardware acceleration

2011-11-23 Thread New Developer
I have a main Activity within the Manifest.xml hardware_acceleration=true activity android:name=MainActivity android:screenOrientation=landscape android:configChanges=orientation android:hardwareAccelerated=true /activity activity android:name=display

[android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-23 Thread sblantipodi
nothing, it neither power the devices. On Nov 23, 12:36 am, Bret Foreman bret.fore...@gmail.com wrote: What does the logcat say? On Nov 22, 2:24 pm, sblantipodi perini.dav...@dpsoftware.org wrote: As title. Is there some android engineer here who can explain me why galaxy nexus

Re: [android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-23 Thread Christopher Van Kirk
They explained this already. It's because the Galaxy Nexus has no SD card. On 11/24/2011 12:37 AM, sblantipodi wrote: who can explain me why galaxy nexus isn't able to go into u -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How to replace GLSurfaceView with TextureView in Android Ice Cream Sandwich?

2011-11-23 Thread plafayette
The TextureView documentation states that it can be used to render OpenGL content. In the blog post announcing TextureView, it states: A TextureView can just as easily be used to embed an OpenGL scene in your application. As of Android 4.0, eglCreateWindowSurface() can be used to render into a

Re: [android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-23 Thread s.rawat
May be you have to root it and apply the USB device patch in the kernel.Ideally Ginger Bread doesnt support the host for USB devices, I checked it with the samsung TAB..with teh USB host adapter for USB devices. Rgds, Saurabh ..pain is temporary.quitting lasts forever.. On Wed, Nov 23,

Re: [android-developers] How to replace GLSurfaceView with TextureView in Android Ice Cream Sandwich?

2011-11-23 Thread Romain Guy
GLSurfaceView handles GL setup for you, which TextureView will not do. A TextureView can be used as the native window when you create an EGL surface. Here is an example (the interesting part is the call to eglCreateWindowSurface()): @Override public void

[android-developers] Re: How secure are SharedPreferences on rooted devices?

2011-11-23 Thread Ricardo Amaral
I'm a little confused... If SharedPreferences are not safe for this, how are apps handling validation if they don't use online validation? I'm sure there are a couple who don't use online validation but have some sort of validation and they probably use SharedPreferences to control the app

[android-developers] Re: Issue 9656: Library projects don't support custom XML attributes for custom classes

2011-11-23 Thread Streets Of Boston
I have the same problem and haven't found a solution yet. Instead, i query the attributes by name (note that this means that they need to be set directly on the view in the XML layout). Here is an example: // called by the custom view's constructors private void init(Context context,

[android-developers] Re: Issue 9656: Library projects don't support custom XML attributes for custom classes

2011-11-23 Thread olefevre
If anyone is interested I compiled aapt.exe for ADT r15 (Windows) with the fix in question. Ask me by email if you want it. With luck it will (finally!) be part of ADT r16. -- O.L. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Running Emulators from Eclipse

2011-11-23 Thread Royston
Firstly apologies if this should have been asked on some Eclipse forum. I find when starting Emulators from within Eclipse that success is very hit and miss. One particular problem i find is that an emulator will appear to start OK but on attempting to run an App the following if output on the

Re: [android-developers] Re: How secure are SharedPreferences on rooted devices?

2011-11-23 Thread Mark Murphy
On Wed, Nov 23, 2011 at 12:51 PM, Ricardo Amaral mas...@ricardoamaral.net wrote: I'm a little confused... If SharedPreferences are not safe for this, how are apps handling validation if they don't use online validation? I'm sure there are a couple who don't use online validation but have some

[android-developers] Re: How to replace GLSurfaceView with TextureView in Android Ice Cream Sandwich?

2011-11-23 Thread plafayette
Thanks for the quick response Romain and the sample code! Will give it a try. On Nov 23, 12:17 pm, Romain Guy romain...@android.com wrote: GLSurfaceView handles GL setup for you, which TextureView will not do. A TextureView can be used as the native window when you create an EGL surface. Here

Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread Jim Graham
On Wed, Nov 23, 2011 at 06:46:07PM +0530, NaveenShrivastva wrote: Reply me how to handle this issue No. Someone already did And re-posting the same s**t is not going to get you a repeat of the answer, either, nor will it get you your first answer (where applicable) faster. Post your

[android-developers] reading a plain text file: java.lang.fileNotFoundException

2011-11-23 Thread John Goche
Hello, I have a really basic question. I am trying to read the contents of a plain text file from my application. I have placed the file under MyProject/assets/foo.txt and I am trying to read it in my application with BufferedReader reader = new BufferedReader(new FileReader(fileName));

Re: [android-developers] reading a plain text file: java.lang.fileNotFoundException

2011-11-23 Thread Mark Murphy
You don't access assets/ by FileReader. You access assets/ via AssetManager, which you get from a Resources object, which you typically get via a call to getResources() on your Activity. On Wed, Nov 23, 2011 at 2:10 PM, John Goche johngoch...@googlemail.com wrote: Hello, I have a really basic

Re: [android-developers] reading a plain text file: java.lang.fileNotFoundException

2011-11-23 Thread John Goche
Thanks, Here is how I solved it, BufferedReader reader = new BufferedReader(new InputStreamReader(ctx.getAssets().open(fileName))); Regards, John Goche On Wed, Nov 23, 2011 at 8:53 PM, Mark Murphy mmur...@commonsware.comwrote: You don't access assets/ by FileReader. You access assets/ via

[android-developers] Re: Dangerous audio noise while using of headphones

2011-11-23 Thread Harald
Thanks for the answers so far. If you can not hear the noise than be happy. For the others there is no need to explain how to hear the noise. Just mind a silent gap wile streaming an audio file. Or, if you can not hear, do a simple search in the internet. You will get a big list regarding the

[android-developers] Multilanguage via market

2011-11-23 Thread Kubilay D . Yılmaz
Hello friends; I want to make my application multi language. And want to set its language from market, I mean if user downloaded it from UK android market, then application should start english. Is it possible? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Launch SoftKeyboard without view in Android

2011-11-23 Thread Eric Carman
I use this in a custom view. I must admit that it doesn't always seem to work - as reported by customers - but I've not had it fail for me in testing on a number of devices. I actually found this doing a lot of Google searches myself, so credit/blame goes elsewhere. While you may not need to

Re: [android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Lew
Hint: When is 'items' allocated, and to what? While you're at it, you need to conform to the Java coding conventions. ORIG should be spelled in camel case with a lower-case first letter. Same with print_result(); there should not be an underscore in the method name. And do something about

[android-developers] Re: 3g and wifi problems

2011-11-23 Thread Harald
Hi, your question is not a developer question in general. Probably you will find some answers in user forums. I have a similar or even the same behave of my android 1) I setup a new wifi connection 2) Disconnect from the wifi network 3) Reconnect to the wifi network in a couple of minute -- The

[android-developers] Re: wysiwug editor in eclipse?

2011-11-23 Thread Lew
It's WYSIWYG, as the first letter of YOU is Y, not U. On Monday, November 21, 2011 3:49:53 PM UTC-8, ga...@deanblakely.com wrote: I'm watching this video android Development tools where they show a cool wysiwug eclipse editor running on a MAC. My eclipse on my windows computer apparently has

[android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-23 Thread sblantipodi
I'm not talking about USB Mass Storage but about the possibility to connect an usb stick or mouse to the phone. This is possible since a modder enabled a kernel options and now it works but a feature like this must be enabled by default without any modding needed. On Nov 23, 5:39 pm, Christopher

Re: [android-developers] Multilanguage via market

2011-11-23 Thread Mark Murphy
The application should run with whatever language the user has set up in their device. AFAIK, there is no UK android market. On Wed, Nov 23, 2011 at 4:43 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Hello friends; I want to make my application multi language. And want to set its

[android-developers] StackView of images

2011-11-23 Thread ANKUR GOEL
how to achieve stack view for number of images horizantall scroll and i shud able to see the layers background when i move left to right one by one image should move -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Reconnect on ACTION_SCREEN_ON - wifi icon incorrect

2011-11-23 Thread Keith Hill
I just tested the app on a 2.2 tablet and it doesn't have this problem, but 2.2. only has one connected icon.  Bummer . . . this seems to be a honeycomb specific problem.  Anyone out there know a way around this? On Nov 22, 10:18 pm, Keith Hill dik...@gmail.com wrote: This is actually happening

[android-developers] Handster

2011-11-23 Thread bob
How do people download stuff thru Handster? Is there some kind of Handster app? -- 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

Re: [android-developers] ArrayAdapter not updating its ListView

2011-11-23 Thread scottishwildcat
Thanks, but as I said, I tried that, and it didn't help. And you shouldn't have to do that anyway -- according to the API documentationhttp://developer.android.com/reference/android/widget/ArrayAdapter.html#setNotifyOnChange(boolean), notification is meant to happen automatically when you're

Re: [android-developers] Opaque Binary Blob (OBB)?

2011-11-23 Thread Yuku Sugianto
Does anyone know the progress of this OBB thing? (Since now it's already late 2011). Also, if I remember correctly, in Google I/O, Google announces up to 2GB extra-data download on Android Market. Is it cancelled? Hoping to get some updated information. Thanks! Yuku -- You received this

  1   2   >