[android-developers] Re: Jelly bean http post basic authantication give No authentication challenges found exception.

2013-01-21 Thread John Gaby
I don't know if this will help, but I had a similar problem a while back. Only in my case, it worked in the newer versions of Android, but not in the older versions. After consulting with the people running the server that I was trying to connect to, I found the problem. In the header, I was

[android-developers] Re: Updating app with keystore not being valid long enough

2012-11-08 Thread John Gaby
I too would like the answer to this. I have an app that appears to be only 1 year away from not being updatable anymore. On Tuesday, November 6, 2012 5:32:14 AM UTC-8, Kevin Penhoat wrote: Is there any way to change my keystore values so it'll be valid longer? When I uploaded the app it was

Re: [android-developers] Re: [Android LVL] Sporadic false negatives on client devices

2012-10-30 Thread John Gaby
I also have a small number of users who fail the LVL test ( 1%). My solution is to have my app call my website first to ask if it should do the LVL test. That way, if a user contacts me that it is not working I can set it up so that his device no longer performs the check. I actually

[android-developers] Re: Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

2012-03-30 Thread John Gaby
If you are using the emulator, you can change the size of the internal storage by adding the following command line argument when you launch the emulator: -partition-size 200 On Mar 30, 2:37 am, Kirupa answerofandr...@gmail.com wrote: [2012-03-30 15:05:16 - Information Exchanger 2.7.3]

[android-developers] setRequetProperty seems to change the case of the Field string to lowercase on pre 2.3 Android devices

2012-01-06 Thread John Gaby
I am having a problem with setRequestProperty on pre 2.3 versions of Android. I am trying to implement an OAuth2 protocol to connect to a website (which is not under my control), and it requires the header field 'Authorization' to have the first letter capitalized. Since setRequestProperty is

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Gaby
Thanks for the suggestions. I had the user try taking out the battery but it didn't help (I HAD previously had him reboot his phone which didn't work either). I am beginning to think that there is something screwed up with the permissions as you suggest. I have actually had a similar problem on

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Gaby
You are, of course, correct. I just wanted to understand what is happening here so that I can determine whether it is my fault or not, and whether I am going to have others that have this problem. The reality is that for every person that takes the time to report a problem there are probably

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Gaby
Thanks for all your help, the user does not have root access and is not willing to reset his phone. Rebooting the phone also does not help (or so he tells me). So I guess that he is simply stuck with his current version. Thanks again. On Dec 5, 12:39 pm, mot12 martin.hu...@gmail.com wrote: I

[android-developers] User cannot install an update

2011-12-04 Thread John Gaby
I have a user who is trying to install an update and it is failing. He has sent me the logcat and it seems to be failing because of some kind of incompatibility with the shared UserID. However, I am able to install the same update over the same old version without this problem. Here is the

[android-developers] Re: User cannot install an update

2011-12-04 Thread John Gaby
There is one more relevant point. I have had the user completely uninstall the app and re-install the new version and the above log is what he is seeing -- 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] ListView + EditText

