[android-developers] Re: For those who are looking for testing their apps on multiple devices:

2011-01-31 Thread FrankG
Hello Stephan, can you describe the kind of interface they provide to the different devices ? Or how the interaction during test should happen ? Do they provide a web cam view to the ui ? Thanks ! Frank On 30 Jan., 07:57, Stephan Wiesner testexpe...@googlemail.com wrote: For those who are

[android-developers] Can't download Honeycom Preview

2011-01-31 Thread Chih-Wei
Downloading SDK Platform Android Honeycomb Preview, revision 1 File not found: https://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip Any help? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] When to use Handler

2011-01-31 Thread Kostya Vasilyev
Dusan, For your code to work, do two things: - Take out the Looper stuff from your worker thread. Looper.loop() goes into a loop that de-queues and processes messages until someone calls quit(). In your code, it keeps running forever after parsing is finished, I don't think you intended

[android-developers] How to call Text-To-Speech in background? (android.speech.tts API = 2.1+)

2011-01-31 Thread aellis
Hi all, I want to write a simple app to read out SMS messages from my phone -- I also want an ON/OFF setting which can be set through an activity. The idea is that the activity is only launched to configure the shared preference of ON/OFF. A BroadcastReceiver or something similar which is in

Re: [android-developers] How to call Text-To-Speech in background? (android.speech.tts API = 2.1+)

2011-01-31 Thread Kostya Vasilyev
31.01.2011 11:42, aellis ?: I have written a BroadcastReceiver which receives the SMS_RECEIVED intent and unpacks the data, but when I try to create an instance of the TextToSpeech class I get an exception saying that a service can't be started/bound from a BroadcastReceiver. I

[android-developers] Multiple screen support Android Web Phonegap

2011-01-31 Thread dinesh
Hi I developed an application using Phonegap for Multiple screen support Problem: for multiple screen support how to make a common css file. I used the tag meta name=viewport content=width=device-width, initial-scale=1.0, user-scalable=no in html file. so that same css is applied for all

[android-developers] mysterious crash accessing Preferences - works if package name is changed

2011-01-31 Thread mot12
One person reports a crash with a null pointer when accessing shared preferences. Strangely, the same code works if used in a different package (I distribute the same code com.mobitobi.android.gentlealarm also as a beta com.mobitobi.android.gentlealarmbeta). I can not reproduce the error myself

Re: [android-developers] Make Money Online

2011-01-31 Thread Robin Talwar
This is such fluke I get around 2000 clicks a day on one of my clients website and they earn nothing through this pay per click stuff. On Mon, Jan 31, 2011 at 3:07 PM, Vijay Varma vijayvarma...@gmail.comwrote: Get New ideas for easy way of employment and buisness by just sitting at your

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
Ok now i have added a splash screen. The Splash screen works fine but then the activity which is to list the xml parsed data is showing the force close error in 2.1 and i working fine in 2.2 where could i possibly be wrong On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García

[android-developers] NFC Mock Tags and Successfully Writing NFC Tags

2011-01-31 Thread muasif80
I would like to ask one thing about NFC demo available in gingerbread. There are three mocked nfc tags available in this demo. Now can anyone tell me how can I create one more mocked tag. For example we have /** * A Smart Poster containing a URL and no text. */ public static final

[android-developers] Re: XML or JSON in Android

2011-01-31 Thread Rotundjere
XML is very heavy... use JSON or binary text to store something like config files ^^ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Whats the key difference between Monkey Runner and Monkey tool?

2011-01-31 Thread raki
Hi Alk, Thanks a lot for the reply. I had a look at Robotium. It seems it will solve my purpose. But I am still not clear on whats the difference between Monkey ad Monkey runner. Can u please give a simple scenario explaining thier main purpose and difference between each other? I would be

[android-developers] how to get user Email id.

2011-01-31 Thread A N K ! T
i want to take Mobile owner/user email id through which he registered for gmail or any account -- A N K ! T.. -- 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

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread David Erosa García
On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Ok now i have added a splash screen. The Splash screen works fine but then the activity which is to list the xml parsed data is showing the force close error in 2.1 and i working fine in 2.2 where could i

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread David Erosa García
On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García soul...@gmail.com wrote: On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Ok now i have added a splash screen. The Splash screen works fine but then the activity which is to list the xml parsed data is

