[android-developers] My best love i--)

2010-12-04 Thread Raja
hi, a few days ago, I purchased several Christmas gifts from a bussiness company, because all products in discount season, very affordable, you can go to brow: mobilesoso.com, if you find appropriate item, decorating your Christmas Days. 9--) -- You received this message because you are subscr

[android-developers] problem with GestureOverlayView on Nexus One

2010-12-04 Thread kanatacrude
Problem: I have multitouch unintentionally generating a single stroke gesture. I'm using a GestureOverlayView over the entire screen and not attempting to use multitouch at all. I'm using android:gestureStrokeType="single". One of my gestures is a horizontal left to right, like a swipe. It work

[android-developers] Transferred my app to a new country - Sales dropped 50%

2010-12-04 Thread peter
Hello, Recently I have transferred my app in from my Checkout U.S. account to an account outside U.S. We notice that our sales have dropped 50% since then. Looked into the sales log it appears the drop is due to the Credit Card rejected. Our app costs $3US and we sold over 200 apps per day consis

RE: [android-developers] Re: What Tablet would you get

2010-12-04 Thread Ted Neward
I would never buy an Archos device again, ever--I had a terrible experience with a device I bought from them two years ago, and the customer service was flat-out inexcusably bad. The general perception was that they just didn't give a sh*t about the defective device they sold me, and it was my own

