[android-developers] Beam bump?

2012-09-20 Thread bob
Is it necessary for you to bump your device into another in order to use the Android Beam feature? -- 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

[android-developers] Re: VideoView and MediaPlayer

2012-09-20 Thread bob
4 Application Development (Wrox Professional Guides) (Kindle Locations 16292-16294). John Wiley and Sons. Kindle Edition. * On Wednesday, September 19, 2012 1:16:14 PM UTC-5, bob wrote: Can someone help me understand the relationship between VideoView and MediaPlayer? Does one use

Re: [android-developers] VideoView and MediaPlayer

2012-09-20 Thread bob
;* On Thursday, September 20, 2012 10:30:38 AM UTC-5, MagouyaWare wrote: Look at the source code... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Sep 19, 2012 at 12:16 PM, bob b...@coolfone.comze.comjavascript: wrote: Can someone help me

[android-developers] Re: jarlist.cache error

2012-09-20 Thread bob
No idea why this happens, but a project *Refresh* seems to fix this. On Thursday, September 20, 2012 12:44:30 PM UTC-5, bob wrote: I'm trying to export my Android code to a JAR, and I get this error: Resource is out of sync with the file system: '/ntp_code/bin/jarlist.cache

Re: [android-developers] get bitmap size

2012-09-19 Thread bob
What api level are you devving for? Also, I would think *myBitmap.getRowBytes() * myBitmap.getHeight()* should work. This is the Android source ( 4.1.1_r1 ): *874 public final int getByteCount() {* *875 // int result permits bitmaps up to 46,340 x 46,340* *876 return

Re: [android-developers] Re: How to generate bitmap for a view and make the bitmap exactly equals to the view's display?

2012-09-19 Thread bob
=*match_parent* android:id=@+id/ivTest/ /LinearLayout Is there any method to resolve this problem? Thanks a lot. 2012/9/18 bob b...@coolfone.comze.com javascript: I don't think your layout code makes sense, particularly the height specification. You have this for the LinearLayout

[android-developers] VideoView and MediaPlayer

2012-09-19 Thread bob
Can someone help me understand the relationship between VideoView and MediaPlayer? Does one use the other under the hood? I'm partly wondering this because MediaPlayer has setOnSeekCompleteListener, and I would like to do something like this with a VideoView. -- You received this message

Re: [android-developers] Re: LogCat window is blank

2012-09-19 Thread bob
, 2012 at 2:40 AM, Lew lewb...@gmail.com javascript:wrote: bob wrote: Has anyone figured out why the LogCat window is blank a lot of times? I will guess you mean in Eclipse, albeit you don't say. You don't say what times it's blank. When there's an emulator up? When you're running

[android-developers] Re: Nexus 7 has no menu button?

2012-09-19 Thread bob
*Many of the latest Android devices have eliminated the hard menu key found on earlier hardware. Consequently, it's now the responsibility of app developers to include soft menu keys in their apps. * * * *sic* On Wednesday, September 19, 2012 3:42:44 PM UTC-5, Keith Wiley wrote: I

[android-developers] LogCat window is blank

2012-09-18 Thread bob
Has anyone figured out why the LogCat window is blank a lot of times? -- 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] Re: How to create circular progress bar(pie chart) like indicator

2012-09-18 Thread bob
Maybe subclass ProgressBar and override the onDraw method? On Tuesday, September 18, 2012 1:14:58 AM UTC-5, Emanuel Tivadar wrote: Now I have a horizontal progress bar which is updated programmatically via ProgressBar setProgress method: ProgressBar

[android-developers] Re: General question about Android architechture

2012-09-18 Thread bob
I bet it's because when Android was a small startup company (2005, 2006) people thought there would be all these processors that natively spoke Java. On Friday, September 14, 2012 8:11:04 PM UTC-5, jamb wrote: Hello Android devs! I recently bought a Motorola Razr Maxx, and then shortly

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-17 Thread bob
I thought you were using an image of an arrow? I would put a breakpoint here: screenW = w; Make sure screenW and screenH are getting set correctly. On Saturday, September 15, 2012 12:42:36 AM UTC-5, Haris wrote: Hai bob thanks for your reply... I made the change as you said

