Re: [android-developers] ICS Hardware Acceleration steals my OpenGL textures?

2011-12-30 Thread dan raaka
can you post an example code /test app which demonstrates this ..  (yes, i
saw your image already)

-Dan


On Wed, Dec 28, 2011 at 1:23 PM, carlrice  wrote:

> I have an Android app which uses a bit of OpenGL running on a Galaxy
> Nexus with ICS. After turning on hardware acceleration and using my
> OpenGL activity some of those textures are stolen by the system and
> now in my listviews and other UI elements. Its as if my GL pointers
> obtained via GLES20.glGenTextures are not actually fresh pointers but
> rather overwriting ones used by the window renderer.
>
> In any case there should be some sort of firewall or sandbox between
> the OS screen drawing system and my app, no?
>
> Turning off hardwareAcceleration entirely displays fine, but the UI is
> choppy (but buttery smooth on 2.2+ either way). Turning it on/off
> activity by activity doesn't help either.
>
> Example: Normally a repeating bitmap drawable, now an image (from
> camera in this case) I loaded into OpenGL in a different activity -
> http://a.yfrog.com/img532/9245/t81k.png
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Clarification on DPI

2011-12-30 Thread dan raaka
the math for the doing the calculations to determine the tiping point in
terms classifications changed in HC, and hence the above comment.

-Dan


On Thu, Dec 29, 2011 at 8:06 PM, Jonathan  wrote:

> This quote was taken from an official Android blog post (
>
> http://android-developers.blogspot.com/2011/07/new-tools-for-managing-screen-sizes.html
> ):
>
> "The original Samsung Galaxy Tab is an interesting case. Physically it
> is a 1024x600 7” screen and thus classified as “large”. However the
> device configures its screen as hdpi, which means after applying the
> appropriate ⅔ scaling factor the actual space on the screen is 682dp x
> 400dp. This actually moves it out of the “large” bucket and into a
> “normal” screen size. The Tab actually reports that it is “large”;
> this was a mistake in the framework’s computation of the size for that
> device that we made. Today no devices should ship like this."
>
> I don't quite understand this. If I do the math,
>
> dp = px / (dpi/160)
>
> The original Galaxy Tab has a PPI of 170, so:
>
> 1024 / (170/160) = ~964 dp
> 600 / (170/160) = ~565 dp
>
> Hence the original Galaxy Tab is 964x565 in dp units. This puts it in
> the "large" category, which was also originally calculated by the
> framework but was said to be a "mistake". Why? And how in the world do
> they get a 2/3 scaling factor?
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How can apps sending and receiving SMSs be visible on the market for the new Galaxy Tablets?

2011-12-27 Thread dan raaka
in your manifest explicitly declare the hardware.telephony and set the
required="false". This solves the market filtering issues.

However, you will now have to @ runtime check if the device does indeed
support SMS !!

-Dan


2011/12/22 Kostya Vasilyev 

> While I don't have a workaround - sorry - but this particular device
> is quite weird...
>
> FWIW, this is what I recently ran into, it has to do with WiFi:
>
> http://wp.me/pSrdQ-lg
>
> Have you tried calling SmsManager.getDefault() and checking for null?
>
> -- Kostya
>
> 22 декабря 2011 г. 16:48 пользователь Terry  написал:
> > As no one has responed to this issue yet, I shall try to explain it in
> > more detail.
> >
> > In order to DO make an app visible for e.g. the Galaxy Tab 10.1 model
> > GT-P7500, one could put the following in the Manifest file:
> >
> >  > android:required="false"/>
> >
> > In the app code, one could e.g. use the following too check what
> > features are available:
> >
> > PackageManager pm = getPackageManager();
> > boolean hasTelephony =
> > pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY);
> >
> > However, the Galaxy Tab 10.1 model GT-P7500 returns a false on that
> > method.
> >
> > The problem would be solved if there existed a constant like
> > PackageManager.FEATURE_SMS or similar, but there is no such thing.
> >
> > I think that the Market is still not prepared for the type of products
> > like the Galaxy Tab 10.1 model GT-P7500.
> >
> > Any ideas as to how I can solve this?
> >
> > Terry
> >
> >
> > On 21 Des, 12:38, Terry  wrote:
> >> I have tried to ask this question elsewhere, but without getting any
> >> answer I can use. So I try it here also.
> >>
> >> I have some apps which send and receive SMSs. They are invisible for
> >> the new Galaxy Tablets on the Market, and they cannot be dowloaded to
> >> them.
> >>
> >> WHY?
> >>
> >> As e.g. the Galaxy Tablet 10.1, model GT-P7500 does NOT support audio
> >> phone calls - but it DOES support sending and receiving SMSs, there
> >> should be no problem. In fact, when I download these apps to the GT-
> >> P7500  locally, they work as expected.
> >>
> >> The Market however, sees the permissions to SEND_ and RECEIVE_SMS in
> >> the Manifest file of the apps, and interprets this so as to require
> >> hardware.telephony from the Galaxy Tabs. Which is does not seem to
> >> support.
> >>
> >> Any idea how to make a work-around for this problem?
> >>
> >> Terry
> >
> > --
> > 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 this group at
> > http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output

2011-09-27 Thread Dan Raaka
on the galaxy tab 10.1, what is the build fingerprint ?
$ adb shell getprop | grep -i finger

-Dan

On Sep 27, 11:52 am, Taylor Alexander  wrote:
> Glad to help! :)
> -Taylor
>
>
>
> On Tue, Sep 27, 2011 at 11:36 AM, Anil Sasidharan  wrote:
> > Hi Taylor,
>
> > Thanks a million. Awesome suggestions. I really appreciate if and
> > definitely give this a shot.
>
> > Have a great day 
>
> > Warm Regards,
> > Anil
>
> > On Wed, Sep 28, 2011 at 12:01 AM, Taylor Alexander 
> > wrote:
>
> >> Hey Anil,
>
> >> I did a bit of searching and found that there *is* an update (to 3.2) for
> >> your tablet, but it just may not have gotten it yet.
>
> >> Go to settings>about tablet>system updates and tell it to "check now"
>
> >> If it says you are up to date, but it still says you have 3.0, then your
> >> tablet hasn't been selected for the update yet. However, you can manually
> >> load your own version of 3.2 onto the tablet.
>
> >> Looking on XDA-Developers forum (the best place for this stuff), I found a
> >> ROM that you can install on your tablet for 3.2:
> >>http://forum.xda-developers.com/showthread.php?t=1138115
>
> >> Read this page for more information:
> >>http://forum.xda-developers.com/showthread.php?t=1209988
>
> >> And then if you have any questions (after you have done some reading) just
> >> ask the questions on there and people should be able to help.
>
> >> Just be careful - I don't know if the A501 supports all the same ROMs as
> >> the A500. The ROM I found above says A500/A501, but they might not all
> >> support that.
>
> >> Good luck!
> >> -Taylor
>
> >> On Tue, Sep 27, 2011 at 6:33 AM, Anil Sasidharan wrote:
>
> >>> Hi Taylor,
>
> >>> Yes, mine is A501. Unfortunately I'm trying to experiment with my A501 in
> >>> India and the 3.1 update is not yet available here. Looks like I've to 
> >>> wait
> >>> for a long time before being able to check the USB Host APIs on A501.
>
> >>> Thanks a lot Taylor and I sincerely appreciate your great enthusiasm and
> >>> willingness to share the knowledge. Have great time!!!
>
> >>> Warm Regards,
> >>> Anil
>
> >>> On Tue, Sep 27, 2011 at 12:17 PM, Taylor Alexander <
> >>> tlalexan...@gmail.com> wrote:
>
>  Hey Anil,
>  I connected my tablet to wifi and it immediately said there was an
>  update.
>
>  You have an A501 though? Mine is an A500. Perhaps the A501 does not have
>  an update yet? I'm not familiar with that model. Mine is wifi only. Since
>  you mention verizon I assume the A501 is the verizon model. It may have
>  different updates due to the cell module.
>
>  -Taylor
>
>  On Mon, Sep 26, 2011 at 11:19 PM, Anil Sasidharan 
>  wrote:
>
> > Hi Taylor,
>
> > Thank you so much. Where do we get the 3.1 update that was applied on
> > your tablet. Is it OTA (from Verizon??) or Is this available as a 
> > firmware
> > download somewhere in the Internet? I would really appreciate if you 
> > could
> > help us get this update for my Acer Tab A501.
>
> > Thanks once again for the great support so far...
>
> > Warm Regards,
> > Anil
>
> > On Tue, Sep 27, 2011 at 4:15 AM, Taylor Alexander <
> > tlalexan...@gmail.com> wrote:
>
> >> Yes, the tablet shipped with 3.0 but I immediately applied the 3.1
> >> update. And then another small update wanted to be applied, but I 
> >> think USB
> >> worked after the first one. I didn't try it before that.
>
> >> Under "About Tablet" in settings I have:
>
> >> Model: A500
> >> Android Version: 3.1
> >> Kernel Version: 3.6.36.3
> >> Build Number: Acer_A500_4.0.10.13_COM_GEN2
>
> >> Let me know if you have any other questions!
>
> >> On Sat, Sep 24, 2011 at 8:20 PM, Anil Sasidharan 
> >> wrote:
>
> >>> Hi Taylor,
>
> >>> Thanks a lot. Based on what have experienced, I guess the Samsung Tab
> >>> 10.1 with Android-3.1 firmware does not yet support USB Host APIs 
> >>> whereas
> >>> Acer's Iconia A500 supports the same. Would you please let me know 
> >>> the exact
> >>> version of the Android firmware on A500 that worked for you. I've come
> >>> across an Acer Tab A501 with Android-3.0.1 version, however I'm not 
> >>> sure if
> >>> it supports USB Host API because Google says it is supported only 
> >>> from 3.1
> >>> (sdk-version 12 and above) onwards (even though there is an back port 
> >>> of USB
> >>> Host library for Gingerbread out there).
>
> >>> I would greatly appreciate your comments/suggestions on this.
>
> >>> Warm Regards,
> >>> Anil
>
> >>> On Sat, Sep 24, 2011 at 12:31 AM, Taylor Alexander <
> >>> tlalexan...@gmail.com> wrote:
>
>  Hi Anil,
>
>  Yes, I did get it working with the Acer. I had replied off list to
>  Will because my original reply to the list was taking too long to get
>  approved (it was my first post to this list).
>
>  Here is my first off

Re: [android-developers] App appears to be missing for a number of devices on Android Market

2011-09-21 Thread dan raaka
I have seen similar issues mainly due to the market app trying to infer
android.hardware.screen.portrait
even though you may not have declared it in your manifest.

workaround : add this  to your manifest

-Dan


On Sun, Sep 18, 2011 at 9:48 AM, cpick  wrote:

> Our app seems to be disappearing from the Market for a number of
> devices. For example, my Samsung Galaxy Tab 10.1 shows up in the
> market when I upgrade, but each time I download it crashes the
> market.  I have users w/ a Samsung Galaxy Mini GT-S5570 which can't
> even see it in the market. I am trying to figure out what is wrong in
> my Manifest :/  The Galaxy Mini user was able to side load the app,
> and works fine.. So not sure why it is being excluded. Also had a
> report that it was not working on Motorola Xoom (not visible in
> market). Is the Xoom at 3.2 already? That would be explained my my max
> SDK @ 12 instead of 13.
>
> Device search results
> Samsung
> Unsupported devices due to your manifest settings
> GT-S5570B(GT-S5570B)
> GT-S5570L(GT-S5570L)
> Design name search results
> Samsung
> Unsupported devices due to your manifest settings
> Galaxy Mini(GT-S5570)
> GT-S5570B(GT-S5570B)
>
> Not sure why.
>
>android:targetSdkVersion="8"/>
>android:smallScreens="true"
>  android:normalScreens="true"
>  android:largeScreens="true"
>  android:anyDensity="true" android:resizeable="true"/>
>
> Now I realize that maxSdkVersion="12" is not the highest currently,
> but if I put "13" then the market says that "13" is not currently
> supported (too high).
>
> My permissions from manifest are below.
>
>  permission>
>  android:name="android.permission.ACCESS_FINE_LOCATION"> permission>
>  android:name="android.permission.ACCESS_COARSE_LOCATION"> permission>
>  permission>
>  permission>
>  android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"> uses-permission>
> 
>  android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
>  android:name="android.permission.READ_EXTERNAL_STORAGE"/>
>
> From the market I see this :
> Supported Devices
> This application is only available to devices with these features, as
> defined in your application manifest.
> Screen layouts: SMALL NORMAL LARGE XLARGE
> Required device features
> android.hardware.camera
> android.hardware.location.network
> android.hardware.location
> android.hardware.location.gps
> android.hardware.camera.autofocus
> android.hardware.screen.landscape
> android.hardware.touchscreen
> android.hardware.screen.portrait
>
> Here is a list of unsuported devices.
>
> Unsupported devices due to your manifest settings
> ALM-001J(smdkv210)
> Archos 101 Internet Tablet(A101S)
> Dell Streak 10 Pro(Streak10Pro)
> unknown(magic)
> unknown(XT319)
> unknown(hws7300u)
> unknown(A101IT)
> unknown(VENUS)
> unknown(SCH-I589)
> unknown(p7901a)
> unknown(ASP320Q_GSM)
> unknown(u8150)
> unknown(nbx02)
> unknown(GT-B5510)
> unknown(harmony)
> unknown(LIFETAB_P9514)
> unknown(viewpad7x)
> unknown(ASP320Q)
> unknown(hwc8511)
> unknown(TB07STA)
> unknown(tostab04)
> unknown(hwm860)
> unknown(TB07FTA)
> unknown(SH8158U)
> unknown(huashan)
> unknown(mi_350)
> unknown(zt180)
> unknown(X500)
> unknown(msm7627_ntls)
> unknown(one_touch_918N_umts)
> unknown(one_touch_908A_gsm)
> unknown(mangrove7)
> unknown(GT-S5360L)
> unknown(CAP8)
> unknown(CAP6)
> unknown(anydata16_a10y)
> unknown(YPY)
> unknown(A80S)
> unknown(pasteur)
> unknown(AMD120)
> unknown(goldfish)
> unknown(icx1216)
> unknown(A70S)
> unknown(A70H)
> unknown(generic)
> unknown(fleming)
> unknown(utv210)
> unknown(OP070)
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

RE: [android-developers] Bizarre OpenGL performance on Samsung Galaxy.

2011-08-17 Thread Dan Raaka
Can you tell me the fingerprint of the device you are seeing this behavior ?
$ adb shell getprop | grep fingerprint 

-Dan

-Original Message-
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of calderwa
Sent: Tuesday, August 16, 2011 3:30 PM
To: Android Developers
Subject: [android-developers] Bizarre OpenGL performance on Samsung Galaxy.

HI. I have been writing some OpenGL ES 2.0 code, running on both my Galaxy S
and Asus transformer. The Galaxy exhibits a truly weird behaviour. When the
phone is connected to the PC via USB, or if it is connceted wirelessly using
the nVidia SGXPerfServer I get smooth 32 fps performance. If the phone is
disconnected it is extremely jerky and approximately half this rate. There
appears to be no appreciable garbage collection that might explain the
effect. It appears not to be a configuration issue, as the behaviour
switched between good and bad when the app is running, simply by plugging in
and out the USB cable.
The Asus transformer just runs the same irrespective of connection status.
Any ideas? I have searched long and hard on the web. I have found multiple
reports of poor openGL performance on Galaxy, but none related to connection
status.
All help gratefully received.

--
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 this group at
http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] What are the filesize limitation imposed by DownloadManager

2011-08-06 Thread dan raaka
The maximum value seems to be  defined
at 
./packages/providers/DownloadProvider/src/com/android/providers/downloads/StorageManager.java



/** the max amount of space allowed to be taken up by the downloads data dir
*/

private static final long sMaxdownloadDataDirSize =


Resources.getSystem().getInteger(R.integer.config_downloadDataDirSize) *
1024 * 1024;

The config value is defined as 100 elsewhere. So if download is larger than
100MB, the request will abort, no progress shows in Download Manager, and it
stuck there for ever. Is this expected behaviour ?


So - what are the max filesize that be downloaded by the DownloadManager at
the following locations

- sdcard

- /cache (assuming the apk has right permissions to do so)

- /data/data/com.android.provider.download/cache


Also - if there any limitation on how big the /data/data/com.myapp.tester
size can get ?


-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] DownloadManager to sdcard fail due to missing Download directory

2011-07-25 Thread Dan Raaka
This peice of code fails mostly because the "Download" directory is
missing on the mounted /sdcard.
Who is responsible for creating the directories .. my app or the
DownloadManager ?

public void onDownloader(View view) {
dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
Request request = new Request(Uri.parse("http://
www.imagebookers.com/gallery/d/2577-1/si0ux_-_debian_gold_wallpaper.png"));

 
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS,"example.png");
enqueue = dm.enqueue(request);
}

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Detecting app is pre-installed after it gets updated via android market

2011-07-20 Thread dan raaka
Thanks.

-Dan


On Wed, Jul 20, 2011 at 12:21 AM, Dianne Hackborn wrote:

> FLAG_SYSTEM means the app was originally installed on the system image.  If
> your app is pre-installed, and an update is installed from Market,
> FLAG_SYSTEM is still set for the updated app.
>
> On Tue, Jul 19, 2011 at 8:08 PM, dan raaka  wrote:
>
>> I have a app with versionCode=1, pre-installed on the device (ie. the app
>> is placed under /system/app partition)
>> Then I post an app updated, versionCode=2, on the android market and the
>> user download the updates the app. So, the updated app on the device is
>> located @ /data/app
>>
>> Under this scenario .. will the below piece of code properly detect that
>> the app is a system app ?
>>
>>if((pkgInfo.applicationInfo.flags &
>> ApplicationInfo.FLAG_SYSTEM)!=0){
>>isSysInstalled = true;
>>}
>>
>> -Dan
>>
>> --
>> 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 this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>  --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Detecting app is pre-installed after it gets updated via android market

2011-07-19 Thread dan raaka
I have a app with versionCode=1, pre-installed on the device (ie. the app is
placed under /system/app partition)
Then I post an app updated, versionCode=2, on the android market and the
user download the updates the app. So, the updated app on the device is
located @ /data/app

Under this scenario .. will the below piece of code properly detect that the
app is a system app ?

   if((pkgInfo.applicationInfo.flags &
ApplicationInfo.FLAG_SYSTEM)!=0){
   isSysInstalled = true;
   }

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Odp: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame

2011-07-17 Thread dan raaka
can you provide the build fingerprint of the device you are testing and
being able to reproduce ?
Also code snippet will be helpful ...

-Dan


On Sat, Jul 16, 2011 at 9:53 PM, Daniel  wrote:

> I have been getting reports of S2 crashes too... and based on this thread,
> and since i use SoundPool extensively, i'm pretty confident at this point
> that it is the cause.
> Has anyone been able to try native OpenSL ES audio, and seen better
> results? (Haven't got round to setting all that up yet since 2.3 adoption
> has been pretty slow). I guess it will depend on whether the problem is with
> SoundPool specifically or the lower level drivers.
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] sgs i9000 + adk

