Re: [android-developers] Multiple IntentServices for one Intent

2012-05-17 Thread Dianne Hackborn
Sorry you can't. You should basically never call startService() or bindService() with an implicit intent; you will get essentially random behavior in the service that is found if there are multiple services that match the intent. On Wed, May 16, 2012 at 9:32 PM, phoku mboeh...@fh-muenster.de

[android-developers] Re: how to use the camera as LED flashlight

2012-05-17 Thread Lisa
Hi Jim thanks for response. What a coincidence...I'm also Jim.  :-) (^_^) Go to the Android Developers Guide (http://developer.android.com/guide/index.html) and search for camera. I see but I not find solution. A) determine if it even HAS a camera; PackageManager pm =

Re: [android-developers] How many times do onMeasure get called?

2012-05-17 Thread Dianne Hackborn
The best answer is honestly probably as many as needed. The View documentation on layout covers when it is called: http://developer.android.com/reference/android/view/View.html On Wed, May 16, 2012 at 1:27 PM, Agus agus.sant...@gmail.com wrote: Hi all, How many times do onMeasure method get

Re: [android-developers] Multiple IntentServices for one Intent

2012-05-17 Thread Matthias Böhmer
so, is there kind of a best practice so solve this? On May 16, 2012 11:24 PM, Dianne Hackborn hack...@android.com wrote: Sorry you can't. You should basically never call startService() or bindService() with an implicit intent; you will get essentially random behavior in the service that is

Re: [android-developers] Re: SQLITE -query help

2012-05-17 Thread Mahmoud Mortada
may be this link help you http://zetcode.com/databases/sqlitetutorial/ On Wed, May 16, 2012 at 2:41 PM, Kostya Vasilyev kmans...@gmail.com wrote: The query you posted uses Microsoft SQL Server extensions. You can read about them on MSDN. Since Android does not use MS SQL as its database,

