[android-developers] VideoView Looping Jump

2013-12-18 Thread Bobbie
I'm running Android 4.2.2. I'm trying to loop a seamless loop video in a VideoView. It does not accept the mp.setLooping(true) parameter, it will not loop the video, it plays only once. I am able to use the myVideoView.setOnCompletionListener(mp) to do a mp.start() every time it completes, and

[android-developers] Re: File Upload - Get Bytes Uploaded

2013-01-30 Thread Bobbie
I don't even remember this post, haha. I'm not sure what I did to check the file upload status, this is a project from quite a while ago, sorry! I believe Android has some built-in tools to do this now, though. Bobbie On Wednesday, January 30, 2013 10:38:14 AM UTC-5, Nobu G

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 100 Messages in 78 Topics

2012-11-28 Thread Bobbie Stump
-- 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

Re: [android-developers] Action Bar

2012-11-27 Thread Bobbie
Aha! I can see where you would assume that, then. =) Please forgive my sarcasm and shortness, not having a great day. On Tuesday, November 27, 2012 1:42:38 PM UTC-5, TreKing wrote: > > On Tue, Nov 27, 2012 at 12:34 PM, Bobbie > > wrote: > >> You seem to be running under th

Re: [android-developers] Action Bar

2012-11-27 Thread Bobbie
Love it when people criticize your post(s), method(s) and question(s) instead of actually contributing to a conversation. -- 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.

Re: [android-developers] Action Bar

2012-11-27 Thread Bobbie
> > You seem to be running under the assumption that there is either only one > browser all users will be using or that all browsers will work this way. > You seem to be running under the assumption that I'm not already checking the browser's name and version as well as the OS' version. I've do

[android-developers] Action Bar

2012-11-27 Thread Bobbie
Quick question. Is there a way to detect, in the browser, if a device is using a "menu button" or the "action bar"? I ask because I'm trying to figure out how to instruct users to add a bookmark on their device, and some devices running ICS still have a "menu" button that they have to use to ad

[android-developers] Re: EditText Issue

2011-04-15 Thread Bobbie
the message. Thanks for your criticizing instead of helping. Bobbie On Apr 14, 1:09 pm, TreKing wrote: > On Wed, Apr 13, 2011 at 9:17 AM, Bobbie wrote: > > I have a project I've been working on for a while, a chat client. > >  However, this one is a specific type.  I need

[android-developers] EditText Issue

2011-04-13 Thread Bobbie
Hello all. I am running a DROID with Android 2.2.2 on it. I have a project I've been working on for a while, a chat client. However, this one is a specific type. I need to make it so the user can not move the cursor to any part of the text, so it has to stay at the end of the text they are typi

[android-developers] Re: Layout Issue

2011-02-01 Thread Bobbie
After more research I found a ViewSwitcher fixes this issue. Bobbie On Feb 1, 9:40 am, Bobbie wrote: > I've seen some places where they say to create a separate activity for > the second view.  However, it hardly seems necessary in my example > because literally all I am doi

[android-developers] Re: Layout Issue

2011-02-01 Thread Bobbie
I've seen some places where they say to create a separate activity for the second view. However, it hardly seems necessary in my example because literally all I am doing at first is displaying a view, there are no other functions. On Feb 1, 9:05 am, Bobbie wrote: > Hey all!  

[android-developers] Layout Issue

2011-02-01 Thread Bobbie
Hey all! I have a question. I have a layout for a chat program that has a variable height. If I start with the chat screen layout (R.layout.chatView below - load that layout first), the height will adjust with the virtual keyboard, leaving the chat text in view and pushing the textbox and send b

[android-developers] TCP Client Issue

2010-05-18 Thread Bobbie
I am running a TCP client as a service. Every 15-20 minutes, the service just dies. I don't get a force close or anything, the app just closes. The app launches a main view and the TCP client is started as a service by clicking a button using this code: Intent TCPstart = new Intent(); TCPstart.

[android-developers] File Upload - Get Bytes Uploaded

2010-01-22 Thread Bobbie
I have a function I am using to upload files. How can I get the number of bytes of the file that have been uploaded (transferred)? Can I setup a timer that does this? If so, what variable to I read to get the number of bytes uploaded? Here is my code: ===

[android-developers] SMS Question

2010-01-09 Thread Bobbie
How can I tell, using "android.telephony.SmsManager," if the phone supports SMS? Will the getDefault() value be null? Anyone have any idea? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] Re: Android Layout Problem

