[android-developers] Enhancing Google Play developer console to allow third-party developer access

2014-09-19 Thread Ted Hopp
Google Play seems to be set up under the assumption that the developer of an app is also the publisher. This is not always the case and, as described below, it causes us (and, I suspect, many others) a lot of time and aggravation. I'm interested in feedback on whether others have encountered th

[android-developers] Re: License client issue: can NOT_LICENSED be returned due to being off-line?

2014-04-01 Thread Ted Hopp
I'm not sure I understand this suggestion. What state are you tracking? How is it "separate from what Google Play returns"? As I described, we are already separately maintaining the last definitive response received. Do you do something beyond that? More to the point: our app *seems* to be rece

[android-developers] License client issue: can NOT_LICENSED be returned due to being off-line?

2014-03-31 Thread Ted Hopp
We have an app that uses the following license policy: - if a definitive response of LICENSED is stored in the app's preferences and has not expired, allow access. - if a definitive response is not stored in the app's preferences, or if it has expired, or if the cached response is NO

[android-developers] How to position TextView scrollbar always at trailing side of text

2014-02-11 Thread Ted Hopp
Now that we have RTL text support in KitKat, I thought that a TextView that displays a vertical scrollbar would by default display it on the trailing side of the text. A simple experiment, though, shows that it always positions the scrollbar on the right, even when the text is right-to-left. (R

[android-developers] Re: in-app billing disconnects from activity on configuration change

2013-09-25 Thread Ted Hopp
vity is rarely the right container for something that > needs to respond to events that aren't initiated by the user. > > On Tuesday, September 24, 2013 7:35:26 PM UTC-7, Ted Hopp wrote: >> >> In testing an app with in-app billing, we found a nasty problem that >>

[android-developers] in-app billing disconnects from activity on configuration change

2013-09-24 Thread Ted Hopp
In testing an app with in-app billing, we found a nasty problem that occurs if there is a configuration change while a purchase flow is in progress. The initiating activity is destroyed and restarted, breaking the link from Google checkout process to the activity. To the user, it appears that th

Re: [android-developers] New warning when exporting Android application

2013-07-21 Thread Ted Hopp
Thanks for the lead, TreKing. It would be a big relief if Google disarmed this time bomb. If you happen to run across the thread, I'd appreciate a pointer to it; I definitely would like to follow any developments. -- -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Recover Certificate from APK

2013-07-21 Thread Ted Hopp
On Thursday, June 14, 2012 12:43:51 PM UTC-4, Dianne Hackborn wrote: > The platform has an app signed with a cert. If you want to install an > update to that app under a different cert, how could the platform trust > that this is actually coming from the author who owns the original cert > wit

[android-developers] Re: finish() method of an activity inside of oncreate() and onpause() behaves differently. why?

2013-07-21 Thread Ted Hopp
This is because of the activity lifecycle. When you call finish() from within onCreate(), none of the other activity start-up events have occurred, so the corresponding shut-down events are also skipped. This b

[android-developers] New warning when exporting Android application

2013-07-21 Thread Ted Hopp
We have an app that was first submitted to Android Market several years ago. We've published several updates and are preparing a new update. We recently started receiving the following warning when exporting a signed .apk file: Certificate expires on Thu Sep 16 19:19:35 EDT 2038. The Certifica

[android-developers] Re: API to submit stack traces to Google Play

2013-06-25 Thread Ted Hopp
On Tuesday, June 25, 2013 5:02:43 PM UTC-4, a1 wrote: > >> You are attacking a strawman. I've commented on a very specific quote > from original post: > >> The alternative is to start removing catch clauses so that the app will, >> in fact, crash and the developer can at least see something. Thi

[android-developers] API to submit stack traces to Google Play

2013-06-25 Thread Ted Hopp
When an app crashes due to an uncaught exception, the user can submit a crash report, that shows up in the developer console, showing a stack trace and other useful information. But if the app catches the exception, it doesn't crash and I don't know of a good way of receiving diagnostic informa

[android-developers] add vertical colored lines to seekbar background drawable

2012-08-19 Thread Ted Murphy
How do I dynamically add individual vertical colored lines to a seekbar's progress bar? I already have the progress.xml, progress_fill.xml and background_fill files created as individual drawables, allowing me to customize my seekbar to some extent. But the individual vertical lines may need

[android-developers] Re: APKs different with the same source code

2012-07-29 Thread Ted Hopp
The usual way to do this is to create a library project with the common elements and then to create separate projects containing only those elements of the app that are unique to each APK. See the docs on working with library projects

[android-developers] Does this licensing policy have weaknesses?

2012-07-29 Thread Ted Hopp
I asked a version of the following on StackOverflowand received only one response, which was off-point. The default ServerManagedPolicy that Google provides in their License Verification Libra

[android-developers] Re: How can I configure the Refund Period when using ServerManagedPolicy () in Android LVL

2012-07-28 Thread Ted Hopp
You cannot control the values for VT, GT, GR and UT. The server sets these values automatically (as described here ). -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-23 Thread ted
Hi, you can decode the image bounds and calculate the sample size.code as below: 1.get the image infos: BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; Bitmap bitmap = BitmapFactory.decodeFile(filePath, options); p

[android-developers] Library project manifest contents

2012-07-16 Thread Ted Hopp
I'm not clear on what needs to be declared in the manifest file for a library project. On the one hand, the documentation for setting up a library project in Eclipsesays: A library project's manifest file

Re: [android-developers] ArrayIndexOutOfBoundsException

2012-04-04 Thread Ted Scott
Try here http://javaranch.com or perhaps take a Java course? Android development is much easier when you speak the language. On 4/4/2012 4:48 AM, Graham Bright wrote: Hi, I can't figure out why I am getting and out of bounds exception ? Any ideas -- You received this message because you are

Re: [android-developers] ListView and Database

2012-04-01 Thread Ted Scott
On 4/1/2012 3:19 PM, Ricardo Santos wrote: Hi Ted, Maybe I have understood the theory, now, but my code still do not work. So, my code looks like this: //This is my list view ListView charList = (ListView)findViewById(R.id.list); R.id.list needs to be the id of a ListView element

Re: [android-developers] ListView and Database

2012-03-31 Thread Ted Scott
android:gravity="right|center_vertical" android:paddingLeft="5dip" android:singleLine="true" /> And assuming that you have column1 and column2 in your cursor's projection, and want to map the contents of column1 to the textview foo and

Re: [android-developers] Re: Dev Environment - maven-android-eclipse

2012-03-22 Thread Ted Scott
ave this all playing nice enough together to be building pretty complex applications with it before I spent too much effort on it with my app, which really is a project for learning the android platform more than anything. -Ted On 3/22/2012 10:55 AM, Ricardo Gladwell wrote: Hi Ted This is possibl

Re: [android-developers] Dev Environment - maven-android-eclipse

2012-03-22 Thread Ted Scott
On 3/21/2012 8:59 PM, James Black wrote: I would expect that a problem is using other libraries. Are all of the jar files built for the Android? Good point. Yes, the android relevant libraries are built for android. The major malfunction that brought the question on is a problem when basi

Re: [android-developers] Re: Dev Environment - maven-android-eclipse

2012-03-22 Thread Ted Scott
On 3/22/2012 11:25 AM, Michael Sims wrote: Android + Maven + Eclipse is definitely possible, but speaking from experience, it's painful. Tedious to get working, builds are very very slow and fragile. You can do it, but it'll hurt. I think I had the pain part figured out ;) Slow, I wasn't too

