[android-developers] android bug gsm: NetworkOperatorName when returning to home network

2012-05-10 Thread Graham Bright
Hi, When I roam in another network my android devices books into the GSM network of that Operator. The NetworkOperatorName is displayed and all is fine. However when I return to my home country the network name of the operator from the visted country is still present on my android devices

Re: [android-developers] How to develop the Voice Commands to my application in Android

2012-05-10 Thread asheesh arya
just go through this link http://eagle.phys.utk.edu/guidry/android/speakToMe.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@googlegroups.com To unsubscribe from this group, send

[android-developers] How to develop the Voice Commands to my application in Android

2012-05-10 Thread Ganesh VK
Hi all, I am working on Android applications. now my requirement it to add the voice recognization features to my application. that is like opening the installed app from the device through voice command. and i want to open the menu actions inside the applications through voice commands . Pleas

Re: [android-developers] Will SurfaceView ever support hardware acceleration?

2012-05-10 Thread Romain Guy
Hardware accelerated Canvas through SurfaceView is currently not planned, at least not in J. On Wed, May 9, 2012 at 10:30 AM, Simon Edström wrote: > Will SurfaceView ever support hardware acceleration? If yes, when? > Since hardware acceleration was introduced in 3.0 you would think that > the Su

[android-developers] Equally verticaly spaced button

2012-05-10 Thread huberte
I tried this with no luck : http://schemas.android.com/apk/res/android"; android:layout_width="wrap_content" android:layout_height="fill_parent" android:orientation="vertical" android:visibility="visible" android:weightSum="3"> thks for your help ! -- You re

Re: [android-developers] Re: Android usb network

2012-05-10 Thread Nikolay Elenkov
On Fri, May 11, 2012 at 4:35 AM, Harishk wrote: > as per my understanding https or any other security method like > certificates works on internet application, and in our case we do not > have any application on internet it's in intranet. EAP works at the network level, your application(s) don't

Re: [android-developers] Raw Touchscreen Data

2012-05-10 Thread Dianne Hackborn
Generally the touch screen firmware processes the raw data into low-level touch events. It never leaves the screen hardware at all. On Wed, May 9, 2012 at 10:51 AM, Lewis wrote: > Hello all - > > I've been tasked with determining if the capacitance touchscreen on a > android device is sensitive

Re: [android-developers] Will SurfaceView ever support hardware acceleration?

2012-05-10 Thread Dianne Hackborn
Recommendation is to use OpenGL. If you are using Canvas for your drawing in a SurfaceView, you aren't really gaining anything over just not using a SurfaceView. If you are using SurfaceView for performance reasons, you should prefer to use OpenGL to avoid the overhead of translating Canvas opera

Re: [android-developers] Simulate PreferenceActivity with Fragment

2012-05-10 Thread Nikolay Elenkov
On Fri, May 11, 2012 at 5:10 AM, RMartins wrote: > I'm gonna explore this for sure, anyway do you have a nice clean example of > the usage you mention? Anyway thanks very much Nicolay!!! > > Hm, sorry, you are right, there is not SherlockPreferenceFragment, only SherlockPreferenceActivity. You ca

[android-developers] Re: "Menu cannot be resolved to a type"

2012-05-10 Thread huberte
Le jeudi 10 mai 2012 21:06:44 UTC-4, huberte a écrit : > > And "MenuInflater cannot be resolved to a type" > > I have made a clean example from > http://developer.android.com/guide/topics/ui/menus.html > > I must import import android.view.MenuInflater; import android.view.Menu; never written

[android-developers] "Menu cannot be resolved to a type"

2012-05-10 Thread huberte
And "MenuInflater cannot be resolved to a type" I have made a clean example from http://developer.android.com/guide/topics/ui/menus.html have import android.app.Activity; import android.os.Bundle; dont see anything about on google Thks -- You received this message because you are subscribe

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-10 Thread Dianne Hackborn
On Thu, May 10, 2012 at 1:25 AM, Johan Appelgren wrote: > Perhaps the Processes and Threads section in the Dev Guide could make it > more clear that it is up to each app to stop its background threads and > otherwise ensure they don't do anything when they're not in the foreground > then? Seems li

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread Dianne Hackborn
On Wed, May 9, 2012 at 6:42 PM, William Kelley wrote: > As to RAM: RAM is a premium and yet when I look at the process running on > my phone, the smallest is using 15M, while most of the others are 20M+, > some up to 60M+. I don't know if this is faulty reporting from the task > manager app I am u