2009-11-30 Thread Bobbie
Anyone able to help me out? -- 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.c

[android-developers] Android Layout Problem

2009-11-28 Thread Bobbie
Below is my layout. I'm having a problem getting it to "auto size" to the height of the screen. When the soft keyboard is pressed, I want the scrollview to decrease in height and the textview and button to move up the screen. Right now it hides the textedit box and button with the soft keyboard.

[android-developers] Delete Bookmark?

2009-11-27 Thread Bobbie
How can I programmatically delete a bookmark in Android? Can't figure it out. Please let me know, 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 unsubscr

[android-developers] Re: Share XMPPConnection

2009-11-23 Thread Bobbie
nning in the background for a few minutes after the application is ended. Bobbie On Nov 23, 8:42 am, Mark Murphy wrote: > Bobbie wrote: > > I need to be able to post XMPP messages in my main activity AND a > > service that I am running in the background.  My question is this:

[android-developers] Share XMPPConnection

2009-11-23 Thread Bobbie
I need to be able to post XMPP messages in my main activity AND a service that I am running in the background. My question is this: How can I pass all the XMPP information (including XMPPConnection) to the service so it can use it without twice logging in? Currently I have it setup so I am makin

[android-developers] HTC Ion Problem

2009-05-31 Thread Bobbie
I got back from Google I/O 2009 with the "HTC Ion" phone that they gave out to everyone. The phone was given to us fully unlocked, so I am using it on Centennial Wireless' network. In the system settings though it says my phone number is "unknown" but I can make and receive calls without any pro

[android-developers] Re: Get File Path With URI

2009-04-01 Thread Bobbie
Thank you SO much! I hate those 1-liners that kill your app, haha. Thanks again!!! On Apr 1, 2:14 pm, Mark Murphy wrote: > Mark Murphy wrote: > > Cursors are always pointing before the first result. > > Actually, to clarify: Cursors are always pointing before the first > result when you initia

[android-developers] Re: photo picker Uri issue