[android-developers] Dev Environment - maven-android-eclipse

2012-03-21 Thread Ted Scott
ing it all to play nicely. -Ted -- 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...@

Re: [android-developers] How to keep activity running

2012-03-19 Thread Ted Scott
On 3/19/2012 9:01 PM, Dianne Hackborn wrote: Personally I would say that for any question that implies you are subclassing Application, the answer is "no". :) Subclassing from Application doesn't let you do anything more than you could other ways, and there is a good chance it is going to lead y

Re: [android-developers] Newbie question - first attempt to run App on device gets Force Close

2012-03-16 Thread Ted Scott
Double check that the emulator you run on is versioned lower than your device. Observe the launch with DDMS view which should report the exception. Run it under the debugger on your device. On 3/16/2012 5:14 AM, Mister Macaverty wrote: My app runs fine on the device emulator. When I connect

[android-developers] Followup questions about detecting install / first launch

2012-03-15 Thread Ted Scott
I'm still getting my head around the API and can use a check if I'm understanding this right. On 3/15/2012 6:48 AM, Mark Murphy wrote: On Thu, Mar 15, 2012 at 4:06 AM, giles ian wrote: I need to execute some code on app install event. How do i do it. You don't. Ok, I understand that ACTI

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-15 Thread Ted Scott
On 3/14/2012 5:06 PM, GJTorikian wrote: I wrote a reply to this, but I guess it was censored. I was complaining about manufacturer fragmentation, again. If I have a directory like this: mnt/sdcard/app/dir mkdirs("app/dir") fails; mkdirs("app") followed by mkdirs("app/dir") works. This is extr

