[android-developers] How to open .ifc file in an activity?
I want to open a .ifc file in an activity. Is it possible to open? -- 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.
[android-developers] Re: How to open .ifc file in an activity?
I am able to get the read the data from .ifc file in the form text with the help of below code: InputStream XmlFileInputStream = getResources().openRawResource(R.raw.sample); // getting IFC String sIfc = readTextFile(XmlFileInputStream); public String readTextFile(InputStream inputStream) { ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); byte buf[] = new byte[1024]; int len; try { while ((len = inputStream.read(buf)) != -1) { outputStream.write(buf, 0, len); } outputStream.close(); inputStream.close(); } catch (IOException e) { } return outputStream.toString(); } But how to view .ifc file in the original form? Is there any library(or 3rd party .ifc file viewer) available? -- 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.
[android-developers] Re: How to open .ifc file in an activity?
I am able to read the data from .ifc file in the form of text with the help of below code: InputStream XmlFileInputStream = getResources(). openRawResource(R.raw.sample); // getting IFC String sIfc = readTextFile(XmlFileInputStream); public String readTextFile(InputStream inputStream) { ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); byte buf[] = new byte[1024]; int len; try { while ((len = inputStream.read(buf)) != -1) { outputStream.write(buf, 0, len); } outputStream.close(); inputStream.close(); } catch (IOException e) { } return outputStream.toString(); } But how to view .ifc file in the original form? Is there any library(or 3rd party .ifc file viewer) available? -- 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.
[android-developers] Configure android phone without gmail account
Hi all , just a quick question can i configure my android phone without gmail account . Thanks Ankur Goel -- 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.
[android-developers] Supporting ClientCertificates in Android Webview for 4.4
Hi, My app needs to support Client Certificate authentication from my Webview. Until 4.3 , i could do it by accessing internal APIs for onReceivedClientCertRequest() But in 4.4 it seems that the Browser implementation has changed to Chromium browser which has removed the classback for Client certificates. Is there any way to support Client Certificates on Kitkat OS ? -- 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] AppStore emulation tools?
If you are not satisfied by how adb install works, you could try installing by sending the apk by e-mail or downloading it into the device / emulator you are using to test and install it from there. It does ask for permissions and that kind of stuff. Marina On Sun, Jan 12, 2014 at 10:17 AM, smoogli roy.ben.ha...@gmail.com wrote: thanks, tried adb install but it does not prompt and interact with the user. e.g., when adding a permission to the app, it does not prompt with OK, accepted I would like to verify interaction with users in various scenarios. -- 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.
[android-developers] Where to revoke access granted to sample program with 'View basic information about your account' access
Yesterday I was attempting to learn Android OAuth. Using the Google play services samples as a base I managed to get my simple program MyOauthTwo authorized and return my name. So far so good. I know I can invalidate the token from Android. My question is where do I see with the Google web world that I have given this access to MyOauthTwo and how would I revoke it. It does not show in either of these two locations https://accounts.google.com/issuedauthsubtokens https://security.google.com/settings/security/permissions Where should I be looking? Or could it be listed in either of the above and just identified differently? -- 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] Where to revoke access granted to sample program with 'View basic information about your account' access
On Wed, Jan 15, 2014 at 11:27 PM, Jim Stewart jim...@gmail.com wrote: Yesterday I was attempting to learn Android OAuth. Using the Google play services samples as a base I managed to get my simple program MyOauthTwo authorized and return my name. So far so good. I know I can invalidate the token from Android. My question is where do I see with the Google web world that I have given this access to MyOauthTwo and how would I revoke it. Try Google Settings-Connected apps on your phone. -- 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] Where to revoke access granted to sample program with 'View basic information about your account' access
Thanks Nikolay, Learned something new but unfortunately the MyOauthTwo program is not in the list. The app does however still have access. I have two accounts on my phone, one I granted access to, one I did not. The one I granted access to returns my name, the second account asks me to tap OK to approve 'View basic information about your account' Mystery! On Wed, Jan 15, 2014 at 8:58 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Wed, Jan 15, 2014 at 11:27 PM, Jim Stewart jim...@gmail.com wrote: Yesterday I was attempting to learn Android OAuth. Using the Google play services samples as a base I managed to get my simple program MyOauthTwo authorized and return my name. So far so good. I know I can invalidate the token from Android. My question is where do I see with the Google web world that I have given this access to MyOauthTwo and how would I revoke it. Try Google Settings-Connected apps on your phone. -- 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/uyhaWNP5Oh0/unsubscribe . To unsubscribe from this group and all its topics, 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] Where to revoke access granted to sample program with 'View basic information about your account' access
On Thu, Jan 16, 2014 at 12:25 AM, Jim Stewart jim...@gmail.com wrote: Thanks Nikolay, Learned something new but unfortunately the MyOauthTwo program is not in the list. The app does however still have access. I have two accounts on my phone, one I granted access to, one I did not. The one I granted access to returns my name, the second account asks me to tap OK to approve 'View basic information about your account' Uninstalling the app also used to clear the authorization, not sure how this works with newer Google Play Services versions, maybe it's kept server-side. -- 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.
[android-developers] Is this group still maintained?
It is impossible to post with a new (not yet approved) account... Any ideas how to get this problem sorted 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.
[android-developers] Data getting null when the app in background
Hi, In my activity there are two spinners,listview and a button GO. When the user select the options from the spinners and he clicks on GO button there is a server request. whatever the response comes from server i am displaying that data in listview... Once the data displayed, if the user keep the app in background by pressing home..after sometime if the user again comes back to the screen i am getting null pointer exception as the data or object passed to the listview adapter is getting null. Seems System is garbage collected the data... How can I overcome this situation. Can anyone help me 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 --- 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] Data getting null when the app in background
The quick solution is to check, on the onResume of your activity, if the data is null, and if it's null, restart everything. There are other, better ways, but that's the quickest one to code. If you want to find better options, Google about activity life cycle and specially recreation of activities. Marina On Wed, Jan 15, 2014 at 2:47 PM, Abhilash Baddam abhilash.androiddevelo...@gmail.com wrote: Hi, In my activity there are two spinners,listview and a button GO. When the user select the options from the spinners and he clicks on GO button there is a server request. whatever the response comes from server i am displaying that data in listview... Once the data displayed, if the user keep the app in background by pressing home..after sometime if the user again comes back to the screen i am getting null pointer exception as the data or object passed to the listview adapter is getting null. Seems System is garbage collected the data... How can I overcome this situation. Can anyone help me 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 --- 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.
[android-developers] Re: Data getting null when the app in background
Use onSavedInstanceState to save your data and retrieve it in onCreate ( if(savedInstance != null) ...) On Wednesday, January 15, 2014 12:47:23 PM UTC-5, abhay_401 wrote: Hi, In my activity there are two spinners,listview and a button GO. When the user select the options from the spinners and he clicks on GO button there is a server request. whatever the response comes from server i am displaying that data in listview... Once the data displayed, if the user keep the app in background by pressing home..after sometime if the user again comes back to the screen i am getting null pointer exception as the data or object passed to the listview adapter is getting null. Seems System is garbage collected the data... How can I overcome this situation. Can anyone help me 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 --- 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] Configure android phone without gmail account
On Wed, Jan 15, 2014 at 6:08 AM, ANKUR GOEL ankur1...@gmail.com wrote: just a quick question can i configure my android phone without gmail account . Did you try this? http://lmgtfy.com/?q=android+without+google+account - 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 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] Is this group still maintained?
On Wed, Jan 15, 2014 at 9:37 AM, Michael push0...@gmail.com wrote: Any ideas how to get this problem sorted out? Contact the owner? https://groups.google.com/forum/?hl=en#!contactowner/android-developers - 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 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.