[android-developers] Re: Swipe app out of recent tasks permanently kills app (like force-stop) even though it's running background services!

2013-12-12 Thread RichardC
Based on the blog post when the task killing of applications was introduced, I would say that restarting a service of a killed application (process) was an implementation bug. It was clear from the blog post that when and end-user task killed an application then that application (and all

[android-developers] Re: Swipe app out of recent tasks permanently kills app (like force-stop) even though it's running background services!

2013-12-12 Thread RichardC
Have a read of: Launch controls on stopped applications in http://developer.android.com/about/versions/android-3.1.html Note that it says: *Applications are in a stopped state when they are first installed but are not yet launched and when they are manually stopped by the user (in Manage

[android-developers] Re: Get Area code (DDD)

2013-12-11 Thread RichardC
Most SIMs do not know their own phone number as they do not need that information. The mobile phone network uses IMEI codes for identification and connection. On Wednesday, December 11, 2013 1:51:26 PM UTC, Italo Mendonça Rocha wrote: Hello, I need to retrieve the full phone number from

[android-developers] Re: Unlike previous versions, Paint.measureText() returns a rounded value in 4.4?

2013-12-10 Thread RichardC
Can't help you to fix this but have researched the change... Source for the return value of Paint.measureText I see: Android 17 return w*mInvCompatScaling; Android 18 return (float) Math.ceil(w*mInvCompatScaling); The change was done for the follow reasons:

[android-developers] Re: How to refresh icons ?

2013-12-05 Thread RichardC
Just in case it's the icons for your app(s) you want to refresh have a read of http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html On Wednesday, December 4, 2013 7:05:38 PM UTC, Brakkar wrote: Hi, how can the end user force refresh android desktop icons, I think

[android-developers] Re: adapt a game to android

2013-12-01 Thread RichardC
See the Android Canvas class: http://developer.android.com/reference/android/graphics/Canvas.html And redrawing at approx 7 frames a second (150ms) there should be no problem. To refresh at 30fps or faster a suggest you adapt your your code to use OpenGL ES 2.0. On Sunday, December 1, 2013

[android-developers] Re: I want to make an application can do automated testing.

2013-12-01 Thread RichardC
For your own applications see Android UI Testing: http://developer.android.com/tools/testing/testing_ui.html For other application this would be a great big security hole and is therefore not possible. On Sunday, December 1, 2013 7:36:38 PM UTC, 12169 wrote: Hi, In android i want to make an

[android-developers] Re: No recovery.fstab found

2013-09-15 Thread RichardC
AOSP groups are here: http://source.android.com/source/community/index.html This group is for developing applications that run on the Android Platform On Saturday, September 14, 2013 6:30:38 PM UTC+1, dino omanovic wrote: This is my first build from source. I got so far to this step: make

Re: [android-developers] JNI

2013-08-17 Thread RichardC
Did you build your .so with ndk-build? If you did it should already be in the correct folder below libs. As Android support multiple native architectures each ABI is in a separate folder below libs, see the NDK docs for the folder names. On Saturday, August 17, 2013 3:21:38 PM UTC+1, janvi

[android-developers] Re: No patcher for Android Studio?!?

2013-08-03 Thread RichardC
Android Studio is still in Beta. Things may change when it leaves beta or it may not. On Saturday, August 3, 2013 9:15:26 PM UTC+1, rmz76 wrote: From the website it appears there is not patch utility for Android Studio, instead we must redownload and install the latest minor revision of the

[android-developers] Re: HttpClient GC_Concurrent freed

2013-07-29 Thread RichardC
Your while loop starting while (RunThread) { in your run() method will loop until an external event resets RunThread. Is this what you intended? Try putting a log line inside the while loop and watching the LogCat output. On Monday, July 29, 2013 7:22:12 AM UTC+1, Kristoffer wrote: Hello.

[android-developers] Re: getting error (-19,0), while playing wav file from sdcard

2013-07-21 Thread RichardC
What is really on this line? mp.setDataSource(path to file in sdcard); On Sunday, July 21, 2013 5:23:59 PM UTC+1, Narendra Singh Rathore wrote: Hello, I am trying to play a music file, that exists in sdcard, as follows MediaPlayer mp = new MediaPlayer(this); mp.setDataSource(path to file

[android-developers] Re: Service is restarted after ANR, OutOfMemoryError, native crashes, etc inspite of Service.START_NOT_STICKY

2013-07-02 Thread RichardC
Need to ask an obvious question: is your service crashing before onStartCommand completes? On Wednesday, July 3, 2013 12:02:34 AM UTC+1, Shri wrote: My service returns Service.START_NOT_STICKY from Service.onStartCommand. However, from the event log, I see that my activity is restarted after

[android-developers] Re: Hi..

2013-07-01 Thread RichardC
Define Server On Monday, July 1, 2013 1:43:35 PM UTC+1, Ibrahim wrote: Or Android Device Work As Server... Please Help me Guys... On 1 July 2013 17:55, Ibrahim Sada ibrahi...@gmail.com javascript:wrote: Hi Friends.. I Need Help Friends.. I Need To Run Emulator As A Server .. I Am Not

[android-developers] Re: Knet Payment Integration

2013-06-30 Thread RichardC
Review the Google TCs on external payment gateways ... I think they are no longer allowed. On Sunday, June 30, 2013 4:42:48 AM UTC+1, Ali wrote: Dear All, We have our shopping cart application in android and want to integrate with Knet payment gateway. Can someone share some pointers or

[android-developers] Re: Home button not working as it is supposed to.

2013-06-29 Thread RichardC
Remove android:noHistory=true see: http://developer.android.com/guide/topics/manifest/activity-element.html#nohist My emphasis below android:noHistoryWhether or not the activity should be removed from the activity stack and finished (its

[android-developers] Re: How Can I Send Notification to my Android App If I made an Entry on Server

2013-06-28 Thread RichardC
The only limit of 100 I can find is on Multiple-Senders see: http://developer.android.com/google/gcm/adv.html#multi-senders GCM messages are throttled see: http://developer.android.com/google/gcm/adv.html#throttling On Friday, June 28, 2013 1:15:09 PM UTC+1, Aadi Rockzz wrote: Hi, I want to

[android-developers] Re: Version upgrade upload failed

2013-06-25 Thread RichardC
Did you use the same signing key? On Tuesday, June 25, 2013 10:07:29 PM UTC+1, StevenHu wrote: I got this Google Play message: Upload failed You need to use a different package name because com.. is already used by one of your other applications. I understand that the package

Re: [android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread RichardC
External Storage != SD Card (read the docs) External Storage is the part of the Android file system mounted externally when you attach the phone to a computer (via USB) and enable file sharing. It does NOT need to be the SD Card. On Saturday, June 22, 2013 11:55:14 PM UTC+1, Tamás Kovács

[android-developers] Re: canvas.drawCircle broken with hardware acceleration on 4.1?

2013-06-21 Thread RichardC
See this thread: https://groups.google.com/d/msg/android-developers/2DT6JaPszR0/-Q2g6ZLRM5sJ On Friday, June 21, 2013 5:32:51 PM UTC+1, Leith Bade wrote: I have been banging my head for a while trying to figure out why my custom view was not drawing properly until I tried turning off

[android-developers] Re: Alarm when process not started

2013-05-29 Thread RichardC
If you kill your application with the standard build-in Task-Killer and you are on Android 4.1+ (I think that's the version might be 3+) then you Application will not be run again until manually started by an end-user. If you exit normally (press back) then your alarms should work as expected.

[android-developers] Re: fatal errors

2013-05-21 Thread RichardC
ACRA see: http://acra.ch/ https://groups.google.com/forum/?fromgroups#!forum/acra-discuss On Tuesday, May 21, 2013 4:45:09 PM UTC+1, Piren wrote: set the default uncaught exception handler, use it to launch your app with an intent/pendingintent that has the stacktrace, then use that activity

Re: [android-developers] Re: App not compatible on Samsung GT-P3110

2013-05-17 Thread RichardC
If you want help on Play Store compatibility issues you need to show us the Manifest. On Friday, May 17, 2013 9:28:43 PM UTC+1, bob wrote: Well, I'm continuing to investigate why Google suddenly thinks my app is incompatible with certain devices. I went to the Play Store and created this

Re: [android-developers] Re: App not compatible on Samsung GT-P3110

2013-05-17 Thread RichardC
=android.intent.category.LAUNCHER / /intent-filter /activity /application /manifest * * Thanks. On Friday, May 17, 2013 4:18:39 PM UTC-5, RichardC wrote: If you want help on Play Store compatibility

[android-developers] Re: Release notes and official info.

2013-05-16 Thread RichardC
http://developer.android.com/about/versions/android-4.2.html and http://android-developers.blogspot.co.uk/ On Thursday, May 16, 2013 8:22:28 AM UTC+1, Put_tiMe wrote: Where can I find some official information, like: POST 4.1, we get logcat logs only from our process and

[android-developers] Re: JNI on SDCard?

2013-05-14 Thread RichardC
No. What errors do you get in LogCat? On Tuesday, May 14, 2013 5:41:56 PM UTC+1, Filipe wrote: Hi I have a project in Eclipse that uses some jni libraries that I load using System.loadLibrary(myNativeLib). This works great, but if I move my app to the SDCard it stops working,

[android-developers] Re: Downloading and install apk files from own server

2013-05-04 Thread RichardC
Somewhere in settings Allow untrusted installation or something similar. On Saturday, May 4, 2013 1:39:10 PM UTC+1, dashman wrote: I have my apk file served from own server and have set the mime type correctly. On being sent the url to the apk file, i would like the file to be downloaded

[android-developers] Re: Canvas Rendering Resolution

2013-04-28 Thread RichardC
You have a bug. You need to show us your code and the layout xml. On Sunday, April 28, 2013 5:31:58 PM UTC+1, vrs762 wrote: My emulator (with settings Nexus S 480 X800) shows the first image correctly at the upper left corner at coordinates (10, 10) (emulator.png). However, the same code

[android-developers] Re: Instruction execution steps

2013-04-25 Thread RichardC
The group is for using the Android SDK, groups for the Android platform can be found here: http://source.android.com/community/index.html On Thursday, April 25, 2013 7:21:36 PM UTC+1, marie chatti wrote: I would like to know how an instruction in Android application code is executed in

Re: [android-developers] How to create JAR libs in Android

2013-04-24 Thread RichardC
You can use .JARs with Android you just can not create .JARs with Android as the files that an Android Library would need to put into the .JAR are non-standard (resources, layouts etc). On Wednesday, April 24, 2013 3:52:27 PM UTC+1, mbarbiero wrote: Thanks for your response Roland, but I use

Re: [android-developers] Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread RichardC
If an application has been killed by the end-user from the built-in task manager then it is put in to a state where it does not respond to any system event other than being launched from the Home Screen, see *Launch controls on stopped applications* in (almost at the end):

[android-developers] Re: insidious multi-threading bug

2013-04-24 Thread RichardC
Put the input events into your own internal queue. Process the your event queue in your update-AI/update-user-event phase of your game logic. The queue should be locked when adding/removing events. On Wednesday, April 24, 2013 4:26:02 PM UTC+1, bob wrote: I've been investigating an insidious

[android-developers] Re: The app icon disappears on app upgrade on Nexus devices (4.2.2)

2013-04-23 Thread RichardC
Read the Things That Cannot Change article by Dianne Hackborn - I think you may have broken some of the assumptions: http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html On Tuesday, April 23, 2013 7:52:50 AM UTC+1, Andrei Ponomarenko wrote: The problem happens only

[android-developers] Re: Deep sleep after 1 hour?

2013-04-22 Thread RichardC
Are you holding any sort of Wake Lock? If so which one? On Monday, April 22, 2013 10:00:32 PM UTC+1, paladin wrote: I have an app that is supposed to send a ping to a server every 30 seconds. When the app goes to sleep, it's still supposed to do this, but I've been testing and it seems to

[android-developers] Re: Retrieval of phone# inhibited by an app

2013-04-19 Thread RichardC
It may not be an app. Lots of phones do not know their own phone number, and most tablets do not have a phone number. On Friday, April 19, 2013 11:15:15 AM UTC+1, dashman wrote: I'm using ((TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE)).getLine1Number() to retrieve

[android-developers] Re: Applications that relies on external datas.

2013-04-17 Thread RichardC
Use a Service to retrieve and manage the data, Bind the service from Activity A and B. If the data is available use it, if it not download it (in the service). On Wednesday, April 17, 2013 3:57:28 PM UTC+1, mbaroukh wrote: I have a problem that appear on every new developpement. I never

[android-developers] Re: Usage of platform/packages/apps/Exchange and patent issues

2013-04-16 Thread RichardC
You are asking for legal advice, any information you get will be worth exactly what you paid for it. On Tuesday, April 16, 2013 11:17:23 AM UTC+1, Mikołaj Kąkol wrote: Hi, I'm porting native Android Mail client and I would like to have Exchange support. While porting Exchange which I

[android-developers] Re: How to link a library whose name does not begin with lib in Android??

2013-04-14 Thread RichardC
You need to read PREBUILTS.html in the NDK docs. On Sunday, April 14, 2013 11:28:23 AM UTC+1, serene wrote: http://stackoverflow.com/questions/15972693/android-build-system# I have a basic question on Android build system. I created a shared library with name myservice

[android-developers] Re: exception when create new AlertDialog

2013-04-14 Thread RichardC
Show us the Logcat On Sunday, April 14, 2013 3:55:42 PM UTC+1, Carlos Calvo wrote: Hello, I have a ProgressDialog running. Execute method .dismiss for destroy them. But when i create a new AlertDialog i take a exception because the progessdialog yet still show *Exception *Unable to

[android-developers] Re: exception when create new AlertDialog

2013-04-14 Thread RichardC
18:06:42.043: E/AndroidRuntime(26483): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) thx El domingo, 14 de abril de 2013 17:18:00 UTC+2, RichardC escribió: Show us the Logcat On Sunday, April 14, 2013 3:55:42 PM UTC+1, Carlos Calvo wrote: Hello, I have

[android-developers] Re: How to support Bluetooth optionally?

2013-04-14 Thread RichardC
See uses-feature http://developer.android.com/guide/topics/manifest/uses-feature-element.html On Monday, April 15, 2013 4:23:41 AM UTC+1, limtc wrote: Hi, My game has an optional support for Bluetooth controller. In the Manifest, I have these entries: uses-permission

[android-developers] Re: supporting Google Maps Android API v2 on 2.3+

2013-04-09 Thread RichardC
The sample works from Android platform version 8, which is Android 2.2. You need to give us more information about what you have done in your project. On Tuesday, April 9, 2013 11:09:56 PM UTC+1, John Merlino wrote: I wrote my application using Google Maps Android api v2, but when trying

[android-developers] Re: Strange memory consumption switching between activities

2013-04-06 Thread RichardC
You need to do is : A - start B - AB - finish B - A - start B - AB - finish B - A What you are doing (if you have explained correctly is): A - start B - B - start A - ABA - start B - ABA - start B - ABAB etc On Saturday, April 6, 2013 5:56:39 PM UTC+1, user123 wrote: I'm running an app in

[android-developers] Re: Fire event when Andorid app goes into background.

2013-04-05 Thread RichardC
You already get 2 callbacks Activity.onPause() Activity.onStop() What else do you need ? On Friday, April 5, 2013 5:27:10 PM UTC+1, disha wrote: Hi, I want to fire an event when android app goes into background like by pressing home key button on device. Is there any better way to do

[android-developers] Re: duplicate calls to onSurfaceChanged() weirdness (again)

2013-04-03 Thread RichardC
Just ignore it if the parameter values are the same. If they are different then re-set your viewport. If all you are doing is setting the viewport then just do it twice. If you are doing anything else why? On Thursday, April 12, 2012 4:57:35 PM UTC+1, Latimerius wrote: Hello,

Re: [android-developers] New app doesnt show in Google Play

2013-04-02 Thread RichardC
It will install on my Vodafone HTC HTC Sensation Z710e On Tuesday, April 2, 2013 6:19:41 PM UTC+1, bergstr wrote: First thing first, you should go to the console and check your app settings. It will also tell you what devices are being filtered and why... thats what I did. All my

[android-developers] Re: MediaProvider being called from File operations?

2013-04-02 Thread RichardC
If you don't want your files scanned I think you're supposed to put a .nomedia into the folder. On Tuesday, April 2, 2013 10:18:37 PM UTC+1, Nathan wrote: I did get a log from a user using the Droid Razr Maxx HD, my nemesis. As usual, logs are useless for diagnosing a problem where there is

[android-developers] Re: MediaProvider being called from File operations?

2013-04-02 Thread RichardC
Found some references: http://developer.android.com/reference/android/provider/MediaStore.html#MEDIA_IGNORE_FILENAME and http://developer.android.com/guide/topics/data/data-storage.html On Tuesday, April 2, 2013 10:46:56 PM UTC+1, RichardC wrote: If you don't want your files scanned I think

[android-developers] Re: Application Crash

2013-04-02 Thread RichardC
Error is: Unable to instantiate receiver com.TWP.Project.TDC.SMSReceive Source package is: com.TWP.Project.IES Source class is: SMSReceiver com.TWP.Project.TDC.SMSReceive != com.TWP.Project.IES.SMSReceiver The class it is trying to instantiate does not match your source file package name. On

[android-developers] Re: GC calls from other processes causing slowdown (?)

2013-03-31 Thread RichardC
Is/was 2590 your process? On Sunday, March 31, 2013 8:07:50 AM UTC+1, Jason wrote: Hey folks, So I'm in the midst of creating a game and I'm hitting some occasional slow down which seems to be a result of GC calls triggered by other processes on the device. I have profiled *my* app and

[android-developers] Re: Why is App not compatible with Tablets after update

2013-03-31 Thread RichardC
There has been an odd post or two in the adt-dev group regarding the ordering of elements in the manifest (although I can't find anything in the official docs). So with that said ... I think you should try putting uses-sdk android:minSdkVersion=4 android:targetSdkVersion=8 / before the

[android-developers] Re: Getting a message from another app launched with an Intent

2013-03-29 Thread RichardC
Does the other App call setResult() ? http://developer.android.com/reference/android/app/Activity.html#setResult(int) On Friday, March 29, 2013 8:04:27 PM UTC, Tobiah wrote: I'm launching another app from my app like this: Intent LaunchIntent =

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread RichardC
Technically it needs a . here: activity android:name=.DGraphActivity ^ or the full package name. On Friday, March 29, 2013 8:02:04 PM UTC, plnelson wrote: This question has (so far) stumped them on Stack Overflow. . . . I'm trying to launch an Activity which

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread RichardC
On Friday, March 29, 2013 10:40:44 PM UTC, plnelson wrote: RichardC wrote Technically it needs a . here: activity android:name=.DGraphActivity I'm skeptical. My program has about 20 Activities and none of them have .'s in front of the name and I've written a lot of other

[android-developers] Re: Excluding a device in Developer Console - existing installs?

2013-03-28 Thread RichardC
No Zaps - just no updates. On Thursday, March 28, 2013 6:49:32 PM UTC, Nathan wrote: Currently my manifest is wide open. Let's suppose I want to exclude a device that I don't think is working for many people anyway. What will happen to users that have it installed? Will Google Play

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-27 Thread RichardC
Post the code with the problem and the LogCat when the error happens - then we might have a chance at helping you. On Wednesday, March 27, 2013 7:33:10 AM UTC, Pratama Nur Wijaya wrote: Hi,,, I got some error when i am running Google maps api v2.. i have tested my application on 3

[android-developers] Re: Android PDK

2013-03-18 Thread RichardC
I can find: https://android.googlesource.com/platform/development/+/ics-mr1-release/pdk/ but it's gone from: https://android.googlesource.com/platform/development/+/jb-mr0-release On Monday, March 18, 2013 9:46:39 PM UTC, Ryan Loebs wrote: I've been able to find the Android PDK on

[android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread RichardC
Can you include the full stack trace from LogCat please. On Wednesday, March 13, 2013 11:37:16 AM UTC, karunakar medamoni wrote: Hello Every one. This is karunakar working on android project. Am converting apertium based webpage to android app. When i try to run

[android-developers] Re: android cts: Why do tests in the package run fail but individual tests pass?

2013-03-13 Thread RichardC
AOSP forums are here: http://source.android.com/community/index.html On Wednesday, March 13, 2013 3:49:06 PM UTC, trueskew wrote: I'm hitting failures when running cts-tf run cts --package android.holo but when I run the failed tests individually, like cts-tf run cts --class

[android-developers] Re: Unique Identifier

2013-03-12 Thread RichardC
Android Developer Blog - Identifying App Installations; includes a section on identifying devices: http://android-developers.blogspot.co.uk/2011/03/identifying-app-installations.html On Saturday, March 9, 2013 5:49:30 AM UTC, Jayu wrote: Hi, I would like to map the Android devices where my

[android-developers] Re: How to get a good idea of app downloads / day for Free apps?

2013-03-10 Thread RichardC
How about Google Analytics - Mobile App Analytics: http://www.google.com/analytics/features/mobile-app-analytics.html On Sunday, March 10, 2013 4:39:28 PM UTC, niko20 wrote: So I have paid apps and some free Demos, but the problem is I can get metrics for the Free apps. I mean, the

Re: [android-developers] Enumerate sd cards

2013-03-10 Thread RichardC
? On Fri, Mar 8, 2013 at 5:24 PM, RichardC richard...@googlemail.comjavascript: wrote: The problem we have here is that getExternalStorageDirectory does NOT return the location of the sd card. In fact it has nothing to do with sd cards and never has. From the docs: Note

Re: [android-developers] Enumerate sd cards

2013-03-08 Thread RichardC
The problem we have here is that getExternalStorageDirectory does NOT return the location of the sd card. In fact it has nothing to do with sd cards and never has. From the docs: *Note: don't be confused by the word external here. This directory can better be thought as media/shared storage.

[android-developers] Re: Uninstall free version app after installing paid version

2013-03-06 Thread RichardC
Don't go that route it has been discussed here many times - search is your friend. 1. There is no way to automatically remove a users application. 2. It is hard to get access from the paid app to any data you want to access from the free version (data migration). Instead use Google

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-05 Thread RichardC
Have you tried do the following and seeing what happens? - Play another OpenGL game just to get it into the long-press-home menu. - Start your game as normal and play it a bit. - [long-press-home] and start the previous OpenGL game whilst yours is still running. - plays the other

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-05 Thread RichardC
With the scenario below if you are releasing in onPause, how you you know you are leaving your app? onStop will get called in both cases and onDestroy need not get called. On Tuesday, March 5, 2013 8:36:51 PM UTC, latimerius wrote: On Tue, Mar 5, 2013 at 9:18 PM, RichardC richard

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-05 Thread RichardC
Typo in the above: With the scenario below if you are **NOT** releasing in onPause... On Tuesday, March 5, 2013 8:50:48 PM UTC, RichardC wrote: With the scenario below if you are releasing in onPause, how you you know you are leaving your app? onStop will get called in both cases

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-05 Thread RichardC
On Tuesday, March 5, 2013 10:20:38 PM UTC, a1 wrote: Oh my god, really? We are in 2009 again or something? Since Android 3.0, you can call setPreserveEGLContextOnPause method to prevent GLSurfaceView from releasing context, if you are targeting older version simply back-port (or use one

[android-developers] Re: What is the maximum range allowed when querying CalendarContract.Instances?

2013-03-04 Thread RichardC
What do you mean by incorrect? The Calendar only syncs so many days forward and backward of today (set in preferences somewhere). On Monday, March 4, 2013 9:10:35 PM UTC, littledot wrote: When querying the `CalendarContracts.Instances` table, a time range in the form of milliseconds since

[android-developers] Re: how to tell why Activity.onPause() is called

2013-03-04 Thread RichardC
http://developer.android.com/reference/android/app/Activity.html#isFinishing() On Monday, March 4, 2013 11:14:29 PM UTC, latimerius wrote: Hello, I would like to be able to tell if Activity.onPause() was called because the user is leaving the app, or simply because another Activity within

[android-developers] Re: Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-03-01 Thread RichardC
and download? Is this the method that Google apply? Seems logical. But I'd really like to know. Thanks. On Thursday, 28 February 2013 20:48:39 UTC, RichardC wrote: See in-line: On Thursday, February 28, 2013 8:11:05 PM UTC, Darren McEntee wrote: (1) will the current users of the app

[android-developers] Re: Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-02-28 Thread RichardC
See in-line: On Thursday, February 28, 2013 8:11:05 PM UTC, Darren McEntee wrote: (1) will the current users of the app just not get the updates from that point until they update their Android OS version Current users will not receive any updates, and the play interface will warn you that

[android-developers] Re: Answer to comment in Play Store ?

2013-02-27 Thread RichardC
See this thread in Android Discuss: https://groups.google.com/d/topic/android-discuss/F1smLF_x0y0/discussion On Wednesday, February 27, 2013 6:11:46 PM UTC, Tolriq wrote: I read that Google is opening this function to new developers but what are the requirement to get access to that ? My

[android-developers] Re: Answer to comment in Play Store ?

2013-02-27 Thread RichardC
, RichardC a écrit : See this thread in Android Discuss: https://groups.google.com/d/topic/android-discuss/F1smLF_x0y0/discussion On Wednesday, February 27, 2013 6:11:46 PM UTC, Tolriq wrote: I read that Google is opening this function to new developers but what are the requirement to get access

[android-developers] Re: native_drawArc src

2013-02-25 Thread RichardC
It's C/C++ you will need to pull down the AOSP source and try and find it by hand (grep) - after a while you will get to find your way about. On Monday, February 25, 2013 4:30:51 PM UTC, bob wrote: can someone help me see what the easiest way to view the source code for functions such as

[android-developers] Re: best way to copy an existing application

2013-02-13 Thread RichardC
? No. RichardC wrote: Create an new Android Library project. Put all your existing shared code and resources into it. Create 2 new Android Projects (one with your old package name and the other with a new package name), and set them to use your Android Library project. Put the different

[android-developers] Re: best way to copy an existing application

2013-02-13 Thread RichardC
to the library project? On Tuesday, February 12, 2013 3:24:22 PM UTC-5, RichardC wrote: Create an new Android Library project. Put all your existing shared code and resources into it. Create 2 new Android Projects (one with your old package name and the other with a new package name), and set

[android-developers] Re: Can I Promote My Other Application Using GCM Service.

2013-02-12 Thread RichardC
Not sure about the TCs but using GCM seems more work than using AdMob with 100% House ads to promote your applications. On Tuesday, February 12, 2013 6:46:05 PM UTC, rishabh agrawal wrote: Hi I am new bee in Android.I want promote my other cool application using push notification Using

[android-developers] Re: best way to copy an existing application

2013-02-12 Thread RichardC
Create an new Android Library project. Put all your existing shared code and resources into it. Create 2 new Android Projects (one with your old package name and the other with a new package name), and set them to use your Android Library project. Put the different resources into the Application

[android-developers] Re: best way to copy an existing application

2013-02-12 Thread RichardC
it? On Feb 12, 3:24 pm, RichardC richard.crit...@googlemail.com wrote: Create an new Android Library project. Put all your existing shared code and resources into it. Create 2 new Android Projects (one with your old package name and the other with a new package name), and set them

[android-developers] Re: Help with a service I'm trying to do

2013-02-11 Thread RichardC
http://developer.android.com/guide/components/services.html On Monday, February 11, 2013 9:50:36 PM UTC, pedrohms wrote: I m thinking to do a service where I have a interface I can interact with my service in all android. Have same way to do this? I have to use NDK? Or can I do this in

Re: [android-developers] Re: my app won't die

2013-02-05 Thread RichardC
Android OS does as it can't tell the difference between a process kill due to low memory and a process terminated - so it gets restarted. Try pressing [home] before killing the process - I have read somewhere (trying to find the reference) that this should kill the process and it will not get

[android-developers] Re: ydpi != xdpi

2013-02-05 Thread RichardC
See this post: https://groups.google.com/d/msg/android-developers/FiwVYQ5F3IQ/3IkntEedsk8J On Tuesday, February 5, 2013 9:08:46 PM UTC, bob wrote: I think I saw on my Nexus 7 that the ydpi differs from the xdpi. Was I imagining or is this really the case with some devices? Can someone

[android-developers] Installed platform version not showing up in Virtual Device Manager

2013-02-05 Thread RichardC
In Android SDK Manager expand each node in the list and make sure you have the AVD images installed for each version. -- -- 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: App

2013-02-01 Thread RichardC
http://code.google.com/hosting/search?q=OCRbtn=Search+Projects On Friday, February 1, 2013 3:24:33 PM UTC, dany varghese wrote: can suggest a site to download the program code for an OCR app(Text extraction from Image) . -- -- You received this message because you are subscribed to the

[android-developers] Re: glGetShaderPrecisionFormat

2013-01-30 Thread RichardC
0 means precision format is not supported *If a high precision floating-point format is not supported for fragment shaders, calling glGetShaderPrecisionFormat with argumentsGL_FRAGMENT_SHADER and GL_HIGH_FLOAT will return 0 for both range and precision. Support for a high precision

[android-developers] Re: glGetShaderPrecisionFormat

2013-01-30 Thread RichardC
. Thanks. It works if I do this: GLES20.glGetShaderPrecisionFormat(GLES20.GL_FRAGMENT_SHADER, GLES20.GL_MEDIUM_FLOAT, range, 0, precision, 0); range = [33, 33] precision = [13] On Wednesday, January 30, 2013 2:27:26 PM UTC-6, RichardC wrote: 0 means precision format is not supported

[android-developers] Re: getting the active Fragment

2013-01-29 Thread RichardC
android-sdkextras\android\support\v4\src On Tuesday, January 29, 2013 3:07:10 AM UTC, dashman wrote: Or where can I find the source for the support library. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Convert a view (layout) to a Bitmap

2013-01-26 Thread RichardC
You :) Check out Romain Guy he is a Google Engineer On Sunday, January 27, 2013 2:31:21 AM UTC, Justin Buser wrote: Who should Google who's name? On Sun, Nov 18, 2012 at 3:13 AM, Piren gpi...@gmail.com javascript:wrote: Holy fuck dude... you should really google his name... On

[android-developers] Re: [Android-source][android-framework]Seeking Help :- need to add files/folders in framework.

2013-01-23 Thread RichardC
The is not the best group to answer these questions. The AOSP groups can be found here: http://source.android.com/community/index.html On Wednesday, January 23, 2013 1:52:59 PM UTC, A N K ! T wrote: Hi All, I am in need of a little help, I have some source code/library downloaded, which

[android-developers] Re: What type is passed as src charsequence/string or other in InputFilter?

2013-01-23 Thread RichardC
CharSequence is an interface not a class and examples of classes that implement the CharSequence interface are: - String - SpannableStringBuilder See: http://developer.android.com/reference/java/lang/CharSequence.html and look at the section *Known Indirect Subclasses*. On Wednesday,

Re: [android-developers] Correct way to implement Activity onDestroy()?

2013-01-15 Thread RichardC
Conciser holding a WeakReference to the Activity from the AsyncTask. On Tuesday, January 15, 2013 5:44:04 PM UTC, G. Blake Meike wrote: On Monday, January 14, 2013 6:13:34 PM UTC-8, Greenhand wrote: I considered IntentService before; however, I did not found a way to abort IntentService

[android-developers] Re: GLUtils.texImage2D

2013-01-14 Thread RichardC
It's the way OpenGL maps texture co-ordinates, ie it's working correctly. On Monday, January 14, 2013 2:59:45 PM UTC, bob wrote: Has anyone else noticed that GLUtils.texImage2D seems to want the image to be upside down? GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); One way to see

[android-developers] Re: BluetoothAdapter.getDefaultAdapter() in a non-UI thread

2013-01-14 Thread RichardC
On Monday, January 14, 2013 11:38:32 PM UTC, Lew wrote: bob wrote: Can someone help me understand what init means in the stack trace here: at android.bluetooth.BluetoothAdapter.init(BluetoothAdapter.java:1541) I guess it is a function name? Nope. It's the constructor for the object

[android-developers] Re: Total User Installs decreasing

2013-01-12 Thread RichardC
It can happen when end-users upgrade (or reset) their phone and don't re-install all their old apps. On Saturday, January 12, 2013 9:51:24 PM UTC, jtoolsdev wrote: Kinda bad for a company famous for its Internet services. I'm seeing it too. On Saturday, January 12, 2013 12:59:55 PM UTC-8,

[android-developers] Re: debug blues

2013-01-09 Thread RichardC
Emulator or Phone and what was the Android version running on it? On Wednesday, January 9, 2013 10:40:27 PM UTC, bob wrote: I'm stepping thru my source. I have a call to invalidate(). I stepped into it, and attached the android source (version 16). However, it went here: /** *

[android-developers] Re: question about an error

2013-01-08 Thread RichardC
AOSP groups are here: http://source.android.com/community/index.html On Friday, January 4, 2013 11:04:43 PM UTC, mbiuk...@gmail.com wrote: I'm making Android in Ubuntu 12.04, but getting so many errors, Below is the latest one I am getting during build: target Symbolic: libjni_latinime

[android-developers] Re: setting app theme at runtime

2013-01-03 Thread RichardC
See: http://stackoverflow.com/questions/2482848/how-to-change-current-theme-at-runtime-in-android and follow some of the links Note that change in theme will not take place until an active Activity is re-created/re-started On Thursday, January 3, 2013 11:17:46 PM UTC, dashman wrote: i'd like

[android-developers] Re: terminating android application

2013-01-02 Thread RichardC
Why are you trying to do this? On Wednesday, January 2, 2013 3:21:45 PM UTC, laxman k wrote: how terminate android application from any activity and kill background process i am use finsh(); system.exit(0); System.runFinalizersOnExit(true);

Re: [android-developers] Reading from another app

2013-01-01 Thread RichardC
On Wednesday, January 2, 2013 1:20:30 AM UTC, Russell Wheeler wrote: Latimerius, So how do you directly access them from the assets folder? Doing it this way, are the images available to anyone who has root access? i.e. can they steal your images? APKs are world readable Why do you

  1   2   3   4   5   6   7   >