[android-developers] JNI Bluetooth Undefines in my Native code

2012-05-10 Thread mike digioia
Hi Have this very large project that fails to find reference to "hci_get_route" and the other Bluez dev functions - ba2str, etc.. I have all the basic BT packages installed. I have created a simple Android.mk file and the is found. When I do a plan "make" it does not have this problem, only ndk-b

[android-developers] JNI Bluetooth undefines in my native code

2012-05-10 Thread mike digioia
Hi Have this very large project that fails to find reference to "hci_get_route" and the other Bluez dev functions - ba2str, etc.. I have all the basic BT packages installed. I have created a simple Android.mk file and the is found. When I do a plan "make" it does not have this problem, only ndk-b

[android-developers] Re: which android phone has Environment sensors hardware?

2012-05-10 Thread gjs
Hi, Only device I have had that measures temperature was the original t- mobile G1 & even then what was measuring was the battery temp not ambient. If you want to measure ambient, I'd suggest looking at the bluetooth Sensaris devices eg http://www.sensaris.com/products/senspod/ Regards On May 1

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread lbendlin
no, he means the locationProvider settings that generally seem to be ignored. On Thursday, May 10, 2012 3:29:15 PM UTC-4, William Kelley wrote: > I don't know, I haven't experienced any problems with that yet. I have set > my GPS fix interval to as low as 4 seconds and as high as a few minutes

[android-developers] Pretty Ratingbar not so pretty.

2012-05-10 Thread Pedro C.
Hi everyone. People who have had to fight against custom ratingbars knows this article: http://kozyr.zydako.net/2010/05/23/pretty-ratingbar/ But, what happens when you need a custom, 0.5 step ratingbar, to be DISABLED? In my case, when disabled, the empty icons of the custom ratingbar appea

Re: [android-developers] Simulate PreferenceActivity with Fragment

2012-05-10 Thread RMartins
I'm gonna explore this for sure, anyway do you have a nice clean example of the usage you mention? Anyway thanks very much Nicolay!!! Quinta-feira, 10 de Maio de 2012 7:20:41 UTC+1, Nikolay Elenkov escreveu: > > On Thu, May 10, 2012 at 2:31 PM, Justin Anderson > wrote: > > Would the Android Co

Re: [android-developers] Simulate PreferenceActivity with Fragment

2012-05-10 Thread RMartins
I've already have that, FragmentPreference is not included :(, but thanks anyway!!! Quinta-feira, 10 de Maio de 2012 6:31:30 UTC+1, MagouyaWare escreveu: > > Would the Android Compatibility Library help by chance? > http://android-developers.blogspot.com/2011/03/fragments-for-all.html > > Thanks,

[android-developers] Thread lifetime

2012-05-10 Thread RLScott
I have a working audio input app that uses the AudioRecord class for low-level PCM continuous audio processing. The audio stream is read and analyzed by a separate thread which repeatedly calls audioRecord.read to process the microphone audio one block at a time. Currently I create and start up th

[android-developers] Re: Android usb network

