[android-developers] Copy/Paste

2011-03-16 Thread perumal316
Hi All, Is it possible to use the KeyEvent API for copy/paste functionality? It is possible to insert keystrokes into a TextView using KeyEvent. How do I copy the string from a TextView using KeyEvent? Is there any other way? Regards, Perumal -- You received this message because you are subsc

[android-developers] Problem of the SDK built from Android 2.3 source

2011-03-16 Thread lee dallas
Hi all, I am facing a strange problem while using the SDK built from Android 2.3 source code. When using ./android list targets, there was no targets shown. And I tested the SDK downloaded from official website, no problem at all. And I replaced the sdkmanager.jar and sdklib.jar in tools/lib/ wit

Re: [android-developers] why can't catch the SocketTimeoutException

2011-03-16 Thread Kostya Vasilyev
Ah (typing from the phone). Try catching AssertionError - looks that's how it gets re-thrown. 17.03.2011 8:57 пользователь "a a" написал: -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Re: Phone calls recording on 2.0

2011-03-16 Thread Rafa
appforce.org gmail.com> writes: > > Thanks for your reply. > http://forum.xda-developers.com/showthread.php?t=863074 http://forum.xda-developers.com/showthread.php?t=994570 Let me know if you make advances please; i can record but annoying beep every 10 sec is heard by both parties. -- Yo

Re: [android-developers] why can't catch the SocketTimeoutException

2011-03-16 Thread a a
BUT SocketException is not the super-class for SocketTimeoutException, if not match the first clause(SocketException), it will match the sencond clause(SocketTimeoutException), isn't it? 2011/3/17 Kostya Vasilyev : > Move the catch for SocketTimeoutException up, before the catch for > SocketExcep

[android-developers] Error while configuting Gmail Account in Enulator

2011-03-16 Thread Honey
Hi, When i configure gmail account through Settings --> Accounts and Sync --> Add account i get error saying "Cannot connect to server". I launched the emulator from android source code.Please help me configure gmail account to this emulator. Thanks, Honey -- You received this message because

[android-developers] Reducing resource folder size from apk

2011-03-16 Thread Manish Garg
Hi All, In my application, we are using lots of images to create UI because of which drawable folder size is quite big. Now to take care of different resoultion, we have three folders for ldpi, hdpi and mdpi (haven't xdpi), which again is increasing its size. I want to know is there any way that

[android-developers] Updated to 10.0.1 - layout editor no longer working

2011-03-16 Thread Stacy Young
After updating ADT I can no longer launch the layout editor. (tried eclipse 3.6 and 3.6) Anyone know of a workaround? Bug filed: http://code.google.com/p/android/issues/detail?id=15568 Exception from Eclipse log: !ENTRY org.eclipse.ui 4 0 2011-03-17 00:53:41.233 !MESSAGE Unhandled event loop exc

Re: [android-developers] why can't catch the SocketTimeoutException

2011-03-16 Thread Kostya Vasilyev
Move the catch for SocketTimeoutException up, before the catch for SocketException. The rule is, first match, not necessarily best match. 17.03.2011 6:39 пользователь "a a" написал: > Key code below: > > try { > Xml.parse(operation.outBody, > Xml.Encoding.UTF_8, parser); // Line 89 > } catch (Sock

Re: [android-developers] Re: onItemLongClick and onItemClick for a gridview

2011-03-16 Thread Kostya Vasilyev
There is a long item click listener in grid view - you do know that, right? 17.03.2011 4:30 пользователь "varinag gold" написал: > > I want to activate a drag and drop function once a user long press the > GridView items. > I am not sure if OnCreateContextMenuListener and handle it > straightforwa

[android-developers] Re: How to install market app in emulator?

2011-03-16 Thread Eric Wong (hdmp4.com)
1) The emulator does not come with the Android market, Google voice search and other Google proprietary application, how can you have them on the emulator? a) Go to the HTC website and download the ADP system image b) Extract the files and replace the emulator AVD's with the system.img from the AD

Re: [android-developers] Walking Sprite....

2011-03-16 Thread Anirudh
well i'm done with the animation of the walking part i.e when the app is launched, my sprite looks like this: http://obviam.net/wp-content/uploads/2010/09/walk_elaine_anim.gif I can now control the animation also i.e. only make it walk on generation of a certain event. I just need help in making

