Re: [android-developers] Re: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-10 Thread GJTorikian
The Bitmap was created in the Java layer: https://github.com/gjtorikian/Earthbound-Battle-Backgrounds/blob/1684ac485c934813f97653d798f16f4c967f4247/src/com/miadzin/livewallpaper/earthbound/EarthboundLiveWallpaper.java#L258 Then, I pass it over to JNI to do some math and pixels manipulation

[android-developers] Re: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread GJTorikian
)); } } The question is: WHY only for ICS? On Wednesday, December 5, 2012 4:07:38 PM UTC-8, GJTorikian wrote: Hi there— I'm making updates to a live wallpaper I've developed. The wallpaper is currently running correctly on a 2.2 device, but NOT on my 4.2 device. On the ICS device, it seems

Re: [android-developers] Re: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread GJTorikian
Bitmap.eraseColor(). It's much more efficient. On Sun, Dec 9, 2012 at 11:55 AM, GJTorikian gjtor...@gmail.comjavascript: wrote: All right, so after days I finally figured it out. After creating my bitmap, I need to set every pixel in Java: for (int x = 0; x 254; x

[android-developers] [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-05 Thread GJTorikian
(not sure of the exact dimensions), then only pixels (420, 0) through (420, 720) are being drawn. The rest is black / transparent. Here's the code I'm using: https://github.com/gjtorikian/Earthbound-Battle-Backgrounds/blob/master/src/com/miadzin/livewallpaper/earthbound

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

2012-03-14 Thread GJTorikian
to external storage? IIRC, some really older platform versions used to enable this permission if it wasn't declared. -- K On 03/10/2012 11:38 PM, GJTorikian wrote: It seems that that's entirely the problem. When I try to perform a mkdirs() operation, I get a return of false. So

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

2012-03-10 Thread GJTorikian
, no issues. At least nobody complained. On Saturday, March 10, 2012 9:42:16 AM UTC+8, GJTorikian wrote: Over various Android updates and devices, I've been able to use getExternalStorageDirectory() in my code without any problems. However, I'm suddenly getting a lot of bug reports from ICS

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

2012-03-10 Thread GJTorikian
, GJTorikian wrote: Over various Android updates and devices, I've been able to use getExternalStorageDirectory() in my code without any problems. However, I'm suddenly getting a lot of bug reports from ICS users on the Galaxy Nexus complaining that the way they interact with my app

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

2012-03-10 Thread GJTorikian
Sorry for the quick follow-up, but perhaps this is related? http://stackoverflow.com/questions/4062357/mkdirs-returns-false-for-directory-on-sd-card-while-the-parent-directory-is-writ/7730756#7730756 On Saturday, March 10, 2012 1:38:32 PM UTC-6, GJTorikian wrote: It seems that that's entirely

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

2012-03-09 Thread GJTorikian
Over various Android updates and devices, I've been able to use getExternalStorageDirectory() in my code without any problems. However, I'm suddenly getting a lot of bug reports from ICS users on the Galaxy Nexus complaining that the way they interact with my app is not working. Specifically,

[android-developers] Re: Sync on Android Emulator

2011-12-20 Thread GJTorikian
Bump, as I also would like to know this. Sync is still broken on a 4.0.3 emulator. On Nov 23, 7:44 am, Flávio Ramalho f.ramal...@gmail.com wrote: Hello, I want to test an application that retrive Events from google calendar, for that I have to sync the android emulator with my google

[android-developers] Google Account Sync still does not work on 4.0.3 emulator

2011-12-19 Thread GJTorikian
Just as the title says. Now, unlike before, I can add my account to the emulator, but sync is off. Clicking on the account name in an attempt to turn the sync on gives me no option to do so. Halp? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Is the ICS emulator calendar sync broken?

2011-11-20 Thread GJTorikian
I created a new emulator with the Level 14 Google APIs. I can add my Google account, but sync is off, with no discernable way to turn it back on. -- 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] Re: Is the ICS emulator calendar sync broken?

2011-11-20 Thread GJTorikian
on the emulator.  You can use an Exchange account, though, with a gmail address and a blank domain. On Nov 21, 11:01 am, GJTorikian gjtorik...@gmail.com wrote: I created a new emulator with the Level 14 Google APIs. I can add my Google account, but sync is off, with no discernable way to turn

[android-developers] Re: Is the ICS emulator calendar sync broken?