[android-developers] Re: Lunar Lander Example - Thread Safety

2012-09-17 Thread bob
Yes, it's thread-safe because setting a boolean is an atomic operation. On Sunday, September 16, 2012 11:36:09 AM UTC-5, sdb wrote: I'm new to android development and have been studying the Lunar Lander example included in the SDK to get a better understanding of how the SurfaceView

[android-developers] Re: My AVD is super slow

2012-09-17 Thread bob
If you really want to learn Android, I would get a real device. The AVDs are very painful, but real devices are generally much better. Maybe get a Nexus 7 inch tablet? On Friday, September 14, 2012 10:37:50 PM UTC-5, _Chilling wrote: Hi All, I am pretty new to Android SDK. I am

[android-developers] Re: Stats of my app

2012-09-17 Thread bob
It is saying you have 1 *review*, not one download. One person gave your app 5 stars. On Saturday, September 15, 2012 4:45:38 AM UTC-5, Francesco Gatto wrote: Hi, My app TabooDroid Pro have 30+ downloads but in page of store display only 1. Why? Thank u -- You received this

[android-developers] Re: sending email ?

2012-09-17 Thread bob
I would say create a PHP script for sending mail on your web server. Then do an HTTP load of the script in the background. On Sunday, September 16, 2012 6:24:19 AM UTC-5, mohammed Nuhail wrote: how to send email in background ? -- You received this message because you are subscribed

[android-developers] Re: Using android

2012-09-17 Thread bob
As far as Android goes, I would rewrite it in Java. Sounds like you will use the VideoView and ImageView classes a lot. On Sunday, September 16, 2012 11:23:13 AM UTC-5, Michael Levinson wrote: I am a developer very very small d. I'm really the designer of educational software using

[android-developers] Re: How to generate bitmap for a view and make the bitmap exactly equals to the view's display?

2012-09-17 Thread bob
I don't think your layout code makes sense, particularly the height specification. You have this for the LinearLayout: android:layout_height=wrap_content This says '*Look at my children to figure out the height*'. Then you have this for the ImageView: android:layout_height=match_parent

[android-developers] Re: Lunar Lander Example - Thread Safety

2012-09-17 Thread bob
It is possible that the mRun variable ought to be declared as volatile. /** Indicate whether the surface has been created is ready to draw */ *volatile* private boolean mRun = false; On Sunday, September 16, 2012 11:36:09 AM UTC-5, sdb wrote: I'm new to android development

[android-developers] Re: how to caculate all cpu useage in logcat ANR info?

2012-09-17 Thread bob
Maybe your device has more than one CPU? Or more than one core? What device is it? On Friday, September 14, 2012 5:05:18 AM UTC-5, david wrote: Hi All, now i meet a ANR error. i find the cpu usage info in loacat totaly big than 100%,so i cofused, wheo can guide me on this issue?

[android-developers] Re: Classloader for Activities

2012-09-17 Thread bob
Maybe you can download a shared lib and load it thru JNI? On Sunday, January 10, 2010 5:37:50 PM UTC-6, Eric Crump wrote: I'm still in the concept stage so I don't need implementation details. My question is whether it is possible is transfer a JAR file over a socket and use a classloader

[android-developers] Re: Matrix.orthoM - How to use it

2012-09-14 Thread bob
I think it is like glOrtho. I found this on koders.com: public void glOrthof(float left, float right, float bottom, float top, float near, float far) { Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); } I think maybe when you use glOrtho, the depth

[android-developers] Re: webview cookie sometimes null

2012-09-14 Thread bob
the webview can accept cookies. Which it dose do some times and other not so much. What would you recommend? On Thursday, September 13, 2012 11:00:26 AM UTC-5, bob wrote: The issue is probably that the cookie is not necessarily there. I don't see anywhere in your code where you load any URL

[android-developers] Re: plz assign me any application i m free now a days !!!