[android-developers] Re: Banned For title Of App(hungry Hippo's)

2012-05-17 Thread Pent
It's not that they don't want to, it's just that the Play team seems pretty backlogged / doesn't really ever respond to such requests.. In my experience they don't respond to any requests or queries since the support forum was taken down. It's just a sham front-end to give the impression of

[android-developers] Re: how to accept a phone call programmitically

2012-05-17 Thread Pent
okay friends, I got it. Its working now. Any tips ? As far as I know that API needs a permission these days. Pent -- 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

[android-developers] C2DM question

2012-05-17 Thread Eyal Berman
in my onCreate of the main avtivity i put that code Intent registrationIntent = new Intent(com.google.android.c2dm.intent.REGISTER); registrationIntent.putExtra(app, PendingIntent.getBroadcast(this, 0, new Intent(), 0)); // boilerplate registrationIntent.putExtra(sender, bermane...@gmail.com);

Re: [android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-17 Thread Bhaumik Thaker
Now it will throws an Exception == org.xml.sax.SAXParseException: Unexpected token (position:TEXT SelectResponse{S...@1:1179 in java.io.StringReader@412b2e10) i will try to solve this exception but it will not be solved. If i run this same code on android 2.2 it will works fine.. On

[android-developers] Re: Google lost vs Oracle.

2012-05-17 Thread sblantipodi
I haven't understood what won Oracle and what won Google. What will be the conseguences of this debate? -- 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

Re: [android-developers] Re: ICS don't give you a real multitasking.

2012-05-17 Thread Kristopher Micinski
On Wed, May 16, 2012 at 11:22 PM, Spiral123 cumis...@gmail.com wrote: sblantipodi is either a troll, a terminal whiner or both. consider some of his finest threads from the last 12 months or so: Google lost vs Oracle. Android isn't able to manage a PDF, this is bad. Image CoverFlow not

[android-developers] Loading sms in threaded view In my custom app

2012-05-17 Thread Bhanushali Ashwin N
Hi All, I am developing an sms-app.I want to load all the sms as threaded view in my application. By threaded view I mean I want to show sms to user like what the default sms app shows. I came across using content provider scheme to get the threads content://mms-sms/conversation this scheme

[android-developers] Re: Tamil unicode for Android users - project working!!

2012-05-17 Thread Akash Ramani
Any progress on this front? On Saturday, July 30, 2011 9:59:38 PM UTC+5:30, xkrishx wrote: Hi, it seems everyone is waiting for the Unicode support for Android phones. I'm developing custom Unicode font and a language biased converter Keyboard. I need support from tamil beta users to

Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-17 Thread Julien Del Rio
I know about the short lifestyle. My code is running during less than the lifestyle. But you're right, maybe it is just the needed time and the system code for updating the widget is stopped. I will test your idea. Thanks Le 17 mai 2012 06:26, Jose_GD jose.gonzale...@gmail.com a écrit : Hi

[android-developers] java.lang.OutOfMemoryError on 4.0.3 APV and phone not in 2.1 2.3

2012-05-17 Thread Solution 9420
hi, Just want to share with U that I also experienced the same scenario when I did the compatibility test of my app (9420 Tablet Keyboard) again 4.0.4 (GNexus). What I did is unscientific but to do bitmap.recycle() more often. (check null first) on the unused ones. The symptom seems to go

[android-developers] Re: how to accept a phone call programmitically

2012-05-17 Thread Pent
As far as I know that API needs a permission these days. Sorry, I meant 'needs a permission which isn't granted'. Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to manage CheckBox or EditText item in a ListView ?

2012-05-17 Thread chronogps
Thank you Justin for this explanation. If found source code which can help me : http://www.marvinlabs.com/2010/10/custom-listview-ability-check-items/ Have to modify it to handle EditText (and other item controls) -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.

2012-05-17 Thread Shruthi Varma
Hi Saran, Here in this case, the phone gets an incoming call after the user has pressed Sign in button. So, If I check the telephony state while clicking Sign In button, it doesn't work. This issue occurs very rare only when the wifi connection is low. I mean the connection is fast, the

Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.

2012-05-17 Thread Shruthi Varma
Hi Ramesh, It is in Android IceCream Sanditch code. It is an open source code. U just have to search for AccountUnlockScreen.java. ( http://source-android.frandroid.com/frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java ) See the getProgressDialog() method in

[android-developers] Error in Base IceCream Sandwitch Android code.

2012-05-17 Thread Shruthi Varma
Hi All, There is a bug in Base IceCream Sandwitch Android code because I encountered a problem in Google Nexus phone having Android 4.0 (*Ice Cream Sandwich*). [Steps] 1. Set up a Gmail account in an Android device. 2. Set up a Security lock, may be a Pin/ pattern Screen Lock in

Re: [android-developers] Re: Regarding ASOP build

2012-05-17 Thread sourabh sahu
Thanks for prompt reply.I know how to build and all...but what i want to know is it possible..I mean does 2.3 device hardware will support 4.0. On Thu, May 17, 2012 at 5:29 AM, RichardC richard.crit...@googlemail.comwrote: start here http://source.android.com/index.html On Wednesday, May

Re: [android-developers] Error in Base IceCream Sandwitch Android code.

2012-05-17 Thread Daniel Drozdzewski
Shruthi, 1. This is wrong forum. 2. It is questionable, whether your expected behaviour is the correct one. If it were correct, it would present a backdoor to secured phone. Security that can be subverted is not a security. On 17 May 2012 10:24, Shruthi Varma shruthi.tlis...@gmail.com wrote:

[android-developers] how to change brightness on keyboard event

2012-05-17 Thread extrapedestrian
i want to map one key to change system brightness, it should work no matter what android application is active. Something like Volume hard key is changing volume in any state of the device. how can this be achieved without changing source code of android? best regards, Petar Bajic -- You

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-17 Thread Kostya Vasilyev
2012/5/17 Miha Valencic miha.valen...@gmail.com In newer versions of Android, the browser does set a flag with the IME to tell it that it would like it to try harder to not go into extract mode, but that is a flag it explicitly sets because it knows it can handle getting into a situation

Re: [android-developers] Re: how to accept a phone call programmitically

2012-05-17 Thread saran vonteddu
Dear Pent, Now I'm able to accept the call programmatically without user interaction. We can do dat in two ways. One way by implementing ITelephony.aidl. Use the below code in the same package as specified and save as * ITelephony.aidl* * * package com.android.internal.telephony;

Re: [android-developers] Multiple IntentServices for one Intent

2012-05-17 Thread Mark Murphy
On Thu, May 17, 2012 at 2:26 AM, Matthias Böhmer matboeh...@googlemail.com wrote: so, is there kind of a best practice so solve this? You would start by explaining why you want to have multiple IntentServices listening to the same action getting fired when I call context.startService(...).

Re: [android-developers] How to play audio while in call...

2012-05-17 Thread saran vonteddu
yeah, I already tried playing the audio while in speaker mode, but its not audible clearly. Is there any other way to implement this in android. May be any APIs available to convert text to speech while in call, so that the other party can listen clearly. I don't know, I'm just asking if there

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-17 Thread Miha Valencic
Kostya, You could try: http://developer.android.com/reference/android/widget/TextView.html#attr_android:imeOptions flagNoExtractUi there is not TextView or EditText view. To explain further: I have a GLSurfaceView (well, a custom view derived from GLSurfaceView), which shows the remote pc

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-17 Thread Kostya Vasilyev
Following the code in EditText (actually, TextView), to see how android:imeOptions value is used, brings us here: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/TextView.java#L5605 @Override public InputConnection onCreateInputConnection(EditorInfo

Re: [android-developers] Re: how to use the camera as LED flashlight

2012-05-17 Thread Jim Graham
On Wed, May 16, 2012 at 11:22:59PM -0700, Lisa wrote: C) assuming it has a flash, determine if it supports FLASH_MODE_TORCH; ? ?using parameters.getSupportedFlashModes(); ListString list = parameters.getSupportedFlashModes(); And then you cycle through the List to see of torch is one of

[android-developers] error: (-215) scn == 3 || scn == 4 in function void cv::cvtColor

2012-05-17 Thread abdelbar nasri
I'm failing miserably at something I think it should be very easy to achieve. I'm importing a Bitmap from a .jpg file I have in drawable converting it to mat and then trying to change it to a grayscale image, converting it back to bitmap to display. This is the code I use: package

[android-developers] Upload files to Google Drive

2012-05-17 Thread Italo Mendonça Rocha
Hello, Does anyoane know how to upload files from Android to Google Drive programmatically? Thanks in advance. -- 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

[android-developers] Set Ringtone

2012-05-17 Thread baturanija1
Hey people, i have problem.Code below is to set ringtone in my app.It is copying song from app to SDC and call function to set ringtone.There is no error in code and its coping good song but not setting ringtone :( .Please see if there is something wrong and comment.. Thanks

Re: [android-developers] Gallery widget selection.

2012-05-17 Thread Nikolay Elenkov
On Thu, May 17, 2012 at 1:28 PM, Put_tiMe putt...@gmail.com wrote: Nothing actually, here's my gallery definition. Gallery                     android:id=@+id/Gallery                     android:layout_width=match_parent                     android:layout_height=70dip                    

[android-developers] How can i program a tree of multiplechoices that ends on an image depending of the choices

2012-05-17 Thread huberte
I have 3 buttons at start. when u press on one of those buttons, it put layout properties on gone or viewable. I end up with a tree of 3 columns, with approximatively 40 to 50 buttons. First, i think this isnt good. wich tools can i use to manage so many choices ? Second, the final buttons

[android-developers] BroadcastReceiver: Is it safe to use setOrderedHint method in my code?

2012-05-17 Thread Kiran Rao
I am trying to add ordered broadcasting functionality to LocalBroadcastReceiver class. I just noticed this method: http://developer.android.com/reference/android/content/BroadcastReceiver.html#setOrderedHint(boolean) The docs have this to say : For internal use, sets the hint about whether

Re: [android-developers] How to play audio while in call...

2012-05-17 Thread Kristopher Micinski
Google the history of this list for in call audio stream. This question is asked at least once a week, the answer is no. kris On Thu, May 17, 2012 at 6:25 AM, saran vonteddu saran.myw...@gmail.com wrote: yeah, I already tried playing the audio while in speaker mode, but its not audible

[android-developers] itinerary under Maps

2012-05-17 Thread Abdelali BADDAR
Hey, I want to implement a itinerary between 2 adresses in the maps of my application,can you help me. thank you in advance -- cordially, == Abdelali BADDAR engineer Student at ENSIAS Rabat Morocco 3rd Year Embedded Systems and Mobiles Phone:

Re: [android-developers] C2DM question

2012-05-17 Thread Dallas Gutauckis
Given that it's in your onCreate of the main activity, I'd say it's sent every time onCreate is called on your main activity, unless you've added additional logic you're not showing. On Thu, May 17, 2012 at 3:02 AM, Eyal Berman bermane...@gmail.com wrote: in my onCreate of the main avtivity i

[android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Mark Murphy
The Android Developers site has a Weather List Widget sample app: http://developer.android.com/resources/samples/WeatherListWidget/index.html One of the classes in it is WeatherWidgetProvider, which is an AppWidgetProvider. This AppWidgetProvider is registering a ContentObserver in onEnabled(),

[android-developers] Licensing response with release APK

2012-05-17 Thread robertfoster
Hi all, I'm going through the final phases of testing with Google Play licensing with my finished APK. I've created an entry on Google Play for my App and uploaded the same testing APK I'm using on my device. The APK is a release signed version too. However when I run the APK on my device (Not

Re:: [android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Kostya Vasilyev
The data observer lifespan isn't tied to the receiver, it's a static. Also note that collection based widgets use other components, such as the remote views factory, and the service which acts as a factory for said factory (!). This service is implemented by the framework as sticky, what you

Re: : [android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Mark Murphy
On Thu, May 17, 2012 at 10:38 AM, Kostya Vasilyev kmans...@gmail.com wrote: The data observer lifespan isn't tied to the receiver, it's a static. It still goes away when the process does. Since it is only set up in onEnabled(), that means that once the process dies the first time, the observer

Re:: [android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Kostya Vasilyev
Besides, this observer monitors data published by a content provider that lives within the same process (if I'm understanding the structure correctly). So if there are changes, it means they were pushed by the content provider, which in turn means the process was alive. However, I believe it's

Re: : [android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Mark Murphy
On Thu, May 17, 2012 at 10:48 AM, Kostya Vasilyev kmans...@gmail.com wrote: However, I believe it's still wrong, as I see no reason for the widget provider's onEnabled to be called each time the process is recreated (such as by an alarm or the sticky remote views service). Unless, that is, I'm

[android-developers] Extract a special SMS

2012-05-17 Thread BearTi
Hi, Is it possible to extract a special SMS (from a restricted sender) so that the normal SMS App don´t show a notification? I tried something like this: final IntentFilter filter = new IntentFilter(); filter.addAction(android.provider.Telephony.SMS_RECEIVED); filter.setPriority(2147483647);

Re: : [android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Kostya Vasilyev
17.05.2012 18:55, Mark Murphy написал: I'd just push the app widget updates when updating the content provider and be done with the matter. I prefer using a worker thread wrapped in a service. The latter helps on devices with too little memory. All things said, a sample is just a sample.

[android-developers] Re: SecurityException: Given caller package com.android.settings is not running in process ProcessRecord

2012-05-17 Thread minilin.11
But I can do this on Android 2.3.3, does that means Android 4.0 strengthen the Security rules? Thanks Best Regards Lynn Gu —— MSN: minilin...@hotmail.com TEL: +86 13501129124 —— From: Dianne Hackborn Sent: Monday, May 14, 2012 1:43 AM To:

Re: [android-developers] C2DM question

2012-05-17 Thread Eyal Berman
did the registrationId is changing or it is always the same until the next instalation? On Thursday, May 17, 2012 4:55:07 PM UTC+3, Dallas Gutauckis wrote: Given that it's in your onCreate of the main activity, I'd say it's sent every time onCreate is called on your main activity, unless

Re: [android-developers] Re: SecurityException: Given caller package com.android.settings is not running in process ProcessRecord

2012-05-17 Thread Mark Murphy
On Thu, May 17, 2012 at 11:30 AM, minilin...@gmail.com wrote: But I can do this on Android 2.3.3 Not really. It *looks* like it is there, but if you actually try modifying any settings, the changes do not take effect, at least for any settings that you do not have the permission to modify. --

Re: [android-developers] Gallery widget selection.

2012-05-17 Thread Justin Anderson
Oh yeah... It has been awhile since I've done any work on my Gallery widgets... I forgot they were a little different from normal views with an adapter. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 17, 2012 at 6:52 AM, Nikolay Elenkov

[android-developers] Re: does NFC in gingerbread support card simulate?

2012-05-17 Thread Gorka
Hi Shailen, I guess you have emulated your MIFARE4k tag rooting your mobile phone and applying any of the patches that are available on the Internet. Am I right? I ask you because this solution is fine for research purposes, but it cannot be applied if you want to publish your app or sell it.

Re: [android-developers] C2DM question

2012-05-17 Thread Dallas Gutauckis
The registration id changes every time you request it. Additionally, it may change periodically without request. Make sure the server always receives the latest registration id broadcasted. See https://developers.google.com/android/c2dm/#registering for more info. On Thu, May 17, 2012 at 11:35

Re: [android-developers] C2DM question

2012-05-17 Thread Berman Eyal
So I need to save registrationid on app db and every some time to check it against Google? On 17 במאי 2012 18:42, Dallas Gutauckis dall...@gmail.com wrote: The registration id changes every time you request it. Additionally, it may change periodically without request. Make sure the server

Re: [android-developers] C2DM question

2012-05-17 Thread Dallas Gutauckis
I recommend that you save it in the application's storage and only attempt to register again for an id when the registration id is no longer valid. The documentation I linked to explains that you may get an unregistration REGISTRATION' intent which would be the registration broadcast without an

Re: [android-developers] Upload files to Google Drive

2012-05-17 Thread Justin Anderson
https://developers.google.com/drive/ Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 17, 2012 at 6:11 AM, Italo Mendonça Rocha ital...@gmail.comwrote: Hello, Does anyoane know how to upload files from Android to Google Drive

Re: [android-developers] Error in Base IceCream Sandwitch Android code.

2012-05-17 Thread Justin Anderson
http://source.android.com/community/index.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 17, 2012 at 3:30 AM, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: Shruthi, 1. This is wrong forum. 2. It is questionable, whether

Re: [android-developers] Re: Regarding ASOP build

2012-05-17 Thread Justin Anderson
http://source.android.com/community/index.html Find the forum here that you think is most appropriate for your question and ask there. This forum is for developing Android Apps with the SDK. Most people on this group (including me) would have no idea how to answer your question. Thanks, Justin

Re: [android-developers] Having a WebView AND a Back Button

2012-05-17 Thread TreKing
On Wed, May 16, 2012 at 8:35 AM, Dan Uff danny@gmail.com wrote: I'm trying to override the standard browser behavior with the following code: private class HelloWebViewClient extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, string

[android-developers] writing to /data/data/package-name/lib

2012-05-17 Thread ivan
I have an issue where I need to dynamically load a library to /data/ data/package-name/lib ... is there any way for me to gain write access to this directory? If not, can I put the file somewhere else so that it can still be found? -- You received this message because you are subscribed to the

Re: [android-developers] C2DM question

2012-05-17 Thread Eyal Berman
my architecture is like this: the app onCreate send check the local storage for registrationId - if the registrationId is empty it register and send the registrationId and devaiceid to a webService that store it on DB then a service is look in db for new messages and if there are he push them

[android-developers] Maps API : drawing driving itinerary

2012-05-17 Thread Simon Giddings
I am developing a maps application which will display a user defined driving itinerary. I obtain the driving directions from the Directions Web Service and parse the json response in a separate thread. I then hand the resulting itinerary object to my custom overlay for display. Before appending

Re: [android-developers] Upload files to Google Drive

2012-05-17 Thread Spiral123
Has anyone seen any evidence of an Android API for Google Drive yet? As I remember from reading the developer info when it first became available you can only use the SDK for apps registered in the Chrome store. Nick On Thursday, May 17, 2012 11:52:52 AM UTC-4, MagouyaWare wrote:

Re: [android-developers] Upload files to Google Drive

2012-05-17 Thread Justin Anderson
Has anyone seen any evidence of an Android API for Google Drive yet? As I remember from reading the developer info when it first became available you can only use the SDK for apps registered in the Chrome store. According to this, that is still true:

Re: [android-developers] C2DM question

2012-05-17 Thread Dallas Gutauckis
The app is the responsible party for getting a registration id. You could at any point notify your app as part of an API response that the server doesn't have a registrationId, but if you're supporting Android OS versions 2.2, those phones won't even be capable of getting a registrationId. On

[android-developers] Re: Loading sms in threaded view In my custom app

2012-05-17 Thread Erik
Retrieve that information from the Contacts content provider. -Erik On Thursday, May 17, 2012 12:31:08 AM UTC-7, Bhanushali Ashwin N wrote: Hi All, I am developing an sms-app.I want to load all the sms as threaded view in my application. By threaded view I mean I want to show sms to

[android-developers] SQLite database on sdcard under android 2.2 : possible ?

2012-05-17 Thread chronogps
Hi, here is the sample code : try { File sdcard = Environment.getExternalStorageDirectory(); String dbfile = sdcard.getAbsolutePath() + File.separator+ MyRep + File.separator + Mydatabase.db; db = SQLiteDatabase.openDatabase(dbfile, null,SQLiteDatabase.CREATE_IF_NECESSARY); }

[android-developers] Shital Suryawanshi wants to chat

2012-05-17 Thread Shital Suryawanshi
--- Shital Suryawanshi wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-637231ab47-4d92ffbbae-GKxfGgQGudbzogV7bVAFH5LUa2A

[android-developers] Re: SQLite database on sdcard under android 2.2 : possible ?

2012-05-17 Thread RichardC
Try in the 2.2 emulator and post the error log please. On Thursday, May 17, 2012 6:38:46 PM UTC+1, chronogps wrote: Hi, here is the sample code : try { File sdcard = Environment.getExternalStorageDirectory(); String dbfile = sdcard.getAbsolutePath() + File.separator+ MyRep +

[android-developers] Re: I can not start MMS functionality on emulator

2012-05-17 Thread Erik
MMS messages can only be sent or received over a cellular connection. So the emulator running on your computer doesn't support it. -Erik On Sunday, May 13, 2012 7:00:38 AM UTC-7, katarina wrote: Hi, please help... I want to use MMS functionality on the emulator, but I can not. I

[android-developers] Re: how to use the camera as LED flashlight

2012-05-17 Thread Lisa
Hi Jim (^_^) thanks for response. And then you cycle through the List to see of torch is one of the values.  If it is, proceed.  If not, tell the user that their device does not support being used that way, close the camera and exit. ok, I understand. In this case samsung no support torch,

[android-developers] Listing Incoming Data

2012-05-17 Thread CaRRtel Industres
My app is set to receive incoming data from other apps. What I need help doing is taking the incoming data and putting it in a box. That way all the data is stacked nicely in a list view. Does any one know how to do this? Thanks In Advance. -Carrtel -- You received this message because you

[android-developers] Re: SQLite database on sdcard under android 2.2 : possible ?

2012-05-17 Thread chronogps
I made a mistake : the problem is under Android 2.1 The log cat under 2.1 Emulator is : 05-17 19:43:06.536: E/Database(245): sqlite3_open_v2(/mnt/sdcard/chronogps.db, handle, 6, NULL) failed 05-17 19:43:06.536: W/dalvikvm(245): threadid=15: thread exiting with uncaught exception

Re: [android-developers] BroadcastReceiver: Is it safe to use setOrderedHint method in my code?

2012-05-17 Thread Dianne Hackborn
No, you should not be using it. Why would you even *want* to use it? I can only imagine using this to do things that are broken. :) On Thu, May 17, 2012 at 6:06 AM, Kiran Rao techie.curi...@gmail.com wrote: I am trying to add ordered broadcasting functionality to LocalBroadcastReceiver

Re: [android-developers] Multiple IntentServices for one Intent

2012-05-17 Thread Dianne Hackborn
On Wed, May 16, 2012 at 11:26 PM, Matthias Böhmer matboeh...@googlemail.com wrote: so, is there kind of a best practice so solve this? Er... the best practice is to be explicit about the service component you want to interact with. If you just want to blast this to all services, then you

Re: [android-developers] BroadcastReceiver: Is it safe to use setOrderedHint method in my code?

2012-05-17 Thread Mark Murphy
On Thu, May 17, 2012 at 4:27 PM, Dianne Hackborn hack...@android.com wrote: No, you should not be using it.  Why would you even *want* to use it?  I can only imagine using this to do things that are broken. :) To clarify (and fix a typo in Kiran's post), he is working on adding ordered

[android-developers] Re: java.lang.OutOfMemoryError on 4.0.3 APV and phone not in 2.1 2.3

2012-05-17 Thread huberte
I dont understand what you mean, could you be more specific or post a code example ? thks Le jeudi 17 mai 2012 04:06:36 UTC-4, Solution 9420 a écrit : hi, Just want to share with U that I also experienced the same scenario when I did the compatibility test of my app (9420 Tablet Keyboard)

[android-developers] Re: SQLite database on sdcard under android 2.2 : possible ?

2012-05-17 Thread RichardC
The following code just worked for me on the emulator (android 2.1): File f1 = Environment.getExternalStorageDirectory(); Log.v(TAG, f1.getAbsolutePath()); String dbFilePath = f1.getAbsolutePath() + File.separator + extdir.db;

[android-developers] Re: SQLite database on sdcard under android 2.2 : possible ?

2012-05-17 Thread chronogps
You are right. I found my problem (which is not in the sample source code I posted first (that's doesn't help !!!) File f1 = Environment.getExternalStorageDirectory(); Log.v(TAG, f1.getAbsolutePath()); returns \sdcard under 2.1 and \mnt\sdcard unders 2.2 And I hardcoded

Re: [android-developers] Re: how to use the camera as LED flashlight

2012-05-17 Thread Jim Graham
On Thu, May 17, 2012 at 12:02:32PM -0700, Lisa wrote: Focus mode has nothing to do with the flash. ?If you don't need it for some other reason, you don't need it. but if I clean this code not work. why? My guess (without seeing the actual finished code) is that you've cleaned out

Re: [android-developers] writing to /data/data/package-name/lib

2012-05-17 Thread TreKing
On Thu, May 17, 2012 at 11:13 AM, ivan istas...@gmail.com wrote: I have an issue where I need to dynamically load a library to /data/data/package-name/lib Load a library to a directory? That doesn't make sense (to me) ... ... is there any way for me to gain write access to this directory?

Re: [android-developers] Listing Incoming Data

2012-05-17 Thread TreKing
On Thu, May 17, 2012 at 2:23 PM, CaRRtel Industres carrtelindustr...@gmail.com wrote: What I need help doing is taking the incoming data and putting it in a box. That way all the data is stacked nicely in a list view. Does any one know how to do this? Put it in a box ?

Re: [android-developers] Maps API : drawing driving itinerary

2012-05-17 Thread TreKing
On Thu, May 17, 2012 at 11:19 AM, Simon Giddings mr.s.giddi...@gmail.comwrote: Knowing that a number of people have done similar tasks, can anyone advise me as to how to improve the performance ? Should I be building a path object and fill it with ALL of the points ? First step: use

[android-developers] Re: Maps API : drawing driving itinerary

2012-05-17 Thread lbendlin
No need to worry about the screen pixels relative to your waypoints. The overlay manager handles that for you, and only renders the part that is on screen. Load all the points. On Thursday, May 17, 2012 12:19:33 PM UTC-4, Simon Giddings wrote: I am developing a maps application which will

Re: [android-developers] Upload files to Google Drive

2012-05-17 Thread Nikolay Elenkov
On Fri, May 18, 2012 at 1:54 AM, Justin Anderson magouyaw...@gmail.com wrote: Has anyone seen any evidence of an Android API for Google Drive yet?  As I remember from reading the developer info when it first became available you can only use the SDK for apps registered in the Chrome store.

[android-developers] Re: onChildViewRemoved triggered only by the last child

2012-05-17 Thread x300
If I were you, I would check the way you are removing the children, first. If you are removing child views at once like removing a ViewGroup to which the child Views belong, instead of removing one View at a time, this behavior makes sense as hierarchy change is happening only once for multiple

Re: [android-developers] Upload files to Google Drive

2012-05-17 Thread Italo Mendonça Rocha
Which one do you prefer, upload files to the Google Drive (Google Docs) or to the Dropbox? Is there any difference? Any other suggestions, such as Sky Drive? Thank you. 2012/5/17 Nikolay Elenkov nikolay.elen...@gmail.com On Fri, May 18, 2012 at 1:54 AM, Justin Anderson magouyaw...@gmail.com

Re: [android-developers] BroadcastReceiver: Is it safe to use setOrderedHint method in my code?

2012-05-17 Thread Kiran Rao
Oops .. apologies for the typo, and the ensuing confusion. I did mean LocalBroadcastManager in my original post, wherever I referred to LocalBroadcastReceiver. Mark has summed it all up in his response. My current implementation is this: try to fork BroadcastReceiver and use a forked edition

Re: [android-developers] Upload files to Google Drive

2012-05-17 Thread Nikolay Elenkov
On Fri, May 18, 2012 at 11:15 AM, Italo Mendonça Rocha ital...@gmail.com wrote: Which one do you prefer, upload files to the Google Drive (Google Docs) or to the Dropbox? Is there any difference? Any other suggestions, such as Sky Drive? Well, it doesn't matter :) You are not writing an app

Re: [android-developers] Listing Incoming Data

2012-05-17 Thread CaRRtel Industres
Yes, I want the data to be separated, one session under another On Thursday, May 17, 2012 6:19:11 PM UTC-5, TreKing wrote: On Thu, May 17, 2012 at 2:23 PM, CaRRtel Industres carrtelindustr...@gmail.com wrote: What I need help doing is taking the incoming data and putting it in a box. That

Re: [android-developers] Listing Incoming Data

2012-05-17 Thread TreKing
On Thu, May 17, 2012 at 9:54 PM, CaRRtel Industres carrtelindustr...@gmail.com wrote: Yes, I want the data to be separated, one session under another That makes very little sense to me. Separated how? What is a session? How is one under another? Please read that link and pose a complete

Re: [android-developers] Listing Incoming Data

2012-05-17 Thread Kristopher Micinski
I think he wants to have different apps send him data (probably via an intent), and then store that, and then display it in a list view... kris On Thu, May 17, 2012 at 11:24 PM, TreKing treking...@gmail.com wrote: On Thu, May 17, 2012 at 9:54 PM, CaRRtel Industres carrtelindustr...@gmail.com

[android-developers] surface (identity=xxxxx) is invalid, err=-19 (no such device)

2012-05-17 Thread Tamás Kovács
This is a logcat ERROR entry which I get in 3 (three) instance at the same time, but the game I develop works fine. I'm just worried because this is an error, not a warning. I get the 3 identical entries when my game screen (GLSurface) is resumed due to Activity.onResume(). The screen behavior is

[android-developers] Is raw AAC supported in combo with video .

2012-05-17 Thread RockNCode
Hi. I'm trying to play a clip which has AVC video in MP4 container which has AAC audio on ICS. The behavior is that that it plays a few video frames but eventually the playback fails and we see this error: E/OMXCodec( 820): [OMX.google.aac.decoder] ERROR(0x80001001, 10) It looks like in this

[android-developers] Re: Listing Incoming Data

2012-05-17 Thread CaRRtel Industres
Yes Kris, that is correct. I apologize for not knowing the technical terms. Now do you know how to help TreKing? On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote: My app is set to receive incoming data from other apps. What I need help doing is taking the incoming data and

Re: [android-developers] Re: I can not start MMS functionality on emulator

2012-05-17 Thread asheesh arya
try it on real device -- 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

Re: [android-developers] BroadcastReceiver: Is it safe to use setOrderedHint method in my code?

2012-05-17 Thread Dianne Hackborn
Hm, okay, for that, where basically you are just using BroadcastReceiver as a separated class not known by the rest of the framework, it seems okay. On Thu, May 17, 2012 at 7:22 PM, Kiran Rao techie.curi...@gmail.com wrote: Oops .. apologies for the typo, and the ensuing confusion. I did mean