2011-06-29 Thread dan raaka
Check the device if the device support. Supporting accessory mode is
optional and not all device with 2.3.4 will support it.
$ adb shell pm list features | grep accessory

-Dan


On Sun, Jun 26, 2011 at 8:04 PM, bash  wrote:

> Hello android developers,
> I was wondering if anybody has been able to get an adk application
> working on the Samsung galaxy s I9000 and if so how was it done. I
> have upgraded to a leaked version of gingerbread 2.3.4 but get an
> error inside of the eclipse ide from the sdk that no compatiable
> device was found to run my sample adk application on. I have also
> tried installing miui 1.6.24 which is also based on gingerbread 2.3.4
> but I get the same error message as what I have stated before. Any
> help would be greatly appreciated.
> 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
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Accelerometer Senor

2011-06-29 Thread dan raaka
can you post the following from your device
$ adb shell getprop | grep fingerprint

-Dan


On Mon, Jun 27, 2011 at 11:44 PM, Sati  wrote:

> Hi,
> I am trying to read accelerometer sensor values on Samsung Galaxy Fit
> mobile.
>
> With reference to the android documentation, sensor has to output
> 9.81m/s2 when phone lies flat on table. But, I am getting values
> passed on from the sensor even in idle state.
>
> 1. Can i know the reason for it or is it the desired behavior ?
> 2. How can i tune the frequency of events received from the sensor
> aprt from DELAY_FASTEST, DELAY_NORMAL etc ?
>
> Can some one throw some light on this ?
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] App crashes on Samsung devices shortly after startup.

2011-06-29 Thread dan raaka
can you post the snippet of code ?

Also try this on your device ..
$ adb shell getprop | grep heap
to known the limitation on the device.

you can probably simulate these values on the emulator and check
the behavior without the device.

-Dan


On Wed, Jun 29, 2011 at 2:29 AM, Raghav Sood  wrote:

> Your error clearly states that your app is running out of memory. I don't
> know why this is happening only on Samsung devices but maybe you could
> modify your app to use less memory to prevent the error.
>
>
> On Wed, Jun 29, 2011 at 2:30 AM, gvd  wrote:
>
>> I'm getting emails from users (and 1 star comments) complaining that
>> my app crashes shortly after startup. At start-up my app uses
>> runOnFirstFix which will get the location and center/zoom on it (it's
>> uses Google Maps API). What it also does is download an animated GIF
>> image that is used as an overlay.
>> I did get a few crash reports a while back where I see:
>>
>> java.lang.OutOfMemoryError: bitmap size exceeds VM budget
>> at android.graphics.Bitmap.nativeCreate(Native Method)
>> at android.graphics.Bitmap.createBitmap(Bitmap.java:677)
>>
>> I'm aware that Bitmaps are created on the native heap.
>> However, the app works fine on my LG optimus and many other phones.
>> The people who actually send me information all seem to be using
>> Samsung devices (Samsung Epic, galaxy prevail,  Verizon Galaxy Tab,
>> Samsung Captivate).
>>
>> Does anybody have an idea on why this seems to happen on Samsung
>> devices?
>>
>> --
>> 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 this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Raghav Sood
> http://www.raghavsood.com/
> http://www.androidappcheck.com/
> http://www.telstop.tel/
>
>  --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread dan raaka
adb should be working all fine for development purposes on google i/o
device.
Also, 3.1 was OTA'ed to these devices starting yesterday : check this..

"SamsungJohn  John Imah
  Google I/O 3.1 Update is available, see details in link!
http://ow.ly/5eoTu";

-Dan


On Sat, Jun 11, 2011 at 8:53 AM, John Coryat  wrote:

> Doesn't show on my mac. All I've done is plug it in though, so there may be
> a workaround that I'm unaware of. I have four other devices so it's not a
> big deal. I must say that it's an excellent tablet. Once it's running 3.1 it
> will be even better. From what I understand, 3.1 is supposed to ship with
> the commercially available devices.
>
> -John Coryat
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Setting Ringtones

2011-06-11 Thread dan raaka
which device... this will help to find it ..
$ adb shell getprop | grep -i fingerprint

-Dan


On Thu, Jun 9, 2011 at 12:24 PM, MCON Dev  wrote:

> ContentValues values = new ContentValues();
>values.put(MediaStore.MediaColumns.DATA, resourcePath);
>values.put(MediaStore.MediaColumns.TITLE, (String) ((Button)
> v).getText());
>values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mp3");
>values.put(MediaStore.Audio.Media.IS_RINGTONE, true);
>values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
>values.put(MediaStore.Audio.Media.IS_ALARM, false);
>values.put(MediaStore.Audio.Media.IS_MUSIC, true);
>
>// Insert it into the database
>Uri uri =
> MediaStore.Audio.Media.getContentUriForPath(resourcePath);
>RingtoneManager.setActualDefaultRingtoneUri(this,
> RingtoneManager.TYPE_RINGTONE, uri);
>
> I set a mp3 ringtone (that plays well on my ubuntu and windows) on
> samsung galaxy android phone, but it gives a weird sound instead of
> the mp3.
>
> Conny
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: BackupAgent

2011-06-11 Thread dan raaka
see what you find here...
$ adb shell dumpsys backup

-Dan


On Fri, Jun 10, 2011 at 5:07 AM, b_t  wrote:

> Thank you for your response.
>
> All of these options are enabled in my phone but backup still doesn't
> work.
>
> Maybe the problem is about my ROM, I don't know
>
> On Jun 10, 1:14 pm, Kostya Vasilyev  wrote:
> > Ok, here is some info:
> >
> > http://developer.android.com/guide/topics/data/backup.html#Testing
> >
> > Ensure that backup is enabled
> >
> >- If using the emulator, you can enable backup with the following
> command
> >from your SDKtools/ path:
> >
> >adb shell bmgr enable true
> >
> >- If using a device, open the system *Settings*, select *Privacy*,
> then
> >enable *Back up my data* and *Automatic restore*.
> >-
> >( strangely enough, my Xperia Arc running 2.3.3 doesn't have this
> setting
> >under Privacy but a Galaxy S does )
> >-- Kostya
> >
> > 2011/6/10 Kostya Vasilyev 
> >
> >
> >
> >
> >
> >
> >
> > > I remember there being some kind of user setting when configuring a new
> > > phone.
> >
> > > Can't say exactly what it is, might be the second from the top under
> > > Accounts and Sync in Settings.
> >
> > > --
> > > Kostya Vasilyev
> > > 10.06.2011 13:01 пользователь "b_t"  написал:
> >
> > > > If I wipe user data when I start emulator then backup works.
> >
> > > > There is a setting or something that can disable backup process?
> >
> > > > What should I do to work it on my phone too?
> >
> > > > On Jun 10, 10:35 am, b_t  wrote:
> > > >> Hi,
> >
> > > >> I'm trying to implement BackupAgent functionality but I have no
> luck.
> >
> > > >> It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or
> in
> > > >> my device with 2.3.3.
> >
> > > >> In 2.3.x it just displays when I run "bmgr backup run" in adb shell:
> >
> > > >> 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling main entry
> > > >> com.android.commands.bmgr.Bmgr
> > > >> 06-10 10:25:39.273: DEBUG/AndroidRuntime(14616): Shutting down VM
> >
> > > >> In 2.2 emulator everything is ok!
> >
> > > >> Do you have any idea?
> >
> > > >> Thanks,
> > > >> Tamás
> >
> > > > --
> > > > 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 this group at
> > > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Will Android ever natively support Arabic language?

2011-06-11 Thread dan raaka
@Mark Murphy
NexusS is pure vanilla AOSP software. So, it should reflect whatever you
find in a emulator (SDK image). So, it was not a Samsung decision. There are
some discussions on the contrib email list of the RTL support in general ...

-Dan


On Fri, Jun 10, 2011 at 6:34 AM, Mark Murphy wrote:

> On Fri, Jun 10, 2011 at 9:04 AM, omar  wrote:
> > Hello,
> > Each day I read a new thread in Arabic forums about someone frustrated
> > that Android doesnt support Arabic, and what made things worse is that
> > in this page: http://d.android.com/sdk/android-2.3.html  , Arabic is
> > mentioned as its supported in Gingerbread, and I was lucky enough to
> > not rush and buy the Nexus S to discover it actually doesnt support
> > Arabic.
>
> That was a decision by Samsung, presumably.
>
> > So the question is: Will future Android releases receive native Arabic
> > support?
>
> Android is an operating system. Android supports Arabic today (though
> my understanding is that RTL support is better in Android 3.x).
>
> Whether any given device manufacturer elects to include Arabic in
> their firmware is up to the device manufacturer.
>
> Third-party firmwares (e.g., CyanogenMod) may include support for more
> languages than a given device supports from the manufacturer -- you'd
> need to see what their support is for Arabic.
>
> >  Will Ice Cream Sandwich have Arabic support?
>
> Considering that Gingerbread has Arabic support, and that Google has
> not dropped support for any language AFAIK, one would presume that ICS
> will have Arabic support.
>
> Whether any given ICS device has Arabic support is up to the device
> manufacturer.
>
> If you feel that device manufacturers are not supporting Arabic
> enough, please take up your issues with the device manufacturers in
> question.
>
> And, of course, absolutely none of this has anything whatsoever to do
> with this list.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android 3.0 Programming Books: http://commonsware.com/books
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-26 Thread dan raaka
can you post some logs &
$ adb shell getprop | grep -i finger
info 

-Dan


On Thu, May 26, 2011 at 6:58 PM, keyeslabs  wrote:

> I'm trying to use bluetooth SPP to establish a socket connection
> between two Android devices.  There are a few things that are really
> driving me crazy in this effort.
>
> First, the Galaxy Tab seems to just be broken when it comes to SPP.  I
> can establish the connection just fine, but after a few minutes, and
> most notably whenever the app on the Tab on which the SPP server
> socket was established is killed, the tablet effectively locks up,
> requiring a hard reboot (hold down the power for 7 seconds to
> reboot).  I've seen others mentioning the same thing in various
> places, but haven't seen any solutions.  Has anyone come up with
> ANYTHING to solve this issue?
>
> Second, I've been struggling to find a way to make it easy for users
> to pair devices.  I'm developing a full-screen game involving two
> devices, and the pairing request on 2.3 and later seems to happen
> (sometimes) as a notification, which doesn't do much good for a full
> screen game.  In some cases it does seem to be displayed as a dialog
> (which is what I want), but it's frequently as a notification.  Is
> anyone aware of a reliable way to initiate pairing via DIALOG
> automatically when a socket is opened between two unpaired devices?
>
> Finally, has anyone else noticed pairing requests happening twice?
> Dialog shows, user clicks pair, second dialog appears, click pair,
> pairing happens.
>
> Thanks for any help!
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-26 Thread dan raaka
thanks .. xav

-Dan


On Thu, May 26, 2011 at 6:37 PM, Zsolt Vasvari  wrote:

> I have to say, Xavier, Romain and Dianne are awesome.  How come some
> of this awesomeness cannot rub off on the Android Market team?
>
> On May 27, 8:42 am, Streets Of Boston  wrote:
> > Awesome!
> > 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
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-26 Thread dan raaka
Is the failure only on Google I/O devices ?
What about Moto Xoom - does it fail on 3.0.1 and 3.1 ?

-Dan


On Thu, May 26, 2011 at 8:11 AM, Streets Of Boston
wrote:

> I tried the following:
> In the sample's onCreate() method, i created the mentioned file in the
> cache-dir (0 size, readable, writable, executable).
> This got rid of the original error-message. But instead, it complained
> about the cache-file being too small and the sample still crashes.
>
> Then I put a megabyte of 0-values into that cache-file (no longer a 0
> size).
> This got rid of the 'being too small' error, but it started complaining
> about an incorrect magic cookie value in the cache-file. The sample still
> crashes.
>
> The cache-file can be created (there are no permission issues here). And
> when the cache-file is there, the sample actually use it as-is. It seems
> there is some sort of bug that opens the cache-file willy-nilly without
> properly checking for its existence (and failing to create one when
> necessary).
>
> *Is there some (renderscript) call we need to do to make sure a proper 
> cache-file
> is initially created for the given project?*
> 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 unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Rtsp Http Streaming

2011-05-26 Thread dan raaka
If this is a generic issue - please file a bug under b.android.com

-Dan


On Thu, May 26, 2011 at 1:55 AM, Hitendrasinh Gohil <
hitendra.virtuei...@gmail.com> wrote:

> hi,
>
> then just try to log the url that ur applying to datasource.and first check
> it out with vlc player that is it working or not?
> because there is an error with initialization.
>
>  --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] MonkeyImage.writeToFile error

2011-01-30 Thread dan raaka
I am running this as ./monkeyrunner test.py

 17 # Takes a screenshot
 18 result = device.takeSnapshot
 19
 20 # Writes the screenshot to a file
 21 result.writeToFile('shot1.png','png')

This throws an error as.. any thoughts ...

mini@tools$./monkeyrunner test.py
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions]
Script terminated due to an exception
110130 03:47:34.316:S [main]
[com.android.monkeyrunner.MonkeyRunnerOptions]Traceback (most recent call
last):
  File "/Users/dan/Android/android-sdk-mac_x86/tools/test.py", line 21, in

result.writeToFile('shot1.png','png')
AttributeError: 'instancemethod' object has no attribute 'writeToFile'

110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyException.fillInStackTrace(PyException.java:70)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
java.lang.Throwable.(Throwable.java:181)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
java.lang.Exception.(Exception.java:29)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
java.lang.RuntimeException.(RuntimeException.java:32)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyException.(PyException.java:46)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyException.(PyException.java:43)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyException.(PyException.java:61)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.Py.AttributeError(Py.java:145)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyObject.noAttributeError(PyObject.java:936)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyObject.__getattr__(PyObject.java:931)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.pycode._pyx0.f$0(/Users/dan/Android/android-sdk-mac_x86/tools/test.py:21)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.pycode._pyx0.call_function(/Users/dan/Android/android-sdk-mac_x86/tools/test.py)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyTableCode.call(PyTableCode.java:165)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.PyCode.call(PyCode.java:18)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.Py.runCode(Py.java:1197)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.core.__builtin__.execfile_flags(__builtin__.java:538)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:156)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
com.android.monkeyrunner.ScriptRunner.run(ScriptRunner.java:116)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
com.android.monkeyrunner.MonkeyRunnerStarter.run(MonkeyRunnerStarter.java:92)
110130 03:47:34.316:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] at
com.android.monkeyrunner.MonkeyRunnerStarter.main(MonkeyRunnerStarter.java:203)
mini@tools$


-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] access to getprop values pro-grammatically

2011-01-18 Thread Dan Raaka
I need to access a system property like ro.device.keypad (which
probably can be easily seen as $ adb shell getprop | grep keypad, on
the shell). I could use a hidden api, SystemProperties.get, but I
don't want to.

What is the API to get the getprop value/key pairs ?

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: 2.3 emulator and xhdpi support

2010-12-25 Thread dan raaka
which addon are you referring to ?
AFAIK there is only one addon for GalaxyTab that was released sometime ago
...

-Dan


On Thu, Dec 23, 2010 at 7:01 PM, James Wang  wrote:

> We noticed Samsung has released one addon for Nexus S but it is only
> 240 hdpi.
>
> There is no way to test xhdpi with emulator?
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Restricted location in publisher GUI is not working on some devices

2010-12-02 Thread dan raaka
I am seeing this "disappearing" issue on some of my apps as well.

-Dan


On Thu, Nov 25, 2010 at 4:28 AM, Chister Nordvik  wrote:

> I changed location to "All countries" and it appeared... so something
> is amiss here. But now I have all the other problems with apps
> disappearing, paging not working, screenshots disappearing so guess
> this issue is low on their list...
>
> On 13 Nov, 02:21, dan raaka  wrote:
> > market filtering goes beyond geo-restriction
> > go through this onehttp://
> developer.android.com/guide/appendix/market-filters.html
> >
> > -Dan
> >
> > On Wed, Nov 10, 2010 at 1:20 PM, Chister Nordvik 
> wrote:
> > > We have an application that is restricted to one country (Norway). But
> > > I am sitting here with multiple devices, HTC Wildfire, SE XP10 (after
> > > 2.1 upgrade) and SE XP 10 Mini (after 2.1 upgrade) that fails to find
> > > the application even though they are registered on a Norwegian network
> > > (Tele2). The SE devices found the application before they got the 2.1
> > > upgrade, and I have lots of other devices (Nexus One, HTC Desire, HTC
> > > Tattoo, Galaxy Tab) that finds the app without any problems.
> >
> > > This is very important for us since we can't enable the app worldwide
> > > due to copyright issues, so is there any way to resolve this issue? Is
> > > it the operator or the Android device that fails to report the correct
> > > country here?
> >
> > > Any help would be greatly appreciated.
> >
> > > --
> > > 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 this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> >
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Right value getRefreshRate in android devices ..