[android-developers] Twitter on Android

2011-01-31 Thread chamith weerasinghe
Hi All, I need to connect to twitter using my android application. is there any api like facebook api to connect to twitter. I need to sign in my account and when I choose twitter share from any where in my app it should do a post or some thing in twitter. hope u understand this. plz hep me.

Re: [android-developers] Twitter on Android

2011-01-31 Thread Marcin Orlowski
On 31 January 2011 12:01, chamith weerasinghe e05ch...@gmail.com wrote: I need to connect to twitter using my android application. is there any api like facebook api to connect to twitter. What about google. twitter api search? -- You received this message because you are subscribed to the

[android-developers] Re: NFC

2011-01-31 Thread muasif80
Actually what I have understood about the NFC demo is as under 1. An activity gets started to display the list with three items. These three items are there to be clicked and generated a fake NFC message and an intent encapsulating the message. 2. Then there is another activity to read the

[android-developers] WakeLock acquire(timeout) Runtime exception

2011-01-31 Thread RS
Hi All, I get a Runtime exception when my wait lock gets expired . Is it because I am trying to release a lock that was acquired with a timeout? I am using the following code to acquire the wakelock before a view is activated. private PowerManage.WakeLock wakeLock; public void

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
I am using fill_parent On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García soul...@gmail.comwrote: On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García soul...@gmail.com wrote: On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Ok now i have added a

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Kostya Vasilyev
And the logcat says? 31.01.2011 14:27, Robin Talwar ?: I am using fill_parent On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García soul...@gmail.com mailto:soul...@gmail.com wrote: On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García soul...@gmail.com mailto:soul...@gmail.com

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
Caused due to Null Pointer Exception but the same code runs on 2.2 so it is quite wierd I have async task in my application to show progress dialog while the app is parsing xml by the time On Mon, Jan 31, 2011 at 4:59 PM, Kostya Vasilyev kmans...@gmail.com wrote: And the logcat says?

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Kostya Vasilyev
Please post complete logcat error stack trace, including below Caused by: -- Kostya 31.01.2011 14:34, Robin Talwar пишет: Caused due to Null Pointer Exception but the same code runs on 2.2 so it is quite wierd I have async task in my application to show progress dialog while the app is

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
01-31 17:02:14.526: ERROR/AndroidRuntime(311): Uncaught handler: thread main exiting due to uncaught exception 01-31 17:02:14.545: ERROR/AndroidRuntime(311): java.lang.NullPointerException 01-31 17:02:14.545: ERROR/AndroidRuntime(311): at

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Kostya Vasilyev
31.01.2011 14:45, Robin Talwar пишет: 01-31 17:02:14.545: ERROR/AndroidRuntime(311): java.lang.NullPointerException 01-31 17:02:14.545: ERROR/AndroidRuntime(311): at com.hungama.myplay.activity.MusicScreen$FetchTopMusic.onPostExecute(MusicScreen.java:155) There you go. Use the debugger

[android-developers] Re: Can't get android sources

2011-01-31 Thread Anees
Hi, I am also getting the same issue. Could anyone from Google kindly respond on this. BR, Anees On Jan 28, 11:21 pm, C06akaDuka c06akad...@gmail.com wrote: I'm trying to get android-2.2-froyo sources using described procedure: repo init -u git://android.git.kernel.org/platform/manifest.git

Re: [android-developers] Middle School Android Programming Class