Re: [android-developers] Detecting if activity is running from service

2012-03-09 Thread Ted Scott
On 3/9/2012 1:52 PM, Mark Murphy wrote: On Fri, Mar 9, 2012 at 1:35 PM, Ted Scott wrote: ^_- Support Package?! Oh, I see I have some reading to do. Thanks! Looking at the SDK page, I don't know how I missed looking at that. Any pointers you might have to a nutshell description or pit

Re: [android-developers] Detecting if activity is running from service

2012-03-09 Thread Ted Scott
On 3/9/2012 12:36 PM, Mark Murphy wrote: On Fri, Mar 9, 2012 at 12:29 PM, Ted Scott wrote: feeling the frustrations of the moving platform now. The Android Support package supports the Loader framework going back to Android 1.6, if you are willing and able to inherit from FragmentActivity

Re: [android-developers] Detecting if activity is running from service

2012-03-09 Thread Ted Scott
28int%29 But beware... The definition of a "running" app may not be what you think on Android. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 9, 2012 at 9:28 AM, Ted Scott <mailto:t...@hootinholler.com>> wrote: I hav

Re: [android-developers] Detecting if activity is running from service

2012-03-09 Thread Ted Scott
Thanks Mark. On 3/9/2012 11:36 AM, Mark Murphy wrote: On Fri, Mar 9, 2012 at 11:28 AM, Ted Scott wrote: At that point, if a new sample was added, and the activity that lists the samples is active, I want to notify it to refresh the cursor to include the new sample. If the activity isn&#

[android-developers] Detecting if activity is running from service

2012-03-09 Thread Ted Scott
I have a service that obtains and stores sample data from a web service. It is triggered by alarms, gets a sample which may or may not be new, stores it in my DB. At that point, if a new sample was added, and the activity that lists the samples is active, I want to notify it to refresh the cur

Re: [android-developers] Android customize expandable list view encountered a problem

2012-03-08 Thread Ted Scott
On 3/5/2012 10:38 PM, Zheng Martin wrote: please go to see this topic first. http://stackoverflow.com/questions/9562043/expandablelistview-when-i-click-button-update-imageview#comment12121717_9562043 I pasted the problem in stackoverflow, without any answer. please help me to resolve it when

Re: [android-developers] Re: CursorAdapter? or OtherAdapter?

2012-03-04 Thread Ted Scott
What Mark was asking is why are rows you do not need included in the results pointed to by the cursor. The cursor is loaded by a DB query. That is where you should apply filtering, etc and the cursor should contain only what you need to display at that moment. If your cursor has extra data, th

Re: [android-developers] nested listview