2011-11-20 Thread GJTorikian
on an ICS app? On Nov 20, 8:32 pm, Zsolt Vasvari zvasv...@gmail.com wrote: I thought you asked about Calendars, not Contacts On Nov 21, 12:14 pm, GJTorikian gjtorik...@gmail.com wrote: And how would I go about adding contacts, to test viewing/manipulating contact data? There doesn't seem

[android-developers] Re: License Check fails for 5-10% of legit users

2011-09-19 Thread GJTorikian
In LicenseValidator.verify() I had to add two more exception clauses: catch (Base64DecoderException e) { Log.e(TAG, Could not Base64-decode signature.); handleApplicationError(ApplicationErrorCode.DECODER_EXCEPTION);

[android-developers] Re: License Check fails for 5-10% of legit users

2011-09-19 Thread GJTorikian
In LicenseValidator.verify() I had to add two more exception clauses: catch (Base64DecoderException e) { Log.e(TAG, Could not Base64-decode signature.); handleApplicationError(ApplicationErrorCode.DECODER_EXCEPTION);

[android-developers] Where should the anim folder go now?

2011-06-09 Thread GJTorikian
I was listening to the most excellent Google I/O 2011 talk about the new changes to ADT r11. At one point, Xavier recommends something about moving the animation folder. I didn't catch why, or what the change should be. Right now I have it under res/anim. Is the preference to move it to

[android-developers] Do OpenGL ES 2.0 phones also support ES 1.1?

2011-04-04 Thread GJTorikian
Given that the APIs for OpenGL ES 2.0 and 1.1 are incompatible, I was wondering if there is always some inherent support for both in Android, or if it was on a per phone basis. I am developing an ES 1.1 game. On my phone, a nearly two year old model, the game drew quite well, visually. On my

[android-developers] Combining gesture with ViewHolder

2011-03-26 Thread GJTorikian
I've implemented a basic gesture detection system in my app with the following code (taken from an Android sample): mGestureLibrary = GestureLibraries.fromRawResource(this, R.raw.gestures); if (!mGestureLibrary.load()) { finish(); } gestures = (GestureOverlayView)

[android-developers] Icon Design Guidelines for Android 3.0?

2011-02-23 Thread GJTorikian
When will there be an update for WXGA devices to this doc? http://developer.android.com/guide/practices/ui_guidelines/icon_design.html -- 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] Re: Where to download ADT 10.0.0 from?

2011-02-11 Thread GJTorikian
Xavier is a developer for Android. Keep scrolling--ADT 10 is a development version that's internal only (for now): http://groups.google.com/group/android-developers/msg/26a11b6ec7c7a8c4 On Feb 11, 2:29 pm, F D freedig...@gmail.com wrote: I saw

[android-developers] Re: How i can detect Android API version in native code?

2011-02-11 Thread GJTorikian
First, the better place to ask questions about native code on Android is the group about native code on Android: http://groups.google.com/group/android-ndk Second I'm pretty sure this is impossible. Whatever is not already exposed in the headers for the NDK can probably not be accessed. On Feb

[android-developers] Re: Terrible ghosting effect when flinging to the end of a ListView

2011-02-04 Thread GJTorikian
Bump for help? -- 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

[android-developers] Re: Terrible ghosting effect when flinging to the end of a ListView

2011-02-04 Thread GJTorikian
at 6:43 PM, GJTorikian gjtorik...@gmail.com wrote: Bump for help? -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- You received this message

[android-developers] Terrible ghosting effect when flinging to the end of a ListView

2011-02-03 Thread GJTorikian
I'm not sure how to put the problem into words, so I made a video: I have a ListView. Each row is composed of a RealtiveLayout of images, text, and a rating bar. The ListView is populated with a custom CursorAdapter. The elements within the row are defined in a ViewHolder, which is populated

[android-developers] Re: Terrible ghosting effect when flinging to the end of a ListView

2011-02-03 Thread GJTorikian
... and here is the video: http://www.youtube.com/watch?v=ekIUtXAwV9c On Feb 3, 6:19 pm, GJTorikian gjtorik...@gmail.com wrote: I'm not sure how to put the problem into words, so I made a video: I have a ListView. Each row is composed of a RealtiveLayout of images, text, and a rating bar

[android-developers] Submitting patches to API documentation

2010-11-30 Thread GJTorikian
Is it possible to submit a doc fix through gerrit? I have git set up and the source tree(s) on my machine. However I can't find the location of any of the API documentation. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Not able to retrieve list of Documents from Google Docs using HTTP GET

2010-11-30 Thread GJTorikian
I suggest you investigate the code of MyTracks: http://code.google.com/p/mytracks/ They have a pretty well documented set of Java files that rely on accessing the Google Documents API. On Nov 26, 10:31 am, myst sowmya.chand...@gmail.com wrote: Hi all, I am trying to connect to Google Docs

[android-developers] Porting LWJGL project to Android

2010-10-19 Thread GJTorikian
Howdy— I have a desktop Java project implemented with LWJGL jar libraries. I'm interested in porting the program to Android. What are my current options for lib support? I've looked at jMonkeyEngine 3, but I don't think the current Alpha 2 is fully up to par yet. I guess a different question

[android-developers] Re: Beta Testers needed for fast-paced retro game

2010-10-16 Thread GJTorikian
Hi— I'm interested. I have a CLIQ running a 2.1 ROM. Thanks— Garen On Oct 15, 9:19 am, Nacho Pintos nacho.pin...@gmail.com wrote: Hi! I'm  bedroom developer and I'm finishing my first android game, Flee, which (hopefully) will be released in the coming weeks. I'm a bit scared to release it

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-25 Thread GJTorikian
Not sure if anyone has seen it, but this tutorial that I picked up awhile back has some pretty helpful hits on using Proguard with Android: http://www.androidengineer.com/2010/07/optimizing-obfuscating-and-shrinking.html On Sep 25, 9:45 am, JP joachim.pfeif...@gmail.com wrote: Integration in

[android-developers] Best Practice for selling app in non-Market approved countries?

2010-09-20 Thread GJTorikian
The title more or less says it all. Google Checkout, as you may be acutely aware, only supports ~9 countries. Some apps use PayPal to receive payment, then send out an activation code to the user. How can this be done to ensure that a single user receives a single activation code? Once the app

[android-developers] Re: how do you forcibly turn *on* the display....

2010-09-09 Thread GJTorikian
I always follow Diane's suggestion when I need a screen on: http://groups.google.com/group/android-developers/msg/0ad1a089678cda24 I could never get my wakelock to work right. On Sep 9, 6:53 am, sdphil phil.pellouch...@gmail.com wrote: awesome!  thanks!  you rock mark!  (and I should rtfm :-)

[android-developers] Re: Licensing Verification Library Apps Solely for Unlocking/Removing Ads

2010-09-01 Thread GJTorikian
Before I continue the experiment, I took one more look through the docs and found this gem: If your application is already published as free, you won't be able to upload a new version that uses licensing. I am guessing that if I try to include the LVL Library project into my free app, I won't be

[android-developers] Re: Licensing Verification Library Apps Solely for Unlocking/Removing Ads

2010-09-01 Thread GJTorikian
Perhaps you're right. I added the LVL library to my free app's build path, and exported that APK. The Developer Console lets me upload the new APK, at least. I assume that clicking Publish won't introduce some other check. Note that all I have done is add the library, and the appropriate

[android-developers] Licensing Verification Library Apps Solely for Unlocking/Removing Ads

2010-08-31 Thread GJTorikian
There's a large chunk of apps on the market that are free, with ads. Users can pay for an unlocker app to remove ads in the free app, presumably by doing a check on whether or not the unlocker app package is installed. If LVL is verified intermittently on a paid app, is it useless for these

[android-developers] Re: Licensing Verification Library Apps Solely for Unlocking/Removing Ads

2010-08-31 Thread GJTorikian
So: Launch Free App-Launch Unlocker App-Run LVL-Return Result-Parse Result in Free App ? On Aug 31, 1:49 pm, TreKing treking...@gmail.com wrote: On Tue, Aug 31, 2010 at 1:07 PM, GJTorikian gjtorik...@gmail.com wrote: If LVL is verified intermittently on a paid app, is it useless

[android-developers] Re: NPE on WebView.onWindowFocusChanged

2010-08-30 Thread GJTorikian
) { } } Maybe? On Aug 25, 4:57 pm, GJTorikian gjtorik...@gmail.com wrote: Hi Diane-- I am seeing this primarily on Verizon Droids (sholes) running 2.2 . Please let me know if you need more info. Thanks-- Garen On Aug 21, 2:01 pm, Dianne Hackborn hack...@android.com wrote: It would help

