Re: [android-developers] BANNING APPS ON PURPOSE

2014-12-31 Thread Todd Grigsby
from now on though, you've got two ways to ensure payment. first, put a drop dead date in so it stops working after a certain point in time. once they pay you in full, they get the brain with the drop dead date disabled. second, get paid up front or don't do the work. On Dec 31, 2014 9:08 AM,

Re: [android-developers] How to implement app specific VPN

2014-09-24 Thread Todd Grigsby
Sounds like you want to pass secure data. Why not just encrypt the data? On Sep 24, 2014 4:29 AM, sree android android.sreeni...@gmail.com wrote: Hi, In my application, i need to implement application specific VPN and that VPN data should not modify the user.How can i implement this feature

Re: [android-developers] Android : How to recognize MICR codes

2014-08-13 Thread Todd Grigsby
My advice: pay for Leadtools. On Aug 13, 2014 5:30 AM, Juned Khan jkhan6...@gmail.com wrote: Since last few days I am trying to find the way to OCR the MICR codes from document. for that I used Tesseract https://github.com/rmtheis/tess-two library, Using this I got success in recognizing texts

Re: [android-developers] How to query a string from a specific library project?

2014-03-18 Thread Todd Grigsby
You're making your life way too hard. Treking is right. Define two string names. On Feb 19, 2014 12:32 PM, sushant sharma sushant...@gmail.com wrote: I have an android project A which imports another android project B. B is a library project and has some strings. I intentionally keep a

Re: [android-developers] getVoiceMessageCount?

2013-05-02 Thread Todd Grigsby
Does the version of the source you're looking at match the version you're compiling against? On Apr 30, 2013 12:37 AM, steveg1...@gmail.com wrote: I am trying to get the number of voicemails on an Android using TelephonyManager, seems it should be easy enough using the getVoiceMessageCount()

Re: [android-developers] how can i delete data from item listview android ?plz help

2013-05-02 Thread Todd Grigsby
Delete the item from the container behind the adapter and then notify the adapter that the list has changed. On Apr 30, 2013 12:37 AM, Maka ahmed thuglive...@gmail.com wrote: -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: javax.crypto.BadPaddingException: pad block corrupted

2013-04-16 Thread Todd Grigsby
If you want a consistent experience across platforms I would recommend Chilkat. That's what we use and it makes encryption so much easier. On Apr 4, 2013 11:58 PM, Hiren Dabhi hrdabhi3...@gmail.com wrote: i don't know the encryption-decryption, you can try to change the last line for decrypt

Re: [android-developers] Development on platform?

2013-04-01 Thread Todd Grigsby
The only thing I use the emulator for at this point is screen shots. I do all my debugging against devices. On Mar 31, 2013 7:58 PM, Marty Rehder martyg...@gmail.com wrote: Just curious as to how many people actually develop Android codes on an Android device. Is is feasible to try and do any

Re: [android-developers] database question

2013-01-16 Thread Todd Grigsby
Before you adopt SQLite, I recommend you research its limitations. On Jan 16, 2013 6:53 PM, dashman erjdri...@gmail.com wrote: I'm at the initial stages of writing an app which will need a database. 1. can android databases be created on windows - i.e. populated. 2. where are these files

Re: [android-developers] Re: Can't stop debugging

2013-01-01 Thread Todd Painton
I was just plagued with the exact same problem. Your steps fixed it for me too. This is definitely a problem with the phone. On Wednesday, May 19, 2010 2:06:36 AM UTC-5, String wrote: On May 19, 1:30 am, brucko geoff.bruck...@gmail.com wrote: Do you happen to have... Debug.wait for

Re: [android-developers] Network File browser

2013-01-01 Thread Todd Grigsby
See http://www.samba.org On Dec 31, 2012 10:26 PM, satish bhoyar getsatonl...@gmail.com wrote: hi all, Happy new year to all of you. I am trying to make application like file browser. the constraint is I want to browse the files that are shared on the network in my company. My android

