FxCamera orientation

by snydez » Wed, 20 Jan 2010 11:54:56 GMT


Sponsored Links
 Halo,
Ada yang pakai FxCamera?
Kenapa hasil fotonya orientasinya ga sesuai arah foto ya? Gak otomatis dirotate.
Apa FxCameranya , apa Hero saya yg ga klop sama app itu?

 http://snydez.posterous.com 
--
Sent from my Android phone with K-9. Please excuse my brevity.



FxCamera orientation

by Nareen kameshwara » Wed, 20 Jan 2010 12:09:39 GMT


 Saya lumayan sering menggunakan FX camera dan sepertinya memang itu bawaan
dari FX-nya. Dia tidak akan merotate secara otomatis. Mungkin yg Pro atau yg
bayar akan lgsg rotate.
anyway, saya baru posting di blog saya ttg foto2 yg saya snap dari Hero.
Kalau ada kesempatan dan waktu, silahkan mampir untuk melihat-lihat.
Terima kasih.

Link :           http://blogroll.dailywhatnot.com/nareen/?p=3163 

2010/1/20 snydez <sny...@startrek.or.id>



-- 
Narendra Kameshwara

YM : kosto...@yahoo.com
 http://blogroll.dailywhatnot.com/nareen/ 


Sponsored Links


FxCamera orientation

by jonathan susanto » Wed, 20 Jan 2010 21:40:42 GMT


 Emang kaya nya ga auto rotate deh. Tinggal di album, pencet foto nya, trus
menu, nanti kan bisa di rotate

pake magic + XL unlimited. Maknyuzz




Saya lumayan sering menggunakan FX camera dan sepertinya memang itu bawaan
dari FX-nya. Dia tidak akan merotate secara otomatis. Mungkin yg Pro atau yg
bayar akan lgsg rotate.
anyway, saya baru posting di blog saya ttg foto2 yg saya snap dari Hero.
Kalau ada kesempatan dan waktu, silahkan mampir untuk melihat-lihat.
Terima kasih.

Link :           http://blogroll.dailywhatnot.com/nareen/?p=3163 

2010/1/20 snydez <sny...@startrek.or.id>



-- 
Narendra Kameshwara

YM : kosto...@yahoo.com
 http://blogroll.dailywhatnot.com/nareen/ 

--
--------------------
"



Other Threads

1. Bluetooth connect not working

I am trying to establish a connection to another Bluetooth device on
my Nexus One (2.1) with the following code, which occurs when on the
broadcast receiver when a device is found.

BluetoothDevice device = (BluetoothDevice)
intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
BluetoothSocket btSocket = null;

try
{
    btSocket = device.createRfcommSocketToServiceRecord(MY_UUID);
    BluetoothClass btClass = device.getBluetoothClass();
    Log.d("BLUETOOTH", "------ createRfcommSocketToServiceRecord
WORKED: " + btClass.toString());
    btSocket.connect();
    Log.e("BLUETOOTH", "ON RESUME: BT connection established, data
transfer link");
}
catch (IOException e)
{
    Log.e("BLUETOOTH", "IOException: " + e);
}

I have tried both the following UUIDs for both the SPP and OOP
profiles:

private static final UUID MY_UUID =
UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
private static final UUID MY_UUID =
UUID.fromString("00001105-0000-1000-8000-00805F9B34FB");

Every time I call the connect command I get an IOException with
"Service discovery failed". I have tried connecting to a G1, iPhone
and a Nokia phone all with the same results.

What am I doing wrong?

-- 

2. FW: FormatDateTime

All:

So I realized my date/time is already formatted by time zone and re-adding
the default time zone was subtracting the time zone offset again from the
time!  So, new code to replace the formatting function is below:

        Date date = df.parse(dateTime);
                                 
        if (sdk < 3) {

                finalDateTime = df.format(date);
                                         
        } else {

                finalDateTime = DateUtils.getRelativeDateTimeString(this,
date.getTime(), dateMin, dateMax, dateFlags).toString();

        }

So, why is it called "reflection" anyways?  Is it like "reflecting" on all
those previous SDK versions and thinking about the special times we had w/
them?

Thanks,
Nick Owens
VP, ThreeClix
Office: (904) 429-7039
Mobile: (847) 565-9392
After Hours: (904) 540-5830


-----Original Message-----
From: Nick Owens [mailto:nicow...@gmail.com] 
Sent: Thursday, February 25, 2010 5:38 PM
To: 'android-developers@googlegroups.com'
Subject: RE: [android-developers] Re: FormatDateTime

Mark (et. al. interested parties):

Thank you for the example on reflection.  I got it working and thought it
might be prudent to share my results w/ the world so the completed code is
below.  For the record, this date value (as a string) is being retrieved
from a SQLite database and the function formatDateTime() is used in a custom
adapter for display of the date for each record in a ListView.

This compiles in Eclipse using Android 1.5.  This allows me to set a minimum
sdk version of 2, while still utilizing this really nifty date display
function.

----------------------------------------------------------------------------
------------
public class ResourcesList extends ListActivity {

        ...

        int sdk = new Integer(Build.VERSION.SDK).intValue();

        private static final long dateMin = 60000;
        private static final long dateMax = (86400000 * 2);
        private static final int dateFlags = 0;

        ...

        public String formatDateTime(String dateTime) {
                 
                if (dateTime == null) {
                         
                        return "Never";
                         
                } else {
                         
                        String finalDateTime;
                         
                        DateFormat df = new SimpleDateFormat("yyyy-MM-dd
HH:mm:ss");
                         
                        try {
                                 
                                Date date = df.parse(dateTime);
                                 
                                if (sdk < 3) {

                                        finalDateTime = df.format(date);
                                         
                                } else {

                                        long when = date.getTime();
                                         
                                        finalDateTime =
DateUtils.getRelativeDateTimeString(this, (when +
TimeZone.getDefault().getOffset(when)), dateMin, dateMax,
dateFlags).toString();

                                }
                                 
                        } catch (Exception e) {

                                finalDateTime = "Unknown";
                                 
                        }
                         
                        return finalDateTime;
                         
                 }

         }

        ...

}

Thanks,
Nick Owens
VP, ThreeClix
Office: (904) 429-7039
Mobile: (847) 565-9392
After Hours: (904) 540-5830


-----Original Message-----
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy
Sent: Thursday, February 25, 2010 4:23 PM
To: android-developers@googlegroups.com
Subject: Re: [android-developers] Re: FormatDateTime




Yes, either via reflection or via conditional class loading.

Eclipse

No, it should work fine. However, you need to compile for the higher
version.

specifying

Dunno. What's Android 1.2? :-)


Yes, either via reflection or via conditional class loading.

This was discussed here:

http://stackoverflow.com/questions/2312321/how-to-use-contacts-api-for-andro
id-1-x-and-2-x-simultaneously

and here:

http://stackoverflow.com/questions/2044985/android-contactscontract-and-buil
ding-across-multiple-sdk-versions

Some sample projects are here:

http://github.com/commonsguy/cw-advandroid/tree/master/Contacts/Pick/
http://github.com/commonsguy/cw-advandroid/tree/master/Contacts/Spinners/

First one uses reflection, second one uses conditional class loading.

Here are two more samples:

http://github.com/commonsguy/cw-android/tree/master/APIVersions/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 

3. Bluetooth A2DP/AVRCP profiles on Android

4. Any built-in intent for viewing a single image?

5. what is the CRITICAL POINT of view layout to get hit by StackOverflowError exception

6. what is the CRITICAL POINT of view layout to get hit by StackOverflowError exception

7. Intercepting incoming/outgoing email messages