2012-05-10 Thread Harishk
as per my understanding https or any other security method like certificates works on internet application, and in our case we do not have any application on internet it's in intranet. as such there is no need of having application on internet as it's more related to back office operation, and IT o

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread William Kelley
I don't know, I haven't experienced any problems with that yet. I have set my GPS fix interval to as low as 4 seconds and as high as a few minutes (haven't tried anything over that yet) and my device hits those marks just fine. Of course, if I am outside, the fix is usually instantaneous, wherea

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread Kristopher Micinski
On Thu, May 10, 2012 at 3:08 PM, Kristopher Micinski wrote: >> Just having GPS on doesn't drain the battery much at all. It's only when you >> get a fix that you take a hit. And as other have pointed out, although it >> does drain the battery, it doesn't really kill it, and you're right, users >>

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread Kristopher Micinski
> Just having GPS on doesn't drain the battery much at all. It's only when you > get a fix that you take a hit. And as other have pointed out, although it > does drain the battery, it doesn't really kill it, and you're right, users > are not only aware of this, but they want it - no the battery dra

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread William Kelley
lbendlin and gjs, thanks for the confirmation that users do indeed want long running services sometimes. And that battery life is acceptable when running GPS almost non-stop. On Thursday, May 10, 2012 8:43:11 AM UTC-7, Kristopher Micinski wrote: > > > What are your smart ways? No matter what, t

[android-developers] Re: MTP problem

2012-05-10 Thread ShlomiM
Hi, I forgot to mention that I am running it on device with Android 4.0. Thanks, Shlomi On Thursday, May 10, 2012 9:54:31 PM UTC+3, Shlomi Mor wrote: > > Hi, > > My device is connected to PC with MTP connection (over USB). > I am capturing the screen using ADB into a file on /sdcard/. > Now

[android-developers] MTP problem

2012-05-10 Thread Shlomi Mor
Hi, My device is connected to PC with MTP connection (over USB). I am capturing the screen using ADB into a file on /sdcard/. Now I would like to bring that file to the PC over MTP. How can I update MTP code to know about the new file? I have tried to scan the new file using MediaScannerService,

Re: [android-developers] Sms application mod

2012-05-10 Thread Kristopher Micinski
This falls into the common theme on this list of: App X is on my phone, can I take X and add something to it? In pretty much all cases the answer is no. So you have to write your own SMS app. kris On Wed, May 9, 2012 at 11:59 AM, Francesco Venica wrote: > hi at all, there is a way for change S

Re: [android-developers] Add and re-size pictures with processing Android

2012-05-10 Thread Justin Anderson
> > I am using processing in order to develop mobile application for Android > What does this mean? I am trying to build an application "like paint" for android > with processing.i managed to do all the drawing changing color etc > Good job then... but i don't know how to write a function that

Re: [android-developers] Sms application mod

2012-05-10 Thread Justin Anderson
Only if you write your own SMS app or build/release your own firmware... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 9, 2012 at 9:59 AM, Francesco Venica wrote: > hi at all, there is a way for change SMS app adding a mod for load only > th

Re: [android-developers] Help Testing Code For Storage

2012-05-10 Thread Jason Teagle
I'm developing this app using API Level 8 and testing the app on a Samsung Intercept running Android 2.2.2. When I test this code on the Samsung Intercept it successfully makes a directory on the SD card and will read/write files. Will some developers please test this code and provide feedbac

Re: [android-developers] Android coding in Objective-c coding style

2012-05-10 Thread Justin Anderson
Do whatever the heck you feel will be better for you. How can we answer that question for you? Ok, hold on, I'm tossing a quarter heads and you start from scratch, tails and you work with the existing code Flipping.. flipping flipping And the result is: Heads! I guess that

Re: [android-developers] Re: Tethering two android phones

2012-05-10 Thread mike digioia
You can use wifi direct or use phonenet - content centric networking! On May 10, 2012 10:30 AM, "devin kelly" wrote: > > > On Thu, May 10, 2012 at 12:35 PM, Robert Greenwalt > wrote: > >> >> >> On Thu, May 10, 2012 at 9:23 AM, Devin wrote: >> >>> >>> >>> On Thursday, May 10, 2012 11:08:20 AM UT

Re: [android-developers] Re: Tethering two android phones

2012-05-10 Thread devin kelly
On Thu, May 10, 2012 at 12:35 PM, Robert Greenwalt wrote: > > > On Thu, May 10, 2012 at 9:23 AM, Devin wrote: > >> >> >> On Thursday, May 10, 2012 11:08:20 AM UTC-4, Robert Greenwalt wrote: >>> >>> Could you use wifi? They will both be given addresses via dhcp and will >>> be able to see each ot

[android-developers] Help Testing Code For Storage

2012-05-10 Thread JediDroid
Hello Android Developers, I'm trying to write code for the app I'm developing, that will store *User Created files* on the SD card if it is available. If the SD card is not available, it will store the files on the devise Internal Flash if it is available. Also, these User Created files must b

Re: [android-developers] Re: Custom ListView with Checkbox

2012-05-10 Thread Jason Teagle
I am creating a ListView using customized TextView, as shown below: Normally we use this code for multiple list item selection: setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_multiple_choice, hometown)); But I have changed the 2nd argument of