Re: [android-developers] Barometer reading changes throughout the day while on same altitude.

2012-12-30 Thread Todd Grigsby
You can't use a barometer to accurately determine altitude. Air pressure changes almost continuously for a variety of meteorological reasons. What level of accuracy were you expecting? On Dec 30, 2012 3:24 AM, sebouh00 sebou...@gmail.com wrote: On my galaxy nexus, I created a simple app which

Re: [android-developers] Beginning ADK

2012-12-28 Thread Todd Grigsby
Google IOIO boards. On Dec 28, 2012 3:01 AM, Deepak Mishra dux.dee...@gmail.com wrote: I have an Arduino Uno, which I cannot connect to my Android phone because of lacking support. I would request for some help pointing me to a place I can buy an ADK kit, or any other board which can help me

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-23 Thread Todd Grigsby
A lot of Google's Android presentations are online. Can you provide a link or recall the time period during which that presentation was given? On Dec 23, 2012 7:00 AM, Piren gpi...@gmail.com wrote: thats really pissy... they said the exact opposite in one of their original android video

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Todd Grigsby
Sorry, this is Abuse. Tech Support is down the hall. (obligatory Monty Python reference) On Nov 25, 2012 8:54 AM, TreKing treking...@gmail.com wrote: On Sun, Nov 25, 2012 at 2:12 AM, Johan Wasserman johan.wasser...@gmail.com wrote: Really? No one? And I thought this is the place where the

Re: [android-developers] Re: How do I fix this error

2012-11-20 Thread Todd Grigsby
You're kidding, right? Lew was nice enough to offer some advice, and your responses were rude. Here's some more friendly advice: be a man and apologize. On Nov 19, 2012 8:57 PM, Kevin Brooks bear35...@gmail.com wrote: If you don't consider his choice of words rude, then perhaps you also

Re: [android-developers] Android virtualization (for massing real world simulation)?

2012-11-20 Thread Todd Grigsby
The kind if resources you're talking about would be enormous. You'd be better off writing a multi-threaded app the simulates the calls that your app would make. Write a single function that makes the various requests your server handles in some random order, with pauses of random length in

Re: [android-developers] good videos

2012-11-20 Thread Todd Grigsby
Run it in the emulator, then use Camtasia or something similar. Of course, that assumes the emulator can keep up with your game's graphics. On Nov 13, 2012 1:01 PM, bob b...@coolfone.comze.com wrote: That does actually work for recording. Not so sure about the mouse and keyboard control

Re: [android-developers] broken breakpoint

2012-11-02 Thread Todd Grigsby
I don't think it's an eclipse problem so much as a newbie problem. it's not getting triggered because that line isn't getting executed. Perhaps some code prior to that line is throwing an exception? Either way, Treking is right that you didn't give near enough information. On Nov 1, 2012 8:53

Re: [android-developers] xml file encryption and decryption

2012-09-21 Thread Todd Grigsby
Depends on how much time you want to spend on it and whether you'll need to decrypt the XML on a system with a different OS. I use Chilkat to move encrypted messages between Android and Windows systems. On Sep 20, 2012 6:34 AM, tj tj.duba...@gmail.com wrote: hello developers i want to encrypt

Re: [android-developers] NFC

2012-09-20 Thread Todd Grigsby
Inmates that want to have a private conversation between cells? -- 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: Maps with custom tiles

2012-08-08 Thread Todd Bennett
MapView and Android? Thanks, Todd On Wed, Aug 8, 2012 at 1:12 AM, Saurav to.saurav.mukher...@gmail.comwrote: Cant share code. It was with my prev company. Hard luck. Regards, Saurav Mukherjee. Twitter https://twitter.com/#!/fasuke Facebook https://www.facebook.com/fuusuke On Wed, Aug

[android-developers] Re: Maps with custom tiles

2012-08-07 Thread Todd Bennett
Did you ever get this figured out without using OSM? If you could share some code that would be great. Even if you used OSM. I have tiles, generated with MapTiler that I need to overlay on the Google Map tiles to show sea level rise in an Android App. Thanks, Todd On Monday, June 15

