[android-developers] Your apps portfolio
Hi everybody, I'd like to know how you usually shows your app you have worked on to your future clients? Does someone use, have used or recommends https://about.me as a professional portfolio? Would you share your opinion about this subject? Thaks -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Google Play Merchant account link doesn't work
+1 2013/8/22 David Toledo dtole...@gmail.com The same problem for me, too 2013/8/22 Nikolay Elenkov nikolay.elen...@gmail.com On Thu, Aug 22, 2013 at 11:23 PM, Eurig Jones eurigjo...@gmail.com wrote: Right now the Google Play Merchant account link on the Financial Reports tab of google play dev console just redirects you back to the Publisher console. Is anyone else experiencing this? Bookmark http://wallet.google.com/merchant/ and be done with 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Prevent sms sending
Thanks Kris On Thu, Jan 31, 2013 at 6:35 PM, Kristopher Micinski krismicin...@gmail.com wrote: (Though you can apparently still watch the incoming call log and kill calls, I see this as a bug in the Android framework, but you're free to use as you wish...) kris On Thu, Jan 31, 2013 at 4:30 PM, Kristopher Micinski krismicin...@gmail.com wrote: Again: this *should not* be possible to do. Fundamentally, on the app level, you should not have control over this kind of functionality. The relevant Google bug report is here: https://code.google.com/p/android/issues/detail?id=15022 But it is marked as closed. The basic story is: don't try to use system level APIs. kris On Thu, Jan 31, 2013 at 4:02 PM, Lucas Diego diegoluc...@gmail.com wrote: Yeah I've seen and tried it already... The problem is that, it doesn't work on android 2.3.7 or up On 31 Jan 2013 17:32, Kristopher Micinski krismicin...@gmail.com wrote: A google search on android stop call programmatically gives this: http://stackoverflow.com/questions/1083527/how-to-block-calls-in-android kris On Thu, Jan 31, 2013 at 3:05 PM, Lucas Diego diegoluc...@gmail.com wrote: Ok, so... what I did to avoid (or at least try to) user send sms, was to show users a message by the moment they send the sms. Basically, the messagem says that it is aganist the company's rules and they (users) are not suppose to do that. Well.. I think it is gonna decrease the amount of sms which is sent nowadays by them. Kris, what about incoming calls? It follows the same rules of SMS? am I able to programmatically answer and finish them? Thank you guys. On Wed, Jan 30, 2013 at 6:03 PM, Nobu Games dev.nobu.ga...@gmail.com wrote: On top of what Kristopher says: a custom launcher also does not prevent a user from installing another launcher or restore the default launcher. It's a bit hackish to enforce these company policies based on a user space app. You either need to create your custom firmware, which isn't that bad of an option because you are developing for a closed, controlled environment. And / or your client should negotiate with the mobile phone service provider and tell them not to accept text messages from these phones. On Wednesday, January 30, 2013 1:01:46 PM UTC-6, Lucas Diego wrote: Hi everybody, I have been developping a launcher for a company in order to prevent users (from this company of course) from doing some actions on the phone, like send sms text for example. So, I'd like to know how can I prevent user from sending sms text. After seaching it, all I have found is people saying that it is not possible. Well, I refuse to believe that. I think it's gotta be a way to do this; til now, all I'm getting is information about users' sms, using a extended class from ContentObserver, like this: public class SMSObserver extends ContentObserver { private Handler handle = null; private Context context; public SMSObserver(Handler handler, Context context) { super(handler); this.handle = handler; this.context = context; } @Override public void onChange(boolean selfChange) { super.onChange(selfChange); Uri uriSMS = Uri.parse(content://sms/sent); //Uri uriSMS = Uri.parse(content://sms/out); //Uri uriSMS = Uri.parse(content://sms/); Cursor cur = context.getApplicationContext().getContentResolver().query(uriSMS, null, null, null, null); if (cur.moveToNext()) { String[] nomes = cur.getColumnNames(); for (String string : nomes) { Log.i(LAUNCHER, string); } Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(address))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(callback_number))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(read))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(type))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(body))); } } } does anybody knows how to do it? any help would be really great. thanks. Lucas Diego -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit
Re: [android-developers] Re: Prevent sms sending
Ok, so... what I did to avoid (or at least try to) user send sms, was to show users a message by the moment they send the sms. Basically, the messagem says that it is aganist the company's rules and they (users) are not suppose to do that. Well.. I think it is gonna decrease the amount of sms which is sent nowadays by them. Kris, what about incoming calls? It follows the same rules of SMS? am I able to programmatically answer and finish them? Thank you guys. On Wed, Jan 30, 2013 at 6:03 PM, Nobu Games dev.nobu.ga...@gmail.comwrote: On top of what Kristopher says: a custom launcher also does not prevent a user from installing another launcher or restore the default launcher. It's a bit hackish to enforce these company policies based on a user space app. You either need to create your custom firmware, which isn't that bad of an option because you are developing for a closed, controlled environment. And / or your client should negotiate with the mobile phone service provider and tell them not to accept text messages from these phones. On Wednesday, January 30, 2013 1:01:46 PM UTC-6, Lucas Diego wrote: Hi everybody, I have been developping a launcher for a company in order to prevent users (from this company of course) from doing some actions on the phone, like send sms text for example. So, I'd like to know how can I prevent user from sending sms text. After seaching it, all I have found is people saying that it is not possible. Well, I refuse to believe that. I think it's gotta be a way to do this; til now, all I'm getting is information about users' sms, using a extended class from ContentObserver, like this: public class SMSObserver extends ContentObserver { private Handler handle = null; private Context context; public SMSObserver(Handler handler, Context context) { super(handler); this.handle = handler; this.context = context; } @Override public void onChange(boolean selfChange) { super.onChange(selfChange); Uri uriSMS = Uri.parse(content://sms/sent**); //Uri uriSMS = Uri.parse(content://sms/out)**; //Uri uriSMS = Uri.parse(content://sms/); Cursor cur = context.getApplicationContext(** ).getContentResolver().query(**uriSMS, null, null, null, null); if (cur.moveToNext()) { String[] nomes = cur.getColumnNames(); for (String string : nomes) { Log.i(LAUNCHER, string); } Log.i(LAUNCHER, cur.getString(cur.** getColumnIndex(address))); Log.i(LAUNCHER, cur.getString(cur.** getColumnIndex(callback_**number))); Log.i(LAUNCHER, cur.getString(cur.** getColumnIndex(read))); Log.i(LAUNCHER, cur.getString(cur.** getColumnIndex(type))); Log.i(LAUNCHER, cur.getString(cur.** getColumnIndex(body))); } } } does anybody knows how to do it? any help would be really great. thanks. Lucas Diego -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Prevent sms sending
Yeah I've seen and tried it already... The problem is that, it doesn't work on android 2.3.7 or up On 31 Jan 2013 17:32, Kristopher Micinski krismicin...@gmail.com wrote: A google search on android stop call programmatically gives this: http://stackoverflow.com/questions/1083527/how-to-block-calls-in-android kris On Thu, Jan 31, 2013 at 3:05 PM, Lucas Diego diegoluc...@gmail.com wrote: Ok, so... what I did to avoid (or at least try to) user send sms, was to show users a message by the moment they send the sms. Basically, the messagem says that it is aganist the company's rules and they (users) are not suppose to do that. Well.. I think it is gonna decrease the amount of sms which is sent nowadays by them. Kris, what about incoming calls? It follows the same rules of SMS? am I able to programmatically answer and finish them? Thank you guys. On Wed, Jan 30, 2013 at 6:03 PM, Nobu Games dev.nobu.ga...@gmail.com wrote: On top of what Kristopher says: a custom launcher also does not prevent a user from installing another launcher or restore the default launcher. It's a bit hackish to enforce these company policies based on a user space app. You either need to create your custom firmware, which isn't that bad of an option because you are developing for a closed, controlled environment. And / or your client should negotiate with the mobile phone service provider and tell them not to accept text messages from these phones. On Wednesday, January 30, 2013 1:01:46 PM UTC-6, Lucas Diego wrote: Hi everybody, I have been developping a launcher for a company in order to prevent users (from this company of course) from doing some actions on the phone, like send sms text for example. So, I'd like to know how can I prevent user from sending sms text. After seaching it, all I have found is people saying that it is not possible. Well, I refuse to believe that. I think it's gotta be a way to do this; til now, all I'm getting is information about users' sms, using a extended class from ContentObserver, like this: public class SMSObserver extends ContentObserver { private Handler handle = null; private Context context; public SMSObserver(Handler handler, Context context) { super(handler); this.handle = handler; this.context = context; } @Override public void onChange(boolean selfChange) { super.onChange(selfChange); Uri uriSMS = Uri.parse(content://sms/sent); //Uri uriSMS = Uri.parse(content://sms/out); //Uri uriSMS = Uri.parse(content://sms/); Cursor cur = context.getApplicationContext().getContentResolver().query(uriSMS, null, null, null, null); if (cur.moveToNext()) { String[] nomes = cur.getColumnNames(); for (String string : nomes) { Log.i(LAUNCHER, string); } Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(address))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(callback_number))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(read))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(type))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(body))); } } } does anybody knows how to do it? any help would be really great. thanks. Lucas Diego -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send
[android-developers] Prevent sms sending
Hi everybody, I have been developping a launcher for a company in order to prevent users (from this company of course) from doing some actions on the phone, like send sms text for example. So, I'd like to know how can I prevent user from sending sms text. After seaching it, all I have found is people saying that it is not possible. Well, I refuse to believe that. I think it's gotta be a way to do this; til now, all I'm getting is information about users' sms, using a extended class from ContentObserver, like this: public class SMSObserver extends ContentObserver { private Handler handle = null; private Context context; public SMSObserver(Handler handler, Context context) { super(handler); this.handle = handler; this.context = context; } @Override public void onChange(boolean selfChange) { super.onChange(selfChange); Uri uriSMS = Uri.parse(content://sms/sent); //Uri uriSMS = Uri.parse(content://sms/out); //Uri uriSMS = Uri.parse(content://sms/); Cursor cur = context.getApplicationContext().getContentResolver().query(uriSMS, null, null, null, null); if (cur.moveToNext()) { String[] nomes = cur.getColumnNames(); for (String string : nomes) { Log.i(LAUNCHER, string); } Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(address))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(callback_number))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(read))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(type))); Log.i(LAUNCHER, cur.getString(cur.getColumnIndex(body))); } } } does anybody knows how to do it? any help would be really great. thanks. Lucas Diego -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Intercept an app
ok... I might work... but what if another app launches a browse, how can I intercept that? On Wed, Dec 19, 2012 at 6:18 AM, Grzegorz Patynek gpaty...@gmail.comwrote: if i had to do this i would do an activity which is marked as launcher ( only this activity ) having text to enter password. if the password is correct i would open with intent a proper activity, otherwise would stop the application. W dniu wtorek, 18 grudnia 2012 18:52:57 UTC+1 użytkownik Kristopher Micinski napisał: It is impossible: your app should not be able to gain system level privileges. Apps exploiting this type of behavior typically read logs and then shut down other apps by killing them with a pid, relaunching after the user inputs a password. Fortunately, this behavior has been removed (no read logs permission) in newer Android builds. Kris On Tue, Dec 18, 2012 at 9:23 AM, Lucas Diego diego...@gmail.com wrote: Hi everyone! Is it possible to intercept an app to launcher, in order to ask a password before? Like ZDBox (https://play.google.com/**store/apps/details?id=com.** zdworks.android.toolboxhl=enhttps://play.google.com/store/apps/details?id=com.zdworks.android.toolboxhl=en) does? I created my onw launcher and there are some apps that I don't want to be opened, only if the user have the password. How can I do that? Any aswer would be appreciate. -- 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=enhttp://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
Re: [android-developers] Intercept an app
ok! thanks Kris On Wed, Dec 19, 2012 at 11:54 AM, Kristopher Micinski krismicin...@gmail.com wrote: Like I said: you can't. Kris On Wed, Dec 19, 2012 at 8:24 AM, Lucas Diego diegoluc...@gmail.com wrote: ok... I might work... but what if another app launches a browse, how can I intercept that? On Wed, Dec 19, 2012 at 6:18 AM, Grzegorz Patynek gpaty...@gmail.com wrote: if i had to do this i would do an activity which is marked as launcher ( only this activity ) having text to enter password. if the password is correct i would open with intent a proper activity, otherwise would stop the application. W dniu wtorek, 18 grudnia 2012 18:52:57 UTC+1 użytkownik Kristopher Micinski napisał: It is impossible: your app should not be able to gain system level privileges. Apps exploiting this type of behavior typically read logs and then shut down other apps by killing them with a pid, relaunching after the user inputs a password. Fortunately, this behavior has been removed (no read logs permission) in newer Android builds. Kris On Tue, Dec 18, 2012 at 9:23 AM, Lucas Diego diego...@gmail.com wrote: Hi everyone! Is it possible to intercept an app to launcher, in order to ask a password before? Like ZDBox ( https://play.google.com/store/apps/details?id=com.zdworks.android.toolboxhl=en ) does? I created my onw launcher and there are some apps that I don't want to be opened, only if the user have the password. How can I do that? Any aswer would be appreciate. -- 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 -- 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 -- 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] Intercept an app
Hi everyone! Is it possible to intercept an app to launcher, in order to ask a password before? Like ZDBox ( https://play.google.com/store/apps/details?id=com.zdworks.android.toolboxhl=en) does? I created my onw launcher and there are some apps that I don't want to be opened, only if the user have the password. How can I do that? Any aswer would be appreciate. -- 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] Share information
Hi guys! I'd like to know how u guys share information from your app to facebook and twitter. Do you use facebook and twitter's apk or simple use Intent.ACTION_SEND? What do you think is more professional? what do you suggest? thanks. Lucas Diego -- 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] An app inside the other
Hi everyone, I'd like to know if is possible to launch an app inside the other developed by me. I'm trying to run a previous installed app inside a Tabhost for instance. If it is, how could I do this?! Any help would be appreciate. 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 load web page in background
I think u could use HttpClient from http://hc.apache.org/httpclient-3.x/ if you try something like this, it might be useful: * HttpGet httpget = new HttpGet(http://www.your_url.com); HttpResponse response = httpClient.execute(httpget); HttpEntity entity = response.getEntity(); entity.consumeContent(); if (entity != null) { entity.consumeContent(); }* I hope it helps you! On Tue, Mar 27, 2012 at 10:54 AM, rk ramakrishnar...@gmail.com wrote: How to load web page in background ? As part of my application, Im supposed to present a web-page to the user. The webpage is about .5M (has lot of images and js), so i cant fire an activity, as user has to see the page loading for considerable amount of time, if user is on slow network connection. Is there any way that I can load it in background and show the activity, when the loading is complete? 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 -- 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 load web page in background
Actually we don't need the first consumeContent(); it was a part of test code and I forgot to take it off. :-D well... I had never used SerializableEntity, so I can't say whether it works or not. I think u can create a class or method that returns the html page's code and then showing it in a webview from your android app. something like this: //show progress dialog for user (wainting) if (entity != null) { //get the html code String content = EntityUtils.toString(entity); //put the html code in a webview and show the view } //hide the progress dialog Any time. Lucas On Tue, Mar 27, 2012 at 11:54 AM, Rama Krishna ramakrishnar...@gmail.comwrote: Thanks Lucas, Have a small question on the following, entity.consumeContent(); if (entity != null) { entity.consumeContent(); } after consuming, why should we again check for null and consume again ? Can we use SerializableEntity instead of HttpEntity? Please share, If you have any link to sample android program. Thanks Rk On 27 March 2012 19:33, Lucas Diego diegoluc...@gmail.com wrote: I think u could use HttpClient from http://hc.apache.org/httpclient-3.x/ if you try something like this, it might be useful: * HttpGet httpget = new HttpGet( http://www.your_url.com); HttpResponse response = httpClient.execute(httpget); HttpEntity entity = response.getEntity(); entity.consumeContent(); if (entity != null) { entity.consumeContent(); }* I hope it helps you! On Tue, Mar 27, 2012 at 10:54 AM, rk ramakrishnar...@gmail.com wrote: How to load web page in background ? As part of my application, Im supposed to present a web-page to the user. The webpage is about .5M (has lot of images and js), so i cant fire an activity, as user has to see the page loading for considerable amount of time, if user is on slow network connection. Is there any way that I can load it in background and show the activity, when the loading is complete? 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 -- 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 -- 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] Android app (.apk) x Web app (using WebView)?
Hi Guys, I have to make an app for Android and Iphone. I was wondering, if it could be better make one web app that could be accessed for both or make two different app, one for Android and other one for iphone? so, what's better? Doing an app Android/Iphone or only one Web app (using WebView, for example) instead of? thanks. Lucas -- 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