2010-12-02 Thread Dan Raaka
What is the expected value for this API on android devices ?
http://developer.android.com/reference/android/view/Display.html#getRefreshRate()

Should it match the claimed screen display refresh rate or 60 ?

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Product images for marketing materials

2010-11-14 Thread dan raaka
Will get back to you soon Phil on this thread.

-Dan


On Sat, Nov 13, 2010 at 8:46 AM, Bret Foreman wrote:

> MOTODEV has fantastic developer support. Contact me directly if you
> want specific names of people who have helped me.
>
> On Nov 13, 4:42 am, Mark Murphy  wrote:
> > For Motorola, use MOTODEV.
> >
> > I cannot comment on HTC's plans in this area, though I remain hopeful.
> >
> > I have nary a clue what Samsung intends to do, particularly since they
> > also have bada to support.
> >
> > On Sat, Nov 13, 2010 at 7:28 AM, Phil Endecott
> >
> >
> >
> >  wrote:
> > > On Nov 13, 1:24 am, dan raaka  wrote:
> > >>http://www.samsung.com/us/support/contact
> >
> > > Thanks Dan.  Actually I had spent quite a long time on the phone
> > > trying to find the right person at Samsung before I posted here.  The
> > > closest I was able to find was their press relations team, but they
> > > didn't return my calls.
> >
> > > The flyers are now done, but with only Apple product images.  Those of
> > > you who are also iPhone developers will know that they have an artwork
> > > license agreement that you print out and mail to them to get
> > > permission to use the product images.  At the time I thought this was
> > > a bit bureaucratic, but it's better than having nothing at all!
> >
> > > This raises the more general question of who our contacts with "the
> > > industry" are supposed to be.  Do we talk to Google, or to the product
> > > vendors?  Google do seem to have some points of contact, but my
> > > (brief) research can't find any significant "developer support"
> > > contacts or resources from Samsung, HTC or Motorola.  Am I looking in
> > > the wrong places?
> >
> > > --
> > > 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 this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy<http://github.com/commonsguyhttp://commonsware.com/blog%7Chttp://twitter.com/commonsguy>
> >
> > Android Training in London:http://bit.ly/smand1andhttp://bit.ly/smand2
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Product images for marketing materials

2010-11-12 Thread dan raaka
http://www.samsung.com/us/support/contact

-Dan


On Wed, Nov 10, 2010 at 12:43 PM, Kostya Vasilyev wrote:

> Phil,
>
> If you want to get a response from Samsung, you might have better chance
> contacting the team that specifically maintains their web site, especially
> since you probably downloaded the image from their web site.
>
> There is usually a special email, such as i...@. or w...@ listed
> along the bottom of the site's pages.
>
> -- Kostya
>
> 10.11.2010 21:56, Mark Murphy пишет:
>
>  On Wed, Nov 10, 2010 at 1:05 PM, Phil Endecott
>>   wrote:
>>
>>> Is there anyone out there who can offer a sensible reply?
>>>
>> Only if you define "sensible" as "not what you want to hear".
>>
>>   Do any
>>> Android device vendors publish product images with terms that allow
>>> developers to re-use them?
>>>
>> That would be a question for the media/press relations department at
>> the device manufacturer in question. For relatively-traditional media,
>> such as a newspaper or blog, stuff in a vendor's press area works
>> fine, but that doesn't appear to be your intended use. However, they
>> would be a fairly likely starting point to try to figure out what the
>> rules are for your sort of situation.
>>
>> If you have some sort of co-marketing deal with a device manufacturer,
>> image licenses like the ones you seek are probably part of that
>> arrangement.
>>
>>   Is anyone from Samsung reading this list?
>>>
>> > From Samsung's media/press relations department? I doubt it. And even
>> if Samsung engineers are on this list, they aren't exactly going to be
>> qualified, let alone authoritative, on this topic.
>>
>> Note that this list is for programming assistance, and your questions
>> are not related to programming.
>>
>>
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget --
> http://kmansoft.wordpress.com
>
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Restricted location in publisher GUI is not working on some devices

2010-11-12 Thread dan raaka
market filtering goes beyond geo-restriction
go through this one
http://developer.android.com/guide/appendix/market-filters.html

-Dan


On Wed, Nov 10, 2010 at 1:20 PM, Chister Nordvik  wrote:

> We have an application that is restricted to one country (Norway). But
> I am sitting here with multiple devices, HTC Wildfire, SE XP10 (after
> 2.1 upgrade) and SE XP 10 Mini (after 2.1 upgrade) that fails to find
> the application even though they are registered on a Norwegian network
> (Tele2). The SE devices found the application before they got the 2.1
> upgrade, and I have lots of other devices (Nexus One, HTC Desire, HTC
> Tattoo, Galaxy Tab) that finds the app without any problems.
>
> This is very important for us since we can't enable the app worldwide
> due to copyright issues, so is there any way to resolve this issue? Is
> it the operator or the Android device that fails to report the correct
> country here?
>
> Any help would be greatly appreciated.
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] multiple mime type in email

2010-11-07 Thread dan raaka
bump ..

-Dan


On Thu, Nov 4, 2010 at 8:24 PM, Dan Raaka  wrote:

> I have a email body in HTML and I need to attach an text file, xml
> file and an image to the email. I am starting with xml
>
> In my app with package name com.danraaka.apper
>
> String filePath = "/data/data/com.danraaka.apper/Results.xml";
>
> Intent emailIntent = new Intent(
>android.content.Intent.ACTION_SEND);
> emailIntent.setType("text/html");
> emailIntent.putExtra(Intent.EXTRA_EMAIL,
>emailAddress);
> emailIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
> emailIntent.putExtra(Intent.EXTRA_TEXT, Html.fromHtml(emailBody)); <-
> This gives me the HTML
> emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new
> File(filePath)));
>
> result in the email with ZERO bytes.
>
> In the Log for Gmail I see
>
> D/Gmail   ( 6085): ComposeActivity added to message:0 attachment:|
> Results.xml|text/html|0|text/html|LOCAL_FILE|file:///data/data/
> com.danraaka.apper/Results.xml size:0
>
> I/Gmail   ( 6085): >>>>> Attachment uri:
> file:///data/data/com.danraaka.apper/Results.xml
> I/Gmail   ( 6085): >>>>>   type: text/html
> I/Gmail   ( 6085): >>>>>   name: Results.xml
> I/Gmail   ( 6085): >>>>>   size: 0
> D/Gmail   ( 2514): MailEngine.sendOrSaveMessage
> messageId=1351537232451731456 refMessageId=0,
> conversationId=1351537232451731456
>
> D/Gmail   ( 2514): MailProvider.insert(): added local message 90
>
>
> Any pointers will be highly appreciated ?
>
> -Dan
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] multiple mime type in email

2010-11-04 Thread Dan Raaka
I have a email body in HTML and I need to attach an text file, xml
file and an image to the email. I am starting with xml

In my app with package name com.danraaka.apper

String filePath = "/data/data/com.danraaka.apper/Results.xml";

Intent emailIntent = new Intent(
android.content.Intent.ACTION_SEND);
emailIntent.setType("text/html");
emailIntent.putExtra(Intent.EXTRA_EMAIL,
emailAddress);
emailIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
emailIntent.putExtra(Intent.EXTRA_TEXT, Html.fromHtml(emailBody)); <-
This gives me the HTML
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new
File(filePath)));

result in the email with ZERO bytes.

In the Log for Gmail I see

D/Gmail   ( 6085): ComposeActivity added to message:0 attachment:|
Results.xml|text/html|0|text/html|LOCAL_FILE|file:///data/data/
com.danraaka.apper/Results.xml size:0

I/Gmail   ( 6085): > Attachment uri: 
file:///data/data/com.danraaka.apper/Results.xml
I/Gmail   ( 6085): >   type: text/html
I/Gmail   ( 6085): >   name: Results.xml
I/Gmail   ( 6085): >   size: 0
D/Gmail   ( 2514): MailEngine.sendOrSaveMessage
messageId=1351537232451731456 refMessageId=0,
conversationId=1351537232451731456

D/Gmail   ( 2514): MailProvider.insert(): added local message 90


Any pointers will be highly appreciated ?

-Madan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Life after G1

2010-10-24 Thread dan raaka
You *can* do app development with captivate.

-Dan


On Sun, Oct 24, 2010 at 9:16 AM, Dianne Hackborn wrote:

> On Sun, Oct 24, 2010 at 9:05 AM, mikek  wrote:
>
>> It appears that the captivate is quite a good phone but it's not
>> obvious that an app can be installed and debugged through the USB
>> since the setting for "allow third party app installs" is removed.
>> Does anyone have experience with it?
>>
>
> For a phone to have Market, it *must* have full adb support and everything
> else needed to be used as an app development target.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>
>  --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] samsung galaxy tab - fullscreen problem

2010-10-13 Thread dan raaka
and this one too
http://innovator.samsungmobile.com/galaxyTab.do

-Dan


On Wed, Oct 13, 2010 at 10:35 AM, Kumar Bibek  wrote:

> Go thru this
>
> http://developer.android.com/guide/practices/screens_support.html
>
>
> On Mon, Oct 11, 2010 at 5:12 PM, smidik  wrote:
>
>> Hello,
>>
>> i am running an application on samsung galaxy tab with 7-inch display.
>> Problem is that application screen size is smaller than max available
>> screen of galaxy tab.
>>
>> Application is running on 800x400 but display of samsung galaxy tab is
>> larger.
>>
>> Can anyone help me with this problem?
>> How to set up the application to run full screen on a galaxy tab?
>>
>> can anyone help me please?
>>
>> thank you
>>
>> martin
>>
>> --
>> 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 this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Kumar Bibek
> http://techdroid.kbeanie.com
> http://www.kbeanie.com
>
>
>  --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Upgrading OS to 2.2

2010-10-13 Thread dan raaka
you would want to wait till JI6  which would happen as a over the air ..

http://androidspin.com/2010/10/07/samsung-states-t-mobile-vibrant-ji6-ota-update-is-rolling-out/
-Dan


On Wed, Oct 13, 2010 at 8:50 AM, olegkon  wrote:

> Hi,
>
> I just got Samsung Vibrant (Galaxy S) from T-mobile,
> it came with Android 2.1
> Sales guy said T-mob will send you upgrade automatically
> by the end of the month.  Anybody knows if this is true ?
>
> Is it a big problem to upgrade it myself (prefer not to, total newbie
> here).
>
> I need it to do some Flex development,
> was told that Flash Player 10.1 works only with Android 2.2.
> BTW, is it true ?
>
>
> Please advise,
>
> TIA,
> Oleg.
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Is Samsung Galaxy Tab NOT a large screen from application developer's point of view?

2010-10-12 Thread dan raaka
For all the folks who were waiting for it ..
http://innovator.samsungmobile.com/galaxyTab.do

-Dan


2010/10/6 Argon Konay 

> Thanks a lot for your quick replies. I will generate an hardcoded demo
> specific to Galaxy Tab.
>
> Argon
>
> On Oct 6, 2:17 am, Dianne Hackborn  wrote:
> > You are using a pre-production device.  Things may not work as intended.
> :}
> >
> > 2010/10/5 Argon Konay 
> >
> >
> >
> >
> >
> > > This may be a repost:
> >
> > > (getResources().getConfiguration().screenLayout &
> > > Configuration.SCREENLAYOUT_SIZE_LARGE) ==
> > > Configuration.SCREENLAYOUT_SIZE_LARGE returns false on my Samsung
> > > Galaxy Tab.
> >
> > > Dan, have you tested your comment on an actual Galaxy Tab?
> >
> > > Regards,
> > > Argon
> >
> > > On 5 Ekim, 22:29, dan raaka  wrote:
> > > > GalaxyTab is a LARGE/HDPI device.
> >
> > > > Having android:largeScreens="true" in your manifest just makes sure
> that
> > > the
> > > > android market doesn't filter your app out of LARGE devices. Similar
> > > > arguments holds true for android:anyDensity="true"
> >
> > > > -Dan
> >
> > > > On Tue, Oct 5, 2010 at 11:44 AM, Argon Konay <
> haluk.tufe...@gmail.com
> > > >wrote:
> >
> > > > > Hi,
> >
> > > > > I have layout issues in my application on Samsung Galaxy Tab. It
> has a
> > > > > 7" TFT display with 1024x600 resolution.
> >
> > > > > Galaxy Tab prefers images in "res/drawable-hdpi" to the ones in
> "res/
> > > > > drawable". That is understandable.
> > > > > However resources in "res/layout" are used instead of the ones in
> "res/
> > > > > layout-large". Does it have a logical explanation? Or what am I
> doing
> > > > > wrong? What is a large screen for Android?
> >
> > > > > Manifest contains
> > > > >  > > > >  android:smallScreens="true"
> > > > >  android:normalScreens="true"
> > > > >  android:largeScreens="true"
> > > > >  android:anyDensity="true" />
> > > > >  > > > >  android:minSdkVersion="4"
> > > > >  android:targetSdkVersion="7" />
> >
> > > > > Thanks in advance
> >
> > > > > Argon
> >
> > > > > --
> > > > > 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 this group at
> > > > >http://groups.google.com/group/android-developers?hl=en-Alıntıyı<http://groups.google.com/group/android-developers?hl=en-Al%C4%B1nt%C4%B1y%C4%B1>gizle
> > > -
> >
> > > > - Alıntıyı göster -
> >
> > > --
> > > 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 this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] bugreport tutorial

2010-10-08 Thread Dan Raaka
Is there any documentation around how to interpret
adb bugreport

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Live wallpaper not showing up on Samsung Captivate 2.1 update 1 while shows up fine on Droid1 Froyo

2010-10-07 Thread dan raaka
Do you specify the the uses-feature string "android.software.live_wallpaper"
on you manifest ?

-Dan


On Wed, Oct 6, 2010 at 7:41 AM, Jai  wrote:

> I have a live wallpaper published in the market called "Painter ants
> live", it shows up fine on my Droid1 froyo but not on Samsung
> Captivate 2.1 update 1. Any inputs will be helpful. Thanks.
>
> The minSDKVersion and targetSDKVersion are both 7. The only problem
> that I can see is that the first version was built with targetsdk8 but
> was rectified later (twice) with targetsdk7.
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Is Samsung Galaxy Tab NOT a large screen from application developer's point of view?

2010-10-05 Thread dan raaka
Argon,

Most likely you are using a pre-release build !!
Build reaching users are LARGE/HDPI as stated earlier.

-Dan


On Tue, Oct 5, 2010 at 1:37 PM, Chris Stewart  wrote:

> OK, I'll ask...
>
> So, uh, how did you get a Galaxy Tab???
>
> --
> Chris Stewart
> http://chriswstewart.com
>
> Fantasy 
> Football<http://chriswstewart.com/android-applications/fantasy-football/>- 
> Android app for MFL fantasy football owners
>
>
>
> On Tue, Oct 5, 2010 at 3:32 PM, Kumar Bibek  wrote:
>
>> I would expect it topick up layout files from the layout-large. I dont
>> have a tab to test it out. May be if anyone else can confirm this?
>>
>>
>> On Wed, Oct 6, 2010 at 12:59 AM, dan raaka  wrote:
>>
>>> GalaxyTab is a LARGE/HDPI device.
>>>
>>> Having android:largeScreens="true" in your manifest just makes sure that
>>> the android market doesn't filter your app out of LARGE devices. Similar
>>> arguments holds true for android:anyDensity="true"
>>>
>>> -Dan
>>>
>>>
>>> On Tue, Oct 5, 2010 at 11:44 AM, Argon Konay wrote:
>>>
>>>> Hi,
>>>>
>>>> I have layout issues in my application on Samsung Galaxy Tab. It has a
>>>> 7" TFT display with 1024x600 resolution.
>>>>
>>>> Galaxy Tab prefers images in "res/drawable-hdpi" to the ones in "res/
>>>> drawable". That is understandable.
>>>> However resources in "res/layout" are used instead of the ones in "res/
>>>> layout-large". Does it have a logical explanation? Or what am I doing
>>>> wrong? What is a large screen for Android?
>>>>
>>>> Manifest contains
>>>> >>>  android:smallScreens="true"
>>>>  android:normalScreens="true"
>>>>  android:largeScreens="true"
>>>>  android:anyDensity="true" />
>>>> >>>  android:minSdkVersion="4"
>>>>  android:targetSdkVersion="7" />
>>>>
>>>> Thanks in advance
>>>>
>>>> Argon
>>>>
>>>> --
>>>> 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 this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>> --
>>> 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 this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> --
>> Kumar Bibek
>> http://techdroid.kbeanie.com
>> http://www.kbeanie.com
>>
>> --
>> 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 this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] a good way to do screen cast on android

2010-10-05 Thread dan raaka
galaxyS does screen replication on the video output
http://www.samsung.com/us/mobile/cell-phones-accessories/ECC1TX1BBEGSTA

-Dan


On Mon, Oct 4, 2010 at 10:15 AM, Mark Murphy wrote:

> On Mon, Oct 4, 2010 at 1:11 PM, dadada  wrote:
> > is there a good way to do screen cast on android?
>
> If you can live with ~5fps, you can grab screenshots via the protocol
> used by DDMS and stitch them together into a video.
>
> Or, if you have a Droid Incredible, Samsung Galaxy S, or other device
> that can output its main screen to a television, you can probably find
> a way to record that signal. Unfortunately, many of the HDMI-capable
> devices only seem to display certain content on the HDMI output (e.g.,
> video playback from the device's built-in video player app).
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training...At Your Office: http://commonsware.com/training
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Is Samsung Galaxy Tab NOT a large screen from application developer's point of view?

2010-10-05 Thread dan raaka
GalaxyTab is a LARGE/HDPI device.

Having android:largeScreens="true" in your manifest just makes sure that the
android market doesn't filter your app out of LARGE devices. Similar
arguments holds true for android:anyDensity="true"

-Dan


On Tue, Oct 5, 2010 at 11:44 AM, Argon Konay wrote:

> Hi,
>
> I have layout issues in my application on Samsung Galaxy Tab. It has a
> 7" TFT display with 1024x600 resolution.
>
> Galaxy Tab prefers images in "res/drawable-hdpi" to the ones in "res/
> drawable". That is understandable.
> However resources in "res/layout" are used instead of the ones in "res/
> layout-large". Does it have a logical explanation? Or what am I doing
> wrong? What is a large screen for Android?
>
> Manifest contains
>   android:smallScreens="true"
>  android:normalScreens="true"
>  android:largeScreens="true"
>  android:anyDensity="true" />
>   android:minSdkVersion="4"
>  android:targetSdkVersion="7" />
>
> Thanks in advance
>
> Argon
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: MediaPlayer cant play audio files from program data folder ?

2010-09-26 Thread dan raaka
post code snippet

-Dan


2010/9/23 dmtrl...@gmail.com 

> Thank you for reply, but i think its not correct behavior for
> platform. My data in my folder not playing from my program
>
> On 23 сен, 06:49, dan raaka  wrote:
> > That is due to filepermissions.
> > I doubt this issue is specific to T959, that should be behavior on all
> > android devices.
> >
> > -Dan
> >
> > On Wed, Sep 22, 2010 at 10:11 AM, dmtrl...@gmail.com  >wrote:
> >
> >
> >
> > > Hi all!
> >
> > > When i record my audio from MIC and store file in /data/data/. why
> > > MediaPlayer can't play this file ? If i change destination to /
> > > sdcard/. - all works great. I do something wrong ? I not found
> > > limitation for MediaPlayer.  Device - Samsung T959 (Galaxy S)
> >
> > > Thanks, i hope anybody know solution
> >
> > > --
> > > 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 cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] getFlashMode method

2010-09-26 Thread dan raaka
Have you thought about adding the following into your AndroidManifest.xml




-Dan


On Thu, Sep 23, 2010 at 11:54 AM, runt wrote:

> Ok,
>
> I am trying to write an app that will only run if the phone has a
> camera flash (i.e. not on my HTC Hero but on a HTC EVO 4G or Samsung
> Epic 4G, etc...).  I found a code sample that will set the flash mode
> (and should work) but after modifying it to get the flash mode I am
> told that no phone has a flash when I run it even if they do.  My code
> is as follows, I'd appreciate any help on figuring out what I did
> wrong since it looks correct to me.
>
>
> final Camera mCamera = Camera.open();
>final Camera.Parameters params = mCamera.getParameters();
>Method methodGetFlashMode = null;
>Class[] methodGetFlashModeSignature = new Class[] {
>String.class
>};
>
>try {
>methodGetFlashMode =
> params.getClass().getMethod("getFlashMode",
> methodGetFlashModeSignature);
>}
>catch (NoSuchMethodException nsme) {
>}
>
>if (methodGetFlashMode == null) {
>AlertDialog alertDialog = new
> AlertDialog.Builder(this).create();
>alertDialog.setTitle("Error");
>alertDialog.setMessage("You do not have a flash");
>alertDialog.setButton("OK", new
> DialogInterface.OnClickListener() {
>  public void onClick(DialogInterface dialog, int which)
> {
>  mCamera.release();
>  finish();
>  } });
>alertDialog.show();
>};
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Problem with AudioRecord on Samsung Moment

2010-09-26 Thread dan raaka
you should first check if the particular combination is supported or NOT.

Raun "AudioCaps" on this device build and see if the issue causing
samplerate/encoding combination is supported or NOT.

-Dan


On Sun, Sep 26, 2010 at 2:29 AM, Omer Gilad  wrote:

> Samsung devices (all of them) have many bugs related to audio API.
> In our application we've handled this by applying specific solutions
> to known device models - you will have to investigate and find
> workarounds for that.
>
> On Sep 26, 4:05 am, Steve Hugg  wrote:
> > We have been getting reports of audio recording not working on Samsung
> > Moment phones on 2.1-update1.
> >
> >  int bufferSize = AudioRecord.getMinBufferSize(sampleRate,
> > AudioFormat.CHANNEL_IN_MONO,
> > AudioFormat.ENCODING_PCM_16BIT);
> >  this.audioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC,
> > sampleRate,
> > AudioFormat.CHANNEL_IN_MONO,
> > AudioFormat.ENCODING_PCM_16BIT, bufferSize);
> >
> > generates these logs:
> >
> > I/AudioPolicyManager( 1889): getInput() inputSource 1, samplingRate
> > 16000, format 1, channels 10, acoustics 0
> > W/AudioHardwareALSA( 1889): openInputStream : mInput already exists!!
> > E/AudioRecord( 2618): Could not get audio input for record source 1
> > E/AudioRecord-JNI( 2618): Error creating AudioRecord instance:
> > initialization check failed.
> > E/AudioRecord-Java( 2618): [ android.media.AudioRecord ] Error code
> > -20 when initializing native AudioRecord object.
> >
> > I can't find the "mInput already exists" anywhere in the source base,
> > could this perhaps be an error message included by the OEM?
> >
> > 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 unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android devices supporting OpenGL ES 2.0 (at least through NDK) as of September 2010

2010-09-22 Thread dan raaka
are you looking to target devices which supports openGL 2.0 or just want to
know the extensions supported ?

-Dan


On Tue, Sep 21, 2010 at 2:21 PM, RS  wrote:

> That sums it Robert. Thanks a lot.
> So on Snapdragon / PowerVR SGX 5xx, OpenGL ES 2.0 should work at least
> through NDK (assuming SDK > 2.0).
> Anyway if anybody has a list of these with extensions available on
> each (other than the stackoverflow link I posted,) it would be very
> useful.
>
> Thanks and regards,
> RS
>
> On Sep 21, 4:43 pm, Robert Green  wrote:
> > You're going to find a couple of major chips used for Android phones
> > so just knowing that lets you know what it supports:
> >
> > Integrated CPU/GPU
> > Qualcomm MSM7200 - OpenGL ES 1.1 (G1, Hero, MyTouch, Cliq, Blur, Eris)
> > Qualcomm Snapdragon - ES 2.0 (N1, EVO, Incredible, others)
> >
> > Dedicated GPU
> > Any PowerVR SGX 5xx - ES 2.0 (Droid, Galaxy S, many others)
> >
> > On Sep 21, 8:33 am, RS  wrote:
> >
> >
> >
> > > Thanks, hope that would be the same on the Samsung tablet too.
> > > I'd be very happy to hear from anybody with any other device even if
> > > it doesn't support OpenGL ES 2.0, especially if you could post the
> > > supported extensions.
> > > Thanks again.
> > > RS
> >
> > > On Sep 21, 1:05 pm, nagaraj attimani 
> > > wrote:
> >
> > > > Samsung Galaxy supports OpenGL ES 2.0
> >
> > > > On Tue, Sep 21, 2010 at 5:30 PM, RS  wrote:
> > > > > Is there some place where I can find a list of android devices with
> > > > > OpenGL ES 2.0 (at least through NDK for 2.x devices)?
> >
> > > > > Or could some developer with any of these comment on how OpenGL ES
> 2.0
> > > > > worked on their device?
> > > > >  - Nexus One - running SDK 2.1 (Works through NDK)
> > > > >  - Nexus One - running SDK 2.2 (Works)
> > > > >  - Droid (Works)
> > > > >  - Droid 2 (Works)
> > > > >  - Samsung (various phone models) ?
> > > > >  - Samsung Tablet ?
> > > > >  - Any other ?
> >
> > > > > To know the extensions available would also be very useful.
> > > > > Desire appears very close to Nexus One as expected.
> >
> > > > > The list in stackoverflow is old but the closest I could find:
> >
> > > > >
> http://stackoverflow.com/questions/2093594/opengl-extensions-availabl...
> >
> > > > > Thanks in advance,
> > > > > RS
> >
> > > > > --
> > > > > 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 cr...@googlegroups.com>
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > > --
> > > > Warm Regards,
> > > > Nagaraj
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] MediaPlayer cant play audio files from program data folder ?

2010-09-22 Thread dan raaka
That is due to filepermissions.
I doubt this issue is specific to T959, that should be behavior on all
android devices.

-Dan


On Wed, Sep 22, 2010 at 10:11 AM, dmtrl...@gmail.com wrote:

> Hi all!
>
> When i record my audio from MIC and store file in /data/data/. why
> MediaPlayer can't play this file ? If i change destination to /
> sdcard/. - all works great. I do something wrong ? I not found
> limitation for MediaPlayer.  Device - Samsung T959 (Galaxy S)
>
> Thanks, i hope anybody know solution
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Creating a Galaxy Tab AVD without waiting for Samsung's release?

2010-09-17 Thread dan raaka
in case of tab, it is really straight forward
set ro.sf.lcd_density=240

-Dan


On Tue, Sep 14, 2010 at 7:44 PM, grge  wrote:

> This question is also for future devices, how do I create AVDs that
> report "fake" information, I can't make one that is 1024x600,
> 170density but reports as HDPI from the DisplayMetrics class, the blog
> post suggests there is no known configuration that can't be made on
> the AVDs?
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Samsung Galaxy S and Bluetooth Issues

2010-09-12 Thread dan raaka
let me know the build fingerprint of your device

-Dan


On Fri, Sep 10, 2010 at 4:21 AM, snedex  wrote:

> Hi Don,
>
> Thanks for responding, Sorry about the slow response.
> OK at least that gives me more information on trying to circumvent
> this issue, still having no joy with it.
> Have you had any luck at all?
>
> Thanks!
>
>
> On Aug 12, 7:47 pm, DonFrench  wrote:
> > I also have aBluetoothapp that I developed using a Nexus One and I
> > am finding that some carriers have disabledBluetoothserial in their
> > phones, presumably to prevent tethering.  I don't know if this is the
> > case with the phone you tested with or not but this might be the way
> > they are preventing the BT connection.  With the Verizon Droid, it
> > makes the connection and then immediately drops it.
> >
> > On Aug 10, 2:48 pm, snedex  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@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-08 Thread dan raaka
Try the "soundcheck" app on the android market to check the valid
frequencies supported on the device.

-Dan


On Tue, Sep 7, 2010 at 10:52 PM, Krishna Mohan wrote:

> Hi,
>Android's AudioFlinger does the job of downsampling to 8khz irrespective
> of whatever be the top level applications sampling rate setting.
> AudioFlinger will down sample to 8khz and record. You may try another method
> of recording using arecord utility of alsa.
>
> #alsa_arecord -f 16000 -c 2 -Dhw:0,0 test.wav
>
> In the above alsa_arecord is a soft link to alsa_aplay and -Dhw:0,0 or
> -Dhw:0,1 depends on ur sound card. its the capturing device. If this works
> fine...then something has gone wrong in android when passing audio
> parameters to kernel.
>
> Regards,
> -D Krishna Mohan
>
>   On Tue, Sep 7, 2010 at 2:29 AM, dan raaka  wrote:
>
>>   what is the build fingerprint on your device ?
>>
>> $ adb shell getprop | grep finger
>> -Dan
>>
>>
>>On Wed, Sep 1, 2010 at 12:44 PM, Steve Hugg wrote:
>>
>>> Our app has a problem with AudioRecord where the recorded audio is
>>> very slw (sound like it's 2x slower). We use
>>> AudioRecord.getMinBufferSize to try 16000 Hz first and then back down
>>> to 8000 Hz if that function returns an error. So my guess is that the
>>> audio is reported as 8000 Hz even though it's really sampling @ 16000
>>> Hz.
>>>
>>> It seems that the problem could also be that the output stream is
>>> stereo, not mono. We're passing AudioFormat.CHANNEL_IN_MONO on API
>>> levels 5 and above and AudioFormat.CHANNEL_CONFIGURATION_MONO
>>> (deprecated) on the earlier devices. This seems to be how it works for
>>> AudioTrack. But is this how it works for AudioRecord?
>>>
>>> --
>>>  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 this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>> --
>> 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 this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
> --
>  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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] runs on emulator crashs on galaxy s

2010-09-08 Thread dan raaka
what app is this ?

-Dan


On Wed, Sep 8, 2010 at 8:33 AM, Sebastián Treu wrote:

> On Wed, Sep 8, 2010 at 12:22 PM, momojo  wrote:
> > I have an app the runs fine on my emulator and my incredible with
> > android 2.2. Users say my app won't run on the galaxy s. What options
> > exist to troubleshooting this? Is there a special agreement for galaxy?
> >
>
> It could be a permissions issue. Emulator runs rooted. Check your
> permissions.
>
> --
> If you want freedom, compile the source.
>
> Sebastián Treu
> http://labombiya.com.ar
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] 1024x600 emulator: no access to 'menu' or other buttons

2010-09-06 Thread dan raaka
you can always scale the emulator so you can reduce the size on the screen
(Check -scale or -dpi options)

-Dan


On Fri, Sep 3, 2010 at 9:12 PM, Xavier Ducrohet  wrote:

> what Matthew said.
>
> for reference you can get the list by doing "emulator -help-keys"
>
> On Thu, Sep 2, 2010 at 1:04 PM, Matthew Bafford 
> wrote:
> > On Thu, Sep 2, 2010 at 14:49, jsdf  wrote:
> >>
> >> When we start the emulator, the touch surface takes up the entire
> >> window, and we no longer see the emulator keyboard, hard buttons, or
> >> (most importantly) the menu button on the right.
> >> The emulator's window does not scale, so it is not simply a matter of
> >> making the emulator window larger, unfortunately.
> >>
> >
> > You can access all of those buttons using keyboard shortcuts:
> >
> http://developer.android.com/guide/developing/tools/emulator.html#controlling
> >
> > --
> > 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 this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. 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 unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-06 Thread dan raaka
what is the build fingerprint on your device ?

$ adb shell getprop | grep finger
-Dan


On Wed, Sep 1, 2010 at 12:44 PM, Steve Hugg  wrote:

> Our app has a problem with AudioRecord where the recorded audio is
> very slw (sound like it's 2x slower). We use
> AudioRecord.getMinBufferSize to try 16000 Hz first and then back down
> to 8000 Hz if that function returns an error. So my guess is that the
> audio is reported as 8000 Hz even though it's really sampling @ 16000
> Hz.
>
> It seems that the problem could also be that the output stream is
> stereo, not mono. We're passing AudioFormat.CHANNEL_IN_MONO on API
> levels 5 and above and AudioFormat.CHANNEL_CONFIGURATION_MONO
> (deprecated) on the earlier devices. This seems to be how it works for
> AudioTrack. But is this how it works for AudioRecord?
>
> --
>  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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Developing Android app for tablet

2010-09-06 Thread dan raaka
If you app depends on a specific feature - make sure you define it properly
with the uses-feture string in your AndroidManifest.xml or atleast do some
graceful degradation of features at runtime by checking
getSystemAvailableFeatures()

Also, when creating a P1 AVD note that the lcd density must be set to 240.

-Dan


On Mon, Sep 6, 2010 at 1:50 PM, Indicator Veritatis wrote:

> Don't thank them too profusely yet. They all left out the most
> important consideration: make sure your application checks for 'null'
> coming back from Context.getSystemService(), since a tablet might not
> have all the same system services a phone does. In particular,
> obviously, many tablets have no telephony service. So you have to
> check for null and handle it gracefully.
>
> Finally, though he didn't actually put it that way in so many words,
> you should be able to figure out from Droid's comment that you need to
> handle screen sizes and densities that are unusual on a phone.
>
> On Sep 5, 11:49 pm, ytbryan  wrote:
> > thanks guys
> >
> > On Sep 6, 12:42 am, Kumar Bibek  wrote:
> >
> > > Do test out your apps on emulators.
> >
> > >http://techdroid.kbeanie.com/2010/09/getting-started-with-tablets-the.
> ..
> >
> > > -Kumar Bibekhttp://techdroid.kbeanie.com
> >
> > > On Sep 5, 9:32 pm, ben  wrote:
> >
> > > > I would make sure your app isn't drawing anything to exact pixel
> > > > locations and sizes. If you're using the built in layouts you should
> > > > be in good shape. Also you can use the AVD manager to create an
> > > > emulator with larger resolutions and screen sizes. That should at
> > > > least give you some idea of what it will look like.
> >
> > > > On Sep 5, 11:56 am, Droid  wrote:
> >
> > > > > And is landscape view preferred or default for these bigger
> screens?
> > > > > Many of my apps are fixed to portrait...
> >
> > > > > On Sep 5, 1:50 pm, ytbryan  wrote:
> >
> > > > > > Hi all,
> >
> > > > > > do we(developer) need to alter our app to suit the android
> > > > > > tablet(samsung galaxy tab)? or will them automatically run on the
> > > > > > tablet?
> >
> > > > > > Is a documentation on developing for android tablet?
> >
> > > > > > thanks!
> > > > > > bryan
> >
> >
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Galaxy Tablet and Android Market

2010-09-03 Thread Dan Raaka
yes, physically if you calculate the height/width by pixels ..
but the device uses hdpi resources for apps - so it is setting the
lcd_density as 240 ..

-Dan

On Sep 3, 1:42 pm, Mark Murphy  wrote:
> On Fri, Sep 3, 2010 at 4:39 PM, Dan Raaka  wrote:
> > [ro.sf.lcd_density]:[240]
> > DeviceMetrics.xdpi = 168
> > DeviceMetrics.ydpi = 168
>
> > So, GalaxySTab is a *large* screen, *hdpi* device.
> > For difference, NexusOne is a *med* screen, *hdpi* device.
>
> U...168 dpi should be -mdpi, I would think. 168 is a lot closer to
> 160 than it is to 240.
>
> Or am I missing something?
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to detect device support multi touch without OnTouchListener's event?

2010-09-03 Thread Dan Raaka
If your app requires multitouch and you dont want your app to show up
on non-multitouch devices ..

define the following in your android manifest ..
android.hardware.touchscreen.multitouch
android.hardware.touchscreen.multitouch.distinct

-Dan

On Sep 3, 2:14 am, eric  wrote:
> I want to get information of how to detect device support multi touch
> without OnTouchListener triggers event.
> Somebody can help me?

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Galaxy Tablet and Android Market

2010-09-03 Thread Dan Raaka
[ro.sf.lcd_density]:[240]
DeviceMetrics.xdpi = 168
DeviceMetrics.ydpi = 168

So, GalaxySTab is a *large* screen, *hdpi* device.
For difference, NexusOne is a *med* screen, *hdpi* device.

You can mimic the behavior of density using the emulator, however the
dpi changes requires you to rebuild the emulator system image.

-Dan


On Sep 3, 11:07 am, Kostya Vasilyev  wrote:
>   03.09.2010 21:08, Yahel пишет:> I had to set the targetSdkVersion to 4 in 
> the android Manifest to get
> > it to show the actual 600*1024.
>
> > I can't explain why, but I think it has to do with the fact that
> > medium dpi is used as a default.
>
> This is correct. You *have* to tell Android that your application can
> handle large screens and do appropriate UI scaling. If you don't, your
> application will run in compatibility mode, using the only screen size
> supported by Android up to and including 1.5.
>
> http://developer.android.com/guide/practices/screens_support.html#sup...
>
> See point 3, "Compatibility-mode display on larger screen-sizes".
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] How to send an specific key event to FG app using adb?