[android-developers] Re: Zooming on a custom overlay

2012-07-30 Thread Todd Bennett
. Thanks, Todd On Wednesday, November 17, 2010 2:16:22 PM UTC-5, Igor Prilepov wrote: I used the Overlay class for this purpose. Here is the main part of the MyOverlay::Draw() method: // convert bitmap's bounding box into pixels Point top_left = new Point

[android-developers] Re: systrace error

2012-07-20 Thread Todd Sjolander
Have you seen thishttp://stackoverflow.com/questions/11300773/error-running-systrace-tool-in-adb-using-a-jelly-bean-4-1-emulator-on-windows-7? It sounds like the script doesn't play nice on Windows...but that seems like too obvious of an error to go overlooked. Either way, running it in

[android-developers] Power on Galaxy Nexus via USB

2012-07-19 Thread Todd Sjolander
-Nexus-Teardown/7182/2leads me to believe that the chip in question is the Texas Instruments TWL6030http://www.ti.com/product/twl6030 Fully Integrated Power Management with Switch Mode Charger. Thanks, Todd -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Easy and fast String obfuscation?

2012-07-08 Thread Todd Grigsby
Personally I prefer 3DES. Chilkat has a really nice set of cross-platform, cross-language libraries for encryption. On Jul 6, 2012 3:47 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi there, I am looking for a way to obfuscate some strings in a way that they may be unobfuscated

Re: [android-developers] Not able to connect to REST service from application in device

2012-07-02 Thread Todd Grigsby
To clarify, it sounds like your device is trying to connect to the wrong machine. This has nothing to do with REST. You may want to debug your application and see what port and address it's trying to connect to. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to convert a image into Base64 string?

2012-06-29 Thread Todd Painton
I actually had the exact same question. The original post, the question, was pretty specific and I'm thankful not everyone on the internet answered as you originally did or google really wouldn't have any answers would it? Thankfully, others below you gave brief non-smart-alek responses that

Re: [android-developers] Eclipse Image Bug

2012-06-15 Thread Todd Grigsby
How are you editing the page? On Jun 12, 2012 12:07 AM, Sam scoutamis...@gmail.com wrote: Hello everyone. I had a serious problem with Eclipse and it pretty much renders my app useless if it isn't fixed. When i'm in the XML editor of one of my XML files, and i -- You received this message

Re: [android-developers] Eclipse Image Bug

2012-06-15 Thread Todd Grigsby
Let me rephrase that: are you using the visual editor or are you editing the XML directly? The reason I ask is because the visual editor is, IMHO, a bit frustrating. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Non Repeating random number btw 1 to 1000

2012-06-06 Thread Todd Grigsby
Its highly unlikely that anyone here is going to help you with your homework. Don't cheat. On Jun 6, 2012 9:01 PM, Hemant Chaudhari hemant.newslet...@gmail.com wrote: Hello, I want to generate non Repeating random number between 1 to 1000. If possible efficiently without any look up. Any

Re: [android-developers] what are all the details return by the card reader to the phone

2012-04-03 Thread Todd Grigsby
That depends on the hardware. Some MSRs return track data, some, like IDTechs audio plug devices, can hand back an encrypted block. if you're doing EFT processing yourself, you want to handle the data directly, but if you're communicating with an EFT processor you need to talk to the processor

Re: [android-developers] android lazarus based pascal dev on windows

2012-03-24 Thread Todd Grigsby
Delphi XE2 has some cross-platform capabilities. Check it out on Emarcaderos web site. I'm not sure Lazarus has that capability, On Feb 21, 2012 3:03 PM, Siva sivabsang...@gmail.com wrote: Hi all ... I would like to know if any of you guys have worked on app dev with pascal ..?? Please

Re: [android-developers] Set Layout Background Image and change color of the image dynamically