2012-09-14 Thread bob
Make an Android tablet interface to Google Groups. On Friday, September 14, 2012 9:59:28 AM UTC-5, Muhammad Sahil wrote: hi All, Please assign me any application to develop, i m free now a days. Thanks Regards, Sahil -- You received this message because you are

[android-developers] Re: App Review Question

2012-09-14 Thread bob
*Are you talking about this review?* ** *Loose data* I am surprised to see so many 5 stars. I have lost data, you input expenses and afterwards you noticed it's no longer there. It's all a great app but simply you cannot trust it and what is the purpose of having an Expense manager if you

[android-developers] Re: Custom View

2012-09-14 Thread bob
Sounds like you want to use an ImageView and do a setOnTouchListener. On Friday, September 14, 2012 11:05:38 AM UTC-5, Jovish P wrote: How to create a view like this (Please find the attached image) , which layout I want to use ? When we click on + button i need to change the text

Re: [android-developers] Blueteeth

2012-09-14 Thread bob
more.. I'd investigate other avenues.. kris On Thu, Sep 13, 2012 at 5:30 PM, bob b...@coolfone.comze.comjavascript: wrote: So, has anyone ever gotten an Android Bluetooth server working that can handle multiple clients simultaneously? I looked at some old posts, and it seems

[android-developers] Re: Updating progress bar in Application while downloading file using DownloadManager

2012-09-14 Thread bob
Sounds like a job for an AsyncTask. On Friday, September 14, 2012 4:56:15 AM UTC-5, Vinay Kumar wrote: Hi All, I was wondering if anybody knew how to update progress Bar in the application while attempting to download file using download manager for android? Please share your ideas.

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-14 Thread bob
Yes, I ran it. It works fine if you make the change I told you to make: *change this:* * * *Y = initialY;* * * *to this:* * * * Y = (int) (screenH /2) - (arrowH / 2) ;* On Thursday, September 13, 2012 11:57:24 PM UTC-5, Haris wrote: Hai bob, have you run my code..? On Monday, 10

[android-developers] Re: Combine two android apps

2012-09-14 Thread bob
Sounds like you will have two Activity classes. Then you will call startActivity to start the second one. And, you will pass the output of the first one as an extra to the second activity. On Thursday, September 13, 2012 4:00:35 PM UTC-5, addy12 wrote: Hi Experts, I

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-13 Thread bob
(); invalidate(); } } And I am using an arrow image as my rotating image. On Thursday, 13 September 2012 10:44:35 UTC+5:30, Haris wrote: Hai bob thanks for reply. I made the above change in my code but still the same resultAnd my image get distorted it's edges while rotation

[android-developers] Re: Translation and rotation matricies 2D on Canvas

2012-09-13 Thread bob
I was actually confused by the docs for that method call as well. I wasn't sure what was meant by *clip*. I guess they mean *clipping region*, which I guess is a rectangle. I was under a serious time constraint when I first looked into this. I was afraid clip might have referred to

[android-developers] Re: installation issue

2012-09-13 Thread bob
If the app is good, you can put it on the Play store and get it thru the Play app. On Thursday, September 13, 2012 8:02:10 AM UTC-5, rauf qureshi wrote: hello everyone I want to install my android application in HTC android device but i am not able to connect that in installation mode

[android-developers] Re: webview cookie sometimes null

2012-09-13 Thread bob
The issue is probably that the cookie is not necessarily there. I don't see anywhere in your code where you load any URL. I'm pretty sure this function doesn't load anything: public String getCookie (String url) It probably just looks in a cookie cache. On Thursday, September 13,

[android-developers] Re: Translation and rotation matricies 2D on Canvas

2012-09-13 Thread bob
That may or may not be faster. If you are using hardware acceleration, using the matrices is probably faster. There is almost certainly special hardware in the GPU for fast matrix multiplication. On Thursday, September 13, 2012 10:53:04 AM UTC-5, NikDmit wrote: So do I. I got another

[android-developers] Re: How to overcome error: Error parsing XML: unbound prefix

2012-09-13 Thread bob
It's also misspelled in like 5 other places. On Thursday, September 13, 2012 12:11:08 PM UTC-5, Bost wrote: Hi, in the fourth line android was misspelled: andorid:orientation=horizontal Regards -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: hi

