[android-developers] change scroll speed in Gallery
I made a gallery app inspired by the wallpaper chooser in the Launcher, using the Gallery class. However, one small swipe and it goes forever, can I slow it down, or add friction to my gallery object easily? thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] change scroll speed in Gallery
I made a gallery app inspired by the wallpaper chooser in the Launcher, using the Gallery class. However, one small swipe and it goes forever, can I slow it down, or add friction to my gallery object easily? thanks - sorry if this is on here twice, i'm having trouble verifying that my posts are working. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] clipping in ViewGroup
I have a ViewGroup with three children which are Views containing bitmaps. Two of the children are to the left and right (off screen) and one child is in the middle of the screen and visible. It is like a gallery, but my own flavor. When the user is dragging left or right, the ViewGroup tells each of the children, scrollBy( x, 0 ). This seems to work great for scrolling left to right. However, when going right to left, the left side of the bmp gets clipped. I have added the following code in View group, after the children have been added, but to no effect. Can anyone help? setClipChildren(false); setClipToPadding(false); thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] does linear interpolator work?
I am creating a Translate Animation, and explicitly setting the Interpolator to LinearInterpolator (which is also the default), but it doesn't seem to be truly linear. It still accelerates and decelerates. Am I missing something? I am in Android 1.5. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] simple apk builder example
There doesn't seem to be much documentation on the apkbuilder. There is, of course the command line help, but so far I'm not exactly sure how to do my task. I don't have a lot of experience building in ant or anything. I basically want to take an apk that I've made from eclipse, unzip it, swap out a resource (without changing the name of that resource), then create a new apk (same name as the first one), which will be basically the same app, just with a different looking resource. Can I do this with apk builder? What would the command line be? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] modify asset such as a .png
Wondering if my app can modify an asset, such as myimage.png, that is in the res/drawable folder of my app? Say I want to change the color. So, perhaps I would get the bitmap, make a copy, make it mutable, modify the pixels, then save over it? Or can I just alter it directly? If so, how would one do that? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Can a core class access resources at the app layer?
Thanks, Dianne. I tested your suggestion with two apps, where one app gets resources from another app, and it worked. Doing it at the framework layer is more difficult, but it may be more of a build problem. I made a change to frameworks/base/core/java/android/widget/ AbsListView.java did a mmm frameworks/base, and then make snod. I don't *think* I saw my change reflected, but maybe you could tell me if make snod should work, or if i need to do a full make. But as another approach, I also wanted to ask this: In the file list_selector_background.xml located at frameworks/base/core/res/res/ drawable/, can I change the line: item android:state_focused=true android:drawable=@drawable/list_selector_background_focus / to something that points to my resource, such as: item android:state_focused=true android:drawable=@drawable/ com.mycompany.myapp.my_list_selector_background_focus / Is there a way to do this? thanks for your help. On Sep 22, 6:47 pm, Dianne Hackborn hack...@android.com wrote: This happens for every application that is loaded -- the resources are a combination of the framework and application resources, and all of the framework can freely access the application resources. This is generally accomplished by using a custom theme that references the app resources where desired. If you mean you want to install an app and have the framework magically load the app's resources and use something from it for all other apps, well of course you have the code and can do what you want. It's certainly not atypical to load one app's resources into another app -- for example this is how home and other such things show icons or labels associated with other applications. Context.createPackageContext() or the PackageManager API to get a package's resources are the typical mechanism for this. On Tue, Sep 22, 2009 at 5:59 PM, Andy Droid andydroi...@gmail.com wrote: Can a core class such as AbsListView access resources, such as xml files, and .png's, in a 3rd party app installed in the normal way (at the app level)? I realize this is a change in framework code, and that is fine for my purposes. So, for example, if I know that I am going to install an app called MyApp, could I go into frameworks/base/core/java/android/ widget/AbsListView.java and tell it to use an xml file and .png's that live in that app? Here is the line I would want to modify: setSelector(getResources().getDrawable( com.android.internal.R.drawable.list_selector_background)); thanks -- 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 -~--~~~~--~~--~--~---
[android-developers] Re: Can a core class access resources at the app layer?
Whoops I thought this was android-platform, my bad. Anyway, yes I will move it to android-porting. On Sep 24, 4:48 pm, Dianne Hackborn hack...@android.com wrote: Hi, let's move this discussion to android-porting, this is well outside the scope of programming with the SDK. (But no, you can't do that.) On Thu, Sep 24, 2009 at 4:39 PM, Andy Droid andydroi...@gmail.com wrote: Thanks, Dianne. I tested your suggestion with two apps, where one app gets resources from another app, and it worked. Doing it at the framework layer is more difficult, but it may be more of a build problem. I made a change to frameworks/base/core/java/android/widget/ AbsListView.java did a mmm frameworks/base, and then make snod. I don't *think* I saw my change reflected, but maybe you could tell me if make snod should work, or if i need to do a full make. But as another approach, I also wanted to ask this: In the file list_selector_background.xml located at frameworks/base/core/res/res/ drawable/, can I change the line: item android:state_focused=true android:drawable=@drawable/list_selector_background_focus / to something that points to my resource, such as: item android:state_focused=true android:drawable=@drawable/ com.mycompany.myapp.my_list_selector_background_focus / Is there a way to do this? thanks for your help. On Sep 22, 6:47 pm, Dianne Hackborn hack...@android.com wrote: This happens for every application that is loaded -- the resources are a combination of the framework and application resources, and all of the framework can freely access the application resources. This is generally accomplished by using a custom theme that references the app resources where desired. If you mean you want to install an app and have the framework magically load the app's resources and use something from it for all other apps, well of course you have the code and can do what you want. It's certainly not atypical to load one app's resources into another app -- for example this is how home and other such things show icons or labels associated with other applications. Context.createPackageContext() or the PackageManager API to get a package's resources are the typical mechanism for this. On Tue, Sep 22, 2009 at 5:59 PM, Andy Droid andydroi...@gmail.com wrote: Can a core class such as AbsListView access resources, such as xml files, and .png's, in a 3rd party app installed in the normal way (at the app level)? I realize this is a change in framework code, and that is fine for my purposes. So, for example, if I know that I am going to install an app called MyApp, could I go into frameworks/base/core/java/android/ widget/AbsListView.java and tell it to use an xml file and .png's that live in that app? Here is the line I would want to modify: setSelector(getResources().getDrawable( com.android.internal.R.drawable.list_selector_background)); thanks -- 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. -- 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 -~--~~~~--~~--~--~---
[android-developers] View pops to the left, at the end of animation
I have a ViewGroup, which has three children, a TextView in the middle of the screen, a TextView off-screen-right, and a TextView off-screen- left. The user can swipe left or right, to bring either of those off- screen TextViews to the on-screen position. The ViewGroup then takes care of disposing of, and repopulating the off screen views. So you can do this infinitely. Everything works great, except that when I animate a text view to slide to the on-screen position from off-screen-right, it pops about 100 pixels to the left and back, at the end of the animation. So it ends up at the correct place, it just does this weird pop, at the end. This does NOT happen however, when animating from off-screen- left. If I'm following the debugger correctly, the offending re-draw happens in the function performTraversals(), in the class ViewRoot. Any ideas? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: what services are available at the API level?
That's a good point. In addition to what I mentioned, I guess I'm really interested in ALL the API's, regardless of how they are implemented. Are all API's documented in one place? thanks On Sep 4, 2:53 pm, Dianne Hackborn hack...@android.com wrote: The fact that it has Service in its name is kind-of irrelevant. There are a bunch of APIs you can use, which may or may not talk with a system-side service for their implementation. If you are just looking for interested related stuff to the classes you listed you an look at what Context.getSystemService() can return. On Fri, Sep 4, 2009 at 12:51 PM, Andy Droid andydroi...@gmail.com wrote: I know about LocationManagerService, AlarmManagerService, and BatteryService, from Android programming books, but is there a published list of all available services? thanks -- 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 -~--~~~~--~~--~--~---
[android-developers] Re: what services are available at the API level?
Yeah, that questions too vague. The link helped, though. On Sep 9, 10:41 am, Mark Murphy mmur...@commonsware.com wrote: Andy Droid wrote: That's a good point. In addition to what I mentioned, I guess I'm really interested in ALL the API's, regardless of how they are implemented. Are all API's documented in one place? http://developer.android.com/reference/packages.html But I suspect you've already been there, so I think I don't understand what you're asking. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] change framework assets with alternate home screen
Could an alternate home screen app replace the assets such as s menu_item_background_pressed.9.png or list_selector_background_focus.9.png, both found in frameworks/base/ core/res/res/drawable in the open source project? I have altered those by changing out the assets and recompiling. But can I make it so the installation of the home screen will open up framework-res.apk, replace the asset, then re-package framework- res.apk? I realize this would then have broad ramifications, but just wondering if it could be done. thanks. Also wondering if a alt home screen app, can replace icons of core apps, such as Contacts, etc. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: change framework assets with alternate home screen
Thanks for the reply. So once the system.img is flashed to the phone, there is really no way to change the contents of framework-res.apk? Sorry for the redundant question, just verifying. And no way to change out a core app icon, such as Contacts? thanks On Wed, Sep 9, 2009 at 3:58 PM, Romain Guy romain...@google.com wrote: No, it cannot do this. On Wed, Sep 9, 2009 at 3:55 PM, Andy Droidandydroi...@gmail.com wrote: Could an alternate home screen app replace the assets such as s menu_item_background_pressed.9.png or list_selector_background_focus.9.png, both found in frameworks/base/ core/res/res/drawable in the open source project? I have altered those by changing out the assets and recompiling. But can I make it so the installation of the home screen will open up framework-res.apk, replace the asset, then re-package framework- res.apk? I realize this would then have broad ramifications, but just wondering if it could be done. thanks. Also wondering if a alt home screen app, can replace icons of core apps, such as Contacts, etc. thanks -- 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 -~--~~~~--~~--~--~---
[android-developers] what services are available at the API level?
I know about LocationManagerService, AlarmManagerService, and BatteryService, from Android programming books, but is there a published list of all available services? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] dynamically add view to view flipper
Trying to dynamically add a view to a ViewFlipper. I want to extend ViewFlipper so I can modify it. Here is the code. The child does get added, but it doesn't show up. Any ideas? thanks public class DCMFlipper extends ViewFlipper { DCMFlipper(Context context){ super(context); TextView tv = new TextView(context); tv.setLayoutParams(new ViewGroup.LayoutParams (ViewGroup.LayoutParams.WRAP_CONTENT,ViewGroup.LayoutParams.FILL_PARENT)); tv.setTextColor(150); tv.setText(THIS IS A TEST); this.addView(tv); } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] how do I extract an AttributeSet from an xml file
I would like to extend ViewFlipper, so that I can override some of the functions. I borrowed some code from the Flipper Demo in Murphy's Busy Coders book. I made my own class that extends it, but I have to pass in an AttributeSet, when I instantiate it. How do I get that from my xml? Here is the original code: flipper=(ViewFlipper)findViewById(R.id.details); Here is my new code: AttributeSet myAttributeSet = ??; myExtendedViewFlipper flipper = new myExtendedViewFlipper ( this, myAttributeSet); thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] which content providers to apps have access to?
What content providers in the cupcake android build do apps have access to? According to this: http://developer.android.com/guide/topics/providers/content-providers.html You can see some of them listed in the android.provider package... which is listed here: http://developer.android.com/reference/android/provider/package-summary.html So, that's some of them. Are there more? Is there a way I can just see them all, perhaps by running the emulator and looking at the ddms view? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] problem animating a view object
Attempting a fairly simple animation of a View. I'm trying to display a panel, and then just animate it if the user touches the screen. Code for my simplified test is below. The function animateMe() definitely gets called, but nothing happens. Any help greatly appreciated, thanks. MAIN FILE: public class MovePanelsPCT2 extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // setContentView(R.layout.main); setContentView(new DrawView(this)); } } DRAW VIEW CLASS: public class DrawView extends View { private Panel myPanel; Point point0 = new Point(); public DrawView(Context context) { super(context); setFocusable(true); //necessary for getting the touch events myContext = context; point0.x = 20; point0.y = 0; myPanel = new Panel(context,R.drawable.green_panel, point0); } @Override protected void onDraw(Canvas canvas) { canvas.drawBitmap(myPanel.getBitmap(), myPanel.getX(), myPanel.getY() , null); } public boolean onTouchEvent(MotionEvent event) { myPanel.animateMe(); invalidate(); return true; } } PANEL CLASS: public class Panel extends View { private Bitmap img; // the image of the panel private int coordX = 0; // the x coordinate at the canvas private int coordY = 0; // the y coordinate at the canvas private TranslateAnimation anim = null; public Panel(Context context, int drawable, Point point) { super(context); BitmapFactory.Options opts = new BitmapFactory.Options(); opts.inJustDecodeBounds = true; img = BitmapFactory.decodeResource(context.getResources(), drawable); coordX = point.x; coordY = point.y; } public void animateMe (){ anim=new TranslateAnimation(0.0f, 0.0f, 100.f, 200.f); anim.setDuration(1000); startAnimation(anim); } public int getX() { return coordX; } public int getY() { return coordY; } public Bitmap getBitmap() { return img; } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] problem animating a view object
Attempting a fairly simple animation of a View. I'm trying to display a panel, and then just animate it if the user touches the screen. Code for my simplified test is below. The function animateMe() definitely gets called, but nothing happens. Any help greatly appreciated, thanks. MAIN FILE: public class MovePanelsPCT2 extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // setContentView(R.layout.main); setContentView(new DrawView(this)); } } DRAW VIEW CLASS: public class DrawView extends View { private Panel myPanel; Point point0 = new Point(); public DrawView(Context context) { super(context); setFocusable(true); //necessary for getting the touch events point0.x = 20; point0.y = 0; myPanel = new Panel(context,R.drawable.green_panel, point0); } @Override protected void onDraw(Canvas canvas) { canvas.drawBitmap(myPanel.getBitmap(), myPanel.getX(), myPanel.getY() , null); } public boolean onTouchEvent(MotionEvent event) { myPanel.animateMe(); invalidate(); return true; } } PANEL CLASS: public class Panel extends View { private Bitmap img; // the image of the panel private int coordX = 0; // the x coordinate at the canvas private int coordY = 0; // the y coordinate at the canvas private RotateAnimation anim2 = null; public Panel(Context context, int drawable, Point point) { super(context); BitmapFactory.Options opts = new BitmapFactory.Options(); opts.inJustDecodeBounds = true; img = BitmapFactory.decodeResource(context.getResources(), drawable); coordX = point.x; coordY = point.y; } public void animateMe (){ anim2=new RotateAnimation(0.0f, 90.0f); anim2.setDuration(1000); anim2.setInterpolator(new AccelerateInterpolator(1.0f)); startAnimation(anim2); } public int getX() { return coordX; } public int getY() { return coordY; } public Bitmap getBitmap() { return img; } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] problem animating view objects
Having trouble animating some view objects. My main activity creates a DrawView class, which extends View. The DrawView class creates three ColorBalls, each of which which extend View. The onDraw function in DrawView calls drawBitmap on each of the ColorBalls. This seems to be required, if I don't do this, they don't show up. (I re-purposed some code I found). The ColorBalls keep track of their own x,y position, so that DrawView knows where to draw them. DrawView can of course, reposition them, by simply resetting their x, y pos. Then, of course, they jump to the next place. So far, so good. But now I want to animate the balls using TranslateAnimation. But when I try, nothing happens. I think that the onDraw in DrawView is fighting with the Translate Animation, keeping it from doing anything. I think, anyway. But if I don't call the draw bitmap in onDraw, nothing gets drawn ever. So how can I make the ColorBalls draw every frame, but also animate? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] simple twitter query
Just trying to search for a user's latest public twitter post. I have not worked with http in java before, so I don't know how it all comes together with http gets and requests, and such. I just want to get the latest post from a user (say Fred1000), in the form of a json object. If there is a callback ( i assume it is asynchronous) if you could include that, as well as any imports, that would be great. I'd prefer not to use a library like jtwitter at this point, as I want to really see what's going on. thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: simple twitter query
From the twitter search API documentation, this will grab a bunch of tweets from user al3x: http://search.twitter.com/search.atom?q=from%3Aal3x and this will find tweets with the word twitter in them, in json format, using a callback called foo. http://search.twitter.com/search.json?callback=fooq=twitter again, just not sure how to put this into java, thanks. On Wed, Jul 29, 2009 at 6:40 PM, Andy Droid andydroi...@gmail.com wrote: Just trying to search for a user's latest public twitter post. I have not worked with http in java before, so I don't know how it all comes together with http gets and requests, and such. I just want to get the latest post from a user (say Fred1000), in the form of a json object. If there is a callback ( i assume it is asynchronous) if you could include that, as well as any imports, that would be great. I'd prefer not to use a library like jtwitter at this point, as I want to really see what's going on. thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] simple twitter query
Just trying to search for a user's latest public twitter post. I have not worked with http in java before, so I don't know how it all comes together with http gets and requests, and such. I just want to get the latest post from a user (say Fred1000), in the form of a json object. If there is a callback ( i assume it is asynchronous) if you could include that, as well as any imports, that would be great. I'd prefer not to use a library like jtwitter at this point, as I want to really see what's going on. thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How does app change icon of core apps?
Some of those Home apps such as Better Home, change the graphics for some of the core apps, such as contacts? How do they do that? Are they opening up the apk, and replacing resources, and then zipping it back up again? You can always go back to the original Home though, so I don't get how that works. 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 -~--~~~~--~~--~--~---