[android-developers] Re: Browsing Android Source in Eclipse

2011-01-26 Thread Dan
I have learned so much from reading the Android source I wish it would happen. On Jan 25, 8:27 pm, Zsolt Vasvari zvasv...@gmail.com wrote: I don't think so.   While it would be helpful if Google would ship the actual API source used to build the emulator image, it still wouldn't help with

[android-developers] Re: Wake locks and camera

2011-01-26 Thread blindfold
Thank you, Dianne, that confirms my experimental observations with the camera. For the future it would seem better and less heuristically defined to decouple camera use from screen use, because it allows for (modest) power savings in computer vision applications that send/store their output

[android-developers] Re: Force Close Does Not Release Camera Resource

2011-01-26 Thread blindfold
Indeed this is an old known issue (1578) http://code.google.com/p/android/issues/detail?id=1578 and only restarting the phone helps. You can try to minimize occurrences by properly releasing the camera yourself when an exception occurs in your app. On Jan 25, 10:41 pm, Joe McCann

[android-developers] Notepad Sample - adding more columns to listview

2011-01-26 Thread Hein
I've done the notepad tutorial on Google's Android site, but I would like to know how to add more fields to the list, in columns. At the moment I can add the columns no problem, but they're not aligned like you would a normal table on the layout: john smith heinrich cilliers will peck I would

[android-developers] Tablet support up to 2.2

2011-01-26 Thread Neilz
Hi all. I've got the Galaxy Tab emulator running, and was curious to see how my various apps worked regarding layouts. I've looked at the various docs on this, but they mostly talk about version 2.3 which I'm not yet supporting. My apps generally currently specify: android:minSdkVersion=3

[android-developers] Event aggregation question

2011-01-26 Thread Yaroslav.kh
Hello, I'm working on contact sync fro multiple sources. I create 2 raw contacts with the same name. Then they are being aggregated by system and so I got one united contact. The problem is that both of this raw contacts has event data field (type - birthday) with the same date (in format dd M

[android-developers] Re: java.net.SocketException: The operation timed out

2011-01-26 Thread Bharathi raja
Thanks for reply Through static wifi, i am able to browse on my phone but not able to download using my application. On Jan 26, 9:40 am, Brill Pappin br...@pappin.ca wrote: The answer was given to you by the exception. the problem is not  you application, it is the network between your phone

Re: [android-developers] Notepad Sample - adding more columns to listview

2011-01-26 Thread Kostya Vasilyev
Every ListView item layout is separate from those next to it - therefore, it positions and sizes its children without any regard for other list items. Two things you can try are: - Do not try to make a table, and use multi-line layouts instead, the screen is typically not wide enough to fit

Re: [android-developers] Tablet support up to 2.2

2011-01-26 Thread Kostya Vasilyev
Neil, I've only done Galaxy Tab tests with the emulator as well, so my observations are somewhat limited, but still, here they are. The Galaxy Tab reports itself as an HDPI device, even though its actual screen density is 170 dpi. This is to account for the larger display pixel count, and

Re: [android-developers] SDCard question

2011-01-26 Thread Kostya Vasilyev
Scott, You can't. Install to sd is only available if the phone is running 2.2 (or later). There might be custom firmwares based on earlier versions of Android with this function back-ported, but that's not a typical runtime environment. -- Kostya 26.01.2011 8:39, Scott Deutsch пишет:

[android-developers] SSL certificates on Android

2011-01-26 Thread Paolo
Hi there, I'm new on SSL and I have one question for you about it on Android. So, sorry me if I say something that isn't correct :) I have to start a communication with a REST Web Service. There are two steps I should clarify to myself... the second one is the most important for my target. 1) I

[android-developers] a simple question (onClick)

2011-01-26 Thread Atif Musaddaq
Hi, Guys a Simple Question. I have four buttons and I am using four images for each button. is there any way to replace the image when user Click on the button. I want to make them more interactive. Right now it seems boring when user click on it, no feedback to the user.

Re: [android-developers] a simple question (onClick)