2012-02-26 Thread Ted Scott
I did, I use a DB to back the lists, so I use a SimpleCursorTreeAdapter and I override getChildrenCursor) Have a look at the expandable list examples in the api demos, there are 3 data source flavors in there. On 2/26/2012 10:24 AM, hazem omies wrote: hi Ted , many thanks Ted , but i need

Re: [android-developers] nested listview

2012-02-26 Thread Ted Scott
Sounds like you want an ExpandableListView http://developer.android.com/reference/android/widget/ExpandableListView.html On 2/26/2012 9:25 AM, hazem omies wrote: hi,,, how i can make nested listview as follow : main activity contain a listview binding from web servers XML parser ,,my issue i

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-23 Thread Ted Scott
*** http://schemas.android.com/apk/res/android"; package="com.needham.RxBcast" android:versionCode="1" android:versionName="1.0" >

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-23 Thread Ted Scott
On 2/23/2012 11:18 AM, Thomas wrote: I've continued to experiment. I wanted to send an attachment file but but here is a portion of the logcat showing the RxBcast failing at bootup and after the Emulator is opened then running correctly. look for ** I unlock emulator The same thing happen

Re: [android-developers] Re: Beginner Question

2012-02-23 Thread Ted Scott
On 2/23/2012 11:55 AM, Kookamonga wrote: Mark has way more experience than me, so I'll let him give the definitive answer... But my two cents are that it depends on the situation. :-) I don't think there is a definitive answer here, only reasonable ones. For example, if the widget for which yo

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-21 Thread Ted Scott
On 2/21/2012 3:02 PM, Thomas wrote: The compile error: * PiesOfCodActivity cannot be resolved to a type The error essentially is that the RxBcast cannot be aware of an external app that exists on an Android somewhere. The PiesOfCodActivity is a retitled "helloworld" that works just fine on my A

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-21 Thread Ted Scott
hings. I'll keep at this and when I get the syntax correct, I'll post the answer. Google searching turns up lot of commentary on the subject but all of the snippets have proven not to work. Best, Tom B On Feb 20, 6:46 pm, Ted Scott wrote: On 2/20/2012 2:26 PM, Thomas wrote: I'll

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Ted Scott
On 2/20/2012 2:26 PM, Thomas wrote: I'll make another request then. Please post the code and manifest for a simple something that will start the "helloworld" app at bootup. The helloworld app is just a test case to see if things are working at bootup. I have a far more complicated embedded appli

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Ted Scott
Review the components section here http://developer.android.com/guide/topics/fundamentals.html You are confusing a BroadcastReceiver with an Activity, and there's nothing you can add to the manifest to correct that since an activity tag can't describe or invoke a receiver. If you want to launc

Re: [android-developers] What is the significance of main.xml.out file?

2012-02-19 Thread Ted Scott
On 2/17/2012 11:27 PM, Kedar wrote: What is the significance of main.xml.out file? Sometimes while debugging the application, I am getting an error in the main.xml file Basically it means that you have invoked some transformation on the main.XML file, possibly by having it selected and hittin

[android-developers] Dynamic icon == widget?

2012-02-18 Thread Ted Scott
I'm running a service that monitors a metric and I want it to colorize the app icon dependent on the values. Do I have to build a widget to interact with it or is there some way I can just replace the image? -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] AlarmManager - getAlarms or similar

2012-02-18 Thread Ted Scott
Is there a way to find out if I have an existing alarm waiting or do I have to create some sort of state variable and keep track of it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] OT: Comedy Gold

2012-02-15 Thread Ted Scott
Please don't take this the wrong way, I'm not complaining, just observing. I have to say that between the ESL and txt speak this list has some really funny moments. The mental image I got from "pies of cod" will have me smiling for the rest of the week. I'm wondering if it's some new way of pr

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

2012-02-13 Thread Ted Scott
On 2/13/2012 8:17 AM, Mark Murphy wrote: On Sun, Feb 12, 2012 at 7:34 PM, Todd Grigsby wrote: I use a college kid. He's getting intern credits. Highly recommended. Yeah, but isn't automating a college kid a violation of the Geneva Convention? :-) Nah, provide pizza and beer and they are s