2012-03-24 Thread Todd Grigsby
Yes. You are the only one confused by this question. the answer is, it can't be done. On Mar 24, 2012 1:44 PM, Justin Anderson magouyaw...@gmail.com wrote: Am I the only one confused by this question? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware

[android-developers] Notification from Google

2012-03-20 Thread Todd Sutton
? Thanks Todd -- 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 options

Re: [android-developers] Re: Android how to send the hex code out?

2012-03-07 Thread Todd Grigsby
...@gmail.com wrote: Dear Todd : Thanks for your kindly hint. Could you give me a more detail? Thanks. BR, Mark On 3月6日, 下午6時57分, Todd Grigsby tgrigsby...@gmail.com wrote: Google hex notation and hexadecimal. On Mar 6, 2012 12:34 AM, mark2011 androidmark2...@gmail.com wrote: Dear

Re: [android-developers] Android how to send the hex code out?

2012-03-06 Thread Todd Grigsby
Google hex notation and hexadecimal. On Mar 6, 2012 12:34 AM, mark2011 androidmark2...@gmail.com wrote: Dear All : I want to send out the hex code like 0xfa through the serial port. How do I send the 0x code in the program? Thanks in advanced. BR, Mark -- You received this message

Re: [android-developers] using custom views in xml layouts

2012-03-06 Thread Todd Grigsby
Not specific enough. Have you stepped through this code in debug to see what line is giving you the problem? On Mar 6, 2012 1:07 AM, chowdary nani naveenneeli...@gmail.com wrote: Hi All, i am working with custom views using in xml layouts Following is my custom view code: public class

[android-developers] Re: conversion to dalvik format failed error 1

2012-02-29 Thread Todd Sjolander
I've seen this happen from time to time in Eclipse. It's not a code issue. I would recommend trying a few things: 1. Make sure you have the right SDK version and APIs included in your project. Sometimes Eclipse will change these on you. Once or twice when seeing this error, I've had to change

[android-developers] Re: Custom IME for custom component

2012-02-29 Thread Todd Sjolander
from scratch using AlertDialog.Builder, so some similar construct. On Feb 27, 4:29 pm, Todd Sjolander guyfantas...@gmail.com wrote: Hi, I'm looking to have a custom component (an extended EditText) that uses its own input method.  I've created the input method and the custom component without

[android-developers] Custom IME for custom component

2012-02-27 Thread Todd Sjolander
to do it in a non-deprecated way if there is one. Thanks, Todd Sjolander -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

Re: [android-developers] Re: Why are new apps not featured on Android market anymore?

2012-02-16 Thread Todd Grigsby
Let me throw in an example. I've written an app that serves as a plugin to a well known point of sale application. I'm marketing it directly to users of that application. I'm not relying on the app market for exposure, only for access. I can't imagine, with the tremendous number of apps listed

Re: [android-developers] What do you all use for automated testing?

2012-02-12 Thread Todd Grigsby
I use a college kid. He's getting intern credits. Highly recommended. On Jan 9, 2012 1:28 PM, darrinps darri...@gmail.com wrote: I'm doing a little research into automated testing and curious to know what the folks here use. What I am looking for is a tool to allow testers the ability to

Re: [android-developers] A proof for being Android developer

2012-02-08 Thread Todd Grigsby
Have him download one of your apps. On Feb 8, 2012 10:20 AM, Ofir ofi...@gmail.com wrote: Hi all, I need to prove to a potential client that I'm an Android developer, registered at Google. How can I do this? Is there some kind of certificate I can send him? All I've got now is the receipt

Re: [android-developers] when I tap the screen, it registers multiple taps, not just one...

2012-02-07 Thread Todd Grigsby
Try googling debounce. On Feb 7, 2012 6:19 AM, cellurl gpscru...@gmail.com wrote: I tap the screen and it registers multiple-taps. It didn't do that on the emulator, but on a G1, if I tap once, it fires multiple times. Q: How do I get rid of the double taps? Thanks in advance! -cellurl

Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own

