[android-developers] Intent filter changed on Android 3.2?

2011-07-19 Thread Tor
Hello, I have an app that triggers on YouTube URLs, and it worked as designed until Android 3.1. Does anyone know what happened in 3.2 that prevents my app from launching? (I can't see any changes regarding intent- filters in the 3.2 documentation..) Kind regards, Tor -- You received this mess

[android-developers] how to get info about pdp connection ,download and upload speed and total call placed in android ??

2011-07-19 Thread ashokm
want to get below informations in android.(currently working on android 2.2 api version.) 1.check whether pdp connection is active or not. 2.get download and upload speed. 3.get total number of call placed and call fails. are there any api to give the all above informations. Please reply me if any

[android-developers] Google Checkout Problem

2011-07-19 Thread Perry168
Hi all, Today, I login my google checkout. I found that it can't show all orders. Who has the same problem? -- 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 unsubscr

[android-developers] onReceive method sometimes not called

2011-07-19 Thread inxis
I have an SMS sender application which reads messages from a db table outbox and writes it to the sentbox afterwards. Everything is running but I just noticed that in some cases, the broadcast receiver doesn't receive the intent sent by the sendTextMessage() method. What could be the possible cause

[android-developers] Re: Posting on facebook through my Android APP

2011-07-19 Thread andrew
To post to the "stream" (wall) you will need a valid auth token. So a dialog (once) will be difficult to avoid. After that you will have to use the FB REST API and do the requests yourself. See docs on developer page at Facebook.com -- You received this message because you are subscribed to the

[android-developers] Re: Service Being paused on screen off.

2011-07-19 Thread Jan Nielsen
The common ways to sleep in java, only counts cpu time on the Android platform. So a Thread.sleep(60 * 1000); may become 5 or 10 minutes if the phone is in standby, since it only counts when the cpu is awake. afaik you need to use AlarmManager to get called when the phone is in standby. Even a han

Re: [android-developers] Cannot identify widget.

2011-07-19 Thread mayank k varshney
check for alert On Wed, Jul 20, 2011 at 9:54 AM, Rex Vijayan wrote: > I have searched for a dialog, but there is no dialog in the entire file, > relating to this issue. > > This happened when I added a notification dialog in the > ConversationList.java under Messaging app. > > > On Tue, Jul 19, 2

[android-developers] Re: Camera Issue

2011-07-19 Thread Ankit Kasliwal
No Solution? On Wed, Jul 20, 2011 at 10:15 AM, Ankit Kasliwal < kasliwalankit2...@gmail.com> wrote: > Hello Everyone, >I have two problem in my camera Application please > anyone help me to solve this issue. > > Error :- *native_jpeg_encode: jpeg_encoder_encode faile

[android-developers] Re: Can I sell hardware+app together on Android Market?

2011-07-19 Thread nemik
cellurl: https://checkout.google.com/inapppayments/ this might be just what you're looking for...if you're in the USA. On Jul 17, 7:13 pm, nemik wrote: > Even if it's not, purchases from the Android store don't ask for > shipping address, postage options/prices, etc. It's just not set up > for ph

[android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-19 Thread Adam Ratana
Interesting, well I think the reason Carlos' code is not working is because he needs to use the MAGNETIC_FIELD with perhaps either the ACCELEROMETER or GRAVITY. I personally use the ACCELEROMETER as this has been the practice from what I understand since day 1. On Wednesday, July 20, 2011 12:3

Re: [android-developers] Background title in a PreferenceCategory

2011-07-19 Thread TreKing
On Tue, Jul 19, 2011 at 3:13 PM, Elison Lusvardi wrote: > I'd like to know how I can change my background's title in > a PreferenceCategory? What "background's title" ? - TreKing

[android-developers] Please let me unlock my CDMA bootloader!

2011-07-19 Thread Mogul345
Carl, Any progress on whether or not we will ever be able to unlock CDMA bootloaders? My heart sinks everyday that I look at xda-developers and see that the GSM variants are getting CyanogenMod 7 & ClockworkMod and I'm still stuck with a stock ROM. I contacted Verizon about this, and they are pu

Re: [android-developers] Timer problem

2011-07-19 Thread TreKing
You're welcome. - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the

[android-developers] Camera Issue

2011-07-19 Thread Ankit Kasliwal
Hello Everyone, I have two problem in my camera Application please anyone help me to solve this issue. Error :- *native_jpeg_encode: jpeg_encoder_encode failed.* 2. *jpeg encoding failed* Please any one help me Thanks !!! *My Code is here:- * package com.info.police; im

[android-developers] Re: Honeycomb: Mac + Asus Transformer, Internet over USB-ADB?

2011-07-19 Thread Devomat
No solution? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more opt

[android-developers] How to move/create the database in Cache memory

2011-07-19 Thread Jetti
Hi, I need a requirement , I have to move the database to the cache memory. And from that cache memory only I should access the database tables and contents. Is there any way to do this? Please suggest the ways of doing.. -- You received this message because you are subscribed to the Google Grou

[android-developers] Offline Installation

2011-07-19 Thread Najeeb
Hi I am an developer with more than a decade of experience behind me in languages like C/C++, as well as Java and C#. I am trying my hand at Android now, and am a complete newbie in this area. To this end I am trying to set up the Android development environment on Eclipse on my Windows 7 system.

[android-developers] customizing compilation

2011-07-19 Thread Marcelo T. Hama
Hi everbody. I don't know if my question is in the correct forum, or if it's of some value, but let's try... =] I'm working on a project where I want to construct a runtime engine above Android's environment (a type of custom compilation, just with the most basics), trying to create a scenario whe

[android-developers] Re: automate testing of flash games

2011-07-19 Thread Coco
Hey, Thanks for reading. I am new to Android. I tried to use monkeyrunner recorder. It is seemly fine, opens MonkeyrunnerRecorder window, capture the touch, press, type, etc events from the device. However, when I attempt to export actions, it does not write any command into the file, just lea

[android-developers] Flash SMS Android

2011-07-19 Thread Jinf Jinf
Does somebody know how to send flash sms (or class 0 sms) with Android 2.1 and 2.2 ? The sendRawPdu function is not available on multiple versions of Android... Thanks for you help -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Flash SMS Android

2011-07-19 Thread Jinf Jinf
Does somebody know how to send flash sms (or class 0 sms) with Android 2.1 and 2.2 ? The sendRawPdu function is not available on multiple versions of Android... Thanks for you help -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Seekbar: Adjust thumb position

2011-07-19 Thread ceat2...@yahoo.de
Hi, i just created a custom seekbar (seekbar_custom.xml ) and add a thumb (thumb_custom). As the result i get this: http://s7.directupload.net/file/d/2591/gyykdon3_png.htm As you can see the position of the thumb is not correctly! How can i lower the thumb position or how can i change th

[android-developers] problem with hello world app for eclipse in 64 bit win 7

2011-07-19 Thread ROBERT DILLON
i keep getting these 3 messages and cant get my file to run. SDK and ADT downloaded and installed and i associated them so i need some help. invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information code follows: package

[android-developers] A question ?

2011-07-19 Thread zachariah elrashedy
how i can upgrade my andriod galaxy tab p 1000 to the newest version ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to a

[android-developers] Service Being paused on screen off.

2011-07-19 Thread Chris Conry
I'm trying to build an app that logs sensor data(using a service), and stores it into an SQLite database. My problem is that it stops logging when the screen is off. It works perfectly fine when the screen is on, but when i turn the screen off the data doesn't start logging until I turn the screen

[android-developers] OutOfMemoryError in Google Maps' ZoomHelper.createSnapshot

2011-07-19 Thread navtej
I have an application that uses the Google Maps MapView component and I've found that this crash is far and away the most common report in my market publisher dashboard. I'm not sure what I can do about it aside from reducing my own memory consumption. I know that will help some, but it doesn't see

[android-developers] NFC intent filters

2011-07-19 Thread Kev
Hi all, I have a simple NFC app to read a tag with a specified mineType (https://github.com/m00sey/Readie) I seem to be able to replicate some odd behavior When I launch the app, scan a tag - the read happens fine when I hit the 'home' button, rescan the tag 'sometimes' it fails to read the tag.

[android-developers] How to add grammar to default VoiceDialer App?

2011-07-19 Thread tody
I am trying to add a few commands to android default voicedialer app. It has commands like Open, dial, call, redial etc, I want to include lets say 'Find' to it. I have downloaded the source code from here and compiled it in Eclipse. the application sets up Grammar for arguments of these commands l

[android-developers] Background title in a PreferenceCategory

2011-07-19 Thread Elison Lusvardi
Hi guys! my first question here.. :) I'd like to know how I can change my background's title in a PreferenceCategory? I've been tried somethings but still not working. thanks guys! -- Elison José Gracite Lusvardi -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: AdSence Publisher ID and Android Developer Console

2011-07-19 Thread Eduardo Resende
Same bug here... 10 days and counting. On Jun 30, 11:20 pm, tallplay wrote: > Me too. Did anyone find the solution? > > On 6月30日, 上午5時00分, Roman G wrote: > > > > > > > > > I have the same issue, have you found a solution? > > > On May 24, 12:00 pm, Andre wrote: > > > > Has anyone encountered a

[android-developers] Re: HttpURLConnection gives FileNotFoundException

2011-07-19 Thread UnknownDocument
I think the url contains illegal characters like space (" "). You should encode the url via URLEncode.encode(yourUrl, "UTF-8"); That will solve the problem On 19 Jul., 20:21, "Mark S." wrote: > I have a very simple working Java PC program that I try to run on Android. > The code access a web serv

Re: [android-developers] Timer problem

2011-07-19 Thread Salih Selametoglu
ok. It have been solved. I used Runnable and Handler class. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-devel

[android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-19 Thread Nathan
On Jul 19, 9:19 pm, Adam Ratana wrote: > You want to use TYPE_MAGNETIC_FIELD this way, instead of GRAVITY.  GRAVITY I > haven't seen before but the accelerometer is actually a gravity sensor, so > I'm wondering if its the same data for each? It says: === Note: When the device is at rest, the ou

Re: [android-developers] Timer problem

2011-07-19 Thread Salih Selametoglu
i write code but not re-run. Only it once runs > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers

Re: [android-developers] Timer problem

2011-07-19 Thread Salih Selametoglu
i think i am writing wrong code -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegrou

[android-developers] Offline Installation

2011-07-19 Thread Najeeb Shaikh
Hi I am an developer with more than a decade of experience behind me in languages like C/C++, as well as Java and C#. I am trying my hand at Android now, and am a complete newbie in this area. To this end I am trying to set up the Android development environment on Eclipse on my Windows 7 system.

[android-developers] Re: Need help: errors using Market Licensing Library

2011-07-19 Thread Jim Graham
UPDATE: I checked for errors in LogCat. Last two messages from the License Checker are: "Received Response" and "Clearing timeout." On Tue, Jul 19, 2011 at 11:00:45PM -0500, Jim Graham wrote: > I'm using the Google Market Licensing Library. I installed it as > a library, and included that per

Re: [android-developers] Cannot identify widget.

2011-07-19 Thread Rex Vijayan
I have searched for a dialog, but there is no dialog in the entire file, relating to this issue. This happened when I added a notification dialog in the ConversationList.java under Messaging app. On Tue, Jul 19, 2011 at 6:49 PM, Kumar Bibek wrote: > Looks like a dialog > > *Thanks and Regards,

[android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-19 Thread Adam Ratana
You want to use TYPE_MAGNETIC_FIELD this way, instead of GRAVITY. GRAVITY I haven't seen before but the accelerometer is actually a gravity sensor, so I'm wondering if its the same data for each? Also down the line you will want to minimize the allocations in methods like this especially if t

[android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-19 Thread Nathan
You are getting gravity from the accelerometer and magnetic field from gravity. case Sensor.TYPE_ACCELEROMETER: { mGravity = event.values.clone(); break; } case Sensor.TYPE_GRAVITY: { mGeoma

[android-developers] Need help: errors using Market Licensing Library

2011-07-19 Thread Jim Graham
I'm using the Google Market Licensing Library. I installed it as a library, and included that per instructions in the dev guide into my app. I used cut and paste to add the code from the sample app into my main activity (adapting it for my Public Key and the SALT). It all builds with no errors.

[android-developers] live wallpaper

2011-07-19 Thread walid jlidi
i develop a livewallpaper application. so i want that the animation play in the foreground. how can i do this ? -- 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 unsu

[android-developers] Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-19 Thread animeshsi
I am binding to a service(which I have created by extending Service class) and just after it, I am calling function(s) provided by service interface. [Code Snippet at end for reference] But only after 15~20ms when the Service has been bound asynchronously, I am able to use the service interface to

[android-developers] Can someone tell me tips about developing a screensaver for Android

2011-07-19 Thread hy
Hi! guys! I am engaged in developing a screensaver for Android and I came cross some difficulties: The method I am now using is like this: 1. Start a service, where I register a BroadcastReceiver to listen to SCREEN_OFF event. 2.In the method onReceive() of the BroadcastReceiver, I start the scree

[android-developers] LocationManager - called very often when moving

2011-07-19 Thread Jan Nielsen
Hi, I am using this code to request updates. LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); mlocManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, delay * 60 * 1000, 25000, this); delay is a user defined value, but we can assume 1 for this pr

[android-developers] Re: Is there a way to acquire FULL_WAKE_LOCK in the native program?

2011-07-19 Thread sparq
Ok, thanks for your suggestion. On 7月19日, 下午8時26分, Mark Murphy wrote: > Questions regarding the NDK are best asked on the [android-ndk] Google Group. > > > > > > > > > > On Tue, Jul 19, 2011 at 2:41 AM, sparq wrote: > > Hello, > > > I develop an native program. But the program goes to sleep afte

[android-developers] Detecting app is pre-installed after it gets updated via android market

2011-07-19 Thread dan raaka
I have a app with versionCode=1, pre-installed on the device (ie. the app is placed under /system/app partition) Then I post an app updated, versionCode=2, on the android market and the user download the updates the app. So, the updated app on the device is located @ /data/app Under this scenario

[android-developers] Re: Android CL and onRetainNonConfigurationInstance

2011-07-19 Thread Zsolt Vasvari
Ok, thanks. On Jul 19, 8:45 pm, Mark Murphy wrote: > On Tue, Jul 19, 2011 at 5:32 AM, Zsolt Vasvari wrote: > > Am I missing something, or is it impossible to use > > onRetainNonConfigurationInstance() with a FragmentActivity? > > IIRC, yes. > > > If so, > > what can I do when I have some objects

Re: [android-developers] Re: How can I find how many home screens?

2011-07-19 Thread Dianne Hackborn
On Tue, Jul 19, 2011 at 3:04 PM, Hal Harrison wrote: > >You have at this point loaded a Drawable for the current static > wallpaper... > > but there is no up-to-date static wallpaper, because you have just > replaced > >it with your own wallpaper. Your wallpaper should absolutely positively > not

Re: [android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-19 Thread Carlos Silva
I'm really sorry to hijack your thread but I'm having problems with this new method of getting orientation. Here's my relevant code: // Sensor stuff private SensorManager mSensorManager; private Sensor mGravitySensor; private Sensor mAccelerometer; private Sensor mOrientationSen

[android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-19 Thread Nathan
On Jul 19, 4:14 pm, Adam Ratana wrote: > Hello Nathan, I actually use raw Accelerometer + Magnetometer data as > well as the deprecated Orientation sensor in my apps (they support > 2.1+) and I have yet to receive anything stating that the orientation > sensor was not available, perhaps I have be

[android-developers] Re: Bluetooth voice chat

2011-07-19 Thread gjs
http://developer.android.com/guide/topics/wireless/bluetooth.html On Jul 19, 6:04 pm, "kamal g.c" wrote: > I need to develop the Bluetooth functionality in my app, but no idea > that how to implement it, any guidelines and example from u will be > greatly helpfull. -- You received this message

[android-developers] Re: application is slow and xml file updated values is not getting correctly..

2011-07-19 Thread gjs
Hi, This forum is for *Android* development, looks like you are not doing that. Regards On Jul 19, 5:23 pm, senthil kumar wrote: > Hi, >   I am using jQuery mobile,javascript,HMTL,CSS and Phonegap. > When i run the application in the android mobile (sony ericsson > xperia) > the application is

[android-developers] Camera and Encoder related thread query

2011-07-19 Thread Ganesh
Dear Experts, In case of video recording, there would be 3 major players in the flow graph i.e. Camera Source, Encoder encapsulated as an OMXCodec component and MPEG4 Writer. I am referring to the one the latest versions of code from android GIT and I have this doubt. - Each of these components r

[android-developers] Re: Best practices on how to structure code for Free Vs Paid app ?

2011-07-19 Thread Adam Ratana
I think this is a good question actually, and would like to see anyone weigh in who has tried a few approaches. Assuming we are talking about a 1-time purchase type app. For example as TreKing has suggested, the majority of your code and resources can reside in a shared library project, I have d

[android-developers] Re: Compass and Sensor.Type_Orientation

2011-07-19 Thread Adam Ratana
Hello Nathan, I actually use raw Accelerometer + Magnetometer data as well as the deprecated Orientation sensor in my apps (they support 2.1+) and I have yet to receive anything stating that the orientation sensor was not available, perhaps I have been lucky. For example using the Orientation Sens

[android-developers] Re: Error with button clicklistener

2011-07-19 Thread Jeremy Dagorn
Can we see your code? On Jul 16, 4:12 pm, est2000 wrote: > when i try to set two button with two diffrent View.clicklistener ,the > app doesn't work > > i didn't find what is the reason of this -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Android 2.1 and background sensor sampling

2011-07-19 Thread Fred Niggle
Is it still the case that when the screen is off that sensor data cannot be collected in 2.1 and above? -- 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

[android-developers] Re: Accessibility on Motorola XOOM

2011-07-19 Thread AndroidDev
I used the virutal dpad of talkback application on Xoom with browser. The virtual dpad is practically useless for browsing. Also it is not rendered properly when the user rotates. I am not sure if the issue is HC or with talkback keyboard app. -- You received this message because you are subsc

Re: [android-developers] Re: HttpURLConnection gives FileNotFoundException

2011-07-19 Thread Streets Of Boston
Have you checked (debugged) that your method getPasswordAuthentication is actually called? It could be that some other 'default' Authenticator is set at the same time and yours is not being used at all. You could always check what goes over the wire. When testing your app in the Android emulato

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-19 Thread William Ferguson
Thanks teo2k, I can now build my apps again, albeit with an old version of the platform-tools. I created a very simple project that highlights the failure and raised a bug for this http://code.google.com/p/android/issues/detail?id=18659 BTW where did you find those links to the platform-tools?

[android-developers] Re: Webview out jump to anchor after loadData

2011-07-19 Thread SImplyG2010
Actually would this work webview.loadUrl("file:///android_asset/main.html" + "#" + anchor); Can I append a anchor to the end of a load url from an asset? On Jul 19, 11:00 pm, SImplyG2010 wrote: > Hi! > > I hope someone can help. Does anyone know if there is a way to get a > webview to automatic

Re: [android-developers] Posting on facebook through my Android APP

2011-07-19 Thread Carlos Silva
On Tue, Jul 19, 2011 at 21:33, Duygu Kahraman wrote: > I am working on an Android app where we enter some text in edit box > and all i want to do is simply send the text which typed (i.e.., > edittext.gettext()) to Facebook as my status. The important thing is > i > don't want a Facebook dialog bo

[android-developers] Re: How can I find how many home screens?

2011-07-19 Thread Hal Harrison
Rich, thanks for your notification. I was not aware that vertical scrolling already existed, and it does affect what I am doing. Dianne, thanks for the explanations. I definitely don't want complicated or fragile code. The getResources().getDisplayMetrics() works great, and WallpaprManager.getDesi

[android-developers] Webview out jump to anchor after loadData

2011-07-19 Thread SImplyG2010
Hi! I hope someone can help. Does anyone know if there is a way to get a webview to automatically jump to an anchor on a webview after the webview has been populated using loadData? I don't want the user to have to press a link in order to get it to jump you see I would like to just pass the ancho

Re: [android-developers] Re: HttpURLConnection gives FileNotFoundException

2011-07-19 Thread Mark Murphy
On Tue, Jul 19, 2011 at 5:44 PM, Mark S. wrote: > I provide user name and password in the standard way: > >   private class MyAuthenticator extends Authenticator { >     protected PasswordAuthentication getPasswordAuthentication() { >   return new PasswordAuthentication(userName, password.toCh

Re: [android-developers] Re: HttpURLConnection gives FileNotFoundException

2011-07-19 Thread Mark S.
I provide user name and password in the standard way: private class MyAuthenticator extends Authenticator { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(userName, password.toCharArray()); } } installing the instance by: Auth

[android-developers] Posting on facebook through my Android APP

2011-07-19 Thread Duygu Kahraman
I am working on an Android app where we enter some text in edit box and all i want to do is simply send the text which typed (i.e.., edittext.gettext()) to Facebook as my status. The important thing is i don't want a Facebook dialog box to pop up ...instead ,just send the message as status without

Re: [android-developers] Re: HttpURLConnection gives FileNotFoundException

2011-07-19 Thread Kostya Vasilyev
No, that's not true. In Unix, you need root to act as a server on a port below 1024. Connecting to an external server as a client does not require root, even for such ports. HTTP 401 means you need to supply credentials to the web server. http://en.wikipedia.org/wiki/List_of_HTTP_status_code

[android-developers] Re: HttpURLConnection gives FileNotFoundException

2011-07-19 Thread Streets Of Boston
It reaches the server alright. The server just tells you that you're unauthorized to access it. You probably need a proper user-name/password or a session (cookie). -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: HttpURLConnection gives FileNotFoundException

2011-07-19 Thread Mark S.
Further investigation provides some additional information on this topic: It appears to be a permission issue as also the initial send request operation fails. Without an exception however, but with the following status code from httpUrlConnection: 401 Unautorized Note: I *do *include INTERN

[android-developers] Re: Preferences not saved on Galaxy S?

2011-07-19 Thread Nathan
Wow, that sounds terrible. I guess I'll break the news to the customer. I doubt they have root. Nathan -- 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

[android-developers] ADT import bug

2011-07-19 Thread Matt
Hey all, I'm not sure exactly where this bug report belongs, but I just discovered a little bug upon trying to import an android project into Eclipse. If you try to import an existing project into the workspace, and it's your first ADT project, the welcome message pops up. The trouble is that be

Re: [android-developers] Re: how to distinguish app is running in emulator

2011-07-19 Thread Kostya Vasilyev
That's nice, thanks, will try it next time I need the emulator. 19.07.2011 23:47, String пишет: This is what I use: if (android.os.Build.PRODUCT.equals("google_sdk")) { -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

Re: [android-developers] Preferences not saved on Galaxy S?

2011-07-19 Thread Kostya Vasilyev
Yes, this came up a few months ago, and is an issue with their 2.2.1 series firmwares. Here is a description of how exactly it is broken: http://forum.xda-developers.com/showthread.php?t=978012 The fix is (assuming the customer has root, which is easy) is to uninstall the app, remove "/dbdata

[android-developers] Preferences not saved on Galaxy S?

2011-07-19 Thread Nathan
In conversing with a customer who has Samsung Galaxy S, it seemed apparent that preferences were not being saved, and he was being asked to set them up *every* time he runs the app. No device or emulator I have has done this. Does anyone know of something that would cause preferences to not work

[android-developers] Compass and Sensor.Type_Orientation

2011-07-19 Thread Nathan
I know there have been some previous posts on this question. Since Sensor.Type_Orientation has been deprecated, the right thing to do is call SensorManager.getOrientation() . I would note that the API Demos Compass still uses the Sensor.Type_Orientation, so it is no help in telling So far so goo

[android-developers] Re: how to distinguish app is running in emulator

2011-07-19 Thread String
Oops, posted too soon. :^P Anyway, that seems to work for me to detect the emulator at runtime. Anyone know of a reason why it might not? The only one I can think of is if some idiot has built a custom ROM that reports "google_sdk", but if they have, they deserve whatever they get. String --

[android-developers] Re: how to distinguish app is running in emulator

2011-07-19 Thread String
This is what I use: if (android.os.Build.PRODUCT.equals("google_sdk")) { -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Role of the Compatibility Library?

2011-07-19 Thread Mark Murphy
On Tue, Jul 19, 2011 at 3:40 PM, Ecthelion wrote: > +1 for ActionBar support in the compat library. ActionBarSherlock is > certainly nice, but for those who - like me - don't use Eclipse it is > not so good that it requires using a library project instead of a jar > library. You can use a library

[android-developers] Re: Role of the Compatibility Library?

2011-07-19 Thread Ecthelion
+1 for ActionBar support in the compat library. ActionBarSherlock is certainly nice, but for those who - like me - don't use Eclipse it is not so good that it requires using a library project instead of a jar library. On 16 Jul., 12:34, b0b wrote: > I would really like to see ActionBar support ad

[android-developers] Can't make program which support more screens

2011-07-19 Thread Zwiebel
I tried to make a layout-small folder. In it I made 3 xml files, with the exact name what I made in the "normal" layout file. I made drawables to the drawable-mdpi file too. With the same name as in the drawable-hdpi file. But if I see in Graphical Layout, with 3,2 HVGA screen and with WVGA 3,7(nex

Re: [android-developers] issue when viewing order history

2011-07-19 Thread TreKing
On Tue, Jul 19, 2011 at 1:16 PM, bob wrote: > Anyone else seeing this? Yes. http://www.google.com/search?q=Oops!%0AAn+error+occurred+while+retrieving+data+for+your+request.+Please+try%0Aagain.+If+the+error+persists%2C+please+contact+Google. http://www.google.com/support/forum/p/checkout-merch

[android-developers] HttpURLConnection gives FileNotFoundException

2011-07-19 Thread Mark S.
I have a very simple working Java PC program that I try to run on Android. The code access a web service with a simple SOAP call. I create the connection as follows: URL url = new URL("http://...";); URLConnection urlConnection = url.openConnection(); HttpURLConnection httpConn

[android-developers] issue when viewing order history

2011-07-19 Thread bob
I keep getting this error when I try to view orders in Google Checkout: Oops! An error occurred while retrieving data for your request. Please try again. If the error persists, please contact Google. Time when the error happened: 2011-07-19T18:06:48 (UTC) (4a86ffac5d909) Anyone else seeing this?

Re: [android-developers] Error with button clicklistener

2011-07-19 Thread TreKing
On Sat, Jul 16, 2011 at 6:12 PM, est2000 wrote: > when i try to set two button with two diffrent View.clicklistener ,the > app doesn't work > > i didn't find what is the reason of this > Would you like to define "app doesn't work" ... ? --

[android-developers] Re: Android and Google Maps

2011-07-19 Thread JCC
Did you added the Internet and GPS permission on the manifest? something like: On 18 jul, 23:57, kypriakos wrote: > Hi, > > I tried the link below - in fact it is fairly similar to the > Professional > Android book example ;) > > The app starts fine and it does display a map grid but no map. I

Re: [android-developers] Re: how to distinguish app is running in emulator

2011-07-19 Thread TreKing
On Tue, Jul 19, 2011 at 12:22 PM, kamiseq wrote: > ok, so there is no environment flag that im in "development mode"?? "development mode" != "in emulator" - TreKing

[android-developers] Re: how to distinguish app is running in emulator

2011-07-19 Thread kamiseq
ok, so there is no environment flag that im in "development mode"?? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to andro

Re: [android-developers] Re: Home Screen Widget: Start Programmatically

2011-07-19 Thread Mark Murphy
On Tue, Jul 19, 2011 at 1:13 PM, Glen Cook wrote: > I've found an intent for accomplishing this: > intent.setAction("com.android.launcher.action.INSTALL_SHORTCUT"); Any time you find yourself typing or pasting "com.android", understand that what you are doing is not documented, not supported, and

[android-developers] Re: Home Screen Widget: Start Programmatically

2011-07-19 Thread Glen Cook
Thanks Mark. Yes I was asking about doing an "auto start" But Installing a short-cut is an interesting alternative. (Noting your portability reservations) I've found an intent for accomplishing this: intent.setAction("com.android.launcher.action.INSTALL_SHORTCUT"); I'm now wondering if it is pos

Re: [android-developers] how to distinguish app is running in emulator

2011-07-19 Thread Kostya Vasilyev
I suppose you're talking about "the" emulator - one of those you've created yourself on your development system. In that case, just put a specially named file on the emulator's memory card, or even within the application's private data file space (to avoid adding the external storage permissio

Re: [android-developers] Updating adapters in fragments

2011-07-19 Thread Kostya Vasilyev
I'd recommend you subclass BaseAdapter instead of ArrayAdapter, as that will make more obvious what your code really does and does not do. -- Kostya 19.07.2011 20:01, crodgers пишет: Hm. Okay. I'll go back through my code. Thanks for the insight. -- You received this message because you are su

[android-developers] how to distinguish app is running in emulator

2011-07-19 Thread kamiseq
hej, I would like to have something in application I can tell that app is running in emulator or in existing device, something like system property I need to switch off/replace some functionality when app is running on emulator. such as callback for orientation listener - this will never be trigge

[android-developers] Restarting Camera.previewFrame after using MediaRecorder

2011-07-19 Thread thisnameagain
I wrote an application to record video that works fine, and I am able to use the Camera.PreviewCallback to view frames in onPreviewFrame. But, when I start recording video onPreviewFrame stops and I can not restart it. I know that when I setup the MediaRecorder instance it takes over control of th

Re: [android-developers] Re: Best way to support mobile app customers

2011-07-19 Thread Kostya Vasilyev
Contacting the developer (or not) is ultimately the user's decision, even for bug reports (ACRA or Market). Now if you make the email link really prominent, get ready for empty emails that will only say "Sent from my Verizon phone" and the like :) -- Kostya 19.07.2011 19:36, Atlan пишет: Tha

Re: [android-developers] Updating adapters in fragments

2011-07-19 Thread crodgers
Hm. Okay. I'll go back through my code. Thanks for the insight. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-

Re: [android-developers] i want to load my images after each 2second..Please help me

2011-07-19 Thread TreKing
On Tue, Jul 19, 2011 at 10:34 AM, N K Shrivastva < kumarnaveen.si...@gmail.com> wrote: > i want to load my images after each 2second..Please help me http://www.catb.org/~esr/faqs/smart-questions.html ---

[android-developers] Re: Best way to support mobile app customers

2011-07-19 Thread Atlan
Thanks, thats what I already did. But nobody is contacting me? From time to time a weird error occurs in my App (Which is only reported by Acra - does not come up in Android Market backend by the way...) I added the Acra-Error-Report-Dialog in the last version - hope I'll get feedback from my

[android-developers] i want to load my images after each 2second..Please help me

2011-07-19 Thread N K Shrivastva
Hello Android developer, i want to load my images after each 2second..Please help me -- 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, s

  1   2   3   >