Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-24 Thread Andrew Gregory
1300ms ahead sounds odd. If it was behind I'd say it was just a reporting delay as part of the usual message processing, but ahead is weird. It's not GPS, but if you have an Internet connection, what about querying an NTP server? -- You received this message because you are subscribed to the Goo

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread Andrew Gregory
I've not looked at the relevant Android API before, but I would imagine that if you get a GpsStatus object from the LocationManager, then check each satellite for hasAlmanac(), then you might be more likely to have the correct GPS/UTC offset. It is still possible to have received the almanac data f

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread Andrew Gregory
any comms protocol that includes this info, not NMEA, not SiRF. Android limits your options. There is simply no way to be *sure*. The best I could come up with was listening to the raw data, but you can't do that on Android. -- Andrew -- You received this message because you are subscribed t

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread Andrew Gregory
, there is no way of doing that on Android, so for truly accurate times your best bet is to leave the GPS on for 12.5 minutes before reading the time, and hope that it has successfully received the clock correction. -- Andrew -- You received this message because you are subscribed to the Go

[android-developers] Slide to Unlock Causing 'Freeze'

2012-04-02 Thread Andrew
test for these things? Thanks! I've googled around and found literally no mention of similar problems, so I'm stumped. -- Andrew G -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Re: Developing from android device

2012-03-25 Thread Andrew Demidenko
thanks! On Sunday, March 25, 2012 1:08:52 PM UTC+6, Andrew Demidenko wrote: > > hi guys. > is there any way to develop (compile and then run) android applications > from android device. > for example, i haven't got laptop or any other mobility pc and i want to > implem

[android-developers] Developing from android device

2012-03-25 Thread Andrew Demidenko
hi guys. is there any way to develop (compile and then run) android applications from android device. for example, i haven't got laptop or any other mobility pc and i want to implement some feature for my application while busyness trip. Can i do it from my android device? -- You received this

Re: [android-developers] OpenGL ES 2 support in emulator?

2012-03-23 Thread Andrew Demidenko
demo of the emulator running with x86 > and OpenGL ES 2.0 at the GDC in San Francisco a couple of weeks ago. > > On Thu, Mar 22, 2012 at 5:56 AM, Andrew Demidenko > wrote: > > any news? > > > > On Saturday, May 21, 2011 3:22:53 AM UTC+6, David Turner wrote: > >

Re: [android-developers] OpenGL ES 2 support in emulator?

2012-03-23 Thread Andrew Demidenko
any news? On Saturday, May 21, 2011 3:22:53 AM UTC+6, David Turner wrote: > > > > On Fri, May 20, 2011 at 6:07 PM, Thomas wrote: > >> I'm wondering if Google has any plans to include OpenGL ES 2 support >> in the Android emulator at some point in the future? > > > Yes, we're working on it. No ETA

[android-developers] Building for 2.2, Styling for 4.0

2012-02-15 Thread Andrew
Hey folks, I'm planning on writing an app and building against 2.2 Froyo (API Level 8). However, I want app users of 4.0 ICS to experience the app with the ICS user interface. Currently my approach is to have the default activity of my app sense the version of the Android device. If it is less t

Re: [android-developers] Re: Partial invalidation in custom Android view with hardware acceleration

2012-01-25 Thread Andrew Hughes
roper implementation (and I would love to understand it better!). My gut wants to use a bitmap cache, but you made it sound like with the hardware acceleration pipeline you shouldn't have to? Thanks, Andrew On Sat, Jan 21, 2012 at 12:14 PM, Andrew Hughes wrote: > Thanks. > > It does

Re: [android-developers] Re: Partial invalidation in custom Android view with hardware acceleration