[android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread Chris Stratton
On Dec 4, 4:26 pm, guillaume benats wrote: > Yes I agree, but my point is not to complete all the weaknesses of Android > in terms of privacy. I have made with some colleagues a dependency-aware > privacy management model for mobile applications. And I'd like to focus on > those dependencies so I

[android-developers] Re: connect my phone(Galaxy 2.1) to PC using socket communication, which IP and port number should i use?

2010-12-04 Thread Chris Stratton
On Dec 3, 12:43 am, Tantu wrote: > i want to connect my phone to PC using socket communication and my > phone acts as a client in this communication. my code is working in > emulator but not in phone. This is not officially supported. That it works on the emulator is a special case, due to the

Re: [android-developers] Re: Buttons supported in notification expanded view?

2010-12-04 Thread David Huang
My code is not that much different than edrowland's // Set the contentIntent of notification Intent defaultIntent = new Intent(context, DoNothing.class); defaultIntent .setAction("Default"); PendingIntent pendingDefaultIntent = PendingIntent.getActivity(context, 0, defaultIntent , 0); notification

Re: [android-developers] Possible to populate context menu at draw time?

2010-12-04 Thread Mark Murphy
On Sat, Dec 4, 2010 at 8:02 PM, David Karr wrote: > I don't necessarily have a need for this, but I noticed while reading > through some of the Menu features that there wasn't an obvious way to > populate a menu (context menu, for instance) just before drawing it. I > believe this is a typical fea

[android-developers] Re: can anybody know how can i control the vibrate‘s strength

2010-12-04 Thread Bob Kerns
How to control the vibrate's strength: 1) Carefully disassemble your device. 2) Locate the vibrator component. Generally this will be a very tiny motor with an unbalanced flywheel weight. 3) Alter the weight -- either removing or adding material as desired, to change the degree of unbalance and th

Re: [android-developers] Re: connect my phone(Galaxy 2.1) to PC usingsocket communication, which IP and port number should i use?

2010-12-04 Thread if05041
If you need to refer to your pc host's localhost when your emu and pc in the same computer use 10.0.2.2 127.0.0.1 refers to emulator localhost. Powered by Telkomsel BlackBerry® -Original Message- From: Hal Sender: android-developers@googlegroups.com Date: Sat, 4 Dec 2010 16:28:07 To:

[android-developers] Possible to populate context menu at draw time?

2010-12-04 Thread David Karr
I don't necessarily have a need for this, but I noticed while reading through some of the Menu features that there wasn't an obvious way to populate a menu (context menu, for instance) just before drawing it. I believe this is a typical feature of other menu systems. Is it possible to do this in A

[android-developers] Anybody else getting "document.body is null" JS error when loading Market Dashboard?

2010-12-04 Thread Paul Tongyoo
When I hit the URL "http://market.android.com/publish/Home";, I get an infinite "Loading" spinner as well as a "document.body is null" JS error within the following file: http://market.android.com/publish/gwt/com.google.wireless.android.vending.developer.HomeMod.nocache.js Anyone else having this

[android-developers] Re: Why do the Date/Time controls have "+" on the top and "-" on the bottom?

2010-12-04 Thread DanH
On yet a different phone platform we experimented with several different schemes. We found that people pretty much always felt that pushing a "+" at the top to go up and a "-" below that to go down was most natural. When you introduce a wheel, however, things get a bit more muddled -- usually goi

Re: [android-developers] How to set background in a PreferenceScreen

2010-12-04 Thread Gergely Juhász
yeah, it is a known bug: http://code.google.com/p/android/issues/detail?id=4611 On 3 December 2010 23:59, Douglas Fonseca wrote: > Hi, > I'm working on a preference screen to my app. The main preference screen is > described in a .xml file and in this XML code I declared another > PreferenceScre

[android-developers] Re: connect my phone(Galaxy 2.1) to PC using socket communication, which IP and port number should i use?

2010-12-04 Thread Hal
you need to determine the ip of your computer and the appropriate port for the server. Client/Server should match. On Dec 3, 12:43 am, Tantu wrote: > i want to connect my phone to PC using socket communication and my > phone acts as a client in this communication. my code is working in > emulat

[android-developers] Re: Setting color of drawable shape in code

2010-12-04 Thread benoit808
I actually didn't need to set the RoundRectShape, just using the PaintDrawable with the constructor taking a color and then setting the Radii did the trick. Thanks a lot On Nov 28, 1:42 am, Kostya Vasilyev wrote: > There is only one background per view - if you use a color value or an > image, it

[android-developers] 60% payment declined on Android Market today!

2010-12-04 Thread webmonkey
What is going on today! Out of a 100 orders, more than 50 are declined, and it is not stopping, all I see is red payment declined orders. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

Re: [android-developers] AIDL aspects for memory usage and speed

2010-12-04 Thread Dianne Hackborn
Binder IPC is not intended for several megabytes of data transport. You should keep a single call well under a megabyte, and hopefully more in the realm of 100K. If you are sending more data than that, you should do it through an fd or shared memory area; it is easy to transport such objects thro

Re: [android-developers] Re: APK file package name

2010-12-04 Thread Dianne Hackborn
I would be happy to accept a patch to aapt to have it output those as XML. The reason it isn't there is that it isn't as easy to do as what is there now. Parsing .dex files is well outside the domain of aapt, though. On Wed, Dec 1, 2010 at 5:06 AM, Bob Kerns wrote: > Ah, you beat me to the ans

Re: [android-developers] Why do the Date/Time controls have "+" on the top and "-" on the bottom?

2010-12-04 Thread Dianne Hackborn
I'd say the + being at the top and - at the bottom, or the other way around, is the *least* of the problems with the UI in those controls... On Sat, Dec 4, 2010 at 2:02 PM, David Karr wrote: > I've always thought it was strange that the Date/Time controls have > the increment and decrement button

[android-developers] Re: Problem in communicating from tabActivity to Child Activity

2010-12-04 Thread edrowland
No easy way for the parent to find the children; but the children can find their parents by calling Activity.getParent(). So get the children to find their parent, and register with it in onCreate. On Dec 2, 3:59 pm, TreKing wrote: > On Wed, Dec 1, 2010 at 8:21 AM, cool.manish wrote: > > Plea

[android-developers] Re: Buttons supported in notification expanded view?

2010-12-04 Thread edrowland
I have the same problem on Galaxy tab. Currently both intents go to the same place (since having a cancel button is better than not having one,even if the cancel intent doesn't fire). Under no circumstance does the the intent for the cancel button fire, on a Galaxy Tab. Not setting a contentIntent

Re: [android-developers] Why do the Date/Time controls have "+" on the top and "-" on the bottom?

2010-12-04 Thread Mark Murphy
On Sat, Dec 4, 2010 at 5:02 PM, David Karr wrote: > I've always thought it was strange that the Date/Time controls have > the increment and decrement buttons in the order that seems opposite > to the natural order.  Experience in user interfaces tells you that > numbers increase "down" and decreas

[android-developers] Re: Use MediaPlayer in background and control it after app restarts

2010-12-04 Thread Doug
On Dec 2, 10:37 am, 1001knights wrote: > I would like to know how to control MediaPlayer again after I launch > the application later, so that I won't have too many copies open? You should probably create a persistent Service that manages the MediaPlayer instance you want to work with. Activitie

[android-developers] Why do the Date/Time controls have "+" on the top and "-" on the bottom?

2010-12-04 Thread David Karr
I've always thought it was strange that the Date/Time controls have the increment and decrement buttons in the order that seems opposite to the natural order. Experience in user interfaces tells you that numbers increase "down" and decrease "up", just like the entries in a list. If you had a Date

[android-developers] How to distinguish Froyo Mobile AP (shared) connection from straight Mobile connection?

2010-12-04 Thread edrowland
How does one detect whether a network is a Mobile AP connection? The application: need to decide whether to do local network SSDP discovery via network broadcasts. For a straight wifi connection, you use WifiManager. But when the Mobile AP is enabled, WifiManager says that the current connection

Re: [android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread guillaume benats
Yes I agree, but my point is not to complete all the weaknesses of Android in terms of privacy. I have made with some colleagues a dependency-aware privacy management model for mobile applications. And I'd like to focus on those dependencies so I'd like to use that kind of tool to make some observa

[android-developers] Re: Layouts

2010-12-04 Thread Paul Turchenko
I would go with custom layout manager: extend ViewGroup, override onLayout method and provide your own layout logic. On Dec 4, 3:26 pm, P.N. wrote: > Hello! > > Is there any layout to achieve this: > - 5 rows with 3 columns; > - every row 20% of display height; > - first and third column 25% of d

[android-developers] Re: Buttons supported in notification expanded view?

2010-12-04 Thread Paul Turchenko
Can you post a code you use to create pending intent? On Dec 3, 1:18 am, CrazyH wrote: > Hi, > > I am trying to get buttons to work in notification expanded view.  The > goal is to use the buttons to launch activities from the notification > view.  Is this even supported?  Here is a very simple o

Re: [android-developers] Re: No activity found for ACTION_APPLICATION_DEVELOPMENT_SETTINGS

2010-12-04 Thread Kostya Vasilyev
Looked it up. This is a Froyo snapshot of Settings app's manifest: http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=blob;f=AndroidManifest.xml;h=78c0f5b35401b96e42915d81e4c2a0e51f262dbd;hb=froyo-release The relevant part is this: 586 588 589 590 android:name="com.

[android-developers] Re: How to display a raw YUV frame in an Android OpenGL program?

2010-12-04 Thread Nilly
Yes same thing is happening for me. I have also written program in opengles 2.0 and uploading texture yuv is taking around 54ms and rendering is taking 20 ms. 640*480. But what i feel is this is blocking cpu but i dont know how to do all of that in gpu or second option is that all this is happen

[android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread Chris Stratton
On Dec 4, 12:34 pm, guillaume benats wrote: > Right, I could use tool like TaintDroid or ScanDroid if they were > publicated... I strongly suspect that there are ways to leak private information which such tools would be unable to identify or distinguish from innocent transmission of non-private

Re: [android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread guillaume benats
I did not know that we could use it! Thanks! Regards On Sat, Dec 4, 2010 at 6:53 PM, Mark Murphy wrote: > On Sat, Dec 4, 2010 at 12:34 PM, guillaume benats > wrote: > > Right, I could use tool like TaintDroid or ScanDroid if they were > > publicated... > > Instructions for using TaintDroid ca

Re: [android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread Mark Murphy
On Sat, Dec 4, 2010 at 12:34 PM, guillaume benats wrote: > Right, I could use tool like TaintDroid or ScanDroid if they were > publicated... Instructions for using TaintDroid can be found here: http://appanalysis.org/download.html > Anyway, is there any database of granted permissions? I mean c

Re: [android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread guillaume benats
Right, I could use tool like TaintDroid or ScanDroid if they were publicated... Anyway, is there any database of granted permissions? I mean can I access some sort of list saying which application is granted which permissions? On Sat, Dec 4, 2010 at 4:52 PM, Chris Stratton wrote: > On Dec 4, 10

[android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread Chris Stratton
On Dec 4, 10:30 am, guillaume benats wrote: > Mmmh. So there is no way I can tell that two applications are possibly used > together ? I would say no. It's one of those can't prove a negative problems. You can catch two apps in the act of communicating by some method or another, but it's going

Re: [android-developers] Click on overlay and move to another activity

2010-12-04 Thread Mark Murphy
On Sat, Dec 4, 2010 at 9:43 AM, cool.manish wrote: > I am displaying google map in my app and displaying POIs on it using > overlay. I want to capture onTap action of the overaly and to move to > another activity. I have find out some tutorial which are telling how > to display some message at the

Re: [android-developers] Re: Button placement problems

2010-12-04 Thread Kostya Vasilyev
As far as I understand, for you, the background is more important, and the buttons should be placed at certain positions within the background. Well, there is no law that says you have to use layout_margin and dp units for positioning your buttons (ImageViews). Write your own ViewGroup subcla

Re: [android-developers] Logging actions

2010-12-04 Thread Kostya Vasilyev
Pedro, Not sure if you're asking about gps coordinates or device orientation, here are links for both: http://developer.android.com/reference/android/hardware/SensorManager.html http://developer.android.com/reference/android/location/LocationManager.html You mention logging current time: ht

Re: [android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread guillaume benats
Mmmh. So there is no way I can tell that two applications are possibly used together ? On Sat, Dec 4, 2010 at 4:17 PM, Chris Stratton wrote: > On Dec 4, 9:58 am, guillaume benats > wrote: > > That what I though, as this is for a case study and to validate a > research > > statement, it's not a

Re: [android-developers] Layouts

2010-12-04 Thread Kostya Vasilyev
Peter, Specifying a fraction of parent size can be done with layout_weight. Not sure if it works with table layouts, but for a small table like this, you could use nested LinearLayouts, which do support layout_weight very well. -- Kostya 04.12.2010 16:26, P.N. пишет: Hello! Is there any l

[android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread Chris Stratton
On Dec 4, 9:58 am, guillaume benats wrote: > That what I though, as this is for a case study and to validate a research > statement, it's not a problem if it's not working on non-rooted phone. > I am in fact trying to take dependencies between apps into account for a > privacy management tool. Oh

Re: [android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread guillaume benats
That what I though, as this is for a case study and to validate a research statement, it's not a problem if it's not working on non-rooted phone. I am in fact trying to take dependencies between apps into account for a privacy management tool. Thank you both for your help, I'll try this. On Sat,

[android-developers] Re: Getting information about external applications used by one particular application

2010-12-04 Thread Chris Stratton
On Dec 4, 9:43 am, guillaume benats wrote: > Listing all intent filters of all applications of a device using a > deassembler > Listing all startActivities of all apps using same technique Well, this should be possible at least on a rooted device, and for non copy protected apps on a consumer de

[android-developers] http proxy

2010-12-04 Thread Seb
I'm trying to define a http proxy on my htc desire 2.2. I've tried using various apps from the market. None worked! I've tried using the adb shell, that is manually insert the proper values into the database. Didnt work either. Finally I tried to make my own app using Settings.System.putString(get

[android-developers] Click on overlay and move to another activity

2010-12-04 Thread cool.manish
Hi Guys, I am displaying google map in my app and displaying POIs on it using overlay. I want to capture onTap action of the overaly and to move to another activity. I have find out some tutorial which are telling how to display some message at the time of clicking but I want to move to another ac

Re: [android-developers] Getting information about external applications used by one particular application

2010-12-04 Thread guillaume benats
Ok thank you for your help Mark. Instead I am currently doing this: Listing all intent filters of all applications of a device using a deassembler Listing all startActivities of all apps using same technique To have a possible list of applications possibly used together. I will then do it case b

[android-developers] AIDL aspects for memory usage and speed

2010-12-04 Thread Sebastian
Hello, currently I'm using AIDL to send various amounts of data from one process to another. The amount of data does vary between some bytes and up to several megabytes (stream). What is the optimal/maximum size for *one* pass of data through an AIDL call? And which size should be used, keeping m

[android-developers] Re: interactive notification?

2010-12-04 Thread Mike dg
I believe this works on certain Sense devices, but unless something has changed recently, it's not doable on stock. On Dec 4, 4:24 am, Dianne Hackborn wrote: > I would suggest trying on the stock platform (in the emulator), and taking > that as the expected behavior.  From your post you say it do

[android-developers] Re: Can't disable keyguard anymore

2010-12-04 Thread Mike dg
I think some Googlers have said this was going away for a long time now. I suppose it finally happened. :( If you want to give a try of my paid app, Keyguard Disabler go for it. If it still works on your device I'll try to help get you working. Then feel free to do an automated refund or mail me f

[android-developers] Re: LocationListener sometimes not receiving updates from "network" provider

2010-12-04 Thread michael
Hi again, Just to follow up on this issue, it seems that all the cases of location update failures occur when the Wi-Fi is disabled. This is consistent with what Geoff described and seems to happen across a number of different phone models. Now I ask my users in these cases to enable Wi-Fi -- I g

[android-developers] Re: No activity found for ACTION_APPLICATION_DEVELOPMENT_SETTINGS

2010-12-04 Thread gg9h0st
em~ thanks for the reply Mark. I've tried it on emulator API7 and It crashes again for same reason. 12-04 22:19:52.812: ERROR/AndroidRuntime(295): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS flg=0x3000 }

[android-developers] Layouts

2010-12-04 Thread P . N .
Hello! Is there any layout to achieve this: - 5 rows with 3 columns; - every row 20% of display height; - first and third column 25% of display width, second is 50%; - child views (buttons) in second and fourth row, second column? I've tried to use TableLayout, but it doesn't work as expected. E

Re: [android-developers] Re: No activity found for ACTION_APPLICATION_DEVELOPMENT_SETTINGS

2010-12-04 Thread Mark Murphy
I have seen where some devices mess up those Settings.ACTION_* values -- they change something around in the Settings app and fail to set up the IntentFilters or something. If you do try it on the emulator, let me know what the results are. If it works there but fails on hardware, that is a CTS bu

[android-developers] Re: No activity found for ACTION_APPLICATION_DEVELOPMENT_SETTINGS

2010-12-04 Thread gg9h0st
It's been tested on API level6, devices GalaxyA(SHW-M100S), Motorio(XT720). I'll try it on emulator again and post. On Dec 4, 9:53 pm, Mark Murphy wrote: > What are you testing this on? If it's an emulator, what SDK level is > it? If it is a device, what model is it? > > > > > > > > > > On Sat,

Re: [android-developers] No activity found for ACTION_APPLICATION_DEVELOPMENT_SETTINGS

2010-12-04 Thread Mark Murphy
What are you testing this on? If it's an emulator, what SDK level is it? If it is a device, what model is it? On Sat, Dec 4, 2010 at 5:03 AM, gg9h0st wrote: > hello~ > > I'm working on a fake gps app and want to show "Settings -> > Application -> Development" activity when "Allow mock locations"

Re: [android-developers] Getting information about external applications used by one particular application

2010-12-04 Thread Mark Murphy
On Fri, Dec 3, 2010 at 4:41 PM, guillaume benats wrote: > MMh ok sorry, I did not understood it that way, you are right. > But isn't there a database including all URIs, intents can target? Not really, and certainly not one visible in the SDK on the device. It would be in PackageManager if it wer

Re: [android-developers] Sending custom intents from application to service

2010-12-04 Thread YuviDroid
In your AndroidManifest.xml, under your receiver, you should also create an with your custom action. Then create an Intent using the constructor "Intent (String action)" (by passing your custom action), and send the broadcast. I found here a simple example which might help: http://www.androidcomp

[android-developers] Sending custom intents from application to service

2010-12-04 Thread Peter Webb
I have a wallpaper app on the market. I have almost finished a customisation application for it, which I want to sell. Because it is a wallpaper, I can't use a launch intent. I have now spent many days trying to simply pass a custom intent using BroadcastReceiver. I can't find a single example on

[android-developers] Re: Button placement problems

2010-12-04 Thread Serdel
But the problem is to place them on the same area on the screen. I only could come up with margins but I try to avoid that. Right now I have solved this by grouping the buttons in a linear layout and set the background of this layout. Then the layout is placed inside a parent relative layout and al

Re: [android-developers] Logging actions

2010-12-04 Thread Pedro Teixeira
Any thoughts on this please? It seems quite easy but every time I search on internet I just find applications that already do this.. I kinda just want to send an email with the gps positions or something close to that.. like write in a txt the coordinates while the user is walking.. Anyway I nee

[android-developers] Re: App freezes when the power key is pressed

2010-12-04 Thread Yahel
For the screen-orientation, you just have to specify the one you want in the activity tag of your manifest.xml : http://developer.android.com/intl/de/guide/topics/manifest/activity-element.html I agree with Dianne on the not so impressive Sony-Ericson way to help you fix an issue for THEIR devic

[android-developers] No activity found for ACTION_APPLICATION_DEVELOPMENT_SETTINGS

2010-12-04 Thread gg9h0st
hello~ I'm working on a fake gps app and want to show "Settings -> Application -> Development" activity when "Allow mock locations" setting is inactive. below is the code work pretty good. Intent intent = new Intent(); intent.setAction(Settings.ACTION_APPLICATION_SETTINGS); startActivity(intent);

[android-developers] Can't disable keyguard anymore

2010-12-04 Thread Teo [GD API Guru]
Hi, has something changed in the latest OS update (Android 2.2.1, Nexus One) about disabling keyguards? I have an app that has an alarm feature and wakes up the phone + disables the keyguard; the keyguard disabling doesn't happen anymore. Here's what i'm doing: private final void unlockScreen() {

[android-developers] Re: App freezes when the power key is pressed

2010-12-04 Thread Eyvind Almqvist
It's good to hear that the rotation problems seem to be fixed! I didn't know that I could keep the the screen static so it didn't rotate. I know this can be done in Symbian 5th edition by adding a JAD attribute. I am considering to change another thing in the app before I release it. One person h

Re: [android-developers] Re: interactive notification?

2010-12-04 Thread Dianne Hackborn
I would suggest trying on the stock platform (in the emulator), and taking that as the expected behavior. From your post you say it doesn't work on the Droid 1, which is stock Android, so this is likely just not something that is supported in the base platform and what you are see is various exten

Re: [android-developers] Re: App freezes when the power key is pressed

2010-12-04 Thread Dianne Hackborn
So... why are they bugging you about these problems, but not even having the courtesy to send you actual useful information to debug them -- no exception stack of the crash, no stack crawls from the ANR. This is SonyEricsson you are communicating with? And they can't give you basic debugging inf

[android-developers] Re: What Tablet would you get

2010-12-04 Thread JonFHancock
I picked up a viewsonic g tablet at Sears for $379. The stock ui is aweful, but with cayanogenmod, it is an amazing device. Modding instructions are available on xda. On Dec 3, 4:03 pm, Gaelin wrote: > I searched through the board and I didn't see anyone ask this yet so I > apologize if this h