2011-01-31 Thread brian purgert
Did you guys win On Jan 5, 2011 5:48 PM, joshbeck josh.beck2...@gmail.com wrote: Hello all, My name is Josh Beck and I teach course to advanced eighth grade students. There are 26 students in the class and right now we only have 4 development devices to work with. (Everyone else uses the

[android-developers] Handle preferences in BroadcastReceiver's

2011-01-31 Thread Danny S.
Hi, I try to use my preferences within a broadcast receiver. I defined a preferences activity thats build of a defined UI (layout xml alias prefrences.xml). I am able to call the activity and edit the values. There is a preferences xml under my device at /data/data/

[android-developers] Re: XML or JSON in Android

2011-01-31 Thread Federico Paolinelli
Please note also that c2dm is proposed as a notification of new data available on the server (or at least, it is what I understood :-) ). There is a size limit of the data that can be bundled in the message. The c2d message should only trigger your app to start the fetching (and I wouldn't

[android-developers] Re: For those who are looking for testing their apps on multiple devices:

2011-01-31 Thread Stephan Wiesner
:-) No, there is no camera involved. They stream the userinterface to your pc and back. Looks exactly like the real thing. It is somewhat slow over the internet, but fast enough in an intranet. If you buy/rent an iphone, you get a real iphone and can send it any interaction (sms, touch, movement,

[android-developers] Re: Handle preferences in BroadcastReceiver's

2011-01-31 Thread Danny S.
Hi, I temporary added the following into my preferences activity and access it within my broadcast receiver: public static final String PREFERENCES_PATH = Preferences.class.getPackage().getName() + preferences; in Broadcast Receiver I wrote: preferences =

Re: [android-developers] Re: Handle preferences in BroadcastReceiver's

2011-01-31 Thread Kostya Vasilyev
31.01.2011 15:53, Danny S. пишет: This matches the default preferences file and so I am able to read all pref values. But is this a clean way? Should I do better or create a separat preferences file using edit() method of SharedPreferences? Do you think my current procedure is bad and why?

[android-developers] Strange behavior in EditText box on Samsung devices

2011-01-31 Thread LinusOnline
I'm struggling with some strange bahavior in EditText fields on the Samsung Galaxy Tab and Samsung Galaxy S. Has anyone else experienced similar behavior to this? Situation: I'm using an EditText as an input window for URLs. As the user enters a character in it, I want to autocomplete it, i.e.,

Re: [android-developers] Re: XML or JSON in Android

2011-01-31 Thread Kostya Vasilyev
I'm going to contribute very unorthodox two cents on this. The original poster wrote that his app does this: 1. I parsing XML in android which is hosted on server (same like RSS feed). 2. It takes around 10 second depend on network speed. 3. XML refresh on server in every 15 minutes.

Re: [android-developers] Strange behavior in EditText box on Samsung devices

2011-01-31 Thread Kostya Vasilyev
Linus, Have you considered using AutoCompleteTextView instead of an EditText? It provides a ready-made infrastructure for autocomplete, and probably works on all devices. -- Kostya 31.01.2011 16:04, LinusOnline пишет: I'm struggling with some strange bahavior in EditText fields on the

[android-developers] Debug webview client

2011-01-31 Thread Amit
Hi, Is there any way to capture http/https traffic happenig through webviewclient? I can capture url by onPageStarted()/onPageFinished() but not sure how to get http header associated witht hem? Thanks, -Amit -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Debug webview client

2011-01-31 Thread Kostya Vasilyev
You can run your web app in the emulator, and use an Ethernet capture application (such as WireShark) on the host. Also this, although short, might give you some ideas: http://developer.android.com/guide/webapps/debugging.html -- Kostya 31.01.2011 16:52, Amit пишет: Hi, Is there any way to

[android-developers] Re: how to get user Email id.

2011-01-31 Thread Spiral123
Can you rephrase your question? Perhaps you can tell us what is your end objective. On Jan 31, 5:41 am, A N K ! T ankit.awasth...@gmail.com wrote: i want to take Mobile owner/user email id through which he registered for gmail or any account --  A N K ! T.. -- You received this

[android-developers] Opening SlidingDrawer completely

2011-01-31 Thread Cliff Davies
I'd like to use a regular SlidingDrawer but with one exception - when it's open I'd like it to completely fill the screen (so that even the handle slides from the screen). I can do this by setting a negative topOffset in the XML but need to know the size of the drawer's handle before I can know

[android-developers] Re: Eclipse + sdk install

2011-01-31 Thread gulbrandr
Have you downloaded at least one Android platform? According to the documentation: To develop an Android application, you also need to download at least one Android platform and the SDK Platform-tools more info: http://developer.android.com/sdk/installing.html#AddingComponents Regards On Jan

[android-developers] Re: Can't download Honeycom Preview

2011-01-31 Thread davemac
This is the third thread on this topic to appear in Android Developers since the preview package disappeared on Friday. So far there is no information on why it went away, or when it will reappear. - dave On Jan 31, 3:37 am, Chih-Wei cwhu...@linux.org.tw wrote: Downloading SDK Platform Android

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

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 12:24 AM, Yogini yogin...@gmail.com wrote: An activity can restrict to portrait view. But how do i restrict a wallpaper from being displayed in landscape mode (?) I don't know, may not be possible. So, I would like it not to be displayed on devices supporting

[android-developers] Re: how to get user Email id.

2011-01-31 Thread Sarwar Erfan
This is what you want. http://stackoverflow.com/questions/2112965/how-to-get-the-android-devices-primary-e-mail-address Regards Sarwar Erfan -- 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] Image Editing app for Android How to get started for this.

2011-01-31 Thread Ajmer Singh
Hi All, I am working on the app which require me to add effects to an image taken from camera.Please any body let me know how can to get started for this particular requirement.Is there any library to do so. -- Thanks and Regards Ajmer Singh -- You received this message because you are

[android-developers] Re: HoneyComb and LayoutInflator-cloning seems broken

2011-01-31 Thread Streets Of Boston
Hi Dianne, I haven't made an apk yet (i can't send you our entire app, my boss would kill me :-)), but when i do send the apk-sample, where do i send it? To your e-mail address? On Jan 29, 10:23 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Thank you Dianne, When I get back to work,