[android-developers] Re: NPE on WebView.onWindowFocusChanged

2010-08-25 Thread GJTorikian
分, GJTorikian gjtorik...@gmail.com wrote: Howdy-- I'm getting crash reports from my app out in the wild. Problem is, I don't know what's causing it. The only place I'm using WebKit is when constructing an -in-app help browser. Here's the full stack trace

[android-developers] Privatizing App-Created Directories on SD Card?

2010-08-16 Thread GJTorikian
Howdy— The folders in /data/data/package_name/ are hidden/private to all applications except those that are within that package namespace. Is it possible to create this level of security for folders created by applications on the SD card? For instance, the docs say that for API versions 7 and

[android-developers] Re: NPE on WebView.onWindowFocusChanged

2010-07-27 Thread GJTorikian
Bump (do bumps exist in email?) to see if there's anyone out there who knows what is going on. I read on an online forum that users hitting the back button on the WebView was causing a crash, but this does not seem to be the case for me. On Jul 20, 8:33 pm, GJTorikian gjtorik...@gmail.com wrote

[android-developers] Did selected tab background colors change in 2.1 ?

2010-07-24 Thread GJTorikian
Howdy— My app was built on the Android 1.5 platform. I'm in the process of bumping the APIs used to 2.1 . I am still leaving minSdkVersion=3 / targetSdkVersion = 7 in order to support older platforms. I've made the required drawbles-hdpi / -mdpi - ldpi-v4 folders. Everything is looking great