[android-developers] Re: Custom ListView with Checkbox

2012-05-10 Thread Bunty
any help on this please? On May 1, 12:49 pm, Bunty wrote: > I  am creating a ListView using customized TextView, as shown below: > > list_item.xml file: > > > http://schemas.android.com/apk/res/android"; > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:padding

Re: [android-developers] Re: Tethering two android phones

2012-05-10 Thread Robert Greenwalt
On Thu, May 10, 2012 at 9:23 AM, Devin wrote: > > > On Thursday, May 10, 2012 11:08:20 AM UTC-4, Robert Greenwalt wrote: >> >> Could you use wifi? They will both be given addresses via dhcp and will >> be able to see each other. Finding the other guy is a problem, but you're >> going to have th

Re: [android-developers] Re: Tethering two android phones

2012-05-10 Thread Devin
On Thursday, May 10, 2012 11:08:20 AM UTC-4, Robert Greenwalt wrote: > > Could you use wifi? They will both be given addresses via dhcp and will > be able to see each other. Finding the other guy is a problem, but you're > going to have that in any situation. Finding the other guy or finding

[android-developers] How to set clipboard in android emulator for ice cream sandwich?

2012-05-10 Thread David Karr
I found a StackOverflow post that showed me how I can use adb to set the clipboard in the emulator: http://stackoverflow.com/questions/7283446/pasting-text-into-android-emulator-clipboard-using-adb-shell . I'm finding that this only works for Gingerbread, both reading and writing. When I try the s

Re: [android-developers] msword file to save and open

2012-05-10 Thread Jagadeesh
Thanks,can you please elaborate and give any sample for reference On Thu, May 10, 2012 at 9:13 PM, Mark Murphy wrote: > On Thu, May 10, 2012 at 11:39 AM, Jagadeesh wrote: >>  iam trying save msword file saved in raw folder and trying open that >> file its not happening . >> any suggestion.. > >

[android-developers] cache design of Gallery 3D

2012-05-10 Thread wang
does anybody know the cache design of Gallery 3D? Or are there any articles I can refer to? Thanks! -- 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

Re: [android-developers] msword file to save and open

2012-05-10 Thread Mark Murphy
On Thu, May 10, 2012 at 11:39 AM, Jagadeesh wrote: >  iam trying save msword file saved in raw folder and trying open that > file its not happening . > any suggestion.. There is nothing in Android that will "open" an "msword file". You will need a third-party app for that. And, you will need to c

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread Kristopher Micinski
On Thu, May 10, 2012 at 6:17 AM, William Kelley wrote: > > > On Wednesday, May 9, 2012 9:40:20 PM UTC-7, Kristopher Micinski wrote: >> >> >> What you're doing isn't draining the battery only because of the >> service, but also because of the location updates you'll be getting.. > > > GPS fixing is

[android-developers] msword file to save and open

2012-05-10 Thread Jagadeesh
Hi All, iam trying save msword file saved in raw folder and trying open that file its not happening . any suggestion.. Thanks& Regards Jagadeesh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

Re: [android-developers] Re: Android usb network

2012-05-10 Thread Nikolay Elenkov
On Fri, May 11, 2012 at 12:01 AM, Robert Greenwalt wrote: > How about use a secure connection (https)?  If it's good enough for banks > and e-commerce, perhaps it's good enough for your use? > WPA2 EAP might also work -- no shared passwords, and tablets with pre-installed keys and certificates sh

[android-developers] CameraPreview Invisible does not work

2012-05-10 Thread Alberto Seco
Hello! I'm developing an AR application, that need the camera preview, but I draw the content of the camera in a texture. In this way, I set invisible the view that contains the camera preview, and it works well in Galaxy SII (2.3.4), and Nexus S(4.0.4), but in Galaxy Nexus (4.0.4), it does not

Re: [android-developers] Re: Tethering two android phones

2012-05-10 Thread Robert Greenwalt
Could you use wifi? They will both be given addresses via dhcp and will be able to see each other. Finding the other guy is a problem, but you're going to have that in any situation. I think usb tether uses unroutable addresses and considers the two links as separate networks. wifi treats them