[android-developers] Re: Bug in Honeycomb solves Bitmaps with XRGB_8888

2011-01-31 Thread webmonkey
Just as I suspected there is a bug in Honeycomb that allows me to work around not having a setHasAlpha function. Using the new inMutable option in BitmapFactory.Options I can decode a dummy JPG and because it is a JPG the opaque hint is set. Now whatever set function you call on the bitmap, the

[android-developers] Picking images from gallery (SD Card) on my app… ¿How to allow only max 500kb photos?

2011-01-31 Thread saex
Hi, **WHAT I HAVE DONE NOW:** i am picking images on my app with android, and showing them on a ImageView of my layout, and sometimes i got an exception `java.lang.OutOfMemoryError: bitmap size exceeds VM budget`. This happens when the photos are higher than 500kb. **WHAT I NEED TO DO (AND I

[android-developers] Scaling ImageView rightCrop

2011-01-31 Thread lou
Hi ! I'm trying to insert an image in my application. This image don't cover all the screen, so I have to scale it. My problem : I want the picture to cover the all screen, stay scaled and be cropped at the right of the screen. Consequently we don't see the right part of the picture. It looks like

[android-developers] Re: Whats the key difference between Monkey Runner and Monkey tool?

2011-01-31 Thread A. Elk
You might use Monkey to test that your app handles only certain keystrokes, handles only keystrokes sent in a certain order, and doesn't crash if it gets anything else. For touch events, you could use it to test that random touches or gestures don't do something unexpected in your application. As

Re: [android-developers] Multiple screen support Android Web Phonegap

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 3:43 AM, dinesh dinesh.dr...@gmail.com wrote: I developed an application using Phonegap for Multiple screen support Problem: for multiple screen support how to make a common css file. Try asking on Phonegap's forums (if they have any) or other groups dedicated to

Re: [android-developers] mysterious crash accessing Preferences - works if package name is changed

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 3:59 AM, mot12 martin.hu...@gmail.com wrote: I assumed a problem with the installation and asked the user to uninstall and reinstall a new compilation I sent him; no change. Did you get more information like Phone model and android version? I wouldn't be surprised if

Re: [android-developers] WakeLock acquire(timeout) Runtime exception

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 5:17 AM, RS raj...@yahoo.com wrote: I get a Runtime exception when my wait lock gets expired And the runtime exception thrown and the stack trace is what exactly? - TreKing

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2011-01-31 Thread Pent
I just discovered that removing theNexusSbattery for about a minute is enough to restore theUSBfunctionality.  (Compared to swapping phones at BestBuy, removing the battery is a great convenience. :*) Thanks for the battery tip. I just got an S and had the 'where's the USB gone' problem

[android-developers] Problems storing images with Base64 encode into a row of a SQL DB

2011-01-31 Thread saex
0 down vote favorite Hi i'm encodding images with Base64 into Strings, and i am uploading these images into a remote database, in a row of the table USER. That row is TEXT, because i dont know if there is anothr String type with more space than TEXT. When i store very small images, with 5 or

[android-developers] Re: mysterious crash accessing Preferences - works if package name is changed

2011-01-31 Thread TomTasche
One of my users reported something similar a few months ago and told me it was due to bad permissions. Maybe your user should try to uninstall and install the app again. Good luck Tom On Jan 31, 6:59 pm, TreKing treking...@gmail.com wrote: On Mon, Jan 31, 2011 at 3:59 AM, mot12

Re: [android-developers] Re: mysterious crash accessing Preferences - works if package name is changed

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 12:11 PM, TomTasche tomtas...@gmail.com wrote: Maybe your user should try to uninstall and install the app again. On Mon, Jan 31, 2011 at 3:59 AM, mot12 martin.hu...@gmail.com wrote: I assumed a problem with the installation and asked the user to uninstall and

[android-developers] Re: Did the Honeycomb platform package go away?

2011-01-31 Thread TjerkW
@davemac could you share your copy somehow? A lot of people cannot test against honeycomb now. On Jan 30, 1:07 am, davemac davemac...@gmail.com wrote: I was able to get a copy of the file from a friend of mine so I'm now good. The repository.xml file on Google has this for the sha1 checksum:

Re: [android-developers] Re: Emulator loses network connection issue

2011-01-31 Thread H
My desktop doesn't have wireless or any other network other than the one ethernet cable. I also run rrdtool on my pc so can confirm that the ethernet connection is constantly active and online. So although Varun's issue may have been triggered by the wireless swapping over, I think there is

Re: [android-developers] Re: HoneyComb and LayoutInflator-cloning seems broken

2011-01-31 Thread Dianne Hackborn
Yeah just send it to me e-mail address. Thanks! On Mon, Jan 31, 2011 at 7:59 AM, Streets Of Boston flyingdutc...@gmail.comwrote: Hi Dianne, I haven't made an apk yet (i can't send you our entire app, my boss would kill me :-)), but when i do send the apk-sample, where do i send it? To your