2012-02-02 Thread Todd Grigsby
to Android... On Feb 1, 2012 8:39 AM, Kristopher Micinski krismicin...@gmail.com wrote: On Wed, Feb 1, 2012 at 10:47 AM, Todd Grigsby tgrigsby...@gmail.com wrote: just to throw in my 2 cents: DynamoDB is not restful. it's RPC. Yup! But you can think of RPC and rest doing something

Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own

2012-02-01 Thread Todd Grigsby
just to throw in my 2 cents: DynamoDB is not restful. it's RPC. On Jan 29, 2012 9:25 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Sun, Jan 29, 2012 at 10:45 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Jan 30, 2012 at 11:46 AM, Kristopher Micinski

Re: [android-developers] getting started

2012-01-26 Thread Todd Grigsby
On Jan 26, 2012 10:05 AM, Android Developer adamryan...@gmail.com wrote: when did you guys get started working on android and why did you start? I got started out of curiosity and a desire to try something new. I've been coding for twenty years - it wasn't a big leap. Is it possible to be a

Re: [android-developers] Best encryption method?

2012-01-12 Thread Todd Grigsby
Aes and 3des. google chilkat. On Jan 6, 2012 2:04 AM, giles ian gilesian@gmail.com wrote: Hello, Which is the best encryption method. My need is to encrypt data and store it in DB. Which would be the best among: 1. Base 64 2. AES 3. 3 DES 4. MD - 5 in terms of: 1. Security

Re: [android-developers] Credit card swiper with API

2012-01-12 Thread Todd Grigsby
have you googled JPOS or UPOS? On Jan 11, 2012 1:39 PM, JC jcota...@gmail.com wrote: Hello Everyone, I have a task to create and Android application that reads the Credit Card information from a CC swiper and process the payment through a web service in our existing website. The reason for

Re: [android-developers] re:Google Maps

2011-11-05 Thread Todd Grigsby
For help with map views, try http://code.google.com/android/add-ons/google-apis/mapkey.html. On Nov 4, 2011 4:52 AM, jaggu mjagadeeshb...@gmail.com wrote: Hi How to get the map api key :because of my url is like ajax with javascripit combination : even when extends MapActvity also not coming

Re: [android-developers] ProgressBar.setMax() Exception in Dialog; don't understand why it is happening

2011-10-31 Thread Todd Grigsby
Is pb nil? If so, you might want to make sure a control with that ID exists on that layout... On Oct 27, 2011 11:05 PM, Anuj Goyal anuj.go...@gmail.com wrote: I am attempting to use a ProgressBar in a Dialog but when I try to use setMax() my app crashes with an unhandled Exception. When

Re: [android-developers] Honeycomb Emulator Landscape issue on Ubuntu 10.04

2011-01-28 Thread Steve Gores-Todd
The solution can be found on the SKD preview page near the bottom. http://developer.android.com/sdk/preview/index.html Known issues The following known issues occur for Android 3.0 AVDs that are loaded in the emulator: - The emulator displays a rotated portrait screen while in landscape

[android-developers] Re: What's the general consensus on the non-Android affiliated app stores?

2010-12-21 Thread Todd R. Levy
at http://bloomworlds.com Thank you, Todd R. Levy Co-founder BloomWorlds On Dec 9, 8:10 am, Rich aguynamedr...@gmail.com wrote: I have gotten a few emails from proprietary app stores that offer distribution to their network of devices that don't come with the Android Market.  Are these a sham

Re: [android-developers] Re: how to get the screen size in inches...

2010-08-05 Thread Steve Gores-Todd
the function calls with your predetermined values. Steven Gores-Todd On Thu, Aug 5, 2010 at 9:14 PM, sdphil phil.pellouch...@gmail.com wrote: bump On Aug 4, 2:12 pm, sdphil phil.pellouch...@gmail.com wrote: I am trying to determine the physical size of a screen in inches. Normally, I could

Re: [android-developers] Re: Petitions to Google