[android-developers] Re: custom attributes in library projects

2011-03-16 Thread joebowbeer
Thanks for confirming my findings, Emanuel! Sorry for not clarifying in my response that I had read the earlier thread. I also read that "this" was fixed recently, which is why I'm asking for an update. Joe On Mar 16, 6:38 pm, Emanuel Moecklin <1gravity...@gmail.com> wrote: > On Wednesday, Marc

[android-developers] why can't catch the SocketTimeoutException

2011-03-16 Thread a a
Key code below: try { Xml.parse(operation.outBody, Xml.Encoding.UTF_8, parser); // Line 89 } catch (SocketException e) { Log.e(TAG, "getAlbumPhotos: " + e); ++syncResult.stats.numIoExce

[android-developers] Re: Install % drop again?

2011-03-16 Thread Zsolt Vasvari
> In all seriousness, do I feel cheated when I see my stats drop dramatically? >  Yes. Just to give an update on my plight -- nothing has changed as far as the stats and the three e-mails I sent to Google have gone unanswered. -- You received this message because you are subscribed to the Google

[android-developers] Re: FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Zsolt Vasvari
> I'm finally making some progress. Thanks for suggesting looking for > themes. Correct, I had this problem. The way I solved it is very kludgy -- I basically created "alias" Activities in the manifest, one for 3.0 and one for < 3.0. I am saying it's kludgy becuase I had to create "bogus" empty

Re: [android-developers] Re: ProgressDialog results in a FC

2011-03-16 Thread David Williams
TreKing / Nadeem / Kostya, Just wanted to say a big thanks to you all for helping me understand AsyncTask and about what a context is and the interaction between the UI thread and AsyncTask threads :) I got it and I have (at least the start of) my app working the way I want it to work. Yes,

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Justin Giles
These aren't the Market bugs you are looking for. Move along now, move along. In all seriousness, do I feel cheated when I see my stats drop dramatically? Yes. Do I feel like there should be some correction? Yes. Has anything been done in the past to recover the stats? Very rarely. Sh

[android-developers] Re: custom attributes in library projects

2011-03-16 Thread Emanuel Moecklin
On Wednesday, March 16, 2011 3:42:58 PM UTC-4, joebowbeer wrote: > > In my tests with the latest tools, the custom attribute's namespace > declaration in the library project needs to match the package > declaration of the including project. Correct? > It has to match the package declaration in

[android-developers] Re: FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Nathan
On Mar 16, 5:46 pm, Mark Murphy wrote: > On Wed, Mar 16, 2011 at 8:28 PM, Nathan wrote: > > > On Mar 16, 5:20 pm, Mark Murphy wrote: > >> Add android:targetSdkVersion="11" to the element in your > >> manifest. > > > It's in there already. > > Then you perhaps are using some custom theme or s

[android-developers] Re: Gift certificate or something like that

2011-03-16 Thread Zsolt Vasvari
It's really is a no-win situation. I've refunded people who have helped me before using PayPal, but then I took the hit for the 30% Google took in the first place, so it's not a viable long term solution. And if you give them less than the full purchase price, you look like a cheapskate. On Mar

[android-developers] Re: Accessing invisible items in the list view while we scroll the list

2011-03-16 Thread lbendlin
You can't. Imagine your list has 1000 items. Your memory usage would prevent the app from functioning. list cell re-use is used to work around that. However, since you are anyhow programmatically filling the list items, you can simply pull the required information from your data source. No need to

[android-developers] Re: onItemLongClick and onItemClick for a gridview

2011-03-16 Thread varinag gold
I want to activate a drag and drop function once a user long press the GridView items. I am not sure if OnCreateContextMenuListener and handle it straightforwardly. Thanks, Varinag On Mar 17, 1:20 am, Justin Anderson wrote: > Are you just wanting to display a context menu with the long press?  

[android-developers] purgatory state in surface flinger

2011-03-16 Thread Khad
Hello, I have a question. What is the meaning of purgatory state, in dumpsys SurfaceFlinger. Is is purgable surfaces? But i waited over and over those surfaces not get freed. So what does it mean? Regards -- Kamus Online - http://kamus.landak.com/ -- You received this message because you are