Re: [android-developers] building workspace lockup in eclipse

2012-02-13 Thread Ted Scott
There's a problem in r16 when launching on v2.2 with logcat when the launch logcat on error is set. It causes a deadlock condition. It's slated for a fix on r17. Go to window -> preferences -> android -> logcat and uncheck launch logcat on error. On 2/13/2012 6:52 AM, vivek elangovan wrote:

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Ted Scott
As long as you are not tying the enhancement to a rating level, I don't think that would violate the policy. Now telling whether or not someone actually rated the app is a different issue. On 2/9/2012 1:18 PM, Mark Phillips wrote: My apologies for recommending something against the market p

[android-developers] FYI ADT r16 hangs running AVD 2.2 on relaunch or debug

2012-02-06 Thread Ted Scott
This is an update to the problem I encountered and posted on earlier. The fix is scheduled for r17. There are 3 hang cases which apply to AVD 2.2: 1: Relaunching a changed application which hangs at 27% progress. 2: Launching the application in the debugger. Both cases hang when the "launch log

Re: [android-developers] Android LocationManager GPS Reading Never Changes While Screen is Off

2012-02-03 Thread Ted Scott
I do a similar thing by running a service from an alarm, it checks position every 15 mins. It works while I'm just toting the phone around in my pocket screen locked. It even works while the app is closed as long as the app has been started since boot and the alarm initialized. Maybe it has

Re: [android-developers] Re : eclipse crash

2012-02-03 Thread Ted Scott
Are you running an AVD on 2.2? There is a weird problem with eclipse and that version of the emulator. See issue 24926 http://code.google.com/p/android/issues/detail?id=24926 Try this: 1. In Window -> Preferences -> Android -> logcat, turn off the option to automatically show logcat if the

Re: [android-developers] Re: What do these errors mean (using Eclipse)?

2012-02-01 Thread Ted Scott
On 2/1/2012 11:01 AM, atcal wrote: On Feb 1, 4:25 pm, Ted Scott wrote: On 2/1/2012 4:11 AM, atcal wrote: I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the first line

Re: [android-developers] What do these errors mean (using Eclipse)?

2012-02-01 Thread Ted Scott
On 2/1/2012 4:11 AM, atcal wrote: I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the first line of my constructor with an error "Implicit super conctructor View() is undefined. Must exp

Re: [android-developers] Re: Android SDK Tools r16 and problems with Eclipse

2012-01-30 Thread Ted Scott
en it started working and it's really good to have some confirmation that this is a real problem. On 1/30/2012 3:07 PM, DanielleM wrote: Ted, Yes that actually worked for me as well!!! I don't know how you figured that out but nice job. I never would have thought that changing that one par

Re: [android-developers] Re: Android SDK Tools r16 and problems with Eclipse

2012-01-30 Thread Ted Scott
Danielle, Is your LogCat view set to 'verbose'? I just changed mine to 'debug' and everything started working. I opened a defect report on this: http://code.google.com/p/android/issues/detail?id=24926 Let me know if it works for you. -Ted On 1/30/2012 1:10 PM, Danielle

Re: [android-developers] Re: Android SDK Tools r16 and problems with Eclipse

2012-01-30 Thread Ted Scott
e some kind of fix soon. On Jan 27, 5:46 pm, "Ted S." wrote: I'm having the same problems in eclipse Indigo. I can run an app on the emulator first time. Reloading a changed app hangs at 27% launch. Requires relaunching eclipse, and leaves old eclipse image running which must b

Re: [android-developers] Have I missed some step to be able to post?

2012-01-30 Thread Ted Scott
. The moderator just flushed the queue. You should now be able to post without further interruption. Or, use StackOverflow and the android tag. On Sun, Jan 29, 2012 at 4:16 PM, Ted S. wrote: I've been having problems with the r16 update to the AVD manager and ADT in eclipse Indigo. I've atte

[android-developers] Have I missed some step to be able to post?