2010-08-14 Thread dan raaka
http://developer.android.com/guide/topics/testing/testing_android.html

"With instrumentation, you can set up mock system objects such as Contexts
before the main application starts, control your application at various
points of its lifecycle, send UI events to the application, and examine the
application's state during its execution."

-Dan


On Fri, Aug 13, 2010 at 11:17 AM, tomei.ninge...@gmail.com <
tomei.ninge...@gmail.com> wrote:

> Hello,
>
> I want to keep launching my app and stress test two scenarios:
>
>launch it and press BACK key
>launch it and press MENU key
>
> I can launch from adb using "am" command. But how can I send a BACK or
> MENU key using adb.
>
> I want to do thousands of rounds of testing so I don't want to do it
> manually.
>
> 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 unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] about handle the home key

2010-08-11 Thread dan raaka
can you post
$ adb shell getprop | grep finger
on the device you are trying ..

-Dan


On Sat, Aug 7, 2010 at 9:47 PM, 实  wrote:

> I'm working on a slide-unlock program and I want it take the place of
> Android KeyguardLock.
>
> there is one last thing todo.it's the home key.
>
> I google it and found we cannnot handle it as the other keys with
> "onkeydown","dispatchkeyevent" method.
>
> so I add this
> 
> 
> 
> to activity.
>
> It does works on AVD!
> I think Android receive "home" intent when home key is pressed ,then
> it try to find someone to handle the intent.it found two can handle
> this.And one of the two happens to my program and my program is on.so
> it send the intent to my program .So,the home key is disabled when my
> program is running.
>
> But,it does not work on a samsung true phone!!
> what can I do,is there any other way to make it??
>
> thanks!
> Simon Lee
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Samsung Captivate sdcard issues.

2010-08-04 Thread dan raaka
The device does come with MyFiles app for users to transfer between
/sdcard/sd and /sdcard in case the user needs to move the contents around.

-Dan


On Wed, Aug 4, 2010 at 10:02 AM, Mark Murphy wrote:

> On Wed, Aug 4, 2010 at 12:11 PM, Jeremiah Sellars
>  wrote:
> > Are there any talks of how this can be addressed?
>
> What specifically is the problem you are facing?
>
> For example, if getExternalStorageDirectory() does not give you
> something you can write to, that would be a problem.
>
> From your description, the only thing that seems different is that
> getExternalStorageDirectory() does not point to removable storage.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.1 Available!
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Problem with reading contacts on Samsung Galaxy Europa

2010-08-04 Thread dan raaka
Is this happening only on Europa ?

-Dan


On Wed, Aug 4, 2010 at 12:26 PM, Alok Kulkarni  wrote:

> Hi , i am using
> startActivityForResult(intent,PICK_CONTACT);
> Its working on Android 1.5 to 2.1 except for the 2.1 device Samsung
> Europa..On that device , i am not able to read the contacts, its returning
> empty result.
> here is the link i referred for the code
> http://www.droidnova.com/use-intents-to-start-other-activities,76.html
> Is thr something i m missing ?
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Camera preview - strange on Samsung Galaxy S (2.1update1)

2010-07-09 Thread dan raaka
what verison does your device have ?
use below ..
$adb shell getprop | grep fingerprint
-Dan


On Fri, Jul 9, 2010 at 9:39 AM, Mathias Lin  wrote:

> In my activity I show the camera preview on a surfaceView. It works
> perfectly fine on Nexus One (2.1update1, 2.2) and HTC Desire (2.1update1),
> but on Samsung Galaxy S (2.1update1) I see strange lines, weird proportions
> and everything three times. see the screenshot
> http://img249.imageshack.us/img249/7466/device1s.png
>
> The issue seems to be similar to this one:
> http://stackoverflow.com/questions/2053440/camera-preview-on-androd-strange-lines-on-1-5-version-of-sdkbut
>  none of the comments there helped. I tried to swap height,width for the
> camera parameters, but not much of a difference.
>
> (Side note: my activity is always in landscape mode, fixed. I have that fix
> in my manifest as screenOrientation parameters, in case that matters
> somehow).
>
> Camera preview parameters as below:
> == snip ==
> 
> private static final int IMAGE_WIDTH = 512;
> private static final int IMAGE_HEIGHT = 384;
> private static final String ORIENTATION = "orientation";
> private static final String ROTATION = "rotation";
> private static final String PORTRAIT = "portrait";
> private static final String LANDSCAPE = "landscape";
> 
>
> camera = Camera.open();
>
> Parameters p = camera.getParameters();
> p.setPictureSize(IMAGE_WIDTH, IMAGE_HEIGHT);
> p.set(ORIENTATION, PORTRAIT);
> p.set(ROTATION, 90);
>
> Camera.Size s = p.getSupportedPreviewSizes().get(0);
> p.setPreviewSize( s.width,s.height );
>
> p.setPictureFormat(PixelFormat.JPEG);
> p.set("flash-mode", "auto");
> camera.setParameters(p);
>
> camera.setPreviewDisplay(surfaceHolder);
> == snap ==
>
> Full code of my SurfaceHolderCallback (the relevant inner class in my
> activity)
> http://pastebin.com/YmcwEVn8
>
> Anybody experiencing such issue on the Samsung Galaxy S as well?
>
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Samsung Galaxy Spica (I5700) Bluetooth SPP with Android 2.1

2010-07-08 Thread dan raaka
What version are you using ..
Try this on your device ..
$ adb shell getprop | grep fingerprint
Did you try upgrading the Spica using Samsung Kies ?
-Dan


2010/7/7 Rafał Grzybowski 

> Any well known issues with this? I cannot create SPP connection on
> that phone, many other phones work great on the same software.
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: what hardware platform do you use?

2010-07-08 Thread dan raaka
Not just ATT all major carriers in US are getting the GalaxyS counterparts
..
http://innovator.samsungmobile.com/bbs/stars.ThreadBoard.do?starMbrId=SteveHa&viewType=rss&messageId=87666
-Dan


On Thu, Jul 8, 2010 at 5:03 AM, Al Sutton  wrote:

> It's highly unlikely the G1 will ever see an official update to
> Android 2.x or higher, so it is obsolete.
>
> In the OPs shoes I personally would put the money towards a better
> computer as it'll most likely make the whole development process more
> pleasant.
>
> Al.
>
> On Jul 8, 7:32 am, Indicator Veritatis  wrote:
> > G1 obsolete? Well, almost. But take a look at the famous Platform
> > Version 'dashboard' athttp://
> developer.android.com/resources/dashboard/platform-versions.html.
> > It shows that as many as 21.3% of phones connecting to the market are
> > still on 1.5. 45% are running 1.6 or 1.5.
> >
> > So by that standard the G1 is not obsolete, since it is already on
> > 1.6.
> >
> > Now sure, the hardware is slow and the runtime memory limited compared
> > to the hot new phones running 2.1 and accounting for 53% of the
> > market. But it would be a mistake to design your app -- or test your
> > app -- on only the latest and greatest (unless, of course, your app
> > relies on features only available on the latest hardware). Especially
> > when 45% of the market is still running 1.6 or earlier.
> >
> > When you are looking for development hardware, and are limited in
> > budget, there is really no point in buying "the most popular one". You
> > need a more general test platform than that. The G1 meets that
> > description since an application that runs correctly on the G1 will
> > run correctly on many other platforms as well. One cannot say the same
> > for the Droid.
> >
> > On Jul 7, 3:28 pm, "Maps.Huge.Info (Maps API Guru)" 
> > wrote:
> >
> >
> >
> > > My personal opinion here...
> >
> > > Don't get a G1 - they are obsolete, hardly any of them exist in the
> > > real world and they are stuck on Android 1.6.
> >
> > > If you want to get a good device that is the most popular one, get a
> > > Motorola Droid, the one with the keyboard. There are more of these in
> > > the wild than any other device. If you app runs on this one, then you
> > > are pretty much good to go. The Droid should get an update to Froyo
> > > starting on the 15th of this month, if the rumors can be believed,
> > > right now it's on 2.1-update1. You can get a used Droid on eBay for
> > > about $200 or so. It doesn't run on AT&T but so what?
> >
> > > AT&T will be offering the Samsung Galaxy S line at some point, you
> > > might want to wait for that one to be released. The only downside is
> > > AT&T will offer a crippled version that can't accept non-market apps.
> > > AT&T sucks, what else can you say?
> >
> > > The bottom line is for app development, pretty much any device will
> > > do. You don't need a "development" device, but you absolutely will
> > > need a real one to debug your app. The emulator is nice for quick
> > > checks but it isn't much use in finding out if your app will really
> > > work, or for figuring out why it doesn't. The sensors on the emulator
> > > leave a lot to be desired as well, obviously, shaking your computer
> > > isn't going to do much.
> >
> > > -John Coryat
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2010-06-15 Thread Dan Raaka
Install the USB drivers that come with the device ..

-Dan

On Jun 15, 2:03 am, Vinay S  wrote:
> Check for the driver..
>
> I had the same problem withGalaxy.
>
> I found in one of the forums the link for custom driver and installed
> it..
>
> That worked for me..
>
> -Vinay
>
> On Jun 11, 2:16 am, "Stu.Axon"  wrote:
>
> > This is driving me up the wall... I've been trying to get it working
> > for 6 hours now.
>
> > On Windows XP.
>
> > Installed theSamsungdrivers + Kie stuff.
>
> > Adb just lists 'no devices'
>
> > Lots of the tutorials say to disable mass storage, but I can't find
> > the option, maybe 2.1 doesn't have it ?
>
> > I tried installing the android sdk usb drivers, but when I plug in the
> > phone it instantly finds thesamsungones.
>
> > Kie just keeps trying to connect (says "connecting") but doesn't.
>
> > Also tried USBDeView... theSAMSUNGUSB Composite device toggles
> > between connected and disconnected when running Kie.
>
> > Can I use wifi or bluetooth instead for ADB ?   Really at a loss...
> > anybody got a clue on how to make this work ?

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: samsung app store

2010-05-23 Thread dan raaka
Galaxy S (GT-I9000)
http://www.gadgetvenue.com/samsung-galaxy-i9000-android-21-smartphone-announced-03241453/

-Dan


On Sun, May 23, 2010 at 4:39 PM, schwiz  wrote:

> samsung had a really sick looking phone at IO I wanted it really
> bad :P
>
> On May 19, 9:24 pm, Nathan  wrote:
> > SamsungApps.com is apparently registered to Samsung Electronics CO.,
> > Ltd. according to WHOIS information.
> >
> > So they want Android apps? I heard Samsung wanted to do their own
> > operating system.
> >
> > Nathan
> >
> > --
> > 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 this group athttp://
> groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: how to connect android phone to pc using adb

2010-05-23 Thread dan raaka
this might help
http://bradchow.wordpress.com/2009/02/16/adb-on-windows-and-ubuntu-linux/

-Dan


On Tue, Apr 27, 2010 at 8:06 AM, applesquash  wrote:

> Did you install the SDK USB driver?
>
>
> On Apr 26, 9:38 pm, karteek  wrote:
> > @Rogerio
> > My OS is ubuntu.And I already used these commands.But the device is
> > not getting displayed under ./adb devices.
> >
> > @AJ
> > I have the Driver CD that came with the phone.But,it is for
> > Windows,the driver installer is in .exe.
> > How do I make it work for linux?
> >
> > On Apr 26, 5:35 pm, Rogério de Souza Moraes 
> > wrote:
> >
> > > What is your S.O.? Linux, windows or MAC?
> >
> > > if it is linux, try to enter in root shell (sudo -s), before do:
> > > ./adb kill-server
> > > ./adb start-server
> >
> > > Regards,
> >
> > > Rogerio
> >
> > > 2010/4/26 AJ 
> >
> > > > check whether you have installed driver for galaxy-spica properly?
> >
> > > > Thanks,
> > > > AJ
> >
> > > > On Apr 26, 3:19 pm, saikiran n  wrote:
> > > > > Hi all,
> > > > >  I am aunable to connect my phone to pc.
> > > > > I connected it with usb cable to my pc and i opend command prompt
> where
> > > > my
> > > > > android sdk is there
> > > > > Now i typed
> > > > > ./adb kill-server
> > > > > ./adb start-server
> > > > > then i typed
> > > > > ./adb shell
> > > > > it displays me error that device not found
> > > > > I kept my mobile in usb debug mode through as follows
> > > > > Setting->Application->Development->USB debug mode
> > > > > My phone version is 1.5 samsung galaxy-spica
> > > > > Any help
> > > > > Regards,
> > > > > saikiran
> >
> > > > > --
> > > > > 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 cr...@googlegroups.com>
> > > > > For more options, visit this group athttp://
> > > > groups.google.com/group/android-developers?hl=en
> >
> > > > --
> > > > 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 cr...@googlegroups.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > 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 this group athttp://
> groups.google.com/group/android-developers?hl=en
> >
> > --
> > 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 this group athttp://
> groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Hello My name is Youngrok Song from ZDNet Korea

2010-05-22 Thread dan raaka
you might have better luck here - www.kandroid.org

-Dan


On Thu, May 13, 2010 at 10:05 PM, sabbit  wrote:

> Hello My name is Youngrok Song from ZDNet Korea Planning dept.
>
> We have 3 times conferences for a year for Android developers. We
> completed a huge conference 4times like the advanced computing
> conference and Communication Mobile Conference which is held by ZDNet
> Korea in Seoul. In last conference, There are a variety of Global
> companies were participated in this conference like Google, HP, Intel,
> Juniper, Salesforce.com, and Korean big companies like Samsung, LG
> SKT, KT were joined this conference. We are making a plan this
> conference bigger and bigger. So we are looking for Android developers
> who want to speech in the Communication Vision Conference 2010. Also
> we want to know each other to share our information regarding Android
> developer. Android is hot issue in Korea at this point.
> This is a good opportunities to let developers know how Korea market
> is huge and important among the Asia country. That's why many global
> companies are really interested in our conference July 8th 2010.
>
> I can be reached by phone at 82.2.3300.112 or 82.10.9906.7864 or by e-
> mail at sab...@zdnet.co.kr
> If you cannot contact with me please let me know how can I contact
> with your company.
> Thank you for your time and consideration.
>
> Sincerely,
>
> Youngrok Song
>
> Youngrok Song
>
>
>
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Is Google working on the Bluetooth bug? Any estimated date of completion?

2010-05-22 Thread dan raaka
This issue is fixed in newer binaries/builds for this device.

-Dan


On Sun, May 16, 2010 at 10:01 AM, frankentux wrote:

> Dan,
>
> what is the build id that you mean? Can you elaborate on what the fix
> is?
>
> Ciaran
>
> On 14 Mai, 01:12, danraaka  wrote:
> > Newer build sud fix this.
> >
> > -Dan
> >
> > On Mon, May 10, 2010 at 7:29 AM, frankentux  >wrote:
> >
> > > The same problem seems to be detailed here:
> > >http://forum.samdroid.net/threads/598
> > > Looks like SPP is completely broken on the i5700 - possibly because of
> > > the Broadcom BCM4325.
> > > On the positive side, that chip has a FM module :-)
> >
> > > On May 3, 6:56 pm, frankentux  wrote:
> > > >http://stackoverflow.com/questions/2661932http://pastebin.org/199621
> >
> > > > could also be interesting
> >
> > > > On May 2, 2:32 am, DonFrench  wrote:
> >
> > > > > Nexus One.  No experience with spica.
> >
> > > > > On May 1, 6:35 am, frankentux  wrote:
> >
> > > > > > My device is a i5700 Samsung spica. The stackoverflow links and
> the
> > > > > > logcats i pasted to pastebin.com (again, see my last post above)
> all
> > > > > > relate to the issue on the spica. Do you have a similar issue
> with a
> > > > > > spica?
> >
> > > > > > On 1 Mai, 00:13, dan raaka  wrote:
> >
> > > > > > > is the device being referred here Spica (i5700)?
> >
> > > > > > > -Dan
> >
> > > > > > > On Fri, Apr 30, 2010 at 12:10 PM, DonFrench <
> dcfre...@gmail.com>
> > > wrote:
> > > > > > > > I am not sure if it is the same issue but it sounds related.
>  My
> > > app
> > > > > > > > was eventually able to connect to the device I was having
> trouble
> > > with
> > > > > > > > but only after I manually unpaired it.  I never deliberately
> > > paired it
> > > > > > > > in the first place and I was never asked for a pin during the
> > > time it
> > > > > > > > was failing to connect.  The device had apparently been
> > > automatically
> > > > > > > > paired by Android when it was first detected, as are other
> nearby
> > > > > > > > laptops and phones and PDAs.   After unpairing it, I did not
> > > re-pair
> > > > > > > > through the Android utility but ran my app again and
> attempted to
> > > > > > > > connect to it, at which time I was prompted to enter the pin
> and
> > > to
> > > > > > > > pair.  This request to pair did not come directly from my
> code
> > > but
> > > > > > > > resulted from a call to BluetoothSocket.connect( ).  At this
> > > point it
> > > > > > > > successfully connected and continues to connect.  So it seems
> > > like the
> > > > > > > > automatic pairing does something that prevents later
> connection.
> > >  I
> > > > > > > > wonder if once it is automatically paired without a pin,
> future
> > > > > > > > attempts to connect recognize that it has been paired but
> doesn't
> > > > > > > > recognize that no pin was ever requested and so fails for
> lack of
> > > a
> > > > > > > > valid pin.  Just a guess.
> >
> > > > > > > > On Apr 29, 9:21 am, frankentux 
> > > wrote:
> > > > > > > > > Is this related to:
> >
> > >http://stackoverflow.com/questions/2661932/problem-with-bluetooth-on-.
> ..
> >
> > >http://pastebin.org/191806http://pastebin.org/191824http://pastebin.o.
> ..
> >
> > > > > > > > > It sounds like the same issue...
> >
> > > > > > > > > On Apr 29, 2:09 am, DonFrench  wrote:
> >
> > > > > > > > > > (sorry, premature Send of previous message)
> >
> > > > > > > > > > As I was saying, the two devices have the same name but
> > > different MAC
> > > > > > > > > > addresses.  Whether this was related to the problem I am
> not
> > > sure.
> > > > > > > > > > But simply unpairing the device that would not connect
> solved
> > > the
> > &