[android-developers] MediaMetadataRetriever.getFrameAtTime returns null frame for time = duration

2011-03-16 Thread chip
I am attemptiong to use the MediaMetadataRetriever.getFrameAtTime (long timeUs, int option) method to retrieve bitmaps from a video file on a honeycomb device. This is working almost as expected however when i try to get a frame from the end of the video by using a timestamp of METADATA_KEY_DURATI

[android-developers] Re: FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Zsolt Vasvari
> Here is a sample application that sports a regular title bar/options > menu on pre-HC environments and an action bar on HC devices: > > https://github.com/commonsguy/cw-android/tree/master/Menus/ActionBarBC I confirm that this works just fine in my app (running on the emulator) -- I have an Acti

[android-developers] Re: Install % drop again?

2011-03-16 Thread Zsolt Vasvari
I don't know. Does a lower power phone means < Android 2.1?? I don't think so as I don't believe that the hardware requirements have really changed much from 1.5 to even 2.3. In the US, the only major phone that's not on 2.0+ is the Motorola CLIQ XT, and that's not even because of hardware reaso

Re: [android-developers] Re: FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Mark Murphy
On Wed, Mar 16, 2011 at 8:28 PM, Nathan wrote: > > > On Mar 16, 5:20 pm, Mark Murphy wrote: >> Add android:targetSdkVersion="11" to the element in your manifest. >> > > It's in there already. Then you perhaps are using some custom theme or something that is interfering. Or your element is in t

[android-developers] Re: FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Nathan
On Mar 16, 5:20 pm, Mark Murphy wrote: > Add android:targetSdkVersion="11" to the element in your manifest. > It's in there already. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Android 3.0 presentation on Slideshare

2011-03-16 Thread Sean Sullivan
I gave a presentation about Android 3.0 at the Portland Java User Group on March 15th. The slides are available here: http://www.slideshare.net/sullis/android-30-portland-java-user-group-20110315 Cheers, Sean -- You received this message because you are subscribed to the Google Groups "Android

Re: [android-developers] Re: FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Mark Murphy
On Wed, Mar 16, 2011 at 8:15 PM, Nathan wrote: > OK, but now I am lost. > > I stopped calling > > requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); > AND > getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, > R.layout.custom_title_1); > > So I am not missing with the Window Title. I am not ge

[android-developers] Scaling on Two Webviews

2011-03-16 Thread Marc Lester Tan
Hi, In my application, i need to display 2 webviews inside a linearlayout in vertical orientation. The code looks something like this on the onCreate method of my activity: LinearLayout container = new LinearLayout(this); container.setOrientation(LinearLayout.VERTICAL); W

[android-developers] Re: FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Nathan
OK, but now I am lost. I stopped calling requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); AND getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title_1); So I am not missing with the Window Title. I am not getting a custom view in the title anymore, but I am getting a preh

[android-developers] Re: Could anyone tell me what i need to develop this app...?