[android-developers] Re: Did selected tab background colors change in 2.1 ?

2010-07-24 Thread GJTorikian
folder into your own drawables folder and reference those in order to ensure a consistent look. Remember carriers also modify their own versions which means the default styles can be quite different to the ones on the emulator. On Jul 24, 8:02 pm, GJTorikian gjtorik...@gmail.com wrote

[android-developers] Re: NPE on WebView.onWindowFocusChanged

2010-07-20 Thread GJTorikian
think of too, but the stack trace just isn't very much in terms of debugging information. On Jun 29, 7:13 am, GJTorikian gjtorik...@gmail.com wrote: Howdy— I'm getting crash reports from my app out in the wild. Problem is, I don't know what's causing it. The only place I'm using WebKit

[android-developers] NPE on WebView.onWindowFocusChanged

2010-06-29 Thread GJTorikian
Howdy— I'm getting crash reports from my app out in the wild. Problem is, I don't know what's causing it. The only place I'm using WebKit is when constructing an -in-app help browser. Here's the full stack trace: java.lang.NullPointerException at

[android-developers] Re: Why this Exception is coming ?

2010-06-29 Thread GJTorikian
The database URI you're trying to access doesn't have an _id column. On Jun 28, 11:53 pm, dinesh_adwani mail.dineshadw...@gmail.com wrote: 06-29 11:38:25.544: ERROR/AndroidRuntime(26215): Caused by: java.lang.IllegalArgumentException: column '_id' does not exist 06-29 11:38:25.544:

[android-developers] Re: Application Crash Reporting made easy - needs testers

2010-05-25 Thread GJTorikian
with Mathias Lin today which occurred when the manifest doesn't use the android:versionName attribute. There's a new acra-2.0.2 version with the fix. Kevin On Sat, May 22, 2010 at 2:04 AM, GJTorikian gjtorik...@gmail.com wrote: Hi Kevin— My app already has a class that extends Application

[android-developers] Combining OR calls in managedQuery

2010-05-24 Thread GJTorikian
I've got a database. In its tags column, rows can have a combination of multiple values A, B, C--such that: row 1 has A row 2 has A, C row 3 has B, A and so on, in various permutations. I am trying to implement search using a managedQuery such that I can return a cursor that contains rows with

[android-developers] Re: Application Crash Reporting made easy - needs testers

2010-05-24 Thread GJTorikian
Hi Kevin— My app already has a class that extends Application, which is defined in android:name in the Manifest. It seems that if I try to replace it with the ACRA-created class (I called it CrashReporter), the app crashes on first run, then runs fine after that. If I make CrashReporter an inner

[android-developers] Changing data format in a db column on next app version?

2010-05-04 Thread GJTorikian
Let's say in version 1 of my app, I've got a X, with a column Y, that lists integers: Y 1 2 3 4 5 The database version is also 1. Users can add or remove from Y as they see fit (through the app). Now, in the next version of my program--2--suppose I changed my mind, and now I want Y to only