Re: [android-developers] Re: Android usb network

2012-05-10 Thread Robert Greenwalt
How about use a secure connection (https)? If it's good enough for banks and e-commerce, perhaps it's good enough for your use? R On Thu, May 10, 2012 at 1:53 AM, Harishk wrote: > sounds better needs to find tablet with physical Ethernet connection. > > About wired tablet, The merit what we se

Re: [android-developers] Customizing Android's default contacts app

2012-05-10 Thread Justin Anderson
> > Yes it is possible, Suppose if u want to add a new field in ur contact > information, u can add the new field in EditContactActivity.java or wat so > ever and update the approprite db table and once if you click on save > button, you can update the value in the contacts DB. Its as simple as ur

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

2012-05-10 Thread ramesh mandare
give me code... On 5/10/12, saran vonteddu wrote: > Hi Shruthi, > > when you click on "Sign in" btn check the telephony state, and if > it is in call state, try to hide progressDialog. May b below code is > useful. > if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_ID

[android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread gjs
Hi, And so do we, I've only had to add start foreground since ICS, before that the service ran OK for days or weeks without being killed. That GPS uses a lot of battery is a total myth IMHO. With screen off can log for over 8 hours & more on some devices. I also support sub seconds GPS logging from

Re: [android-developers] Options missing in Android SDK Manager when started from Eclipse

2012-05-10 Thread Marcin Orlowski
Try asking there: http://tools.android.com/feedback (i.e. on adt-dev group) Regards, Marcin Orlowski *Tray Agenda * - keep you daily schedule handy... *Date In Tray* - current date at glance... WebnetM

[android-developers] Re: why am I receiving location updates without WakeLock if the device is put to sleep?

2012-05-10 Thread ste1024
Am Mittwoch, 9. Mai 2012 16:11:56 UTC+2 schrieb Nadeem Hasan: > > Your phone is using wifi as the location source. If wifi is set to stay up > during phone sleep, LocationManager will continue to provide updates unless > you remove your location update subscription in onSuspend(). How is WiFi

Re: [android-developers] dynamic spinner

2012-05-10 Thread surabhi jain
Thank you... -- 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

Re: [android-developers] dynamic spinner

2012-05-10 Thread Jason Teagle
above code will generate spinners dynamically, when we will click on any spinner then that method will call. OnItemSelectedListener listener=new OnItemSelectedListener(){ @Override public void onItemSelected(AdapterView arg0, View view, int position,long arg3) { Notice the AdapterView argument

Re: [android-developers] Re: How to make Items inside ListView clickable??

2012-05-10 Thread Jason Teagle
Now that I'm awake and read up on ListActivity, which I did not know existed, I have a new suggestion: Try having your class override onListItemClicked() instead of using setOnItemClickedListener() directly on the list view itself. That appears to be the correct way to handle item clicks for L

Re: [android-developers] dynamic spinner

2012-05-10 Thread surabhi jain
LinearLayout hlayout=createHLayout(); LinearLayout.LayoutParams wcfp = new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); TextView label = new TextView(this); label.setLayoutParams(wcfp); label.setText(label1); hlayout.addVie

Re: [android-developers] dynamic spinner

2012-05-10 Thread Jason Teagle
I have created 3 spinner dynamically and adding listener with them but listener is single for all spinner. I want to get selected value of particular spinner. How can I get ? How can we tell if you don't show us your code for the click listener you are adding? If you are using onSetOnClickLi

[android-developers] dynamic spinner

2012-05-10 Thread surabhi jain
I have created 3 spinner dynamically and adding listener with them but listener is single for all spinner. I want to get selected value of particular spinner. How can I get ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: How to make Items inside ListView clickable??

2012-05-10 Thread Febi.M.Felix Maliakkal
yes...this is the log output of that statement 05-10 17:21:11.230: I/LOGCAT(1387): View android.app.ListActivity$2@43e3c530 On Thursday, May 10, 2012 2:57:32 PM UTC+5:30, Febi.M.Felix Maliakkal wrote: > > Hi, > > this is my adapter > SimpleAdapter adapter=null; > >

Re: [android-developers] Re: How to make Items inside ListView clickable??

2012-05-10 Thread Jason Teagle
I think now u undrstood my problem??? That's pretty much what I guessed, but it was best to check. In your onPostExecute(), which you say is getting called (which we know is true, since you see list items), you have: OnItemClickListener li=lv.getOnItemClickListener(); Log.i("LOGCAT", "View

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread Kostya Vasilyev
2012/5/10 lbendlin > We have such a program that supports GPS logging every second. We use a > foreground service (and a notification icon) and the service very rarely > gets killed (and most of the time it gets restarted quickly by the OS) . > Our users are fully aware of and fully ok with the b

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

2012-05-10 Thread saran vonteddu
Hi Shruthi, when you click on "Sign in" btn check the telephony state, and if it is in call state, try to hide progressDialog. May b below code is useful. if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE) getProgressDialog().hide(); let me know if it is n

[android-developers] Re: How to make Items inside ListView clickable??

2012-05-10 Thread Febi.M.Felix Maliakkal
. ok... While executing this code, list is appearing.and while i click on listitems, the called activity is not appearingdat means,,nothing inside OnItemClick is printing or displaying.. Also...from the result i am getting,,it is clear that onPostExec

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread lbendlin
We have such a program that supports GPS logging every second. We use a foreground service (and a notification icon) and the service very rarely gets killed (and most of the time it gets restarted quickly by the OS) . Our users are fully aware of and fully ok with the battery impact. Most of th

[android-developers] Re: which android phone has Environment sensors hardware?

2012-05-10 Thread Jxn
Hello. On 10 Maj, 07:56, Rajender wrote: > Hello, > > which android phone in market has Environment sensors hardware? That's the wrong question, unless you want to buy some devices to test your app. To check devices that work would give you a loong list in your program to update. If you need a

Re: [android-developers] How to make Items inside ListView clickable??

2012-05-10 Thread Jason Teagle
My class is this: Yikes... not quite what we needed. 1. Can we confirm that you *do* see items appearing in your list - in other words, can we confirm that onPostExecute() *does* get called? 2. Can we confirm that - at the risk of insulting your intelligence - you *are* stabbing a finger on

Re: [android-developers] How to make Items inside ListView clickable??

2012-05-10 Thread Jason Teagle
this is my adapter ... I need to make the three views inside this listview clickable This code is not working for me lv.setOnItemClickListener(new OnItemClickListener() { (For reference in the future, please state what *actually* happened - even if the answer is 'nothing happened' -

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread Kostya Vasilyev
2012/5/10 William Kelley > > > > I changed my app to run as a foreground service and so far that has made > all the difference. It hasn't once been restarted in 3 hours. For some > reason, I thought a background process would be less likely to be killed, > but now I see that services that let the

Re: [android-developers] Re: Long running Android service is getting recreated over and over

2012-05-10 Thread William Kelley
On Wednesday, May 9, 2012 9:40:20 PM UTC-7, Kristopher Micinski wrote: > > > What you're doing isn't draining the battery only because of the > service, but also because of the location updates you'll be getting.. > GPS fixing is definitely the main battery killer here, but there are smart w

[android-developers] Read NWC (NoteWorthly Composer) File

2012-05-10 Thread Paulsen J Siahaan
Hi guys, I just want to ask you, is there any ways how can i read and play NWC (NoteWorthly Composer) file by using android programmatically ? any responses will be appreciated. thx -- Warm Regards, -- *Paulsen J Siahaan** *GTalk : paulsenjs5 YM : siahaan_piter Pho

Re: [android-developers] Hidden App in the Play Store ?

2012-05-10 Thread TreKing
On Wed, May 9, 2012 at 9:11 AM, Eric wrote: > Is there a way to achieve this? > No. > Will unpublishing an app will still allow it to be updated? > You can try this very easily to find out. - TreK

Re: [android-developers] Does Download Statistics is Retained for Republished Application once unpublished.

2012-05-10 Thread Raghav Sood
They do. Thanks On Thu, May 10, 2012 at 3:09 PM, TreKing wrote: > On Thu, May 10, 2012 at 2:46 AM, AmodK wrote: > >> If again I publish it after some days, Will the download statistics >> number continue from the previous number ? >> > > Republish it. See what happens. > > > --

Re: [android-developers] Goople Place API

2012-05-10 Thread TreKing
On Wed, May 9, 2012 at 4:24 AM, huynh huấn wrote: > I have started with Google Places API, I try to use demo from > Google, but when I add all libraries to make project stop alert error > and run project. When start project, it confirm VerifyError for some > class from google api. > Explaining

[android-developers] Re: How to access and write to an Allocation in Renderscript

2012-05-10 Thread Nicolas Embleton
I believe that you can use: float4 f4 = rsUnpackColor(*v_in); ( taken from android dev references: http://developer.android.com/guide/topics/renderscript/compute.html ) And then access a specific pixel information using the width or your image, x and y of your image. On Tuesday, A

Re: [android-developers] Does Download Statistics is Retained for Republished Application once unpublished.

2012-05-10 Thread TreKing
On Thu, May 10, 2012 at 2:46 AM, AmodK wrote: > If again I publish it after some days, Will the download statistics number > continue from the previous number ? > Republish it. See what happens. - Tr

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-10 Thread Kostya Vasilyev
10.05.2012 12:25, Johan Appelgren написал: Perhaps the Processes and Threads section in the Dev Guide could make it more clear that it is up to each app to stop its background threads Just to add some perspective: Every Android application has a bunch of Binder threads that are created by

[android-developers] Re: Renderscript variable argument list possible?

2012-05-10 Thread Nicolas Embleton
You mean an array? ( va_list ) Or you mean that sometimes you have 2 arguments and sometimes 3 arguments? I believe it's not possible to have to many things being "variable" in the meaning "using an unplanned memory". RenderScript doesn't affect memory, it just uses the one that have been decla

Re: [android-developers] Customizing Android's default contacts app

2012-05-10 Thread saran vonteddu
Yes it is possible, Suppose if u want to add a new field in ur contact information, u can add the new field in EditContactActivity.java or wat so ever and update the approprite db table and once if you click on save button, you can update the value in the contacts DB. Its as simple as ur working on

[android-developers] Re: Confirmation with pressing back button

2012-05-10 Thread Fran
Hi again, Justin Thanks for that GREAT link. There is no case for spending time breaking my head to solve problems that only occurs on 1.6 and below. Thanks a million, On May 10, 6:20 am, Justin Anderson wrote: > > May be I will nd up using API level 5... is there any place with stats > > abou

Re: [android-developers] Re: Playing an audio file during a call

2012-05-10 Thread asheesh arya
this is not possible during call!! Android platform doesn't provide this facility -- 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

Re: [android-developers] Parcelable encountered IOException writing serializable object - Object serializable with array of another serializable

2012-05-10 Thread Daniel Drozdzewski
Please note that Drawable class in not Serializeable. On 9 May 2012 14:26, Brian Collo Gonçalves wrote: > I have 2 serializable classes as follow: > > @SuppressWarnings("serial") > public class Musicas implements Serializable { >        private String musica; >        private String link; >    

Re: [android-developers] AudioRecord

2012-05-10 Thread asheesh arya
just go through this link http://code.google.com/p/krvarma-android-samples/source/browse/trunk/AudioRecorder.2/?r=77 -- 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

Re: [android-developers] Re: Playing an audio file during a call

2012-05-10 Thread asheesh arya
http://androidforums.com/t-mobile-g1/3228-possible-record-your-phone-conversations.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@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Android usb network

2012-05-10 Thread Harishk
sounds better needs to find tablet with physical Ethernet connection. About wired tablet, The merit what we see is a user can work offline, tablet will be handy and environment we are trying to build is a single portable solution without having complexity of data synchronization process for user (

Re: [android-developers] Building an App with adjustable GUI

2012-05-10 Thread Jason Teagle
i want to develop an App with an flexible User Interface. The User choose an Element from a given list and place it on the Screen. Did anyone an example for this or do i have to start from the ground? The GUI should work like the Widget-Placement on the launchers. I'm thankful for every tip

Re: [android-developers] light sensor

2012-05-10 Thread Raghav Sood
Manually setting the brightness of your display should suffice. On Wed, May 9, 2012 at 2:15 PM, DIWA PRIME wrote: > as light sensor is useful in controlling the device display in > accordance with light exposure...light sensor of my mobile mini pro > too does the same...but am not satisfied with

[android-developers] Re: Android usb network

2012-05-10 Thread Eric Wong (hdmp4.com)
On May 10, 2:28 pm, Harishk wrote: > Thanks Robert, > - I'm developing a application on Android 4.0 ideally this will work > on any android supported device, as of now we do not wants to put any > hardware restriction but if require we can have hardware dependancy. > I mean we thought of running a

[android-developers] Re: Android usb network

2012-05-10 Thread Eric Wong (hdmp4.com)
On May 10, 2:28 pm, Harishk wrote: > Thanks Robert, > - I'm developing a application on Android 4.0 ideally this will work > on any android supported device, as of now we do not wants to put any > hardware restriction but if require we can have hardware dependancy. > I mean we thought of running a

Re: [android-developers] List Item Click is not working

2012-05-10 Thread Jason Teagle
We don't need to see your picture, thanks. This isn't Facebook. I created a list view and given the codes for list item click like but the list item click is not working..why anybody pls help me How are you determining that it isn't working - are you assuming your activity sho

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-10 Thread Johan Appelgren
On Thursday, May 10, 2012 1:30:02 AM UTC+2, Dianne Hackborn wrote: > > Yes well there is this meme spread by certain perhaps not unbiased > entities that having multitasking at all, I mean doing multitasking like > Android, is bad because it is intrinsically battery consuming. This is of > cou

Re: [android-developers] How to know the request is from Android 4.0 phone or Android 4.0 Tablet?

2012-05-10 Thread Kostya Vasilyev
What is a tablet vs. phone? Is the Samsung Galaxy Note a phone or a tablet? What about a 5", 800x480 tablet? Perhaps you could use css media queries to implement elastic design. -- K 10.05.2012 8:35, Kevin Chang написал: Hi, I woudl like to develop a Web Application. It has different UI desig

Re: [android-developers] Going from one view to another

2012-05-10 Thread Raghav Sood
http://developer.android.com/reference/android/content/Intent.html Thanks On Wed, May 9, 2012 at 6:00 PM, Dan Uff wrote: > Hi all: > This may seem like a basic question, but I am brand new to Android > development and can't find this answer, and I am coming from being an > iOS developer. > > Ho

[android-developers] Re: In-App purchase with Google map

2012-05-10 Thread Ali Chousein
People in this list cannot give you a definite answer on this subject. You may try contacting Google Maps support but don't be surprised if you don't get back an answer. > ... enable user to view current location. Just out of curiosity, Google Maps App (which happens to be free) already provides t

Re: [android-developers] could you make black theme for AMOLED device?

2012-05-10 Thread Raghav Sood
This list is for developing applications with the Android SDK, not for requesting features. Thanks On Wed, May 9, 2012 at 9:37 PM, android gogle wrote: > normal theme has too much white color so it takes battery a lot. > AMOLED need black theme. > > -- > You received this message because you ar

Re: [android-developers] Going from one view to another

2012-05-10 Thread Jason Teagle
How do you go from one view to another? I need the user to select a button and then go to another screen. Each screen in Android is an Activity. The way to achieve what you are asking is to create an Intent [object], quoting your target Activity's class, and then start that intent. This lin

Re: [android-developers] Help

2012-05-10 Thread Raghav Sood
Post the LogCat, and the relevant code. thanks On Thu, May 10, 2012 at 9:16 AM, RAJA Revanth wrote: > In the console this what i have received > [2012-05-09 19:59:28 - Testing] Uploading Testing.apk onto device > 'emulator-5554' > [2012-05-09 19:59:30 - Testing] Installing Testing.apk... > [2012

Re: [android-developers] HELP

2012-05-10 Thread Raghav Sood
Absolutely nothing. This is perfectly normal when testing your app. I guess you'd want to test your app after this. Thanks On Wed, May 9, 2012 at 7:52 PM, RAJA Revanth wrote: > [2012-05-09 19:35:57 - Testing] ActivityManager: Starting: Intent { > act=android.intent.action.MAIN cat=[android.inte

  1   2   >