2011-03-16 Thread metal mikey
Start off by not even touching your end-goal in terms of functionality (i.e. don't make a Bus Schedule App)... Rather, start off by making a Hello World App, and move up from there until you are so comfortable with Android development that you don't need to ask questions such as the one you asked

[android-developers] Re: 24 bit color for GL surface?

2011-03-16 Thread Robert Green
So are you saying the correct way is to set translucency and write a custom config chooser that picks ? On Mar 16, 4:03 pm, Romain Guy wrote: > Setting translucency will pick RGBA. You still have to choose the proper > config though. > > > > > > > > > > On Wed, Mar 16, 2011 at 3:43 PM, Ro

Re: [android-developers] Re: Using Eclipse write monkeyrunner

2011-03-16 Thread Bill Napier
Can you provide the full stack trace from your first mail? It looks like part of it got cut off. @diego - I've filed a bug to look at fixing the unbuffered input issue that you had to work around. It would be nice if monkeyrunner could just do this without resorting to a wrapper script. On Tue,

Re: [android-developers] Running Monkeyrunner directly on Android tablet

2011-03-16 Thread Bill Napier
Hi, This won't work. MonkeyRunner will only work on a host computer, you can't run it from the device itself. Bill On Tue, Mar 15, 2011 at 5:15 AM, raki wrote: > Hi, > > I wanted to run a python script directly on an Android device through > Monkeyrunner. > I have installed the following appl

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Jonas Petersson
On 2011-03-16 23:45, Zsolt Vasvari wrote: I also have 2 versions, a free and a paid version. The free version is showing that 1.5 + 1.6 = 7.4% vs. 2.4% for the paid version. While I am no statistician, I believe this cannot be right. Well, examining the stats for my own apps, I see a fair cor

Re: [android-developers] Re: 24 bit color for GL surface?

2011-03-16 Thread Romain Guy
Setting translucency will pick RGBA. You still have to choose the proper config though. On Wed, Mar 16, 2011 at 3:43 PM, Robert Green wrote: > Thanks Romain, > > So what's the correct, complete solution? Set the window to RGBA > then use 8 8 8 8 for the egl config chooser or is transluc

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Kostya Vasilyev
Perhaps - users who have newer, more expensive phones are more likely to purchase applications. Truth or BS? Take a guess :) 17.03.2011 1:46 пользователь "Zsolt Vasvari" написал: > Well, I don't trust the numbers they are showing for my app, either. > > I also have 2 versions, a free and a paid v

[android-developers] Re: Install % drop again?

2011-03-16 Thread Zsolt Vasvari
Well, I don't trust the numbers they are showing for my app, either. I also have 2 versions, a free and a paid version. The free version is showing that 1.5 + 1.6 = 7.4% vs. 2.4% for the paid version. While I am no statistician, I believe this cannot be right. I suppose it's possible that the f

[android-developers] Re: 24 bit color for GL surface?

2011-03-16 Thread Robert Green
Thanks Romain, So what's the correct, complete solution? Set the window to RGBA then use 8 8 8 8 for the egl config chooser or is translucency preferred? I just want something that won't be finicky and break on future chips/devices/oem impls. On Mar 16, 3:05 pm, Romain Guy wrote: > RGBA888

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Marcin Orlowski
> Figuring out the ass-backwards logic behind the market as a community is kind of fun =) "It's not a bug. It's a feature" Regards, Marcin Orlowski Tray Agenda for Android -- You received this message because you are subscribed to the Google Groups "Android Developer

Re: [android-developers] Re: Gift certificate or something like that

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 5:18 PM, Indicator Veritatis wrote: > Are the hoops less cludgy at Getjar.com or slideme.org? Or will they be > less cludgy when Amazon finally comes out with their market? > Honestly, no idea. But given Amazon's infrastructure I'd be willing to bet they will offer this -

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Kostya Vasilyev
Hmm, January 28 is not a special date like New Year's Eve. So we not only test Market but also document it :) 17.03.2011 1:35 пользователь "TreKing" написал: > On Wed, Mar 16, 2011 at 5:07 PM, Kostya Vasilyev wrote: > >> I'm seeing a 10% drop for both of my applications on January 1st. Anyone >>

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 5:07 PM, Kostya Vasilyev wrote: > I'm seeing a 10% drop for both of my applications on January 1st. Anyone > else? Yup. Jan 28th as well for me on both apps. Figuring out the ass-backwards logic behind the market as a community is kind of fun =) ---

[android-developers] Re: Gift certificate or something like that

2011-03-16 Thread Indicator Veritatis
Are the hoops less cludgy at Getjar.com or slideme.org? Or will they be less cludgy when Amazon finally comes out with their market? On Mar 16, 7:21 am, TreKing wrote: > On Wed, Mar 16, 2011 at 7:52 AM, J wrote: > > Is there any way that I could gift them? Either a disccount or a full gift. > >

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Kostya Vasilyev
17.03.2011 0:51, String пишет: This graph is completely unlike any of my other apps, and I'll wager it's unlike most of yours too - except for you, Zsolt. Every other app is almost monotonically increasing, apart from very occasional (and small) peaks. This kind of wholesale dropoff is singular

Re: [android-developers] 24 bit color for GL surface?