2012-01-30 Thread Ted S.
I've been having problems with the r16 update to the AVD manager and ADT in eclipse Indigo. I've attempted to post a reply to someone else with similar issues. I've answered a couple of other posts and I'm not seeing my posts. Am I waiting on someone to approve me? Have I missed some step in regi

Re: [android-developers] Re: Crash after StartActivity

2012-01-30 Thread Ted Scott
I have an app that invokes a service in the background from an alarm: // Ok, let's try running the service via a repeating alarm... // We need to make a PendingIntent from the service intent... Intent si = new Intent(this, xxxService.class); PendingIntent pi = Pend

[android-developers] r16 and eclipse - debugger and relaunch is hosed

2012-01-30 Thread Ted Scott
This is driving me nuts. A couple of others have reported it, but no one seems to have a work around or even why this is happening. I had a working set of projects until the r16 SDK/ADT update. Now I can run an emulator with an app the first time I launch it. I cannot run or launch under the d

[android-developers] Re: Android SDK Tools r16 and problems with Eclipse

2012-01-30 Thread Ted S.
I'm having the same problems in eclipse Indigo. I can run an app on the emulator first time. Reloading a changed app hangs at 27% launch. Requires relaunching eclipse, and leaves old eclipse image running which must be killed. Attempting to debug results in "Waiting for debugger to attach" on

[android-developers] C2DM - frequent “timeouts” or errors when sending; webservice does not respond

2011-12-04 Thread Ted
Hey, I just posted this on StackOverflow, thought I'd post it here too. http://stackoverflow.com/questions/8377185/c2dm-frequent-timeouts-or-errors-when-sending-webservice-does-not-respond So I have set up a connection to Googles C2DM system. It works - sort of. When I ask C2DM to "ping" my Andr

RE: [android-developers] Re: How to install APK programmatically without user prompt

2011-09-26 Thread Ted Neward
Sometimes, though, the answer you want just doesn't exist, and by asking "What are you really after?", the responder is trying to help you achieve your goal by thinking around the problem. Of course, if you'd prefer to just be told, "You can't. The end.", th

[android-developers] Re: How to deal with expensive view height calculation?

2011-09-19 Thread Ted Hopp
Thanks, Adam. It seems that onSizeChanged is the way to go. I can cache the last width passed in onSizeChanged and only trigger new work if the width changes. I'm glad you pointed out that onSizeChanged can be called with 0 width; I wouldn't want to do any work in response to that! Just to be c

[android-developers] How to deal with expensive view height calculation?

2011-09-09 Thread Ted Hopp
I asked this question on SOa month ago but got no answer. Maybe I'll have better luck here. :) I keep running into a sizing and layout problem for custom views and I'm wondering if anyo

[android-developers] Re: Broken market update process

2011-08-14 Thread Ted Hopp
Well, it took the better part of two hours, but the updated .apk did finally appear. What a harebrained way of doing things. -- 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@googlegrou

Re: [android-developers] Broken market update process

2011-08-14 Thread Ted Hopp
On Sunday, August 14, 2011 7:00:43 PM UTC-4, TreKing wrote: > > > http://www.google.com/support/androidmarket/developer/bin/request.py?contact_type=publishing > Been there. Done that. > Good luck. > Indeed. To us all. -- You received this message because you are subscribed to the Google G

[android-developers] Broken market update process

2011-08-14 Thread Ted Hopp
The new update process, where the apk and product details tabs operate independently, is horrible. We updated our app by uploading a new apk, clicking "activate" and then clicking "save". We then updated the product details and clicked "save". Now the market shows all the details for the update

[android-developers] When is LICENSED_OLD_KEY returned?

2011-07-04 Thread Ted Hopp
The documentation for application licensingdescribes LICENSED_OLD_KEY as meaning: The application is licensed to the user, but there is an updated application version available that is signed with a different ke

[android-developers] License response codes -- what does a policy actually see?

2011-06-20 Thread Ted Hopp
In the docs on server response extras, I find this: When network problems prevent or interrupt a license check, the Android Market client notifies the application by returning a "RETRY" response code to the Policy's processSe

