Re: [android-developers] Re: Where in code would i resize an image taken using intent?

2015-04-13 Thread Dave Truby
Daniel, In my case, the large image is read from storage resized then saved to storage. Dave Truby On Apr 12, 2015 12:37 AM, "Daniel Chacon" wrote: > So what you are doing is resizing before or after being saved or uploaded? > > On Sat, Apr 11, 2015 at 6:59 AM, Dave Tru

[android-developers] Re: Where in code would i resize an image taken using intent?

2015-04-11 Thread Dave Truby
Dan, I am doing the following in my Over Time app. Maybe it helps you. File aThumbnail = new File(pDir, TbsFile.THUMBNAIL_FILENAME); final float aRatio = (float) pPictureWidth / (float) pPictureHeight; final int aThumbnailWidth = Math.round(pThumbnailHeight * aRatio); final BitmapFactory.Opt

[android-developers] Bluetooth devices connected list - getConnectedDevices()

2014-09-20 Thread Dave Truby
This call is for bluetooth low energy connections. Are you sure you have a low energy device connected? It looks like you are connecting a mouse, I'm not sure that is a low energy device. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Cannot get the initial SDK setup working, nightmare

2013-04-22 Thread Dave Truby
Using the AVD tool (inside Eclipse, menu "Window" -> "Android Virtual Device Manager"), create at least one virtual device. See http://developer.android.com/tools/devices/index.html After you have a virtual device created, start it by selecting it in the list (in AVD manager) then click the "St

[android-developers] Re: Error in the "Interacting with other apps" class on developer.android.com

2013-04-22 Thread Dave Truby
In the link you provided I see the Uri.parse() syntax. On Saturday, March 30, 2013 4:09:03 PM UTC-4, Mateusz Matlengiewicz wrote: > > Hi, > > I'm new to Android app developement so forgive me if what I write is > untrue. > I was looking throu the starting classes and in > http://developer.andro

[android-developers] Re: App ran at startup

2013-04-22 Thread Dave Truby
You can have an activity started at boot by doing the following: public class BootReceiver extends BroadcastReceiver { public void onReceive(Context context) { context.startActivity(new Intent(context, SomeActivity.class)); } } On Saturday, March 23, 2013 6:22:44 PM

[android-developers] Re: How to dynamically add new ImageView instances to RelativeLayout?

2013-04-22 Thread Dave Truby
You are setting the id in tiles[i].setId(i); Also, titles[i] does not appear to have any children, so why tiles[i].findViewById() I'm probably not seeing what you are trying to do. On Sunday, March 31, 2013 6:10:00 AM UTC-4, langui...@gmail.com wrote: > > What I am trying to do is create *N*