2012-01-21 Thread Andrew Hughes
ty region in onDraw() (with hardware acceleration enabled) but then I was *only* seeing the dirty region being drawn each time...as if the Canvas was being cleared by the framework each time (that's what I meant by a "blank Canvas" in one of my previous posts). Thanks, Andrew On Fri,

Re: [android-developers] Re: Partial invalidation in custom Android view with hardware acceleration

2012-01-20 Thread Andrew Hughes
ration so I can take advantage of the rendering framework and not have overlapping or parent/child View's invalidated as well, while still only invalidating and updating part of my View using a Bitmap cache? (Please let me know if there's still something I'm not understanding correctly

Re: [android-developers] Re: Partial invalidation in custom Android view with hardware acceleration

2012-01-20 Thread Andrew Hughes
I am misunderstanding? Thanks, Andrew On Fri, Jan 20, 2012 at 12:55 PM, Romain Guy wrote: > invalidate(Rect) works just fine with hardware acceleration. What it > does not do (and what it was never documented to do) is force parents > of the invalidated View to re-executed their draw() meth

[android-developers] Gallery Intent to pick image --- Picasa-based images are invalid (Android 4.0+)

2012-01-04 Thread Andrew
Hello, I'm trying to launch a Gallery Intent to allow the user to select an image. The issue is that the code works on 2.x but fails occasionally on 4.x (I haven't tested 3.x). I've narrowed it down to issues specific to Picasa-sourced images. For example, from my google+ posts (still in the Galle

[android-developers] Re: 4.0 Action Bar - remove app title.

2011-12-20 Thread Andrew
hmm, can't you just do SetTitle("") on the ActionBar? On Dec 19, 1:56 pm, Nathan wrote: > I looked here, but I didn't find it. I could have missed it: > > http://developer.android.com/intl/de/guide/topics/ui/actionbar.html > > In ICS, they can't display my entire app name anyway. > > I'd like to

[android-developers] Split Action Bar - Action Item disappear in landscape mode

2011-12-20 Thread Andrew
have "always" set for showAsAction. Is this the expected behavior? I was expecting all the actions on the split action bar to appear at the top action bar when in landscape mode. Thanks, Andrew -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Android telephony - SMS

2011-12-01 Thread Andrew
RP layer) values like destination address, smsc addressI'm newbie in Android programming so if I can advise me some program/tutorial/code where I can change sm-RP-OA I will be very grateful... THANKS Andrew -- You received this message because you are subscribed to the Google Groups &qu

Re: [android-developers] Re: ICS Active Stylus/Pen Support

2011-11-14 Thread Andrew Hughes
ally know what an active pen is, even if they don't have one). All that said, I had not considered iterating through the current input devices using getDeviceIds(). This should help a lot, so thank you Diane for that suggestion. Andrew On Fri, Nov 11, 2011 at 5:14 PM, Dianne Hackborn wrote:

Re: [android-developers] ICS Active Stylus/Pen Support

2011-10-25 Thread Andrew Hughes
So there's no way to even programmatically check if a devices supports the pen? Are there plans to add this capability? It would be really useful to know this. Active pens allow for an alternative workflow (not just a more precise, pressure sensitive input device) due to their ability to have side

Re: [android-developers] Re: DisplayMetrics xdpi and ydpi returning incorrect values

2011-10-25 Thread Andrew Hughes
Alright. Thank you. I'm not sure if it's something that could be enforced by the CTS, but it would be nice if it was :) I want to be able to draw things in real world units (such as a measurement ruler or lines of binder paper that are *actually* college or wide ruled, etc). Do you have any sugges

[android-developers] Any way to clear all message notifications in actual messaging app, without reading them

2011-10-12 Thread Andrew CrushFitness
Any way to clear all message notifications at once in actual messaging app, without reading them. I would like to remove the number signaling in the stock messaging app so I don't have to click on each individual text to dismiss the notifications. If there is a better forum please redirect. I have

[android-developers] Re: Unable to instantiate application

2011-09-22 Thread Andrew
Is there anyone who met this issue? On Sep 22, 1:32 pm, Andrew wrote: > I got an exception from Android Market recently for many times. I > tested my application on several devices, and cannot reproduce this > exception. I have no idea about that.

[android-developers] Unable to instantiate application

2011-09-21 Thread Andrew
I got an exception from Android Market recently for many times. I tested my application on several devices, and cannot reproduce this exception. I have no idea about that. Need help! ---

[android-developers] Re: Is it possible to give gradient effect using code?