2011-01-26 Thread Kostya Vasilyev
Atif, You don't need to replace the image from code when the user clicks on a button - with a state list drawable this can be done entirely with resources: http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList -- Kostya 26.01.2011 13:03, Atif Musaddaq пишет:

Re: [android-developers] Overlaying points over streets

2011-01-26 Thread José Moreira
Em 11/01/25 23:36, TreKing escreveu: 2011/1/25 José Moreira matrixowns...@gmail.com mailto:matrixowns...@gmail.com Is it possible and if so, any pointers in the right direction? http://code.google.com/android/add-ons/google-apis/reference/index.html

[android-developers] Re: Tablet support up to 2.2

2011-01-26 Thread Neilz
Hey thanks Kostya, that's really useful. I agree, maybe ensuring that the layout works is more important than resizing all the images again. Portrait vs Landscape is another issue... the majority of my apps specify portrait only, it's just the way they were intended to work. Do I take it that

[android-developers] Unable to upload app on Android Market having uses-configuration android:reqHardKeyboard=false/ tag in manifiest

2011-01-26 Thread Yogini
Hi All, I am trying to upload an app onto android Market and wanted to filter out it for the devices having hard keyboard. So i have added 'uses- configuration android:reqHardKeyboard=false ' in its manifest but when i did it so android market displayed 'The server could not process your apk. Try

Re: [android-developers] Re: Tablet support up to 2.2

2011-01-26 Thread Kostya Vasilyev
26.01.2011 13:43, Neilz пишет: Hey thanks Kostya, that's really useful. I agree, maybe ensuring that the layout works is more important than resizing all the images again. Portrait vs Landscape is another issue... the majority of my apps specify portrait only, it's just the way they were

[android-developers] Re: Media Player - crop video for fullscreen mode

2011-01-26 Thread Johannes De Smedt
I also need to do this. I have seen this behaviour on the HTC desire (Htc video player) Can anyone tell if this is possible from java? On my htc magic (android 1.5) when I set video to a size that is bigger than the screen, the video is displayed as large as possible, but never cropped ...

[android-developers] times_contacted not being updated on some devices

2011-01-26 Thread Mor G.
Hi, I've noticed some strange behavior when using the times_contacted field in ContactsContract.Contacts (and also the last_time_contacted field). In some Samsung devices this counter counts emails only, in some HTC devices this is always zero, and in other HTC devices this counter is

[android-developers] Re: Notepad Sample - adding more columns to listview

2011-01-26 Thread Hein
Thank you so much. I am considering breaking the table up into multiple views as one see in some other apps. It just seems strange that there is no way to do this in android, however I've seen it in other apps, Iriduim Flares for example, which shows many numerals in columns and it's easy to

Re: [android-developers] Re: Notepad Sample - adding more columns to listview

2011-01-26 Thread Kostya Vasilyev
The popup in Iridium Flares looks like a TableLayout: http://developer.android.com/reference/android/widget/TableLayout.html TableLayout doesn't recycle views like ListView, and so isn't really suited for long scrollable lists, but it's just fine for presenting compact data (also useful for

[android-developers] Re: a simple question (onClick)

2011-01-26 Thread Samsung Galaxy
This tutorial is more helpful and I found what i want. http://developer.android.com/resources/tutorials/views/hello-formstuff.html#CustomButton On Jan 26, 11:07 am, Kostya Vasilyev kmans...@gmail.com wrote: Atif, You don't need to replace the image from code when the user clicks on a button

[android-developers] my Eclipse stuck while running emulator

2011-01-26 Thread Atif Musaddaq
Hi, Guys Is there any one facing the same problem. my Eclipse stuck while running the emulator or connected it with the Mobile device. I was not facing this problem before. Now i have to restart it again and again. Please help if some one already fixed this problem. -- Atif Musaddaq -- You

[android-developers] Re: a simple question (onClick)

2011-01-26 Thread Samsung Galaxy
Hi, I have 4 buttons. and right now i have this XML file to handle pressed, focused and normal states of a button. ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:drawable=@drawable/android_pressed