2012-09-13 Thread bob
The problems with the code appear to be twofold: 1. The comparison of the username and password is case-sensitive, which it probably shouldn't be (*maybe* for password, probably not for username) 2. The passwords are stored insecurely in the database, whereas an MD5 hash would be

[android-developers] Re: Dynamically change fromDegrees and toDegrees params in RotateAnimation

2012-09-13 Thread bob
I'm thinking maybe you should subclass Animation and override these two methods: boolean getTransformationhttp://developer.android.com/reference/android/view/animation/Animation.html#getTransformation(long,%20android.view.animation.Transformation,%20float)(long currentTime,

[android-developers] Blueteeth

2012-09-13 Thread bob
So, has anyone ever gotten an Android Bluetooth server working that can handle multiple clients simultaneously? I looked at some old posts, and it seems this was a headache for many. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Blueteeth

2012-09-13 Thread bob
On Thursday, September 13, 2012 4:37:57 PM UTC-5, Kristopher Micinski wrote: only up to two or three, never more.. *Quoth the Raven* I'd investigate other avenues.. kris On Thu, Sep 13, 2012 at 5:30 PM, bob b...@coolfone.comze.comjavascript: wrote: So, has anyone ever gotten

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-12 Thread bob
on the rotated canvas. canvas.restore(); But still it's not rotating about the centre... On Tuesday, 11 September 2012 01:49:30 UTC+5:30, bob wrote: canvas.save(Canvas.MATRIX_SAVE_FLAG); canvas.rotate(angle, *X + *getWidth() 1, *Y +* getHeight() 1); super.dispatchDraw

[android-developers] Re: how to use the android.bluetooth; package.??

2012-09-12 Thread bob
There is a BluetoothChat sample that demonstrates the usage. On Tuesday, September 11, 2012 8:11:48 PM UTC-5, redwolfgang20 wrote: -- 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] Attach Source?

2012-09-12 Thread bob
Do you guys ever do an Attach Source with the Android source code so you can go in there for debugging? Or is this probably not worth the hassle? https://lh4.googleusercontent.com/-ttLdGKVToOo/UFCulnPxzjI/AAk/JgbylRZUkrk/s1600/Screen+Shot+2012-09-12+at+10.45.55+AM.png -- You

[android-developers] Re: Translation and rotation matricies 2D on Canvas

2012-09-12 Thread bob
with transformation matrix, but not a single shape. Guys, if you have some other ideas, how it could be done without using OpenGL, please, let me know. Thank you. On Tuesday, September 11, 2012 9:32:30 PM UTC+3, bob wrote: Use this to reset the canvas after drawing your one rotated/scaled/whatever

[android-developers] Re: Translation and rotation matricies 2D on Canvas

2012-09-12 Thread bob
only one shape on the canvas: canvas.rotate(90, startX, startY); canvas.drawLine(...); canvas.rotate(-90, startX, startY); canvas.drawCircle(...); //Will not be rotated On Wednesday, September 12, 2012 8:43:38 PM UTC+3, bob wrote: How about this? final Matrix

[android-developers] Re: How Call a asynctask from a popupwindow??? plzzzzzzz help me

2012-09-11 Thread bob
Why not pass the data to the constructor of login and store it in member variables? On Tuesday, September 11, 2012 10:41:41 AM UTC-5, adroidanky wrote: I want to Show a popup window from main activity class on Click of a button and popup window contains a form and a submit button...now

[android-developers] Re: Translation and rotation matricies 2D on Canvas

2012-09-11 Thread bob
Use this to reset the canvas after drawing your one rotated/scaled/whatever object: canvas.setMatrix(new Matrix()); On Tuesday, September 11, 2012 1:18:53 PM UTC-5, NikDmit wrote: Hello. Since it's very possible to apply rotation and translation to the entire canvas and Bitmap's

Re: [android-developers] Re: print integer value in logcat.

