[android-developers] How to retreive edittext and spinner data added dynamically for a linear layout.

2013-04-19 Thread Seshu
when i press the plus image the view should added dynamically for the linearlayout which i defined in xml file. the views contains edittext and spinner and one checkbox button. when the user pressed the nxt btn the checkbox selected and corresponding the user entered the data must be saved. here

Re: [android-developers] Re: how to create a custom gauge in android

2013-04-19 Thread abdallah mouhamed amine
hi bob, am working actuallly on an application like the ADK2011 so mainly my app communicates with a board (like arduino ADK) and get the temperature value via USB to be displayed in mu custom gauge thank you :) 2013/4/18 bob b...@coolfone.comze.com Apparently, the Nexus 7 has no

[android-developers] Re: How to retreive edittext and spinner data added dynamically for a linear layout.

2013-04-19 Thread Ourida
Hi, You added dynamically components to your layout. You can't get them by their references. But you have the reference of your layout, since you said it was added from the xml file. So you can get the layout by it's id. Call for the method that permits to get its children. Iterate. Use

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

2013-04-19 Thread dashman
I'm using ((TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE)).getLine1Number() to retrieve the tel# of the device and then create a serial# out of it. Some users have installed a telephony app (magic jack) that inhibits the reporting of the tel# - getLine1Number() reports

[android-developers] Re: How can users enable compatibility mode?

2013-04-19 Thread user123
Yes, a Nexus 7. Am Donnerstag, 18. April 2013 08:37:31 UTC+2 schrieb Piren: You are using a tablet right? :) Big screen support only shows the Zoom icon on large screen devices (tablets, maybe phablets as well, never seen it on a Note though) On Wednesday, April 17, 2013 11:11:39 PM UTC+3,

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
After a lot of testing the problem appeared again! It is obvious that the previous unfinished asyncktask affects the new. Any suggestions? -- -- 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] Re: bitmapfun project possible bug

2013-04-19 Thread bob
Why not take the code out of the AsyncTask and make it run synchronously? Just look at what's in the *doInBackground* method of the AsyncTask and call it directly instead of by creating and starting a task. Thanks. On Friday, April 19, 2013 7:52:44 AM UTC-5, tsioularisa wrote: After a lot

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
Because it will run in the UI thread and it will not be a good user experience! It will cause lag and not smooth behavior as i guess. The android developers site suggest developers to use asynctask in heavy and slow processes as network download! Have you tested bitmapfun code to see what i

[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

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I doubt it will take very long to delete a few images on Flash memory. The delete operation almost certainly does not zeroize the contents of the file. It will simply unlink it which is probably a very minor write to Flash memory. I bet if you try it you will see it is very fast.

[android-developers] GCM demo error

2013-04-19 Thread Adrià Bergé Aguilar
Hola a todos,Tengo unos días investigando el tema de GCM, en primer lugar me puse compilando prueva 2 proyectos, el servidor y el cliente. El problema se produce cuando usted me envía un mensaje desde el servidor a los clientes. Fuera una excepción al crear el objeto Key remitente con la mía.

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
No it still doesn't work. In the beginning i put all the ckearCache, flushCache and closeCache and the app throw me a Nonresponding message. I put the close cache into a asynctask which was faster but it doesn't solve the problem. My guess is that the imageviewreference of each imageview isn't

Re: [android-developers] GCM demo error

2013-04-19 Thread Jacky Alciné
Why so big? Jacky Alciné home.jalcine.me - blog.jalcine.me - linkedin.jalcine.me 2013/4/19 Adrià Bergé Aguilar adriabe...@gmail.com Hola a todos,Tengo unos días investigando el tema de GCM, en primer lugar me puse compilando prueva 2 proyectos, el servidor y el cliente. El problema se

[android-developers] Generate a QR code from within my app?

2013-04-19 Thread Tobiah
I need my app to display a QR code. Are there any libraries out there that would allow me to do this? Thanks! Tobiah -- -- 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] MediaPlayer does not play ringtone when activity started from locked screen.

2013-04-19 Thread Krishna Prasad
Did you set Wake Lock Permission in manifest? On Thu, Apr 18, 2013 at 5:30 AM, Inn0vative1 john.warm...@gmail.com wrote: I am writing an alarm (kinda) app, which registers a broadcast intent with AlarmManager with the RTC_WAKEUP flag, to go off at a specified time. Works... When the

Re: [android-developers] Re: error message displays on gingerbread emulator but not icecream sandwich emulator