2009-04-01 Thread Bobbie
ables (are > some set to null when they shouldn't, for example). > > On Apr 1, 9:35 am, Bobbie wrote: > > > I tried this code, and every time it force closes.  The Uri object > > gives me the Uri, but I can't see why it's failing... Please help!!!

[android-developers] Get File Path With URI

2009-04-01 Thread Bobbie
I am launching an image picker (from the gallery) and my code crashes every single time. I tried to get some help in another post, but people quit responding to the post. Please help. When I do a debug, it tells me this (there are TONS of errors, but these looked the most important - also, I ch

[android-developers] Re: Photo Picker

2009-04-01 Thread Bobbie
ERROR/AndroidRuntime(30289): at android.app.Activity.dispatchActivityResult(Activity.java:3415) 04-01 10:01:33.418: ERROR/AndroidRuntime(30289): at android.app.ActivityThread.deliverResults(ActivityThread.java:2836) On Apr 1, 9:52 am, Bobbie wrote: > Any other ideas Boston?  Eclipse won'

[android-developers] Re: Photo Picker

2009-04-01 Thread Bobbie
Any other ideas Boston? Eclipse won't even let me compile that code without putting it in debug mode, so there is something different in that code. Could you take another look? Thanks! On Mar 31, 5:57 pm, Bobbie wrote: > No, I have nothing in onPause().  I guess I'll just

[android-developers] Re: photo picker Uri issue

2009-04-01 Thread Bobbie
I tried this code, and every time it force closes. The Uri object gives me the Uri, but I can't see why it's failing... Please help!!! Uri photoUri = intent.getData(); Cursor cursor = getContentResolver().query(photoUri, new String[] {MediaStore.Images.ImageColumns.DATA}, null, null, null); Stri

[android-developers] Re: Photo Picker

2009-03-31 Thread Bobbie
No, I have nothing in onPause(). I guess I'll just have to keep playing with it. Bobbie On Mar 31, 4:05 pm, Streets Of Boston wrote: > Do you have code in your 'onPause()' method of your activity. > If so, it looks like this code is blocking (never returning). > >

[android-developers] Re: Photo Picker

2009-03-31 Thread Bobbie
e you a general idea > of what to do) > > On Mar 30, 10:16 pm, Bobbie wrote: > > > I must have a bad phone or something...  Now the program force closes > > on me?  Here's what I have for "onActivityResult." > > > Cursor cursor = getContentResolver().q

[android-developers] Re: Photo Picker

2009-03-30 Thread Bobbie
r.getString(idx); On Mar 30, 9:08 pm, Streets Of Boston wrote: > int idx = cursor.getColumnIndex(ImageColumn.DATA); > String fname = cursor.getString(idx); > > On Mar 30, 7:45 pm, Bobbie wrote: > > > Wow... It's so simple, but still got an error... I got this: > &g

[android-developers] Re: Photo Picker

2009-03-30 Thread Bobbie
or.getString(ImageColumns.DATA) will return the physical file- > path on your SC-card. > > On Mar 30, 3:58 pm, Bobbie wrote: > > > I am having issues with some "photo picker" code that I am using.  All > > of my pictures are stored on an SD card.  The SD card is m

[android-developers] Photo Picker

2009-03-30 Thread Bobbie
I am having issues with some "photo picker" code that I am using. All of my pictures are stored on an SD card. The SD card is mounted and I can take pictures no problem. However, when I select a picture from the picker and output the location of the file, I should get: "/sdcard/dcim/Camera/FIL

[android-developers] Save TextView/ScrollView Data

2009-03-28 Thread Bobbie
I am putting text into a TextView that is inside of a ScrollView (so that they can scroll through the text) via the "append" command and HTTP posts. When I switch views from vertical to horizontal (or vice- versa), all of the text in the TextView/ScrollView goes away, the data is not saved. Is t

[android-developers] Re: File Upload Question

2009-03-19 Thread Bobbie
Nevermind, I'm a moron. I understand what you are talking about now. Bobbie On Mar 19, 11:38 am, Bobbie wrote: > I'm currently not specifying a MIME type, do I need to do this?  Here > is the PHP code I'm using: > > $target_path = "uploads/"; >

[android-developers] Re: File Upload Question

2009-03-19 Thread Bobbie
ou see a pattern > where some work and others don't then thats the culprit. > > -- > Android Academy:http://www.androidacademy.com > > On Mar 18, 8:36 pm, Bobbie wrote: > > > I have included my code below.  I have the code working for image > > uploads, but wa

[android-developers] File Upload Question

2009-03-18 Thread Bobbie
I have included my code below. I have the code working for image uploads, but was wondering how to get it to work with audio and video files? Please let me know if you have any suggestions/tutorials. // WORKS WITH JPEG FILE -- String existingFileName = "/sdcard/dcim/ Camera/122

[android-developers] Android File Upload (PHP)

2009-03-13 Thread Bobbie
I have looked literally everywhere I could find and cannot find a file upload script (that will allow me to upload pictures, audio files and video files) that works. Could someone post a *current* and *working* example for both the Android and PHP code? Every example I have found on the web are

[android-developers] Re: Thread String

2009-03-06 Thread Bobbie
any sense. > Then, when your app crashes, what does the stack trace look like? > > On Fri, Mar 6, 2009 at 2:56 PM, Bobbie wrote: > > > It's a really strange situation.  I can pass other strings to a > > thread, but this string for some reason won't be passed.  Th

[android-developers] Re: Thread String

2009-03-06 Thread Bobbie
It's a really strange situation. I can pass other strings to a thread, but this string for some reason won't be passed. The string is: static String sesid = ""; I have other static strings declared as well and they are working perfectly fine. Bobbie On Mar 6, 1:01 am

[android-developers] Thread String

2009-03-05 Thread Bobbie
I am trying to pass a string variable to a thread, but as soon as the app gets to the thread that is requesting the variable, the application crashes. Any ideas? Can you show me some examples of how to pass a public string to a thread? Please let me know. Thanks! --~--~-~--~~--

[android-developers] Answer Call

2009-02-11 Thread Bobbie
I am using the following code to do an automatic answer of a call, but it doesn't seem to be working... Intent answercall = new Intent(Intent.ACTION_ANSWER); startActivity(answercall); I get the call state of "ringing," but it never answers... Am I doing this wrong? If so, examles of how to do

[android-developers] Answer Call

2009-02-11 Thread Bobbie
I am using the following code to do an automatic answer of a call, but it doesn't seem to be working... Intent answercall = new Intent(Intent.ACTION_ANSWER); startActivity(answercall); I get the call state of "ringing," but it never answers... Am I doing this wrong? If so, examles of how to do

[android-developers] Re: Views

2009-02-11 Thread Bobbie
ning into are: 1) The "chatview" webview is showing up at the bottom instead of the top? 2) When I hit the "back" button the app crashes. I'm guessing this is because the interface isn't designed right, but I could be wrong. Bobbie On Feb 10, 9:52 am, Ludwig wrote:

[android-developers] Re: Views

2009-02-10 Thread Bobbie
I tried using fill_parent, but somewhere I still have to specify a "percentage" screen height instead of a "px" value, that's what I'm having issues with. Can you post an example of how to do an 80% screen height with a 20% screen height below it? On Feb 9, 11:05 pm, Romain Guy wrote: > > 1)

[android-developers] Views

2009-02-09 Thread Bobbie
I have a couple different questions: 1) Does Google think there will only be one screen size on Android phones? The reason I ask is because I haven't been able to find anything on "variable" layouts in Android? I would like to create a layout with 2 webviews, one 80% of screen height and the ot

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Bobbie
> Your code snippet is useful, but since it is a part of a larger project, > some of my comments may be completely wrong. So, your patience is requested. > > 1. Do I understand your flow correctly -- you are sending an HTTP POST > after *every keystroke*? After all, onKeyUp() will get called after

[android-developers] UI Freezing Issue

2009-01-16 Thread Bobbie
I am trying to do a real-time chat application (where the Android user's text shows up real-time in a web interface running in a browser on someon'es PC). Right now I'm having it post the text in a textbox using "onKeyUp" and running it in a background thread (using "thread.join()" so it doesn't

[android-developers] Re: Updating From HTTP

2008-11-07 Thread Bobbie
mHandler.post(mUpdateResults); } } }; t.start(); } On Nov 7, 9:38 am, zl25drexel <[EMAIL PROTECTED]> wrote: > see my post > athttp://bend-ing.blogspot.com/2008/11/properly-handle-progress-dialog-... > > On Nov 7, 9:30 am, David Given <[EMAIL PROTECTED]> wr

[android-developers] Updating From HTTP

2008-11-07 Thread Bobbie
Hey all, thanks for all your help so far! I have the following function running on a timer every 20 seconds or so. However, every time it runs, my user interface for this program (an EditText box and a submit Button) freezes until the HttpPost is finished. Is there a way for me to run this func

[android-developers] Getting GPS Location Crashes

2008-11-05 Thread Bobbie
I've posted with no help, please help me out. I am trying to figure out how to get the GPS location of my device. However, when I use the code below (see "CODE TO GET LOCATION") my Android application crashes. I am developing on the G1 phone. If I change the provider to "network" instead of "g

[android-developers] Re: Listen For Webpage Changes

2008-11-04 Thread Bobbie
That's not what I want to do, I want my program to "listen" for changes on the webpage that it posted to. Bobbie On Nov 3, 10:31 am, "Dan B." <[EMAIL PROTECTED]> wrote: > well, if the entire thing is going to be handled by a webpage anyway, > rather th

[android-developers] Re: getCurrentLocation

2008-11-04 Thread Bobbie
ard code it and replace "lm.getBestProvider(new Criteria(), true)" with "gps" the application crashes. Bobbie On Nov 4, 7:53 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > Bobbie wrote: > > I have the latest SDK download and the SDK throws errors when I t

[android-developers] getCurrentLocation

2008-11-03 Thread Bobbie
I have the latest SDK download and the SDK throws errors when I try to use "getCurrentLocation", I can only use "getLastKnownLocation" and can only get a "network" location, can't even get a GPS location (which is what I want)... What's the deal here? Was this deprecated or something? I have tri

[android-developers] Listen For Webpage Changes

2008-11-03 Thread Bobbie
I am trying to create a web-based chat program. I would like to setup the program so that it can "listen" for changes on a web page. When the user's text is posted it will be written to the page. Then, when a user from the web interface posts it will be posted to that same file (this will be ta

[android-developers] layout_gravity Problem

2008-10-31 Thread Bobbie
I have a TextView inside a ScrollView (TextView DOES NOT scroll by itself). However, I am aligning the text at the bottom of the TextView using android:layout_gravity="bottom". When I do this the ScrollView won't scroll. What can I do to fix this? This is inside an AbsoluteLayout. Here is the

[android-developers] ScrollView and TextView

2008-10-31 Thread Bobbie
I've found this on here before by my example is a little different. I have put a TextView inside a ScrollView so I could scroll the text (TextView DOES NOT scroll itself). HOWEVER, I am using "android:layout_gravity:bottom" so all the text in the TextView will align at the bottom. However, this