2011-03-16 Thread Romain Guy
RGBA should be supported on all devices, but you are asking for RGBX which may not be supported. On Wed, Mar 16, 2011 at 10:04 PM, Robert Green wrote: > I remember that early Android devices were all 16 bit color (RGB_565) > but read something about 24 bit color support on newer devices?

[android-developers] 24 bit color for GL surface?

2011-03-16 Thread Robert Green
I remember that early Android devices were all 16 bit color (RGB_565) but read something about 24 bit color support on newer devices? I'd like to enable it in a safe way if possible for my surface/pixelformat for GL but I'm not getting a valid egl config back. I've tried: setEGLConfigChooser(8,

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread String
Second sentence should have started "TreKing *asserts* that..." Just goes to show you, spellchecking doesn't catch everything. :^) String -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

Re: [android-developers] FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Mark Murphy
Use your custom title on pre-Honeycomb devices and drop it in favor of an action bar for Honeycomb. The "little icon, a clickable textview link, and an integer" would be replaced by a clickable icon and text+integer as the title. On Wed, Mar 16, 2011 at 5:55 PM, Nathan wrote: > At first glance, i

[android-developers] FEATURE_CUSTOM_TITLE and HoneyComb

2011-03-16 Thread Nathan
At first glance, it appears that calling requestWindowFeature(Window.FEATURE_CUSTOM_TITLE) is a bad idea on HoneyComb. Action bars and menus are covered up. One user (of the grand total of 7 who have used my app on HoneyComb) believes that the menu stopped showing up with my latest update that ta

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Marcin Orlowski
> > Would be great if someone from the Market team explained this - I can > dream, right? > All night long :/ Someonefrom google devs said (week or two ago) that noone from Market team is here Regards, Marcin Orlowski Tray Agenda for Android -- You received this mess

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread String
OK, so here's something ironic... TreKing assets that breakages (like the install percentage) precede Market changes, right? Well, the recent addition of Statistics actually provides its own evidence for this view! I had one app - my top seller, of course - affected by the install percentage dro

Re: [android-developers] Re: Install % drop again?

2011-03-16 Thread Kostya Vasilyev
17.03.2011 0:38, String ?: This doesn't explain the ~20% discrepancy between total install numbers /for the same app/ on two different places in the dev console, though. Yeah, that's something that bothers me too. Would be great if someone from the Market team explained this - I can

Re: [android-developers] Re: Urgent and Alarming battery management problem. Google please do something about it.

2011-03-16 Thread Kostya Vasilyev
17.03.2011 0:07, Roger Podacter пишет: By default, a brand new android phone keeps an always-on data connection, and all the Google services are constantly talking via data in "push mode". The iPhone, or a symbian phone, do not initiate a data session unless you specifically do something like ope

[android-developers] Re: Install % drop again?

2011-03-16 Thread String
The two charts are actually showing different data, though. The one on the right of the Statistics pages in the dev console is showing the aggregate for all Market apps, while the one at http://developer.android.com/resources/dashboard/platform-versions.html is showing all Android devices. Not