2010-06-05 Thread Steve Gores-Todd
Hello Again! I realized much to late after posting, I neglected to mention I have no problems with the current build process and can insert the execution of the CPP on my own. I only wanted to add to the discussion legitimate reasons for its use. Steven Gores-Todd On Sat, Jun 5, 2010 at 4:14

Re: [android-developers] Suggestions for how to deal with IMEs ignoring flags?

2010-05-15 Thread Steve Gores-Todd
): java.vendor=The Android Project I/System.out( 6438): java.vm.specification.name=Dalvik Virtual Machine Specification I/System.out( 6438): java.specification.version=0.9 Steven Gores-Todd On Mon, May 10, 2010 at 11:07 PM, Steve Gores-Todd sgorest...@gmail.comwrote: Hello James, I use the method

Re: [android-developers] Suggestions for how to deal with IMEs ignoring flags?

2010-05-12 Thread Steve Gores-Todd
://developer.android.com/reference/java/lang/System.html#getProperty%28java.lang.String%29 Steven Gores-Todd On Sun, May 9, 2010 at 4:40 AM, jamesc jame...@gmail.com wrote: Hi I've recently got my hands on an X10, and have found that the Sony Ericsson IME handles the EditorInfo.inputType flags

[android-developers] Re: Soft Keyboard Shrinks Dialog Buttons

2010-03-01 Thread Todd S.
wrote: Hi Todd.. Im also getting the problem like you..yesterday i posted the same question.. How to design a layout when a soft keyboard is opened?? Am having a requirement that when a keyboard is opened my layout view is to be automatically changed according to the screen size. Currently

[android-developers] Re: Populated database inside the app package (HOW-TO)?

2010-02-23 Thread Todd S.
I just got this to work yesterday, followed the following post: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ I was able to write a function that lets me overwrite the existing database used by the app, export the existing database to the SD card and

[android-developers] Re: Populated database inside the app package (HOW-TO)?

2010-02-23 Thread Todd S.
I was able to get this to work by following post: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ The database gets placed in the assets folder and then during the createDatabase() gets copied into the /data/data/yourpackagename/ databases/ folder.

[android-developers] setOnItemSelected Workaround Needed!

2010-02-23 Thread Todd S.
I have a spinner in a dialog with a setOnItemSelectedListener that onItemSelected will change the value of an EditText field in the same dialog based on a value in a database. When the user dismisses the dialog, the value of the EditText is stored and displayed in a listview. When the user

[android-developers] Re: Soft Keyboard Shrinks Dialog Buttons

2010-02-22 Thread Todd S.
, Todd S. toddstock...@gmail.com wrote: I have a full screen dialog that has a relative layout that contains a TableLayout. Whenever the soft keyboard is displayed on the screen, it shrinks these buttons. Instead of filling the bottom of the screen, they only fill a third of it. How can I keep

[android-developers] Soft Keyboard Shrinks Dialog Buttons

2010-02-21 Thread Todd S.
I have a full screen dialog that has a relative layout that contains a TableLayout. Whenever the soft keyboard is displayed on the screen, it shrinks these buttons. Instead of filling the bottom of the screen, they only fill a third of it. How can I keep the size of the buttons the same similar to

[android-developers] OOM loading images in Gallery

2009-11-20 Thread todd
work around it or other solutions. Looking through the source it looks like there's a RecycleBin object that should be collecting references but heap dumps show references the View objects. Any help is appreciated. Thanks, Todd -- You received this message because you are subscribed

[android-developers] WebView not responding to touch events

2009-11-19 Thread Todd Benge
but the browser never launches again. I'd really appreciate any help / suggestions because we're seeing the same behavior in another embedded WebView used for a registration path. Thanks, Todd -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] WebView not responding to touch events