2012-09-11 Thread bob
This way he only has to specify one parameter. On Monday, September 10, 2012 8:22:08 AM UTC-5, Raghav Sood wrote: Why would you use that when you have a perfectly working LogCat class? What's wrong with Log.i(value = + intName);? Raghav Sood Sent from my Galaxy Nexus On Sep 10,

[android-developers] human error

2012-09-11 Thread bob
Is there an easy way to convert the errors here: android.media.MediaPlayer.OnErrorListener to human-readable strings? 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] Re: Invoking ACRA from within the application

2012-09-11 Thread bob
Throw an Exception on the button click? On Tuesday, September 11, 2012 2:08:03 PM UTC-5, Ika Balzam wrote: Hi, Does anyone know if you can invoke ACRA from a button? i.e. click on a button will open the dialog and send the report instead of crashing the application in order to get

Re: [android-developers] Question about SurfaceView and Threads

2012-09-11 Thread bob
runOnUiThread? Why have I been using Handler.post this whole time? On Monday, September 10, 2012 3:41:53 AM UTC-5, Harri Smått wrote: On Sep 10, 2012 12:04 AM, Edvinas Kilbauskas edvinask...@gmail.comjavascript: wrote: I heard that android doesn't support plain old Java Threads.

[android-developers] ACRA analysis

2012-09-11 Thread bob
What do you guys use to analyze your ACRA crash data? Is this worth me buying a copy of MicroSoft Excel? -- 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

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread bob
I think you should be doing something like this: canvas.setMatrix(matrix); On Monday, September 10, 2012 8:18:32 AM UTC-5, Haris wrote: Hai all I am trying an application like rotating image with motion sensorMy problem is that the image does not rotate about centre

[android-developers] Re: How to increase textsize

2012-09-10 Thread bob
Why not just set it in your layout xml? On Monday, September 10, 2012 4:26:40 AM UTC-5, plw wrote: How do I make the size of text larger than the rest of the text that follow it so that it look like a heading? I have tried using setTextSize but it doesn't have any effect when I run

[android-developers] Re: My new Game Balloon Mania not showing no of downloads

2012-09-10 Thread bob
If you want accurate stats, why not use something like Flurry or Localytics? On Monday, September 10, 2012 2:20:47 AM UTC-5, RKJ (Android developer) wrote: Hi, Any one know, why no of downloads is not showing at portal. -- Thanks Regards Rakesh Kumar Jha Android Developer,

[android-developers] Re: creating view programatically

2012-09-10 Thread bob
I'd probably use these constructors: TextView(Context context) EditText(Context context) LinearLayout(Context context) Then, I'd call addView on the Linear layout to add the text view and edit text. Then, I'd call setContentView to set the content view to the linear layout. On Monday,

[android-developers] Re: Canvas Zoom in,zoom out and drag

2012-09-10 Thread bob
Sounds like you want to call setMatrix on the Canvas object. On Monday, September 10, 2012 6:52:47 AM UTC-5, Tilottama Gulame wrote: Hello Friends, I want to open image on canvas, after that i want to zoom in,zoom out and drag canvas. After zooming canvas i want to draw line

Re: [android-developers] Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread bob
A rotation matrix by default rotates around the origin. What he should probably do is subtract the pivot point (thus centering the image at the origin), do the rotation, and then add the pivot point again. On Monday, September 10, 2012 10:52:27 AM UTC-5, Harri Smått wrote: Hi, Why are

[android-developers] UncaughtExceptionHandler