Re: [android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread Justin Anderson
LOL Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Mar 16, 2011 at 3:07 PM, TreKing wrote: > On Wed, Mar 16, 2011 at 4:04 PM, Justin Anderson wrote: > >> I just assumed the OP would have looked at TimePicker to see if there was >> a to do that al

Re: [android-developers] NFC Question

2011-03-16 Thread Nick Pelly
Hi Manuel, You can write to a formatted card using the Ndef technology class (as long as it was not made read-only). Nick On Tue, Mar 15, 2011 at 4:50 PM, Manuel Roman wrote: > Hi, > > I am writing an NFC application on Gingerbread 2.3.3. The application > writes and reads data to and from tags

Re: [android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 4:04 PM, Justin Anderson wrote: > I just assumed the OP would have looked at TimePicker to see if there was a > to do that already. Pfft - why read documentation when you have a whole group of people to answer all your questions!?

[android-developers] Re: Urgent and Alarming battery management problem. Google please do something about it.

2011-03-16 Thread Roger Podacter
I argue that this issue is a fundamental trait of the way the android OS is written and operates. By default, a brand new android phone keeps an always-on data connection, and all the Google services are constantly talking via data in "push mode". The iPhone, or a symbian phone, do not initiate a d

Re: [android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread Justin Anderson
*> When you ask questions, you need to be more specific. For example, we are having to guess that you are referring to TimePicker. If you make us guess, we will not answer your questions, or we will do so inaccurately because our guesses are wrong. * Like my advice above... It's way too much work.

Re: [android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 3:49 PM, Samsung Galaxy wrote: > right now there is a button to change AM/PM but time repeat after > 12:00 AM to 01:00 PM > Where is there a button for this? - TreKing

Re: [android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread Mark Murphy
On Wed, Mar 16, 2011 at 4:49 PM, Samsung Galaxy wrote: > right now there is a button to change AM/PM but time repeat after > 12:00 AM to 01:00 PM When you ask questions, you need to be more specific. For example, we are having to guess that you are referring to TimePicker. If you make us guess, w

Re: [android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread Justin Anderson
You will probably have to write your own time picker... This shouldn't be too hard... All it would be is a view that has two spinners and some labels. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Mar 16, 2011 at 2:49 PM, Samsung Galaxy wrote: >

[android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread Samsung Galaxy
right now there is a button to change AM/PM but time repeat after 12:00 AM to 01:00 PM i don't want user to choose from AM or PM mode but i want 24 hours mode so when you will press + button after 12:00 AM it will automatically select 13:00 instead of 01:00 I hope now you understand. On Mar 16,

Re: [android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 3:28 PM, Samsung Galaxy wrote: > i donot want this AM/PM thing but when it should be like 00:00 > 01:00.02:00...and after > 12:00..13:0014:0015:00..so on till 00:00 > That really explain nothing regarding what you're trying to accom

[android-developers] Re: 24 hour Time mode in android layout file ?

2011-03-16 Thread Samsung Galaxy
i donot want this AM/PM thing but when it should be like 00:00 01:00.02:00...and after 12:00..13:0014:0015:00..so on till 00:00 On Mar 16, 9:23 pm, TreKing wrote: > On Wed, Mar 16, 2011 at 3:03 PM, Atif Musaddaq wrote: > > > is there any way to set 24 hour

Re: [android-developers] 24 hour Time mode in android layout file ?

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 3:03 PM, Atif Musaddaq wrote: > is there any way to set 24 hour time mode in XML layout file ?? Depends on what exactly "24 hour time mode" means. - TreKing

Re: [android-developers] How to get a list of installed services

2011-03-16 Thread Mark Murphy
On Wed, Mar 16, 2011 at 3:59 PM, Ramsay Domloge wrote: > I would like to counter some of your suggestions by playing Devil's > advocate, if I may. OK. > "Most services do not expose intent filters." > > OK, interesting - so those that do are presumably happy to be started by 3rd > parties? Not

[android-developers] 24 hour Time mode in android layout file ?

2011-03-16 Thread Atif Musaddaq
Hi, is there any way to set 24 hour time mode in XML layout file ?? -- Atif -- 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 ema

Re: [android-developers] How to get a list of installed services

2011-03-16 Thread Ramsay Domloge
Thanks for this advice, Mark. I would like to counter some of your suggestions by playing Devil's advocate, if I may. "Most services do not expose intent filters." OK, interesting - so those that *do* are presumably happy to be started by 3rd parties? For example, I make an app called MusicPop

[android-developers] Re: Nexus S and gingerbread Sensor events — Which sensor uses what hardware ?

2011-03-16 Thread Mathias Agopian
Hello, TYPE_ACCELEROMETER uses the accelerometer and only the accelerometer. It returns raw accelerometer events, with minimal or no processing at all. TYPE_GYROSCOPE (if present) uses the gyroscope and only the gyroscope. Like above, it returns raw events (angular speed un rad/s) with no process

[android-developers] Using Fragmentation to navigate from one activity to another

2011-03-16 Thread Priyank
Hi, I wanted to use fragmentation in my application. Here is the scenario. There are 2 vertical fragments. The 1st fragment have buttons and second fragment have screens that need to be displayed according to the button pressed in the 1st fragment. I have implemented this using the help of the andr

[android-developers] Re: custom attributes in library projects

2011-03-16 Thread joebowbeer
In my tests with the latest tools, the custom attribute's namespace declaration in the library project needs to match the package declaration of the including project. Correct? As far as I can tell, this is a known limitation and the suggested workaround is to copy the affected resources (e.g., m

[android-developers] testing TTF on device

2011-03-16 Thread guich
Hi, Does anyone knows a TTF tester for Android? Basically i need an app that installs a Tahoma font and shows it in different sizes, from 8 to 30. On a side note, does anyone knows if the Android TTF engine is better than in Windows? TIA guich -- You received this message because you are

[android-developers] Re: Memory Allocation

2011-03-16 Thread hoyski
If you're going to have potentially hundreds of entries, and give the user full create/update/delete capabilities, then it sounds like a database would be more robust than any file-based solution. In the SQLiteDatabase.openDatabase(...) call you can specify that the database be created on the SD c

Re: [android-developers] Walking Sprite....

2011-03-16 Thread Miguel Morales
This is a fairly generic question not specific to android. As others have posted, it's far too broad. I have posted an animation tutorial on my blog: http://developingthedream.blogspot.com/2011/01/android-canvas-frame-by-frame-animation.html However, you need to know the basics of Android program

Re: [android-developers] Re: Any experience developing on the Huawei Ascend

2011-03-16 Thread Raymond Rodgers
On 3/16/2011 2:54 PM, A Curious Developer wrote: I was unable to get it (the MetroPCS version) to connect to adb through the USB cable. I ended up rooting it and using the wireless adb app from Android Market. Thanks, that is bad news but helpful - it lead me to other discussions about how adb w

[android-developers] Re: Any experience developing on the Huawei Ascend

2011-03-16 Thread A Curious Developer
> I was unable to get it (the MetroPCS version) to connect to adb through > the USB cable. I ended up rooting it and using the wireless adb app from > Android Market. Thanks, that is bad news but helpful - it lead me to other discussions about how adb won't work with the device. I guess my wait c

Re: [android-developers] NFC connection between 2 Android-devices

2011-03-16 Thread Nando
Yes it is possible, starting from 2.3.3. -Nando Sent from my Sinclair ZX81 On 16 March 2011 17:31, Marcin Orlowski wrote: > > On 16 March 2011 18:25, Benjamin wrote: >> >> i have a question about nearfieldcommunication: Is it possible to >> establish an connection between 2 android devices?

Re: [android-developers] How to set different color to fifth row of listview.

2011-03-16 Thread Justin Anderson
What exactly do you mean by "control"? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 15, 2011 at 1:14 AM, Prathamesh wrote: > > My listview is diaplying 5 rows. > When Control is on 1st or 2nd or 3rd or 4th row, I want to gray out > fifth ro

[android-developers] Re: how to remove LogCat error

2011-03-16 Thread rishabh agrawal
i am sorry sir On Mar 16, 11:20 pm, TreKing wrote: > On Wed, Mar 16, 2011 at 1:09 PM, rishabh agrawal > wrote: > > > plz reply > > plz wait more than half an hour to bump your post. > plz learn to spell "please". > >

Re: [android-developers] Re: how to remove LogCat error

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 1:09 PM, rishabh agrawal wrote: > plz reply plz wait more than half an hour to bump your post. plz learn to spell "please". - TreKing

Re: [android-developers] Converting android app to html/xml and css.

2011-03-16 Thread TreKing
On Wed, Mar 16, 2011 at 4:34 AM, kunal khaire wrote: > I was not sure if the opposite can happen(converting android app into a web > app). Yes, it can happen. > Please help with your suggestions if you have come across any. This is known as "porting" your code. -

Re: [android-developers] Any experience developing on the Huawei Ascend

2011-03-16 Thread Raymond Rodgers
On 3/16/2011 11:19 AM, A Curious Developer wrote: I just wondered if anyone is using this device for development and has any words of wisdom or caution. This is the first affordable device I have seen, so I am hopeful it will be a reasonable development device. Thanks for any information. I was

[android-developers] Re: how to remove LogCat error

2011-03-16 Thread rishabh agrawal
plz reply On Mar 16, 10:39 pm, rishabh agrawal wrote: > 03-16 22:30:36.516: WARN/Zygote(33): Preloaded drawable resource > #0x10801fb (res/drawable-mdpi/jog_tab_left_confirm_gray.png) that > varies with configuration!! > 03-16 22:30:36.546: WARN/Zygote(33): Preloaded drawable resource

[android-developers] Re: Urgent and Alarming battery management problem. Google please do something about it.

2011-03-16 Thread Pent
> Thanks for this post and these app recommendations. I've been saying > this for months, the reason android phone get such poor battery life > is due to the always on data connection and all the apps and services > constantly hitting data. Even the Google services alone, you have > gmail, calendar

Re: [android-developers] Re: Set wallpaper from webview

2011-03-16 Thread TreKing
On Tue, Mar 15, 2011 at 10:03 PM, SendOutEmails wrote: > I'm guessing it's not possible then. bummer. :( Just because no one's replied doesn't means it's not possible. For one, you should clarify what "I have created 3D rendered images which I have added to an app using Webview" means. For two,

[android-developers] how to remove LogCat error

2011-03-16 Thread rishabh agrawal
03-16 22:30:36.516: WARN/Zygote(33): Preloaded drawable resource #0x10801fb (res/drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with configuration!! 03-16 22:30:36.546: WARN/Zygote(33): Preloaded drawable resource #0x1080200 (res/drawable-mdpi/jog_tab_left_normal.png) that varies with con

[android-developers] how to remove my error

2011-03-16 Thread rishabh agrawal
03-16 22:30:36.546: WARN/Zygote(33): Preloaded drawable resource #0x1080200 (res/drawable-mdpi/jog_tab_left_normal.png) that varies with configuration!! is shown in LogCat.plz help -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

Re: [android-developers] NFC connection between 2 Android-devices

2011-03-16 Thread Marcin Orlowski
On 16 March 2011 18:25, Benjamin wrote: > i have a question about nearfieldcommunication: Is it possible to > establish an connection between 2 android devices? Only if both support NFC (Nexus S?) > Can i send any data > through this connection? > http://en.wikipedia.org/wiki/Near_field_comm

Re: [android-developers] unable to access camera button

2011-03-16 Thread Mark Murphy
On Wed, Mar 16, 2011 at 1:24 PM, Justin Anderson wrote: > The button being disable has nothing to do with your application.  That is > an emulator issue... Can you post exactly what options you specified for > creating the emulator? I ran into this too. Just creating a default 2.2 emulator, the c

[android-developers] NFC connection between 2 Android-devices

2011-03-16 Thread Benjamin
Hey Guys, i have a question about nearfieldcommunication: Is it possible to establish an connection between 2 android devices? Can i send any data through this connection? Greetings from Germany -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

Re: [android-developers] Source code

2011-03-16 Thread Kostya Vasilyev
It in the Settings application. http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=summary -- Kostya 16.03.2011 20:19, Raghav Sood пишет: Hello everyone, Do any of you guys have a link to the source code of the battery usage meter in about phone under settings? I have che

Re: [android-developers] unable to access camera button

2011-03-16 Thread Justin Anderson
The button being disable has nothing to do with your application. That is an emulator issue... Can you post exactly what options you specified for creating the emulator? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 15, 2011 at 11:06 PM, Alle

Re: [android-developers] Source code

2011-03-16 Thread Mark Murphy
Use Google Code Search to search android.git.kernel.org for BatteryInfo On Wed, Mar 16, 2011 at 1:19 PM, Raghav Sood wrote: > Hello everyone, > > Do any of you guys have a link to the source code of the battery usage meter > in about phone under settings? I have checked the source online but cann

Re: [android-developers] Re: onItemLongClick and onItemClick for a gridview

2011-03-16 Thread Justin Anderson
Are you just wanting to display a context menu with the long press? If so you can implement OnCreateContextMenuListener and use setOnCreateContextMenuListener() http://developer.android.com/reference/android/view/View.html#setOnCreateContextMenuListener%28android.view.View.OnCreateContextMenuList

[android-developers] Source code

2011-03-16 Thread Raghav Sood
Hello everyone, Do any of you guys have a link to the source code of the battery usage meter in about phone under settings? I have checked the source online but cannot find it Thanks in advance -- Raghav Sood http://www.raghavsood.com/ -- You received this message because you are subscribed t

  1   2   3   >