Re: [android-developers] Layout problem: equal margins in XML

2011-06-12 Thread Ted Hopp
I thought I had addressed that. Assuming that the smaller margins are at least the minimum, then the larger margins should shrink (the ListView should expand in that dimension) until they are equal all around. I think you are right that this cannot be done in XML alone, but I asked hoping that

[android-developers] Layout problem: equal margins in XML

2011-06-12 Thread Ted Hopp
I have a rather involved requirement for a rather simple layout. I have an activity with a single ListView floating in the middle of the screen with a background margin of uniform width all around. So far no problem. Now I need the margin to be as large as possible given the content of the ListV

[android-developers] Accelerometer range

2011-06-11 Thread Ted
I am writing an app that uses accelerometer. After some testings I noticed that the range of values that the app shows is -2g to 2g. http://www.bosch-sensortec.com/content/ ... Rev1.3.pdf states that the range can be switched. How do I switch it to 4g? -- You received this message because you are

[android-developers] Accelerometer range

2011-06-11 Thread Ted
I am writing an app that uses accelerometer. After some testings I noticed that the range of values that the app shows is -2g to 2g. http://www.bosch-sensortec.com/content/ ... Rev1.3.pdf states that the range can be switched. How do I switch it to 4g? -- You received this message because you are

Re: [android-developers] Using one publishing key on two accounts in Android Market & vice versa

2011-05-18 Thread Ted Hopp
Good point about selling app ownership. I take it, then, that the only issues have to do with key management (security; recovery; transfer)? The market itself doesn't care what keys are used where? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Using one publishing key on two accounts in Android Market & vice versa

2011-05-18 Thread Ted Hopp
Are there any downsides to using the same signing key for publishing apps under different Android Market accounts? (Different apps under each account.) Likewise, are there any problems in using different signing keys for different apps in the same account? I would assume not in both cases, but I co

[android-developers] Re: Proguard and onClick attribute

2011-05-01 Thread Ted Hopp
a > feature request (enhancement) at b.android.com if you'd like the tools to > keep these methods. > > > > > > On Sun, May 1, 2011 at 6:55 PM, Ted Hopp wrote: > > Apparently proguard decides that it's an unused method because nothing > > in my code refe

[android-developers] Re: Proguard and onClick attribute

2011-05-01 Thread Ted Hopp
Apparently proguard decides that it's an unused method because nothing in my code references it, and optimizes it away. On May 1, 9:10 pm, a a wrote: > 2011/5/2 Ted Hopp : > > > For every new project, I always have to add the following lines to > > proguard.cfg: > >

[android-developers] Proguard and onClick attribute

2011-05-01 Thread Ted Hopp
For every new project, I always have to add the following lines to proguard.cfg: -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } Otherwise the onClick methods disappear when I publish the app. Is there a way for us to change the default

Re: [android-developers] Re: Developing Android apps for someone else

2011-04-29 Thread Ted Hopp
Thanks, Kostya. I'm curious why the (public) publisher account key would need to be obfuscated. What vulnerability would there be if the key were publicly known? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Developing Android apps for someone else

2011-04-29 Thread Ted Hopp
> The Google Market team is very responsive to requests for transferring your app to a different account. Did the app use the licensing library? If so, I imagine that the process wouldn't be quite so simple as asking the Google team to move it. Wouldn't it involve a new .apk file that used the

[android-developers] Re: Aw: Re: Developing Android apps for someone else

2011-04-29 Thread Ted Hopp
Thanks, Michael. We hadn't thought about the possible need to hand over the signing keys. That's a good argument against using our usual key pair. I'm a bit leery of publishing to one account and then asking the Google team to switch the app to another account. I've read postings here and on S

[android-developers] Re: Developing Android apps for someone else

2011-04-28 Thread Ted Hopp
Thanks, Chris. That seems obvious now that you point it out. :) Is there any reason that they could not use an .apk file signed with our key to publish to their Android Market account? Signing (and then running zipalign) seems like the kind of work that should fall to us as the developers, and