2011-08-29 Thread Andrew Pierce
Use a GradientDrawable: int[] colors = new int[] { 0xFFB3ADAD, 0xFF858080 }; GradientDrawable drawable = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, colors); drawable.setShape(GradientDrawable.RECTANGLE); drawable.setGradientType(GradientDrawable.LINEAR_GRADIENT); On Aug 25, 7:2

Re: [android-developers] Re: about Async Task

2011-08-18 Thread Andrew Pittman
Yes, usually AsyncTask is only able to be run once. Restarting the same task may give you a little trouble though due to this. If you have something that needs to run over and over again I would suggest that you look into starting a service and loop the task you need to keep running in its own thre

Re: [android-developers] Hey need a help

2011-08-18 Thread Andrew Pittman
To end an app without the use of the back button you could try to go into your app drawer and select settings->applications->manage applications and from there you can chose to see what apps are running and then select them and make them force close or even uninstall. On Thu, Aug 18, 2011 at 1:41

Re: [android-developers] Help!!!

2011-08-18 Thread Andrew Pittman
Are you trying to pause a media player that you have created, or are you trying to pause any media player that may be running or started by another application? On Thu, Aug 18, 2011 at 8:27 AM, oliverorav wrote: > I'm making an application and I want to know how to pause Android's > default musi

Re: [android-developers] App working on 2 phones and emulator but not on other phones

2011-08-17 Thread Andrew Pittman
I have no logcat for the devices that it does not work on. Program works on the emulator so the logcat does not show anything. I do not have the app on the market yet so I am not getting any debugging data from the Optimus V or the Galaxy S. Would the logcat from the emulator tell whats going on? I

[android-developers] Re: How to set the color of listView unused area in 2.3.3

2011-07-24 Thread andrew
Are you sure that area is part of your listview, and not the layout that contains it due to the list view height being determined by it's contents? I.e. I am not sure listview has any "unused area" If so, change the background color of layout containing the list view to match the list view color.

[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] Android stock "Email" client will not send HTML email like GMail client

2011-07-08 Thread andrew
In my app I am sending an html email using this code i.setType( "message/rfc822" ); // I have also tried using text/ html and text/plain and text/message with no luck i.putExtra( Intent.EXTRA_SUBJECT, so.getSubject() ); i.putExtra( Intent.EXTRA_TEXT, Html.fromHtml( html here ) ); When the u

[android-developers] How to have second launcher always open the application at specified activity

2011-07-05 Thread andrew
In my application, I have specified a second activity that can be launched form the launcher, using this manifest entry: Let's say I have the app open at the "main" activity then press the home key. It

Re: [android-developers] Re: Can't show AlertDialog

2011-06-26 Thread Andrew Gregory
OK, thanks for that. I'll leave the managed dialog as-is. Thanks to everyone who replied here and directly to me. Andrew On 26 Jun 2011 14:32, "TreKing" wrote: > On Sat, Jun 25, 2011 at 7:56 PM, andrewg_oz wrote: > >> It seems, >> though, that calling show() pau

Re: [android-developers] Re: Integrating ACRA

2011-06-24 Thread Andrew Gregory
I'm not at my pc right now, so I can't check, but have you added the acra jar to the build path? It's in the instructions, so perhaps you missed that bit? Andrew On 24 Jun 2011 19:40, "Raghav Sood" wrote: > Thanks. > > I did look at there example code. As far

[android-developers] Re: NFC: NDEF messages

2011-06-10 Thread andrew
I think with Google "Tags" app it only readd one Ndef message (one smart poster with url) - tbc Also many tags are small and it might be tough to get two messages on them... If you host the apk or have a url on your server that has a link or redirects to the apk in the market, then if you form th

[android-developers] Android Proguard - how to keep onClick handlers only referenced from XML layouts

2011-06-09 Thread andrew
In my Android app I ofter don't create a View's on-click handler in code, but rely on the ability to specify it in the XML layout file, like this: And then have the method in the Activity like this: public void onSearchClicked( View v ) { } Meaning there is no reference to t

[android-developers] Password protect app for private beta on Android market

