[android-developers] Opening .msg file(Outlook item file) in android programmatically
Hi All, Could anyone share their thoughts on this query. http://stackoverflow.com/questions/13383318/opening-msg-fileoutlook-item-file-in-android-programmatically 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] parsing json data in android
Yeah, mark is right. Its a JSONArray. On Wed, May 25, 2011 at 11:48 PM, Mark Murphy mmur...@commonsware.comwrote: The error message is correct. final is not a JSONObject. It is a JSONArray. You can tell that by the square brackets, instead of braces. On Wed, May 25, 2011 at 1:57 PM, Expressions Unlimitted expressions.j...@gmail.com wrote: I am facing problem with parsing json data. Here is my json json string : {final:[{id:1,value:14,name:Mohammad Arif}]} and here is android code : String jsonstring=jsonstring; // the above json string jobject=new JSONObject(jsonstring); JSONObject object=jobject.getJSONObject(final); String name=object.getString(id); txt.setText(name); -- But i get the following error : JSONException -- [final] is not json object /// Actually i want to get data such as id, name and value etc - -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.6 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 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 installing android sdk in ubuntu 10.10
Hi, Try with this, https://dl-ssl.google.com/android/eclipse/ Thank you With Regards, Nandagopal T On Sun, Apr 24, 2011 at 3:56 PM, Saurav to.saurav.mukher...@gmail.comwrote: Hi all, I am trying to install android sdk, but the for every try, the android sdk manager gives this error message: Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connection timed out It may look silly, but has anybody solved this? And I have tried with and without https! Thanks in advance. Regards, Saurav Mukherjee. -- 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] Displaying the Image in the screen center using Canvas
I am using the canvas to display an image in Android. I want an image to occupy the center of the screen irrespective of the sizes of the screen. So how could i achieve it. This is the snippet that i tried with, Please let me know your ideas too. @Override protected void onDraw(Canvas canvas) { .. .. // This moves the image to right end of the view. sampleImage.draw(canvas,getWidth(),getHeight()); // Tried with this code too, but not getting the image at the center of the screen. sampleImage.draw(canvas,getWidth()/2 - imageWidth/ 2 ,getHeight()/2 - imageHeight/2); .. .. 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: Application not installed
Hi bob, You can find the logcat in the DDMS perspective, check whether you have it in your top right most corner of your eclipse. (or) Window - open perspective - others - DDMS - you can find the log cat in that . Cheers With Regards, Nandagopal T On Wed, Apr 20, 2011 at 12:33 AM, bob b...@coolgroups.com wrote: How do I check the logcat? On Apr 18, 5:05 pm, Kostya Vasilyev kmans...@gmail.com wrote: Bob, Do you see any relevant messages in the logcat when installation fails? 19.04.2011 2:03 пользователь Russell DuRoss r2s...@gmail.com написал: I tried this previously and also couldn't get an apk to install that way - couldn't figure out why. I ended up using dropbox.com to pass files between my development PC and my test device - they install fine when brought down by Dropbox. On Apr 18, 12:31 pm, bob b...@coolgroups.com wrote: I e-mailed an apk file to myself and looked at it thru the Gmail app. It showed an install button, so I tried to install it like that, but it says Application not installed. Anyone know how to fix this? I'm on an LG Optimus. -- 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