2012-09-10 Thread bob
Can someone help me see what a *good* Android UncaughtExceptionHandler looks like? I wrote this, but I suspect it is bad: public class BSOD_Exception_Handler implements UncaughtExceptionHandler { @Override public void uncaughtException(Thread thread, Throwable ex) {

[android-developers] Re: UncaughtExceptionHandler

2012-09-10 Thread bob
://code.google.com/p/acra/ On Monday, September 10, 2012 7:08:24 PM UTC+1, bob wrote: Can someone help me see what a *good* Android UncaughtExceptionHandler looks like? I wrote this, but I suspect it is bad: public class BSOD_Exception_Handler implements UncaughtExceptionHandler { @Override

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread bob
canvas.save(Canvas.MATRIX_SAVE_FLAG); canvas.rotate(angle, *X + *getWidth() 1, *Y +* getHeight() 1); super.dispatchDraw(canvas); canvas.restore(); On Monday, September 10, 2012 2:22:15 PM UTC-5, lbendlin wrote: canvas.save(Canvas.MATRIX_SAVE_FLAG); canvas.rotate(angle, getWidth() 1,

[android-developers] Re: Where to start for developing an Android Game?

2012-09-10 Thread bob
I got my start with the Lunar Lander source code. On Sunday, September 9, 2012 11:22:51 AM UTC-5, Abhi wrote: Hi, I am new to game development. Where can I start, for developing a simple Android Game ? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Where to start for developing an Android Game?

2012-09-10 Thread bob
Yes, I use it to vacation at the Sea of Tranquility in the summertime. On Monday, September 10, 2012 3:29:18 PM UTC-5, Kristopher Micinski wrote: I forgot that NASA open sourced that a while back, kris On Mon, Sep 10, 2012 at 4:23 PM, bob b...@coolfone.comze.comjavascript: wrote

[android-developers] Thread

2012-09-07 Thread bob
What do you normally do on Android when you spawn a thread but the thread needs to access your Activity object? Do you typically pass the Activity object to your own constructor for the Thread? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Thread

2012-09-07 Thread bob
The use case is that the thread may want to call Activity.startActivity(). On Friday, September 7, 2012 11:35:50 AM UTC-5, Larry Meadors wrote: That's probably unsafe due to the lifecycle of activities. What's the use case? Larry On Fri, Sep 7, 2012 at 10:18 AM, bob b

[android-developers] Re: big video

2012-09-07 Thread bob
Use a TextureView? On Thursday, September 6, 2012 5:23:48 PM UTC-5, bob wrote: Is there any way to zoom into a VideoView? So, maybe on the tablet screen there is the upper left quarter of the VideoView? -- You received this message because you are subscribed to the Google Groups

[android-developers] fatal_error

2012-09-06 Thread bob
Back in the day, when I used to program Windows and other systems, I had a function like this: void fatal_error(char *msg) { cout msg endl; exit(1); } Is there an easy way to make something similarly elegant and useful in Android? -- You received this message because you are

Re: [android-developers] fatal_error

2012-09-06 Thread bob
: On Thu, Sep 6, 2012 at 10:29 AM, bob b...@coolfone.comze.comjavascript: wrote: Is there an easy way to make something similarly elegant Abruptly ending the program is elegant? I agree with TreKing, this question is ill formed because its premise is flawed: that is not an elegant

[android-developers] Re: fatal_error

2012-09-06 Thread bob
Nice. Thanks. On Thursday, September 6, 2012 12:03:04 PM UTC-5, RichardC wrote: throw new RuntimeException(My message); -- 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] Problems were encountered during export

2012-09-06 Thread bob
A lot of times when I try to export my Android projects I get this: *Problems were encountered during export:* * Error exporting tcp_reader/bin/jarlist.cache: Resource is out of sync with the file system: '/tcp_reader/bin/jarlist.cache'.* *Resource is out of sync with the file

[android-developers] Re: fatal_error

2012-09-06 Thread bob
I decided to do this for the time being: public class Error_Handler { public static void fatal_error(String err) { Log.e(fatal error, err); System.exit(1); } } On Thursday, September 6, 2012 10:29:45 AM UTC-5, bob wrote: Back in the day, when I used to program Windows and other systems, I

[android-developers] big video

2012-09-06 Thread bob
Is there any way to zoom into a VideoView? So, maybe on the tablet screen there is the upper left quarter of the VideoView? -- 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] BluetoothAdapter.getDefaultAdapter() in a non-UI thread

2012-09-05 Thread bob
Does anyone *really* know what this means? 09-05 10:22:05.518: E/AndroidRuntime(13117): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() 09-05 10:22:05.518: E/AndroidRuntime(13117): at android.os.Handler.init(Handler.java:121) 09-05

[android-developers] Android Bluetooth party

2012-09-05 Thread bob
Anyone know if it is possible to have 16 Android devices simultaneously connected to the same Bluetooth server? 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] modal dialog