[android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread H
So I've got a custom view being used as a RemoteViews in a notification. Looking in the 2.2. resource, I can see \layout\status_bar_latest_event_content.xml where it explicitly sets the colour of the title and text to ff00. Which works nicely under 2.2 stock. The text is black. But under

Re: [android-developers] Re: a simple question (onClick)

2011-01-26 Thread Kostya Vasilyev
You need one XML file with selector, and several drawable files that it would reference for individual states, for example, 3 PNGs or nine patches. 26.01.2011 15:40, Samsung Galaxy пишет: Hi, I have 4 buttons. and right now i have this XML file to handle pressed, focused and normal states of

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread Kostya Vasilyev
H, You can try putting a 2.3 specific layout into res/layout-v9. You'd then be able to use the new style, provided you build with 2.3, and still remain compatible with earlier versions. -- Kostya 26.01.2011 15:42, H пишет: So I've got a custom view being used as a RemoteViews in a

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread H
Hi Kostya, cunning idea! I've not made the leap to building against 2.3 yet as I like to see all the source code - plus there isn't a working 2.3 emulator with lvl support yet. Maybe this is the final reason...? But surely there must be a better way to not have to resort to layouts for

[android-developers] Query in calling SOAP based web service in Android

2011-01-26 Thread Nandlal Viranni
Hi All , I am new to Android . I am developing one application . In which , i need to use SOAP based web service. but i am not able to do this task . I need to pass class object as a argumens while calling web service method . And I am getting error regarding Serialize . Now , I change the

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread Kostya Vasilyev
Every time the SDK gets a new feature, using it requires building with the new version. I don't see anything wrong with that (think alternate drawables in 1.6, install to sd in 2.2). As for the alternate layout - 2.3 seems to have received some minor but probably important UI tweaks: in

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread H
Yeah, you're right of course.. :-) I've already made a note a few days ago to download the gingerbread source after you posted how on your blog - I guess now's the time to jump in! Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: ListView adapter bug?; notify changed does nothing.

2011-01-26 Thread Brill Pappin
Yes, I do get a listing when I go to the root. On Jan 26, 2:27 am, Dianne Hackborn hack...@android.com wrote: Can you at least get to the root of the repository from the open source project? http://source.android.com/source/index.html  http://source.android.com/source/index.htmlWhich goes

[android-developers] Communicating between two devices directly

2011-01-26 Thread Marcin Orlowski
Hi, I'm in need of communicating between two devices over WiFi directly, w/o need of AP. As far as I know adhoc mode is not supported oficially (unless you apply some unofficial patches to wpa_suplicant) but maybe I miss something and certain version of Android going to officially support adhoc?

[android-developers] Re: Query in calling SOAP based web service in Android

2011-01-26 Thread jman
you want to use ksoap2 since rmi does not seem to be fully supported yet. On Jan 26, 7:17 am, Nandlal Viranni nandlal.phys...@gmail.com wrote: Hi All , I am new to Android . I am developing one application . In which , i need to use SOAP based web service. but i am not able to do this

Re: [android-developers] Communicating between two devices directly

2011-01-26 Thread Kostya Vasilyev
Marcin, You're right about ad-hoc (ibss) networking not being supported: http://code.google.com/p/android/issues/detail?id=82 Still, if you've got phones that are connected to the same WiFi router (or to different routers that are connected to one another, probably common in an office

[android-developers] Call Recording on Android 2.3

2011-01-26 Thread David_Fisher
Is Voice call recording now possible on android 2.3 without going on to the speakerphone mode? Thanks David -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: a simple question (onClick)

2011-01-26 Thread Samsung Galaxy
Hi, I am doing some thing stupid. Look to this XML file ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:drawable=@drawable/android_pressed android:state_pressed=true / item

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread Kostya Vasilyev
H, More on sources in Eclipse - I just set it up so that the debugger finds a different version of Android sources from the one used for building. In my case, I am building with 2.2, debugging on 2.1update1. This is something I've been wanting to solve for some time, the email exchange we

Re: [android-developers] Communicating between two devices directly

2011-01-26 Thread Marcin Orlowski
On 26 January 2011 14:59, Kostya Vasilyev kmans...@gmail.com wrote: http://code.google.com/p/android/issues/detail?id=82 Still, if you've got phones that are connected to the same WiFi router (or to different routers that are connected to one another, probably common in an office

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread H
Yeah, that would be good. My concern with building against 2.3 was that if I debug'd, I would need to use a 2.3 emulator. And with the broken lvl in it, I would have to hack my app heavily and then couldn't rely on the testing anyway. So the ability to build against 2.3 but debug against 2.2

Re: [android-developers] Communicating between two devices directly

2011-01-26 Thread Kostya Vasilyev
What mode does 2.2 use for WiFi tethering? If it's not ad-hoc, but rather full AP mode, then this might be a workable solution (with some complications, like tethering can only be enabled by the user at this time, and it's not a true peer-2-peer solution). Limiting your app to 2.2 is

Re: [android-developers] Re: a simple question (onClick)

2011-01-26 Thread Kostya Vasilyev
You don't have to put UI states and the image that makes it different from other buttons into the same drawable / image. ImageButton can use two separate images: one is android:background and one is android:src. If you provide UI state feedback with one (the background), you can use a simple

Re: [android-developers] Tablet support up to 2.2

2011-01-26 Thread Dianne Hackborn
I think you should try to avoid the situation where images mismatch between the layout. I'm not entirely sure in what scenario you are seeing this, but for many uses of issues it should not be an issue, any more than say text looks smaller than layout. For example an image that is the frame of a

Re: [android-developers] Re: ListView adapter bug?; notify changed does nothing.

2011-01-26 Thread Dianne Hackborn
Oh well, that is just the Settings app code. You'll get it if you pull the source code. Without it, trying to build Android will fail. On Wed, Jan 26, 2011 at 5:28 AM, Brill Pappin br...@pappin.ca wrote: Yes, I do get a listing when I go to the root. On Jan 26, 2:27 am, Dianne Hackborn

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread Dianne Hackborn
You should design your notification icons to work well against any background. When we changed the status bar background to black, we were planning on implementing compatibility for old apps that assumed the old background, like we usually do. However we realized that since there have already

[android-developers] Re: Handling touch events for dragging content when changing the orientation of the screen

2011-01-26 Thread JAlexoid (Aleksandr Panzin)
You have to rotate the drag direction vector as well as canvas. Even without looking at your code, the actual drawing code probably doesn't translate the dragging direction in accordance with the direction of the device. On 26 янв, 08:13, Dave Bryson debry...@gmail.com wrote: I have a map

Re: [android-developers] Communicating between two devices directly

2011-01-26 Thread Marcin Orlowski
On 26 January 2011 15:21, Kostya Vasilyev kmans...@gmail.com wrote: What mode does 2.2 use for WiFi tethering? Thought about that too, yet need to do some testing. If it's not ad-hoc, but rather full AP mode, then this might be a workable solution (with some complications, like tethering can

Re: [android-developers] What colour to use for custom contentView in notification for 2.2 and 2.3

2011-01-26 Thread H
Thanks Dianne. I wasn't too worried about the icon as I can deal with that - it was the colour of the text to display by the side of it in the contentView. But you mentioned the same thing that I was realising: custom Themes must have broken this a long time ago anyway so there are probably

Re: [android-developers] Overlaying points over streets

2011-01-26 Thread TreKing
2011/1/26 José Moreira matrixowns...@gmail.com i was aware of the api. Sorry, you did not state otherwise so I could not have known. What i'm exploring is the possibility of creating a georeferenced Pacman(tm) clone and therefore, dinamically adding dots in the surroundings of the

Re: [android-developers] Overlaying points over streets

2011-01-26 Thread José Moreira
Em 11/01/26 15:14, TreKing escreveu: 2011/1/26 José Moreira matrixowns...@gmail.com mailto:matrixowns...@gmail.com i was aware of the api. Sorry, you did not state otherwise so I could not have known. What i'm exploring is the possibility of creating a georeferenced

[android-developers] Built-in resource unexpectedly not found

2011-01-26 Thread Mark Carter
Analytics for one of my apps tells me that on rare occasions this exception is thrown from the Activity.setContentView() method: java.io.FileNotFoundException: res/color/primary_text_light.xml It happened on a Motorola Milestone which appears to be using official firmware:

[android-developers] Re: WebView; SDK

2011-01-26 Thread paulb
The WebView tutorial doesn't work in the 2.3 emulator because of http://code.google.com/p/android/issues/detail?id=12987 You should use 2.2 instead. On Jan 25, 1:49 pm, TreKing treking...@gmail.com wrote: On Fri, Jan 21, 2011 at 11:34 AM, TGundhus tgundhu...@gmail.com wrote: Here is a link to

[android-developers] performance when passing background data to ui thread

2011-01-26 Thread neuron
Hi I've got an app that spawns of a seperate thread. Parses JSON data into a structure. And passes it back to the main thread through a handler. Each part of data is sent through the handler individually. That worked fairly well with my previous XML parser, as XML parses data while it

[android-developers] http connection issue

2011-01-26 Thread arindam
Dear all, I am trying to open a url like https://192.168.10.199/HSMobile/ HSService.asmx using httpclient and try to read response. Now if i will open the above url in normal browser, it redirects to one firewall page and asking login and password.After giving username and password I able to

[android-developers] ENHANCEMENT: Allow java public static finals to be referenced from XML

2011-01-26 Thread mkh
One example from an AndroidManifest.xml: provider android:name=NotePadProvider android:authorities=com.exampl.notepad.provider.NotePad / This deliberately includes a typo that cannot be flagged by an IDE because it is just a string. Instead as an enhancement, why not define @java/

[android-developers] Edittext max characters - not set max

2011-01-26 Thread André
Is there a limit on how many characters and or lines you can have in an edittext? Or is it unlimited? //André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] How to define a CUSTOM font (Typeface) in application wide XML Theme/Style?

2011-01-26 Thread Eric
Hello, I have been searching the APIs for a way, ANY way, to define a custom (developer installed) font on a style, but it does not appear this is possible. It appears you have to resort to using: Typeface.createFromAsset() to load a font file stored in your assets directory, and then

Re: [android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-26 Thread Alexander Lucas
H- Per your comments on usability (drill-down order in same report, etc) I'll definitely pass those along to the team- I'd recommend you also add a feature request! Votes on community-made feature requests have real influence in how they prioritize their time :) Regarding the ability to select

Re: [android-developers] javax.xml parserxml configuration Error

2011-01-26 Thread TreKing
On Tue, Jan 25, 2011 at 11:43 PM, cuil yahoo cuilya...@gmail.com wrote: 1. When using gdata-client libraries, for authenticating google accounts of users, should the UI be made, or is it preferred to jump to a web browser and get authenticated. I am kind of new to this whole thing of

Re: [android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 11:51 AM, Alexander Lucas alexlu...@google.comwrote: I'd recommend you also add a feature request! Votes on community-made feature requests have real influence in how they prioritize their time :) Could you link to where one would do such things? I can't find

Re: [android-developers] Edittext max characters - not set max

2011-01-26 Thread Marcin Orlowski
On 26 January 2011 18:27, André pha...@hotmail.com wrote: Is there a limit on how many characters and or lines you can have in an edittext? Or is it unlimited? http://developer.android.com/reference/android/widget/TextView.html#attr_android:maxLength -- You received this message because you

Re: [android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-26 Thread Alexander Lucas
Actually, it appears I spoke too soon- There's a feature request form for the API, but not yet for the web app. I'll forward the feedback to someone on the team:) -Alex On Wed, Jan 26, 2011 at 9:57 AM, TreKing treking...@gmail.com wrote: On Wed, Jan 26, 2011 at 11:51 AM, Alexander Lucas

[android-developers] Need Help With AsyncTask HttpClient Internet Permission

2011-01-26 Thread guymac
My app attempts to do a https post from an AsyncTask's doInBackground method. The app has permission android:name=android.permission.INTERNET/permission in the manifest in the correct location (it's the last line before / manifest so it's at the same level as the application sibling element).

[android-developers] Re: Tablet support up to 2.2

2011-01-26 Thread Hari Edo
I think the tablets in general will be more likely to flip orientation and good apps should handle that gracefully. But I think they should also have a lock orientation control at the OS or hardware level, as it's common but annoying to have the view flipping as you lay down in bed reading on an

[android-developers] Re: Grab phonebook-contacts via ContactsContract-API

2011-01-26 Thread L0rdAli3n
Ok, I'm about to write the SyncAdapter part of my App. Due to the fact that I have a special case, I'm a little bit stuck: Additional to the username/password I need to store a URL on a per account base! How I'm supposed to store this extra information, attached to an account? Thanks for your

[android-developers] Re: One frame buffer per activity or one frame buffer per the whole system

2011-01-26 Thread Hari Edo
I'm not sure that this is the right forum for platform-developers; it's more geared to app-developers. However, I will point out that there's an important entity between the framebuffer level and the activity level, and that is the Window. Activities come and go, Dialogs come and go, and their

[android-developers] activity and service as a package

2011-01-26 Thread Titus
Hello, I am making a service which is having its own package name while an activity has a diff package name? is it possible to have a single manifest file which will do the job ? The reason why i wanted in one install was that I didn't want the user to have the trouble of multiple installations.

Re: [android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 12:08 PM, Alexander Lucas alexlu...@google.comwrote: Actually, it appears I spoke too soon- There's a feature request form for the API, but not yet for the web app. I'll forward the feedback to someone on the team:) OK, thanks. Well in that case, I'll make a feature

[android-developers] Re: Edittext max characters - not set max

2011-01-26 Thread Hari Edo
I think Andre was looking for a design limit, not how to set one. The control can handle many pages of text, even with spanning styled markup. The EULA which I saw on one Android tablet was shown in a simple text view, and it was about fifty pages of text on the tablet. (The EditText control

Re: [android-developers] activity and service as a package

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 12:27 PM, Titus titus.mor...@gmail.com wrote: I am making a service which is having its own package name while an activity has a diff package name? That's not a question? is it possible to have a single manifest file which will do the job ? Not only is this

[android-developers] Re: performance when passing background data to ui thread

2011-01-26 Thread Hari Edo
If you're sure that all users of the data are within the same process (the same app), then using Java synchronized is the best way to go. However, you will need to be very careful to understand your semaphore dependencies, or deadlock will occur. Not responding is almost as bad as Data corrupted

[android-developers] How to access the Product Key on Archos tablets?

2011-01-26 Thread Armond
Hi Folks, I need to access the product key (or whatever unique device ID) of the Archos devices. I've found the following API mentioned on Archos website which should work on Archos5 series: Settings.System.getString(getContentResolver(), archos.product_key); But it does not work on 101 tablets

[android-developers] Sending AVRCP play command, getting spammed with broadcast

2011-01-26 Thread James
Hello. I have some hardware that sends the AVRCP play command to the phone upon bluetooth connection. What I am seeing is the MEDIA_BUTTON action intent spammed over and over in the debugger. This is causing problems with a few apps but mainly Pandora. Pandora will constantly play/pause over and

[android-developers] Re: Need Help With AsyncTask HttpClient Internet Permission

2011-01-26 Thread guymac
More info: this is how I am doing the post: HttpPost req = new HttpPost(REQUEST_URL); // starts with https:// req.setHeader(Content-Type, application/json); String json = data.toJSON().toString(); req.setEntity(new

[android-developers] Re: activity and service as a package

2011-01-26 Thread Titus
Do you have an example of how a single manifest file can do this if both services and activities are of complete diff packages? On Jan 26, 11:05 am, TreKing treking...@gmail.com wrote: On Wed, Jan 26, 2011 at 12:27 PM, Titus titus.mor...@gmail.com wrote: I am making a service which is having

[android-developers] Re: Sending AVRCP play command, getting spammed with broadcast

2011-01-26 Thread James
Anyone have any insight into this? I have not found anything on Stack Overflow or Google searches about this. On Jan 17, 12:36 pm, James jrs8...@gmail.com wrote: Hello. I have some hardware that sends theAVRCPplay command to the phone upon bluetooth connection. What I am seeing is the

[android-developers] Re: ENHANCEMENT: Allow java public static finals to be referenced from XML

2011-01-26 Thread Hari Edo
It would create a dependancy loop: * the app code requires R.java to be generated * the R.java generation requires the XML to be scanned * the XML @java would require the app code to be scanned Maybe you intend the XML to be scanned twice, with two different sets of rules as to what is

[android-developers] How to take a snapshot of phone's screen ?

2011-01-26 Thread Emre A. Yavuz
Hi, Is anyone aware of a method to take the snapshot of phone's screen while an app is running ? Running the app on the emulator is not an option since network connectivity is needed. Is there any internal method that we can use ? Thanks in advance, Cheers, Emre

[android-developers] Re: Edittext max characters - not set max

2011-01-26 Thread André
Thanks Hari that was what I was looking for. The same goes for strings right? So what ever size could be put in a string can be put in a edittext? Or should I use string[] for that instead of a normal string? On Jan 26, 8:05 pm, Hari Edo hari@gmail.com wrote: I think Andre was looking for

Re: [android-developers] Re: Grab phonebook-contacts via ContactsContract-API

2011-01-26 Thread Dmitri Plotnikov
Take a look at AccountManager docs: http://developer.android.com/intl/en/reference/android/accounts/AccountManager.html AccountManager supports the notion of authentication token, which is what I think you need. Cheers, - Dmitri On Wed, Jan 26, 2011 at 10:26 AM, L0rdAli3n

[android-developers] Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread gato chlr
Hi List, In a phone, the application works o, but in an android tablet (with android 2.2) it does not use all screen, does anybody know how to fix that? I just see the application in the center of screen, and the rest of screen is black. Thanks a lot! -- You received this message because you

[android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Hari Edo
The tarot deck answers nothing, so I'm reading the tea leaves now. If that doesn't work, I will throw some chicken bones across the campfire. What app? Is this your app? What are you doing to develop the activity? Are you making layouts in XML? Did you try a sample application? What tablet

Re: [android-developers] Unable to upload app on Android Market having uses-configuration android:reqHardKeyboard=false/ tag in manifiest

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 4:53 AM, Yogini yogin...@gmail.com wrote: Or any other way to exclude an app from devices having hard keyboard support. That doesn't make sense. Requirements are for extra hardware, not the lack thereof. Why do you think you need to do this? If your app works without a

[android-developers] ANNOUNCE: RoboGuice 1.1 now available

2011-01-26 Thread Michael Burton
Hello Android developers, I'd like to announce the final release of RoboGuice 1.1! http://roboguice.org RoboGuice is a framework that brings the simplicity and ease of Dependency Injection to Android, using Google's own Guice library. If you've ever used Spring (the #1 enterprise framework

Re: [android-developers] Re: activity and service as a package

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 1:33 PM, Titus titus.mor...@gmail.com wrote: Do you have an example of how a single manifest file can do this if both services and activities are of complete diff packages? No, because that's not possible, AFAIK. They all have to be in the same package to be in the

[android-developers] Android 2.2.2 Market app losing apps?

2011-01-26 Thread JP
Am I alone with this? After updating my Nexus One to 2.2.2 this morning, I checked Market, and one of my published apps has gone missing. No way to get to it. View more applications from a remaining app, for example, comes up empty. Cross-check against a device running 1.6: Everything's fine. --

[android-developers] Re: Custom xfer modes for Paint/Canvas?

2011-01-26 Thread spaceraiders
Hi, Thanks John. The main xfer modes I need are: - XOR filter that just XORs the raw pixel values (and doesn't do anything special depending on alpha values) - Something that acts as a typical add blend mode. I can't find any way to get these from combining the current modes however. On Jan

[android-developers] Re: question on KVM/thread scheduler and processor cores

2011-01-26 Thread longingtoadopt.com
Thanks for replying - that removes one layer (KVM). On Jan 25, 8:30 pm, Dianne Hackborn hack...@android.com wrote: Each Dalvik thread is a kernel thread.  The scheduling of these is fairly entirely up to the kernel, except for situations such as where a GC may need to pause threads. On Tue,

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Kostya Vasilyev
-- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.01.2011 23:01 пользователь Hari Edo hari@gmail.com написал: The tarot deck answers nothing, so I'm reading the tea leaves now. If that doesn't work, I will throw some chicken bones across the campfire. What app? Is this your app?

[android-developers] Re: ANNOUNCE: RoboGuice 1.1 now available

2011-01-26 Thread Manfred Moser
Thanks for the great release. Going to start using it NOW!! Love it manfred -- 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] Re: performance when passing background data to ui thread

2011-01-26 Thread Anders Aagaard
Thank you! I wasn't sure what was the cleanest way of doing it. And I'm very familiar with threading, just not how java does it (and the synchronized isn't something I'm familiar with from other platforms). I'll try to push some of the sorting/filtering into the threads as well, to reduce amount

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread Kostya Vasilyev
This is easily fixed in the manifest. Either set minSdk to 4 or above, or add supports-screens (look it up in the reference). http://developer.android.com/guide/practices/screens_support.html -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.01.2011 23:01 пользователь Hari Edo

Re: [android-developers] How to take a snapshot of phone's screen ?

2011-01-26 Thread Marcin Orlowski
On 26 January 2011 20:42, Emre A. Yavuz eayl...@hotmail.com wrote: Hi, Is anyone aware of a method to take the snapshot of phone's screen while an app is running ? Running the app on the emulator is not an option since network connectivity is needed. Is there any internal method that we can

Re: [android-developers] Android 2.2.2 Market app losing apps?

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 2:15 PM, JP joachim.pfeif...@gmail.com wrote: Am I alone with this? After updating my Nexus One to 2.2.2 this morning, I checked Market, and one of my published apps has gone missing. No way to get to it. View more applications from a remaining app, for example, comes

[android-developers] Needed Oracle WMS Consultant in MO 2-3 months contract

2011-01-26 Thread arun panigrahi
-- *Title:**Oracle WMS Consultant* *Location:St louis MO(**travel to nashville, pittsburg and St louis may be required)* *Duration: 2-3 months* *Oracle WMS experience with implementing Oracle WM in 11i or 12.0* *2 years of Oracle Apps experience having 1 to 2 full lifecycle

Re: [android-developers] How to take a snapshot of phone's screen ?

2011-01-26 Thread Dianne Hackborn
For most devices you can attach DDMS to it and take a screenshot with it. On Wed, Jan 26, 2011 at 11:46 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 26 January 2011 20:42, Emre A. Yavuz eayl...@hotmail.com wrote: Hi, Is anyone aware of a method to take the snapshot of phone's

Re: [android-developers] How to take a snapshot of phone's screen ?

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 1:42 PM, Emre A. Yavuz eayl...@hotmail.com wrote: Running the app on the emulator is not an option since network connectivity is needed. The emulator can have network connectivity ...

[android-developers] Re: Grab phonebook-contacts via ContactsContract-API

2011-01-26 Thread L0rdAli3n
I thought the authentication token is something specific to the session, like a sessionID or something? I'm a little bit confused now. On 26 Jan., 20:41, Dmitri Plotnikov dplotni...@google.com wrote: Take a look at AccountManager

Re: [android-developers] Re: activity and service as a package

2011-01-26 Thread Mark Murphy
On Wed, Jan 26, 2011 at 2:33 PM, Titus titus.mor...@gmail.com wrote: Do you have an example of how a single manifest file can do this  if both services and activities are of complete diff packages? Use a fully-qualified class name in the android:name attributes. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Needed Oracle WMS Consultant in MO 2-3 months contract

2011-01-26 Thread Haroon Khalid
Dear dickhead, In response to the spam, Obama has agreed to nuke India. --Haroon On Wed, Jan 26, 2011 at 3:35 PM, arun panigrahi arunp.xpertt...@gmail.comwrote: -- *Title:**Oracle WMS Consultant* *Location:St louis MO(**travel to nashville, pittsburg and St louis may be required)*

  1   2   3   4   >