2009-11-19 Thread todd
Hi, I have a WebView embedded in a frame for showing ads. The WebView is at the bottom of each page in a FrameLayout of each screen of a tabbed layout. Here's the base WebView layout: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-17 Thread todd
it doesn't work any more. My two cents. Todd On Oct 13, 8:58 pm, Dianne Hackborn hack...@android.com wrote: On Tue, Oct 13, 2009 at 9:09 PM, EboMike ebom...@gmail.com wrote: Task killers aside, what about if the OS decides to stop a process because memory is low? It doesn't do what these apps

[android-developers] Re: Application uninstall hook

2009-09-02 Thread Todd
I have the same situation, I have data files on the SD card that I would like removed if possible. Anyone? Todd On Aug 27, 1:59 pm, Evgeny Rachinskiy rachin...@gmail.com wrote: Hi All! Does anybody know how to hook to applicationuninstallevent? I need to remove files on SD if my application

[android-developers] Re: How to switch eclipse logcat from emulator to device and back again

2009-08-31 Thread Todd
for me. Todd On Aug 31, 12:59 pm, tansaku tans...@gmail.com wrote: Does anyone know how to get the eclipse logcat output to switch from emulator to device and back again? I am often developing, and using emulator and device in tandem, mainly because I can trace the http comms on the emulator

[android-developers] Re: Android service always alive..

2009-07-02 Thread Todd Sjolander
to declare permissions for both of those things. Good luck! Todd Sjolander On Jun 30, 7:34 am, M.Manjunatha man...@gmail.com wrote: Hi, How do I make my service always alive?? If my service gets killed because of an exception or if the VM kills my service on low memory, How do I make sure that my

[android-developers] Re: Able to use T-Mobile G1 without contract for application testing?

2009-06-15 Thread Todd Sjolander
There is a charge for the plan on my phone, but it's outdated, and I don't think it's available anymore. On Jun 9, 10:35 pm, tgustafson tommygustaf...@gmail.com wrote: Hi Todd, Thank you very much for the reply.  Is there a charge for the wifi- only data plan?  I will be using this solely

[android-developers] Re: Unlocking screen after wake lock

2009-06-10 Thread Todd Sjolander
What a coincidence! I just figured this out yesterday: KeyguardManager km = (KeyguardManager) getSystemService (KEYGUARD_SERVICE); KeyguardManager.KeyguardLock keylock = km.newKeyguardLock(Your label here); keylock.disableKeyguard(); Todd Sjolander On Jun 9, 12:16 pm, mobilek

[android-developers] Re: Able to use T-Mobile G1 without contract for application testing?

2009-06-09 Thread Todd Sjolander
the usual network-based software. Todd Sjolander On Jun 9, 1:55 am, tgustafson tommygustaf...@gmail.com wrote: Hi John, Thanks for the tip, they look like they are quite expensive unfortunately given the low supply.  Have you had any experience with developers using a generic t-mobile G1 phone

[android-developers] Re: BlurMaskFilter not blurring entire bitmap

2009-06-04 Thread Todd
I've tried all the different blur styles to no avail. I guess the basic problem is the blur only blurs edges of a bitmap, and not the entire bitmap. There's probably some secret sauce to getting it to work the way I want, I just haven't discovered it yet. Thanks for the suggestion though. Todd

[android-developers] BlurMaskFilter not blurring entire bitmap

2009-06-02 Thread todd
app or anywhere else on the web that I can find and the java docs for this class are sparse to say the least. Anyone? Todd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: java.lang.VerifyError

2009-05-18 Thread Todd Sjolander
. For me, it was easy to avoid. You may not have such good luck, I'm sorry to say. Todd Sjolander --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Question: How to guestimate the available bitmap memory on a device

2009-05-13 Thread Todd
So, how does one programatically determine the amount of heap space free including space used by bitmap memory? Is there such a way? I would prefer to inform my users that there isn't enough memory to load their image rather than getting an OOM and have the app exit.

[android-developers] Re: Problem with SDK 1.5

2009-05-11 Thread Todd Sjolander
Your MyListener class is correct. The problem is in your call to registerListener(). That's an overloaded method. The one you're calling is the old one that still takes the deprecated class. Here's the new signature: registerListener(SensorEventListener listener, Sensor sensor, int rate,