[android-developers] Developing Android apps for someone else

2011-04-28 Thread Ted Hopp
We have developed several apps and published them on Android Market. We are now writing an app that another company will brand and sell through their own publisher account. The other company has no experience with Android Market or with Android development. I'd appreciate any insights from othe

[android-developers] How do I stop the emails

2011-04-07 Thread ted
Somehow when I joined this group yesterday I got listed to be copied on all posts, which is loading my mailbox up too fast. How do I remove my name from the email list? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] LVL does not work while testing

2011-04-06 Thread ted
I followed the developer.android.coml guidelines by copying the LVL source into my project scr folder (it couldn't find the library.ask file if I installed lvl as a library) . I added the manifest attribute and much of the 'sample' code into my apps main activity. When I call this code in my app:

[android-developers] Re: 2.3 Platform Google APIs missing Licensing Service..?

2011-02-14 Thread Ted Hopp
The problem persists in 2.3.3 (API level 10) emulator, at least for us. On Feb 5, 11:36 am, Marcin Orlowski wrote: > > Same code works on version 2.2 of the Google API emulator, but not 2.3 > > of the Google API emulator. > > It's known, confirmed > issue:https://groups.google.com/group/android-

[android-developers] File extensions stripped from some assets and not others

2011-01-18 Thread Ted Hopp
When I add a GZIPed file to my Android project's assets, the ".gz" extension is stripped when the project is packaged in Eclipse. (So, for instance, "foo.gz" in my assets folder needs to be accessed in code using getAssets().open("foo").) This doesn't seem to happen with other extensions (e.g., ".h

[android-developers] Enabling ProGuard in Eclipse

2011-01-18 Thread Ted Hopp
The new documentation on ProGuard (http://developer.android.com/guide/ developing/tools/proguard.html) says to add a line to the default.properties file in the project home directory. However, on opening this file, I read at the top: # This file is automatically generated by Android Tools.

[android-developers] Anyone know where I can buy NFC tags?

2010-12-18 Thread Ted
I'd like to buy some NFC tags for use with the Nexus S / Android 2.3. Anyone know where I can fin such things? What I'm hoping for is a way to purchase some number of tags (~100) and some way of writing to those tags from a mac. -- You received this message because you are subscribed to the

RE: [android-developers] Re: Project on Android

2010-12-15 Thread Ted Neward
Isn't that part of what you're supposed to do? Warwick was kind enough to seed you with some ideas-it's churlish to ask him for complete specs to boot. I hate to be rude, but.. Do your own homework. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking

[android-developers] How to alpha mask a color fill?

2010-12-15 Thread Ted Hopp
I'm given a large number of grayscale images in the form of byte arrays. I want to use the values in each image as an alpha mask for drawing a solid color in a Canvas. The images are fixed but the color changes. I can create Bitmap objects for each image/color combination, but that seems terribl

RE: [android-developers] Re: What Tablet would you get

2010-12-04 Thread Ted Neward
Would love to try the Toshiba, but haven't seen it available yet. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com > -Original Message- > From: android-developers@googlegroups.com [mailto:android- > develop...@g

RE: [android-developers] Android application using other language

2010-09-25 Thread Ted Neward
Google on "Monodroid". Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com   > -Original Message- > From: android-developers@googlegroups.com [mailto:android- > develop...@googlegroups.com] On Behalf Of mishra > Sen

RE: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!

2010-09-04 Thread Ted Neward
y the voluminous cries for response on a number of issues, I'd say they aren't. I want this platform to succeed, but this is not how a company goes about making that happen. :-/ Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.co

RE: [android-developers] Re: Calling Tomcat server API's from Android app

2010-09-04 Thread Ted Neward
What you need (it sounds like) is the Spring Remoting client and whatever other Spring bits it uses to compile & run successfully on the Android platform. It "should" work, in that I don't think there's anything in there that they need that isn't provided on Android, b

  1   2   >