2012-09-04 Thread bob
Is there any easy way to do a modal dialog in Android? I want an alert function sort of like Windows *MessageBox* function. -- 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] 1200 JPEGs

2012-09-04 Thread bob
So, I have roughly 1200 JPEGs. I want to transfer them all onto my phone on the SD card for an app I'm making. What's the easiest way to get these 1200 or so files onto my device? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Android Noob howto undeploy an app

2012-08-31 Thread bob
I don't think there is such a sample. Are you talking about HoneycombGallery? On Thursday, August 30, 2012 6:49:53 PM UTC-5, David Brown wrote: Hi Droid devs all, - Currently, I am studying the SDK 4.1 sample called: HoneyComb. - Previously, this app was working but now I'm

[android-developers] Re: version problem

2012-08-31 Thread bob
The question is W*hy does it fail on 2.1*? It could be as simple as changing this line in AndroidManifest.xml: *uses-sdk android:minSdkVersion=8 android:targetSdkVersion=8 /* Or, it could be hard if you are using stuff 2.1 doesn't support. On Thursday, August 30, 2012 4:27:30 AM

[android-developers] Re: How to generate random numbers between 1 to 8?

2012-08-30 Thread bob
Random r = new Random(); int randnum = r.nextInt(5)+1; if (randnum==5) randnum=8; On Thursday, August 30, 2012 5:16:02 AM UTC-5, thejaswi s wrote: In my application I want to generate random number between 1 to 8 and there should not be 5,6 and 7. i.e. random

[android-developers] Re: Bleutooth chat Api 10 not working

2012-08-30 Thread bob
Are you attempting to connect to another device running the Bluetooth Chat example? If so, what type of device is it? On Thursday, August 30, 2012 2:37:20 AM UTC-5, Haris wrote: Hai all I am trying with blue-tooth chat example for api-10, in my micromax pfhone.. When I scanning for

[android-developers] Re: Locking Android O.S. on Tablet

2012-08-30 Thread bob
Maybe house the tablet in a frame that blocks access to the buttons? On Wednesday, August 29, 2012 12:41:19 PM UTC-5, Ayse Karahasan wrote: I have a question. We developed an android application for its working on Tablet. The user could not use any other application and services on the

[android-developers] Re: Connection RESTful service with AsyncTask

2012-08-29 Thread bob
Maybe it is doing: *Connection: keep-alive* and you want it to do: *Connection: close* Put a breakpoint here: notifyListener(Chegou aqui); Then put one here: notifyListener(Ja tenho qualquer coisa); Make sure both breakpoints get hit. Also, please notice that your observers will be

[android-developers] Fancy_Text_View

2012-08-29 Thread bob
I'm trying to make my own subclass of TextView called Fancy_Text_View. It will basically have fancy text. I want to override setText in order to adjust the width/height according to the new text. However, I noticed this: public *final* void setText (CharSequence text) Since it is final, it

Re: [android-developers] Re: Connection RESTful service with AsyncTask

2012-08-29 Thread bob
, bob b...@coolfone.comze.comjavascript: wrote: Also, please notice that your observers will be getting notified on a thread other than the UI thread with your notifyListener calls in doInBackground. You may not want that. -- You received this message because you are subscribed

[android-developers] Re: camera

2012-08-29 Thread bob
Maybe this will help? uses-permission android:name=android.permission.*WRITE_EXTERNAL_STORAGE* / On Wednesday, August 29, 2012 3:03:15 PM UTC-5, aek wrote: Thank you, Yes indeed it was a pb of permission. Now I saw some light. However still I have a pb that concerns the saving

[android-developers] Re: package name

2012-08-29 Thread bob
Just put com.example.test for now. On Tuesday, August 28, 2012 9:17:50 AM UTC-5, Vignesh pandian wrote: i am new to android development .. while creating a new android project in eclipse it asks for package name what should be specified in it pls explain me in detail . thanks in

[android-developers] Re: USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-29 Thread bob
Maybe buy a longer microUSB cable? On Wednesday, August 29, 2012 1:18:12 PM UTC-5, TopSoft wrote: Hello I'm getting into Android development - coming along well. I have a single problem at this point - any USB extension cable I use causes my machine not to recognize my devices.

Re: [android-developers] Re: App Development for conducting classes

2012-08-28 Thread bob
Yes. *Hello, Android*. On Friday, August 24, 2012 6:22:12 PM UTC-5, Lew wrote: TreKing wrote: bob wrote: You will want to download a copy of MOTODEV Studio For what? and buy an Android book. Why? Most information you need is somewhere on developer.android.com and related

[android-developers] global_context

2012-08-28 Thread bob
It is getting very cumbersome having to pass a Context object all over when I'm pretty sure it never should change. Is this so bad? public class MyApplication extends Application { public static Context global_context; @Override public void onCreate() { global_context = this;

[android-developers] ACRA

2012-08-28 Thread bob
Can someone help me understand how ACRA works? Does ACRA.init() call this function? public static void setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] global_context

2012-08-28 Thread bob
passing it around so often? P.s., *no*, it won't always be the same. kris On Tue, Aug 28, 2012 at 3:17 PM, bob b...@coolfone.comze.comjavascript: wrote: It is getting very cumbersome having to pass a Context object all over when I'm pretty sure it never should change. Is this so

[android-developers] Re: Android custom view (very basic)

2012-08-28 Thread bob
You need width and height. Add these: *android:layout_width=fill_parent* *android:layout_height=fill_parent* On Monday, August 27, 2012 1:09:10 PM UTC-5, Victor Reboucas wrote: Hi, I'm new to Android development and I'm trying to implement a custom view to act as a custom menu button for

[android-developers] Re: Use of shapes for background

2012-08-28 Thread bob
Why not extend android.widget.RelativeLayout and implement your own onDraw method? On Friday, August 24, 2012 5:08:54 AM UTC-5, Pau Rodríguez Coloma wrote: Hi, I'm want to set the background of a RelativeLayout like the attached png. For the moment I'm using a bitmap definition xml

Re: [android-developers] Connection reset by peer?

2012-08-28 Thread bob
a same error. Did you solve this problem? 2012/8/17 bob b...@coolfone.comze.com javascript:: What does it mean when you try to form a Bluetooth connection on Android and you get this message? java.io.IOException: Connection reset by peer -- You received this message because you

[android-developers] Re: Converting data error

2012-08-27 Thread bob
You are reading a Wavefront OBJ file. Please observe that more than just vertex lines startsWith v. You have vt, vn, and vp as well. # List of Vertices, with (x,y,z[,w]) coordinates, w is optional and defaults to 1.0. v 0.123 0.234 0.345 1.0 v ... ... # Texture coordinates, in

Re: [android-developers] Two independant ProgressBar instances

2012-08-27 Thread bob
Add this to the second 1: style=?android:attr/progressBarStyleHorizontal On Monday, August 27, 2012 1:44:38 PM UTC-5, Simon Giddings wrote: Ok, here is my layout : ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] TWO APPS WITH SAME NAME

2012-08-27 Thread bob
*Billboard* is an international newsweekly magazinehttp://en.wikipedia.org/wiki/Magazinedevoted to the music http://en.wikipedia.org/wiki/Music industry, and is one of the oldest trade magazines http://en.wikipedia.org/wiki/Trade_magazine in the world. It maintains several internationally

[android-developers] Re: Don't understand the constants provided in powertutor

2012-08-27 Thread bob
Like this? /* Uids as listed in android_filesystem_config.h */ public static final int AID_ALL = -1; /* A special constant we will * use to indicate a request * for global

[android-developers] Re: hi

2012-08-27 Thread bob
You must register to be able to distribute your products through Google Play. There is a one time $25 registration fee. Once you've registered, it's easy to upload your application to Google Play. From the home screen of the Developer Consolehttp://market.android.com/publish, select Upload

<    5   6   7   8   9   10   11   12   13   14   >