2011-05-30 Thread Andrew
I thought I read somewhere that it was possible to password protect an app on Android Market and use this as a way to run a private Beta of your app, but using Android for distribution and update. I have prepared an app for publishing, and explored all the documentation I could find, plus the Deve

[android-developers] SQLite DataStorage write frequency?

2011-05-30 Thread Andrew Pamment
orried it would reduce the life of the internal storage, on the other hand it would be good if it saved the data should the battery run out mid game. So I'm thinking I should make it autosave every X amount of time, I'm just not sure what a reasonable value for X is. Thanks, Andrew --

[android-developers] Re: Reference an integer resource for Android manifest versionCode

2011-05-23 Thread andrew
Conclusion, in case of use for others: I have my own ant build file that calculates and sets the "version.code" property used by the standard Android build, from SVN Info of the working-version/revision/tag. (for anyone interested in this, let me know). I invoke this ant target from the "-pre-buil

[android-developers] Performance gains using final Java construct

2011-05-21 Thread andrew
I was exploring performance recommendations on Android and read this page: http://developer.android.com/guide/practices/design/performance.html I note that it only partially covers use of the "final" Java construct (specifically for constants), which is covered in generic Java discussions on perfo

[android-developers] Re: Reference an integer resource for Android manifest versionCode

2011-05-17 Thread Andrew
Reading build.xml it suggests copying the targets from mail_rules.xml (found in $android_home/tools/ant) into build.xml. Reading mail_rules.xml it seemed I can define a property called "version.code" in my build before main_rules.xml defines it (properties can only be written once in ant) and mayb

[android-developers] Re: Reference an integer resource for Android manifest versionCode

2011-05-17 Thread andrew
On May 16, 9:12 pm, Dianne Hackborn wrote: > You can use --version-name and --version-code arguments to aapt to supply > these values at build time. Thanks for the hint Diane. Should I understand that that means I cannot reference the Integer resource I generate for versionCode in the manifest?

Re: [android-developers] Re: WebView and geolocation questions

2011-05-16 Thread Andrew
I guess this is an old post. The follow up is that it was a problem with the specific device that I was testing on. I got a new device and the problem is a non-issue. On Apr 24, 2011 4:07 PM, "Moose" wrote: > I just tried using phonegap as a front for it, however I have exactly the > same problem.

[android-developers] Reference an integer resource for Android manifest versionCode

2011-05-16 Thread andrew
In my Android app I: - generate an incrementing build number (integer) using a script as part of my build (uses Integer from SVN revision) - I generate an Android resource file with it defined as an integer: 399 - I show that on the UI using the resource generated above - I reference the integer

[android-developers] Re: NFC Mifare Ultralight Tag write error

2011-05-16 Thread andrew
I have a similar case, and I think I know why it happens, even if the API is not ideal for handling it: If could be that your tag already has data written to it and that data is locked or write-protected. This happens in a tag I have that is a 1K tag, but I cannot write a small Ndef to it. I susp

Re: [android-developers] How did you get into Android development

2011-05-14 Thread Andrew Gregory
Apart from the obvious of starting your own app from scratch, you could try searching for an open source Android project and fix some bugs or add a feature. Andrew On 15 May 2011 11:19, "Adam Ratana" wrote: > This is a great thread. I'd like to add to the below points: >

[android-developers] Re: Android renders RGB values wrong.

2011-05-02 Thread Andrew Huang
Another way is to make your images have 256 color at most. You can do this in Gimp by changing the mode to indexed in the image menu, and setting the maximum color. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Android renders RGB values wrong.

2011-05-02 Thread Andrew Huang
Actually that didn't went well. I downsampled my images to 256 colors in gimp, and they displayed correctly afterwards. Even 4096 colors was giving me trouble. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: Starting An Android App From An Url

2011-05-02 Thread andrew
w us to specify a url filter for the http scheme. so there is no way to specify a link that will work on both platforms? Aaaarrrggg Andrew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Send an email in Android selecting only email apps AND specifying attachment mime type