2013-04-19 Thread Krishna Prasad
For google map v2 to run ,it needs a shared library(google play services).usually emulator didnt have this by default. I think ,this error is due to that. On Thu, Apr 18, 2013 at 1:18 AM, John Merlino stoici...@aol.com wrote: Take a look at my newer thread:

Re: [android-developers] GCM demo error

2013-04-19 Thread Adrià Bergé Aguilar
sorry error of copy paste 2013/4/19 Jacky Alciné jackyalc...@gmail.com Why so big? Jacky Alciné home.jalcine.me - blog.jalcine.me - linkedin.jalcine.me 2013/4/19 Adrià Bergé Aguilar adriabe...@gmail.com Hola a todos,Tengo unos días investigando el tema de GCM, en primer lugar me puse

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I was expecting you to change the code to something like this: protected void onDestroy() { super.onDestroy(); mImageFetcher.clearCacheInternal(); mImageFetcher.closeCacheInternal(); } You will need to change the visibility of clearCacheInternal() and

[android-developers] Re: Scrollbar in AdapterView derived object

2013-04-19 Thread Renato Pacheco Vieira
I'm trying to do a horizontal listview and everything is ok, but no scrollbar is shown. Does anybody solved this problem? What must be done in compute methods? On Friday, May 13, 2011 5:45:17 PM UTC-4, Ga wrote: I spent more time on it and it the method ViewRoot.draw throw a nullpointer

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
I changed in the imageworker class these methods public void clearCache() { new CacheAsyncTask().execute(MESSAGE_CLEAR); } public void flushCache() { new CacheAsyncTask().execute(MESSAGE_FLUSH); } public void closeCache() { new

[android-developers] Re: Generate a QR code from within my app?

2013-04-19 Thread Stole Anastasov
https://code.google.com/p/zxing/ On Friday, April 19, 2013 7:38:26 PM UTC+2, Tobiah wrote: I need my app to display a QR code. Are there any libraries out there that would allow me to do this? Thanks! Tobiah -- -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I did import the app, and I was testing it. I put a breakpoint in onDestroy, and it never got hit. I'm not sure how to force the onDestroy() still. Thanks. On Friday, April 19, 2013 2:20:10 PM UTC-5, tsioularisa wrote: I changed in the imageworker class these methods public void

[android-developers] Re: Generate a QR code from within my app?

2013-04-19 Thread Tobiah
On 04/19/2013 10:38 AM, Tobiah wrote: I need my app to display a QR code. Are there any libraries out there that would allow me to do this? Just realized that the zxing app (which I already depend on) can display barcodes as well. So, I am starting the app like this: Intent intent

Re: [android-developers] Generate a QR code from within my app?

2013-04-19 Thread TreKing
On Fri, Apr 19, 2013 at 12:38 PM, Tobiah t...@tobiah.org wrote: Are there any libraries out there that would allow me to do this? This question seems incredibly Googleable. - TreKing

RE: [android-developers] Abridged summary of android-developers@googlegroups.com - 40 Messages in 13 Topics

2013-04-19 Thread lyseng.taing
No attachment Sent from my Cricket smartphone -- -- 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

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I think I see what the problem is. It doesn't like you doing those file operations on the UI thread because of something called *strict mode*. You can tell it to turn that off by modifying the onCreate method in ImageGridActivity like so: @Override protected void onCreate(Bundle

Re: [android-developers] Generate a QR code from within my app?

2013-04-19 Thread Tobiah
On 04/19/2013 01:39 PM, TreKing wrote: On Fri, Apr 19, 2013 at 12:38 PM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: Are there any libraries out there that would allow me to do this? This question seems incredibly Googleable. Yeah, I know. I did spend a long time on google.

[android-developers] Problem on Android 4.2 with screen-on wakelocks

2013-04-19 Thread sebouh00
I have the following goal in my application. I want to wake the phone up and turn the screen on for 1 second from within my service and let the phone go back to sleep. I would like to do this in intervals throughout the day. The sole purpose of this is that turning the screen on will update the

[android-developers] Re: Android - how to handle saving file on low device memory(Internal/External memory)

2013-04-19 Thread gjs
Hi, You can warn the user about pending low memory situation with toast message etc, you could reserve some space before hand with a dummy file or two and use those as necessary, you could save the file to the cloud server. Regards On Thursday, April 18, 2013 9:16:03 PM UTC+10, sumit gulati

[android-developers] Why does Highlighting functionalities is not working in 4.0.4 Tablet?

2013-04-19 Thread Meena Rengarajan
I have selected the Text within a Webview. Once I typed the Word on Edittext Box then If i Clicked Search Button it will search the specific word within a Webview. After Searching the word, It will Highlight the specific selected text within a webview by using some color. It works fine in