[android-developers] WiFi Direct connections drop during Bluetooth scan

2013-02-26 Thread Matt M
Hello, I made an application (for work, not for public use) that constantly runs a bluetooth scan to detect any nearby devices. The next phase of the application was to connect a few android devices together so that could share the data they receive, to do this we purchased 3 Samsung Tabs to

[android-developers] Re: WiFi Direct connections drop during Bluetooth scan

2013-02-26 Thread Matt M
as the WiFi Direct group owner, and 2 Samsung Galaxy Tab 2 7.0 tabs which should send data to the group owner. The 7.0 devices are running the scans. On Tuesday, February 26, 2013 11:47:58 AM UTC-5, Matt M wrote: Hello, I made an application (for work, not for public use) that constantly runs

[android-developers] Setting Background Image of View with onDraw Creates Finger Lag

2011-05-18 Thread Matt M
Hello, I have a finger painting portion in my app that I built off of FingerPaint.java http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html I am trying to set a background image using setBackgroundDrawable() but upon doing so there is a

[android-developers] 'E-Mail Developer' button creating a lot of spam?

2011-04-23 Thread Matt M
Hello, I added an E-Mail Developer button to my application and ever since I get random e-mails throughout the day that either have an empty message body or just one or two words in a different language (looks like Russian or something similar, sometimes an Asian language). Occasionally I get one

[android-developers] Amazon Rejected My App - Missing application identifier?

2011-04-04 Thread Matt M
Hello, Amazon has responded after 2 weeks saying they reject my application because it force closed. The log (according to them) reads: E/ BlacklistDecisionPoint(26780): Missing application identifier. If it means anything they apparently used an HTC Incredible 2.2 Has anyone heard of this

[android-developers] Re: Creating 9-patch Images on Device

2011-04-03 Thread Matt M
Nick, Thank you for your thoughts. I hoped it would be that easy as well, however according to this discussion: https://groups.google.com/group/android-developers/browse_thread/thre... Romain Guy states There's a compilation phase to embed extra information inside the PNG but it happens in aapt

[android-developers] Re: Creating 9-patch Images on Device

2011-04-03 Thread Matt M
Sorry, this discussion: https://groups.google.com/group/android-developers/browse_thread/thread/22f402ccedba9533 Also, this link is the ResourceTypes.h file that describes (sort of) how to manage the byte[] chunk. I've studied it I just do not know what to return exactly.

[android-developers] Re: Creating 9-patch Images on Device

2011-04-03 Thread Matt M
I was looking at 9patch because the images are being displayed on a home screen widget. They are designed for portrait display, so when orientation is changed to landscape the widget looks a bit distorted. If 9patch on device is possible that seems like the most efficient method, however if there

[android-developers] Re: Creating 9-patch Images on Device

2011-04-03 Thread Matt M
skink, Thank you for your input. I have not considered Drawable, but probably because I do not know much about them :) What do they bring to the table to appropriately stretch an image like a 9patch? Thank you! Matt. On Apr 4, 1:23 am, skink psk...@gmail.com wrote: On Apr 4, 4:44 am, Matt M

[android-developers] Creating 9-patch Images on Device

2011-04-02 Thread Matt M
Hello, I am trying to create 9-patch images using bitmaps on the device. I am aware of the draw9patch tool and I know how to use it however the images in question are customized by the user thus using the tool and adding images as resources is out of the question. My research has led me to this

[android-developers] Amazon Appmarket is now open!

2011-03-23 Thread Matt M
To those who have submitted apps to Amazon how long did it take between submitting and approval? 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

[android-developers] Re: Cursor management issue with Honeycomb

2011-03-17 Thread Matt M
I had the same error as well. startManagingCursor() was used in Activity A which launched Activity B. When Activity B was saved and Activity A returned to the forefront the app force closed. Calling stopManagingCursor() in Activity A solved it. Obviously my fault for not reading enough, but when

[android-developers] Undo Feature in Drawing App - Need best methodology, not looking for code

2011-03-15 Thread Matt M
Hello, My application includes a drawing feature and I would like the add the ability to undo. The undo feature currently in place simply loads the bitmap from the last saved file, so no matter how many changes they make to their drawing undo will revert it back to the way it was before any

[android-developers] How to setImageViewUri in Widget using getFileStreamPath()?

2011-03-12 Thread Matt M
Hello, This is really baffling. In an AppWidgetProvider I am trying to setImageViewUri using this Uri: Uri.fromFile(getFileStreamPath(name)) I know the file exists in internal storage because I've tried File.exists(), and I also successfully tried: Bitmap b =

[android-developers] Re: How to setImageViewUri in Widget using getFileStreamPath()?