2011-04-30 Thread andrew
In my Android App I send email messages with images attached. Using the Intent system to send it, I can do one of the following two things: 1) Specify type as "message/rfc822" so that ONLY email applications are shown in the Chooser. Inconvenience: I cannot specify the mime type of the image I a

[android-developers] Re: Android renders RGB values wrong.

2011-04-29 Thread Andrew Huang
I gave up trying to solve the problem. My current solution is to use a small patch of the color that I want to use as the background to make a tiled background. On Apr 26, 5:38 pm, Mark Wyszomierski wrote: > >> Not all devices use 24-bit color buffers. Some are 16-bit > > Good point. I saw this o

[android-developers] not legal to write files using the instrumentation context for an InstrumentationTestCase?

2011-04-27 Thread Andrew Ball
I get a NullPointerException when I try to invoke openFileOutput() on the instrumentation context for an InstrumentationTestCase. Is this by design? I am able to use the target context. public class ImageUtilTest extends InstrumentationTestCase { /** the instrumentation context */ private Co

[android-developers] why are images automatically scaled down on high density screens with BitmapDrawable(String filepath)

2011-04-27 Thread Andrew Ball
I've noticed that when working with a high density device, BitmapDrawable(String) automatically scales a bitmap down by a factor of 160/240. I'm able to get the bitmap to not be scaled by using BitmapDrawable(Context, String), but I don't understand why the image would be automatically scaled *dow

Re: [android-developers] Re: Geo Location and webview

2011-04-21 Thread Andrew
So after further looking exhaustive searching I found a question on stackoverflow that kind of answered my question. I slightly adapted the code. The web page loads fine and logcat gives no erros, however after a delay, a message pops up (for maps.google.ca) that says "Your location could not be de

Re: [android-developers] Re: Compiling Android Source

2011-04-20 Thread Andrew
I just commented out the line. It didn't make a difference as far as I can tell. I may go back and change it though. On Apr 20, 2011 10:42 PM, "Edison" wrote: > I looked into the ADW Launcher donut version, > It simply change SearchManager.SOURCE to "source". > > > On Apr 13, 3:11 pm, Moose wrote

[android-developers] Android renders RGB values wrong.

2011-04-20 Thread Andrew Huang
Specify a RGB, i.e, #ff292728. Use the a Color Meter tool on Windows or Mac to sample the color in the Layout Preview screen. You'll see that it renders the correct value of 292728. Sampling the same color in the emulator would return a different value, #282329. This is causing us some seriou

Re: [android-developers] Re: Emulator is crashing a lot

2011-04-11 Thread Andrew Crichton
Well, I don't have problems with any of the other emulators at all, so I can't think of a reason for my system to be the problem. I would be interested to hear how you fair running the 3.0 emulator. -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: Emulator is crashing a lot

2011-04-11 Thread Andrew
I have also been experiencing issues with the honeycomb emulator (Ubuntu 10.10). I am just hoping that the source gets released soon so I can build it from scratch and load that image into the emulator... In the mean time, I suggest using 2.2 or 2.3 for developing, then move it over once the 3.

Re: [android-developers] Re: Compiling Android Source

2011-04-11 Thread Andrew
And actually, those errors are the same as the ones I was getting when compiling the AOSP. It could be the problem with it was just the additional package it was trying to build that had an error. I will try compiling the AOSP version without the problematic package and see if it makes a differ

Re: [android-developers] Re: Compiling Android Source

2011-04-11 Thread Andrew
Thanks for that suggestion. I downloaded and compiled Cyanogenmod's tree and it compiled the first time no problem. Now when compiling the application I am trying to test and modify (ADWLauncher), I get the following errors packages/apps/android_packages_apps_Launcher/gen/com/android/launcher/Ma

[android-developers] Re: Compiling Android Source

2011-04-10 Thread Andrew
Yes, I did install all of the items from that website. (That is the tutorial I used to set it up initially). There error with make -j4 seams to have fixed itself - whether it was downloading a fresh repo or installing the extra libraries or both, I don't know I left it running before I hit the

Re: [android-developers] Compiling Android Source

2011-04-09 Thread Andrew
Well that does make more sense. I guess the point at which lunch stopped working was when I restarted the shell. So I then when and installed lunch, which then overrode and use of the lunch script from then on. Any thoughts on the linking error when compiling using -j4? (That being said, having

[android-developers] Compiling Android Source

2011-04-09 Thread Andrew
ge portion of the work is linking and not actual compiling). Addititonally, while I was able to run 'lunch' the first few times, it seems to have broken since, and now when I run lunch it says: Using lunch master without the GUI. No such file: /home/andrew/.lunchrc. I have redownlo

[android-developers] Simple BroadcastReceiver

2011-04-04 Thread Andrew
I was trying to register a broadcastreceiver with the code below but I always get a null when I return from registerReceiver. public class ReceiverTest extends Activity { private IntentFilter intentFilter = new IntentFilter(Intent.ACTION_CAMERA_BUTTON); private BroadcastReceiver r

Re: [android-developers] Unique Random numbers

2011-03-29 Thread Andrew Gregory
n used as a random number generator at times), but doesn't repeat until the entire sequence has been used (maximal length). -- Andrew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] holographic theme without building against Android 3.0

2011-03-28 Thread Andrew Ball
""" Is it even possible to build an app against a different API than the target API? Isn't it necessary to target Android 3.0 (SDK 11) to get a holographic theme in the first place? Thanks for your help, Andrew -- You received this message because you are subscribed to the Goo

[android-developers] Re: Compare MonkeyImage

2011-03-01 Thread Andrew W. Hill
I know this is an old thread, but I was wondering if MonkeyRunner has the capability to read screenshots from the file system yet. I couldn't find any info on it. Cheers, Andrew On Feb 15, 4:11 pm, Bill Napier wrote: > Hi Christopher, > > Being able to load an image into MonkeyR

[android-developers] Difficulty updating Android SDK

2011-02-25 Thread Andrew
I've updated my installation of the SDK. Doing this moves the "adb" executable from the "tools" folder to the "platform-tools" folder. This breaks my Android Eclipse plugin because the plugin is hard coded to look for adb in the "tools" folder. No problem. I'll update my Android Eclipse plugin...

Re: [android-developers] Custom Dialogs with big messages

2011-02-16 Thread Andrew Gregory
ndroid:layout_height="fill_parent"> It isn't *exactly* what I wanted (which was for the "id/comments" TextView to shrink when there was less text), but it's now as close as makes no difference. Thanks for your help - the layout is much better now. -- Andrew

Re: [android-developers] Custom Dialogs with big messages

2011-02-15 Thread Andrew Gregory
ot;top down". Once the TextView has been sized, it won't be shrunk to allow the RelativeLayout to fit. At least I just haven't been able to get a working "flexy-size" view anywhere other than as the last view. Maybe there's some magic in the layouts somewhere, but

[android-developers] OnSensorChanged not working in standby even with Partial Wakelock

2011-02-15 Thread Andrew
Hi I have a HTC Desire with Android 2.2 firmware on it. I'm developing an app that needs to use the accelerometer when the phone screen turns off. I realise that this can't be done in standby as the CPU turns off, but using a partial wakelock keeps the CPU running. But as soon as the screen turns o

[android-developers] Re: NFC default app - thoughts?

2011-02-07 Thread andrew
TopTunniste for tags for example On Feb 7, 10:09 pm, Mark Murphy wrote: > Have you examined an Intent sent out when an NFC tag is encountered? > Perhaps the path is part of the Intent and can be filtered upon with > the element in your . > > Touchatag is sold out of their kits -- anyone know wh

[android-developers] Re: Battery usage indicator

2011-01-28 Thread Evan Andrew Williams
Yes, I second this post. Battery usage is a huge concern of mine as I want to learn to program games, and I don't want my games draining a phone in 2 hours like Dungeon Defenders can. On Jan 26, 2:00 am, Dillon Yang wrote: > Are their currently any API's that can allow developers to track what >

[android-developers] Re: need help for screen rotation

2011-01-27 Thread Andrew Prunicki
Rotation causes a complete teardown and recreate of your Activity, as you have already learned. So here are some options to consider: - overide onSaveInstanceState(), and place your info into a Bundle, and pull it back out in onCreate() - Application instance (android.app.Application) - Singl

[android-developers] Re: NFC a viable sync mechanism?

2011-01-25 Thread andrew
e maintaining a fast and intuitive user interaction. So: - use other NFC device - wait for API support - start hacking android as mentioned Let us know how it goes Andrew On Jan 26, 5:24 am, Zsolt Vasvari wrote: > Thanks.  What's missing from the Android SDK? > > Does anybody

[android-developers] Re: startActivity with Intent - currently murderous intent :-(

2011-01-24 Thread Andrew Whalen
again parentActivity.finish(); } }); It will also work if you make parentActivity a global variable (if it is global, then you do not need to make it final). -Andrew On Jan 21, 1:29 pm, LenseOnLife wrote: > Hi, > > Please bear with me, I am

[android-developers] Re: NFC Intents: Reacting on specific NDEF types

2011-01-18 Thread andrew
Hi Dianne, all dialog is good. I wonder if could bring our needs/ideas to the attention of who does has the NFC area? There is a community of NFC developers out there who have years of experience (mainly on J2ME) with NFC using the Contactless JSR. They are familiar with how it works, its positi

[android-developers] Re: NFC doubts. JSR 257 - 177

2011-01-18 Thread andrew
I think question #2 refers to a problem with NFC PushRegistry and Tag reading on the current J2ME NFC Phones like the Samsung. In those devices, an application can be automatically started by the phone on a tag (PushRegistry), and that event arrives to the Midlet via the Contactless API BUT...

[android-developers] Re: NFC Intents: Reacting on specific NDEF types

2011-01-18 Thread andrew
It looks like Google should evolve the Intent and Intent Filter methods of Android to cover some of that useful PushRegistry functionality, so that you can only listen for particular NDEF message types, including custom defined "external_rtd" methods. As the standard RTD's are MIME type based (vCa

[android-developers] Re: NFC Intents: Reacting on specific NDEF types

2011-01-17 Thread andrew
I think he only wants his activity started by the NFC intent, if the tag has a specific type of indefinite message. I.e. he wants to be able to specify an intent filter for his activity by indefinite message type and not be started on all tag discoveries. On Jan 18, 4:19 am, Ajith Kamath wrote:

[android-developers] Re: Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error

2011-01-16 Thread Andrew Smith
wrote: > That not a solution or even a band aid:  I absolutely wouldn't want my > app to be installed on the SD card by default due to its use of > widgets and it being a BOOT_COMPLETED receiver. > > On Jan 17, 8:55 am, Andrew Smith wrote: > > > The INSTALL_FAILED_INSU

[android-developers] Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error

2011-01-16 Thread Andrew Smith
The INSTALL_FAILED_INSUFFICIENT_STORAGE error is the bane of every Android developer's life. It happens regardless of app size, or how much storage is available. Rebooting the target device fixes the problem briefly, but it soon comes back. There are hundreds (if not thousands) of message board pos

[android-developers] Re: Depth buffer issue: Advice for anyone experiencing problem

2011-01-16 Thread Andrew Smith
genpfault on StackOverflow.com pointed out that you need to use a value of 65536 with glClearDepthx to get the result you expect from a value of 1. I have confirmed that this is correct. So this is more a case of incorrect documentation, rather than a bug as such. -- You received this message bec

[android-developers] Depth buffer issue: Advice for anyone experiencing problem

2011-01-15 Thread Andrew Smith
I've wasted around 30 hours this week writing and re-writing code, believing that I had misunderstood how the OpenGL depth buffer works. Everything I tried, failed. I have now resolved my problem by finding what may be an error in the Android implementation of OpenGL. See this API entry: http://w

[android-developers] Seeking experiences doing mobile/sync of lists using syncML or other

2011-01-12 Thread andrew
fined list of things, not contacts calendar)? Any recommendations for libraries (tolerant, Apache-style license)? thanks in advance. Andrew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

Re: [android-developers] Question About GPS while on the phone

2011-01-11 Thread Andrew Brampton
>From what I understand, AT&T uses GSM and Verizon uses CDMA, which are different technologies. So it is some what carrier specific only because each US carrier offers a different technology. Andrew On 11 January 2011 14:50, Tommy wrote: > Very cool. That makes sense. > > Are y

[android-developers] Re: EditText not able to regain focus.

2010-12-26 Thread Andrew
hen > automatically that textbox is chaged according to check box > > > > > > > > > > On Mon, Dec 27, 2010 at 11:13 AM, Andrew wrote: > > if (isChecked) { > >                editText.setFocusable(false); > >                editText.setEnabled(false); > >

[android-developers] EditText not able to regain focus.

2010-12-26 Thread Andrew
if (isChecked) { editText.setFocusable(false); editText.setEnabled(false); } else { editText.setEnabled(true); editText.setFocusable(true); } So this is called after a checkbox is clicked on. When it's checked the textbox

[android-developers] Android Referral Tracking not working

2010-12-21 Thread Andrew
I am attempting to get Android Referral tracking to work. I am following the only documentation I have found here http://code.google.com/mobile/analytics/docs/android/#referrals I have the following in my android manifest file

[android-developers] Withdraw Eclipse bug question

2010-10-28 Thread Andrew Smith
inally basic coding error. Basically I had a class definition that was creating an object of that class, which in turn created another, etc, etc. I'm afraid the crashing was nothing more mysterious than a stack overflow. I bow my head in shame! Thank you, Andrew -- You received this message bec

[android-developers] Eclipse bug cripples Android app?

2010-10-28 Thread Andrew Smith
Dear all, First time posting here, and I write in severe desperation! :-) I'm using Eclipse. Today I made an error when adding a class to my project. Instead of creating a file called ClassName.java I created it as ClassName. So I deleted it, created ClassName.java and wrote the code. When I laun

[android-developers] Gallery Cache

2010-10-25 Thread Andrew Whalen
Hi, I'm trying to add pictures to a folder and have that folder viewable in the Gallery app. I've been able to do so, but if I add or remove an image in the folder, it will not be updated in the Gallery unless I reset the device. I was wondering if there was a way to force the Gallery to update th

[android-developers] Android 2.1 Source

2010-10-14 Thread Andrew Whalen
Hi, is there any where that I am able to download the source of 2.1? All I've been able to find is 2.2. Thanks. -- 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] Boot Animation Sound (2.1)

2010-10-13 Thread Andrew Whalen
I have figured out how to modify the bootanimation by placing bootanimation.zip in data/local/ but I was wondering if there is any way of including sound with this animation. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] USB communication

2010-10-11 Thread Andrew Whalen
Is there anyway to communicate with a PC application over the USB connection? (Without using adb, I would rather not have to rely on the user having USB debugging on) Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] USB and Android

2010-10-06 Thread Andrew Whalen
Is there any way to allow communication between a program on a PC and an app on the Android through USB? I've notied some apps can sync through USB so I figure there must be a way. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

Re: [android-developers] settings - is this a ListView ?

2010-09-29 Thread Andrew Brampton
This is a ListView, as it is quite easy to have every row different. But in fact that Activity is most likely a PreferenceActivity[1] that takes a lot of the hassle out of creating a ListView and simplifies handling preferences. Andrew [1] http://developer.android.com/reference/android

[android-developers] Two problems with SeekBars, one with ListViews, and one inside a PreferenceActivity

2010-09-20 Thread Andrew Brampton
have not been able to figure out why the ListView is detaching the SeekBar's view, and this does not seem to happen in my simple ListView case. I will continue to debug the problem and generate a simple test case others can use, but I thought I better ask. thanks for any help on either problems A

[android-developers] Tiled Bitmap sometimes doesn't tile...

2010-09-10 Thread Andrew n marshall
I'm trying to use the following layered drawable: http://schemas.android.com/apk/res/android";> It is a semi-transparent gradient over a tile. However, on some occasions the tile layer doesn't tile. Instead I see the gradient image streched over the

<    1   2   3   4   5   >