[android-beginners] OnCompletion video notification on MediaController and VideView usage?
All, I am playing my video file from sdcard using the following code. private VideoView myVideo; private MediaController mc; myVideo=(VideoView)findViewById(R.id.VideoView01); myVideo.setVideoPath(filename); mc=new MediaController(this); mc.setMediaPlayer(myVideo); myVideo.setMediaController(mc); myVideo.requestFocus(); myVideo.start(); It works fine. I would like to restart the video on completion of the video.. I saw that there is a function called 'void onCompletion(MediaPlayer mp)', but that is only if i use MediaPlayer, not for the MediaController and VideoView combination of playing video. But i want to get notified when the completion of my video play, so that i can restart my video again. Basically i want to continuously play my video. Could some one please suggest how do i approach it to achieve this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: hi
The gps does not need internet connection to work. You can use MyTracks app for example without being charged for the bandwidth. Often GPS based apps use a map to represent the place you are at, and of course this will require a connection to download this data. On Oct 16, 12:07 pm, tinyang tiny...@earthlink.net wrote: Try wifi connection if data connection is not available. -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of mehdi Sent: Wednesday, October 14, 2009 5:46 PM To: Android Beginners Subject: [android-beginners] hi hello i'm in iran , how can i use gps on my phone(hero) without internet? please help me. No virus found in this incoming message. Checked by AVG -http://www.avg.com Version: 8.0.169 / Virus Database: 270.13.71/2332 - Release Date: 10/15/2009 8:39 PM --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] debugger not bound
Hi I face the problem that my Debugger does not work, I receive the following messages when Emulator boots, 1. At Start up of Emulator this message I receive. [2009-10-17 03:18:39 - ddms]Failed to reopen debug port for Selected Client to: 8700 [2009-10-17 03:18:39 - ddms]Address family not supported by protocol family: bind java.net.SocketException: Address family not supported by protocol family: bind at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown Source) at com.android.ddmlib.MonitorThread.run(Unknown Source) 2. When I build any project, following message receives several times: [2009-10-17 03:25:46 - ddms]Can't bind to local 18600 for debugger [2009-10-17 03:26:04 - ddms]Can't bind to local 18601 for debugger [2009-10-17 03:26:05 - ddms]Can't bind to local 18602 for debugger [2009-10-17 03:26:19 - ddms]Can't bind to local 18603 for debugger Thanks / Regards Abbas Naqvi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Intent is not properly returned through onActivityResult
Hello I have been having this difficulty too. An intent started with startActivityForResult() exiting through this code...does not return its load of Extra data. String s = persistWidgetData(); Intent i = new Intent(); i.putExtra(returnValue, s); i.putExtra(TestIntReturn,3142); Log.e(SettingsDialog, String.format(in okButtonCallback = %s ,s)); setResult(RESULT_OK); finish(); However the following code in another java file in the same program does in fact work... Intent iwpa = new Intent(); iwpa.putExtra(returnValue, Constants.CANCEL); setResult(79, iwpa); WoundPicturesAudio.this.finish(); // back to the menu Share your experiences!!! On Oct 16, 8:22 am, mellamanjefe mellamanj...@gmail.com wrote: I have 2 activities which I need to share data between. The data passes from the first (parent) activity to the child properly using the intent and unpacking the bundle in the child class. However when the child activity ends and onActivityResult() is called in the parent the returned intent is null. Here is a snippet of the code involved: // In parent class Parent.java /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); configureButtonFunctionality(); } private void configureButtonFunctionality() { Button b = (Button) findViewById(R.id.UpdateVelocityButton); b.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub launchAviationActivity(Activities.Velocity.ordinal()); } }); } private Intent setIntentDataForActivities(int activity) { currentVelocity = 123.0; // privately defined class member. Intent i = new Intent(this, Child.class); i.putExtra(Velocity, currentVelocity); return(i); } private void launchChildActivity(int a) { startActivityForResult(setIntentDataForActivities(a), a); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { /// Here is where the intent returns from the Child class but is null... / super.onActivityResult(requestCode, resultCode, intent); if(requestCode == Activities.Velocity.ordinal()) { currentVelocity = intent.getDoubleExtra(Velocity, 0.0); } } // In child class Child.java protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent i = this.getIntent(); Bundle b = i.getExtras(); currentVelocity = b.getDouble(Velocity); // value is passed and received properly here. ... } private void closeActivity() { clearFields(); //Intent i = new Intent(); // Building the intent with either constructor does not make a difference in behavior Intent i = new Intent(this, Parent.class); i.putExtra(Velocity, currentVelocity); setResult(RESULT_OK, i); finish(); } I am new with Android and have ran out of explanations for this. Any assistance will be appreciated :). Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Why do I need requery() when I already have notifyDataSetChanged()
jax wrote: I had an adapter that was no updating properly when I called myAdapter.notifyDataSetChanged() This causes much headache an finally I tried cursor.requery(); //This is the cursor on which myAdapter is connected to myAdapter.notifyDataSetChanged(); My Question is - Why do I need to run requery()? I thought that notifyDataSetChanged() would automatically update the cursor for us! notifyDataSetChanged() tells those monitoring the adapter that the adapter changed. If you manually call that yourself, you must manually update the adapter first. In the case of a CursorAdapter, simply calling requery() on the Cursor will automatically trigger notifyDataSetChanged() on the CursorAdapter, so you do not need your second statement. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android Charts
try http://rapidandroid.org/wiki/Graphing Please report on how you get on with it. I'll need it soon! John On Oct 16, 5:09 am, Vinicius Carvalho viniciusccarva...@gmail.com wrote: Hello there! I'm starting with android, and the app I'm developing is gonna need some charts. I've looked and did not find any chart API (there's java4less but its too poor to worth anything). First I thought I could use jfreechart, but it is entirely based on java.awt.image and that is not supported by android. Is there a chart api out there? or should I code the charts by hand (man I'm doomed) Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Why do I need requery() when I already have notifyDataSetChanged()
ok thanks On Oct 17, 6:58 pm, Mark Murphy mmur...@commonsware.com wrote: jax wrote: I had an adapter that was no updating properly when I called myAdapter.notifyDataSetChanged() This causes much headache an finally I tried cursor.requery(); //This is the cursor on which myAdapter is connected to myAdapter.notifyDataSetChanged(); My Question is - Why do I need to run requery()? I thought that notifyDataSetChanged() would automatically update the cursor for us! notifyDataSetChanged() tells those monitoring the adapter that the adapter changed. If you manually call that yourself, you must manually update the adapter first. In the case of a CursorAdapter, simply calling requery() on the Cursor will automatically trigger notifyDataSetChanged() on the CursorAdapter, so you do not need your second statement. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010:http://bignerdranch.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] SDCard explore on the device?
Hi, I installed my application(.apk) onto SDCard in my Android G-1 HTC 1.5 version device through Eclipse. But in the device where i can see it? I don't see any SDCard explorer on the device. Anyone knows it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: SDCard explore on the device?
Prabakar wrote: I installed my application(.apk) onto SDCard in my Android G-1 HTC 1.5 version device through Eclipse. You cannot install your APK onto the SD card of an unmodified G1. You can copy your APK onto the SDK card, or you can install the APK onto the device. But in the device where i can see it? If you installed it, your icon will appear in the Launcher, if you have an activity set up with the appropriate intent filter (projects have that by default). If you copied it to the SD card, you will need to download some file manager program from the Android Market or someplace to browse the SD card. -- 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 Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Make VideoView into Center?
All, Does anyone know how to make VideoView into center of the device? Is there any chance to do that programmatic ally (or) any other way? I am playing a video file on VideoView. It is showing the video on a bit top postion, instead of as usual in center of the device. When i play the same video from device, it is playing from center of the device. May i get some one's help on this? Appreciate your help on this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Make VideoView into Center?
I RESOLVED IT BY ADDING BELOW LINE IN main.xml file. android:layout_gravity=center thanks. --- On Sat, 10/17/09, Clave Yard calvetobediffic...@yahoo.com wrote: From: Clave Yard calvetobediffic...@yahoo.com Subject: [android-beginners] Make VideoView into Center? To: android-beginners@googlegroups.com Date: Saturday, October 17, 2009, 3:27 PM All, Does anyone know how to make VideoView into center of the device? Is there any chance to do that programmatic ally (or) any other way? I am playing a video file on VideoView. It is showing the video on a bit top postion, instead of as usual in center of the device. When i play the same video from device, it is playing from center of the device. May i get some one's help on this? Appreciate your help on this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Intent is not properly returned through onActivityResult
In your case you are not calling the correct form of setResult. You need to call setResult(retcode, intent) as in your example at the bottom. On Oct 17, 7:53 am, jbrohan jbro...@gmail.com wrote: Hello I have been having this difficulty too. An intent started with startActivityForResult() exiting through this code...does not return its load of Extra data. String s = persistWidgetData(); Intent i = new Intent(); i.putExtra(returnValue, s); i.putExtra(TestIntReturn,3142); Log.e(SettingsDialog, String.format(in okButtonCallback = %s ,s)); setResult(RESULT_OK); finish(); However the following code in another java file in the same program does in fact work... Intent iwpa = new Intent(); iwpa.putExtra(returnValue, Constants.CANCEL); setResult(79, iwpa); WoundPicturesAudio.this.finish(); // back to the menu Share your experiences!!! On Oct 16, 8:22 am, mellamanjefe mellamanj...@gmail.com wrote: I have 2 activities which I need to share data between. The data passes from the first (parent) activity to the child properly using the intent and unpacking the bundle in the child class. However when the child activity ends and onActivityResult() is called in the parent the returned intent is null. Here is a snippet of the code involved: // In parent class Parent.java /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); configureButtonFunctionality(); } private void configureButtonFunctionality() { Button b = (Button) findViewById(R.id.UpdateVelocityButton); b.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub launchAviationActivity(Activities.Velocity.ordinal()); } }); } private Intent setIntentDataForActivities(int activity) { currentVelocity = 123.0; // privately defined class member. Intent i = new Intent(this, Child.class); i.putExtra(Velocity, currentVelocity); return(i); } private void launchChildActivity(int a) { startActivityForResult(setIntentDataForActivities(a), a); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { /// Here is where the intent returns from the Child class but is null... / super.onActivityResult(requestCode, resultCode, intent); if(requestCode == Activities.Velocity.ordinal()) { currentVelocity = intent.getDoubleExtra(Velocity, 0.0); } } // In child class Child.java protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent i = this.getIntent(); Bundle b = i.getExtras(); currentVelocity = b.getDouble(Velocity); // value is passed and received properly here. ... } private void closeActivity() { clearFields(); //Intent i = new Intent(); // Building the intent with either constructor does not make a difference in behavior Intent i = new Intent(this, Parent.class); i.putExtra(Velocity, currentVelocity); setResult(RESULT_OK, i); finish(); } I am new with Android and have ran out of explanations for this. Any assistance will be appreciated :). Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Intent is not properly returned through onActivityResult
Sorry, I should have noted that closeActivity() is called from the overriden onPause() method. On Oct 16, 3:09 pm, Justin Anderson janderson@gmail.com wrote: It doesn't appear that closeActivity() is ever being called -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Fri, Oct 16, 2009 at 9:22 AM, mellamanjefe mellamanj...@gmail.comwrote: I have 2 activities which I need to share data between. The data passes from the first (parent) activity to the child properly using the intent and unpacking the bundle in the child class. However when the child activity ends and onActivityResult() is called in the parent the returned intent is null. Here is a snippet of the code involved: // In parent class Parent.java /** Called when the activity is first created. */ �...@override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); configureButtonFunctionality(); } private void configureButtonFunctionality() { Button b = (Button) findViewById(R.id.UpdateVelocityButton); b.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub launchAviationActivity(Activities.Velocity.ordinal()); } }); } private Intent setIntentDataForActivities(int activity) { currentVelocity = 123.0; // privately defined class member. Intent i = new Intent(this, Child.class); i.putExtra(Velocity, currentVelocity); return(i); } private void launchChildActivity(int a) { startActivityForResult(setIntentDataForActivities(a), a); } �...@override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { /// Here is where the intent returns from the Child class but is null... / super.onActivityResult(requestCode, resultCode, intent); if(requestCode == Activities.Velocity.ordinal()) { currentVelocity = intent.getDoubleExtra(Velocity, 0.0); } } // In child class Child.java protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent i = this.getIntent(); Bundle b = i.getExtras(); currentVelocity = b.getDouble(Velocity); // value is passed and received properly here. ... } private void closeActivity() { clearFields(); //Intent i = new Intent(); // Building the intent with either constructor does not make a difference in behavior Intent i = new Intent(this, Parent.class); i.putExtra(Velocity, currentVelocity); setResult(RESULT_OK, i); finish(); } I am new with Android and have ran out of explanations for this. Any assistance will be appreciated :). Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: (Case 2338) [Contact us] Tmobile g1 android 1.6 robot
Hi Johan, I am so grateful for your help. I can't put into words how important this is for me to get working. I am making a robot man! Anyway here is the logcat output of me starting bambuser, I then separate the output of when it asked to force close which I then did: I/ActivityManager( 107): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.bambuser.broadcaster/.BambuserStarter } I/ActivityManager( 107): Start proc com.bambuser.broadcaster for activity com.bambuser.broadcaster/.BambuserStarter: pid=333 uid=10039 gids={1006, 3003, 1015} D/dalvikvm( 107): GC(1) freed 7676 objects / 372936 bytes in 194ms I/WindowManager( 107): Setting rotation to 1, animFlags=0 I/WindowManager( 107): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3 orien=2 layout=18} W/ActivityManager( 107): Failed setting process group of 199 to 1 W/System.err( 107): java.lang.SecurityException: No permission to modify given thread W/System.err( 107): at android.os.Process.setProcessGroup(Native Method) W/System.err( 107): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12758) W/System.err( 107): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12834) W/System.err( 107): at com.android.server.am.ActivityManagerService.removeContentProvider(ActivityManagerService.java:7514) W/System.err( 107): at android.app.ActivityThread.removeProviderLocked(ActivityThread.java:4032) W/System.err( 107): at android.app.ActivityThread.releaseProvider(ActivityThread.java:3997) W/System.err( 107): at android.app.ApplicationContext$ApplicationContentResolver.releaseProvider(ApplicationContext.java:1520) W/System.err( 107): at android.content.ContentResolver$CursorWrapperInner.finalize(ContentResolver.java:755) W/System.err( 107): at dalvik.system.NativeStart.run(Native Method) W/ActivityManager( 107): Failed setting process group of 166 to 1 W/System.err( 107): java.lang.SecurityException: No permission to modify given thread W/System.err( 107): at android.os.Process.setProcessGroup(Native Method) W/System.err( 107): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12758) W/System.err( 107): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12834) W/System.err( 107): at com.android.server.am.ActivityManagerService.removeContentProvider(ActivityManagerService.java:7514) W/System.err( 107): at android.app.ActivityThread.removeProviderLocked(ActivityThread.java:4032) W/System.err( 107): at android.app.ActivityThread.releaseProvider(ActivityThread.java:3997) W/System.err( 107): at android.app.ApplicationContext$ApplicationContentResolver.releaseProvider(ApplicationContext.java:1520) W/System.err( 107): at android.content.ContentResolver$CursorWrapperInner.finalize(ContentResolver.java:755) W/System.err( 107): at dalvik.system.NativeStart.run(Native Method) D/dalvikvm( 333): GC(2) freed 971 objects / 83312 bytes in 185ms D/StatusBar( 107): updateResources W/Resources( 333): Converting to string: TypedValue{t=0x10/d=0x1bb a=-1} W/Resources( 333): Converting to string: TypedValue{t=0x10/d=0x1bb a=-1} D/dalvikvm( 333): Trying to load lib /data/data/com.bambuser.broadcaster/lib/libbambuser.so 0x438cf788 D/dalvikvm( 333): Added shared lib /data/data/com.bambuser.broadcaster/lib/libbambuser.so 0x438cf788 D/dalvikvm( 333): No JNI_OnLoad found in /data/data/com.bambuser.broadcaster/lib/libbambuser.so 0x438cf788 D/dalvikvm( 333): +++ not scanning '/system/lib/libwebcore.so' for 'init' (wrong CL) D/dalvikvm( 333): +++ not scanning '/system/lib/libexif.so' for 'init' (wrong CL) W/Resources( 333): Converting to string: TypedValue{t=0x10/d=0x1bb a=-1} D/LocationManager( 333): Constructor: service = android.location.ilocationmanager$stub$pr...@43921af0 D/dalvikvm( 333): +++ not scanning '/system/lib/libwebcore.so' for 'init' (wrong CL) D/dalvikvm( 333): +++ not scanning '/system/lib/libexif.so' for 'init' (wrong CL) W/InputManagerService( 107): Starting input on non-focused client com.android.internal.view.iinputmethodclient$stub$pr...@438d0118 (uid=10039 pid=333) W/InputManagerService( 107): Client not active, ignoring focus gain of: com.android.internal.view.iinputmethodclient$stub$pr...@4388c350 D/dalvikvm( 333): Trying to load lib /data/data/com.bambuser.broadcaster/lib/libcameramod-cupcake.so 0x438cf788 I/dalvikvm( 333): Unable to dlopen(/data/data/com.bambuser.broadcaster/lib/libcameramod-cupcake.so): Cannot load library: reloc_library[1172]:88 cannot locate '_ZN7android6Camera14setRawCallbackEPFvRKNS_2spINS_7IMemoryEEEPvES6_'... D/dalvikvm( 333): Trying to load lib /data/data/com.bambuser.broadcaster/lib/libcameramod-donut.so 0x438cf788 D/dalvikvm( 333): Added shared lib /data/data/com.bambuser.broadcaster/lib/libcameramod-donut.so 0x438cf788
[android-beginners] Re: seriously, how can I unsubscribe?
On another thread I saw, it looked like the correct email address to use to unsubscribe is actually android-beginners +unsubscr...@googlegroups.com On Oct 14, 4:26 pm, John Zebrowski zebrow...@comcast.net wrote: How do you unsubscribe if you are not subscribed with a gmail account? On Oct 14, 2009, at 1:05 PM, Mark Murphy wrote: David Meyer wrote: android-beginners-unsubscr...@googlegroups.com mailto:android-beginners-unsubscr...@googlegroups.com bounces and the list owners aren't responding. From every email's sig: For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en There, you can unsubscribe, change your email preferences (e.g., digest vs. individual messages, etc.). -- Mark Murphy (a Commons Guy) http://commonsware.com|http://twitter.com/commonsguy Need Android talent? Ask on HADO!http://wiki.andmob.org/hado --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] UI Related questions.
All, 1.) I have a Dialog showing on my application. Right now it is showing in the center of the device. But i want to see that dialog in Top of layout. How to move it? 2.) How to add an image in a Dialog box? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Unlock Motorola Cliq and use with ATT?
I'd be happy to be able to unlock Motorola Cliq and to use with ATT. Any experience with that? (It was easy enough http://pro-thoughts.blogspot.com/2009/09/how-to-upgrade-android-devphone-1-to.html to set up Android Dev Phone 1 (HTC) to work in ATT, except that Internet is a bit slow, because ATT uses non-compatible frequency...) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: UI Related questions.
My question seems to be not reached forum yet? --- On Sat, 10/17/09, Clave Yard calvetobediffic...@yahoo.com wrote: From: Clave Yard calvetobediffic...@yahoo.com Subject: UI Related questions. To: android-beginners@googlegroups.com Date: Saturday, October 17, 2009, 9:08 PM All, 1.) I have a Dialog showing on my application. Right now it is showing in the center of the device. But i want to see that dialog in Top of layout. How to move it? 2.) How to add an image in a Dialog box? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] send SMS, RESULT_ERROR_GENERIC_FAILURE
i am trying to send an SMS. followed the example, but no message was sent. i then added the receivers to try to find out what's going on. every time, the "sent" receiver gets the result code RESULT_ERROR_GENERIC_FAILURE. any ideas how to debug this? thanks. --
[android-beginners] Re: UI Related questions.
I added an image in background of Button. I want to move this button into right corner of Pop up Dialog. How to do that? And also i want to know how to move the entire Pop up Dialog itself into Top of the Layout screen? As i'm new to this development, please some one suggest me how do i achieve this? thanks. --- On Sat, 10/17/09, Clave Yard calvetobediffic...@yahoo.com wrote: From: Clave Yard calvetobediffic...@yahoo.com Subject: [android-beginners] Re: UI Related questions. To: android-beginners@googlegroups.com Date: Saturday, October 17, 2009, 9:31 PM My question seems to be not reached forum yet? --- On Sat, 10/17/09, Clave Yard calvetobediffic...@yahoo.com wrote: From: Clave Yard calvetobediffic...@yahoo.com Subject: UI Related questions. To: android-beginners@googlegroups.com Date: Saturday, October 17, 2009, 9:08 PM All, 1.) I have a Dialog showing on my application. Right now it is showing in the center of the device. But i want to see that dialog in Top of layout. How to move it? 2.) How to add an image in a Dialog box? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: send SMS, RESULT_ERROR_GENERIC_FAILURE
got it. i was trying to be smart and set the "source address" to my phone number. note to self: read docs first next time. On 10/17/09 3:16 PM, Jeffrey Blattman wrote: i am trying to send an SMS. followed the example, but no message was sent. i then added the receivers to try to find out what's going on. every time, the "sent" receiver gets the result code RESULT_ERROR_GENERIC_FAILURE. any ideas how to debug this? thanks. -- --
[android-beginners] Re: send SMS, RESULT_ERROR_GENERIC_FAILURE
Jeffrey Blattman wrote: got it. i was trying to be smart and set the source address to my phone number. note to self: read docs first next time. On 10/17/09 3:16 PM, Jeffrey Blattman wrote: i am trying to send an SMS. followed the example, but no message was sent. i then added the receivers to try to find out what's going on. every time, the sent receiver gets the result code RESULT_ERROR_GENERIC_FAILURE. any ideas how to debug this? Out of curiosity, did LogCat show any log messages here with more details of your problem? RESULT_ERROR_GENERIC_FAILURE is a fairly, um, generic failure, so I would hope the SMS system would provide more error info at least as log errors or warnings or something. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: send SMS, RESULT_ERROR_GENERIC_FAILURE
hi mark, no, there was nothing at all until i added the receivers ... and then, only the result code. On 10/17/09 3:59 PM, Mark Murphy wrote: Jeffrey Blattman wrote: got it. i was trying to be smart and set the "source address" to my phone number. note to self: read docs first next time. On 10/17/09 3:16 PM, Jeffrey Blattman wrote: i am trying to send an SMS. followed the example, but no message was sent. i then added the receivers to try to find out what's going on. every time, the "sent" receiver gets the result code RESULT_ERROR_GENERIC_FAILURE. any ideas how to debug this? Out of curiosity, did LogCat show any log messages here with more details of your problem? RESULT_ERROR_GENERIC_FAILURE is a fairly, um, generic failure, so I would hope the SMS system would provide more error info at least as log errors or warnings or something. --
[android-beginners] Re: Unlock Motorola Cliq and use with ATT?
BTW, I found this... may be a scam, what you think? http://cgi.ebay.com/%3D%3DUNLOCK-CODE-FOR-T-MOBILE-MOTOROLA-CLIQ%3D%3D_W0QQitemZ320424082577QQcmdZViewItemQQimsxZ20090914?IMSfp=TL090914166005r4614 On Oct 17, 5:28 pm, Vladimir Kelman vkel...@gmail.com wrote: I'd be happy to be able to unlock Motorola Cliq and to use with ATT. Any experience with that? (It was easy enoughhttp://pro-thoughts.blogspot.com/2009/09/how-to-upgrade-android-devph... to set up Android Dev Phone 1 (HTC) to work in ATT, except that Internet is a bit slow, because ATT uses non-compatible frequency...) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Unlock Motorola Cliq and use with ATT?
that's how unlocking works for many other smartphones ... pay some shady company $5 to $30 and get a code in the mail in 24 hours or less. it's how i unlocked my g1. On 10/17/09 4:15 PM, Vladimir Kelman wrote: BTW, I found this... may be a scam, what you think? http://cgi.ebay.com/%3D%3DUNLOCK-CODE-FOR-T-MOBILE-MOTOROLA-CLIQ%3D%3D_W0QQitemZ320424082577QQcmdZViewItemQQimsxZ20090914?IMSfp=TL090914166005r4614 On Oct 17, 5:28pm, Vladimir Kelman vkel...@gmail.com wrote: I'd be happy to be able to unlock Motorola Cliq and to use with ATT. Any experience with that? (It was easy enoughhttp://pro-thoughts.blogspot.com/2009/09/how-to-upgrade-android-devph... to set up Android Dev Phone 1 (HTC) to work in ATT, except that Internet is a bit slow, because ATT uses non-compatible frequency...) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~--- --
[android-beginners] EditText - how to respond to soft keyboard enter?
I have a very simple screen consisting of an EditText for entering a number, a bunch of TextViews that display results based on the number, and a RadioGroup to select a mode. What I want is the screen to do is recompute the results when the user finishes entering a new number either by pressing the enter key on a real keyboard or the done key on the virtual keyboard. I assume this is pretty standard, but if this is not the best practice I would love to know. I have an onKeyListener set on the EditText to capture the enter key. It works fine with the real keyboard, but it never gets called by the soft keyboard. I also have a problem keeping the focus on the edittext after the enter key is pressed. It jumps to a radio button, which is not desired. I tried executing v.requestFocus() in the listener right before the return true, but it is ignored. Thanks in advance for any help. Bruce --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator crashed on X86_64 Gentoo (SDK 1.6)
On Oct 16, 7:57 pm, Brian Hsu brianhsu@gmail.com wrote: I'm really excited about the Android 1.6 release and its new feature. I installed android-sdk-1.6 on my Gentoo box using the following command. # emerge android-sdk It successfully installed and I could create an AVD named TestAVD using the android command. But when I tried to run emulator with TestAVD, I got a Segmentation fault message and the emulator crashed. Does anyone run android 1.6 emulator successfully on 64bit Linux ? It is running just fine on my Gentoo 64-bit set-up, but I did not use emerge to install the sdk. I simply downloaded it and unpacked it. Same with eclipse 3.5. Both work fine. I assume you have checked that the java sdk is functional. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [SQLite] Where's my database's file????
For example : When i want to create a database, i offen use command like: private static final String DATABASE_CREATE = create table NOTES (_id integer primary key autoincrement, + title text not null, body text not null);; db.execSQL(DATABASE_CREATE); NOW, I want to know the location of database file( NOTES ) that I've created in my computer but not found. Do you know??? Thanksss --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: [SQLite] Where's my database's file????
Check under /data/data/com.android.nameofyourapplication/databases/nameofyourdatabase in the remote shell after running it using the command adb -s nameofyouremulator shell Emre Date: Sat, 17 Oct 2009 21:52:38 -0700 Subject: [android-beginners] [SQLite] Where's my database's file From: thong.dom...@gmail.com To: android-beginners@googlegroups.com For example : When i want to create a database, i offen use command like: private static final String DATABASE_CREATE = create table NOTES (_id integer primary key autoincrement, + title text not null, body text not null);; db.execSQL(DATABASE_CREATE); NOW, I want to know the location of database file( NOTES ) that I've created in my computer but not found. Do you know??? Thanksss _ New! Get to Messenger faster: Sign-in here now! http://go.microsoft.com/?linkid=9677407 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---