2011-11-01 Thread John Gaby
I have a ListView which displays rows which can have a variety of controls. If the row contains TextViews, ImageViews, and/or Buttons, everything works as expected. However, if I add a EditText control to a row, then I no longer seem to be able to select a row (touching outside of the EditText

[android-developers] Re: This application is available to over 0 devices

2011-10-13 Thread John Gaby
You wer correct in that when I activated the APK the number is shown correctly. Thanks for your help. On Oct 12, 7:38 pm, J Handal jhand...@gmail.com wrote: Are you saying that I will not be able to see the correct number of devices until I activate the APK Yes. Then you click on publish.

[android-developers] This application is available to over 0 devices

2011-10-12 Thread John Gaby
I have uploaded an APK file for a new app, and it is telling me that 'This application is available to over 0 devices'. The Manifest for this app is nearly identical to another of my apps which shows it being compatible with over 600 devices. Does anyone have any idea what might be wrong? If I

[android-developers] Re: This application is available to over 0 devices

2011-10-12 Thread John Gaby
Are you saying that I will not be able to see the correct number of devices until I activate the APK (I don't remember it working this way before)? If I do activate the APK, will that automatically publish, or will I still be able to do that later? Thanks. On Oct 12, 6:46 pm, J Handal

[android-developers] Replacing an APK file for a not yet published app

2011-08-16 Thread John Gaby
I have created a new app and uploaded an APK file but have not published it. Now I would like to replace the APK file with a different one. If I try and upload another with the same version code, it will not accept it. If I try and delete the existing APK file first, the ENTIRE freaking app is

[android-developers] Re: Replacing an APK file for a not yet published app

2011-08-16 Thread John Gaby
, TreKing treking...@gmail.com wrote: On Tue, Aug 16, 2011 at 6:54 PM, John Gaby jg...@gabysoft.com wrote: Surely, there is a way to replace the APK file for a non- published app without having to re-enter all of the other meta data. I used to be able to do this. You'd think, but doesn't look like

[android-developers] ImageView scaling produces poor results

2011-08-03 Thread John Gaby
I have an ImageView control, and if the image in question needs to be scaled down, it seems to be down, the quality of the resulting image is very poor. I have looked for a way to control the scaling (e.g. set it to bicubic), but am unable to find a way to do it. Can someone tell me how to

[android-developers] App Icon not present on Samsung Tablet

2011-06-20 Thread John Gaby
I have a customer with a Samsung Tablet and he tells me that the app Icon does not show in his list of applications. It does show on the settings page, however, and if he goes to it using the Android Market, he can launch it from there. I do not have a Samsung Tablet to try. Can anyone tell me

[android-developers] Re: App Icon not present on Samsung Tablet

2011-06-20 Thread John Gaby
? The Galaxy Tab does not sort the application list as one would expect - it seems to sort all the bloatware apps alphabetically, but the user installed apps appear in the order they were installed and not alphabetically, so it may be there. On Jun 20, 2:28 pm, John Gaby jg...@gabysoft.com wrote

[android-developers] Re: App Icon not present on Samsung Tablet

2011-06-20 Thread John Gaby
as I got tired of looking for stuff myself. On Jun 20, 3:43 pm, John Gaby jg...@gabysoft.com wrote: The app is Quizard Flashcards.  There is also a lite version, but I am not sure if it is happening with that one as well.  I will ask the user to scroll down through the entire list to see

[android-developers] I am trying to receive broadcast datagrams

2011-06-15 Thread John Gaby
I would like to be able to receive broadcast datagrams. I am using the following code: public void Receive() { EnableMulticast(); String text; byte[] message = new byte[1500]; DatagramPacket p = new DatagramPacket(message, message.length); try {

[android-developers] Website not working when displayed in a WebView

2011-06-12 Thread John Gaby
I have a website which has a forum, and if I view the site using the phone's browser, it works fine. However, if I view the site from within a WebView inside my app, some of the buttons do not work. For example, if I click the 'New Post' button, nothing happens when in a WebView, but it works

[android-developers] Re: Website not working when displayed in a WebView

2011-06-12 Thread John Gaby
Never mind, I see that I needed to enable Java Script for the WebView. On Jun 12, 10:02 am, John Gaby jg...@gabysoft.com wrote: I have a website which has a forum, and if I view the site using the phone's browser, it works fine.  However, if I view the site from within a WebView inside my app

[android-developers] Re: Received authentication challenge is null

2011-06-11 Thread John Gaby
incorrect times, and fixing the times fixed the problem. On Jun 10, 7:30 pm, John Gaby jg...@gabysoft.com wrote: I am trying to connect to a site using the oAuth protocol, and I am getting the exception 'Received authentication challenge is null' on some devices when I attempt to make a https post.  Now

[android-developers] Received authentication challenge is null

2011-06-10 Thread John Gaby
I am trying to connect to a site using the oAuth protocol, and I am getting the exception 'Received authentication challenge is null' on some devices when I attempt to make a https post. Now this was previously working in the emulator, but I now see the error there as well. I did a web search,

[android-developers] Re: Comments/Ratings not showing up on Market

2011-05-21 Thread John Gaby
I have had this happen at least 3 times. A user told me that they has submitted a review, but I could not see it. I asked them about it and they send me a screen shot clearly showing the review, however, when I looked at the same page it simply was not there. There is something definitely fubar

[android-developers] Controlling allowed orientations at runtime

2011-05-13 Thread John Gaby
I have an application which I want to behave differently depending on whether it is installed on and phone or tablet sized device. On the phone devices, I want to support both portrait and landscape mode. When it is installed on a tablet device, I wish to only support landscape. Now, using the

[android-developers] Re: HttpsURLConnection's getResponseCode() returns -1

2011-05-11 Thread John Gaby
On May 11, 3:36 am, John Gaby jg...@gabysoft.com wrote: I am trying to use HttpsURLConnection to connect to a secure site, and it is failing and getResponseCode() is returning -1.  The following is the code that I am using.  Note that this very same code works in other cases.  Can anyone give

[android-developers] HttpsURLConnection's getResponseCode() returns -1

2011-05-10 Thread John Gaby
I am trying to use HttpsURLConnection to connect to a secure site, and it is failing and getResponseCode() is returning -1. The following is the code that I am using. Note that this very same code works in other cases. Can anyone give me a clue as to why I might get the -1, and how I can get

[android-developers] Notification bar always shown on ViewSonic g tablet

2011-04-20 Thread John Gaby
I have an app which hides the title and notification bar and runs full screen. I use the following line in the manifest to accomplish this: android:theme=@android:style/Theme.NoTitleBar.Fullscreen This seems to work find on phones and some tablets that I have tried. However, on the ViewSonic g

[android-developers] Re: Notification bar always shown on ViewSonic g tablet

2011-04-20 Thread John Gaby
, Apr 20, 2011 at 4:52 PM, John Gaby jg...@gabysoft.com wrote: I have an app which hides the title and notification bar and runs full screen.  I use the following line in the manifest to accomplish this: android:theme=@android:style/Theme.NoTitleBar.Fullscreen This seems to work find

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread John Gaby
Kostya asked if you were running under the debugger. This is relevant because previously I too had a memory leak involved with ListViews and eventually discovered that it only happened if I was running under the debugger. So if you are running under the debugger, you might check it without the

[android-developers] Strange problem with SurfaceView on a tablet device

2011-03-29 Thread John Gaby
I am trying to create a class that extends SurfaceView which I am using to animate some images. On a particular tablet device (800x600), if I create an instance of my view and set it as the main view (i.e by calling setContentView), it works fine, even in landscape mode where the with is 800

[android-developers] Re: Strange problem with SurfaceView on a tablet device

2011-03-29 Thread John Gaby
As an update, I have further discovered that if I make the width 800 (i.e. the width of the display in landscape mode), then it will work properly even if it is a child of a LinearLayout. It only seems to fail if the size is somewhere between 700 and 800 pixels. On Mar 29, 5:52 pm, John Gaby jg

[android-developers] Bonjour client for android?

2011-03-12 Thread John Gaby
I would like to be able to create an app which can discover and communicate with servers running on a PC using Windows or OSX. This is very easy to do using Apple's Bonjour, but there does not seem to be any implementation of this for Android. Does anyone know of a way to do this for Android

[android-developers] Re: How to make apps installable to SD card keeping them compatible to version 2.1 and lower ?

2011-03-02 Thread John Gaby
You have to use the 2.2 SDK when you build, but you can still set the minSdkVersion to an earlier version. You just need to make sure that you don't make any calls which are specific to 2.2 when running on an earlier version. On Mar 1, 2:17 am, Arpit Mittal m.ar...@gmail.com wrote: Hi, I have

[android-developers] Deleting cached SD card files on uninstall

2011-02-17 Thread John Gaby
I am downloading and caching some files to the SD card. I am placing the files at: /Android/data/com.gabysoft.myapp When the app is uninstalled, on some phones (e.g. the emulator and Motorola Droid), these files are automatically delete (which is what I want). On other phones (e.g. HTC Hero

[android-developers] Re: Deleting cached SD card files on uninstall

2011-02-17 Thread John Gaby
As a clarification, I am placing the files in the SD card folder as obtained via a call to getExternalStorageDirectory(), e.g: /sdcard/Android/data/com.gabysoft.myapp On Feb 17, 8:40 am, John Gaby jg...@gabysoft.com wrote: I am downloading and caching some files to the SD card.  I am placing

[android-developers] Re: Deleting cached SD card files on uninstall

2011-02-17 Thread John Gaby
So there is no way to clean up my files on pre 2.2 systems? On Feb 17, 8:52 am, Mark Murphy mmur...@commonsware.com wrote: You can't. Deleting files on uninstall via getExternalFilesDir() was added in API Level 8 (a.k.a., Android 2.2). On Thu, Feb 17, 2011 at 11:40 AM, John Gaby jg

[android-developers] Cannot install App on HTC Hero

2011-02-03 Thread John Gaby
I have an application (which contains an NDK component) which will not install on my HTC Hero (OS ver = 2.1u1) It does install on the emulator, and on a Motorola Droid (OS ver = 2.2). The following is the logcat which seems to indicate some problem with installing my .so file. Does anyone have

[android-developers] Re: Cannot install App on HTC Hero

2011-02-03 Thread John Gaby
has a different processor from the Motorola Droid / Milestone)? -- Kostya 03.02.2011 23:19, John Gaby пишет: I have an application (which contains an NDK component) which will not install on my HTC Hero (OS ver = 2.1u1) It does install on the emulator, and on a Motorola Droid (OS ver

[android-developers] Re: TextView with a top margin that is proportional to the height of the parent view

2011-01-29 Thread John Gaby
That works great. Thanks! On Jan 29, 12:46 am, Kostya Vasilyev kmans...@gmail.com wrote: John, You can do this with LinearLayout and layout_weight attribute that it supports: LinearLayout layout_height=fill_parent orientation=vertical View layout_height=0dp layout_weight=20/ TextView

[android-developers] TextView with a top margin that is proportional to the height of the parent view

2011-01-28 Thread John Gaby
Is there a way to position text within a linear layout such that the position of the text is proportional to the height, rather than a fixed distance. For example, I would like the text to be displayed down from the top a distance equal to 20% of the height of the view. Thanks. -- You received

[android-developers] Re: Data Transfer between Android Phone and PC

2011-01-24 Thread John Gaby
You might take a look at: http://code.google.com/p/android-notifier/ On Jan 22, 5:43 pm, Joseph bates josephbate...@gmail.com wrote: So, I'm in the early stages of developing an Android app that is supposed to transfer data between it and the PC (Windows Only for now). Not really files, but

[android-developers] Sharing files between apps

2011-01-16 Thread John Gaby
I have two applications which can access each others files. To get a path to a file in the other app, I am using the context.getDir(...) function to get a path to the file for the running app, and then changing the package name component of that path to the package name of the other app. This

[android-developers] Re: Sharing files between apps

2011-01-16 Thread John Gaby
, 2011 at 2:27 PM, John Gaby jg...@gabysoft.com wrote: I have two applications which can access each others files.  To get a path to a file in the other app, I am using the context.getDir(...) function to get a path to the file for the running app, and then changing the package name component

[android-developers] Re: Sharing files between apps

2011-01-16 Thread John Gaby
16, 2011 at 4:21 PM, John Gaby jg...@gabysoft.com wrote: This seems to be what I am looking for, however, when I call it with the package name of the other app, it returns null (I get nothing from logCat either).  I can use the PackageManager and retrieve the info for that same package, so I

[android-developers] Re: Sharing files between apps

2011-01-16 Thread John Gaby
. Thanks for the help and suggestions. On Jan 16, 5:57 pm, Dianne Hackborn hack...@android.com wrote: On Sun, Jan 16, 2011 at 5:19 PM, John Gaby jg...@gabysoft.com wrote: The following is the routine that I wrote to test the function.  The call to manager.getPackageInfo works, but the call

[android-developers] App Widget disappears on reboot

2011-01-15 Thread John Gaby
I have an App Widget which I place on my home screen. It seems to work fine, but when I reboot the phone, it is not only gone from the home page, but is missing from the App Widget list, so I cannot add it again. Does anyone have any idea what might be going on here? Thanks. -- You received

[android-developers] Re: App Widget disappears on reboot

2011-01-15 Thread John Gaby
, 2011 at 8:11 PM, John Gaby jg...@gabysoft.com wrote: I have an App Widget which I place on my home screen.  It seems to work fine, but when I reboot the phone, it is not only gone from the home page, but is missing from the App Widget list, so I cannot add it again.  Does anyone have any idea

[android-developers] Re: App Widget disappears on reboot

2011-01-15 Thread John Gaby
You have to admit, that's not a reasonable expectation for the user having to download a seperate app. It's an invitation to 1-stars (and understandably so) if the user cannot find the widget. Yes, that is what I was thinking as well (I was asking if there was an automatic way to install a

[android-developers] Variable size App Widget

2011-01-15 Thread John Gaby
Is there a way to allow the user to choose the size of the App Widget when he places it on his Home screen? I tried creating 2 receiver ... /receiver sections in the manifest for 2 different sizes, but only the first shows up. Thanks -- You received this message because you are subscribed to

[android-developers] Re: Screen rotation with App Widgets loses onClick connection

2011-01-14 Thread John Gaby
RemoteView update I had send all the pendingintent to make it work On Jan 14, 4:26 pm, John Gaby jg...@gabysoft.com wrote: I have an App Widget on the Home screen which works fine until the screen is auto-rotated.  At that point, the onClick connection (set up via a call

[android-developers] Re: Android phone for development

2011-01-14 Thread John Gaby
I am using a Motorola Droid and an HTC Hero (both purchased used through ebay), and find them to both work well. The phone does not need to be rooted or unlocked, and no phone service is required, unless your app make use of phone services. Also if you want to be able to test on a lot of

[android-developers] Re: Screen rotation with App Widgets loses onClick connection

2011-01-14 Thread John Gaby
Got it, thanks! On Jan 14, 8:27 am, Kostya Vasilyev kmans...@gmail.com wrote: [see below] 2011/1/14 John Gaby jg...@gabysoft.com There is no onUpdate on configuration changes. The home screen recreates your widget, then takes the most recent RemoteViews and applies it to the widget

[android-developers] Screen rotation with App Widgets loses onClick connection

2011-01-13 Thread John Gaby
I have an App Widget on the Home screen which works fine until the screen is auto-rotated. At that point, the onClick connection (set up via a call to setOnClickPendingIntent) is lost. The only way I seem to be able to get it back is to delete the Widget from the Home screen and then add it

[android-developers] Re: App Widget

2011-01-11 Thread John Gaby
AppWidgetManager manager = AppWidgetManager.getInstance(context); That is exactly what I needed, thanks much! On Jan 11, 12:21 am, Kostya Vasilyev kmans...@gmail.com wrote: 11.01.2011 5:14, John Gaby пишет: I tried adding a class member variable, 'm_appWidgetManager', which I set during

[android-developers] Re: App Widget

2011-01-11 Thread John Gaby
persistent data associated with my widget? That is how can I store data that will still be present on the next call (other than writing it to disk)? Thanks On Jan 11, 12:21 am, Kostya Vasilyev kmans...@gmail.com wrote: 11.01.2011 5:14, John Gaby пишет: I tried adding a class member variable

[android-developers] Debugging App Widgets

2011-01-11 Thread John Gaby
I am trying to debug an App Widget and I find that if I set a breakpoint in the onReceive message, that I can only leave it stopped in the debugger for 30 seconds or so, before my process is killed. If I look in logcat, I see line about a 'Timeout of broadcast BroadcastRecord...' and then my

[android-developers] Re: JNI working

2011-01-11 Thread John Gaby
I believe that there are devices (e.g. some tablets) out there that use MIPS processors rather than ARM. Correct me if I am wrong, but I do not believe that code compiled for an ARM device will work on a MIPS device. On Jan 11, 11:35 am, Kumar Bibek coomar@gmail.com wrote: Yes, It will work

[android-developers] App Widget

2011-01-10 Thread John Gaby
I am trying to create an App Widget for the Home screen which displays a line of text. When the user clicks on the Widget, I want the text to change. I have pieced together the following which seems to work, however I am concerned about how I am providing access to the AppWidgetManager in the

[android-developers] Re: First attempt at LVL Licensing

2011-01-09 Thread John Gaby
It has been my experience that LVL CANNOT be fully tested before publishing. Like you, I found that an unpublished app returns inconsistent results. If I set the response to denied, for example, on some phones I got the correct result, and on others I did not. After I published the app, it did

[android-developers] Re: App Add-on

2011-01-08 Thread John Gaby
that if the enabling app was uninstalled, you would no longer be able to access the new features. Also, your users would not get duplicate icons in their launcher if you don't provide a main activity. - Brill Pappin On Jan 7, 1:55 pm, John Gaby jg...@gabysoft.com wrote: I have a game for which I

[android-developers] App Add-on

2011-01-07 Thread John Gaby
I have a game for which I would like to be able to sell add-on packs. I would prefer that there was some in-game way to make these purchases, but, alas, there does not appear to be any such mechanism. I am considering the idea of creating separate add-on apps which, when run, would add features to

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
: On Fri, Jan 7, 2011 at 12:55 PM, John Gaby jg...@gabysoft.com wrote: I mean, the user will be able to purchase the add-on, run it, and then request a refund, which would result in them getting it for free.  Has anyone else had experience with this model? I have not, but presumably your

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
in that direction would be most appreciated. Thanks. On Jan 7, 11:16 am, TreKing treking...@gmail.com wrote: On Fri, Jan 7, 2011 at 1:06 PM, John Gaby jg...@gabysoft.com wrote: Yes, I would check for the existence of the add-on, however, it is likely that the user would like to get rid of it at some point

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
run? Has anyone used this model before? If so can you tell me what kind of problems with users you encountered? Thanks. On Jan 7, 11:48 am, TreKing treking...@gmail.com wrote: On Fri, Jan 7, 2011 at 1:42 PM, John Gaby jg...@gabysoft.com wrote: So, it is possible to setup the intent so the app

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
an in-app purchase mechanism like Apple (or would allow the use of 3rd party in-app purchasing like PayPal). Maybe I need to rethink this whole concept. Thanks much for your help! On Jan 7, 12:51 pm, TreKing treking...@gmail.com wrote: On Fri, Jan 7, 2011 at 2:46 PM, John Gaby jg...@gabysoft.com wrote

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
: On Fri, Jan 7, 2011 at 3:22 PM, John Gaby jg...@gabysoft.com wrote: I know.  I really wish that Google had an in-app purchase mechanism like Apple (or would allow the use of 3rd party in-app purchasing like PayPal).  Maybe I need to rethink this whole concept. Take a look

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
and using the webview control? Then using an external SQL server to manage your subscription for the add ons? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of John Gaby Sent: Friday, January 07, 2011 5:04 PM

[android-developers] Protecting files on non-rooted phones

2011-01-07 Thread John Gaby
I find that, when using a actual device that is not rooted, that I cannot see the contents folders created by my application. However, if I know the exact name and path of a file, I CAN pull or push it using ADB. Is there a way to prevent external access to application files (on a non-rooted

[android-developers] Re: Protecting files on non-rooted phones

2011-01-07 Thread John Gaby
as world readable or writeable, then the shell will be able to read/write those files as indicated. On Fri, Jan 7, 2011 at 3:41 PM, John Gaby jg...@gabysoft.com wrote: I find that, when using a actual device that is not rooted, that I cannot see the contents folders created by my application

[android-developers] Re: Protecting files on non-rooted phones

2011-01-07 Thread John Gaby
exactly when it went in.  Maybe 2.3?  It is the run-as command. On Fri, Jan 7, 2011 at 5:42 PM, John Gaby jg...@gabysoft.com wrote: I must be setting the files as world readable then. I didn't know that if the app was debuggable that you could change the shell to run as an app uid.  Can

[android-developers] Re: LVL: possible to check license for a different app?

2011-01-06 Thread John Gaby
Interesting idea, but I do not believe that the Market will let you publish a free app which asks for CHECK_LICENSE permissions, so I don't think that your free app will not be allowed to use LVL. On Jan 6, 7:41 am, Brill Pappin br...@pappin.ca wrote: No, you don't remove LVL so its still used

[android-developers] Re: app2sd - not working

2011-01-05 Thread John Gaby
I believe that installing on the SD card is supported only for 2.2 devices (or higher). Your program will install on earlier versions, but it will not install to the SD card. On Jan 5, 6:12 am, André pha...@hotmail.com wrote: So what could be the problem if I have minsdkversion 4 and put

[android-developers] Re: Reusing BitmapDrawable objects

2011-01-03 Thread John Gaby
Thanks. On Jan 2, 10:59 pm, Doug beafd...@gmail.com wrote: Look into bitmap mutations? http://developer.android.com/resources/articles/drawable-mutations.html On Dec 31 2010, 11:22 pm, John Gaby jg...@gabysoft.com wrote: I have custom skinned buttons.  I set the bitmaps for the button

[android-developers] Re: Memory Leak in 1.6

2011-01-02 Thread John Gaby
sample of code will be helpful. Cheers, Prateek On Jan 1, 12:32 am, John Gaby jg...@gabysoft.com wrote: I seem to have a memory leak when running under version 1.6 of the OS.  I have a custom view group which contains some controls and I set it to be the current view via a call

[android-developers] Memory Leak in 1.6

2010-12-31 Thread John Gaby
I seem to have a memory leak when running under version 1.6 of the OS. I have a custom view group which contains some controls and I set it to be the current view via a call to setContentView(vg). If I then create a second view group and set it as the active view via setContentView(newVg), the

[android-developers] Reusing BitmapDrawable objects

2010-12-31 Thread John Gaby
I have custom skinned buttons. I set the bitmaps for the button backgrounds using the addState method of the StateListDrawable class and pass in a BitmapDrawable which is loaded from a file on the SD card. Now I am having out of memory issues, so I thought that I would try and cache the

[android-developers] Re: Unique Phone ID

2010-12-23 Thread John Gaby
You could use ANDROID_ID, but be warned that I have found devices that return null for this value. http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID John On Dec 23, 10:21 am, Tommy droi...@gmail.com wrote: Hey evereyone, I was wondering if there is a

[android-developers] Horizontal Vertical Scroll View

2010-12-22 Thread John Gaby
I need to be able to have a view which scrolls both horizontally and vertically (e.g. like a browser view). I have seen several posts where people have put a horizontal scroll view inside a vertical scroll view. I have tried to do that, but I only get vertical scrolling. The following is the

[android-developers] Re: Horizontal Vertical Scroll View

2010-12-22 Thread John Gaby
.  You probably just want to take the implementation of scroll view and modify it to suit your needs. On Wed, Dec 22, 2010 at 3:21 PM, John Gaby jg...@gabysoft.com wrote: I need to be able to have a view which scrolls both horizontally and vertically (e.g. like a browser view).  I have seen

[android-developers] Handling multi-byte Unicode strings in native code

2010-12-03 Thread John Gaby
How do I detect a lead byte within Unicode string from native code. I have used 'isleadbyte' in the past, but that function does not seem to be present in the NDK. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Handling multi-byte Unicode strings in native code

2010-12-03 Thread John Gaby
Drat, posted to the wrong group. Sorry. On Dec 3, 7:48 am, John Gaby jg...@gabysoft.com wrote: How do I detect a lead byte within Unicode string from native code.  I have used 'isleadbyte' in the past, but that function does not seem to be present in the NDK. Thanks. -- You received

[android-developers] Re: Memory Leak with a ListView revisited

2010-11-24 Thread John Gaby
-listview-app-is-... If anyone could point out what im doing so terribly wrong with my code it would be much appreciated. TZ On Oct 22, 5:41 am, John Gaby jg...@gabysoft.com wrote: First, let me say that this is just a very simple sample application to illustrate the problem.  My real

[android-developers] Re: Android market free app unchanged for the last 4 days

2010-11-22 Thread John Gaby
My paid apps are updating, but not my free apps. On Nov 22, 5:21 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 22 November 2010 12:05, Nacho Pintos nacho.pin...@gmail.com wrote: Same here, both paid and Free, since last Thursday Mine updates -- You received this message because

[android-developers] Can I get a web link to my newly published app

2010-11-16 Thread John Gaby
I have just published my application and would to be able to provide a link on my website that will show my application? Also, if they browse to my website on their phone, is there some kind of link I can add that the user can click on that will take them to the market to download my app?

[android-developers] Re: Can I get a web link to my newly published app

2010-11-16 Thread John Gaby
for Android. Pity. On Nov 16, 12:45 pm, TreKing treking...@gmail.com wrote: On Tue, Nov 16, 2010 at 2:30 PM, John Gaby jg...@gabysoft.com wrote: I have just published my application and would to be able to provide a link on my website that will show my application? Show your application where

[android-developers] Re: Android Market Licensing Problem

2010-11-16 Thread John Gaby
In case anyone is interested, I have published my app and it now reports NOT_LICENSED properly. Still, it seems like all someone has to do to steal the app is to get the .apk file, change the Package name, and upload it to Google and not publish. At that point, anyone with a valid Google account

[android-developers] Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread John Gaby
I am using the following to obtain the ANDROID_ID for the device: Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID); Unfortunately this is returning null on 1.6 system (emulator and actual devices). I have also tried using Settings.Secure.ANDROID_ID; which is

[android-developers] Re: Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread John Gaby
. On Mon, Nov 15, 2010 at 6:52 PM, John Gaby jg...@gabysoft.com wrote: I am using the following to obtain the ANDROID_ID for the device: Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID); Unfortunately this is returning null on 1.6 system (emulator and actual

[android-developers] Re: Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread John Gaby
group of thoughtful, committed people can change the world. Indeed. It is the only thing that ever has - Margaret Mead On 15/11/2010 4:17 PM, John Gaby wrote: I just double checked it on a Motorola Devour running 1.6 and it is definitely returning a null.  I will see if I can find another

[android-developers] Re: Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread John Gaby
, 4:17 pm, John Gaby jg...@gabysoft.com wrote: I just double checked it on a Motorola Devour running 1.6 and it is definitely returning a null.  I will see if I can find another 1.6 device and check to see if it is just this particular one.  Given that this call CAN return null, is there some

[android-developers] Re: Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread John Gaby
Thanks, I will give those a try. On Nov 15, 4:24 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 15, 2010 at 7:17 PM, John Gaby jg...@gabysoft.com wrote: I just double checked it on a Motorola Devour running 1.6 and it is definitely returning a null.  I will see if I can find

[android-developers] Re: Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread John Gaby
Yes he did, and I appreciated his help. I had posted this message before his came through, so I was not asking again. Thank you all for your help. On Nov 15, 7:11 pm, String sterling.ud...@googlemail.com wrote: On Nov 16, 12:24 am, John Gaby jg...@gabysoft.com wrote: Do you have any

[android-developers] Re: Android Market Licensing Problem

2010-11-14 Thread John Gaby
Actually, that thought has occurred to me (I have already read that thread), but really, how am I supposed to be able to test my app before I publish it if that is the case? On Nov 14, 3:29 am, bagelboy greg.do...@gmail.com wrote: Perhaps the responses aren't correct because your app is not

[android-developers] Re: Android Market Licensing Problem

2010-11-14 Thread John Gaby
phone and then log in with any random, non- developer account, then I seem to always get an 'allow' response. Someone please tell me that this is NOT going to happen once I publish my app. Thanks. On Nov 14, 8:00 am, John Gaby jg...@gabysoft.com wrote: Actually, that thought has occurred to me (I

[android-developers] Re: Android Market Licensing Problem

2010-11-14 Thread John Gaby
Well, as I said, with my uploaded, but unpublished app, if I use a phone that has ANY valid gmail connected to it, it always returns that it is Licensed (I have tried this on about 10 or so different phones, with version 1.6 through 2.2). I am hoping that once I publish it that this will change,

[android-developers] Re: Android Market Licensing Problem

2010-11-13 Thread John Gaby
. In the system I came up with in the end all I use is the response and none of the extras. What I do with the response is all custom, that way I can use the market test responses in development without issues. -BB On Nov 13, 4:40 am, John Gaby jg...@gabysoft.com wrote: I am using pretty much

[android-developers] Why might the soft keyboard not pop up?

2010-11-12 Thread John Gaby
I have an EditText control that does not pop up the soft keyboard when the user touches it. The thing is, that I have a number of other EditText controls elsewhere in my application that all work fine, and I cannot see anything really different about this one. The code is a bit complex to post

  1   2   >