[android-developers] Building the apk using the ant script .
Hi , iam facing problem in creating the .apk file using the ant script . The generated .apk named as _unaligned.apk instead of .apk and on installing the _unaligned.apk file to the device i get force-close showing the java.lang.VerifyError exaception , but the same apk generated using IDE works fine . i am struck on this for a long time , is it possible for you to share the build.xml file that generates the .apk file . thank you and regards Sheik -- 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: Zooming on android - google maps becomes slower
hi , thank you for the response, i tried the above mentioned method but it dint find much changes in the drawing on the maps . if u can fwd any worked example project , it would be more helpful .. we are drawing the tracks/routes on the map after the completion of the track . Problem exists when their is large amount of data collected ( atleast after 10mi data drawn on map) and on every zoom this is re-drawn and hence takes time to display . thank u again , regards Sheik On Feb 15, 6:43 pm, TreKing treking...@gmail.com wrote: One easy thing you could do is early out on the shadow pass. Draw gets called twice, one for the shadow layer and then again for the real drawing. So unless you're doing something with the shadow pass you can exit early: draw(, boolean shadow) { super.draw(..., shadow); if (shadow) return; } mapView.postInvalidateDelayed(6000); Also, why are you doing this? Invalidate is used to force a re-draw ... why would you do this in the draw method? - TreKing - Chicago transit tracking app for Android-powered deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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] Zooming on android - google maps becomes slower
Hello developers, Sorry for the inconvenience .. but am stuck up here for quite a while !!! We have developed a GPS based app in which it record the user routes and show it on the map...but Panning around on the map when reviewing my route is painfully slow, it takes at least 4 or 5 seconds for the map to respond the finger swipes.. Overridden the onDraw() method and drawing the lines to show the routes whenever we zoom on the map, the lat-long is again drawn by calling onDraw()(Overridden) method , which has the geopoints with lat- lon values, and thus it becomes very slower process to display the map .. is there any better way to do this so that panning becomes faster as in MyTracks Following is the code to draw the routes on map...please look into it and guide me how can i make it more efficient so that the panning and zooming works well.. Kindly let us know if any difficulty in understanding the Q , i shall try to make simpler. thank u, regards Sheik Ahmed class PathOverlay extends Overlay{ public PathOverlay() { // TODO Auto-generated constructor stub geopoints=new ArrayListGeoPoint(); c.moveToFirst(); for (int i = 0; i c.getCount() ; i++){ if(c.getDouble(c.getColumnIndex(latitude)) != 0.0 || c.getDouble(c.getColumnIndex(longitude))!=0.0) { geopoints.add(getPoint(c.getDouble(c.getColumnIndex(latitude)) , c.getDouble(c.getColumnIndex(longitude; gps_status.add(Boolean.parseBoolean(c.getString(c.getColumnIndex(gps) ))); avgeSpeed_points.add(c.getFloat(9)); } c.moveToNext(); } } private GeoPoint getPoint(double lat, double lon) { return(new GeoPoint((int)(lat*100.0),(int) (lon*100.0))); } @Override public void draw(Canvas canvas, MapView mapView, boolean shadow) { // super.draw(canvas, mapView, shadow); mapView.getDrawingCache(); Paint paint_Line=new Paint(); //paint_Line.setColor(Color.RED); paint_Line.setARGB(255, 255, 0, 0); paint_Line.setStrokeWidth(3); paint_Line.setDither(true); paint_Line.setStyle(Style.FILL); paint_Line.setAntiAlias(true); paint_Line.setStrokeJoin(Paint.Join.ROUND); paint_Line.setStrokeCap(Paint.Cap.ROUND); mapView.postInvalidateDelayed(6000); for(int i=0;igeopoints.size()-1;i++) { Point p1=new Point(); Point p2=new Point(); if((geopoints.get(i).getLatitudeE6()!=geopoints.get(i +1).getLatitudeE6()) (geopoints.get(i).getLongitudeE6()! =geopoints.get(i+1).getLongitudeE6()) gps_status.get(i+1)){ paint_Line.setColor(Color.BLUE); mapView.getProjection().toPixels(geopoints.get(i), p1); mapView.getProjection().toPixels(geopoints.get(i+1),p2); canvas.drawLine(p1.x,p1.y,p2.x,p2.y,paint_Line); } mapView.getProjection().toPixels(geopoints.get(i),p1); if(i==0){ canvas.drawBitmap(start, p1.x-2, p1.y-start.getHeight() +2, null); } if (i+1==geopoints.size()-1) { canvas.drawBitmap(finish, p1.x-2, p1.y- finish.getHeight()+2, null); } } } } -- 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: Upgrading android 1.1 platform to android 1.5
Hi , Its better to let us know about the device name and model... 1. Is it possible to upgrade the phone from 1.1 to 1.5 (or latest) yes u can i have done for htc Dream - developer's phone , upgraded from 1.1 to 1.5 follow this link http://www.htc.com/www/support/android/adp.html regards Sheik -- 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 Calendar in month view
Hello developers, i just wanna know is it possible to display the Calendar in the month view using the api available. i am searching for while dint find anything to display the calendar in the Month view . kindly help and let me know is this possible using android sdk1.5 or 1.6 or even 2.0. If not what would be the procedure to generate month view and highlighting the present date. thank you for ur help. regards Sheik -- 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] Reason for location listener becomes null ??
Hi all , i having issues regarding location listener in myService class file .. here is code i like to share .. myService.java ///onStart method .. onStart() { locationManager = (LocationManager) getSystemService (Context.LOCATION_SERVICE) . . provider = locationManager.getBestProvider(criteria, true); locationListener = (LocationListener) new MyLocationListener(); locationManager.requestLocationUpdates(provider, 0, 0, locationListener); } ///In myActivity.java.. having btn to stop the service OnClick of stop btn in myActivity . ..am doing stopService(new Intent(getApplicationContext(), myService.class) myService.java onDestroy method onDestroy() { locationManager=(LocationManager) getSystemService (Context.LOCATION_SERVICE); locationManager.removeUpdates(locationListener); //Getting **exception here } **exception::: java.lang.IllegalArgumentException: listener==null at android.location.LocationManager.removeUpdates(LocationManager.java: 799) at .package_namemyService.onDestroy(myService.java:407) I dont know Y listener turns null without reason .. kindly guide further on it .. .where am i going wrong !!! thank u .. regards Sheik -- 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: Sending market link in mail
hello developers , help me on this issue .. thanks.. On Jan 5, 11:36 am, sheik sheik...@gmail.com wrote: Hi , i wanna know is it possible to send market link(market://details? id=packge_name) in the mail , that would direct user to the application(in android market). i was not able to send using href -- tag as we do in html . Kindly guide on this issue . kindly let me know if the Q is not clear . Below is the code am using ... Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_SUBJECT, Mail subject ... . .here); sendIntent.putExtra(Intent.EXTRA_TEXT,Chk this app (market:// details?id=package_name) ); sendIntent.setType(text/plain); startActivity(Intent.createChooser(sendIntent, Fwd app link)); thank you .. regards Sheik -- 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: Sending market link in mail
thank you for the reply . i will look into it and let u know .. regards Sheik On Wed, Jan 6, 2010 at 3:11 AM, Vladimir vladimir.funti...@gmail.comwrote: I believe this thread is what you're looking for: http://groups.google.com/group/android-developers/browse_thread/thread/93e3a1591ec0da37/98cddf6f6604eabd On Jan 5, 2:18 pm, sheik sheik...@gmail.com wrote: hello developers , help me on this issue .. thanks.. On Jan 5, 11:36 am, sheik sheik...@gmail.com wrote: Hi , i wanna know is it possible to send market link(market://details? id=packge_name) in the mail , that would direct user to the application(in android market). i was not able to send using href -- tag as we do in html . Kindly guide on this issue . kindly let me know if the Q is not clear . Below is the code am using ... Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_SUBJECT, Mail subject ... . .here); sendIntent.putExtra(Intent.EXTRA_TEXT,Chk this app (market:// details?id=package_name) ); sendIntent.setType(text/plain); startActivity(Intent.createChooser(sendIntent, Fwd app link)); thank you .. regards Sheik -- 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.comandroid-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
[android-developers] Sending market link in mail
Hi , i wanna know is it possible to send market link(market://details? id=packge_name) in the mail , that would direct user to the application(in android market). i was not able to send using href -- tag as we do in html . Kindly guide on this issue . kindly let me know if the Q is not clear . Below is the code am using ... Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_SUBJECT, Mail subject ... . .here); sendIntent.putExtra(Intent.EXTRA_TEXT,Chk this app (market:// details?id=package_name) ); sendIntent.setType(text/plain); startActivity(Intent.createChooser(sendIntent, Fwd app link)); thank you .. regards Sheik -- 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: Need an invitation to google Wave?
hi .. guys .. iam too excited kindly send me one inviteee... thanks .. email id : sheik...@gmail.com regards Sheik On Nov 10, 12:12 am, shobhit kasliwal shobhit.kasli...@gmail.com wrote: Hi I also want one google wave invite if you have one My Email id is shobhit.kasli...@gmail.com Thanks Shobhit On Sat, Nov 7, 2009 at 1:46 AM, fairfriend shaheryar.a...@gmail.com wrote: please gimme one as well, i damn like google wave... shaheryar.a...@gmail.com Thanks, Google Rocks On Nov 7, 5:11 am, Braders dataextr...@hotmail.com wrote: Hi, I would love a Google Wave invite, my email is seobrad...@googlemail.com I would be so gratefull if you could dominate me. Hope you dont mind the post, thanks for your time. Simon Bradley On Nov 7, 12:50 am, Lorys Pognon pognonlo...@gmail.com wrote: Hi I would like to have one On Sun, Nov 1, 2009 at 7:20 AM, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- 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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Shobhit Kasliwal Application Developer Liventus Designs 3400 Dundee Rd Northbrook IL 60062 skasli...@liventus.com office: 847-291-1395 ext. 192 Cell: (309) 826 4709 -- 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: Need an invitation to google Wave?
i like to have one googlewave account . kindly send me one , please .. thanks .. email id : sheik...@gmail.com regards Sheik On Nov 10, 12:12 am, shobhit kasliwal shobhit.kasli...@gmail.com wrote: Hi I also want one google wave invite if you have one My Email id is shobhit.kasli...@gmail.com Thanks Shobhit On Sat, Nov 7, 2009 at 1:46 AM, fairfriend shaheryar.a...@gmail.com wrote: please gimme one as well, i damn like google wave... shaheryar.a...@gmail.com Thanks, Google Rocks On Nov 7, 5:11 am, Braders dataextr...@hotmail.com wrote: Hi, I would love a Google Wave invite, my email is seobrad...@googlemail.com I would be so gratefull if you could dominate me. Hope you dont mind the post, thanks for your time. Simon Bradley On Nov 7, 12:50 am, Lorys Pognon pognonlo...@gmail.com wrote: Hi I would like to have one On Sun, Nov 1, 2009 at 7:20 AM, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- 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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Shobhit Kasliwal Application Developer Liventus Designs 3400 Dundee Rd Northbrook IL 60062 skasli...@liventus.com office: 847-291-1395 ext. 192 Cell: (309) 826 4709 -- 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: Hmm... at last ADC2 is out of our way ... tell about your app and experience
Just released lite version of iCommuteLess in android market for free.. take a look Name : iCommuteLess-lite Track commutes, Save time Category : Lifestyle By: Uttara Infosolutions Website :http://www.icommuteless.com/ Description : iCommuteLess is an application to track your daily commutes. Based on commutes, the application has intelligence built-in to give users intuitive feedback that can help them in saving time! Features : iCommuteLess tries to answer the following questions: How much time do I spend commuting? How much time do I spend in traffic? Which route should I take for a given time? Should I leave 15 mins early or 15 mins later? How is my commuting performance? it also includes AutoStart, RouteSuggest and RouteTrace features! To know more visit : http://www.icommuteless.com To view screen shots and watch video visit http://www.androlib.com/android.application.com-uttara-and-icommute_less_lite-zzpm.aspx regards Sheik Ahmed --~--~-~--~~~---~--~~ 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: A new way to promote and manage your Android Applications!
thanks fro ur response .. and adding to ur site .. regards sheik --~--~-~--~~~---~--~~ 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: Request to official ADC2 team.
++ from me too On Sep 21, 7:44 pm, Salt sal...@gmail.com wrote: + On 9月15日, 午前3:40, Mobidev android.mobi...@gmail.com wrote: . Once upon a time, we had this little group…http://groups.google.com/group/android-challengeAndroidChallenge: Discuss the Android Developer Challenge, including questions on contest details. You can also seek other developers to join a team effort. …then came this message…http://groups.google.com/group/android-challenge/browse_thread/thread... …and the group was closed for ever. A humble request toADC2team to officially start and moderate a newADC2group similar to the previous android-challenge group.ADC2 messages are scattered in android-developers and android-discuss groups.ADC2discussions does not fit in either of these groups. There will be hundreds of queries, comments, news and PR pitches once theADC2judging app goes live. So please could you start aADC2 discussion group at the earliest. Thanks. P.S. Droids of the planet please vote with '+' or '–' for this 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: ADC2 entries so far...
Name : iCommuteLess Track commutes, Save time Category : Lifestyle By: Uttara Infosolutions Website :http://www.commuteless.appspot.com/ Description : iCommuteLess is an application to track your daily commutes. Based on commutes, the application has intelligence built-in to give users intuitive feedback that can help them in saving time! Features : iCommuteLess tries to answer the following questions: How much time do I spend commuting? How much time do I spend in traffic? Which route should I take for a given time? Should I leave 15 mins early or 15 mins later? How is my commuting performance? it also includes AutoStart, RouteSuggest and RouteTrace features! To know more visit : http://www.commuteless.appspot.com/ To view screen shots visit http://www.androlib.com/android.application.com-uttara-and-icommute_less-qBpm.aspx regards Sheik Ahmed --~--~-~--~~~---~--~~ 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: A new way to promote and manage your Android Applications!
hi , great website to bring all the android devices under one roof (one can refer wikipedia .. but still ).Keep the gud work... our app is missing in your market can u please check it.. name : iCommuteLess category : Lifestyle. By: Uttara Infosolutions Website :http://www.commuteless.appspot.com/ for ur reference from androlib.. http://www.androlib.com/android.application.com-uttara-and-icommute_l... thanks regards Sheik ahmed On Aug 11, 1:23 am, Touch-Market touchmar...@gmail.com wrote: Hi All, New Section added to the website Themes It will list you all themes forAndroidskins, font, icons customization You can also search by tag = Themes Note: Themes are still visible on initial categories --- Visit us atwww.touch-market.com The website dedicated to YOU developers The sweet place for YOUAndroidusers --~--~-~--~~~---~--~~ 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: Hmm... at last ADC2 is out of our way ... tell about your app and experience
Name : iCommuteLess Track commutes, Save time Category : Lifestyle By: Uttara Infosolutions Website :http://www.commuteless.appspot.com/ Description : iCommuteLess is an application to track your daily commutes. Based on commutes, the application has intelligence built-in to give users intuitive feedback that can help them in saving time! Features : iCommuteLess tries to answer the following questions: How much time do I spend commuting? How much time do I spend in traffic? Which route should I take for a given time? Should I leave 15 mins early or 15 mins later? How is my commuting performance? it also includes AutoStart, RouteSuggest and RouteTrace features! To know more visit : http://www.commuteless.appspot.com/ To view screen shots visit http://www.androlib.com/android.application.com-uttara-and-icommute_less-qBpm.aspx regards Sheik Ahmed On Sep 22, 7:34 pm, cooolmagic cooolma...@gmail.com wrote: CubeWorks Category - Productivity/Tools CubeWorks is a productivity tool that was created with the realization that completing a task often requires information from more than one source. It displays a cube containing six applications at a time, one on each cube face. This allows a user to access multiple sources quickly, helps them visualize the information and makes navigation easier. More info about app here -http://cubeworksmobile.com After Power Manager and Toggle Settings, we wanted to do something different this time. And we came up with an idea of a cube with various inter-connected apps on it. Developing CubeWorks was really challenging, mainly because of tight deadline and all the great features we wanted to include in this short time. Android's incomplete support of OpenGL made it even harder. But at last we were able to finish it well before final deadline. -abhi On Sep 1, 10:41 am, Lout lout.r...@googlemail.com wrote: While you developers relax... would you mind sharing what apps to expect through this challenge.. and anything else you wish to share aboutADC2submissions... well anything including the fact: 'thank God, no more sleep less nights'! Am collecting information about the challenge (ADC2) for a news article as am with cnet (and AP). Pitch your app if you have already published or would soon publish on the market too. Your app name and description, web link if any, experience withADC2, ... anything would be useful for our article(s). And do you feel that there would have been more submissions than in ADC1? Is the competition going to be tougher or less profound as you were allowed to put up apps not published before 1st Aug only? Do you think that all apps that didn't try for ADC1 should have had a chance? Congratulations on your submissions while you wait for the next phase. Thanks, Lout Reilly ps: Moderators we request you to let this through so that you too get some feedback. --~--~-~--~~~---~--~~ 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] Its Urgent...(for adc2)Getting map api key when publishing the application..
Hi developers.. i refered http://code.google.com/android/add-ons/google-apis/mapkey.html to generate maps on dev phone for my application ... and is working fine and i also refred Final Steps to Enable MapView Elements .. i have a doubt regarding this about the note given below which says: Note that, when you are ready to publish your application, you must get a Maps API Key that is based on the certificate that you will use to sign the application for release. You must then change the Maps API Key strings referenced by all of your MapView elements, so that they reference the new Key. i am not understanding this note ... We need to follow any other procedure to generate map api key during publishing the application..if yes.. where the linkj which describes it ? Or the My_Maps_ApiKey_String is enough to generate maps during the publish application.. com.google.android.maps.MapView android:layout_width=fill_parent android:layout_height=fill_parent android:enabled=true android:clickable=true android:apiKey=My_Maps_ApiKey_String / Kindly help me in this or guide how to move next .. i am almost finished with my application .. only needed to publish it and its my first app and needed guidance on this.. Thanks regards Sheik. --~--~-~--~~~---~--~~ 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: ADC 2 Submission Site -- Now live
been waiting for this for a long while...thanks its finally out.. On Aug 24, 9:57 pm, David McLaughlin (Android Advocate) d...@google.com wrote: The submission site for ADC 2 is now live! For full details, see our blog post: http://android-developers.blogspot.com/2009/08/android-developer-chal... Enjoy, David --~--~-~--~~~---~--~~ 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: ADC2
check this out .. http://android-developers.blogspot.com/2009/08/android-developer-challenge-2-open-for.html final confirmation from .. http://groups.google.com/group/android-developers/browse_thread/thread/2b0f224a326daf04 On Aug 24, 5:42 am, D.Garcia kfgo...@gmail.com wrote: Hi all, Any news about submission site? Please, if anybody knows something from official sources just let us know. Thanks, Darío On Fri, Aug 21, 2009 at 15:19, Jack Ha jack...@t-mobile.com wrote: Check this link: http://www.meetup.com/svandroid/messages/7262249/ -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 20, 8:52 pm, Jeremiah jlcoh...@gmail.com wrote: I'm also searching for an answer to this question. We finished our app today and looked for the submission form, only to not find one. We are unsure if we should submit it to the Android Market or wait for the form. Anyone from Google want to help us out? Also, the fine print states that the apps cannot be updated once submitted, but implies they should be available for free in the Android Market. Does that mean that the Android Market will prevent updating of the application during the competition? Thanks! Jeremiah Cohickhttp://DigitalDandelion.net On Aug 3, 2:31 am, Croco luciano.brous...@gmail.com wrote: Hi all, I'm wondering what is the procedure to submit an application entry for the competition. I can't find into the related docs the procedure to submit a candidate application. Do we need to submit on the Android Market but any android application can't participate according the terms and agreements of the cup. Thanks for your lights ;) Croco --~--~-~--~~~---~--~~ 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: Progress bar like in android market
Thanks for the response... it very much solved the problem... i was not aware of the notifyDataChanged() method and the List8.java example in the API demos .. as i was referring the SlowAdapter.java ... i really appreciate ur help .. Keep the good work.. thanks again.. Regards, Sheik.. On Tue, Jul 21, 2009 at 10:34 PM, Moto medicalsou...@gmail.com wrote: Re-post sorry: Here is your solution: On your custom adapter make its data public to that you can append your new data to it as it downloads. When you get say 10 items loaded you could trigger on the adapter notifyDataChanged. The adapter will take care of adding the new items without moving the scroll bar... :) I think this would work :P --~--~-~--~~~---~--~~ 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: How does Android Market fill in a list?
Thanks for the response... it very much solved the problem... i was not aware of the notifyDataChanged() method and the List8.java example in the API demos .. as i was referring the SlowAdapter.java ... i really appreciate ur help .. Keep the good work.. thanks again.. Regards, Sheik.. On Tue, Jul 21, 2009 at 10:37 PM, Moto medicalsou...@gmail.com wrote: John thanks for your post... I guess I'm over thinking this task... Thanks will use a thread for that... On Jul 21, 12:54 pm, Moto medicalsou...@gmail.com wrote: Not sure if this will help you but here it goes: Create a custom adapter and make its data public to that you can append your new data to it as it downloads. When you get say 10 items loaded you could trigger on the adapter notifiDataChanged. This will just refresh the data and take care of showing the new items without moving the scroll bar... I think this would work :P On Jul 21, 12:20 am, John Smith deltafoxtrot...@gmail.com wrote: 2009/7/21 Moto medicalsou...@gmail.com Ok so I remove that option... Any suggestions to achieve similar idea? Filling a list as it downloads? You need to create a background thread that downloads the list, and as it gets a block of information, say 1280 bytes it should then signal the UI thread to add new rows of information to the list. --~--~-~--~~~---~--~~ 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: Fwd: Generate elevation charts with zoom feature like MyTracks and make canvas scroll
On Jul 7, 10:53 am, sheik sheik...@gmail.com wrote: -- Forwarded message -- From: sheik sheik...@gmail.com Date: Jul 6, 3:57 pm Subject: Generate elevation charts with zoom feature like MyTracks To: Android Developers Hi. i have been using mytracks app for quite a long time...the elevation charts generated by it is really cool ... i was able togeneratethe similar charts but not able add the zoom and flip to right feature..If any one can just guide how to make the canvas flip to right and add zoom . i really appreciate it.. thanks regards sheik --~--~-~--~~~---~--~~ 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: Progress bar like in android market
thanks..for look into it.. On Jul 20, 5:19 pm, Tony xingxin19860...@gmail.com wrote: haha On Jul 20, 7:15 pm, sheik sheik...@gmail.com wrote: Kindly look into it ... anyone out their On Jul 17, 2:17 pm, sheik sheik...@gmail.com wrote: Kindly look into it .. i wanna know how to show the last index in the list after getting the response... On Jul 16, 10:46 pm, sheik sheik...@gmail.com wrote: Hello developers, i have used the progress dialog in order to load the contents from the server to list...But i feel that the progress bar small with loading... message that is used in the android market browser ( in dev phone) is better ... here is the problem iam facing.. 1) i have a list of 100 names that has to be loaded on to the dev phone. I do as follows. extends Activity implements ListView.OnScrollListener ... on every request i am getting 20 items and request is sent in seperate thread and for the UI i am using progress dialog saying Wait..getting details and on getting the response progress_bar.dismiss and setting to the adapter as myList.setAdapter (new MyListAdapter(this)) where MyListAdapter extends BaseAdapter 2) Now i have 20 items in myList ... and the next request for 20 items is sent when i reach the last list item by using the onScrollStateChanged() using view.getLastVisiblePosition(); similarly as explained above i send request in seperate thread(not the UI thread) and show the progress bar and dismiss it on the response... But problem is on myList.setAdapter(new MyListAdapter(this)) , the list goes to the first item and the user(here i...) has to scroll back again to the 20 items to see the list.. I did all the above procedure by referring the slowAdapter example in the API DEMOS... So, here is the problem .. 1) how to show the next 20 items without going to the first item on every second request .. 2) i found that android market browser uses same scenario .. but i dont know how to generate it.. if u guys can help in this by referring me with some example or a procedure to go on further it wouild appreciated ... Sorry for the long explanation... i hope that i have explained the problem clearly .. if not kindly let me know, i shall do it again... Thanks, regards, Sheik ahmed j- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: Cursor position in the edit text
Thank you very much... i was searching a lot on net but turned out be so simple.. just added android:gravity=top as u said... thanks again for ur reply.. regards, sheik glory wrote: Hi , As appears from your Pic you need to apply gravity parameter to your editText i.e android:gravity=top Hope this works Regards, Glory On Jul 16, 10:43 am, sheik sheik...@gmail.com wrote: Hi. kindly help me on it .. i am not getting any help while searching on internet regarding this query .. so i posted here... pls take a look.. regards sheik On Jul 15, 11:03 am, sheik ahmed sheik...@gmail.com wrote: Hi developers, i was going through the notepad tutorials the cursor was placed in the middle of edit text ..i tried to make the cursor to point in the first line as shown in the pic but not able to find the solution for it... Kindly look at the pic and give favorable reply.. thanks regards Sheik Ahmed j edit text cursor.bmp 1047KViewDownload- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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] Progress bar like in android market
Hello developers, i have used the progress dialog in order to load the contents from the server to list...But i feel that the progress bar small with loading... message that is used in the android market browser ( in dev phone) is better ... here is the problem iam facing.. 1) i have a list of 100 names that has to be loaded on to the dev phone. I do as follows. extends Activity implements ListView.OnScrollListener ... on every request i am getting 20 items and request is sent in seperate thread and for the UI i am using progress dialog saying Wait..getting details and on getting the response progress_bar.dismiss and setting to the adapter as myList.setAdapter (new MyListAdapter(this)) where MyListAdapter extends BaseAdapter 2) Now i have 20 items in myList ... and the next request for 20 items is sent when i reach the last list item by using the onScrollStateChanged() using view.getLastVisiblePosition(); similarly as explained above i send request in seperate thread(not the UI thread) and show the progress bar and dismiss it on the response... But problem is on myList.setAdapter(new MyListAdapter(this)) , the list goes to the first item and the user(here i...) has to scroll back again to the 20 items to see the list.. I did all the above procedure by referring the slowAdapter example in the API DEMOS... So, here is the problem .. 1) how to show the next 20 items without going to the first item on every second request .. 2) i found that android market browser uses same scenario .. but i dont know how to generate it.. if u guys can help in this by referring me with some example or a procedure to go on further it wouild appreciated ... Sorry for the long explanation... i hope that i have explained the problem clearly .. if not kindly let me know, i shall do it again... Thanks, regards, Sheik ahmed j --~--~-~--~~~---~--~~ 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: Cursor position in the edit text
Hi. kindly help me on it .. i am not getting any help while searching on internet regarding this query .. so i posted here... pls take a look.. regards sheik On Jul 15, 11:03 am, sheik ahmed sheik...@gmail.com wrote: Hi developers, i was going through the notepad tutorials the cursor was placed in the middle of edit text ..i tried to make the cursor to point in the first line as shown in the pic but not able to find the solution for it... Kindly look at the pic and give favorable reply.. thanks regards Sheik Ahmed j edit text cursor.bmp 1047KViewDownload --~--~-~--~~~---~--~~ 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] Generate elevation charts with zoom feature like MyTracks
Hi. i have been using mytracks app for quite a long time...the elevation charts generated by it is really cool ... i was able to generate the similar charts but not able add the zoom and flip to right feature..If any one can just guide how to make the View flip to right and add zoom . i really appreciate it.. thanks regards sheik --~--~-~--~~~---~--~~ 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] Fwd: Generate elevation charts with zoom feature like MyTracks and make canvas scroll
-- Forwarded message -- From: sheik sheik...@gmail.com Date: Jul 6, 3:57 pm Subject: Generate elevation charts with zoom feature like MyTracks To: Android Developers Hi. i have been using mytracks app for quite a long time...the elevation charts generated by it is really cool ... i was able togeneratethe similar charts but not able add the zoom and flip to right feature..If any one can just guide how to make the canvas flip to right and add zoom . i really appreciate it.. thanks regards sheik --~--~-~--~~~---~--~~ 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: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification
Thanks for ur reply... i took some time for myself to understand the service behaviour...finally i have made the location updates in the service and use db to get details and printing on the activity..i used the notification on the destroy of activity..that is clicking the back button... and this is working well and almost clears my doubt abt the question i had asked earlier on this forum... thanks for the suggestions.. keep the good work on.. On Jun 5, 11:21 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: is it workin dude??? On Thu, Jun 4, 2009 at 9:17 PM, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: dude, try this: Notification n=new Notification(); n.setLatestEventInfo(context, contentTitle, contentText, contentIntent); the contentIntent is the target intent tha'll b called. cheers! On Thu, Jun 4, 2009 at 9:03 PM, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: u dont need to call on pause... if u ve overridden the function in ur activity, it'll b executed... u can use persistence (db or preferences) to save stuffs On Thu, Jun 4, 2009 at 8:53 PM, sheik sheik...@gmail.com wrote: i tried ur method by considering keyevent...but i want the activity to go background ... not able to call onpause method in the keyvent method.. Kindly suggest on the above written scenario...just like how it works on MyTracks and BuddyRunner.. Hope my explaintion on the scenario is clear..if not let me know ..i shall brief again ... thanks for the suggestion and replying back.. regards, sheik On Jun 4, 11:53 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: i don't think its possible as of now... its handled by the os... so i guess it might not be possible in the future as well... but i hv heard of DONT_KILL_APP somewhere... i think its a flag... try searchin for it On Thu, Jun 4, 2009 at 11:45 AM, sheik sheik...@gmail.com wrote: Hi... Is it possible for an activity to avoid destroy mode ... and make activity in pause mode instead... Kindly let me know.. thanks regards sheik On Jun 3, 7:45 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: use onkeylistener check if keycode matches back start ur service here finish the rest i'm not sure on how to do... n u shd wait till u get a reply.. On Wed, Jun 3, 2009 at 8:10 PM, sheik sheik...@gmail.com wrote: Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik -- Forwarded message -- From: sheik sheik...@gmail.com Date: Jun 3, 6:17 pm Subject: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification To: Android Developers Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity
[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification
Hi... Is it possible for an activity to avoid destroy mode ... and make activity in pause mode instead... Kindly let me know.. thanks regards sheik On Jun 3, 7:45 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: use onkeylistener check if keycode matches back start ur service here finish the rest i'm not sure on how to do... n u shd wait till u get a reply.. On Wed, Jun 3, 2009 at 8:10 PM, sheik sheik...@gmail.com wrote: Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik -- Forwarded message -- From: sheik sheik...@gmail.com Date: Jun 3, 6:17 pm Subject: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification To: Android Developers Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik -- Regards, Sujay H. L. Mencken http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html - Nobody ever went broke underestimating the taste of the American public. --~--~-~--~~~---~--~~ 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: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification
i tried ur method by considering keyevent...but i want the activity to go background ... not able to call onpause method in the keyvent method.. Kindly suggest on the above written scenario...just like how it works on MyTracks and BuddyRunner.. Hope my explaintion on the scenario is clear..if not let me know ..i shall brief again ... thanks for the suggestion and replying back.. regards, sheik On Jun 4, 11:53 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: i don't think its possible as of now... its handled by the os... so i guess it might not be possible in the future as well... but i hv heard of DONT_KILL_APP somewhere... i think its a flag... try searchin for it On Thu, Jun 4, 2009 at 11:45 AM, sheik sheik...@gmail.com wrote: Hi... Is it possible for an activity to avoid destroy mode ... and make activity in pause mode instead... Kindly let me know.. thanks regards sheik On Jun 3, 7:45 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: use onkeylistener check if keycode matches back start ur service here finish the rest i'm not sure on how to do... n u shd wait till u get a reply.. On Wed, Jun 3, 2009 at 8:10 PM, sheik sheik...@gmail.com wrote: Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik -- Forwarded message -- From: sheik sheik...@gmail.com Date: Jun 3, 6:17 pm Subject: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification To: Android Developers Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik -- Regards, Sujay H. L. Mencken http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html - Nobody ever went broke underestimating the taste of the American public. -- Regards, Sujay George Bernard Shawhttp://www.brainyquote.com/quotes/authors/g/george_bernard_shaw.html - A government that robs Peter to pay Paul can always depend on the support of Paul. --~--~-~--~~~---~--~~ 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] Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification
Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik --~--~-~--~~~---~--~~ 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] Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification
Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik -- Forwarded message -- From: sheik sheik...@gmail.com Date: Jun 3, 6:17 pm Subject: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification To: Android Developers Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK (arrow key on dev) .. activity goes to destroy mode (which i dont want)...and call the service with dispatches the notification with the icon ..Still the location updates are ON.. 3)When i click the notification icon..i must get back the same activity which was getting the updates and updated values printed on the text view... I wonder is this possible .. i have gone through some apps such as My Tracks, Buddy Runner...which works well on this scenario... I hope some android developers give a favorable reply and help in solving the problem... I referred the LocalService and LocalServiceController examples from API demo ..but the activity is destroyed on the click of BACK ... Kindly help on this... Regards, Sheik --~--~-~--~~~---~--~~ 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 close msg for few seconds when application starts, why?
Thanks...the above refrence and sample code really helped in understanding threads and UI in android... Now i am looking for progress bar examples whr i can add it and make it enable wen i am sending data to the internet.. Kindly suggest on it... regards, sheik On May 11, 5:19 pm, dillirao malipeddi dillir...@arijasoft.com wrote: bellow code will connect to the url specified in the start_Download_Content( url to connect); and prints the response. may be this will help you and also set timeout as 10 sec import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.apache.http.client.HttpClient; import org.apache.http.client.ResponseHandler; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.BasicResponseHandler; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.HttpConnectionParams; import org.apache.http.params.HttpParams; import android.app.Activity; import android.os.Bundle; import android.util.Log; public class download extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); startDownload(); } /* static final String talam_vedike_chotu = http://www.arijasoft.com/customer_demos/Arija_Android_Dev/sdk/aor/cho... ?; String okato_argument = testnuller; String rendo_argument = null; String aakari_padasmooham = talam_vedike_chotu + mana_thalam= + okato_argument + vadi_thalam= + rendo_argument ; String sodhana_falitham = new String(); */ private void startDownload() { // TODO Auto-generated method stub Runnable downloader = new Runnable() { @Override public void run() { // TODO Auto-generated method stub start_Download_Content(http://your connection); } }; new Thread(downloader).start(); } public String start_Download_Content(String url_Pls)//throws Exception { int TIMEOUT_MILLISEC = 1; //=10sec HttpParams my_httpParams = new BasicHttpParams();; HttpConnectionParams.setConnectionTimeout(my_httpParams, TIMEOUT_MILLISEC); //set connection time out HttpConnectionParams.setSoTimeout(my_httpParams, TIMEOUT_MILLISEC); // set socket time out HttpClient httpclient = new DefaultHttpClient(my_httpParams); //get http client with given params String responseBody = null; try { HttpGet httpget = new HttpGet(url_Pls); Log.i(PLS CONTENT GET,executing request + httpget.getURI()); // Create a response handler ResponseHandlerString responseHandler = new BasicResponseHandler(); responseBody = httpclient.execute(httpget, responseHandler); } catch(Exception e) { Log.i(Exception,Http Connection+e.toString()); } String _Content = responseBody; Log.i(,-START---); Log.i(Response,+_Content); Log.i(,---END-); return pls_Content; } } On Mon, May 11, 2009 at 5:23 PM, sheik sheik...@gmail.com wrote: Hi.. i am facing similar problem..as i am using network connection in the main threadcan u fwd any code regarding creating thread inorder to send the request...and thus avoiding force close error... kindly help in this regard.. thanking you..in advance.. regards, Sheik; On Mar 13, 4:40 pm, dillirao malipeddi dillir...@arijasoft.com wrote: don't do any complex operations like network connection.. etc on main thread for those operations use separate thread if any time taken operations on main thread will cause fource close exception try to keep main thread as simple as possible.. On Fri, Mar 13, 2009 at 5:05 PM, zeeshan genx...@gmail.com wrote: Hi Android Experts, i am having a force close Dialogue msg for few seconds when i run my application. can anyone tell me why is that and how can i resolve it. do i need to use thread to start my main activity? any solution? -- Dilli Rao. M -- Dilli Rao. M --~--~-~--~~~---~--~~ 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] wanted chart api for the android application..
HI,. I am looking for the .jar file or an api where i can use and draw charts for my android application...i searched net about it couldnt find much results..Kindly help in it to find any chart api that can be for the android applications thanks, regards sheik --~--~-~--~~~---~--~~ 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] Fwd: wanted chart api for the android application..
-- Forwarded message -- From: sheik sheik...@gmail.com Date: May 9, 12:13 pm Subject:Looking for chart api for the android application.. To: Android Developers HI,. I am looking for the .jar file or an api where i can use and draw charts for my android application...i searched net about it couldnt find much results..Kindly help in it to find any chart api that can be for the android applications thanks, regards sheik --~--~-~--~~~---~--~~ 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: AChartEngine - a charting framework for Android applications
Hi, i have downloaded the achartengine jar file and worked on some examples . From past few days i was looking for the implementation of charts in android ... i think it has given the solution But still i have some concerns regarding the Barcharts in the tilted form.I shall attach the png file of barchart in tilted form .Kindly let me know is it possible using your api...any examples or code will be appreciated Keep up the good work... regards, Sheik On Mar 2, 7:18 pm, Dan dandromeres...@gmail.com wrote: Hello, We are proud to announce that the 0.2.0 version of AChartEngine was released. AChartEngine is a charting library forAndroidapplications. It supports the following chart types: * line chart * area chart * scatter chart * time chart * bar chart * pie chart All the above supported chart types can contain multiple series. Any chart can be built as a view that can be added to a view group or as an intent for starting an activity. New chart types will be added in the following releases of the library. Please send any kind of feedback that you have related to this library. The 0.3.0 release is planned for the end of March. You can visit the project website at:http://www.achartengine.org The library, the javadocs and a demo source code project can be downloaded fromhttp://code.google.com/p/achartengine Regards, Dan http://www.4viewsoft.comhttp://www.achartengine.org --~--~-~--~~~---~--~~ 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] Add icon/symbol as title in each activity.
Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. On Feb 27, 10:05 am, sheik sheik...@gmail.com wrote: Kindly look into this query...and please do reply...Thank you On Feb 27, 12:50 am, sheik sheik...@gmail.com wrote: am referring Icon or Symbol to blue color pic in the label in activity as show above in pic.. On Feb 27, 12:47 am, sheik sheik...@gmail.com wrote: Hi, i just found the google checkout view from a link google checkout activity.. http://froogloid.wordpress.com/2009/02/20/android-market-server-errors/ i was wondering how to make available symbol or an icon in all the activities in a application ? Kindly comment on this Thank you regards, --~--~-~--~~~---~--~~ 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] Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~--- inline: Pic1.JPG
[android-developers] Re: Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
I dont the code ... only the pic i am NOT referring icon/symbol to the start the application but to apply in each activity,, I hope i am clear with the question now.. On Feb 27, 4:29 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Just change your icon (surprisingly named icon.png) in res\drawable On Fri, Feb 27, 2009 at 1:26 PM, sheik ahmed sheik...@gmail.com wrote: Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ 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: Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
i dont have any code about the pic which i have attached.. On Feb 27, 4:53 pm, sheik sheik...@gmail.com wrote: I dont the code ... only the pic i am NOT referring icon/symbol to the start the application but to apply in each activity,, I hope i am clear with the question now.. On Feb 27, 4:29 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Just change your icon (surprisingly named icon.png) in res\drawable On Fri, Feb 27, 2009 at 1:26 PM, sheik ahmed sheik...@gmail.com wrote: Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ 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] A Icon(Symbol) in all activites in the application
Hi, i just found the google checkout view from a link google checkout activity.. http://froogloid.wordpress.com/2009/02/20/android-market-server-errors/ i was wondering how to make available symbol or an icon in all the activities in a application ? Kindly comment on this Thank you regards, sheik --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~--- inline: Pic1.JPG
[android-developers] A Icon(Symbol) in all activites in the application
Hi, i just found the google checkout view from a link google checkout activity.. http://froogloid.wordpress.com/2009/02/20/android-market-server-errors/ i was wondering how to make available symbol or an icon in all the activities in a application ? Kindly comment on this Thank you regards, --~--~-~--~~~---~--~~ 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: A Icon(Symbol) in all activites in the application
am referring Icon or Symbol to blue color pic in the label in activity as show above in pic.. On Feb 27, 12:47 am, sheik sheik...@gmail.com wrote: Hi, i just found the google checkout view from a link google checkout activity.. http://froogloid.wordpress.com/2009/02/20/android-market-server-errors/ i was wondering how to make available symbol or an icon in all the activities in a application ? Kindly comment on this Thank you regards, --~--~-~--~~~---~--~~ 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: A Icon(Symbol) in all activites in the application
Kindly look into this query...and please do reply...Thank you On Feb 27, 12:50 am, sheik sheik...@gmail.com wrote: am referring Icon or Symbol to blue color pic in the label in activity as show above in pic.. On Feb 27, 12:47 am, sheik sheik...@gmail.com wrote: Hi, i just found the google checkout view from a link google checkout activity.. http://froogloid.wordpress.com/2009/02/20/android-market-server-errors/ i was wondering how to make available symbol or an icon in all the activities in a application ? Kindly comment on this Thank you regards, --~--~-~--~~~---~--~~ 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: LocationListener and location api working in Android Dev Phone (G1)
Hi , This is the code written to get the current location private boolean getCordinates() { // TODO Auto-generated method stub locationListener = new LocationListener() { @Override public void onLocationChanged(Location location) { // TODO Auto-generated method stub locationManager.removeUpdates(locationListener); } @Override public void onProviderDisabled(String provider) { // TODO Auto-generated method stub } @Override public void onProviderEnabled(String provider) { // TODO Auto-generated method stub } @Override public void onStatusChanged(String provider, int status, Bundle extras) { // TODO Auto-generated method stub } }; locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); location = locationManager.getLastKnownLocation(gps); if(location != null){ latitude = location.getLatitude(); longitude = location.getLongitude(); return true; } else { return false; } } Have used getlastKnownLocation() to get the recently updated lat and longt valuesMy doubt is how abt the user switches off the gps at location A and further moving to another location B switch on the gps gets what value in getLastKnownLocation() Like to have your suggestion on how to get the user's current location. Thankful for your reply... regards, sheik On Feb 19, 12:19 pm, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: sheik, I have ADP1. I have tested that code(have added super call) As far as I understand, this is working fine. Keiji, --- public class GPSActivity extends Activity { // LocationManager private LocationManager _mLocMan; // LocationListener Interface private final LocationListener _mLocationListener = new LocationListener() { @Override public void onLocationChanged(Location location) { // implement here } @Override public void onProviderDisabled(String provider) { } @Override public void onProviderEnabled(String provider) { } @Override public void onStatusChanged(String provider, int status, Bundle extras) { } }; // _mLocationListener @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // get Location Manager _mLocMan = (LocationManager)this.getSystemService(LOCATION_SERVICE); // register location listener _mLocMan.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0, _mLocationListener); } // onCreate @Override public void onDestroy() { super.onDestroy(); // unregister location listener _mLocMan.removeUpdates(_mLocationListener); } // onDestroy } // GPSActivity --- sheik wrote: Thank you for your response... I have been using the some wat same code to run in the emulator and it works fine as you have mentioned in response My actual doubt was that, does it work in the ADP1 as i dont have handson G1 or the DEV PHONE.. I like to know .Have u tested above code in the dev phone if it has worked well my doubt very much cleared Thank you agin... regards sheik On Feb 19, 11:06 am, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Hi sheik, Please see below code. And you can see reference.http://developer.android.com/reference/android/location/LocationListe... 1. Implement LocationListener interface. 2. Get Location Manager. 3. Register LocationListener to LocationManager. LocationListener.onLocationChanged(Location location) method is called when GPS can receive location. You can set minimum interval time or distance to work GPS on requestLocationUpdates method. Attention, if LocationListener is once registered, GPS will be being activated basically. You should call to LocationManager.removeUpdates at onDestroy or onStop. Good luck, Keiji
[android-developers] Working of locationListener() in Android DEV Phone...
Hi, i need to know about the LocationListener() working in the Android DEV Phone(ADP1) Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is that last known location will be lost and thus returns null... (ADP1)... Thanks, regards, sheik --~--~-~--~~~---~--~~ 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: Fwd: GMAPS is not being displayed in the emulator
Thanks for ur reply... I tried above told procedure and nothing has changed still... I am working behind proxy any modification needed in the settings or so Kindly let me know.. Thanks you, regards sheik On Feb 3, 2:46 pm, Alistair. alistair.rutherf...@googlemail.com wrote: This really looks to me like your debug map key is incorrect. Refer to http://code.google.com/android/toolbox/apis/mapkey.html There are a couple of batch files, definition.bat and getDebugKey.bat which might help here: http://code.google.com/p/netthreads-for-android/source/browse/#svn/tr... The keytool.exe is found in your jdk bin directory. Failing that. Have you tried explicitly uninstalling your app and then running it again (which will install it once more). I noticed that any change I made to the key didn't seem to get picked up until I had wiped it from the emulator first. Al. On Feb 3, 3:58 am, swapna annamaneni swapna.annaman...@gmail.com wrote: hi, i am also facing sme problem ,if get it plz let me know @ swapna.annaman...@gmail.com On Fri, Jan 16, 2009 at 12:19 PM, sheik sheik...@gmail.com wrote: Kindly look at this queryand help me regarding the issue.. 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 -~--~~~~--~~--~--~---
[android-developers] LocationListener and location api working in Android Dev Phone (G1)
Hi, i need to know about the LocationListener() working in the Android DEV Phone(ADP1) Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is that last known location will be lost and thus returns null... (ADP1)... Thanks, regards, sheik --~--~-~--~~~---~--~~ 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: GPS LocationManager Problem
Hi, Kindly clarify my small doubt about location api working in ADP1 or G1 ... i need to know about the LocationListener() working in the Android DEV Phone(ADP1) Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is that last known location will be lost and thus returns null... (ADP1)... Thanks, regards, sheik On Feb 18, 1:18 pm, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Hi, Correctly, it's ACCESS_FINE_LOCATION. http://developer.android.com/reference/android/Manifest.permission.ht... This is still being here. Sohail wrote: I can't find that permission in the official documentation. Isn't this deprecated? Secondly, I'm using the emulator. I've tried both using the DDMS and telnet (geo fix) to send the coordinates. Both with no luck. I read somewhere that this works on windows. I'm using ubuntu (if that matters.) (Just in case, I don't get any exception, just a null) On Feb 17, 11:32 pm, Timo Bruck timot...@gmail.com wrote: Have you also added permissions for android.permission.ACCESS_LOCATION? I believe you need both. -- Keiji, ml_andr...@c-lis.co.jp --~--~-~--~~~---~--~~ 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: LocationListener and location api working in Android Dev Phone (G1)
Thank you for your response... I have been using the some wat same code to run in the emulator and it works fine as you have mentioned in response My actual doubt was that, does it work in the ADP1 as i dont have handson G1 or the DEV PHONE.. I like to know .Have u tested above code in the dev phone if it has worked well my doubt very much cleared Thank you agin... regards sheik On Feb 19, 11:06 am, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Hi sheik, Please see below code. And you can see reference.http://developer.android.com/reference/android/location/LocationListe... 1. Implement LocationListener interface. 2. Get Location Manager. 3. Register LocationListener to LocationManager. LocationListener.onLocationChanged(Location location) method is called when GPS can receive location. You can set minimum interval time or distance to work GPS on requestLocationUpdates method. Attention, if LocationListener is once registered, GPS will be being activated basically. You should call to LocationManager.removeUpdates at onDestroy or onStop. Good luck, Keiji --- public class GPSActivity extends Activity { // LocationManager private LocationManager _mLocMan; // LocationListener Interface private final LocationListener _mLocationListener = new LocationListener() { @Override public void onLocationChanged(Location location) { // implement here } @Override public void onProviderDisabled(String provider) { } @Override public void onProviderEnabled(String provider) { } @Override public void onStatusChanged(String provider, int status, Bundle extras) { } }; // _mLocationListener @Override public void onCreate(Bundle savedInstanceState) { // get Location Manager _mLocMan = (LocationManager)this.getSystemService(LOCATION_SERVICE); // register location listener _mLocMan.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0, _mLocationListener); } // onCreate @Override public void onDestroy() { // unregister location listener _mLocMan.removeUpdates(_mLocationListener); } // onDestroy } // GPSActivity --- sheik wrote: Hi, i need to know about the LocationListener() working in the Android DEV Phone(ADP1) Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is that last known location will be lost and thus returns null... (ADP1)... Thanks, regards, sheik -- Keiji, ml_andr...@c-lis.co.jp --~--~-~--~~~---~--~~ 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: How do I set proper date and time on emulator?
Hi, I have a query regarding the date and time settings.Kindly help me over it. I like to know How actually the time is synchronized in the DEV PHONE (Not the Emulator) What actually it does when clicked on ,,, Settings---DataTime---Automatic. What does this mean Use network provided valuesIs it referring to the GPS to get the actual time Kindly help on this... Thank you, regards, sheik On Jan 6, 12:25 pm, Naina K kna...@gmail.com wrote: Hi, No, its working fine in my emulator. I did not get any error message. I could selectSettingsand set thetimeanddate. I guess there is some problem with the emulator. May be u can try two things, one is Close the emulator and start it. If it does not work then I guess u need to uninstall install the emulator again. Thanks, Naina On 1/6/09, Sarath Kamisetty sarath.kamise...@gmail.com wrote: Hmm ... When I selectSettingsI see an error message that says That action is not currently supported. On Mon, Jan 5, 2009 at 9:48 PM, Naina K kna...@gmail.com wrote: Hi, If u want to set thetimeanddateon the emulator, Click on Menu button and selectSettingsand then click onDateTimeto set the timezone,timeanddate. Thanks, Naina On 1/5/09, Sarath Kamisetty sarath.kamise...@gmail.com wrote: Hi, I see that thedateandtimeon my emulator are incorrect. How do I set the correctdateandtime? Thanks, Sarath --~--~-~--~~~---~--~~ 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] Time Date Settings in DEV PHONE
Hi, I have a query regarding the date and time settings.Kindly help me over it. I like to know How actually the time is synchronized in the DEV PHONE (Not the Emulator) What actually it does when clicked on ,,, Settings---DataTime---Automatic. What does this mean Use network provided valuesIs it referring to the GPS to get the actual time Kindly help on this... Thank you, regards, sheik --~--~-~--~~~---~--~~ 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] Working of locationListener() in real time on device?
Hi, i need to know about the LocationListener() working in the real time... Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is that last known location will be lost and thus returns null... (in realtime)... Thanks, regards, sheik --~--~-~--~~~---~--~~ 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] Fwd: Working of locationListener() in real time on device?
Kindly look into this query Thanks. -- Forwarded message -- From: sheik sheik...@gmail.com Date: Feb 12, 3:05 pm Subject: Working of locationListener() in real time on device? To: Android Developers Hi, i need to know about the LocationListener() working in therealtime... Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is that last known location will be lost and thus returns null... (in realtime)... Thanks, regards, sheik --~--~-~--~~~---~--~~ 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: how to enable internet access in emulator v1.0
U need to fill the same data in the SOCKS proxy and add the ipaddress below 127.0.0.1. On Jan 28, 10:53 am, Ravi Patil ravi@gmail.com wrote: hi... I am unable to connect to internet after changing to 111... what i did is.. step 1: went to Command prompt step 2: change path to android SDK tools folder step 3: Run the command adb.exe shell sqlite3 /data/data/ com.google.android.providers.settings/ databases/ settings.db INSERT INTO system VALUES (111,'http_proxy','ipaddress:portno'); But i havent changed in eclipse network settings... Can any one tell me if changes required then what are they... On Jan 8, 12:10 pm, sheik sheik...@gmail.com wrote: Hi all, Now i am able to accessinternetin theemulator.. just needed to change the insert command99 to 111 adb.exe shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system VALUES (111,'http_proxy','ipaddress:portno'); But still their is a problem with the Gmaps... in the DDMS...i get... LocationManagerService isProviderEnabled got exception any one can please suggest on this Thank you for the response On Jan 2, 2:37 am, anand anand.aru...@gmail.com wrote: i hope the following documentation has the answer you are looking for: http://code.google.com/android/reference/emulator.html#proxy - On Dec 30 2008, 6:32 am, sheik sheik...@gmail.com wrote: Hi ... About theinternetconnection in emulatorv1.0 . I am working behind theproxyso, am unable to connect to theinternet.I tried below commands as suggested in other discussion's adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system VALUES(99,'http_proxy',ip- addr:port-number'); and set the network-connection in the eclipse prefrences network connection...re-started the eclipse ,but it dint work.. i did even tried by set upINTERNETpermissions in your manifest file as suggested by Tez...It dint work either... Can anyone suggest .How to enableinternetone working behind theproxy.. .that would really be helpful thanks On Dec 27, 7:38 am, Evil Mushroom Lord evilmushrooml...@gmail.com wrote: Odd--- I didn't configure or change anything and myemulatorworks with theinternetjust fine. I can surf the web on its mini chrome browser. :) Are you sure yourinternetisn't working? Try opening the browser and doing a google search or something. --Evil Mushroom Lord www.evilmushroomempire.com Mushroom Wars: Wrath of the Fungi on Android now! On Dec 26, 1:35 am, sheik sheik...@gmail.com wrote: Hi all, i have looking to enableinternetaccessinemulatorv1.0.. kindly guide regarding this... i am working on windows xp OS with eclipse...- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: TimeZone Data from GPS coordinates
Hi, i am looking for the same problem...did u get any solution regarding this issue...if u can share on this issue it would be helpful.. thanks, regards, sheik On Jan 1, 4:28 am, Kekoa kek...@gmail.com wrote: I am looking for a way to get the timezone of any given GPS coordinates. I can't find anything useful in the API docs. Does anyone know how to accomplish this? Is there some sort of API that will give me timezone data for a GPS position, or even for common places, such as USA states, Canadian provinces. I can reverse-geocode and get the city, state, and country, so if there's some data out there that will work with that information that's what I'd like to use. I'd rather not use a web service as I don't want too much delay. As a last resort I may have to come up with a list myself... It seems like this would be a very useful feature in the mostly empty android.util.TimeUtils class. Thanks, Kekoa --~--~-~--~~~---~--~~ 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] Fwd: GMAPS is not being displayed in the emulator
Kindly look at this queryand help me regarding the issue.. 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 -~--~~~~--~~--~--~---
[android-developers] GMAPS is not being displayed in the emulator
): IOException in HttpClient: unknown error 01-13 15:49:24.446: ERROR/OSNetworkSystem(496): unknown socket error -1 01-13 15:49:24.476: WARN/AndroidHttpConnectionFactory(496): IOException in HttpClient: unknown error 01-13 15:49:24.705: ERROR/OSNetworkSystem(496): unknown socket error -1 01-13 15:49:24.785: DEBUG/dalvikvm(496): GC freed 6261 objects / 399048 bytes in 76ms *Kindly help me on this issue...* ** *Thank you,* *Regards,* * Sheik* --~--~-~--~~~---~--~~ 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] GMAPS is not being displayed in the emulator
): IOException in HttpClient: unknown error 01-13 15:49:24.446: ERROR/OSNetworkSystem(496): unknown socket error -1 01-13 15:49:24.476: WARN/AndroidHttpConnectionFactory(496): IOException in HttpClient: unknown error 01-13 15:49:24.705: ERROR/OSNetworkSystem(496): unknown socket error -1 01-13 15:49:24.785: DEBUG/dalvikvm(496): GC freed 6261 objects / 399048 bytes in 76ms Kindly help me on this issue... Thank you, Regards, Sheik --~--~-~--~~~---~--~~ 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: Validation of the phone number:
Hi, i dont think their is any api in android to check the validity of a contact number as 3 digit number is a valid and so as the 15 digit number to add to the contacts. But i think one has to write own set of classes or methods inorder to check the validity and thus store in the contact list. regards sheik On Jan 13, 9:49 am, Manjunatha M (ಮಂಜುನಾಥ ಎಂ) man...@gmail.com wrote: Hi all, I am writing an application, which actually tries to insert a number into the contacts. Before inserting, I need to check for the validity of the phone number. Does android provide any API to pass this value and check if the phone number is valid or not? Regards, Manjunatha --~--~-~--~~~---~--~~ 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: how to enable internet access in emulator v1.0
Hi all, Now i am able to access internet in the emulator.. just needed to change the insert command99 to 111 adb.exe shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system VALUES (111,'http_proxy','ipaddress:portno'); But still their is a problem with the Gmaps... in the DDMS...i get... LocationManagerServiceisProviderEnabled got exception any one can please suggest on this Thank you for the response On Jan 2, 2:37 am, anand anand.aru...@gmail.com wrote: i hope the following documentation has the answer you are looking for: http://code.google.com/android/reference/emulator.html#proxy - On Dec 30 2008, 6:32 am, sheik sheik...@gmail.com wrote: Hi ... About theinternetconnection in emulatorv1.0 . I am working behind theproxyso, am unable to connect to theinternet.I tried below commands as suggested in other discussion's adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system VALUES(99,'http_proxy',ip- addr:port-number'); and set the network-connection in the eclipse prefrences network connection...re-started the eclipse ,but it dint work.. i did even tried by set upINTERNETpermissions in your manifest file as suggested by Tez...It dint work either... Can anyone suggest .How to enableinternetone working behind theproxy.. .that would really be helpful thanks On Dec 27, 7:38 am, Evil Mushroom Lord evilmushrooml...@gmail.com wrote: Odd--- I didn't configure or change anything and my emulator works with theinternetjust fine. I can surf the web on its mini chrome browser. :) Are you sure yourinternetisn't working? Try opening the browser and doing a google search or something. --Evil Mushroom Lord www.evilmushroomempire.com Mushroom Wars: Wrath of the Fungi on Android now! On Dec 26, 1:35 am, sheik sheik...@gmail.com wrote: Hi all, i have looking to enableinternetaccessin emulator v1.0.. kindly guide regarding this... i am working on windows xp OS with eclipse...- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 internet in emulator v1.0
Hi ... About the internet connection in emulatorv1.0 . I am working behind the proxy so, am unable to connect to the internet.I tried below commands as suggested in other discussion's adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system VALUES(99,'http_proxy',ip- addr:port-number'); and set the network-connection in the eclipse prefrences network connection...re-started the eclipse ,but it dint work.. i did even tried by set up INTERNET permissions in your manifest file as suggested by Tez...It dint work either... Can anyone suggest .How to enable internet one working behind the proxy.. .that would really be helpful 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 -~--~~~~--~~--~--~---
[android-developers] Re: how to enable internet access in emulator v1.0
Hi ... About the internet connection in emulatorv1.0 . I am working behind the proxy so, am unable to connect to the internet.I tried below commands as suggested in other discussion's adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system VALUES(99,'http_proxy',ip- addr:port-number'); and set the network-connection in the eclipse prefrences network connection...re-started the eclipse ,but it dint work.. i did even tried by set up INTERNET permissions in your manifest file as suggested by Tez...It dint work either... Can anyone suggest .How to enable internet one working behind the proxy.. .that would really be helpful thanks On Dec 27, 7:38 am, Evil Mushroom Lord evilmushrooml...@gmail.com wrote: Odd--- I didn't configure or change anything and my emulator works with the internet just fine. I can surf the web on its mini chrome browser. :) Are you sure your internet isn't working? Try opening the browser and doing a google search or something. --Evil Mushroom Lord www.evilmushroomempire.com Mushroom Wars: Wrath of the Fungi on Android now! On Dec 26, 1:35 am, sheik sheik...@gmail.com wrote: Hi all, i have looking to enable internet access in emulator v1.0.. kindly guide regarding this... i am working on windows xp OS with eclipse...- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: How to access internet in emulator v1.0
Thanks Tez.. i shall look into it and let u know.. On Dec 27, 5:08 pm, Tez earlencefe...@gmail.com wrote: Hi, To access internet from within an activity, you need to setup INTERNET permissions in your manifest file. Then you can access the internet either by launching your activity with a WebView or you can use some code that utilizes Android's network layer. Cheers, Earlence On Dec 26, 12:31 pm, sheik ahmed sheik...@gmail.com wrote: hi all, i have been looking to enable internet access in the emulator v1.0.. Please guide me regarding this ... thanks. regards, sheik --~--~-~--~~~---~--~~ 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 internet in emulator v1.0
hi all, i have been looking to enable internet access in the emulator v1.0.. Please guide me regarding this ... thanks. regards, sheik --~--~-~--~~~---~--~~ 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 enable internet access in emulator v1.0
Hi all, i have looking to enable internet access in emulator v1.0.. kindly guide regarding this... i am working on windows xp OS with eclipse... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---