[android-developers] HC SDK Preview for Linux is back

2011-01-31 Thread Mark Murphy
You can download the Honeycomb (Android 3.0) SDK Preview for Linux again -- whatever was causing the 404's has been resolved. I have successfully downloaded it on an Ubuntu 10.10 machine, and a newly-created HC AVD started right up. Well, OK, right up is a bit overly optimistic, but it did start

[android-developers] Service.startForeground() -- what is the int id parameter?

2011-01-31 Thread DulcetTone
I tried using this with id=0, and no icon was placed in the status bar. I switched to using a string resource ID and it worked. The documentation for the notification system seems to welcome us to use any value unique to our app. tone -- You received this message because you are subscribed to

Re: [android-developers] Re: mysterious crash accessing Preferences - works if package name is changed

2011-01-31 Thread mot12
Thanks for the input. This guy has a G1 with standard Android 1.6. If he had a custom ROM, I would not waste time debugging it. However, you both bring up something interesting here: custom ROMs and permissions. I have two other users with two different custom ROMs and my app can't save anything

[android-developers] Re: HoneyComb and LayoutInflator-cloning seems broken

2011-01-31 Thread Streets Of Boston
Email is on its way. Thank you! On Jan 31, 2:20 pm, Dianne Hackborn hack...@android.com wrote: Yeah just send it to me e-mail address.  Thanks! On Mon, Jan 31, 2011 at 7:59 AM, Streets Of Boston flyingdutc...@gmail.comwrote: Hi Dianne, I haven't made an apk yet (i can't send you our

[android-developers] Re: TextView - how to make appended text visible?

