[android-developers] Changing System date - Android Emulator
Hi Team, For testing my android application, I need to change the date on the Android Emulator to a future date. But every time I change the date ... the emulator resets it back to the current date. I go to menu -> settings -> day and time to make the Date change. I know there is a "adb shell date", which you can use to change the date. But I had no luck with that too. Any help from the team is really appreciated. Thanks, Vikram --~--~-~--~~~---~--~~ 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 Cursor Adapter - List View
I have table with 3 columns which is binded to an XML document with three text views. String[] from = new String[]{A,B,C}; int [] to = new int[] {R.id.a,R.id.b,R.id.c}; Where R.id.a, R.id.b, R.id.c -> TextView Depending on the value store in the third column, I want to change the text color in R.id.c How should, I go about with this. This is what I have so far : SimpleCursorAdapter entry = new SimpleCursorAdapter(this, R.layout.addrow, vCursor , from , to); setListAdapter(entry); If you can provide me an example, that would be really helpful. --~--~-~--~~~---~--~~ 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] Error with Linear Layout
Hi Everyone, Eclipse doesn't seem to like the constant VERTICAL in the LinearLayout. Can you tell me what the problem might be. Here is a snippet of the code I have. I am using the latest Android SDK. Thanks, Vikram import android.widget.LinearLayout; public class HelloViews extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LinearLayout ll = new LinearLayout(this); ll.setOrientation(VERTICAL); //setContentView(R.layout.main); } --~--~-~--~~~---~--~~ 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: MediaPlayer example: Has anyone been able to stream an .mp4 file yet?
I am having the same issue...let me know if you figure out a solution... Vikram On Apr 4, 1:46 am, acopernicus <[EMAIL PROTECTED]> wrote: > Please feel free to test your working code against my .mp4 file if > your code works. It's possible there's something wrong with my .mp4 > file, but I doubt it. > > Thanks...again! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] MediaPlayer Issue - youTube
Hi, When I try to launch a youTube link from within the browser I get an error " Network Error: Unsupported Protocol" What I want to be able to do is launch a youTube link, preferably from within Android Media Player or browser. I wanted to know: 1. If this can be done? 2. If yes, I would really appreciate if some one could provide a sample code. Thanks, Vikram --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---