[android-developers] thread wait in android
i have one problem with handling the thread in android ,in my class i have to create one thread which create some UI after that thread finish i will get some value ,here i want to wait my Main Process until the thread complete it process but when i put wait() or notify in Main process thread does not show the UI in my application this is sample code protected void onCreate(Bundle savedInstanceState) { downloadThread = new MyThread(this); downloadThread.start(); synchronized(this){ try { this.wait(); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } String test=Recognition.gettemp(); public class MyThread extends Thread { private Recognition recognition; public MyThread(Recognition recognition) { this.recognition = recognition; // TODO Auto-generated constructor stub } @Override public void run() { synchronized(this) { handler.post(new MyRunnable()); } notifyAll(); } } } static public class MyRunnable implements Runnable { public void run() { settemp(template); } } } public static String gettemp() { return template; } public static void settemp(String template) { Recognition.template = template; } } here i will not use AsynTask because i have some other issue that is reason i choose Thread even now the problem is Thread wait do any give the suggestion for this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Admob - can't cerate add because of google crappy wizard or...?
I'm trying to create some ads in Admob, but on last step I always get error: There were problems with your submission but it didn't specify *WHERE WHERE WHERE *:) I swear god, there are no errors on whole page, all fields are correctly filled, I see no red shapes around fields, everything match criterias written under fields, but I stil get this error - without any explanation. Has anybody same experiences? It's totally frustrating :( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: When can every developer reply to reviews?
On Friday, 30 November 2012 07:31:00 UTC+1, Techni wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them Good question. I hope Developer comments will not stay in perpetual beta, with approved developers and second class developers. I also get a fair share of user comments that prompts a reply: - user making totally false and misleading claim (and I'm not talking about not agreeing with personal opinion of user here) - user making support request -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] force start GestureOverlayView
Activity A calls startActivity(intent4activityB); in its OnLongClickListener. Activity B contains a GestureOverlayView. I would like to be able to detect a gesture starting as soon as Activity B starts, but the GestureOverlayView does not begin tracking until the user lifts her finger and then touches the activity again. Is there any way I can force the GestureOverlayView to start a new gesture immediately? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: When can every developer reply to reviews?
Yeah, it's totally irritating - my app has fantastic review, but many idiots posted 1start rating with comments like cant buy it in my country or so. Its false, unobjective, and I have nothing to do with that - I would banned comments like this...Another idios post 1 start rating like dont work after update also I expicitely wrote in 2-3 places in description, that it's better to send mails if they have problem, so I can help them. People are just stupid :) Dňa piatok, 30. novembra 2012 10:44:51 UTC+1 b0b napísal(-a): On Friday, 30 November 2012 07:31:00 UTC+1, Techni wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them Good question. I hope Developer comments will not stay in perpetual beta, with approved developers and second class developers. I also get a fair share of user comments that prompts a reply: - user making totally false and misleading claim (and I'm not talking about not agreeing with personal opinion of user here) - user making support request -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: When can every developer reply to reviews?
Yeah, it's totally irritating - my app has fantastic review, but many idiots posted 1-star rating with comments like cant buy it in my country asshole or so. It's false, unobjective, and I have nothing to do with that - I would banned comments like this...Another slow thinking people post 1-star rating like xyz function dont work after update even I wrote expicitely what to do when updating, and if they have problem I expicitely wrote in 2-3 places in description, that it's better to send mails so I can help them. I have even button in my app to send me mail with 1 click, but no - still writing stupid comments. Some people are just stupid :) Dňa piatok, 30. novembra 2012 10:44:51 UTC+1 b0b napísal(-a): On Friday, 30 November 2012 07:31:00 UTC+1, Techni wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them Good question. I hope Developer comments will not stay in perpetual beta, with approved developers and second class developers. I also get a fair share of user comments that prompts a reply: - user making totally false and misleading claim (and I'm not talking about not agreeing with personal opinion of user here) - user making support request -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: When can every developer reply to reviews?
Yup, that's exactly what I'm talking about. I had hoped switching to google plus accounts would help, but they haven't done that. They just hid the names making it even harder to contact them (sometimes you'd get lucky and the name/date would coincide with someone in the purchase history) now they have no reason at all to behave -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] File explorer with icons from SD card
hi guys my mind is hang on File explorer with icons from SD card please Help me.How to develop a File Explorer with icons look like https://lh5.googleusercontent.com/-f79If0CmEtA/ULiGe6-ZFqI/AOY/QCICwBadXe0/s1600/Capture.JPG -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: View Group onclick event not firing
Hi All, Parent layout holds the ontouch event so it didnt allow click events to its child. Do we have any work around to make touch event for parent to drag the layout and click event to child items. Thanks On Wednesday, November 7, 2012 10:54:28 PM UTC+5:30, Mobile Developer wrote: Hi All, Click event in vewgroup child not firing if i use dispatchTouchEvent(MotionEvent e) for touch. if i use onInterceptTouchEvent(MotionEvent e) i can stop the touch event and click is working as we expect. but i need click for viewgroup child items also i need to touch to drag the viewgroup. Thanks in advance On Wednesday, November 7, 2012 1:25:01 PM UTC+5:30, Mobile Developer wrote: Hi Bob Thanks for your reply. I need to use both touch and click events. if i return false from dispatchTouchEvent then i cant able to use touch events. I dont know how to add click events for viewgroup childs. Thanks On Wed, Nov 7, 2012 at 1:03 AM, bob b...@coolfone.comze.com wrote: Why don't you return false in dispatchTouchEvent? On Tuesday, November 6, 2012 6:37:47 AM UTC-6, Mobile Developer wrote: Hi All, I have viewgroup that extends LinearLayout but i cant able to add onclick events to the child elements. Its only accessing ontouch event. I used dispatchTouchEvent(MotionEvent e) to touch event and i returned true. I tried onInterceptTouchEvent(**MotionEvent ev) to stop touch event. eventhough i cant able to add onclick event. How to add click event on ViewGroup child elements. can we able add onclick and ontouch event for viewgroup? Thanks in advance android-developers@googlegroups.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: When can every developer reply to reviews?
Sometimes it is vital to answer at comments, because people will check the reviews and might see the stupid comments mentioned above and decide not to download it, which leads in less downloads and money lose in cases. On Fri, Nov 30, 2012 at 12:05 PM, Techni neotec...@gmail.com wrote: Yup, that's exactly what I'm talking about. I had hoped switching to google plus accounts would help, but they haven't done that. They just hid the names making it even harder to contact them (sometimes you'd get lucky and the name/date would coincide with someone in the purchase history) now they have no reason at all to behave -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] When can every developer reply to reviews?
Spot on! On Nov 30, 2012 7:34 AM, Techni neotec...@gmail.com wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: force start GestureOverlayView
John A wrote: Activity A calls startActivity(intent4activityB); in its OnLongClickListener. Activity B contains a GestureOverlayView. I would like to be able to detect a gesture starting as soon as Activity B starts, but the GestureOverlayView does not begin tracking until the user lifts her finger and then touches the activity again. Is there any way I can force the GestureOverlayView to start a new gesture immediately? you could try (i know its an ugly solution) to simulate ACTION_DOWN event and pass it to your view: yourView. dispatchTouchEvent(event) pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RES: [android-developers] When can every developer reply to reviews?
This is a Good Question! I’ve put my email address in app description, asking users tell me about suggests, problems, bugs, by mail. However they insist in comment. The same is happening with a specific user which receive error sometimes I am almost puting my cellphone number in the description J Regards, André De: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] Em nome de Francisco Marzoa Enviada em: sexta-feira, 30 de novembro de 2012 08:30 Para: android-developers@googlegroups.com Assunto: Re: [android-developers] When can every developer reply to reviews? Spot on! On Nov 30, 2012 7:34 AM, Techni neotec...@gmail.com wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them -- 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 mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] onutterancecompletedlistener UtteranceProgressListener not fired
This question is a long shot, as it's a peculiar problem I have a foreground service which controls my application's text to speech and recognition functionality. My implementation works correctly for thousands of users, but a handful a Galaxy SIII users are reporting a problem whereby onutterancecompletedlistener or UtteranceProgressListener is not called, which is the trigger for the recognition to start, making the application useless. The application works fine from a launcher shortcut/shake/widget, until the user opens another application!? As soon as they open another application and attempt to start my app again, the listener is not called. The service needs to be restarted in order for it to function again. I have tried absolutely everything and read every post out there, with various suggestions of where to put the listener (onInit). I've tried static implementations, randomly generating the utteranceID, applying individual listeners to each possible call to the speech engine (checking all possibilities of null objects) but nothing fixes it - It speaks successfully and then nothing So, without me posting my thousands of lines of code, could anyone suggest an Android fundamental reason why the listener would fail to be called after an application is opened!?! I'm totally baffled as to how this could even be a possibility or interfering with my app? Suggestions welcome! 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File explorer with icons from SD card
refer this link http://www.eigo.co.uk/labs/how-to-access-sd-card-programmatically-on-android/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] herbew text
Dear all, In My app i need to show the herbew text in text view . it workimg in android OS 4 text view but not in the OS 2 textview . is any solution for solving this issue.please help i have use the vweb view intead of text view but it shows gibberish text in LG device please find any solution -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] herbew text
Google is your friend! Try searching a bit before posting. http://stackoverflow.com/questions/6302221/android-setting-problem-with-textview-for-hebrew-text Check the above link for an answer at your problem. On Fri, Nov 30, 2012 at 2:06 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: Dear all, In My app i need to show the herbew text in text view . it workimg in android OS 4 text view but not in the OS 2 textview . is any solution for solving this issue.please help i have use the vweb view intead of text view but it shows gibberish text in LG device please find any solution -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Persistence 3 Tabs (TabNavigation) in action of ActionBar Sherlock.
Hi I'm using the lastest ActionBar Sherlock version and I'm developing an application with layout with ActionBar and 3 Tabs for the navigation. These tabs will load two attribute classes: *1st Tab - (Dados): Class Cliente.* *2nd and 3rd Tabs - (Entrega, Cobrança): Class ClienteEndereco.* Could I start the whole save of three tabs by the action of Save on the actionBar? And Could I fill the 1st Tab for example and when I change to the 2nd Tab, the 1st doesn't lose the data? More information about the structure: I'd structured the tabs and activities this way: I have a SherlockFragmentActivity (*CadastroCliente*) where I implemented the ActionBar and the Menu with Save, Cancel (You can see at the print below). And I have three SherlockFragment for each Tab: *CadastroClienteDados* *CadastroClienteEntrega* *CadastroClienteCobranca* I've made the layout with 4 xm layout: One for the SherlockFragmentActivity with a FrameLayout inside that will be inflate. One for each SherlockFragment with components(EditText, CheckBox...) I'm working with a Persistence Class with a overridable method grava(), this method will be override on attribute classes to persist the objects in a SQLite databases. https://lh5.googleusercontent.com/-FdScOx8GzfY/ULieweRT2VI/Aiw/Du9SmKV7RE4/s1600/tabDados.png https://lh5.googleusercontent.com/-LUvbCEaMVCE/ULiezrViBMI/Ai4/0Xc-Xv9GkYA/s1600/tabEntrega.png https://lh3.googleusercontent.com/-akSpw289j1U/ULie3q_o9oI/AjA/YmImPD-HmZM/s1600/tabCobranca.png 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Persistence 3 Tabs (TabNavigation) in action of ActionBar Sherlock.
As for the state of the tabs i think you should use the saveInstanceState method or something like this. It will most likely retain the data on it while you are on the TabActivity. Also make your variables public so that when you click the save button you can access them and save them on the way you would like to save them. On Fri, Nov 30, 2012 at 2:30 PM, Guilherme Bernardi gui.bernard...@gmail.com wrote: Hi I'm using the lastest ActionBar Sherlock version and I'm developing an application with layout with ActionBar and 3 Tabs for the navigation. These tabs will load two attribute classes: *1st Tab - (Dados): Class Cliente.* *2nd and 3rd Tabs - (Entrega, Cobrança): Class ClienteEndereco.* Could I start the whole save of three tabs by the action of Save on the actionBar? And Could I fill the 1st Tab for example and when I change to the 2nd Tab, the 1st doesn't lose the data? More information about the structure: I'd structured the tabs and activities this way: I have a SherlockFragmentActivity (*CadastroCliente*) where I implemented the ActionBar and the Menu with Save, Cancel (You can see at the print below). And I have three SherlockFragment for each Tab: *CadastroClienteDados* *CadastroClienteEntrega* *CadastroClienteCobranca* I've made the layout with 4 xm layout: One for the SherlockFragmentActivity with a FrameLayout inside that will be inflate. One for each SherlockFragment with components(EditText, CheckBox...) I'm working with a Persistence Class with a overridable method grava(), this method will be override on attribute classes to persist the objects in a SQLite databases. https://lh5.googleusercontent.com/-FdScOx8GzfY/ULieweRT2VI/Aiw/Du9SmKV7RE4/s1600/tabDados.png https://lh5.googleusercontent.com/-LUvbCEaMVCE/ULiezrViBMI/Ai4/0Xc-Xv9GkYA/s1600/tabEntrega.png https://lh3.googleusercontent.com/-akSpw289j1U/ULie3q_o9oI/AjA/YmImPD-HmZM/s1600/tabCobranca.png 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to access linked files by using AssetManager ?
I have some bunch of Android projects that contains some common resources in Assets folder, So I have created one folder called Android Resources in workspace and copied all common resources in that, and I have linked all resources to Assets folder like this. http://www.badlogicgames.com/wordpress/wp-content/uploads/2011/02/eclipse-link.png Now I am facing problem with accessing that resources. 1) Our normal way of getting files from Asset doesn't work. I understand this because its not physically present in folder AssetManager aManager = context.getAssets(data/Myfile.txt); InputStream is = aManager.open(path); 2) Then I have checked my project file I found some entries there. linkedResources link nameassets/data/Myfile.txt/name type1/type locationURIPARENT-4-PROJECT_LOC/workspace/Android Resources/data/Myfile.txt/locationURI /link Then I have tried to access file by using this path, but not successful. String path=PARENT-4-PROJECT_LOC/workspace/Android Resources/data/Myfile.txt AssetManager aManager = context.getAssets(path); InputStream is = aManager.open(path); every-time I am getting null pointer exception, I feel that I am missing something but not getting what? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: herbew text
Android 2.0/2.1 do not include a Hebrew font by default (except for localized roms in Israel of course), as far as i remember they only added the fonts on 2.2. so if you wish to support the earlier versions, you'd have to supply your own font with the app and set each and every Textview to use it; my guess it will be easier to extend TextView to have that code, then replace all textviews in the app to use your custom view instead. P.S - RTL support in Andriod 2.x is horrible, so you better get someone that can also read Hebrew to make sure the text is shown correctly (i.e the letters might show up, but in an incorrect order) On Friday, November 30, 2012 7:06:46 AM UTC-5, Kunju Vava wrote: Dear all, In My app i need to show the herbew text in text view . it workimg in android OS 4 text view but not in the OS 2 textview . is any solution for solving this issue.please help i have use the vweb view intead of text view but it shows gibberish text in LG device please find any solution -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: When can every developer reply to reviews?
my personal favorites are the i want the app to have feature X, you get 1 star until you add it... bastards lol On Friday, November 30, 2012 4:58:09 AM UTC-5, qkx wrote: Yeah, it's totally irritating - my app has fantastic review, but many idiots posted 1-star rating with comments like cant buy it in my country asshole or so. It's false, unobjective, and I have nothing to do with that - I would banned comments like this...Another slow thinking people post 1-star rating like xyz function dont work after update even I wrote expicitely what to do when updating, and if they have problem I expicitely wrote in 2-3 places in description, that it's better to send mails so I can help them. I have even button in my app to send me mail with 1 click, but no - still writing stupid comments. Some people are just stupid :) Dňa piatok, 30. novembra 2012 10:44:51 UTC+1 b0b napísal(-a): On Friday, 30 November 2012 07:31:00 UTC+1, Techni wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them Good question. I hope Developer comments will not stay in perpetual beta, with approved developers and second class developers. I also get a fair share of user comments that prompts a reply: - user making totally false and misleading claim (and I'm not talking about not agreeing with personal opinion of user here) - user making support request -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Top Developer?
Yeah. On Thursday, November 29, 2012 11:59:14 AM UTC-5, John Coryat wrote: Can you reply to comments now? (you do this in the developer console) -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: thread wait in android
whaaa... thats really going against all the basic android fundamentals. .. first, you never ever stop/hault/wait/busy-wait/do long processes on the UI (what you called Main) thread. You do that, the app is stuck and eventually errors out to the user (an ANR). Second, you shouldn't be creating UI on a background thread (can be done under certain strict conditions, but not recommended). Any code that 'touches' the UI, needs to run on the UI thread. Look up for tutorials regarding using ASyncTasks... also, i think you skipped on reading the Android Fundamentals articles... you should read those :) On Friday, November 30, 2012 4:20:06 AM UTC-5, Mr cool wrote: i have one problem with handling the thread in android ,in my class i have to create one thread which create some UI after that thread finish i will get some value ,here i want to wait my Main Process until the thread complete it process but when i put wait() or notify in Main process thread does not show the UI in my application this is sample code protected void onCreate(Bundle savedInstanceState) { downloadThread = new MyThread(this); downloadThread.start(); synchronized(this){ try { this.wait(); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } String test=Recognition.gettemp(); public class MyThread extends Thread { private Recognition recognition; public MyThread(Recognition recognition) { this.recognition = recognition; // TODO Auto-generated constructor stub } @Override public void run() { synchronized(this) { handler.post(new MyRunnable()); } notifyAll(); } } } static public class MyRunnable implements Runnable { public void run() { settemp(template); } } } public static String gettemp() { return template; } public static void settemp(String template) { Recognition.template = template; } } here i will not use AsynTask because i have some other issue that is reason i choose Thread even now the problem is Thread wait do any give the suggestion for this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: thread wait in android
just noticed that you mentioned AsyncTask and that you wont use it - Well, you should. what you're doing is WRONG. If you're that inclined on doing things the wrong way, at least remove your wait() (there's no need for that) and just post to the UI thread once the thread is done. On Friday, November 30, 2012 9:40:47 AM UTC-5, Piren wrote: whaaa... thats really going against all the basic android fundamentals. .. first, you never ever stop/hault/wait/busy-wait/do long processes on the UI (what you called Main) thread. You do that, the app is stuck and eventually errors out to the user (an ANR). Second, you shouldn't be creating UI on a background thread (can be done under certain strict conditions, but not recommended). Any code that 'touches' the UI, needs to run on the UI thread. Look up for tutorials regarding using ASyncTasks... also, i think you skipped on reading the Android Fundamentals articles... you should read those :) On Friday, November 30, 2012 4:20:06 AM UTC-5, Mr cool wrote: i have one problem with handling the thread in android ,in my class i have to create one thread which create some UI after that thread finish i will get some value ,here i want to wait my Main Process until the thread complete it process but when i put wait() or notify in Main process thread does not show the UI in my application this is sample code protected void onCreate(Bundle savedInstanceState) { downloadThread = new MyThread(this); downloadThread.start(); synchronized(this){ try { this.wait(); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } String test=Recognition.gettemp(); public class MyThread extends Thread { private Recognition recognition; public MyThread(Recognition recognition) { this.recognition = recognition; // TODO Auto-generated constructor stub } @Override public void run() { synchronized(this) { handler.post(new MyRunnable()); } notifyAll(); } } } static public class MyRunnable implements Runnable { public void run() { settemp(template); } } } public static String gettemp() { return template; } public static void settemp(String template) { Recognition.template = template; } } here i will not use AsynTask because i have some other issue that is reason i choose Thread even now the problem is Thread wait do any give the suggestion for this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: When can every developer reply to reviews?
So true. And they stop checking for updates after that. Στις 30 Νοε 2012 4:34 μ.μ., ο χρήστης Piren gpi...@gmail.com έγραψε: my personal favorites are the i want the app to have feature X, you get 1 star until you add it... bastards lol On Friday, November 30, 2012 4:58:09 AM UTC-5, qkx wrote: Yeah, it's totally irritating - my app has fantastic review, but many idiots posted 1-star rating with comments like cant buy it in my country asshole or so. It's false, unobjective, and I have nothing to do with that - I would banned comments like this...Another slow thinking people post 1-star rating like xyz function dont work after update even I wrote expicitely what to do when updating, and if they have problem I expicitely wrote in 2-3 places in description, that it's better to send mails so I can help them. I have even button in my app to send me mail with 1 click, but no - still writing stupid comments. Some people are just stupid :) Dňa piatok, 30. novembra 2012 10:44:51 UTC+1 b0b napísal(-a): On Friday, 30 November 2012 07:31:00 UTC+1, Techni wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them Good question. I hope Developer comments will not stay in perpetual beta, with approved developers and second class developers. I also get a fair share of user comments that prompts a reply: - user making totally false and misleading claim (and I'm not talking about not agreeing with personal opinion of user here) - user making support request -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: official backup/restore docs test example doesn't work?
To follow up in case it's useful to someone else: I ended up doing my testing with two devices using the same google account. IE force a backup from one device, then do a factory reset on a second device and see if the the data gets restored with the app is first installed on the second device. On Thursday, October 11, 2012 9:04:52 PM UTC-4, Chris Grebeldinger wrote: In the documentation: http://developer.android.com/guide/topics/data/backup.html#Testing It recommends testing backup/restore of your application by: 1. installing your app 2. make sure backup/restore is enabled 3. changing some data and calling dataChanged() 4. forcing bmgr to run a backup pass 5. uninstall the app 6. re-install the app and check if your data was restored All seems well until step 4, when I see this in the log: V/BackupManagerService( 306): removePackageParticipantsLocked: uid=10078 #1 V/BackupManagerService( 306): Removing backed-up knowledge of com.example.app And then for step 5: V/BackupManagerService( 306): restoreAtInstall pkg=com.example.app token=21 V/BackupManagerService( 306): No restore set -- skipping restore So apparently backed up data is destroyed when an app is uninstalled, which means the official testing workflow can't possibly work right? What's the best way to test this? Thank 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] wondering if a value of * is deprecated for the metadata android.app.default_searchable?
application... activity.../ meta-data android:name=android.app.default_searchable android:value=* / /application Is this feature of indicating * seem to be deprecated. The following lines in Searchables.java // This value is deprecated, return null if (refActivityName.equals(MD_SEARCHABLE_SYSTEM_SEARCH)) { return null; } Thank you so much Satya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: I am trying to set the Image for an ImageView any help would be great
I believe this document is in error: http://source.android.com/tech/accessories/guide/custom.html It talks about this: Simple Serial Protocol (SSP) I'm fairly certain it should say: Serial Port Profile (SPP) On Wednesday, November 28, 2012 5:49:51 PM UTC-6, Lew wrote: bob wrote: There's a comma on this page that should not be: http://developer.android.com/reference/android/hardware/SensorManager.html This line public class SensorActivity extends Activity, implements SensorEventListener { should have no comma. Oh, yeah, that completely kills the value of the Javadocs! Not. Since you aren't entering that line anywhere, it has zero effect on your use of the class. Zero. The claim was for docs that are wrong. Mere superficial typos don't count for much, though I agree they shouldn't be there. Still, that isn't something that will mislead you about how to use the type, so BFD. I repeat, where are the docs actually wrong? -- Lew Lew wrote: Piren wrote: Without going into the subject at hand, i just want to mention that sometimes the documentation is wrong... already came across a few functions not doing what they say they would do.. so... should probably not rely on that Such as ...? -- Lew -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: hi bros
Change this line: Toast.makeText(MyExpandableActivity.this,Clicked Child,3000).show(); to this: Toast.makeText(MyExpandableActivity.this,Clicked Child,Toast.LENGTH_LONG).show(); On Friday, November 30, 2012 5:10:13 AM UTC-6, sree wrote: Here i am using ExpandableListview,when i clicked child view the toast are not working,why?any one help me. and After clicking child Listview their only one window is open(In attachment two .jpg file line number 3,i clicked feed the cat and that window is open)like that their is which concept is used. It is usefull for me Sorry for my english plz understand me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Getting started with ActionBarSherlock
I'm interested in learning to work with ActionBarSherlock. What are the best tutorials for getting started? I need to start off with the Hello World of ActionBarSherlock and then work my way up to more complex apps. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: missing stuff
That is incorrect. https://lh4.googleusercontent.com/-hgBvaftjfJw/ULjeMBfPIvI/AIo/UREKdhUIOxk/s1600/incorrect.png On Monday, November 26, 2012 5:23:34 PM UTC-6, lbendlin wrote: All that's missing is you agreeing to the license. On Monday, November 26, 2012 6:10:57 PM UTC-5, bob wrote: I'm trying to update my Android SDK. Anyone know why it is complaining about missing stuff here? https://lh5.googleusercontent.com/-N1XO7X5gebY/ULP26nnHvDI/AEs/UYclbz0Feyw/s1600/Screen+Shot+2012-11-26+at+5.07.36+PM.png -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem loading some web pages on some devices
I have some old 2.3 devices that just won't display some HTML pages which all other devices seem to work just fine. All the ones with problems show is a blank page. The really odd thing is that if I copy the HTML file onto the phone, then do this: webview.loadUrl(file:///sdcard/page.html); then it works just fine! Why on earth it would work when locally yet not work when loaded from the Internet I do not know. Anyone run into this before and if so, how did you get around it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: missing stuff
The error seems pretty clear. Which part of you're missing SDK platform version 17 doesn't make sense to you? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem loading some web pages on some devices
Is there anything special on the pages? Javascript or embedded elements - some fancy transitions e.g. in CSS? I'm thinking that the renderer is preventing some advanced stuff on pages loaded from internet instead of local - where it is trusted. A possible workaround would be to load the pages yourself and display them in the way that works? On Fri, Nov 30, 2012 at 5:52 PM, darrinps darri...@gmail.com wrote: I have some old 2.3 devices that just won't display some HTML pages which all other devices seem to work just fine. All the ones with problems show is a blank page. The really odd thing is that if I copy the HTML file onto the phone, then do this: webview.loadUrl(file:///sdcard/page.html); then it works just fine! Why on earth it would work when locally yet not work when loaded from the Internet I do not know. Anyone run into this before and if so, how did you get around it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Michael Banzon http://michaelbanzon.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Getting started with ActionBarSherlock
On Fri, Nov 30, 2012 at 10:10 AM, Jason Hsu jhsu802...@gmail.com wrote: I'm interested in learning to work with ActionBarSherlock. What are the best tutorials for getting started? If you have questions about a 3rd party API, you should consult the web site and / or forums of that API. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: When can every developer reply to reviews?
On Fri, Nov 30, 2012 at 8:31 AM, Piren gpi...@gmail.com wrote: my personal favorites are the i want the app to have feature X, you get 1 star until you add it... bastards lol Even better: feature X already exists. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: missing stuff
https://lh4.googleusercontent.com/-a5IfEa86YE0/ULjsCgvNBII/AI4/w3orFRm8Gsk/s1600/unclear2.png What is unclear is why there is no option to get that SDK. On Friday, November 30, 2012 10:58:56 AM UTC-6, TreKing wrote: The error seems pretty clear. Which part of you're missing SDK platform version 17 doesn't make sense to you? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Admob - can't cerate add because of google crappy wizard or...?
On Fri, Nov 30, 2012 at 3:24 AM, qkx milde...@gmail.com wrote: I'm trying to create some ads in Admob You should probably consult AdMod support. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] GCMBroadcast Receiver Enable/Disable
On Wed, Nov 28, 2012 at 10:53 AM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: Although at first it worked like a charm, in the Preferences Screen, when i restarted the App it stopped working. You should clarify stopped working. Is there any appropriate way to enable/disable such a Receiver across the Application? Don't know a ton about Receivers, but maybe instead of registering it in the manifest, you enable it in code if your preference is set? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem loading some web pages on some devices
Nothing really special. No javascript (and I even turned that off in the webview first thing as a guess). One line of CSS is all. Are you suggesting that I read in the HTML, save it off and then load it back from file like I did to test it? On Friday, November 30, 2012 11:02:06 AM UTC-6, mbanzon wrote: Is there anything special on the pages? Javascript or embedded elements - some fancy transitions e.g. in CSS? I'm thinking that the renderer is preventing some advanced stuff on pages loaded from internet instead of local - where it is trusted. A possible workaround would be to load the pages yourself and display them in the way that works? On Fri, Nov 30, 2012 at 5:52 PM, wrote: I have some old 2.3 devices that just won't display some HTML pages which all other devices seem to work just fine. All the ones with problems show is a blank page. The really odd thing is that if I copy the HTML file onto the phone, then do this: webview.loadUrl(file:///sdcard/page.html); then it works just fine! Why on earth it would work when locally yet not work when loaded from the Internet I do not know. Anyone run into this before and if so, how did you get around it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: External data storage - Best practise
On Friday, November 23, 2012 8:47:38 AM UTC-6, Alexander Hoffmann wrote The second question is: Should I connect directly to the database with the android application or should a create webservices on the server which save the data in the database and which I call from the Android application. My database lecturer at university would have said: never ever expose the raw database, not even to the server application. He was a firm believer in using only stored procedures for any database interaction in order to: - Separate concerns (separate data layer from business logic) - Preserve data consistency (data layer itself makes sure that the data and any changes to it make sense. The business logic is not allowed to mess around with it) - Only allow as much data access / manipulation as necessary - Basically set up a database role with read-only rights for the business logic. That role is also allowed to call these stored procedures If you allow your Android clients direct access to your database you must do a hell of a good job of making sure that no misuse is possible: - SQL injection attacks (could even execute arbitrary code on your server and hijack it) - Access to private server-data - Access to other users' private data - Vandalism, data corruption That's really a tough one to cope with properly so do not go for that option. To keep things secure and reasonable create a web service that offers a clean, authenticated, session based interface to your Android client app. Do not allow direct database access at all. You do not really need to implement stored procedures even though they can be really elegant. But make sure for the very least that you use prepared statements in your SQL queries in order to invoid injection attacks. If you need password based user authentication then please do not store plain text passwords. Store hashed and salted versions of the passwords using individual random salts per password. In case there is a data breach you increase the chances of making the stolen password list useless for an attacker. You can find lots of material online for all these buzz words I mentioned. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Getting the height of soft keyboard.
Is there a way to know the height of the default soft keyboard that appears when a textField is focused? Because I don't want to create my own keyboard, i want to use the default one. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem loading some web pages on some devices
Hmmm...another piece to the puzzle. I intercept the HTML to see what it looks like and although the page stops loading, when I inspect it, all I see is an empty HTML page! So for whatever reason, the problem devices aren't getting the data loaded when I retrieve it over the Internet. For those who want to know how to intercept the HTML, here is what you do just BEFORE your call to WebView.loadUrl() // intercept calls to console.log webview.setWebChromeClient(new WebChromeClient() { public boolean onConsoleMessage(ConsoleMessage cmsg) { // check secret prefix if (cmsg.message().startsWith(MAGIC)) { String msg = cmsg.message().substring(5); // strip off prefix // process HTML DebugLog.d(TAG, msg); return true; } return false; } }); // inject the JavaScript on page load webview.setWebViewClient(new WebViewClient() { public void onPageFinished(WebView view, String address) { // have the page spill its guts, with a secret prefix view.loadUrl(javascript:console.log('MAGIC'+document.getElementsByTagName('html')[0].innerHTML);); //Stop the spinner activityIndicator.setVisibility(View.GONE); } }); On Friday, November 30, 2012 12:03:33 PM UTC-6, darrinps wrote: Nothing really special. No javascript (and I even turned that off in the webview first thing as a guess). One line of CSS is all. Are you suggesting that I read in the HTML, save it off and then load it back from file like I did to test it? On Friday, November 30, 2012 11:02:06 AM UTC-6, mbanzon wrote: Is there anything special on the pages? Javascript or embedded elements - some fancy transitions e.g. in CSS? I'm thinking that the renderer is preventing some advanced stuff on pages loaded from internet instead of local - where it is trusted. A possible workaround would be to load the pages yourself and display them in the way that works? On Fri, Nov 30, 2012 at 5:52 PM, wrote: I have some old 2.3 devices that just won't display some HTML pages which all other devices seem to work just fine. All the ones with problems show is a blank page. The really odd thing is that if I copy the HTML file onto the phone, then do this: webview.loadUrl(file:///sdcard/page.html); then it works just fine! Why on earth it would work when locally yet not work when loaded from the Internet I do not know. Anyone run into this before and if so, how did you get around it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Fragments slow to load when coming back
Did you check for the typical bottlenecks? It sounds like you're performing intensive tasks on the UI thread, which might explain the lag of 2 seconds until the UI is visible. I guess that your web service requests runs on the UI thread. And maybe your code accidentally starts that request again when coming back from the other activity. In general you need to avoid the following on the UI thread: any kind of I/O like reading/writing files, database access, loading bitmaps, Internet requests should be done in a background thread. You can use AsyncTask for doing that. http://developer.android.com/training/articles/perf-anr.html On Tuesday, November 27, 2012 10:27:56 PM UTC-6, MathieuB wrote: Hello! Here's the situation : I have a parent activity that have 3 fragments associated with it. Basically, there is the actionBar and three tabs. Each tab holds a fragment in which there is a listview. The data are the same for all the 3 listviews, just filtered in different way so, in the parent activity, I call a webservice to fetch the data and then I push the data to all three fragments and populate their listviews. When I select an item from one of the listviews, I land on another activity. The PROBLEM is, when I come back (to the activity with 3 fragments), there seems to be a lag from the moment I push the actionbar up button and the activity loads. Tough to explain, but when I hit the up button, it stays selected for about 2 seconds and then switch to the activity. I'm using setRetainInstance on fragments...other than that, I don't know what could be the cause. Do you have any idea? Anything common about using fragments and coming back to this activity after leaving it. 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: missing stuff
On Fri, Nov 30, 2012 at 11:26 AM, bob b...@coolfone.comze.com wrote: What is unclear is why there is no option to get that SDK. Now that's a question. There are numerous hits on Google for android sdk manager missing sdk platform. See if any of those help. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem loading some web pages on some devices
Here rings a bell... I had to work on a WebView based app about two years ago and I also noticed the blank-page problem on some devices whereas it worked just fine on others. It turned out that WebView rejected the SSL certificate of the loaded webpage. So if you're loading an HTTPS page this could be an explanation for that problem. If the server provider / owner of the web page to load does have a valid certificate you need to verify that the certificate information is also consistent and correct (must match the specific domain / subdomain). Android can be very specific about that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: When can every developer reply to reviews?
I hate those ones. On Friday, 30 November 2012 12:17:52 UTC-5, TreKing wrote: On Fri, Nov 30, 2012 at 8:31 AM, Piren gpi...@gmail.com javascript:wrote: my personal favorites are the i want the app to have feature X, you get 1 star until you add it... bastards lol Even better: feature X already exists. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: missing stuff
They did not help. On Friday, November 30, 2012 12:57:27 PM UTC-6, TreKing wrote: On Fri, Nov 30, 2012 at 11:26 AM, bob b...@coolfone.comze.comjavascript: wrote: What is unclear is why there is no option to get that SDK. Now that's a question. There are numerous hits on Google for android sdk manager missing sdk platform. See if any of those help. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Reduce Battery Usage via Airplane Mode
There are plenty of *Battery Saver* apps that do roughly this already. There may be some that even do exactly that. On Tuesday, November 27, 2012 11:16:42 AM UTC-6, Javo wrote: I've never created an android app, however I am a computer science major (sophomore), so I am relatively familiar with some java code. However, I'm still new to programming so forgive me if I say anything ignorant. I have noticed that the less service I have, the more battery power that is used to search for service. My ultimate goal is to create an app that will put my phone on Airplane mode when it is locked and periodically turn off Airplane mode every X minutes. The purpose of putting the phone on Airplane Mode when it is locked is to prevent the phone from using battery searching for service when I am not using it. The purpose of turning off Airplane Mode every X minutes is to allow my phone to update, by searching and hopefully connecting to a network so that I can be alerted of any missed text messages and/or calls that I have received since being on airplane mode. If the phone is unlocked, I would like Airplane mode to be turned off. Ideally, I would rather not have to write this code at all. I would really appreciate it if someone else could write it for me, not because I am lazy, but because this is an app that my phone desperately needs because I spend a lot of time in areas where I have too little service for the phone to effectively use the networks to send information, but just enough service that my phone can still receive information from senders (texts/emails). -Thank you to whomever may be able to help me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Sign Up for the Google Maps API The API keys generated by this page are no longer available
Sign Up for the Google Maps API The API keys generated by this page are no longer available I am using this tool to create my own map http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm I need to access this map from my Android App The Maps API requires a free API key that's associated with your Google Account http://www.google.com/accounts/ and the URL of your web site. You can sign up for one here http://code.google.com/apis/maps/signup.html, and substitute it as the value of the key= parameter in the script tag below. String MyOwnMap = https://maps.google.com/maps/ms?msid=214217748623619348483.0004c4c2e5e1da43c0f90msa=0 ; intent.setComponent(ComponentName.unflattenFromString(com.google.android.apps.maps/com.google.android.maps.MapsActivity)); Maybe some PREMIUM App from GOOGLE ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Best approach for incorporating in-app purchase demo code into real project.
The 'Dungeons' demo code goes to some length to emphasize the security issues involved in implementing in-app purchases. One thing it makes some issue of is being careful about dropping the demo code into an existing project as opposed to reimplementing it from scratch (ugh). I'm using CodeDefender (or whatever it's called, I don't have it in front of me right now) for basic obfuscation, and I certainly intend to mix up the demo code some...but I'm curious if there is a more explicit prescription for how to fold in-app purchases into a project. Would others strongly advise against literally duplicating the Dungeons code into a subpackage of my actual project and then proceeding to make various cosmetic, yet functionally null, changes to the code? Is there a better way to accomplish this overall task? 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 this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to play a video on an OpenGL texture
I've been baffling my brain with this some more. I suspect the solution to the problem lies in this text. /** * Update the texture image to the most recent frame from the image stream. This may only be * called while the OpenGL ES context that owns the texture is current on the calling thread. * It will implicitly bind its texture to the GL_TEXTURE_EXTERNAL_OES texture target. */ public void updateTexImage() { nativeUpdateTexImage(); } I suspect the key is figuring out what while the OpenGL ES context that owns the texture is current on the calling thread means. Anyone have some Advil and a Babel fish? On Thursday, November 29, 2012 2:50:15 PM UTC-6, bob wrote: I'm calling updateTexImage now, and I'm getting some weird error: E/libEGL ( 4995): validate_display:198 error 3008 (EGL_BAD_DISPLAY) E/SurfaceTexture( 4995): [unnamed-4995-0] error creating EGLImage: 0x3008 D/AndroidRuntime( 4995): Shutting down VM W/dalvikvm( 4995): threadid=1: thread exiting with uncaught exception (group=0x40c521f8) E/AndroidRuntime( 4995): FATAL EXCEPTION: main E/AndroidRuntime( 4995): java.lang.RuntimeException: Error during updateTexImage (see logs) E/AndroidRuntime( 4995): at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:164) E/AndroidRuntime( 4995): at com.example.android.basicglsurfaceview.GLES20TriangleRenderer$1.onFrameAvailable(GLES20TriangleRenderer.java:137) E/AndroidRuntime( 4995): at android.graphics.SurfaceTexture$EventHandler.handleMessage(SurfaceTexture.java:244) E/AndroidRuntime( 4995): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 4995): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 4995): at android.app.ActivityThread.main(ActivityThread.java:4507) E/AndroidRuntime( 4995): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 4995): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 4995): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:978) E/AndroidRuntime( 4995): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745) E/AndroidRuntime( 4995): at dalvik.system.NativeStart.main(Native Method) Any ideas? On Thursday, November 29, 2012 1:49:55 PM UTC-6, Romain Guy (Google) wrote: You must call updateTexImage() on SurfaceTexture when a new frame is available (use an OnFrameAvailableListener to be notified.) On Thu, Nov 29, 2012 at 11:39 AM, bob b...@coolfone.comze.com wrote: Does anyone know how to play a video on an OpenGL texture? I tried something like this, but no dice: int[] textures = new int[1]; GLES20.glGenTextures(1, textures, 0); SurfaceTexture st = new SurfaceTexture(textures[0]); Statics.mp.setSurface(new Surface(st)); try { Statics.mp.prepare(); } catch (IllegalStateException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } Statics.mp.start(); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer roma...@android.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem loading some web pages on some devices
By golly it is a secured site. Hmmm...that could just be it. Odd that some versions of Android would care more than others but, hey, if it's the way it is then that's just the way it is. I would think that onReceiveError would get called though and it isn't. Just an over site by 2.3 possibly though. Thanks. I'll dig into this! On Friday, November 30, 2012 1:00:38 PM UTC-6, Nobu Games wrote: Here rings a bell... I had to work on a WebView based app about two years ago and I also noticed the blank-page problem on some devices whereas it worked just fine on others. It turned out that WebView rejected the SSL certificate of the loaded webpage. So if you're loading an HTTPS page this could be an explanation for that problem. If the server provider / owner of the web page to load does have a valid certificate you need to verify that the certificate information is also consistent and correct (must match the specific domain / subdomain). Android can be very specific about that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] recorded video orientation issue on GB 2.3.6
Hi, I tried to record a video and after saving the video, when i tried to play that recorded video from the Gallery it always playing in Landscape mode even if rotate my device into portrait mode. This thing is happening only in Ginger Bread 2.3.6 but in the devices with OS version ICS,2.3.3,2.3.4 the same recorded video is playing in both landscape and portrait mode. Means whether that feature is eliminated from GingerBread 2.3.6 or what. Help me out If anybody is having any idea on this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] GCMBroadcast Receiver Enable/Disable
Stopped working = stopped receiving notifications even though the GCM Receiver was enabled. I have to register the receiver class in the Manifest in order to work. On Fri, Nov 30, 2012 at 7:58 PM, TreKing treking...@gmail.com wrote: On Wed, Nov 28, 2012 at 10:53 AM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: Although at first it worked like a charm, in the Preferences Screen, when i restarted the App it stopped working. You should clarify stopped working. Is there any appropriate way to enable/disable such a Receiver across the Application? Don't know a ton about Receivers, but maybe instead of registering it in the manifest, you enable it in code if your preference is set? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Getting the height of soft keyboard.
You can get it by taking the height the display area and subtracting the height of your outer most ViewGroup. Why do you need the height anyway? On Friday, November 30, 2012 6:38:07 PM UTC, Rudy wrote: Is there a way to know the height of the default soft keyboard that appears when a textField is focused? Because I don't want to create my own keyboard, i want to use the default one. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Getting the height of soft keyboard.
On Fri, Nov 30, 2012 at 12:38 PM, Rudy rudyt...@gmail.com wrote: Is there a way to know the height of the default soft keyboard that appears when a textField is focused? I don't know, but why do you care? There might be a better alternative to whatever you're doing. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] thread life
If you create a Thread in an activity, does it generally live beyond a call to onPause? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] thread life
On Fri, Nov 30, 2012 at 3:10 PM, bob b...@coolfone.comze.com wrote: If you create a Thread in an activity, does it generally live beyond a call to onPause? Why wouldn't it? Write a simple test and see for yourself. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: thread life
Yes. Threads are alive as long as they run and are not at all associated with an Activity's (or any other object's) life-cycle. This is also one of the main reason why it is dangerous to create sub-classes of Thread that are (anonymous) non-static inner classes, where the outer class is an Activity (or any other object whose life-cycle is externally maintained), since instances of these Threads hold implicit references to the outer Activity instance -- Activity leak. On Friday, November 30, 2012 4:10:57 PM UTC-5, bob wrote: If you create a Thread in an activity, does it generally live beyond a call to onPause? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: thread life
Yes, those have nothing to do with one another. On Friday, November 30, 2012 4:10:57 PM UTC-5, bob wrote: If you create a Thread in an activity, does it generally live beyond a call to onPause? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lock option selection
On Thu, Nov 22, 2012 at 3:27 AM, Carlos Delgado Beltrán crdelga...@gmail.com wrote: I'm not a developer for Android but I'm a common user of this devices. Feature requests would go here, I think: http://code.google.com/p/android/issues/list - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Pulling phpBB posts to an Android app
On Tue, Nov 27, 2012 at 10:18 AM, Nirab pudasaini cashless.brot...@gmail.com wrote: I am developing an android app. I need to pull posts from an online phpBB 3 forum and then display them in my app. How do i achieve this Write code to do what you described. http://www.catb.org/esr/faqs/smart-questions.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem loading some web pages on some devices
Well I first tried adding in the onReceivedSslEror into the WebViewClient: @Override public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { DebugLog.d(TAG, SSL Error received); handler.proceed(); } When I ran it though, it never got hit, so I thought it must not be an SSL issue. BUT, then I tried using a browser on the device instead: Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(uriString)); startActivity(myIntent); When the browser came up it showed, you guessed it, a security warning about the certificate! When I pressed Continue to add the exception the page loaded just fine! So, it's either forgo the WebView or get the site to update their certificate. THANKS! On Friday, November 30, 2012 2:20:24 PM UTC-6, darrinps wrote: By golly it is a secured site. Hmmm...that could just be it. Odd that some versions of Android would care more than others but, hey, if it's the way it is then that's just the way it is. I would think that onReceiveError would get called though and it isn't. Just an over site by 2.3 possibly though. Thanks. I'll dig into this! On Friday, November 30, 2012 1:00:38 PM UTC-6, Nobu Games wrote: Here rings a bell... I had to work on a WebView based app about two years ago and I also noticed the blank-page problem on some devices whereas it worked just fine on others. It turned out that WebView rejected the SSL certificate of the loaded webpage. So if you're loading an HTTPS page this could be an explanation for that problem. If the server provider / owner of the web page to load does have a valid certificate you need to verify that the certificate information is also consistent and correct (must match the specific domain / subdomain). Android can be very specific about that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google Maps Api Sign Up
Sign Up for the Google Maps API The API keys generated by this page are no longer available I am using this tool to create my own map http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm I need to access this map from my Android App The Maps API requires a free API key that's associated with your Google Account http://www.google.com/accounts/ and the URL of your web site. You can sign up for one here http://code.google.com/apis/maps/signup.html, and substitute it as the value of the key= parameter in the script tag below. String MyOwnMap = https://maps.google.com/maps/ms?msid=214217748623619348483.0004c4c2e5e1da43c0f90msa=0 ; intent.setComponent(ComponentName.unflattenFromString(com.google.android.apps.maps/com.google.android.maps.MapsActivity)); Maybe some PREMIUM App from GOOGLE ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Getting the height of soft keyboard.
Well i'm using cocos2d-x and when the keyboard appears, it does not reallocate the controls, and if there are controls behind the keyboard they keep behind and i can't see what i am writing, so i want to know the keyboard size to move my view, I tested changing the manifest to do it automatically, but it did not work, so I am trying programatically via Cocos2d-x or via android and jni. El viernes, 30 de noviembre de 2012 12:38:07 UTC-6, Rudy escribió: Is there a way to know the height of the default soft keyboard that appears when a textField is focused? Because I don't want to create my own keyboard, i want to use the default one. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Getting the height of soft keyboard.
On Fri, Nov 30, 2012 at 4:05 PM, Rudy rudyt...@gmail.com wrote: I tested changing the manifest to do it automatically, but it did not work You're referring to this? http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft What did you try that did not work? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Pulling phpBB posts to an Android app
Sounds like a job for java.net.HttpURLConnection. On Tuesday, November 27, 2012 10:18:41 AM UTC-6, Nirab pudasaini wrote: I am developing an android app. I need to pull posts from an online phpBB 3 forum and then display them in my app. How do i achieve this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Getting the height of soft keyboard.
android:windowSoftInputMode=adjustResize but id did not work On Fri, Nov 30, 2012 at 4:29 PM, TreKing treking...@gmail.com wrote: On Fri, Nov 30, 2012 at 4:05 PM, Rudy rudyt...@gmail.com wrote: I tested changing the manifest to do it automatically, but it did not work You're referring to this? http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft What did you try that did not work? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Getting the height of soft keyboard.
On Fri, Nov 30, 2012 at 4:44 PM, J. Rodolfo Peña Butrón rudyt...@gmail.comwrote: android:windowSoftInputMode=adjustResize but id did not work Well, so much for that then. That's what I would have pointed you to. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Pulling phpBB posts to an Android app
Actualy you can make a whole new UI for the phpBB, if you were able to access the forum database. It's not dificult, you just have to search for a good documentation about the phpBB. Em 30/11/2012 20:50, bob b...@coolfone.comze.com escreveu: Sounds like a job for java.net.HttpURLConnection. On Tuesday, November 27, 2012 10:18:41 AM UTC-6, Nirab pudasaini wrote: I am developing an android app. I need to pull posts from an online phpBB 3 forum and then display them in my app. How do i achieve this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] thread life
Yes, with the caveat that if you're doing this it might not be such a good idea. In Android, you might be better fit with creating a Service that mediates interaction between the Activity and the background thread, that or using an asynctask. kris On Fri, Nov 30, 2012 at 4:10 PM, bob b...@coolfone.comze.com wrote: If you create a Thread in an activity, does it generally live beyond a call to onPause? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Best approach for incorporating in-app purchase demo code into real project.
*CodeDefender* - *ProGuard*. Sorry for the confusion. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How can I be assigned a task/bug on the issues list?
I would like to take on an issue found in the issues list of the Android project (http://code.google.com/p/android/issues/list). How can I get assigned as the owner of a specific issue? Thanks. Richard -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How can I be assigned a task/bug on the issues list?
On Fri, Nov 30, 2012 at 5:50 PM, Richard Schilling coderroa...@gmail.comwrote: I would like to take on an issue found in the issues list of the Android project (http://code.google.com/p/android/issues/list). How can I get assigned as the owner of a specific issue? http://source.android.com/source/index.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: hi bros
i am using but not working Toast.makeText(MyExpandableActivity.this,Clicked Child,Toast.LENGTH_LONG).show(); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en