[android-developers] Unable to create new android application

2013-02-21 Thread Stu Guru
on "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) ADT: v21.0.1-543035 OS: 10.8.2 (Mountain Lion) I am the computer administrator Thanks Stu -- -- You received this message because you

[android-developers] Re: Handling Strange Phones

2012-11-12 Thread Stu
You could release another version of your app called "My App (for Pantech)" that has this permission, then notify the user that they have the wrong version, either when they try to send a message, or on home activity startup. -- You received this message because you are subscribed to the Googl

[android-developers] Confused about signature process to verify purchases

2012-11-11 Thread Stu
After any exchange between the app and Google play to purchase some goods, the app must then forward this request to some external content-delivery server requesting that the purchased goods be delivered. Obviously, there is no way to prevent the user from modifying the source code of their app

[android-developers] Best way to live demo apps

2010-05-28 Thread Stu
from the camera. Any ideas? What's the best way to live demo Android apps to large audiences? - Stu -- 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.co

[android-developers] SimpleCursorAdapter to Spinner getting CursorIndexOutOfBoundsException

2008-11-16 Thread Stu
Hi everyone. I'm trying to populate a spinner from a database. I've been debugging it slowly to see what's going wrong. I have created my own database which is packaged in the asset directory and moved over to /data/data/my.app/databases/myappdata when the application is launched. I've written a

[android-developers] Re: Including SQLite database with application

2008-11-15 Thread Stu
Hi Mark, thanks for your help. I guess I'll just have a play around with a couple of those suggestions and see which one works for me. :) Regards, Stuart. On Nov 15, 9:57 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Stu wrote: > > I'm unable to find how I can

[android-developers] Including SQLite database with application

2008-11-15 Thread Stu
Hi everyone. I'm writing an application that uses an SQLite database. The data is not going to be different between one device or another, and it does not need to be changed by the program at any point. I'm unable to find how I can ship my database with my application. There are a few old thread

[android-developers] Handle tap on MyLocationOverlay current GPS position

2008-11-09 Thread Stu
Hi there. I'm having trouble handling a tap on my current location in a MyLocationOverlay. There seem to be functions specifically for this, but I can't seem to handle it correctly. My class look like this: public class MyApp extends MapActivity implements LocationListener { and when I try to

[android-developers] Need help using hat to track down memory usage

2008-11-05 Thread Disco Stu 010
Hello, While perusing the source code, came across a shell function that envsetup.sh defines called "runhat". Judging by the parameters, etc., to this function, it allows one to get a heap-dump for a given application. This dump can then be analyzed by the tools "hat" and "jhat". Has any

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-10-14 Thread Disco Stu 010
Hi Romain Guy, What is the attribute you mention below that makes ListView items selectable or focusable? i.e., how/what does one change to make ListView items focusable by default (and not selectable)? Thanks, Nitin. On Aug 27, 2008, at 1:28 PM, Romain Guy wrote: > >> So, in conclusion, I

[android-developers] ViewGroup and LayoutAnimation question

2008-10-08 Thread Disco Stu 010
Hello, A question on how a Layout animation works with a ViewGroup object such as a ListView. As shown in many ApiDemo examples, when the screen is first rendered/layed-out, the animation sequence runs nicely. How can one get the Layout animation to re-play on demand. I have tried two diff

[android-developers] Programmatic scrolling of a ListView?

2008-10-07 Thread Disco Stu 010
Hello, When we use setSelectionFromTop(), the list adjusts itself so that the selection is positioned some y pixels from the top. However, this happens in a somewhat 'sudden' manner. Is it possible to make this animated where the list appears to smoothly scroll and then settles in its f

[android-developers] Re: WebView unable to display www.google.com?

2008-09-22 Thread Disco Stu 010
As always, Mark Murphy to the rescue. Thanks a bunch, Mark. Regards, DS. PS: Any thoughts on another problem I posted earlier about focus issues when a WebView partially obscures a ListView? - DS. On Sep 22, 2008, at 3:55 PM, Mark Murphy wrote: > >> Here is a simple test activity that is una

[android-developers] WebView unable to display www.google.com?

2008-09-22 Thread Disco Stu 010
Hi, Here is a simple test activity that is unable to show www.google.com. However, www.yahoo.com shows properly. It is strange that the same URL, "http://www.google.com/"; renders just fine in the web browser application built into the SDK. Any ideas? Thanks, DS. public class WebVie

[android-developers] Bug in focus handling between WebView and ListView

2008-09-20 Thread Disco Stu 010
Hello folks, There appears to be a bug in focus handling when a WebView is partially overlapping a ListView. I am able to reproduce this problem via a simple change to one of the ApiDemos example. If you change the file ApiDemos/res/layout/linear_layout_9.xml to be as given below, and run

[android-developers] Question about NPE in AdapterView.rememberSyncState()

2008-08-26 Thread Disco Stu 010
Hello, Hoping for an answer from the Android team on this one. Could you please shed some light on the following NPE? ERROR/AndroidRuntime(1789): java.lang.NullPointerException ERROR/AndroidRuntime(1789): at android.widget.AdapterView.rememberSyncState(AdapterView.java:799) ERROR/Androi

[android-developers] Re: Is a Dialog completely modal?

2008-07-10 Thread Disco Stu 010
touch events: > > Dialog > .getWindow > ().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL); > > On Jul 9, 8:09 am, Disco Stu 010 <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Have a question w.r.t the Dialog object. Is it at all possible to >> hav