[android-developers] Re: Restarting a service.

2009-04-30 Thread Todd Sjolander
if it isn't already running. Then there wouldn't be a restart needed. Todd Sjolander On Apr 29, 8:44 am, M.Manjunatha man...@gmail.com wrote: Hi Folks, How do I restart my service automatically when my service gets killed or crashes, until and unless I myself deregister the service. public

[android-developers] finish() not killing Activity

2009-04-12 Thread Todd Sjolander
Hello, I've got an application that has (among other things) three Activities, let's call them A, B, and C. A is the main navigation point for the entire application, and launches B and C directly using startActivity(). They work fine that way. However, when I call C from inside B, I get a

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Todd Sjolander
Marco, your hunch was right. I was somehow creating multiple copies of Activity C. In case anyone can benefit from this, let me explain how it went wrong. I implemented onTouch() in Activity B, which would create an Intent for Activity C, and then call startActivity(). For some reason,

[android-developers] Re: Accessing System Brightness

2009-04-09 Thread Todd Sjolander
Ah, that makes sense. Thank you. On Apr 8, 4:45 pm, Dianne Hackborn hack...@android.com wrote: It will only modify the screen while that window/activity is being shown to the user.  This allows it to be done in a safe way (no permission required) which the system can recover from if there is

[android-developers] Re: Accessing System Brightness

2009-04-08 Thread Todd Sjolander
Dianne, Is there a new way to do this in Cupcake, or is the functionality being removed? On Mar 23, 1:37 pm, Dianne Hackborn hack...@android.com wrote: This is a private API and will break in Cupcake. -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] Re: I want run my application in background, with Service component

2009-04-06 Thread Todd Sjolander
The original code I used came from the SDK sample code. Specifically, look in ...\samples\ApiDemos\src\com\example\android\apis\app. There are a lot of different capabilities demonstrated there, and the ones you want are in RemoteService.java, RemoteServiceBinding.java,

[android-developers] Re: I want run my application in background, with Service component

2009-04-03 Thread Todd Sjolander
Using a Notification is one way to go about it. The Notification can be linked to an Activity, which gets launched if the user clicks on the Notification. Here's some code, which I think I pulled from some tutorial someplace: CharSequence text =

[android-developers] Re: Thumbnails

2009-03-17 Thread todd
Yes, you can have both thumbnail types. It's just another row in the DB. The kind fields would be different for the micro and mini rows. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Thumbnails

2009-03-16 Thread todd
card. I can foresee apps battling over thumb creation, some doing it well, others not so well and using different (custom?) sizes for both sizes. That's my two cents. Todd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How can I launch the built-in picture viewer app from my app?

2009-02-25 Thread todd
If you want to just pick a photo using the built in photo viewer, send the following intent: Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); photoPickerIntent.setType(image/*); startActivityForResult(photoPickerIntent, 1); and then in

[android-developers] Re: Emulator doesn't link sometimes

2009-02-20 Thread todd
This happens to me occasionally and is a bit annoying. I too just close the emulator instance and start it again. That works most of the time, although I've had to completely restart the machine on other occasions. Todd On Feb 19, 7:09 pm, Ivan Soto ivanso...@gmail.com wrote: Hi, I'm

[android-developers] Detecting new photo

2008-12-12 Thread todd
Hi, I'm trying to detect when new photos are taken and saved. I've tried to use a BroadcastReceiver but haven't had any luck. It just doesn't get called. This is what I have so far: AndroidManifest.xml ... receiver android:name=NewPhotoReceiver

[android-developers] Re: Monitoring Browser activities

2008-10-30 Thread tim todd
that would be a terrible thing to do t. On Oct 29, 5:39 am, Piyush [EMAIL PROTECTED] wrote: Hi, I would like to know if its possible to sit between Android browser and the network layer so that I can monitor the activities of user through browser.  It could be something similar to