2011-01-31 Thread Paul
You might also be able to scroll the text by restricting the ellipsize the text by setting properties of the TextView to: android:maxLines=1 android:scrollHorizontally=true I do this with an EditText and it works perfectly. Paul On Jan 28, 7:54 pm, John Lussmyer johnlussm...@gmail.com wrote:

Re: [android-developers] Service.startForeground() -- what is the int id parameter?

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 2:13 PM, DulcetTone dulcett...@gmail.com wrote: I tried using this with id=0, and no icon was placed in the status bar. I switched to using a string resource ID and it worked. You didn't change anything else? I use 0 as an ID just fine. The documentation for the

[android-developers] Re: Strange orange background color when custom 9 patch button is pressed...

2011-01-31 Thread Paul
It looks like Android is still using the default color state list for the button. I've never used a state list for a button, but maybe capturing the android:state_selected state might help? Paul On Jan 28, 6:01 pm, Jarrette jarrette.sch...@gmail.com wrote: *thanks for the reply, doug.  Here's

[android-developers] Honeycomb Preview is back

2011-01-31 Thread tvo
FYI, am downloading the Honeycomb preview now via the SDK AVD Manager. Did not work an hour ago, now it does. Do not know what happened since it disappeared last Friday. No word from Google. Anyway it is back again. -- You received this message because you are subscribed to the Google Groups

[android-developers] Android WebView problem

2011-01-31 Thread WiViu Technologies
We are trying to develop an Android App which uses raw HTTP APIs for login to a website. We are then using WebView other HTTP APIs to upload and download files from the website. The problem is that WebView, and the subsequent calls using HTTP APIs, fail because the website does not see the

Re: [android-developers] Android WebView problem

2011-01-31 Thread Mark Murphy
On Mon, Jan 31, 2011 at 4:13 PM, WiViu Technologies wiviut...@gmail.com wrote: We are trying to develop an Android App which uses raw HTTP APIs for login to a website. We are then using WebView other HTTP APIs to upload and download files from the website. The problem is that WebView, and the

[android-developers] Re: Honeycomb Preview is back

2011-01-31 Thread Streets Of Boston
There was word from google (although a bit burried :-)): http://twitter.com/#!/androiddev On Jan 31, 4:13 pm, tvo tvoverb...@gmail.com wrote: FYI, am downloading the Honeycomb preview now via the SDK AVD Manager. Did not work an hour ago, now it does. Do not know what happened since it

[android-developers] Question about scrambling the keyboard

2011-01-31 Thread FractalBob
Hi, I'm writing an app that randomly scrambles the keyboard, so that when the user presses, say, the 'A' key, some other letter might get displayed. The only way I see of doing this (actually, the way I do it now) is to register a KeyListener and return the randomized keystroke. The problem

[android-developers] Question about scrambling the keyboard

2011-01-31 Thread FractalBob
Hi, I'm writing an app that randomly scrambles the keyboard, so that when the user presses, say, the 'A' key, some other letter might get displayed. The only way I see of doing this (actually, the way I do it now) is to register a KeyListener and return the randomized keystroke. The problem

[android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread himanshu jain
@Dmitri Thanks a lot for spending time to answer my questions at least some doubts are faded off. 1) I understand to use own activity for editing and creating new contacts. 2) Ok, if i avoid ContentObserver even i had that in mind might require something to be running in background which is bad

[android-developers] Re: MonkeyImage.writeToFile error

2011-01-31 Thread Diego Torres Milano
The problem, which is also in Google documentation, is the missing pair of parenthesis 18 result = device.takeSnapshot() ^^ otherwise, you are getting a reference to the method. On Jan 30, 6:58 am, dan raaka danra...@gmail.com wrote: I am