Re: [android-developers] Re: samsung app store

2010-05-22 Thread dan raaka
There are already several including few from 3rd parties, carriers and OEMs

SlideME
Shopapps from Motorola
Vodaphone to launch its own app store (
http://www.intomobile.com/2010/04/13/vodafone-to-launch-its-own-android-app-store.html
)
AndAppStore (http://andappstore.com)
Playnow by Sony Ericsson

Most of the carriers/OEM either have their own apps supporting other
platforms (read as non-android). so, they will be extending them even with
all the hue/cry around.

-Dan


2010/5/21 Tomáš Hubálek 

>
>
> On 21 kvě, 16:50, Gabriel Simões  wrote:
> > Well, my opinion:
> >
> > - paid apps (for users)
> >
> > -> The problems google have to be able to sell to any country, any
> > store will have: laws! Apple took a lot of time to open an app store
> > here in Brazil and still most of the apps aren´t available because the
> > governament has a diferent age definition per category here, so most
> > games aren´t publihed.
>
> There is 27 countries in European Union that have compatible law.
> Developers from only 6 of them can sell and users from about 7 can
> buy. This is strange, isn't? Why Google does not state clearly that
> this is law compatibility issue?
>
> > - paid apps (for developers)
> >
> > -> This sucks, and sucks hard! It´s something google needs to fix as
> > soon as possible. Most users are on USA and Europe but developers are
> > around the whole world and using ads to support our development is
> > taking things to the limit already.
>
> Agree.
>
> > - no trash apps (some form of quality standards)
> >
> > -> Freedom vs. Closed systems. This is the discussion between app
> > store and android market. I prefer open systems where anyone can
> > publish anything. This way the comunity will show what is best and
> > what is worst. Also, the ability to ask for a refund forces developers
> > to make great apps in order to receive anything for them. If there´s
> > someone to say if your app is good enough we will see the same old
> > story again: rejected apps for no reason, long delays between
> > releases 
> > In this case I do agree that android market should use a system to
> > give emphasis to the best apps and start putting the crap ones on the
> > lower parts of the search lists...
>
> Agree. Sometimes I'm curious why some app will less downloads and
> lower rating is at higher position. Not sure what is the algorithm for
> this and whether it is optimal.
>
> Tom
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Is Google working on the Bluetooth bug? Any estimated date of completion?

2010-05-01 Thread dan raaka
can you paste the build fingerprint of your device ?

-Dan


On Sat, May 1, 2010 at 6:35 AM, frankentux wrote:

> My device is a i5700 Samsung spica. The stackoverflow links and the
> logcats i pasted to pastebin.com (again, see my last post above) all
> relate to the issue on the spica. Do you have a similar issue with a
> spica?
>
> On 1 Mai, 00:13, dan raaka  wrote:
> > is the device being referred here Spica (i5700)?
> >
> > -Dan
> >
> >
> >
> > On Fri, Apr 30, 2010 at 12:10 PM, DonFrench  wrote:
> > > I am not sure if it is the same issue but it sounds related.  My app
> > > was eventually able to connect to the device I was having trouble with
> > > but only after I manually unpaired it.  I never deliberately paired it
> > > in the first place and I was never asked for a pin during the time it
> > > was failing to connect.  The device had apparently been automatically
> > > paired by Android when it was first detected, as are other nearby
> > > laptops and phones and PDAs.   After unpairing it, I did not re-pair
> > > through the Android utility but ran my app again and attempted to
> > > connect to it, at which time I was prompted to enter the pin and to
> > > pair.  This request to pair did not come directly from my code but
> > > resulted from a call to BluetoothSocket.connect( ).  At this point it
> > > successfully connected and continues to connect.  So it seems like the
> > > automatic pairing does something that prevents later connection.  I
> > > wonder if once it is automatically paired without a pin, future
> > > attempts to connect recognize that it has been paired but doesn't
> > > recognize that no pin was ever requested and so fails for lack of a
> > > valid pin.  Just a guess.
> >
> > > On Apr 29, 9:21 am, frankentux  wrote:
> > > > Is this related to:
> >
> > > >
> http://stackoverflow.com/questions/2661932/problem-with-bluetooth-on-...
> >
> > >http://pastebin.org/191806http://pastebin.org/191824http://pastebin.o.
> ..
> >
> > > > It sounds like the same issue...
> >
> > > > On Apr 29, 2:09 am, DonFrench  wrote:
> >
> > > > > (sorry, premature Send of previous message)
> >
> > > > > As I was saying, the two devices have the same name but different
> MAC
> > > > > addresses.  Whether this was related to the problem I am not sure.
> > > > > But simply unpairing the device that would not connect solved the
> > > > > problem.  It re-paired the next time my code tried to connect and
> from
> > > > > then on I could connect to either device without doing any more
> > > > > unpairing.
> >
> > > > > On Apr 28, 5:03 pm, DonFrench  wrote:
> >
> > > > > > Update to this problem:  I discovered that the device that could
> not
> > > > > > be connected to had been paired at some time in the past.  Both
> > > > > > devices have the same name but different MAC
> >
> > > > > > On Apr 24, 4:30 pm, DonFrench  wrote:
> >
> > > > > > > There is an apparentbugin theBluetoothservice discovery code,
> as
> > > > > > > has been mentioned by several people on several forums.  The
> upshot
> > > is
> > > > > > > that the BluetoothSocket.connect( ) method consistently fails
> to
> > > > > > > discover a valid SPP service on some devices that are
> discoverable
> > > > > > > with non-Android devices while it consistently succeeds to
> discover
> > > > > > > the SPP service on seemingly identical devices.  Obviously, the
> two
> > > > > > > devices are not identical but the fact is that I manufacture
> two
> > > such
> > > > > > > devices and there is nothing obviously different about them.  I
> can
> > > > > > > consistently connect to both devices from a Windows Mobile app.
>   I
> > > > > > > hope that Google will address thisbugin the very near future.
>  I
> > > > > > > will be willing to test any trialbug-fixes on my devices.
> >
> > > > > > > Here is the relevant log output from the failed attempt:
> >
> > > > > > > 04-24 15:23:33.268: INFO/ActivityManager(82): Starting
> activity:
> > > > > > > Intent { cmp=com.thegadgetworks/.DeviceListActivity }
> > > > > > > 04-24 15:23:33.308: DEBU

Re: [android-developers] Re: Is Google working on the Bluetooth bug? Any estimated date of completion?

2010-04-30 Thread dan raaka
is the device being referred here Spica (i5700)?

-Dan


On Fri, Apr 30, 2010 at 12:10 PM, DonFrench  wrote:

> I am not sure if it is the same issue but it sounds related.  My app
> was eventually able to connect to the device I was having trouble with
> but only after I manually unpaired it.  I never deliberately paired it
> in the first place and I was never asked for a pin during the time it
> was failing to connect.  The device had apparently been automatically
> paired by Android when it was first detected, as are other nearby
> laptops and phones and PDAs.   After unpairing it, I did not re-pair
> through the Android utility but ran my app again and attempted to
> connect to it, at which time I was prompted to enter the pin and to
> pair.  This request to pair did not come directly from my code but
> resulted from a call to BluetoothSocket.connect( ).  At this point it
> successfully connected and continues to connect.  So it seems like the
> automatic pairing does something that prevents later connection.  I
> wonder if once it is automatically paired without a pin, future
> attempts to connect recognize that it has been paired but doesn't
> recognize that no pin was ever requested and so fails for lack of a
> valid pin.  Just a guess.
>
> On Apr 29, 9:21 am, frankentux  wrote:
> > Is this related to:
> >
> > http://stackoverflow.com/questions/2661932/problem-with-bluetooth-on-...
> >
> >
> http://pastebin.org/191806http://pastebin.org/191824http://pastebin.org/191830
> >
> > It sounds like the same issue...
> >
> > On Apr 29, 2:09 am, DonFrench  wrote:
> >
> >
> >
> > > (sorry, premature Send of previous message)
> >
> > > As I was saying, the two devices have the same name but different MAC
> > > addresses.  Whether this was related to the problem I am not sure.
> > > But simply unpairing the device that would not connect solved the
> > > problem.  It re-paired the next time my code tried to connect and from
> > > then on I could connect to either device without doing any more
> > > unpairing.
> >
> > > On Apr 28, 5:03 pm, DonFrench  wrote:
> >
> > > > Update to this problem:  I discovered that the device that could not
> > > > be connected to had been paired at some time in the past.  Both
> > > > devices have the same name but different MAC
> >
> > > > On Apr 24, 4:30 pm, DonFrench  wrote:
> >
> > > > > There is an apparentbugin theBluetoothservice discovery code, as
> > > > > has been mentioned by several people on several forums.  The upshot
> is
> > > > > that the BluetoothSocket.connect( ) method consistently fails to
> > > > > discover a valid SPP service on some devices that are discoverable
> > > > > with non-Android devices while it consistently succeeds to discover
> > > > > the SPP service on seemingly identical devices.  Obviously, the two
> > > > > devices are not identical but the fact is that I manufacture two
> such
> > > > > devices and there is nothing obviously different about them.  I can
> > > > > consistently connect to both devices from a Windows Mobile app.   I
> > > > > hope that Google will address thisbugin the very near future.  I
> > > > > will be willing to test any trialbug-fixes on my devices.
> >
> > > > > Here is the relevant log output from the failed attempt:
> >
> > > > > 04-24 15:23:33.268: INFO/ActivityManager(82): Starting activity:
> > > > > Intent { cmp=com.thegadgetworks/.DeviceListActivity }
> > > > > 04-24 15:23:33.308: DEBUG/DeviceListActivity(8055): doDiscovery()
> > > > > 04-24 15:23:33.318: ERROR/BluetoothEventLoop.cpp(82): event_filter:
> > > > > Received signal org.bluez.Adapter:PropertyChanged from
> /org/bluez/7766/
> > > > > hci0
> > > > > 04-24 15:23:33.318: VERBOSE/BluetoothEventRedirector(4213):
> Received
> > > > > android.bluetooth.adapter.action.DISCOVERY_STARTED
> > > > > 04-24 15:23:36.608: ERROR/BluetoothEventLoop.cpp(82): event_filter:
> > > > > Received signal org.bluez.Adapter:DeviceFound from /org/bluez/7766/
> > > > > hci0
> > > > > 04-24 15:23:36.638: VERBOSE/BluetoothEventRedirector(4213):
> Received
> > > > > android.bluetooth.device.action.FOUND
> > > > > 04-24 15:23:40.368: ERROR/BluetoothEventLoop.cpp(82): event_filter:
> > > > > Received signal org.bluez.Adapter:PropertyChanged from
> /org/bluez/7766/
> > > > > hci0
> > > > > 04-24 15:23:40.368: ERROR/BluetoothService.cpp(82):
> > > > > stopDiscoveryNative: D-Bus error in StopDiscovery:
> > > > > org.bluez.Error.Failed (Invalid discovery session)
> > > > > 04-24 15:23:40.408: VERBOSE/BluetoothEventRedirector(4213):
> Received
> > > > > android.bluetooth.adapter.action.DISCOVERY_FINISHED
> > > > > 04-24 15:23:40.418: ERROR/BluetoothService.cpp(82):
> > > > > stopDiscoveryNative: D-Bus error in StopDiscovery:
> > > > > org.bluez.Error.Failed (Invalid discovery session)
> > > > > 04-24 15:23:40.428: ERROR/BluetoothEventLoop.cpp(82):
> > > > > onCreateDeviceResult: D-Bus error: org.bluez.Error.AlreadyExists
> > > > > (Device already exists)
> > > > > 04-24 15:23:40.448: VERBO

[android-developers] md5sum on the file

2010-04-03 Thread Dan Raaka
Is there way to generate md5 checksum (like md5sum on linux) of a file
in android ?
the closest I found was this http://www.androidsnippets.org/snippets/52/

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.


Re: [android-developers] Re: user agent of the device ..

2010-04-03 Thread dan raaka
yes that is correct, the restriction is mainly on the browser UA string to
have any structure and that is the one that needs some validation for
change.

-Dan


On Sat, Apr 3, 2010 at 2:36 PM, Mark Murphy  wrote:

> dan raaka wrote:
> > This is not for driving any logic - but for an app to check if the
> > default standard structure of the UA string in android is still intact
> > or has the OEM changed (for whatever reason)
>
> I am not sure that will help you, unless you're going to force the user
> to visit your internal test page (or, at least, have some Browser
> activity pop up that they'll need to dismiss). I would not assume that
> WebView and the Browser application use the same UA string.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Consulting: http://commonsware.com/consulting
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: user agent of the device ..

2010-04-03 Thread dan raaka
This is not for driving any logic - but for an app to check if the default
standard structure of the UA string in android is still intact or has the
OEM changed (for whatever reason)

-Dan


On Mon, Feb 22, 2010 at 12:23 AM, Bob Kerns  wrote:

> This is seriously easy to do, and nobody needs to get hurt if you're
> careful about what port you use, are willing to try a few
> alternatives, and shut it down when you're done.
>
> You don't even have to implement HTTP -- all you have to do is LISTEN,
> ACCEPT, read the request a line at a time up to the UA string, and
> then close. Do it in an async task, and save away the result.
>
> Still, I have to wonder what you're doing at a higher level. Actually
> trying to drive logic from the UA string is fraught with peril, and I
> have to wonder if maybe you shouldn't seek to do things in a way that
> it doesn't matter of the UA string is modified.
>
> If it's just for information purposes -- it's a lot easier to display
> this information from a simple web application. There are a number of
> them out there that do this for diagnostic purposes, or it's really
> easy to write your own.
>
> On Feb 21, 8:33 am, Mark Murphy  wrote:
> > dan raaka wrote:
> > > I wanted to the browser ua string.
> > > i am writing an app to programmatically verify the uastring to see if
> > > the oem has changed it from the standard android ua string.
> >
> > Step #1: Write a rudimentary HTTP server in Android.
> >
> > Step #2: Point the browser to your HTTP server's port (e.g.,
> http://127.0.0.1:8080)
> >
> > Step #3: Read the User-Agent header
> >
> > Step #4: Shut your HTTP server down before somebody gets hurt
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://twitter.com/commonsguy
> >
> > _Android Programming Tutorials_ Version 1.0 In Print!
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.


Re: [android-developers] Re: user agent of the device ..

2010-02-21 Thread dan raaka
I wanted to the browser ua string.
i am writing an app to programmatically verify the uastring to see if the
oem has changed it from the standard android ua string.

-Dan


On Sat, Feb 20, 2010 at 11:31 PM, Bob Kerns  wrote:

> If you're using a WebView, the answer is yes.
>
> WebView webview = ...;
> WebSettings settings = webview.getSettings();
> String uastring = settings.getUserAgentString();
>
> I don't know of a way to ask the Browser application itself -- but if
> you're doing this level of stuff, you may be wanting more control
> anyway, and want to use a WebView.
>
> What would you do with this information in an app?
>
> I guess you could run a little web server in your app, direct the
> browser to it, pick up the UA string, and redirect to somewhere else.
> Bleh. A whole lot of hackery for something that hardly ever changes.
>
> On Feb 19, 11:21 pm, Dan Raaka  wrote:
> > is there a way to get the User Agent of the Browser on the android
> > device pro grammatically from within an app ?
> >
> > -Dan
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] user agent of the device ..

2010-02-19 Thread Dan Raaka
is there a way to get the User Agent of the Browser on the android
device pro grammatically from within an app ?

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] spreadsheets.google.com using raw http/xml

2010-02-18 Thread dan raaka
It looks like my example refuses to work with spreadsheets.google.com list
worksheet feed.

Here is the code snippet
authenticate() succeeds and I get the proper auth token.
However getWorksheetContents() fails with 404 Not found error.

I have double check the URL (worksheetsheetURL) using curl (it works fine on
curl), I have checked the tcpdump of both curl and my sample program -
nothing seems out of the place - but i am at loss to understand, why I am
getting 404 error.

Any Gdata gurus here who can help?? I am using this raw approach since there
is no gdata apis for android yet.

