[android-developers] Re: left scrollbar
On Mar 28, 3:37 am, Dianne Hackborn hack...@android.com wrote: But why do you want to put a scroll bar on the left? Scroll bars on Android are on the right. Making that different just makes things gratuitously different for the user, for no reason I can see. Dianne , i don't, OP wants them, from some reason, on the left btw, since 2.1 there are View.onDraw[Vertical|Horizontal]Scrollbar methods were they introduced for such purposes? or still, even when overriden, vertical scrollbar will be drawn on the right side? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: left scrollbar
You can override these methods to draw the scrollbar on the left if you want. On Sun, Mar 28, 2010 at 12:12 AM, skink psk...@gmail.com wrote: On Mar 28, 3:37 am, Dianne Hackborn hack...@android.com wrote: But why do you want to put a scroll bar on the left? Scroll bars on Android are on the right. Making that different just makes things gratuitously different for the user, for no reason I can see. Dianne , i don't, OP wants them, from some reason, on the left btw, since 2.1 there are View.onDraw[Vertical|Horizontal]Scrollbar methods were they introduced for such purposes? or still, even when overriden, vertical scrollbar will be drawn on the right side? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: left scrollbar
On Mar 28, 6:14 am, Romain Guy romain...@android.com wrote: You can override these methods to draw the scrollbar on the left if you want. thanks Romain a lot! speaking of scrollbars, i cannot make android:scrollbarSize to work. whatever i set it seems that size is always 6. also if i'm writing custom View and create it at the runtime (not from xml), i read i need to call initializeScrollbars but how for example specify custom horiz/vert thumb drawables? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Timer / threads / reliability
On Sat, Mar 27, 2010 at 4:00 AM, Mark Murphy mmur...@commonsware.comwrote: Neilz wrote: Is there a way, to have View elements (TextView, Button, whatever) that are not run on the main UI thread? No. Windows can run in their own threads, all views inside of a particular window must run in the same thread. The window associated with an Activity is created in the main thread of its process, so that is where its UI runs. You can run windows in other threads if you use Looper to prepare and run a message loop in that thread, and then instantiate and display the window there. SurfaceView also is often used to do UI from a separate thread, by letting the other thread have the Surface to draw into it (either via the Canvas or OpenGL APIs). This also allows you to draw without going through updates, though doesn't allow you to use a regular view hierarchy in the surface. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Question for Admob users
Hi all. I'm using Admob, and currently have android.permission.ACCESS_COARSE_LOCATION set in my manifest. Now, my app clearly doesn't require location, and a lot of users are asking why I need it. I've just discovered that Admob doesn't actually require that the location is set, the only essential permission is the INTERNET one. So my question is, can I remove the location permission, and be confident that the ads will still serve just as effectively, and that it won't have a detrimental affect on my ad revenue? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] create TextView
try, TextView b = new TextView(getApplicationContext()); On Sat, Mar 27, 2010 at 7:58 PM, rubeN_vl rvanluch...@hotmail.com wrote: Hi, i'm trying to create a new TextView when a button is clicked. TextView b = new TextView(this); isnt working cause 'this' refers to new View.onClickListener. Been searchin for hours, cant find a solution. -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Question for Admob users
Hi, This is more a admob oriented questions : http://groups.google.com/group/admob-publisher-discuss/topics The admob SDK states that it is optionnal : Optionally, you can add the ACCESS_COARSE_LOCATION and/or ACCESS_FINE_LOCATION permissions to allow AdMob the ability to show geo- targeted ads. I don't think you'll notice any difference. Although, you might have a Uk audience that receives US only ads. But from what I've seen with my app, the geo-targeted ads are pretty seldom. Yahel On 28 mar, 12:38, Neilz neilhorn...@googlemail.com wrote: Hi all. I'm using Admob, and currently have android.permission.ACCESS_COARSE_LOCATION set in my manifest. Now, my app clearly doesn't require location, and a lot of users are asking why I need it. I've just discovered that Admob doesn't actually require that the location is set, the only essential permission is the INTERNET one. So my question is, can I remove the location permission, and be confident that the ads will still serve just as effectively, and that it won't have a detrimental affect on my ad revenue? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Question for Admob users
Hi Yahel. Yes, I've read all that, and also asked on the group. But unfortunately, that group only seems to post once every few days, it's not moderated properly. I need to know quicker than that! Any other experiences with this? On Mar 28, 12:45 pm, Yahel kaye...@gmail.com wrote: Hi, This is more a admob oriented questions :http://groups.google.com/group/admob-publisher-discuss/topics The admob SDK states that it is optionnal : Optionally, you can add the ACCESS_COARSE_LOCATION and/or ACCESS_FINE_LOCATION permissions to allow AdMob the ability to show geo- targeted ads. I don't think you'll notice any difference. Although, you might have a Uk audience that receives US only ads. But from what I've seen with my app, the geo-targeted ads are pretty seldom. Yahel On 28 mar, 12:38, Neilz neilhorn...@googlemail.com wrote: Hi all. I'm using Admob, and currently have android.permission.ACCESS_COARSE_LOCATION set in my manifest. Now, my app clearly doesn't require location, and a lot of users are asking why I need it. I've just discovered that Admob doesn't actually require that the location is set, the only essential permission is the INTERNET one. So my question is, can I remove the location permission, and be confident that the ads will still serve just as effectively, and that it won't have a detrimental affect on my ad revenue? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Rotated map view - how to get the touches back to where they belong?
sorry to bump this. Anyone? On Feb 24, 11:30 pm, lbendlin lutz.bend...@gmail.com wrote: I am using the MapsDemo example for a mapping application where I rotate the map in direction of travel. This works well even without the canvas smoothing in the example. However, I haven't yet managed to adjust the dispatchTouchEvent code to counter the map rotation effect for the user touches (right now when the map is rotated 90 degrees a user's horizontal sweep will move the map vertically etc). The sample code only offers the teaser: public boolean dispatchTouchEvent(MotionEvent ev) { // TODO: rotate events too return super.dispatchTouchEvent(ev); } Any guidance would be appreciated. And while I am at it - Is it still possible to position the zoom controls separately, so that they do NOT rotate when the map rotates? I read that the getZoomControls() is deprecated. (Why ?) -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: MapView map elements size (e.g. street labels)
Have a look at which tiles the Google Maps app fetches versus what the API fetches. You will see that they will go to different servers. There is no rocket science here (vector based drawings etc) - all you get are prerendered PNG picture tiles (256x256 I think, or was it 128x128?). There's no way to alter any of that prerendered content. On Mar 27, 11:08 pm, JP joachim.pfeif...@gmail.com wrote: Comparing a MapView as used in an app through Google Maps API against the Google Maps app, I found that the granularity of all elements, most visibly, street labels, in Google Maps is bigger than the street labels in MapView. This is on a Nexus One, presumably other devices show a similar behavior. I did not find any hint in the documentation how to dial this for a MapView. Anybody know where this can be dialed in? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: onItemClick gives index/ po sition of item on visible page … not actual index of the i tem in list ..problem on enabling setTextFilterEnabled ..
shouldn't you be able to fetch the value of id from the returned item? On Mar 26, 6:44 pm, Abhinav abhinav@gmail.com wrote: hi, I am creating a list .. the elements of the list are drawn from sqlite database .. I populate the list using ArrayList and ArrayAdapter ...upon clicking the items on the list I want to be able to fire an intent containing info about the item clicked ... info like the index number of the item .. using the method : onItemClick(AdapterView av, View v, int index, long arg) I do get index of the item clicked . however it is of the list currently displayed . the problem comes when I do setFilterTextEnabled(true) , and on the app type in some text to to search some item ..and then click it ..rather than giving me the index of the item on the original list it gives me the index on filtered list.. following is the snippet of code: - x--x- myListView.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? av, View v, int index, long arg) { Intent lyricsViewIntent = new Intent(iginga.this, LyricsPage.class); lyricsViewIntent.putExtra(title, songList.get((int)arg).getTitle()); lyricsViewIntent.putExtra(id, songList.get((int)arg).getSongId()); startActivity(lyricsViewIntent); } }); myListView.setTextFilterEnabled(true); x--- x- Is there any way I can get the original index /position of the item instead of the one showing in filtered text ...when filtered. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] ImageButton onClick or onKeyDown?
is it possible to use onKeyDown() for an ImageButton instead of onClick() to capture the user's click on this imagebutton? what's the difference? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: cannot install radio update
*bump* Without 2G my phone is not very useful! On Mar 27, 2:59 am, Nate nathan.sw...@gmail.com wrote: Maybe there is somewhere else I can ask? On Mar 25, 12:57 am, Nate nathan.sw...@gmail.com wrote: No one can offer any suggestions? On Mar 24, 12:32 am, Nate nathan.sw...@gmail.com wrote: I have a G1 Dev Phone. I am unable to install the 1.6 radio update from this page:http://developer.htc.com/adp.html The file name is: ota-radio-2_22_19_26I.zip I push it to the phone as update.zip, do a shell sync, wait 5 minutes, reboot into recovery mode, press alt+L, then alt+S. I get: -- Install from sdcard... Finding update package... Opening update package... Verifying update package... Installing update... Installation aborted. While it says Verifying update package... a progress bar slowly grows in the background. When it gets to about 50%, the next 2 messages appear and then I'm back to the system recovery menu. Why are there no error message? What am I supposed to do now? I have tried a factory reset. I have tried redownloading the package and doing all the steps again. My phone still works, but I no longer get 2G (I'm on an ATT carrier with a SIM from an iPhone, so I have never gotten 3G). WIFI and making/receiving calls still works, just no 2G (which is extremely frustrating). I have Googled my eyes and fingertips off. Others are having this problem, some exactly the same symptoms, some with error messages. No one has had any solutions. I can't imagine I broke my phone by following the standard instructions. I want my 2G back! I'm already pissed that I paid extra for a Dev Phone when a regular phone would have been fine for me. I'll accept that as being my fault for lack of research, but I certainly wasn't told that I can't download paid apps with a Dev Phone. On top of that, now my phone is apparently broken and I have no one to turn to because it is a Dev Phone! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: stuck in OnTouchEvent OnClikc method. please help
hi satish, i guess there is no need to use both the methods. click = touch down + touch up. so using just ontouch is enough On Sat, Mar 27, 2010 at 2:08 PM, satish bhoyar getsatonl...@gmail.comwrote: Guys pls help ... On Fri, Mar 26, 2010 at 5:02 PM, satish bhoyar getsatonl...@gmail.comwrote: Hi all, Hi all, I am stuck in a situation,where I have onClick() method onTouchEvent() method. The situation is the my onTouchEvent() is handling the fling gestures (like left,right), after each fling i am changing the Layout presenting new one for the user. On each layout i have some buttons they have the onClick() set. Now when i do the gesture nothing happens sometimes the onClick gets called. how i can make these two methods to work correctly? please help tahnks, sat -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: cannot install radio update
Nate wrote: *bump* Without 2G my phone is not very useful! The instructions (http://developer.htc.com/adp.html) tell you: For discussions and support about updating your Android Dev Phone, please head over to the Android-DevPhone-Updating group. with a link to: http://groups.google.com/group/Android-DevPhone-Updating -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: (To Google devs)Using the IM plugin class
Have there been any updates to (the roadmap for) IM since this message? Hugo On Mar 28 2009, 12:13 am, Dianne Hackborn hack...@android.com wrote: This isn't currently supported in the SDK. I don't know what plans there are to have it in the SDK, if any. Certainly we aren't going to have anything in the SDK that requires you get a shared user ID with a system package. On Fri, Mar 27, 2009 at 3:49 PM, Colin crgod...@gmail.com wrote: I would like to use the IM plugin class thats included in the Android source, but it is not SDK friendly. I am happy to submit the revisions required, but I don't really know what to change. It requires access to the non-api android.im tree and UID sharing with android.uid.im. I'm stumped, but I'd really like to implement this. Is it better to just to submit an official revision? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Is there any changes in crop image activity
I had the same problem. The CROP activity worked on 1.6 but not on 2.1. The fix turned out to be an easy one. In 1.6, I defined the activity as Intent intnt = new Intent(com.android.camera.action.CROP); intnt.setClassName(com.android.camera, com.android.camera.CropImage); Here, I'm specifying the class for the activity instead of relying on the intent filter. I had no good reason for doing this. I got this code snippet from some tutorial some place and it worked so I never bothered to think about it. In 2.1 however, it looks like they moved the CropImage class, which is why the code above fails. But the fix is trivial -- don't specify the class. Works on both 2.1 and 1.6. Intent intnt = new Intent(com.android.camera.action.CROP); //intnt.setClassName(com.android.camera, com.android.camera.CropImage); Anton On Mar 26, 2:08 am, Paul Tongyoo paul.tong...@gmail.com wrote: UPDATE: Romain Guy confirmed the CROP intent-filter still exists in Eclair, just moved to the Gallery.git manifest. HTH On Tue, Mar 23, 2010 at 2:13 PM, Streets Of Boston flyingdutc...@gmail.comwrote: This has been working for me, at least on a Droid, G1 and Nexus1: final Intent intent = new Intent(com.android.camera.action.CROP); intent.setData(mImgUris[1]); intent.putExtra(noFaceDetection, false); //intent.putExtra(outputX, width); //intent.putExtra(outputY, height); //intent.putExtra(aspectX, width); //intent.putExtra(aspectY, height); //intent.putExtra(scale, true); //intent.putExtra(output, Uri.parse(file:/ + mFile.getAbsolutePath())); startActivityForResult(intent, R.id.view_image_menu_crop); On Feb 13, 3:05 pm, Adarsh Pandey pandey.adarsh...@gmail.com wrote: Hi, We are facing problem with cropimage activity, is there any changes? it gives error related to permission. java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.EDIT dat=content:// media/external/images/media/12 cmp=com.android.camera/.CropImage (has extras) } from ProcessRecord{43b72040 374:com.abc/10028} (pid=374, uid=10028) requires 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: create TextView
You are right Bob, but it's a little bit more complex. You can explain this in two words or write a paragraph. I decided half the info is better than the complete one. You know, a simple question deserves a simple solution. For more info, refer to the documentation :) Anyway, the best solution would be to use the view.getContext IMO. If you hardcode the this to the OuterClass then it's not really portable. Also having globals that carry the Context is a nono that should be avoided if possible. But alas, it's all about the damn context - no pun intended. BR, Adrian Vintu http://adrianvintu.com On Sun, Mar 28, 2010 at 3:58 AM, Bob Kerns r...@acm.org wrote: Actually, the first part is not true -- you just have to use the right 'this'. Just use MyOuterClassName.this and all will be fine. You could also copy it to a final variable but there's no need since Java provides this mechanism for just this situation. On Mar 27, 7:44 am, Adrian Vintu adrianvi...@gmail. You need to create the TextView outside the scope of the OnClickListener. The this has to point to Context, which is your Activity. BR, Adrian Vintu http://adrianvintu.com On Sat, Mar 27, 2010 at 3:28 PM, rubeN_vl rvanluch...@hotmail.com wrote: Hi, i'm trying to create a new TextView when a button is clicked. TextView b = new TextView(this); isnt working cause 'this' refers to new View.onClickListener. Been searchin for hours, cant find a solution. -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] How to send at command
You already try use ADB, maybe exist commands you need. If not, you need to connect your phone in modem mode. Some phones can connect both at same time. On Sun, Mar 28, 2010 at 02:02, saru sarucs...@gmail.com wrote: Hey i need to send AT command to modem in android phone. But by searching android i could not find any API to send AT command. Please can any did it or can any one share any idea regarding AT command. Please it is very much important for me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Att, Joaquim Azevedo -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Google Maps icons
I want to place markers on the map. I want to use the standard Google Maps icons for markers. how do I use them? I don't want to create my own icons. I'm developing for Android. in the documentation they tell me to create a class that overrides ItemizedOverlayOverlayItem but in the constructor I'm asked to provide a drawable object. how do I point to the standard Google Maps ones? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Google Maps icons
oriharel wrote: I want to place markers on the map. I want to use the standard Google Maps icons for markers. how do I use them? I don't want to create my own icons. I'm developing for Android. Those icons are not available from the Google Maps add-on for Android -- or, at least, they are not documented. Perhaps there is a way you can obtain them for legal download through Google Maps for the Web. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Google Maps icons
Thanks Mark. On Mar 28, 5:27 pm, Mark Murphy mmur...@commonsware.com wrote: oriharel wrote: I want to place markers on the map. I want to use the standard Google Maps icons for markers. how do I use them? I don't want to create my own icons. I'm developing for Android. Those icons are not available from the Google Maps add-on for Android -- or, at least, they are not documented. Perhaps there is a way you can obtain them for legal download through Google Maps for the Web. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Development Wiki:http://wiki.andmob.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Google Maps icons
However, isn't it weird that those are available outside of Android (regular use of Google API) but not from the Google-owned Android platform? On Mar 28, 5:33 pm, oriharel ori.ha...@gmail.com wrote: Thanks Mark. On Mar 28, 5:27 pm, Mark Murphy mmur...@commonsware.com wrote: oriharel wrote: I want to place markers on the map. I want to use the standard Google Maps icons for markers. how do I use them? I don't want to create my own icons. I'm developing for Android. Those icons are not available from the Google Maps add-on for Android -- or, at least, they are not documented. Perhaps there is a way you can obtain them for legal download through Google Maps for the Web. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Development Wiki:http://wiki.andmob.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] The best way to pick file
Hello, friends! I am developing an application which shows dialog to pick file and than processes it. I used standard way: Intent intentBrowseFiles = new Intent(Intent.ACTION_GET_CONTENT); intentBrowseFiles.setType(*/*); intentBrowseFiles.addCategory(Intent.CATEGORY_OPENABLE); but sometimes users say that using that intent they couldn't choose even their photos:( (for example, on Android 2.1, Nexus One) So, i decide to take a look to openintent's File IO Manager http://www.openintents.org/en/node/159 It is very good way to chose file I think! But what is it right way to use it in my application? File IO Manager must be installed on the phone while my application could use their nice intents. So, what should I do: 1. Ask user to install File IO Manager. 2. Build File IO in my application 3. Build in the installation of my application installation of File IO Manager 4. some other way... Much appreciate for any suggestion))) -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] ImageView: zoom proportionally to width=fill_parent ???
hi, I've got a picture 300x98. I want to use an ImageView with width=fill_parent in order to let Android zoom it to 320x105 (portrait) or 480x157 (landscape). I tried every scaleType and adjustViewBounds combination, but didnt get it right :( documentation doesnt help me neither: CENTER Center the image in the view, but perform no scaling. CENTER_CROP Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). CENTER_INSIDE Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). FIT_CENTER Scale the image using CENTER. FIT_END Scale the image using END. FIT_START Scale the image using START. FIT_XY Scale the image using FILL. MATRIX Scale using the image matrix when drawing. who can help? greetings, marco btw: I only want to use XML for this... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: ImageButton onClick or onKeyDown?
On Mar 28, 3:02 pm, Paolo brand...@gmail.com wrote: is it possible to use onKeyDown() for an ImageButton instead of onClick() to capture the user's click on this imagebutton? what's the difference? Difference #1: Press (-onKeyDown()), hold a while then release (-onClick()). Difference #2: Press (-onKeyDown()), drag then release (no onClick()). -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] compatible screen sizes on droid G1
I have read the documentation on supporting multiple screens but can't seem to figure it out. I mean, i understand that resolution effects it but it just doesn't make sense to me that the droid and the T-Mobile G1 both use the regular layout directory. I developed the app on a droid and got everything to work but there is one view that i need to use hard-coded pixels.which im using dpi. Now when installing the app on the G1 things on that view are getting cut off because the G1 has a much smaller screen. If I redo it to work on the G1 then everything is all squished together on the droid and even tho everything is visible this way, it looks silly. I tried using the different attributes in my manifest but that didn't help but since i'm using minSDK as 4, the support different screen size attributes are true by default anyway. Am i missing something very simple and obvious or is it just the way it is?? Isn't the physical screen size of the G1 like an 1 smaller?? I'm still kinda new to Android development so forgive me if i am missing something simple -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Extend a button and implement Parcelable
Hi, I've got a problem with a parcelable ArrayList. I made a custom Button called MyButton and the ArrayList is a generic one. So it only takes MyButton objects. Passing the list from on Activity to another is not the problem. In the receiving Activity the Log says, it has some elements, but if i read specific values (like height and text of the button), it always says null or 0. public class MyButton extends Button implements Parcelable{ private HashMapString, String map; public static Context context; public MyButton(Context context){ super(context); this.context = context; map = new HashMapString, String(); } public MyButton(Context context, AttributeSet attrs){ super(context, attrs); } public MyButton(Parcel in){ super(context); map = new HashMapString, String(); readFromParcel(in); } public static final Parcelable.CreatorMyButton CREATOR = new Parcelable.CreatorMyButton() { public MyButton createFromParcel(Parcel in) { return new MyButton(in); } public MyButton[] newArray(int size) { return new MyButton[size]; } }; @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(map.size()); for (String s: map.keySet()) { dest.writeString(s); dest.writeString(map.get(s)); } } public void readFromParcel(Parcel in) { int count = in.readInt(); for (int i = 0; i count; i++) { map.put(in.readString(), in.readString()); } } public String get(String key) { return map.get(key); } public void put(String key, String value) { map.put(key, value); } } If you could have a look at my code and tell me what i made wrong, I would be very glad. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Roadmap and JSR's
Android supports some JSR's so I would still like to hear from Google if this will be supported. On Mar 26, 3:33 pm, Shane Isbell shane.isb...@gmail.com wrote: One issue with JSRs is they require licensing, which is not so great for the open-source side of things. They also hamper distribution of the base platform. On Fri, Mar 26, 2010 at 12:29 PM, Ian pale.cold.f...@gmail.com wrote: anyone from Google? On Mar 23, 1:28 pm, Ian pale.cold.f...@gmail.com wrote: Are we going to see a new Roadmap? When? This is a reoccuring question posed by many people here. There are many different JSR that people are wondering if they will get ported/adopted. Personally, I am wondering when we will get more access to the simcard via JSR-177. -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Shane Isbell (Founder of ZappMarket)http://twitter.com/sisbellhttp://twitter.com/zappstorehttp://zappmarket.com- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] compatible screen sizes on droid G1
FrankD wrote: I have read the documentation on supporting multiple screens but can't seem to figure it out. I mean, i understand that resolution effects it but it just doesn't make sense to me that the droid and the T-Mobile G1 both use the regular layout directory. All devices can use the regular res/layout/ directory. It is the default if there is no better match among your other resource sets. Am i missing something very simple and obvious or is it just the way it is?? Isn't the physical screen size of the G1 like an 1 smaller?? I'm still kinda new to Android development so forgive me if i am missing something simple Here are several blog posts on the subject, and perhaps something in there will help clear up the confusion: http://www.androidguys.com/2010/02/16/handling-multiple-screen-sizes-part/ http://www.androidguys.com/2010/02/18/handling-multiple-screen-sizes-part-2/ http://www.androidguys.com/2010/02/23/handling-multiple-screen-sizes-part-3/ http://www.androidguys.com/2010/03/01/handling-multiple-screen-sizes-part-4/ http://www.androidguys.com/2010/03/02/handling-multiple-screen-sizes-part-5/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.4 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: ImageButton onClick or onKeyDown?
ok. and... how to associate this event onKeyDown only to a specific ImageButton in a View? On 28 Mar, 17:28, Holger me-at-goo...@klawitter.de wrote: On Mar 28, 3:02 pm, Paolo brand...@gmail.com wrote: is it possible to use onKeyDown() for an ImageButton instead of onClick() to capture the user's click on this imagebutton? what's the difference? Difference #1: Press (-onKeyDown()), hold a while then release (-onClick()). Difference #2: Press (-onKeyDown()), drag then release (no onClick()). -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Is there any changes in crop image activity
Just to be extra super clear on this -- if you are doing stuff that is not in the SDK, you can expect that your app will break at some point on future versions, on different devices, etc. Any case where you are using magic string constants or such, that isn't a reference to a constant in the SDK, is almost certainly a case where you are using internal implementation details. Expect to break. In this particular case, if there is no constant in the SDK for the string com.android.camera.action.CROP then this is simply not a part of the SDK, and has a chance of breaking in the future. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] The best way to pick file
I just tried this on my nexus one and it works fine -- gallery is one of the options in the list of things to complete the action. Note that when doing this kind of intent, you should wrap it in a chooser as documented in ACTION_GET_CONTENT, so the user can not select a default item for the options (and if they have somehow managed to select a default one, it won't prevent you from showing the entire list). This is the recommended way of having the user select content for you. If they want to have a file browser, they can install an app that also supports this intent for picking files, and it will show up in the list. For most users, though, making them deal with a file browser is NOT desirable. On Sun, Mar 28, 2010 at 7:39 AM, Tatyana Ulyanova levkat...@gmail.comwrote: Hello, friends! I am developing an application which shows dialog to pick file and than processes it. I used standard way: Intent intentBrowseFiles = new Intent(Intent.ACTION_GET_CONTENT); intentBrowseFiles.setType(*/*); intentBrowseFiles.addCategory(Intent.CATEGORY_OPENABLE); but sometimes users say that using that intent they couldn't choose even their photos:( (for example, on Android 2.1, Nexus One) So, i decide to take a look to openintent's File IO Manager http://www.openintents.org/en/node/159 It is very good way to chose file I think! But what is it right way to use it in my application? File IO Manager must be installed on the phone while my application could use their nice intents. So, what should I do: 1. Ask user to install File IO Manager. 2. Build File IO in my application 3. Build in the installation of my application installation of File IO Manager 4. some other way... Much appreciate for any suggestion))) -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: stuck in OnTouchEvent OnClikc method. please help
ya u r right thanks for the reply i figured that out thanks again man ... thanks, sat On Sun, Mar 28, 2010 at 6:51 PM, murali raju manutd...@gmail.com wrote: hi satish, i guess there is no need to use both the methods. click = touch down + touch up. so using just ontouch is enough On Sat, Mar 27, 2010 at 2:08 PM, satish bhoyar getsatonl...@gmail.comwrote: Guys pls help ... On Fri, Mar 26, 2010 at 5:02 PM, satish bhoyar getsatonl...@gmail.comwrote: Hi all, Hi all, I am stuck in a situation,where I have onClick() method onTouchEvent() method. The situation is the my onTouchEvent() is handling the fling gestures (like left,right), after each fling i am changing the Layout presenting new one for the user. On each layout i have some buttons they have the onClick() set. Now when i do the gesture nothing happens sometimes the onClick gets called. how i can make these two methods to work correctly? please help tahnks, sat -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Maths behind the Android orientation calculation algorithm
Hardly any theory, and I can't see what you'd analyze with MATLAB. The first thing to realize is that the assumption is that you're not accelerating at the same time. Things get more complex if you include acceleration. Given that assumption, then the three acceleration sensors give you the X, Y, and Z direction of gravity in device coordinates. The magnetic sensors likewise give you the direction of magnetic north, unless you're over the magnetic poles, in which case, the magnetic field and gravity are aligned, and the cross-product will be zero. Except for that case, the magnetic sensors give you your your orientation around the vertical axis (in world coordinates) I don't see how we can explain it to you in text. You really need pictures and diagrams. Especially since the comments in the code already tell you what it's doing. I'd suggest a basic textbook on 3D computer graphics that talks about rotation matrices and linear (vector) algebra, or perhaps a course in linear algebra. Preferably both! There's a great course in Linear Algebra on MIT's open courseware site taught by Gilbert Strang; the first part of that should get you oriented as to what a matrix really is and means; combine that with the more application-specific approach that'll be taken by any computer graphics text discussing affine transformations (rotation is one type of affine transformations, and affine transformations are the ones used in computer graphics and represented by matrices). The basic math things you need to know are: 1) What a matrix is. 2) What a vector is. 3) Vector cross product (vector product) 4) Vector dot product (scalar product) 5) The magnitude of a vector (Pythagorean theorem) 6) The use of a matrix to represent rotation. (Multiplying a vector by a rotation matrix gives you a new vector, rotated by that amount). For getOrientation(), you also need basic trigonometry, as well as understanding how Math.atan2 is used rather than Math.atan (to avoid ambiguity as to which quadrant you're in). I would guess that you probably already have these individual skills. I suspect your problem is just that you expect to need MORE than this list, and you're a bit lost about how to apply and combine them or where in the code they're being applied. If you haven't done this sort of thing before, it can be a bit intimidating. I'd even have to stop and think it through carefully to write this code, because it's not something I do regularly. That's why we have matrices -- so we don't have to think about the individual formulae that each matrix represents. On Mar 27, 10:30 pm, DD daviddiaofri...@gmail.com wrote: Hi, I know Android calculates the orientation of the phone by fusing the acceleration and magnetic field readings. The related APIs are getRotationMatrix() and getOrientation(). I looked into the source code of these two APIshttp://www.netmite.com/android/mydroid/cupcake/frameworks/base/core/j... But I couldn't really figure out where exactly the implementation came from... Could anybody tell me where I can find the theory of this algorithm and detailed mathematical background of it? I'm currently implementing exactly the same algorithm offline in MATLAB, and trying to write some mathematical analysis about it. Thank you very much! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: left scrollbar
Dianne, the OP wants scrollbars on the left because Arabic is written right-to-left. So the reasons for having scrollbars on the right are reversed. I'm not sure that's a good idea, however. I think Arabic users will be encountering scrollbars on the right very often, either because they're forced to use non-localized applications, or because localized applications don't implement scrollbars on the left. The result will be that scrollbars are sometimes on one side, sometimes on the other. I expect the confusion that will result will be worse than having the scrollbars always on the wrong side. The only satisfactory solution I see is if the system always picks the side based on locale and/or user preference. and people do NOT write their own code to do it. And even then -- if other systems and platforms don't offer this, it might still be confusing to users. I suspect it would be OK, but I'd want to see some usability testing before I committed the platform to doing that. On Mar 27, 9:37 pm, Dianne Hackborn hack...@android.com wrote: But why do you want to put a scroll bar on the left? Scroll bars on Android are on the right. Making that different just makes things gratuitously different for the user, for no reason I can see. On Sat, Mar 27, 2010 at 9:09 AM, skink psk...@gmail.com wrote: On Mar 27, 3:03 pm, Mark Murphy mmur...@commonsware.com wrote: emna zeddini wrote: hello, I didn't understand what you meant.Is it impossible? I mean that none of the built-in classes (e.g., ScrollView) offer scrollbars on the left side. You are welcome to examine the 2,400 lines of code that make up ScrollView.java and HorizontalScrollView.java to see if you can figure out how to make a ScrollViewWithScrollBarOnTheLeft.java to meet your needs. i believe it is android.view.View that draws scrollbars pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: left scrollbar
On Sun, Mar 28, 2010 at 1:21 PM, Bob Kerns r...@acm.org wrote: Dianne, the OP wants scrollbars on the left because Arabic is written right-to-left. So the reasons for having scrollbars on the right are reversed. Ah... well, right to left text is not supported by Android, at all, so I think scroll bars are the least of the concerns. And to support Arabic, I think the right thing would be to have the platform move the scroll bar (along with lots of other stuff) if appropriate for the language. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Taking picture with Camera
I have made an activity to take picture using Camera class and the SurfaceView, everything works good except one little thing. The main view is blocked in landscape to show the camera correctly. I have set the camera's pref, like setPictureSize, setPreviewSize etc... using those supported from the device. And it's ok. So, when i take the picture and just a while after the camera sound, it's showed for a while a resutl of the picture taken, but it appear stretched. Why? Do you have any solution? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: left scrollbar
Dianne, In the future, is there support planned for right-to-left locales on Android? On Mar 28, 12:37 am, Dianne Hackborn hack...@android.com wrote: But why do you want to put a scroll bar on the left? Scroll bars on Android are on the right. Making that different just makes things gratuitously different for the user, for no reason I can see. On Sat, Mar 27, 2010 at 9:09 AM, skink psk...@gmail.com wrote: On Mar 27, 3:03 pm, Mark Murphy mmur...@commonsware.com wrote: emna zeddini wrote: hello, I didn't understand what you meant.Is it impossible? I mean that none of the built-in classes (e.g., ScrollView) offer scrollbars on the left side. You are welcome to examine the 2,400 lines of code that make up ScrollView.java and HorizontalScrollView.java to see if you can figure out how to make a ScrollViewWithScrollBarOnTheLeft.java to meet your needs. i believe it is android.view.View that draws scrollbars pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Setting new default ringtone without using RingtonePicker?
I'd like to programmatically set a new default ringtone without using RingtonePicker. In other words, there is a certain ringtone that is already installed on my system, and I want to programmatically set it to be my default ringtone without any human interaction. The reason I want this is because every time I reboot my N-1, my previous default ringtone setting gets forgotten, and I am given another ringtone that I don't like. I want to set up an app that I can run manually (or even better, to cause to automatically run upon startup), and which will reset my default ringtone to the one that I like without my having to manually do this via the Settings. The only examples I have found so far for doing this involve using RingtonePicker, but as far as I can tell, this requires human interaction, which I want to avoid. Thanks in advance for your suggestions and pointers. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Programmatically setting a new default ringtone without the ringtone picker
I'd like to set a new default ringtone without using the ringtone picker. In other words, there is a certain ringtone that is already installed on my system, and I want to programmatically set it to be my default ringtone without any human interaction. The reason I want this is because every time I reboot my N-1, my previous default ringtone setting gets forgotten, and I am given another ringtone that I don't like. I want to set up an app that I can run manually (or better yet, to cause to automatically run upon startup) which will reset my default ringtone to the one that I like without my having to manually do this via the Settings. The only examples I have found so far for doing this involve using the ringtone picker, but as far as I can tell, this requires human interaction, which I want to avoid. Thanks in advance for your suggestions and pointers. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Control a graphic with android buttons
Hello, at the moment I'm not that much familiar with Android and I try to teach it myself. My target is it to control a graphic with android buttons, so at first I designed the layout: ?xml version=1.0 encoding=utf-8? FrameLayout android:id=@+id/FrameLayout01 android:layout_width=fill_parent android:layout_height=fill_parent xmlns:android=http://schemas.android.com/apk/res/android; TableLayout android:layout_width=fill_parent android:layout_height=fill_parent android:gravity=bottom android:stretchColumns=* android:layout_alignParentBottom=true TableRow Button android:id=@+id/btnUp android:layout_width=80px android:layout_height=wrap_content android:text=Up / Button android:id=@+id/btnEnter android:layout_width=70px android:layout_height=wrap_content android:text=Enter / Button android:id=@+id/btnDown android:layout_width=80px android:layout_height=wrap_content android:text=Down / /TableRow /TableLayout /FrameLayout This seems to be what I want. Then I created a view and a thread: package my.domain.test; public class GameThread extends Thread { private SurfaceHolder surfaceHolder; private GamePanelView gamePanel; private boolean run = false; public GameThread(SurfaceHolder surfaceHolder, GamePanelView panel) { this.surfaceHolder = surfaceHolder; this.gamePanel = panel; } public void setRunning(boolean run) { this.run = run; } @Override public void run() { Canvas c; while (run) { c = null; try { c = surfaceHolder.lockCanvas(null); synchronized (surfaceHolder) { gamePanel.updatePosition(); gamePanel.onDraw(c); } } finally { if (c != null) { surfaceHolder.unlockCanvasAndPost(c); } } } } } - package my.domain.test; public class GamePanelView extends SurfaceView implements Callback { private GameThread thread; private Bitmap ball; private int posX = 10, posY = 10; public GamePanelView(Context context, AttributeSet attrs) { super(context, attrs); getHolder().addCallback(this); thread = new GameThread(getHolder(), this); createImages(); } @Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { // TODO Auto-generated method stub } @Override public void surfaceCreated(SurfaceHolder holder) { thread.setRunning(true); thread.start(); } @Override public void surfaceDestroyed(SurfaceHolder holder) { boolean retry = true; thread.setRunning(false); while (retry) { try { thread.join(); retry = false; } catch (InterruptedException e) { // } } } @Override public void onDraw(Canvas canvas) { canvas.drawColor(Color.BLACK); canvas.drawBitmap(ball, posX, posY, null); } public GameThread getThread() { return thread; } private void createImages() { ball = BitmapFactory.decodeResource(getResources(), R.drawable.ball); } public void updatePosition() { //update Position } } --- Drawing the ball itself works and drawing the buttons itself works, but I neighter know how to combine that nor I know how to listen to these buttons (it's probably not onKeyDown, because I used this for the d-pad). In earlier examples, I just used this xml as my main.xml: ?xml version=1.0 encoding=utf-8? FrameLayout xmlns:android=http://schemas.android.com/apk/res/ android android:background=#00 android:layout_width=fill_parent android:layout_height=fill_parent my.domain.test android:id=@+id/game android:layout_width=fill_parent android:layout_height=fill_parent/ /FrameLayout I can additionally define this in my previous xml file. This seems to work too, no exceptions. But what do I have to do when I want to
[android-developers] Re: Can anyone hook me up with an Exchange email account that I could use for testing?
Hi Marek, POP IMAP aren't a problem. Its just the proprietary Exchange stuff I'm worried about. Thanks for the suggestion to Google it -- it never occurred to me that companies would offer free Exchange accounts. As a matter of fact, I didn't find any free ones, but did find one that offers a 60-day free trial, which is good enough, at least for now. Cheers, Steve On Mar 25, 3:54 am, Marek Pola marek.p...@gmail.com wrote: What Email protocol do you want to test? There are plenty of free email servers supporting the standard protocols POP3 and IMAP4. Gmail supports them both. But if you mean the proprietary Exchange Active Sync (EAS) protocol it's a different matter, but there are free servers for that too. Google is your friend. Regards Marek On Mar 24, 11:43 pm, Flying Coder av8r.st...@gmail.com wrote: Hi Kumar, Thanks, I wasn't aware of MS online -- that's good to know. But, at the moment, what I really want is the ability to connect with stand-alone Exchange servers the same way that K9 or the Android Email client do. I believe my current solution will work fine, since its based on the K9 code, but haven't been able to test it yet. I could release it as beta and let users test it, but I'd really like to test it myself first. Cheers, Steve On Mar 23, 3:21 pm, Kumar Bibek coomar@gmail.com wrote: Umm, Microsoft online has a hosted trial of 30 days for 2007 exchange accounts. You can try that. Thanks and Regards, Kumar Bibek. On Mar 23, 12:09 am, Flying Coder av8r.st...@gmail.com wrote: Hi, I'm putting together a lightweight email provider for use with one of my apps (based on the K9 mail client). I'd love to test it with an Exchange account before releasing it. I'm hoping that some kind sole out there will be able to hook me up with an Exchange account that I can use for testing. Thanks a bunch! Steve -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Sending GPS location over socket
Hello, Could you please tell me how do I send the GPS location of the phone to a webserver through a socket. I am able to display the gps location on the screen with a toast widget in locationchanged() function. After that, I try to send the co-ordinates through a socket but the emulator crashes. Could some one please tell me how to go about this. Thanks, Raqeeb -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: left scrollbar
Yes. On Sun, Mar 28, 2010 at 2:21 PM, Streets Of Boston flyingdutc...@gmail.com wrote: Dianne, In the future, is there support planned for right-to-left locales on Android? On Mar 28, 12:37 am, Dianne Hackborn hack...@android.com wrote: But why do you want to put a scroll bar on the left? Scroll bars on Android are on the right. Making that different just makes things gratuitously different for the user, for no reason I can see. On Sat, Mar 27, 2010 at 9:09 AM, skink psk...@gmail.com wrote: On Mar 27, 3:03 pm, Mark Murphy mmur...@commonsware.com wrote: emna zeddini wrote: hello, I didn't understand what you meant.Is it impossible? I mean that none of the built-in classes (e.g., ScrollView) offer scrollbars on the left side. You are welcome to examine the 2,400 lines of code that make up ScrollView.java and HorizontalScrollView.java to see if you can figure out how to make a ScrollViewWithScrollBarOnTheLeft.java to meet your needs. i believe it is android.view.View that draws scrollbars pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Sending GPS location over socket
Connecting to a web server... Unless something unusual is going on, that would be rather through HTTP requests, not through bare bones socket-based communications. On Mar 28, 3:36 pm, raqz abdulraqee...@gmail.com wrote: Hello, Could you please tell me how do I send the GPS location of the phone to a webserver through a socket. I am able to display the gps location on the screen with a toast widget in locationchanged() function. After that, I try to send the co-ordinates through a socket but the emulator crashes. Could some one please tell me how to go about this. Thanks, Raqeeb -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: left scrollbar
Good answer! :-) On Mar 28, 7:36 pm, Romain Guy romain...@android.com wrote: Yes. On Sun, Mar 28, 2010 at 2:21 PM, Streets Of Boston flyingdutc...@gmail.com wrote: Dianne, In the future, is there support planned for right-to-left locales on Android? On Mar 28, 12:37 am, Dianne Hackborn hack...@android.com wrote: But why do you want to put a scroll bar on the left? Scroll bars on Android are on the right. Making that different just makes things gratuitously different for the user, for no reason I can see. On Sat, Mar 27, 2010 at 9:09 AM, skink psk...@gmail.com wrote: On Mar 27, 3:03 pm, Mark Murphy mmur...@commonsware.com wrote: emna zeddini wrote: hello, I didn't understand what you meant.Is it impossible? I mean that none of the built-in classes (e.g., ScrollView) offer scrollbars on the left side. You are welcome to examine the 2,400 lines of code that make up ScrollView.java and HorizontalScrollView.java to see if you can figure out how to make a ScrollViewWithScrollBarOnTheLeft.java to meet your needs. i believe it is android.view.View that draws scrollbars pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: API for my map
Google star is that user mark a place on google map by click the star behind of the name, and it will appear in your my map. You can have a try, then you will know what I mean it. Google map data API can create, edit, get my maps. 2010/3/28 janaki janakime...@gmail.com Hey monica were you able to create Map in My Maps. what is google star?? Thanks On Mar 11, 6:49 pm, monica chen.h2...@gmail.com wrote: Thank you for the information! Do you ever found there is APIs for Google star such as for my maps? 2010/3/11 janaki janakime...@gmail.com You can use Google map data api for retreving,creating and updating my maps. I think android does not support gdata for creating the maps so we have to use http protocol, here is the link http://code.google.com/apis/maps/documentation/mapsdata/developers_gu. .. Thanks On Mar 4, 7:48 pm, monica chen.h2...@gmail.com wrote: My map is a feature of google map. you can login with google account and create your maps, and starring some places. 2010/3/5 Mark Murphy mmur...@commonsware.com monica wrote: Is there any google map api for my map? What is my map? Any possible to get my map data after authorization? What authorization? http://developer.android.com/guide/topics/location/index.html -- Mark Murphy (a Commons Guy) http://commonsware.com|http://twitter.com/commonsguy Android Online Training: 26-30 April 2010:http://onlc.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en-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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Android view refresh rate (FPS)
Hello, I´d like to get some information about Android´s maximum refresh rate when updating a view. In this specific case I´m trying to update the value displayed on a TextView on my main activity. The algorithm tries to syncronize the audio streams played using AudioTrack with updates on the view. Since I need a different thread to feed AudioTrack I created a new AsyncTask which calls publishProgress() everytime an specific event occurs in the audio. The algorithm works flawless until the update rate gets close to 4 times per second. From this to any higher refresh rate the view just don´t show the news values anymore. Does publishProgress (updateProgress) have a refresh´s period limit? If so or if not, what could I do so my asyncTask get to update the TextView as quick as I need? *Important: I´m doing all my tests using the android emulator (sdk 1.6). Thanks, Gabriel Simões -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Android view refresh rate (FPS)
There's no refresh limit (except the one set by the display, which is usually 50 or 60 fps) in the Views system nor in AsyncTask. You are probably running into performance issues. 2010/3/28 Gabriel Simões gsim...@gmail.com: Hello, I´d like to get some information about Android´s maximum refresh rate when updating a view. In this specific case I´m trying to update the value displayed on a TextView on my main activity. The algorithm tries to syncronize the audio streams played using AudioTrack with updates on the view. Since I need a different thread to feed AudioTrack I created a new AsyncTask which calls publishProgress() everytime an specific event occurs in the audio. The algorithm works flawless until the update rate gets close to 4 times per second. From this to any higher refresh rate the view just don´t show the news values anymore. Does publishProgress (updateProgress) have a refresh´s period limit? If so or if not, what could I do so my asyncTask get to update the TextView as quick as I need? *Important: I´m doing all my tests using the android emulator (sdk 1.6). Thanks, Gabriel Simões -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Sending GPS location over socket
could you please tell me why it aint possible through sockets? or is there any other way to do that? On Mar 28, 7:41 pm, JP joachim.pfeif...@gmail.com wrote: Connecting to a web server... Unless something unusual is going on, that would be rather through HTTP requests, not through bare bones socket-based communications. On Mar 28, 3:36 pm, raqz abdulraqee...@gmail.com wrote: Hello, Could you please tell me how do I send the GPS location of the phone to a webserver through a socket. I am able to display the gps location on the screen with a toast widget in locationchanged() function. After that, I try to send the co-ordinates through a socket but the emulator crashes. Could some one please tell me how to go about this. Thanks, Raqeeb -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: cannot install radio update
Fantastic, thank you! It appears the behavior I see happens because the radio image for 1.5 is the same as 1.6: http://groups.google.com/group/Android-DevPhone-Updating/browse_thread/thread/38526696b1559b28/d8033d69f8374dbc Further digging finds that my phone lost its APN settings. Restored those and it is working again. My apologies for posting to the wrong group! A series of unfortunate events had me repeatedly just missing the solution. Thanks for pointing me the right direction! -Nate On Mar 28, 6:27 am, Mark Murphy mmur...@commonsware.com wrote: Nate wrote: *bump* Without 2G my phone is not very useful! The instructions (http://developer.htc.com/adp.html) tell you: For discussions and support about updating your Android Dev Phone, please head over to the Android-DevPhone-Updating group. with a link to: http://groups.google.com/group/Android-DevPhone-Updating -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] How to prevent long URL from breaking in generated email?
I am generating an email in my app in which I include a long URL. The entire URL appears in the email but the clickable link portion of it consists of only the first 90 characters. Why does this happen and how can I prevent it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: popup menu on gmail
AFAIK, there is no standard widget for this UI feature.. I imagine you could build one yourself rather easily, however. Hide the view element by default. Listen for selections on the checkboxes, when one is made increment a counter and setVisibility(View.VISIBLE) on your popup. When a box is unchecked, decrement your counter and check if it is zero, if it is zero setVisibility(View.GONE) on your popup. For positioning your popup above screen content (like your list), look into using a RelativeLayout container. Hope the helps. Nick On Mar 27, 3:58 pm, Eric yafe...@gmail.com wrote: Hi, I notice there is popup menu on gmail application once you click on the left checkbox of each message item. If there is no message checked, this menu would disappear. What is that menu? How to implement it? Thanks, -Eric -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Search Bar
Did you ever manage to solve this? I'm also interested in making a search bar which looks like QuickSearch. On 18 mar, 00:38, Paolo brand...@gmail.com wrote: I'd like to make asearchbaras in the youtube widget. It seems a layout with a edittext view and two imagebutton, but i'm not able to make it equal. this is an example:http://www.mobiletor.com/images/quick-search-box-android.jpg I'm interested only to the GUI, not to the quicksearchfeature. Do you have an idea on how to reproduce it? Then, I'd like to have also the same keyboard, with thesearchkey in the bottom to right, is it possibile? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Android view refresh rate (FPS)
Thanks Roman... Trying to optimize my code without using the ndk right now. If I don´t find a way out, then I get to this next step. On 28 mar, 23:19, Romain Guy romain...@android.com wrote: There's no refresh limit (except the one set by the display, which is usually 50 or 60 fps) in the Views system nor in AsyncTask. You are probably running into performance issues. 2010/3/28 Gabriel Simões gsim...@gmail.com: Hello, I´d like to get some information about Android´s maximum refresh rate when updating a view. In this specific case I´m trying to update the value displayed on a TextView on my main activity. The algorithm tries to syncronize the audio streams played using AudioTrack with updates on the view. Since I need a different thread to feed AudioTrack I created a new AsyncTask which calls publishProgress() everytime an specific event occurs in the audio. The algorithm works flawless until the update rate gets close to 4 times per second. From this to any higher refresh rate the view just don´t show the news values anymore. Does publishProgress (updateProgress) have a refresh´s period limit? If so or if not, what could I do so my asyncTask get to update the TextView as quick as I need? *Important: I´m doing all my tests using the android emulator (sdk 1.6). Thanks, Gabriel Simões -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them- Ocultar texto das mensagens anteriores - - Mostrar texto das mensagens anteriores - -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Android view refresh rate (FPS)
Maybe you can code your app differently. Instead of publishing your progress by your background thread (pushing progress info), your main gui-thread could instead query for the updates (pulling progress info). Save the progress of your AudioTrack's audio stream into a variable of the background task. And have your main GUI thread poll this variable with a fixed rate. Make sure this variable is properly synchronized for writing and reading. On Mar 28, 11:33 pm, Gabriel Simões gsim...@gmail.com wrote: Thanks Roman... Trying to optimize my code without using the ndk right now. If I don´t find a way out, then I get to this next step. On 28 mar, 23:19, Romain Guy romain...@android.com wrote: There's no refresh limit (except the one set by the display, which is usually 50 or 60 fps) in the Views system nor in AsyncTask. You are probably running into performance issues. 2010/3/28 Gabriel Simões gsim...@gmail.com: Hello, I´d like to get some information about Android´s maximum refresh rate when updating a view. In this specific case I´m trying to update the value displayed on a TextView on my main activity. The algorithm tries to syncronize the audio streams played using AudioTrack with updates on the view. Since I need a different thread to feed AudioTrack I created a new AsyncTask which calls publishProgress() everytime an specific event occurs in the audio. The algorithm works flawless until the update rate gets close to 4 times per second. From this to any higher refresh rate the view just don´t show the news values anymore. Does publishProgress (updateProgress) have a refresh´s period limit? If so or if not, what could I do so my asyncTask get to update the TextView as quick as I need? *Important: I´m doing all my tests using the android emulator (sdk 1.6). Thanks, Gabriel Simões -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them- Ocultar texto das mensagens anteriores - - Mostrar texto das mensagens anteriores -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: DateFormat of android for AM/PM is not working properly with android 2.0
I found it, too. I looked into android code and found it's a bug. There tagged: // FIXME On Mar 8, 6:44 pm, Ritesh Deshmukh mit2rit...@gmail.com wrote: Hi, I have worked on android 1.5 and 2.0. Currently iamdoing Migration of Applications available in 1.5 to android 2.0. During the work time i have come up with one issue as follow: TheDateFormatof android is not returning the value in CAPITAL Letters forAM/PM in 2.0 where as in 1.5 it is doing absolutely fine. Example ::: package com.test.formatter; import java.util.Calendar; import java.util.Date; import android.app.Activity; import android.os.Bundle; import android.text.format.DateFormat; import android.widget.TextView; public class TestDateFormatterActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); TextView textView = (TextView) findViewById(R.id.textview); String delegate = MM/dd/yy h:mm a; Date noteTS = Calendar.getInstance().getTime(); textView.setText(Found Time :: +DateFormat.format(delegate, noteTS)); } } Output ::-- 1. With android 1.5 Found Time :: 03/08/10 4:12 PM 2. With android 2.0 Found Time :: 03/08/10 4:12 pm -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Android view refresh rate (FPS)
This would be a solution if I didn´t have to syncronize the UI updates with the audio playback. Unfortunately in this case I have to refresh the UI according to the audio processed and in some cases 7 times per second. Right now I barely can handle 5. On 29 mar, 00:47, Streets Of Boston flyingdutc...@gmail.com wrote: Maybe you can code your app differently. Instead of publishing your progress by your background thread (pushing progress info), your main gui-thread could instead query for the updates (pulling progress info). Save the progress of your AudioTrack's audio stream into a variable of the background task. And have your main GUI thread poll this variable with a fixed rate. Make sure this variable is properly synchronized for writing and reading. On Mar 28, 11:33 pm, Gabriel Simões gsim...@gmail.com wrote: Thanks Roman... Trying to optimize my code without using the ndk right now. If I don´t find a way out, then I get to this next step. On 28 mar, 23:19, Romain Guy romain...@android.com wrote: There's no refresh limit (except the one set by the display, which is usually 50 or 60 fps) in the Views system nor in AsyncTask. You are probably running into performance issues. 2010/3/28 Gabriel Simões gsim...@gmail.com: Hello, I´d like to get some information about Android´s maximum refresh rate when updating a view. In this specific case I´m trying to update the value displayed on a TextView on my main activity. The algorithm tries to syncronize the audio streams played using AudioTrack with updates on the view. Since I need a different thread to feed AudioTrack I created a new AsyncTask which calls publishProgress() everytime an specific event occurs in the audio. The algorithm works flawless until the update rate gets close to 4 times per second. From this to any higher refresh rate the view just don´t show the news values anymore. Does publishProgress (updateProgress) have a refresh´s period limit? If so or if not, what could I do so my asyncTask get to update the TextView as quick as I need? *Important: I´m doing all my tests using the android emulator (sdk 1.6). Thanks, Gabriel Simões -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them- Ocultar texto das mensagens anteriores - - Mostrar texto das mensagens anteriores -- Hide quoted text - - Show quoted text -- Ocultar texto das mensagens anteriores - - Mostrar texto das mensagens anteriores - -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: How to send at command
probably you misunderstood my question. I m interested to send AT command by programming in android. I m searching some API to do this in android. On Mar 28, 9:07 pm, Joaquim Azevedo joaxazev...@gmail.com wrote: You already try use ADB, maybe exist commands you need. If not, you need to connect your phone in modem mode. Some phones can connect both at same time. On Sun, Mar 28, 2010 at 02:02, saru sarucs...@gmail.com wrote: Hey i need to send AT command to modem in android phone. But by searching android i could not find any API to send AT command. Please can any did it or can any one share any idea regarding AT command. Please it is very much important for me -- You received this message because you are subscribed to theGoogle 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Att, Joaquim Azevedo -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Sending GPS location over socket
Don't get me wrong, it is *possible* to implement this on the blank metal socket library. I've learned implementing parallel servers with the socket library before HTTP was even around... But you'd have to reinvent the wheel and implement the HTTP protocol that your web server in all likelihood will run. Unless the server side is correspondingly built on the socket library. Which nobody does, really, you'll find HTTP and RESTful, SOAP or other services in this arena. It appears you'll have to learn about web server and client development before you can think about getting on first base with Android. On Mar 28, 7:42 pm, raqz abdulraqee...@gmail.com wrote: could you please tell me why it aint possible through sockets? or is there any other way to do that? On Mar 28, 7:41 pm, JP joachim.pfeif...@gmail.com wrote: Connecting to a web server... Unless something unusual is going on, that would be rather through HTTP requests, not through bare bones socket-based communications. On Mar 28, 3:36 pm, raqz abdulraqee...@gmail.com wrote: Hello, Could you please tell me how do I send the GPS location of the phone to a webserver through a socket. I am able to display the gps location on the screen with a toast widget in locationchanged() function. After that, I try to send the co-ordinates through a socket but the emulator crashes. Could some one please tell me how to go about this. Thanks, Raqeeb -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] How to show adds at bottom of an activity(with custom view)?
Hi all, I need show ads in my application. Ads in my custom view must move from bottom of screen with animation. How can I add my view in bottom of screen? Please help to find out the solution.. Thnx... -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Kernel Messages
Hi biAji, How did you use Runtime.getRuntime().exec(dmesg) to read out the messages? I only want to read the latest messsages in dmesg and not from the boot time. Is it possible? How do you read from inputstream? Sorry I can't figure out how you used Runtime.getRuntime().exec(dmesg) and inputstream to display the kernel messages. I couldn't get it done. Thanks In Advance, Perumal On Feb 6, 2:12 pm, biAji biaji...@gmail.com wrote: hi,perumal316, Do you get the idea how to do that? I also want to get some kernel message which could be output by 'dmesg'. But the only way I can image now is using Runtime.getRuntime().exec(dmesg) and read from inputstream. On Jan 25, 9:46 am,perumal316perumal...@gmail.com wrote: Hi, There is this android.util.Log class in Android but it only used for logging but not displaying. Not sure whether there is any other way. Thanks In Advance, Perumal -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Connecting to desktop application and access data
hi, I am a begginer to android n i want to know how to connect to a desktop application and store,accessand update data from my android app.. Wat should i use to build my desktop app? (jsp/grails/php) ? also how to connect via internet or wifi ..any sample programs in this regard would be very helpful.. thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Beginning Development
Hi guys, I always wanted to be apart of the Open-Source community and I am...Sadly I havent contributed as much as id like. So id like to start by developing apps for the Android Mobile OS. What are the programming languages that need to be known to begin developing apps? I went to school for VB6, so I have SOME programming experience. I did a bit of reading, and I saw that JAVA is used to create EVERY app and I saw a couple occurrences of C/C++. Are there any OTHER languages that need to be known? And im Jamaican, so hey to all. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Image Editing
It is a nice option. Did you use? http://github.com/billmccord/OpenCV-Android On Mar 2, 11:57 am, ReyLith jesus...@gmail.com wrote: Hi! I'am starting with Android SDK. I want to develop a image editing software but I don't find any computer vision library to Android SDK. I see that I can use C/C++ code with Android NDK and I can useOpenCv library. Do you think that it is the better option?. Thank. A greeting. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] how to set ProgressBar in white background
hi ,all my question is , how to make the ProgressBar with an inverse color so it looks clearly in a white background. my xml code is here: ProgressBar android:id=@+id/main_progressbar style=?android:attr/progressBarStyleLarge android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=center/ i've seen the sdk doc which says R.attr also has the constant progressBarStyleLargeInverse but when compile, there's an error like this: No resource found that matches the given name (at 'style' with value '? android:attr/progressBarStyleLargeInverse') now i'm confused with this problem for half an hour...looking for your help~ thanks! NalrA -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Get unique ID of phone - Settings.Secure.ANDROID_ID not working on N1?
Yes, I really wanted to avoid TelephonyManager because it has particularly scary-looking permissions. And indeed I don't need to know any identifying info about the phone or the user: I just need an easy way to distinguish one phone from another (so that I can ban problem users if necessary). Any ideas anyone? On Mar 26, 9:29 pm, Shane Isbell shane.isb...@gmail.com wrote: I also use TelephonyManager in my app, but I do, on occasion, get an angry e-mail asking why the app needs to make phone calls. Many users just don't understand the phone state permission. On Fri, Mar 26, 2010 at 2:20 PM, Ken H hunt1...@gmail.com wrote: Can't say anything about the ANDROID_ID thing. What's wrong with the TelephonyManager? You can get the device ID, subscriber ID, Sim serial number, etc. I think the only permission you need is uses-permission android:name=android.permission.READ_PHONE_STATE/ in the manifest. Ken On Mar 25, 6:28 am, Anna PS annapowellsm...@googlemail.com wrote: Odd - I posted this message yesterday and got sent a copy, but it doesn't seem to have shown up in the group... Here it is again. This seems to be a bit of a vexed issue: seehttp:// groups.google.com/group/android-developers/browse_thread/threa... Like the person who started that thread, I need to get a unique ID for a device, without using scary permissions for TelephonyManager. I've tried id = android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID); but that just produces android_id on my phone. Anyone know a way that works? I'm using a Nexus One and Android 2.1. -- 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%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Shane Isbell (Founder of ZappMarket)http://twitter.com/sisbellhttp://twitter.com/zappstorehttp://zappmarket.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Nexus one
haha, nice one. i hope you are not serious. On Sat, Mar 27, 2010 at 12:22 AM, JP joachim.pfeif...@gmail.com wrote: Uhmm nope, that title actually goes to the Nokia 6310i. On Mar 26, 2:05 pm, Ken H hunt1...@gmail.com wrote: The greatest phone ever. On Mar 26, 11:20 am, ernie ernest...@gmail.com wrote: Just got the Nexus One via FedEx, in Southern California. Thank you Google. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Kaustubh Padegaonkar thetuxra...@gmail.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] this jerseys is replace or no
hello i look this web www.jerseysunion.com is sell sport jerseys. accept paypal, free shipping cost 38 usd this web i think can truest it, but i don't know the product is good? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] this jerseys is replace or no
hello i look this web www.jerseysunion.com is sell sport jerseys. accept paypal, free shipping cost 38 usd this web i think can truest it, but i don't know the product is good? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Where can I report UI bugs with android 2.1 (nexus)
Where do we get these updates if we purchased the nexus 1 last week? On Mar 26, 3:52 pm, Romain Guy romain...@android.com wrote: 1) Home screen/Navigation dots: While on the default home screen, It sometimes shows one dot on the left, and three dots on the right. (or vice versa). When the expected result is 2 dots on either side. Tapping on the single dot brings me to the proper second page, and the dot's then begin to work as normal. Known bugs we've fixed internally weeks ago. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Media Player bad behavior
My phone is Droid, version 2.01. I have a clip 1.mp4, 23456 bytes of data on my desktop. I transfer to SD card, woking fine. I UPLOAD to web server, then use PHP to download it to my phone. It's working fine and downloads exactly 23456 bytes, same filename. It's no longer playable. I then, download that clip again, using my desktop, same PHP downloading, transfer the new downloaded file to SD. It's still playing fine. With the bad downloaded file using phone, moving to desktop, no working. Note that they're all the same bytes and never been rename from server or phone at all. So what's the problem here? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: cannot install radio update
try xda forums. On Sat, Mar 27, 2010 at 2:59 AM, Nate nathan.sw...@gmail.com wrote: Maybe there is somewhere else I can ask? On Mar 25, 12:57 am, Nate nathan.sw...@gmail.com wrote: No one can offer any suggestions? On Mar 24, 12:32 am, Nate nathan.sw...@gmail.com wrote: I have a G1 Dev Phone. I am unable to install the 1.6 radio update from this page:http://developer.htc.com/adp.html The file name is: ota-radio-2_22_19_26I.zip I push it to the phone as update.zip, do a shell sync, wait 5 minutes, reboot into recovery mode, press alt+L, then alt+S. I get: -- Install from sdcard... Finding update package... Opening update package... Verifying update package... Installing update... Installation aborted. While it says Verifying update package... a progress bar slowly grows in the background. When it gets to about 50%, the next 2 messages appear and then I'm back to the system recovery menu. Why are there no error message? What am I supposed to do now? I have tried a factory reset. I have tried redownloading the package and doing all the steps again. My phone still works, but I no longer get 2G (I'm on an ATT carrier with a SIM from an iPhone, so I have never gotten 3G). WIFI and making/receiving calls still works, just no 2G (which is extremely frustrating). I have Googled my eyes and fingertips off. Others are having this problem, some exactly the same symptoms, some with error messages. No one has had any solutions. I can't imagine I broke my phone by following the standard instructions. I want my 2G back! I'm already pissed that I paid extra for a Dev Phone when a regular phone would have been fine for me. I'll accept that as being my fault for lack of research, but I certainly wasn't told that I can't download paid apps with a Dev Phone. On top of that, now my phone is apparently broken and I have no one to turn to because it is a Dev Phone! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Kaustubh Padegaonkar thetuxra...@gmail.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Anyone has processed an image with opencv library?
Hi, I compiled the opencv library: http://github.com/billmccord/OpenCV-Android But I don't know how to process a simple image with it. Anyone has done something similar? Cheers -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Which version of Java is used in Android?
I've read that Android apps use Java syntax, and not Java per se, presumably because of the Davlik VM. I'm a Java noob, so I may not be making sense here, but don't different versions of Java support different things - for example, generics in v5, and annotations in v6?If you're using Eclipse and Java, won't it always be whatever is supported in the latest version of Java? Isn't there a chance that when a new version of Java comes out you'll be able to compile apps successfully, but which will fail on an Android machine because the VM won't know how to interpret the bytecode? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Hello,everybody,the good shoping place,the new year approaching, click in. Let's facelift bar! ===== HTTP://loveshopping.us ====
Hello,everybody,the good shoping place,the new year approaching, click in. Let's facelift bar! = HTTP://loveshopping.us Air jordan(1-24)shoes $33 UGG BOOT $50 Nike shox(R4,NZ,OZ,TL1,TL2,TL3) $35 Handbags(Coach lv fendi dg) $35 Tshirts (Polo ,ed hardy,lacoste) $16 Jean(True Religion,ed hardy,coogi) $30 Sunglasses(Oakey,coach,gucci,Armaini) $16 New era cap $15 Bikini (Ed hardy,polo) $25 FREE SHIPPING -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Adding iconified rows to existing ArrayAdapter
*$$$ REVOLUTIONARY, UNIQUE AND REALISTIC PAY PLAN!$$$* * * [image: ForcedCashGifts - TURN $10 INTO $944350 THIS YEAR!]http://forcedcashgifts.com/?ref=blueedel * * * Turn $10 into $944350 This Year!* * PEOPLE HELPING PEOPLE!!* * Everybody Earns! Everybody Wins!* * * * **New Cash Gifting! Only $10 to Join...* *http://forcedcashgifts.com/?ref=blueedel* *http://forcedcashgifts.com/reg.php?ref=blueedel* 2010/3/26, praj prajakt...@gmail.com: Hi, I am developing an application which requires me to load first twenty rows (consisting on icons and two text fields) and if I have more rows I need to display a button. When i click this button I want to display more twenty rows( again iconified). My current approach which is working is that on the button click I create one more activity which will have the previous rows and the new rows. In this case the curson is set to the very first row. But I want to have something like Facebooks Older Post where the new rows get appended to the old ones and the cursor is set to the last row to which the new rows are added. Please can anyone give me ideas on how to achieve this. That is, how to add rows (iconified) to the existing array adapter. Thanks, Prajakta. -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- blueedel -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Background processes
Hi guys, I'm having several problems to run task in background that returns objects, I use separate threads that send messages to a Handler when tasks starts and finishes, I use a Static Class to run these tasks associating each task to an ID I can know if these tasks are running or not before launch each task. I pass each task to my task manager as Runnable object. But I'm having too many problems. I have been searching documentation about that but I don't find serious documentation about that. I know threads, services, broadcast receivers, ... but I can't find the way to make it. Since the services need to receive only Parcelable objects, I can't send my Runnable object to be runned. I want to build some task manager that I will able to register tasks as a Runnable object, and I can receive results. Someone knows a GOOD documentation about that?? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Anyone noticed that nobody yet has received a Droid? I postulate that at this point, anyone who has not received a unit or at least confirmation from FedEx that they are in the delivery pipeline will receive a Droid as it's coming from some place other than Brighthouse. Of course, I could be wrong. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Error in the market: Upload a valid APK.
I constantly get the error Upload a valid APK. when I try to upload my application to the Android market. I followed http://developer.android.com/intl/de/guide/publishing/preparing.html and verified the signature of my apk with jarsigner. What does this error want tell me? Is there some kind of verification tool that is a little bit more verbose? What can I do? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] LGPL on Android
Hi, I have a question regarding the licensing. LGPL, as I understand it, requires an Application to use at run time a copy of the Library already present on the user's computer system and to provide Installation instructions that enable the end user to choose a modified version of the Library. But if I bundle a library (such as libgdx) with my application, there is no way the user can upgrade this library without recompiling my whole application. The only way to comply with LGPL is to provide (as open source) an thin interface layer that will work as a Service or as an Activity, which will answer some custom Intent. For a JNI shared lib, there is a potential to allow chosing an alternative location of the .so file. But libgdx has, if I understand correctly, important Java interfaces that cannot be easily wrapped in terms of Service or Activity. Please correct me if my argument is flawed. Sincerely, Alex Cohn -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Creating Proxy Server
Looking for help with creating an http proxy server via Android. It's a bit difficult to ask this question with examples, etc, because networking isn't familiar to me, which means I don't quite know how to get started, so I'll try to explain: I'm attempting to play an audio stream using Android's MediaPlayer. It's a snap using setDataSource and my URL string... only some phones (those still running Android 1.5) won't play the stream. Through research I've discovered that the problem may reside with the headers associated with my stream URL, that something in them is either missing, wrong, or simply needs to be changed in order for the MediaPlayer not to reject the URL on prepare() (could be length and/or content-type). I've been told that I should attempt to solve the problem by creating an http proxy server in my app, one where I can alter the headers to however I need them, and then attach to the stream through this new proxy... but I haven't the slightest idea on how to do this. Anyone have advice? I'd greatly appreciate a point in the right direction through code, not just suggestions like look up HttpClient in the SDK, because I've been through all of that and am getting nowhere. 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] onRelease for ListView-Adapter
Hello everyone, I'm programming my first Android application and I've stumbled over a little problem. I've created my own adapter (extends BaseAdapter) for my ListView and in my public View getView(...) I have the following code: view.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { v.setBackgroundColor(Color.RED); testClick(clickPos); //my test method that shows a Toast- message.. } My problem: How do I set the color back to Color.BLACK after the user releases the touchscreen? I'm looking for something that is similar to Javascripts onMouseUp or onKeyUp methods. An OnClickReleaseListener() perhaps? Can you point me in the right direction? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: (TabActivity) How to switch tab from within a sub activity
i also tried your demo code... it works great... my aim was to navigate to an existing tab via a button with the Tab Layout demo from the sdk it doesn't work because of the subclasses (or new activities). with your code it works. but what about ColletJb's question. is it possible to have these acticities within your demo? best regards m, colone On 28 Feb., 11:48, ColletJb collet...@gmail.com wrote: Thanks for your demo code... But unfortunately, I can't use that method regarding the fact I have a MapActivity and two ListActivity as sub activities. My last idea is to write a singleton on which I will save the TabHost instance. Thus it should be accessible from any sub activities by instanciating the singleton... I will try... On 24 fév, 21:06, Mark Murphy mmur...@commonsware.com wrote: ColletJbwrote: No demo code available ? http://github.com/commonsguy/cw-android/tree/master/Fancy/Tab/ -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] How can I return from BluetoothServerSocket.accept()?
Hi all, I have encountered a problem when I am doing Bluetooth programming on Android 2.1. I call BluetoothServerSocket.accept() in a Thread for accepting income connection and it works fine on accepting incoming connections, but the problem is that I have no way to stop the thread when I want to quit the app. I have tried calling BluetoothServerSocket.close() but it says: 03-28 01:55:28.298: ERROR/BluetoothSppPort(912): invalid port state for disconnection Also, I have tried using Thread.interrupt() but it has no effect on it. Are there any ways to force close the socket or stop the thread? Do I need to switch off the bluetooth? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] adb shell command error
Hi, all. I have trouble with adb shell command. When I run 'adb shell install apkname.apk', my android phone show up a root prompt(#) character directly, and does nothing, as if 'adb shell' command executed. That's very strange. I just flashed my custom ROM on Tattoo, whick rocks without any error. The command 'adb shell install' is just an example, actually, other 'adb shell' commands(e.g. 'adb shell ls -l /data') have exactly same problem, only 'adb shell' itself runs as it did before. Any help will be appreciated! Thanks in advance. Regards, aBiNg -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] media player source code
Dear sir Good morning to all. please send the media player source code to me. ** -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] how to Log in to a website and retrieve messages and other information?
Hi, I am a new developer to the android platform and I want to know.. is there any way that I can build an app that log in to a particular website, and then retrieve the information of that account..such as messages,images...etc --if you have a useful link I will appreciate it..;) thank you in advance..:) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: (TabActivity) How to switch tab from within a sub activity
i also tried your demo code... it works great... my aim was to navigate to an existing tab via a button with the Tab Layout demo from the sdk it doesn't work because of the subclasses (or new activities). with your code it works. but what about ColletJb's question. is it possible to have these acticities within your demo? best regards m, colone On 28 Feb., 11:48, ColletJb collet...@gmail.com wrote: Thanks for your demo code... But unfortunately, I can't use that method regarding the fact I have a MapActivity and two ListActivity as sub activities. My last idea is to write a singleton on which I will save the TabHost instance. Thus it should be accessible from any sub activities by instanciating the singleton... I will try... On 24 fév, 21:06, Mark Murphy mmur...@commonsware.com wrote: ColletJbwrote: No demo code available ? http://github.com/commonsguy/cw-android/tree/master/Fancy/Tab/ -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Maven Integration for Android Development Tools 0.2.3 Released
Hi All I just released version 0.2.3 of Maven Integration for Android Development Tools (m2eclipse-android-integration): an Eclipse plug-in adding integration support for M2Eclipse with the Android Developer Tools (ADT) and the Maven Android Plugin. With the m2eclipse-android-integration plug-in you can continue to build your Android projects in Eclipse while taking advantage of Maven's powerful project management features, including automatic project configuration and dependency management. The Getting Started wiki page details how to install and use the plug-in: http://code.google.com/p/m2eclipse-android-integration/wiki/GettingStarted This is the first public beta release in anticipation of a fully working 0.3.0 release so it maybe buggy. If you find any issues or missing features please report them here: http://code.google.com/p/m2eclipse-android-integration/issues/entry Or just send an email to the mailing list: http://groups.google.com/group/m2eclipse-android-integration I like to thank Hugo Josefson for his valuable help with, and generous contributions, to the code. This release coincides with the 2.3.3 release of his Android Maven Plugin: http://bit.ly/9S9xjK Regards.. -- Ricardo Gladwell ricardo.gladw...@gmail.com http://www.google.com/profiles/ricardo.gladwell -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] webservice
how to call webservice -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Can an app upgrade itself?
Given that we can run ITS under SIMH on our phones, we should be able to run the original, pre-FSF, TECO-based Emacs, which should solve the problem. I'll just need to locate a snapshot of the TECO; and EMACS; directories. On Mar 27, 1:43 pm, Mark Murphy mmur...@commonsware.com wrote: Wayne Wenthin wrote: But there is no drive platter on my phone! You need to upgrade your butterflies to 1.3.7 or higher to write dex bytecodes to flash. And watch out -- some unscrupulous individuals are trying to pawn off moths as being white-label (OEM) butterflies. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: (TabActivity) How to switch tab from within a sub activity
i also tried your demo code... it works great... my aim was to navigate to an existing tab via a button with the Tab Layout demo from the sdk it doesn't work because of the subclasses (or new activities). with your code it works. but what about ColletJb's question. is it possible to have these acticities within your demo? best regards m, colone On 28 Feb., 11:48, ColletJb collet...@gmail.com wrote: Thanks for your demo code... But unfortunately, I can't use that method regarding the fact I have a MapActivity and two ListActivity as sub activities. My last idea is to write a singleton on which I will save the TabHost instance. Thus it should be accessible from any sub activities by instanciating the singleton... I will try... On 24 fév, 21:06, Mark Murphy mmur...@commonsware.com wrote: ColletJbwrote: No demo code available ? http://github.com/commonsguy/cw-android/tree/master/Fancy/Tab/ -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] How to upgrade my Android dev Phone 1 to 2.x release?
Yes I believe you can. Sent from my BlackBerry® device from Digicel -Original Message- From: Joe droidvi...@gmail.com Date: Sat, 27 Mar 2010 13:19:01 To: Android Developersandroid-developers@googlegroups.com Subject: [android-developers] How to upgrade my Android dev Phone 1 to 2.x release? Is it possible to upgrade Android dev phone (the first version) to latest release (either 2.0 or 2.1)? I appreciate if you can point me right links. Thanks Joe -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: (TabActivity) How to switch tab from within a sub activity
i also tried your demo code... it works great... my aim was to navigate to an existing tab via a button with the Tab Layout demo from the sdk it doesn't work because of the subclasses (or new activities). with your code it works. but what about ColletJb's question. is it possible to have these acticities within your demo? best regards m, colone On 28 Feb., 11:48, ColletJb collet...@gmail.com wrote: Thanks for your demo code... But unfortunately, I can't use that method regarding the fact I have a MapActivity and two ListActivity as sub activities. My last idea is to write a singleton on which I will save the TabHost instance. Thus it should be accessible from any sub activities by instanciating the singleton... I will try... On 24 fév, 21:06, Mark Murphy mmur...@commonsware.com wrote: ColletJbwrote: No demo code available ? http://github.com/commonsguy/cw-android/tree/master/Fancy/Tab/ -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: create TextView
Even thought you are in onClickListener anonymous class, you can always get your context (instance of activity via your_activity_class_name.this) cb.setOnClickListener(new OnClickListener() { TableLayouttl; @Override public void onClick(View v) { if (((CheckBox) v).isChecked()) { if (tl == null) { Context c = MyActivity.this; . On Mar 27, 6:13 pm, Adrian Vintu adrianvi...@gmail.com wrote: Np. There are many ways to get your desired behavior. I will post one of them, just in case someone needs it. This is actually a toggle layout, so it's a little bit more than what you asked. cb.setOnClickListener(new OnClickListener() { TableLayout tl; @Override public void onClick(View v) { if (((CheckBox) v).isChecked()) { if (tl == null) { Context c = v.getContext(); TableRow tr = new TableRow(c); TextView b = new TextView(c); tl = new TableLayout(c); tl.removeView(tr); b.setText(Dynamic test); tr.addView(b); tl.addView(tr); LinearLayout parent = (LinearLayout) v.getParent(); parent.addView(tl); } } else { LinearLayout parent = (LinearLayout) v.getParent(); parent.removeView(tl); tl = null; } } }); BR, Adrian Vintu http://adrianvintu.com On Sat, Mar 27, 2010 at 5:00 PM, rubeN_vl rvanluch...@hotmail.com wrote: the v.getContext() did it!!! ty dude On 27 mrt, 16:48, Adrian Vintu adrianvi...@gmail.com wrote: in the onClick you also have v.getContext(); v.getParent(); v.getRootView(); On Sat, Mar 27, 2010 at 4:41 PM, Adrian Vintu adrianvi...@gmail.com wrote: A. create one time the container view then use setVisibility() to show or hide it or/and B. you also have alert.getOwnerActivity() which gives you back the... context :) you can then play around with it as you wish On Sat, Mar 27, 2010 at 4:36 PM, rubeN_vl rvanluch...@hotmail.com wrote: Same error, how can such a simple thing be so difficult :D if i create those outside the onclick scope, its like i can use them only one time. final TableRow tr = new TableRow(this); final TextView b = new TextView(this); On 27 mrt, 16:16, Adrian Vintu adrianvi...@gmail.com wrote: So toggle the visibility from GONE to VISIBLE. I think this would be a quick solution :) BR, Adrian Vintu http://adrianvintu.com On Sat, Mar 27, 2010 at 4:14 PM, Adrian Vintu adrianvi...@gmail.com wrote: It's my pleasure to help :) I think an easy solution is to use view.setVisibility(View.GONE) Does this work for you? BR, Adrian Vintu http://adrianvintu.com On Sat, Mar 27, 2010 at 4:10 PM, rubeN_vl rvanluch...@hotmail.com wrote: checkboxrifle.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Patient p = (Patient) spinner.getSelectedItem(); Service s = new Service(RIFLE); if (((CheckBox) v).isChecked()) { p.addService(s,0); DataAccess.registerService(p,s); //TableRow tr = new TableRow(this); //TextView b = new TextView(this); //tr.removeView(b); //TableLayout tl = (TableLayout)findViewById(R.id.dynatabel); //tl.removeView(tr); // b.setText(Dynamic tekst); // tr.addView(b); //tl.addView(tr); } else { p.removeService(0); DataAccess.unregisterService(p, s); } } }); 1st of all tx for ur time. So, i want to do this, push a checkbox, get an object in a spinner, add a row to a tabel. Uncheck the checkbox and the row gets removed. If i create textview outside the scope, i can add 1 new row to the table. Second time i check the checkbox i get the error described previously. The removeView() just removes the view, the application does not crash, but no new rows are added. It just removes the previously created
[android-developers] Help In graduation Project
Hello Android Developers community; hope this find you well and I am pleased to be a member in such a group. I am a fourth year Computer systems engineering student, and I am interested to make my graduation project in Mobile OS field, and android has the best community support that will help us very much. I need your help to suggest me a topic that my group (3 students including me) can handle; so we can help you in the community and consider it as a graduation project. Our graduation project consists of two phases, one on each semester. Phase one is the Project introduction and this is a theoretical and analysis phase. And the second is the real project phase, in which we can start the work. We are looking for something in depth, so that we can assemble the hardware (BeagleBoard and it peripherals) and installation of android as the introduction to the project, and then start with real life application that you kindly might help us to choose. It a pleasure to get helped and get enveloped in this community, and looking for your help. Sincerely yours. -- Ahmad Al-Masry Palestine-West Bank-Salfit 00970(2) 599 043374 4th year Computer Systems Engineering @ Birzeit Univ. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Was the shipper for the DROID someone other than brightpoint? On Mar 27, 12:23 pm, niko20 nikolatesl...@yahoo.com wrote: Damnit, got a DROID today in Madison WIum I already have a DROID. I doubt anyone is ever gonna wanna trade a Nexus one for this..lol - On Mar 27, 11:21 am, Greg Donald gdon...@gmail.com wrote: Droid, Nashville TN. -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: (TabActivity) How to switch tab from within a sub activity
i also tried your demo code... it works great... my aim was to navigate to an existing tab via a button with the Tab Layout demo from the sdk it doesn't work because of the subclasses (or new activities). with your code it works. but what about ColletJb's question. is it possible to have these acticities within your demo? best regards m, colone On 28 Feb., 11:48, ColletJb collet...@gmail.com wrote: Thanks for your demo code... But unfortunately, I can't use that method regarding the fact I have a MapActivity and two ListActivity as sub activities. My last idea is to write a singleton on which I will save the TabHost instance. Thus it should be accessible from any sub activities by instanciating the singleton... I will try... On 24 fév, 21:06, Mark Murphy mmur...@commonsware.com wrote: ColletJbwrote: No demo code available ? http://github.com/commonsguy/cw-android/tree/master/Fancy/Tab/ -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.