Re: [android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread Dmitri Plotnikov
Sending requestSync to contentresolver is the right way to go if you want an explicit button to request sync. This is what applications like Calendar and Gmail do when you push the Sync button. ContentProvider will also request sync whenever there is a change in the data. You should query raw

[android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread himanshu jain
@Dmitri thanks once again But why my SyncService not gets started by SyncManager on Device i dont know , and i explicitly call requestSync flow is not going inside onPerformSync.? thanks On Jan 31, 1:49 pm, Dmitri Plotnikov dplotni...@google.com wrote: Sending requestSync to contentresolver

[android-developers] Re: Opening SlidingDrawer completely

2011-01-31 Thread Cliff Davies
I've managed this now. In case it's of use to anyone else, I achieved it by overriding the onDrawerOpen function and using it to call handle.setBackgroundResource(0). This effectively removes the handle when the drawer is as open as it can go, allowing the drawer to slide to cover the full

[android-developers] Marketplace download failure -- anybody else seen this?

2011-01-31 Thread Ken H
I've had a couple users say they can't download two of my apps. The apps are 1.2 to 2.3Mb in size and the users seemed to imply that the size was an issue since they could download smaller apps ok. One user has a Cliq, not sure of the others. I told them to clear the cache and data in the Market

Re: [android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread Dmitri Plotnikov
Do you see your account in Settings/Accounts? Does it have contact syncing enabled? On Mon, Jan 31, 2011 at 2:44 PM, himanshu jain himanshu@gmail.comwrote: @Dmitri thanks once again But why my SyncService not gets started by SyncManager on Device i dont know , and i explicitly call

[android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread himanshu jain
@Dmitri Yes i created my account when i go to Account sync section through settings and after adding my account , sync gets enabled in DDMS i can see SyncManager gets called twice once on setIsSyncable and on setSyncAutomatically but My Service associated with SyncAdapter does not gets started

Re: [android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread Dmitri Plotnikov
I would double-check every line of AndroidManifest.xml, compare it with the one in SampleSyncAdapter to see if anything's missing. On Mon, Jan 31, 2011 at 4:26 PM, himanshu jain himanshu@gmail.comwrote: @Dmitri Yes i created my account when i go to Account sync section through settings

[android-developers] Re: Marketplace download failure -- anybody else seen this?

2011-01-31 Thread Peter Sinnott
Maybe they are running out of internal memory? Otherwise it is probably the standard brokenness of the Market. Try the suggestions at http://market.android.com/support/bin/answer.py?answer=1067233 On Feb 1, 12:03 am, Ken H hunt1...@gmail.com wrote: I've had a couple users say they can't

[android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread himanshu jain
this is my manifest file manifest xmlns:android=http://schemas.android.com/apk/res/android; package=org.c99.SyncProviderDemo android:versionCode=1 android:versionName=1.0 uses-permission android:name=android.permission.GET_ACCOUNTS / uses-permission

Re: [android-developers] Re: Questions about Two Way Sync Using SyncAdapter and SyncService in android

2011-01-31 Thread Dmitri Plotnikov
I cannot spot anything obviously wrong here. Here's what I would do in this situation: Plan A: Closely examine the logs - there might be something there already. Enable more logging and see if you can glean anything from it: adb shell setprop log.tag.SyncManager VERBOSE Plan B: I would put

[android-developers] doubt in xmlns:android tag

2011-01-31 Thread Sohan badaya
Hi All, In android xml files we define xmlns:android=http:// schemas.android.com/apk/res/android in root tag, so then we use android:attributes. I want to know what is the location where these attributes are defined. and if we want can we define our custom attributes. thanks, sohan -- You

[android-developers] Multi select dialog preference has white text on white background in 1.6

2011-01-31 Thread Peter Sinnott
I am trying to create a multi select dialog preference but I have run into a problem related to the bug referenced in http://osdir.com/ml/AndroidBeginners/2009-02/msg00537.html . Does anyone know an easy non invasive way to change the text to black? The post says the bug was fixed in 1.5 so this

[android-developers] MediaPlayer callbacks not firing after calling prepareAsync() from a Service

2011-01-31 Thread Jim Benton
Hi everyone, I'm working on writing a small app that will stream mp3 files. I'm using the NPR code, but having a strange problem with mediaPlayer.prepareAsync(). I'm using a trimmed down version of the

[android-developers] separate thread for browser,webkit.

2011-01-31 Thread yogi
Hi all, Since webkit is a huge libary so i suggest to open a separate thread for discussion on webkit,browser stuff specific to android platform. And i also request to join all the member to that group who are working or facing problem in these area.So kindly create a separate group and linked

[android-developers] Freeze with RGBA8 OpenGL ES 2.0

2011-01-31 Thread Rémi Chaignon
Hi, I am trying to do a very simple application with OpenGL ES 2.0. I've implemented my own ConfigChooser and display a simple texture, it works fine when I pick a R_5_G_6_B_5_A_0 config. But when I pick a R_8_G_8_B_8_A_8 config, it freezes and LogCat gives me this message over and over again

[android-developers] Re: How to Add Item Status Bar Dropdown Menu/List?

2011-01-31 Thread AndroidDevTime
Well the documentation does show a way to add notifications to the status bar using NotificationMgr. I wonder if Notifications are the only thing that can be added to the STATUS bar. And if anything else can be added below the Status Bar besides the Notification dropdowns ? In particular is

[android-developers] Service reference to System Managers

2011-01-31 Thread AndroidDevTime
Is it a good practice for a Service to maintain static reference to System Manager? like Activity Manager, Power Manager? etc? -- 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] Should a service maintain a reference to a Broadcast Receiver

2011-01-31 Thread AndroidDevTime
Is it a bad practice to maintain a service level reference to a BroadcastReceiver? I do see there is a service level method service.registerReceiver Under what situations is it appropriate to register the BroadcastReceiver with a service? To hold a static reference to a broadcast receiver

Re: [android-developers] Service reference to System Managers

2011-01-31 Thread Dianne Hackborn
Generally it should be a member variable because these are retrieved and associated with the Service's context. On Mon, Jan 31, 2011 at 8:06 PM, AndroidDevTime androiddevd...@gmail.comwrote: Is it a good practice for a Service to maintain static reference to System Manager? like Activity

[android-developers] Re: How to Add Item Status Bar Dropdown Menu/List?

2011-01-31 Thread AndroidDevTime
while we are on the topic is there any better way to get a clickable Icon on the status bar then using notifications? Are there any layout options that could allow custom rendering of below the status bar or change of priority of notifications appearing below the status ba? On Jan 31, 7:46 pm,

[android-developers] Re: Service reference to System Managers

2011-01-31 Thread AndroidDevTime
ok. Is it best to retrieve as needed during service execution and remove reference or obtain on service create and maintain as reference? if so should it be static reference member variable? On Jan 31, 8:14 pm, Dianne Hackborn hack...@android.com wrote: Generally it should be a member variable

[android-developers] Subclassing Android Application

2011-01-31 Thread AndroidDevTime
Are there any compatibility issues or disadvantages with subclassing the Android application? -- 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

Re: [android-developers] Re: Service reference to System Managers

2011-01-31 Thread Dianne Hackborn
You can just get them in onCreate(). Don't use a static. On Mon, Jan 31, 2011 at 8:25 PM, AndroidDevTime androiddevd...@gmail.comwrote: ok. Is it best to retrieve as needed during service execution and remove reference or obtain on service create and maintain as reference? if so should it

Re: [android-developers] Re: How to Add Item Status Bar Dropdown Menu/List?

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 9:46 PM, AndroidDevTime androiddevd...@gmail.comwrote: I wonder if Notifications are the only thing that can be added to the STATUS bar. What else would one put there? And if anything else can be added below the Status Bar besides the Notification dropdowns ?

Re: [android-developers] Subclassing Android Application

2011-01-31 Thread TreKing
On Mon, Jan 31, 2011 at 10:33 PM, AndroidDevTime androiddevd...@gmail.comwrote: Are there any compatibility issues or disadvantages with subclassing the Android application? What compatibility issues would there be?

Re: [android-developers] Re: how to get user Email id.

2011-01-31 Thread A N K ! T
i got it through AccountManager and Account Classes... thanks On Mon, Jan 31, 2011 at 9:08 PM, Sarwar Erfan erfanonl...@gmail.com wrote: This is what you want. http://stackoverflow.com/questions/2112965/how-to-get-the-android-devices-primary-e-mail-address Regards Sarwar Erfan --

  1   2   >