public void authenticate() {
HttpClient hClient = new DefaultHttpClient();
HttpPost hPost = new HttpPost("
https://www.google.com/accounts/ClientLogin";);

List nameValuePairs = new
ArrayList(5);
nameValuePairs.add(new BasicNameValuePair("Email","
xx...@gmail.com"));
nameValuePairs.add(new BasicNameValuePair("Passwd","xx"));
nameValuePairs.add(new BasicNameValuePair("accountType","GOOGLE"));
nameValuePairs.add(new BasicNameValuePair("source","ExampleTest"));
nameValuePairs.add(new BasicNameValuePair("service","wise"));
try {
hPost.setEntity(new UrlEncodedFormEntity(nameValuePairs));

HttpResponse response = hClient.execute(hPost);

int status = response.getStatusLine().getStatusCode();
if(status == HttpStatus.SC_OK) {
String temp = EntityUtils.toString(response.getEntity());
authToken=getAuthString(temp);
}

} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}


public void getWorksheetContents() {
HttpClient hClient = new DefaultHttpClient();
HttpResponse response;

HttpGet hGet = new HttpGet(worksheetsheetURL);
hGet.addHeader("Authorization","GoogleLogin auth="+authToken);


try {
response = hClient.execute(hGet);

int status = response.getStatusLine().getStatusCode();
Log.d(TAG,"getWorksheetContents : "+response.getStatusLine());
if(status == HttpStatus.SC_OK) {
String temp = EntityUtils.toString(response.getEntity());
Log.d(TAG, "getWorksheetContents"+temp);
}
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}

public String getAuthString(String content) {
int index=content.indexOf("Auth=");
Log.d(TAG, "index = "+index);
return content.substring(index+5);
}

-Dan

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Need Samsung Moment user to help troubleshoot problems

2010-02-16 Thread dan raaka
what game is this ? can you give the class name of your app for me to search

-Dan


On Sat, Feb 13, 2010 at 6:28 PM, ernestw  wrote:

> Hi all - I'm currently getting some problem comments from people
> claiming that my game FRG crashes on the Samsung Moment immediately
> when a bullet hits an enemy.  Anybody have a Samsung Moment who could
> help me figure out the issue?  I'd use DeviceAnywhere but their
> Samsung Moment has been offline for the past 1.5 weeks.  :-\
>
> Thanks in advance.
>
>  Ernest Woo
>  Woo Games
>  http://www.woogames.com
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Incoming SMS

2010-01-25 Thread dan raaka
You cannot un-install/remove the apps which are preinstalled. If you just
restart the device - you start see the default SMS app.
Assuming you re-imaged - you should still be able to see and download the
3rd party app.

-Dan


On Mon, Jan 25, 2010 at 5:32 AM, Mohan  wrote:

> Hi friends,
>
> I am an end android user. I have Samsung Galaxy GT-I7500. A few days
> back I downloaded the Handcent SMS app. I am happy with the app. But I
> was receiving notifications both from my native app and Handcent SMS.
> In order to stop the notification I used Advanced Task Manager to
> remove the native SMS app in the name of 'SMS' instead of the
> disabling the notification. Instead of removing the messaging service
> my data usage notification SMS from my service provider has stopped. I
> am receiving other messages and able to send messages. I have flashed
> my ROM but the 'SMS' app is still not installed. Please help me.
>
> Thanks & Rgds...Mohan
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] AudioRecord on Samsung Moment

2010-01-20 Thread dan raaka
What build does this device have?

There is new update for this device. Did you try on this build ?
http://community.sprint.com/baw/thread/26322?featured=true


-Dan


On Mon, Jan 18, 2010 at 12:02 PM, Rico  wrote:

> When switching between the emulator (which supports 8KHz) and a real
> phone like the G1 (which supports 16KHz), I used the following code to
> set up a valid AudioRecord object:
>
> AudioRecord ar;
>
> // Try to construct at 16KHz
> ar = new AudioRecord(
>  MediaRecorder.AudioSource.MIC,
>  16000,
>  AudioFormat.CHANNEL_CONFIGURATION_MONO,
>  AudioFormat.ENCODING_PCM_16BIT,
>  AUDIO_BUFFER_SIZE);
>
> if (ar.getState() != AudioRecord.STATE_INITIALIZED) {
>  // Unable to set up at 16KHz, try at 8KHz
>  ar = new AudioRecord(
>MediaRecorder.AudioSource.MIC,
>8000,
>AudioFormat.CHANNEL_CONFIGURATION_MONO,
>AudioFormat.ENCODING_PCM_16BIT,
>AUDIO_BUFFER_SIZE);
> }
>
> This seems to work just fine, and a 16KHz AudioRecord object is
> instantiated on the G1, and a 8KHz object is instantiated on the
> emulator.
>
> However, on the Samsung Moment, which only supports 8KHz,
> AudioRecord.getState() returns STATE_INITIALIZED when trying to
> construct with 16KHz.  This ends up causing recording to fail since
> it's trying to record at 16KHz, even though the phone doesn't support
> it.  Also, I don't see any exceptions thrown when I try to wrap the
> construction in a try-catch.
>
> Does anyone know of a better way to detect 16KHz vs. 8KHz capabilities
> on the device?
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] creating random sizes of the emulator screen

2010-01-17 Thread dan raaka
Does anyone face similar issues as I do with the latest 2.1 SDK

I am trying to create emulator screen sizes which are non-standard but the
emulator fails to show up ..
I can still see the "emulator" process running ..

The size i was trying out are .. XGA 1024 x768, SXGA 1280x1024,and few
others 
I have changed the size to custom size, played aroudn with non-standard dpi
like 170 .. 210 etc, and increased the vm heap size to 24.

-Dan
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Where to get a Samsung Moment for development

2010-01-17 Thread dan raaka
tough luck !!

-Dan


On Sat, Jan 16, 2010 at 8:53 AM, Don  wrote:

> Hi Dan,
> I'm actually based in the UK!
> But Cheers anyway!
> Don
>
> On Jan 8, 8:47 am, dan raaka  wrote:
> > if you are local to mountain view let me know. I can help
> >
> > -Dan
> >
> > On Thu, Jan 7, 2010 at 4:53 AM, Don  wrote:
> > > Hello,
> > > I'm now having the exact same problem, a customer is reporting an
> > > issue with my application on their Samsung Moment, but I can't debug
> > > the issue as I don't have the device!
> > > I've tried the test services perfectomobile & deviceanywhere, but
> > > neither has a Samsung Moment!
> >
> > > I can see this fragmentation becoming one of the major issues for
> > > Android development.
> >
> > > Don
> >
> > > On Dec 3 2009, 5:28 am, "SoftwareForMe.com" 
> > > wrote:
> > >  > Hi,
> >
> > > > We have a G1, MyTouch, Hero and Droid. However, we've been getting
> odd
> > > > reports from our Moment customers, and it's time we get one.
> >
> > > > Anybody know where to do this, and whether there are any issues
> getting
> > > the
> > > > thing acitvated without a phone plan to go with it?
> >
> > > > SoftwareForMe.com
> > > > Makers of PhoneMyPC
> > > > & Imagine Multi-touch
> >
> > > --
> > > 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 this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Market behavior questions ..

2010-01-15 Thread dan raaka
As the subject says ..

#1 I can see the update available icon on the notification bar - what is the
time interval used by the market/vending app to check if there is any update
availability ?

#2 If I buy an app and then reset the device - Will market allow me to
install the app which I paid for already without paying for the it again ?

#3 If I have brought an app on a particular device with an google account,
and log into another device with the same account, I cannot see the apps I
installed (both free/paid) under my-downloads tab, Is this expected behavior
?

-Dan
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] screen capture

2010-01-13 Thread dan raaka
!! stop cross posting !!

and yes, there was a way to grab /dev/fb0 in android 1.0 and since then it
been removed due to security concerns by Google.
The READ_FRAME_BUFFER permissions are the remnants of that 1.0 feature


-Dan


On Tue, Jan 12, 2010 at 4:54 AM, yog  wrote:

> Hi all,
>
> 1) Is there any way to collect frame buffer data from surface
> flinger., and can give  it to JNI.
> 2) Does Java App layer has any API's to collect frame buffer data,
> from surface flinger.
> 3) what is the purpose of copybit ApI's in HAL, can the API's can be
> used  to copy framebuffer data.
>
>
> Thanks in advance,
> Yog
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: About Android SDK 2.1 Gallery.

2010-01-13 Thread dan raaka
3D in emulator is little flacky - the openGL 2.0 is expected to be in native
support only (no java bindings), directly calling the functions in the 3D
chipset vendor in the hardware.

Assuming - we do get the gallery or newer homescreen - how useful it will be
?

On the contrary - it will be helpful if Google publishes the source though
!!

-Dan


On Mon, Jan 11, 2010 at 9:41 PM, skan95  wrote:

> Thanks.
>
> To sum it up,
> Eclair 2.1 version can have Nexus One's applications, even 3D animated
> Gallery, right?
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] adb devices not seeing my phone

2010-01-10 Thread dan raaka
Most likely, you have not enabled your adb on this device

try this ...
remove the usb connection
kill the adb
start adb again
connect the behold2
check the usb connection using lsusb -v
now try adb devices

verify if adb is enabled
#1 settings -> phone settings -> USB settings (make sure you select Samsung
PC studio)
#2 settings -> Application settings -> Development ->USB debugging
If either one of them is turned off - you will not see the device when you
do adb devices

-Dan


On Sat, Jan 9, 2010 at 5:04 PM, Mark Murphy  wrote:

> VY wrote:
> >
> > I just did this and adb devices is still showing nothing.
> >
> > I did all these while the phone is mounted as a USB drive on my Linux
> > host.  Is that ok?
>
> Try it unmounted. I forget whether that works or not on Linux.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android App Developer Training: http://commonsware.com/training
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Where to get a Samsung Moment for development

2010-01-08 Thread dan raaka
if you are local to mountain view let me know. I can help

-Dan


On Thu, Jan 7, 2010 at 4:53 AM, Don  wrote:

> Hello,
> I'm now having the exact same problem, a customer is reporting an
> issue with my application on their Samsung Moment, but I can't debug
> the issue as I don't have the device!
> I've tried the test services perfectomobile & deviceanywhere, but
> neither has a Samsung Moment!
>
> I can see this fragmentation becoming one of the major issues for
> Android development.
>
> Don
>
> On Dec 3 2009, 5:28 am, "SoftwareForMe.com" 
> wrote:
>  > Hi,
> >
> > We have a G1, MyTouch, Hero and Droid. However, we've been getting odd
> > reports from our Moment customers, and it's time we get one.
> >
> > Anybody know where to do this, and whether there are any issues getting
> the
> > thing acitvated without a phone plan to go with it?
> >
> > SoftwareForMe.com
> > Makers of PhoneMyPC
> > & Imagine Multi-touch
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android drivers programming

2009-12-31 Thread dan raaka
its been in existence for a long time now :)

-Dan


On Thu, Dec 31, 2009 at 1:45 PM, Mark Murphy wrote:

> Lance Nanek wrote:
> > http://pdk.android.com/online-pdk/guide/index.html
>
> Odd question: where did you find this? I can't find anything that links
> to it. It seems rather useful!
>
> Thanks!
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.1 Available!
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Merge gives odd z order hiding between custom views

2009-12-13 Thread dan raaka
could be related to
http://code.google.com/p/android/issues/detail?id=2828

-Dan


On Sat, Dec 12, 2009 at 10:54 PM, Ethan Rublee wrote:

> Thanks, I realized this has been discussed at length else where.
>
> My solution has been to fully stop the activity on pause.  It seemed
> that
> after a pause is when the camera surface would hide the opengl
> surface.  Completely restarting
> the activity every time it pauses, by calling finish() in onPause(),
> puts the surfaces in the intended order.
>
> This is not ideal, and feels like a hackish solution. Also, I have not
> experimented on many phones,
> so i do not know if this is a consistent solution.
>
> On Dec 7, 1:26 am, Romain Guy  wrote:
> > There is no trick to using merge, there might however be an issue with
> > overlaying two surfaceviews on top of each other. I'm pretty sure
> > there's no guarantee of what the order of the underlying windows is
> > going to be.
> >
> >
> >
>  > On Sat, Dec 5, 2009 at 4:12 PM, Ethan Rublee 
> wrote:
> > > The following is the layout for my activity:
> > >  > > android:layout_height="fill_parent"
> > >xmlns:android="http://schemas.android.com/apk/res/android";>
> >
> > > > >android:id="@+id/videooverlay"
> > >android:layout_width="fill_parent"
> > >android:layout_height="fill_parent">
> > >
> >
> > > > >android:id="@+id/videoview"
> > >android:layout_width="fill_parent"
> > >android:layout_height="fill_parent">
> > >
> >
> > > 
> >
> > > The idea is that it is overlaying an GLSurfaceView (VideoOverlay) over
> > > a live preview from the camera (VideoView).  it works fine except for
> > > the following.
> > > 1. I exit the app by pressing home button
> > > 2. I reopen the app by holding home until recent apps appear, and then
> > > i select my app
> > > 3. Upon reopening the 3D box is hidden by the video preview.
> > > 4. If i exit by using the back button, then everything is fine.
> > > 5. if I switch the order of the views in the xml, then the opposite
> > > behaviour occurs - back button hides the VideoOverlay behind the
> > > VideoView, and home displays VideoOverlay ontop of the VideoView.
> >
> > >http://picasaweb.google.com/lh/photo/RGelzcQYpiy13DZFD3HB7g?feat=dire.
> ..
> > > is a picture of the desired behaviour.
> >
> > > Any suggestions welcome.  I have a feeling there is some trick to
> > > using merge.  I am only using merge to enable me to have the views
> > > completely overlay each other.  If there is another way then I'm more
> > > than willing to try it.
> >
> > > --
> > > 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 this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > Romain Guy
> > Android framework engineer
> > romain...@android.com
>  >
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: SensorManager.registerListener gives unexpected results

2009-12-13 Thread dan raaka
the IK series have the fix.

-Dan


On Thu, Dec 10, 2009 at 12:28 AM, TonyDoc  wrote:

> I'm running firmware 1.5,
> baseband I7500XXII5,
> kernel 2.6.27.35,
> build no 76XXCSDCBALUM6375
>
> On Dec 10, 4:51 am, dan raaka  wrote:
> > what is the full version name ?
> > -Dan
> >
>  > On Wed, Dec 9, 2009 at 10:41 AM, TonyDoc  wrote:
> > > Thanks Dan,
> > > I see K4 is out in the wild now. But not yet on NPS. Is it this
> > > firmware you speak of?
> >
> > > On Dec 9, 8:15 am, TonyDoc  wrote:
> > > > Hi, I have firmware I5on my device (latest I think). Do you know
> which
> > > > firmware gives correct sensor updates?
> >
> > > > On Dec 8, 6:31 pm, dan raaka  wrote:
> >
> > > > > If you use NPS studio - it allows you to update your device
> software
> > > tonewer
> > > > > builds.
> > > > > -Dan
> >
> > > > > On Tue, Dec 8, 2009 at 3:24 AM, TonyDoc  wrote:
> > > > > > What do you mean? Newer builds? Do you mean 1,6, 2.0? I'm using
> 1.5
> > > > > > SDK to try this...
> >
> > > > > > On Dec 7, 5:45 pm, dan raaka  wrote:
> > > > > > > The newer versions of the build dont exhibit this problem ..
> > > > > > > -Dan
> >
> > > > > > > On Mon, Nov 30, 2009 at 6:30 AM, TonyDoc 
> > > wrote:
> > > > > > > > I'm registering a sensor listener with this line of code.
> >
> > > mSensorManager.registerListener(this,mSensorManager.getDefaultSensor
> > > > > > > > (Sensor.TYPE_ACCELEROMETER),
> SensorManager.SENSOR_DELAY_FASTEST);
> >
> > > > > > > > The rate is set to SENSOR_DELAY_FASTEST with the expectation
> that
> > > I
> > > > > > > > would receive events roughly every 20-30ms. It turns out that
> I
> > > > > > > > receive events only every 200-220ms (just now, my event code
> > > simply
> > > > > > > > logcats the system time).
> >
> > > > > > > > No matter which rate I use, SENSOR_DELAY_NORMAL,
> SENSOR_DELAY_UI,
> > > > > > > > SENSOR_DELAY_GAME, or SENSOR_DELAY_FASTEST, I get the same
> > > result?
> >
> > > > > > > > Any ideas to what am I doing wrong?
> >
> > > > > > > > --
> > > > > > > > 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 this group at
> > > > > > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > > > > --
> > > > > > 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 this group at
> > > > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > 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 this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: SensorManager.registerListener gives unexpected results

2009-12-09 Thread dan raaka
what is the full version name ?
-Dan


On Wed, Dec 9, 2009 at 10:41 AM, TonyDoc  wrote:

> Thanks Dan,
> I see K4 is out in the wild now. But not yet on NPS. Is it this
> firmware you speak of?
>
> On Dec 9, 8:15 am, TonyDoc  wrote:
> > Hi, I have firmware I5on my device (latest I think). Do you know which
> > firmware gives correct sensor updates?
> >
> > On Dec 8, 6:31 pm, dan raaka  wrote:
> >
> > > If you use NPS studio - it allows you to update your device software
> tonewer
> > > builds.
> > > -Dan
> >
> > > On Tue, Dec 8, 2009 at 3:24 AM, TonyDoc  wrote:
> > > > What do you mean? Newer builds? Do you mean 1,6, 2.0? I'm using 1.5
> > > > SDK to try this...
> >
> > > > On Dec 7, 5:45 pm, dan raaka  wrote:
> > > > > The newer versions of the build dont exhibit this problem ..
> > > > > -Dan
> >
> > > > > On Mon, Nov 30, 2009 at 6:30 AM, TonyDoc 
> wrote:
> > > > > > I'm registering a sensor listener with this line of code.
> >
> > > > > >
> mSensorManager.registerListener(this,mSensorManager.getDefaultSensor
> > > > > > (Sensor.TYPE_ACCELEROMETER), SensorManager.SENSOR_DELAY_FASTEST);
> >
> > > > > > The rate is set to SENSOR_DELAY_FASTEST with the expectation that
> I
> > > > > > would receive events roughly every 20-30ms. It turns out that I
> > > > > > receive events only every 200-220ms (just now, my event code
> simply
> > > > > > logcats the system time).
> >
> > > > > > No matter which rate I use, SENSOR_DELAY_NORMAL, SENSOR_DELAY_UI,
> > > > > > SENSOR_DELAY_GAME, or SENSOR_DELAY_FASTEST, I get the same
> result?
> >
> > > > > > Any ideas to what am I doing wrong?
> >
> > > > > > --
> > > > > > 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 this group at
> > > > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > > --
> > > > 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 this group at
> > > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: DatePicker: years before 2000