2011-03-12 Thread Matt M
applications (including the launcher) can read them. -- Kostya 12.03.2011 21:44, Matt M пишет: Hello, This is really baffling. In an AppWidgetProvider I am trying to setImageViewUri using this Uri: Uri.fromFile(getFileStreamPath(name)) I know the file exists in internal storage because

[android-developers] Re: TextView adjusts, ImageView stays static when keyboard pops up - How To?

2011-02-23 Thread Matt M
Any ideas?? On Feb 23, 1:04 am, Matt M matthew.mag...@gmail.com wrote: Hello, I have a TextView on top of an ImageView. When the keyboard pops up I want the TextView to shrink and adjust to the keyboard popping up (like normal) but I want the ImageView to stay static, thus I do not want

[android-developers] TextView adjusts, ImageView stays static when keyboard pops up - How To?

2011-02-22 Thread Matt M
Hello, I have a TextView on top of an ImageView. When the keyboard pops up I want the TextView to shrink and adjust to the keyboard popping up (like normal) but I want the ImageView to stay static, thus I do not want the image to shrink. I tried using android:windowSoftInputMode=statePan

[android-developers] Hide Background ImageView from above Bitmap/Canvas

2010-11-24 Thread Matt M
Hello, I have an ImageView whose background is set to a drawable using setBackgroundDrawable. On top of this ImageView is a custom view which utilizes a Bitmap to allow the user to draw/paint. Currently the Bitmap captures the background drawable so that every time the onDraw method is called

[android-developers] Actual Galaxy Tab Displays Different Than Emulator - 5x5 Widgets?

2010-11-23 Thread Matt M
Hello, I created a Galaxy Tab emulator using these instructions: http://innovator.samsungmobile.com/galaxyTab.do When I install my 4x2 widget on the emulator it displays like it does on a phone (full width, half the height). However I went to try it out on an actual device in Best Buy and there

[android-developers] Set Default Chooser when Selecting Image?

2010-09-25 Thread Matt M
Hello, In my application the user selects an image. When the ACTION_GET_CONTENT intent is launched it displays the dialog to select one of the available image viewers installed on the device. However I need the built in Gallery app to be chosen because upon selecting an image it launches the

[android-developers] Re: Getting Images From Gallery - Not All Work?

2010-09-24 Thread Matt M
Any help truly appreciated! On Sep 24, 12:27 am, Matt M matthew.mag...@gmail.com wrote: Hello, I am simply trying to get the path of an image that the user selects and then convert it into a bitmap. The problem is, only some of the images in the gallery work when selected (by work I mean

[android-developers] Getting Images From Gallery - Not All Work?

2010-09-23 Thread Matt M
Hello, I am simply trying to get the path of an image that the user selects and then convert it into a bitmap. The problem is, only some of the images in the gallery work when selected (by work I mean they are found to be a file that exists), while the others claim the file does not exist (even

[android-developers] Getting Thread ID/Phone# of an Open SMS Message?

2010-09-21 Thread Matt M
Hello, I am using RunningTaskInfo.topActivity.getClassName() to determine the class name of the activity being viewed by the user. If the top activity is an sms message (the user is texting) then I want to determine either the thread id of the open message or the contact name/ number, either will

[android-developers] Re: Getting Thread ID/Phone# of an Open SMS Message?

2010-09-21 Thread Matt M
Understood. Thank you. -- 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

[android-developers] How to Send Phone to Phone Alerts in Background?

2010-07-03 Thread Matt M
Hello, In my app I am giving the option for users to share information with other users of my app. After two users decide to share, every time one of the sharers updates the app I need an alert/notification sent to the phone of the other user so that the app updates automatically with the new

[android-developers] Re: setContentView of a Custom View

2010-06-18 Thread Matt M
properly. means what. What error are you getting ?. Do you override all the constructors. Nithin On Jun 17, 9:54 pm, Matt M matthew.mag...@gmail.com wrote: Hello, My current painting activity is built off of FingerPaint.java from the API Demos. In my xml I declared the custom view, see

[android-developers] setContentView of a Custom View

2010-06-17 Thread Matt M
Hello, My current painting activity is built off of FingerPaint.java from the API Demos. In my xml I declared the custom view, see below. When I setContentView(view); everything works fine, but the problem is when I setContentView(paint_layout.xml) it does not work properly.

[android-developers] Re: Redrawing Widget When Changing Orientation

2010-04-27 Thread Matt M
I've discovered the method call that causes the problem but I still don't understand why.. In an activity, after saving and exiting I make a static method call MyAppWidget.forceUpdate(this, text); Below is the method which updates the text of the widget public static void forceUpdate(Context

[android-developers] Redrawing Widget When Changing Orientation

2010-04-26 Thread Matt M
Hello, I have a widget set up and it displays properly in both portrait and landscape when added to each. But when I change orientation it has the problem Problem Loading Widget. I delete this, re-add the widget, and it displays correctly. Thus, my widget can support both portrait and landscape