[android-developers] Is a Dialog completely modal?

2008-07-09 Thread Disco Stu 010
Hi, Have a question w.r.t the Dialog object. Is it at all possible to have a Dialog object overlaid on an Activity such that if a touch event is registered outside the bounds of the Dialog, then the event is sent to the View behind the Dialog. From what little experiments I have done, it

[android-developers] Re: How does "deleteRow" work in a Cursor object

2008-07-08 Thread Disco Stu 010
the next SDK. > > On Tue, Jul 8, 2008 at 4:10 PM, Disco Stu 010 > <[EMAIL PROTECTED]> wrote: >> >> Hey Mark, >> >> Thanks again. I had reached the same conclusion as you that >> Cursor.deleteRow() should result in a DataProvider.delete with some &g

[android-developers] Re: How does "deleteRow" work in a Cursor object

2008-07-08 Thread Disco Stu 010
Hey Mark, Thanks again. I had reached the same conclusion as you that Cursor.deleteRow() should result in a DataProvider.delete with some URI. However, I dont see that happening. I added a Log.w statement to query(), insert(), delete() and update() methods of the data provider and only q

[android-developers] How does "deleteRow" work in a Cursor object

2008-07-08 Thread Disco Stu 010
Hello, Hope some experts can shed light on the workings of a Cursor object. Lets refer to the NotesList sample project accompanying the SDK. Here we have a ContentProvider that returns the results of a query as a Cursor object. The recipient of the Query can use this Cursor object whicheve

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hi Mark, I think I got it now :) Thanks a bunch for all your help. Regards. On Jul 1, 2008, at 4:19 PM, Mark Murphy wrote: > >> Can you please also clarify what do you mean by "use the same >> instance >> as the convertView" parameter? Dont I need a new View instance for >> every cell being

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hi Mark, Thanks for the detailed explanation. This helps tremendously. Can you please also clarify what do you mean by "use the same instance as the convertView" parameter? Dont I need a new View instance for every cell being displayed? i.e., if displaying 5 TextView rows at the same time,

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hey Mark, Thanks for the explanation. Most helpful. I now understand that one can have any view to render a row by overriding the getView() method. My original question though still stays. If given a "resource id" for a view, how can one create multiple instances of that view? Can I simply

[android-developers] How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hello, A question for the experts on how ListActivity does its job. My understanding of the documentation is that to give a custom look to ListActivity, one needs to provide a template View (through setContentView) that contains a ListView object with the ID "list". ListActivity then proce

[android-developers] Re: Question about LayoutAnimation2.java from the ApiDemos sample project

2008-06-27 Thread Disco Stu 010
Hi, Thanks for your response. Certainly clarifies a few things. The sample code has been immensely valuable in getting a better understanding of the Android APIs. I totally understand the 'too many things to do' problem, I have been guilty of that many times. However, I would like to respe