2009-12-08 Thread dan raaka
I think it did .. if i remember correctly ..
-Dan


On Tue, Dec 8, 2009 at 8:51 AM, Thomas  wrote:

> > The user can still manually edit the box change the value.
>
> Yes but if he/she just enters a new value and taps on OK - is the new
> value passed to onDateSet() in the Hello, DatePicker demo?
>
> Regards
> Thomas
>
> On 7 Dez., 21:16, dan raaka  wrote:
> > The user can still manually edit the box change the value.
> > -Dan
> >
> >
> >
> > On Mon, Dec 7, 2009 at 12:03 PM, Thomas 
> wrote:
> > > Hello.
> >
> > > Thank you very much for verifying this.
> >
> > > Still, I cannot see why Samsung would want to prevent someone from
> > > selecting years prior to 2000?
> >
> > > I have not read of any limitations in the DatePicker /
> > > DatePickerDialog docs from Google. Why would anyone alter the
> > > behaviour of a gui component?
> >
> > > Can anybody shed some light on this? Perhaps some kind folks from
> > > Google, please??
> >
> > > Regards
> > > Thomas
> >
> > > On 7 Dez., 18:43, dan raaka  wrote:
> > > > yes that is correct.
> > > > -Dan
> >
> > > > On Sun, Dec 6, 2009 at 1:05 AM, Thomas 
> wrote:
> > > > > My app (TKBirthdayreminder) is heavily relying on DatePicker and
> > > > > DatePickerDialog. A few users have reported problems while entering
> > > > > the birthday date, specifically years prior to 2000. I was told by
> one
> > > > > user that on a Samsung Moment hitting the minus button below the
> year
> > > > > field will lead to 2002 -> 2001 -> 2000 -> 2099. Can a Samsung
> Moment
> > > > > owner please verify this assumption?
> >
> > > > > The DevGuide contains a small sample app:
> >
> > >
> http://developer.android.com/guide/tutorials/views/hello-datepicker.html
> >
> > > > > Thank you very much.
> >
> > > > > Regards
> > > > > Thomas
> >
> > > > > --
> > > > > 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 cr...@googlegroups.com> > > cr...@googlegroups.com>
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > 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 cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: SensorManager.registerListener gives unexpected results

2009-12-08 Thread dan raaka
If you use NPS studio - it allows you to update your device software tonewer
builds.
-Dan


On Tue, Dec 8, 2009 at 3:24 AM, TonyDoc  wrote:

> What do you mean? Newer builds? Do you mean 1,6, 2.0? I'm using 1.5
> SDK to try this...
>
> On Dec 7, 5:45 pm, dan raaka  wrote:
> > The newer versions of the build dont exhibit this problem ..
> > -Dan
> >
> > On Mon, Nov 30, 2009 at 6:30 AM, TonyDoc  wrote:
> > > I'm registering a sensor listener with this line of code.
> >
> > > mSensorManager.registerListener(this,mSensorManager.getDefaultSensor
> > > (Sensor.TYPE_ACCELEROMETER), SensorManager.SENSOR_DELAY_FASTEST);
> >
> > > The rate is set to SENSOR_DELAY_FASTEST with the expectation that I
> > > would receive events roughly every 20-30ms. It turns out that I
> > > receive events only every 200-220ms (just now, my event code simply
> > > logcats the system time).
> >
> > > No matter which rate I use, SENSOR_DELAY_NORMAL, SENSOR_DELAY_UI,
> > > SENSOR_DELAY_GAME, or SENSOR_DELAY_FASTEST, I get the same result?
> >
> > > Any ideas to what am I doing wrong?
> >
> > > --
> > > 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 this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Samsung devices and 3D performance

2009-12-07 Thread dan raaka
can you check DroidBench and NeoCore as well?
-Dan


On Mon, Dec 7, 2009 at 9:34 AM, dan raaka  wrote:

> Do you have a apk for testing .. which shows difference in performance ?
> -Dan
>
>
>
> On Thu, Dec 3, 2009 at 9:16 PM, SoftwareForMe.com  > wrote:
>
>> Greetings,
>>
>> We acquired a Samsung Moment today, and find that it's 3D performance is
>> very poor compared to the HTC and Motorola devices. I've tried all the
>> tricks I know (color depths, rendering options), but can't get much out of
>> it. Rotating a single textured quad is jerky.
>>
>> I understand that the Galaxy was missing a software component, and that
>> once a surrogate was added, the 3D performance was acceptable.
>>
>> Does anybody have the real low-down on this issue? Specifically:
>>
>> * Do others also find the Moment to be a poor 3D performer?
>> * Is there any word about Samsung fixing this?
>> * Am I missing something obvious?
>>
>> Thanks much,
>> SoftwareForMe.com
>> Makers of PhoneMyPC
>> & Imagine Multi-touch
>> --
>> 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 this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: DatePicker: years before 2000

2009-12-07 Thread dan raaka
The user can still manually edit the box change the value.
-Dan


On Mon, Dec 7, 2009 at 12:03 PM, Thomas  wrote:

> Hello.
>
> Thank you very much for verifying this.
>
> Still, I cannot see why Samsung would want to prevent someone from
> selecting years prior to 2000?
>
> I have not read of any limitations in the DatePicker /
> DatePickerDialog docs from Google. Why would anyone alter the
> behaviour of a gui component?
>
> Can anybody shed some light on this? Perhaps some kind folks from
> Google, please??
>
> Regards
> Thomas
>
>
> On 7 Dez., 18:43, dan raaka  wrote:
> > yes that is correct.
> > -Dan
> >
> >
> >
> > On Sun, Dec 6, 2009 at 1:05 AM, Thomas  wrote:
> > > My app (TKBirthdayreminder) is heavily relying on DatePicker and
> > > DatePickerDialog. A few users have reported problems while entering
> > > the birthday date, specifically years prior to 2000. I was told by one
> > > user that on a Samsung Moment hitting the minus button below the year
> > > field will lead to 2002 -> 2001 -> 2000 -> 2099. Can a Samsung Moment
> > > owner please verify this assumption?
> >
> > > The DevGuide contains a small sample app:
> > >
> http://developer.android.com/guide/tutorials/views/hello-datepicker.html
> >
> > > Thank you very much.
> >
> > > Regards
> > > Thomas
> >
> > > --
> > > 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 cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] SensorManager.registerListener gives unexpected results

2009-12-07 Thread dan raaka
The newer versions of the build dont exhibit this problem ..
-Dan


On Mon, Nov 30, 2009 at 6:30 AM, TonyDoc  wrote:

> I'm registering a sensor listener with this line of code.
>
> mSensorManager.registerListener(this,mSensorManager.getDefaultSensor
> (Sensor.TYPE_ACCELEROMETER), SensorManager.SENSOR_DELAY_FASTEST);
>
> The rate is set to SENSOR_DELAY_FASTEST with the expectation that I
> would receive events roughly every 20-30ms. It turns out that I
> receive events only every 200-220ms (just now, my event code simply
> logcats the system time).
>
> No matter which rate I use, SENSOR_DELAY_NORMAL, SENSOR_DELAY_UI,
> SENSOR_DELAY_GAME, or SENSOR_DELAY_FASTEST, I get the same result?
>
> Any ideas to what am I doing wrong?
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] DatePicker: years before 2000

2009-12-07 Thread dan raaka
yes that is correct.
-Dan


On Sun, Dec 6, 2009 at 1:05 AM, Thomas  wrote:

> My app (TKBirthdayreminder) is heavily relying on DatePicker and
> DatePickerDialog. A few users have reported problems while entering
> the birthday date, specifically years prior to 2000. I was told by one
> user that on a Samsung Moment hitting the minus button below the year
> field will lead to 2002 -> 2001 -> 2000 -> 2099. Can a Samsung Moment
> owner please verify this assumption?
>
> The DevGuide contains a small sample app:
> http://developer.android.com/guide/tutorials/views/hello-datepicker.html
>
> Thank you very much.
>
> Regards
> Thomas
>
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Samsung devices and 3D performance

2009-12-07 Thread dan raaka
Do you have a apk for testing .. which shows difference in performance ?
-Dan


On Thu, Dec 3, 2009 at 9:16 PM, SoftwareForMe.com
wrote:

> Greetings,
>
> We acquired a Samsung Moment today, and find that it's 3D performance is
> very poor compared to the HTC and Motorola devices. I've tried all the
> tricks I know (color depths, rendering options), but can't get much out of
> it. Rotating a single textured quad is jerky.
>
> I understand that the Galaxy was missing a software component, and that
> once a surrogate was added, the 3D performance was acceptable.
>
> Does anybody have the real low-down on this issue? Specifically:
>
> * Do others also find the Moment to be a poor 3D performer?
> * Is there any word about Samsung fixing this?
> * Am I missing something obvious?
>
> Thanks much,
> SoftwareForMe.com
> Makers of PhoneMyPC
> & Imagine Multi-touch
> --
> 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 this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: what is wrong with eclair SDK mapsview ..

2009-12-04 Thread Dan Raaka
got it .. had inadvertently added maps.jar via external jars to
eclipse.

On Dec 4, 10:29 pm, Dan Raaka  wrote:
> I have mapstest app ..
>
> ---AndroidManifest.xml
> 
> http://schemas.android.com/apk/res/android";
>       package="com.dan.maptest"
>       android:versionCode="1"
>       android:versionName="1.0">
>     
>                            android:label="@string/app_name">
>             
>                 
>                  android:name="android.intent.category.LAUNCHER" />
>             
>         
>
>      android:required="true">
> 
>     
>
>  android:name="android.permission.ACCESS_COARSE_LOCATION"> permission>
>  android:name="android.permission.ACCESS_FINE_LOCATION"> permission>
>  permission>
> 
>
> The activity itself is fairly simple
>
> public class maptest extends MapActivity {
> //bunch of stuff
>
> }
>
> Then when I try to run my app on the emulator
>
> I/ActivityManager(   60): Start proc com.dan.maptest for activity
> com.dan.maptest/.maptest: pid=221 uid=10025 gids={3003}
> D/NetworkLocationProvider(   60): onDataConnectionStateChanged 0
> D/dalvikvm(  198): LinearAlloc 0x0 used 634508 of 5242880 (12%)
> D/ddm-heap(  163): Got feature list request
> D/ddm-heap(  206): Got feature list request
> D/        (  206): unable to unlink '/data/data/com.android.alarmclock/
> shared_prefs/AlarmClock.xml.bak': No such file or directory (errno=2)
> D/ddm-heap(  221): Got feature list request
> I/ARMAssembler(   60): generated
> scanline__0177:03515104_0001_ [ 73 ipp] (95 ins) at
> [0x3925b8:0x392734] in 870781 ns
> I/ARMAssembler(   60): generated
> scanline__0077:03010104_0004_ [ 22 ipp] (41 ins) at
> [0x393f70:0x394014] in 1371962 ns
> W/BackupManagerService(   60): dataChanged but no participant
> pkg='com.android.providers.settings' uid=10014
> W/dalvikvm(  221): Class resolved by unexpected DEX: Lcom/dan/maptest/
> maptest;(0x43ab5d48):0x11e578 ref [Lcom/google/android/maps/
> MapActivity;] Lcom/google/an
> droid/maps/MapActivity;(0x43ab5d48):0x11da08
> W/dalvikvm(  221): (Lcom/dan/maptest/maptest; had used a different
> Lcom/google/android/maps/MapActivity; during pre-verification)
> W/dalvikvm(  221): Unable to resolve superclass of Lcom/dan/maptest/
> maptest; (38)
> W/dalvikvm(  221): Link of class 'Lcom/dan/maptest/maptest;' failed
> D/AndroidRuntime(  221): Shutting down VM
> W/dalvikvm(  221): threadid=3: thread exiting with uncaught exception
> (group=0x4001b188)
> E/AndroidRuntime(  221): Uncaught handler: thread main exiting due to
> uncaught exception
> E/AndroidRuntime(  221): java.lang.IllegalAccessError: Class ref in
> pre-verified class resolved to unexpected implementation
> E/AndroidRuntime(  221):        at dalvik.system.DexFile.defineClass
> (Native Method)
> E/AndroidRuntime(  221):        at
> dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209)
> E/AndroidRuntime(  221):        at
> dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
> E/AndroidRuntime(  221):        at java.lang.ClassLoader.loadClass
> (ClassLoader.java:573)
> E/AndroidRuntime(  221):        at java.lang.ClassLoader.loadClass
> (ClassLoader.java:532)
> E/AndroidRuntime(  221):        at
> android.app.Instrumentation.newActivity(Instrumentation.java:1021)
> E/AndroidRuntime(  221):        at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2367)
> E/AndroidRuntime(  221):        at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> 2470)
> E/AndroidRuntime(  221):        at android.app.ActivityThread.access
> $2200(ActivityThread.java:119)
> E/AndroidRuntime(  221):        at android.app.ActivityThread
> $H.handleMessage(ActivityThread.java:1821)
> E/AndroidRuntime(  221):        at android.os.Handler.dispatchMessage
> (Handler.java:99)
> E/AndroidRuntime(  221):        at android.os.Looper.loop(Looper.java:
> 123)
> E/AndroidRuntime(  221):        at android.app.ActivityThread.main
> (ActivityThread.java:4310)
> E/AndroidRuntime(  221):        at
> java.lang.reflect.Method.invokeNative(NativeMethod)
> E/AndroidRuntime(  221):        at java.lang.reflect.Method.invoke
> (Method.java:521)
> E/AndroidRuntime(  221):        at com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:860)
> E/AndroidRuntime(  221):        at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
> E/AndroidRuntime(  221):        at dalvik.system.NativeStart.main
> (Native Method)
> W/BackupManagerService(   60): dataChanged 

[android-developers] what is wrong with eclair SDK mapsview ..

2009-12-04 Thread Dan Raaka
I have mapstest app ..

---AndroidManifest.xml

http://schemas.android.com/apk/res/android";
  package="com.dan.maptest"
  android:versionCode="1"
  android:versionName="1.0">


















The activity itself is fairly simple

public class maptest extends MapActivity {
//bunch of stuff

}


Then when I try to run my app on the emulator

I/ActivityManager(   60): Start proc com.dan.maptest for activity
com.dan.maptest/.maptest: pid=221 uid=10025 gids={3003}
D/NetworkLocationProvider(   60): onDataConnectionStateChanged 0
D/dalvikvm(  198): LinearAlloc 0x0 used 634508 of 5242880 (12%)
D/ddm-heap(  163): Got feature list request
D/ddm-heap(  206): Got feature list request
D/(  206): unable to unlink '/data/data/com.android.alarmclock/
shared_prefs/AlarmClock.xml.bak': No such file or directory (errno=2)
D/ddm-heap(  221): Got feature list request
I/ARMAssembler(   60): generated
scanline__0177:03515104_0001_ [ 73 ipp] (95 ins) at
[0x3925b8:0x392734] in 870781 ns
I/ARMAssembler(   60): generated
scanline__0077:03010104_0004_ [ 22 ipp] (41 ins) at
[0x393f70:0x394014] in 1371962 ns
W/BackupManagerService(   60): dataChanged but no participant
pkg='com.android.providers.settings' uid=10014
W/dalvikvm(  221): Class resolved by unexpected DEX: Lcom/dan/maptest/
maptest;(0x43ab5d48):0x11e578 ref [Lcom/google/android/maps/
MapActivity;] Lcom/google/an
droid/maps/MapActivity;(0x43ab5d48):0x11da08
W/dalvikvm(  221): (Lcom/dan/maptest/maptest; had used a different
Lcom/google/android/maps/MapActivity; during pre-verification)
W/dalvikvm(  221): Unable to resolve superclass of Lcom/dan/maptest/
maptest; (38)
W/dalvikvm(  221): Link of class 'Lcom/dan/maptest/maptest;' failed
D/AndroidRuntime(  221): Shutting down VM
W/dalvikvm(  221): threadid=3: thread exiting with uncaught exception
(group=0x4001b188)
E/AndroidRuntime(  221): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  221): java.lang.IllegalAccessError: Class ref in
pre-verified class resolved to unexpected implementation
E/AndroidRuntime(  221):at dalvik.system.DexFile.defineClass
(Native Method)
E/AndroidRuntime(  221):at
dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209)
E/AndroidRuntime(  221):at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
E/AndroidRuntime(  221):at java.lang.ClassLoader.loadClass
(ClassLoader.java:573)
E/AndroidRuntime(  221):at java.lang.ClassLoader.loadClass
(ClassLoader.java:532)
E/AndroidRuntime(  221):at
android.app.Instrumentation.newActivity(Instrumentation.java:1021)
E/AndroidRuntime(  221):at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2367)
E/AndroidRuntime(  221):at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2470)
E/AndroidRuntime(  221):at android.app.ActivityThread.access
$2200(ActivityThread.java:119)
E/AndroidRuntime(  221):at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1821)
E/AndroidRuntime(  221):at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime(  221):at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime(  221):at android.app.ActivityThread.main
(ActivityThread.java:4310)
E/AndroidRuntime(  221):at
java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime(  221):at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime(  221):at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(  221):at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(  221):at dalvik.system.NativeStart.main
(Native Method)
W/BackupManagerService(   60): dataChanged but no participant
pkg='com.android.providers.settings' uid=10014

what am I missing here .. the same on donut emulator and an 1.5 device.

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en


  1   2   3   >