[android-developers] arecord aplay sampling rate

2010-09-22 Thread s n
all, how do i change/set the sampling rate and parameters that aplay and arecord accepts in android? tia. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: New to Developing, Need Insight

2010-09-22 Thread William Ferguson
Nice analogy - I'm a Captain Beefheart fan. But I beg to differ. While the Android SDK most certainly has its idosyncracies, mostly notably for me the incessant overuse of implementation inheritance and the use of ints instead of (typed) enums. It also requires a good understanding of standard

[android-developers] Re: Service, AsyncTask, or both?

2010-09-22 Thread ko5tik
I do all interchange with my high-score servers ( pretty same use case as yours, also with sent flag ;) ) in broadcast receiver - I request regular updates via non-wakeup alarm ( 30 minutes ). It works fine. Service is needed when you have to do longer piece of work and stay alive. -- You

[android-developers] Re: How much money do you make?

2010-09-22 Thread ko5tik
On Sep 21, 10:35 pm, Indicator Veritatis mej1...@yahoo.com wrote: in Yeltsin's Russia, for example, it was routine to keep one set of books for real and the other to show the taxman. You can figure out which showed the higher profits. It's not quite true ;) There were 3 books - for

[android-developers] Re: New to Developing, Need Insight

2010-09-22 Thread Indicator Veritatis
Are you fairly new to developing, or fairly new to developing on Android? If you don't know Java, learning Android is going to be needlessly frustrating. You should at least know Java at the level of the Trails Covering the Basics at http://download.oracle.com/javase/tutorial/ before trying

[android-developers] SurfaceView flicker on setVisiblity() in 2.0 and later version

2010-09-22 Thread Jitsu
Got this issue developing a game application. Main concept: We have an activity with layout set to it by setContentView. Layout has a SurfaceView, which is used to draw some additional graphics (transition between different screens). Problem is that on 1.5 and 1.6 everything works prefectly fine.

[android-developers] Re: Run applications without qemu

2010-09-22 Thread Indicator Veritatis
The short answer to your question is, as TreKing said, get a device. That IS the only practical alternative. But of course, developers don't want to spend the money on having all the different kinds of device necessary, so we do as much testing as we can either on a few chosen devices, or with

[android-developers] Re: Live video streaming

2010-09-22 Thread Christina Loop
Thanks a lot for your reply. I need to send it in streaming mode. I read somewhere that rtp is not possible in android. And that I need to send it covered in rtsp. I don't know how this can be achieved. You would help me a lot if you could give me a hint. Regards, Christina -- You received this

[android-developers] Re: Client server app and wifi

2010-09-22 Thread Indicator Veritatis
What? No UPnP for Android? On Sep 21, 11:20 am, Kostya Vasilyev kmans...@gmail.com wrote:   Sure, that's possible - as long as the server is accessible from the client. The easiest case is that both phones are connected to the same Wifi router. If the server is behind any NATs (looking from

[android-developers] How to create an executable file for android

2010-09-22 Thread Lidia
Hello people, Can someone tell me how to create an executable jar file from eclipse for android? First of all, how the application should be before creating a jar file? Should it be runnable? Do i need an Activity class in it? I created a simple Android application, which has an activity

[android-developers] can the data via ContentProvider be sent and received from the different packages to the directry as I like?

2010-09-22 Thread Hiko
hello, at first, I am sorry because I am not good at English. As the subject of this message, I have tried to send / receive the data via ContentProvider from the different packages to the common directory. In short, for example... the data run update() or insert() in package

Re: [android-developers] Re: Client server app and wifi

2010-09-22 Thread Kostya Vasilyev
There are various UPnP projects that could be used, but nothing built-in. -- Kostya 22.09.2010 11:16, Indicator Veritatis пишет: What? No UPnP for Android? On Sep 21, 11:20 am, Kostya Vasilyevkmans...@gmail.com wrote: Sure, that's possible - as long as the server is accessible from the

[android-developers] Re: Cupcake(API3) friendly way to pause/stop sound loops in SoundPool? Any ideas?

2010-09-22 Thread Clankrieger
While this thread is rather old, I have a similar issue - while using the soundpool with the correct streamIDs. There is a looping sound being started, remembering its stream id. But when I try to stop it like this: SoundPool.stop(mId); nothing happens... the sound simply keeps looping. This

[android-developers] Re: Cupcake(API3) friendly way to pause/stop sound loops in SoundPool? Any ideas?

2010-09-22 Thread Jason
There must be something crufty in your code. I am doing this currently in my game and it is working on all API versions (3+). Post your code (both the play code and the stop code). This is what I do (summarized): SoundPool pool = ... boolean loop = ... int streamId = pool.play(soundId, 1.0f,

[android-developers] Re: How much money do you make?

2010-09-22 Thread Michael A.
On Sep 21, 10:35 pm, Indicator Veritatis mej1...@yahoo.com wrote: So the moment the first post in this thread went up, I knew we were going to see some responses painting a rosy picture of glowing success. But that doesn't really tell us much. I haven't seen any claims on this thread that I

[android-developers] Re: Where has maps.jar gone to? Can't find in basic SDK install

2010-09-22 Thread Lance Nanek
If you are using Eclipse you shouldn't be accessing the maps.jar manually anyway. Right-click on your project in Eclipse, choose Properties, choose Android, and check a build target that has Google APIs as the Target Name. That adds it to your build path for you. If you don't have a Google APIs

Re: [android-developers] Please help me with calculating direction from point A to B

2010-09-22 Thread Pedro Teixeira
I'm really not understanding how to go with this... I've been reading and reading.. I can find all kind of algorithms.. I can find a haversin algorithm that points me to the correct direction if my device is pointing north.. but the needle is static... so if i change the device orientation

Re: [android-developers] Please help me with calculating direction from point A to B

2010-09-22 Thread Christian Buchner
this sounds trivial to me. Just compensate the error that is introduced by not actually pointing the device north by subtracting that error from your arrow's pointing angle. No need to change any algorithm, just compensate for the dude, you're holding it wrong -- You received this message

Re: [android-developers] Please help me with calculating direction from point A to B

2010-09-22 Thread Pedro Teixeira
I've tried it. Adding and subtracting the value: event.values[0], which is actually my Azimuth in degrees returned by the sensor. But the orientation is off! .. The algorithm gives the Correct value, but it doesn't move because there's not sensor variables involved.. so if I subtract the

[android-developers] Service: both onStart() and onStartCommand() called

2010-09-22 Thread Christoffer Davidsson
Hello (World). I'm trying to create a Service which is backwards compatible, working on both pre-2.0 and post-2.0 phones. Therefore I implement both onStart() and onStartCommand() according to: http://developer.android.com/reference/android/app/Service.html#onStartCommand(android.content.Intent,

[android-developers] Re: How to compile Android Launcher source code?

2010-09-22 Thread Paolo
Dianne thanks for your answer. Well, at the moment I don't want to place my Launcher on the Market, but only to do it for a private use on my Froyo 2.2 device. My idea is to compile the default Launcher in Eclipse and to modify/ extend it with different features, as ADW Launcher did. How can I

Re: [android-developers] Please help me with calculating direction from point A to B

2010-09-22 Thread Pedro Teixeira
Basicly, if my device is pointing the wrong direction. I can't see the value.. because the arrow is static. The arrow is always static if I don't use any of the sensor values. On Sep 22, 2010, at 10:08 AM, Christian Buchner wrote: this sounds trivial to me. Just compensate the error that

[android-developers] Re: how to block buttons with a layout above all?

2010-09-22 Thread Lance Nanek
Setting clickable to false lets clicks through to what is underneath it. You should set clickable to true, so that it takes the clicks and nothing else gets them. Setting a listener will set this to true anyway, though. On Sep 21, 4:40 am, Marco Alexander Schmitz

[android-developers] Re: Http chunked response and Connection Reset by Peer error

2010-09-22 Thread Cydrike
New information: It seems that I don't receive Connection Reset by Peer errors because Android has dropped the connection. My exact test case is the following: - I start my application which creates the request with the previous posted code - the app reads the request response waiting for the

Re: [android-developers] Please help me with calculating direction from point A to B

2010-09-22 Thread Kostya Vasilyev
Pedro, I think you should learn something about the way direction (and orientation) is specified in computer programming. http://en.wikipedia.org/wiki/Yaw,_pitch,_and_roll http://en.wikipedia.org/wiki/Euler_angles

[android-developers] Re: BroadcastReceiver

2010-09-22 Thread KANTESH BABANNAVAR
Could you please prodice the log events of crash?? i think you may be missing some permissions.. On Sep 22, 8:37 am, perumal316 perumal...@gmail.com wrote: Hi All, I have written an application to read all incoming SMS and if the SMS contains certain string, I will also send a copy of the

[android-developers] Re: BroadcastReceiver

2010-09-22 Thread KANTESH BABANNAVAR
probably these? uses-permission android:name=android.permission.SEND_SMS / uses-permission android:name=android.permission.RECEIVE_SMS / On Sep 22, 8:37 am, perumal316 perumal...@gmail.com wrote: Hi All, I have written an application to read all incoming SMS and if the SMS contains certain

Re: [android-developers] Re: Http chunked response and Connection Reset by Peer error

2010-09-22 Thread Kostya Vasilyev
Like I said before, detecting a broken connection on the receiving end is difficult, since TCP/IP does not have keep-alives. That's left up to the application protocol. Perhaps what you could do is have your application periodically send small amounts of data, just to make sure the

[android-developers] wifi not remembering the access point

2010-09-22 Thread kiran
Hi All i am using ralink wifi driver in android, i am able to connect to the access-point using the Wireless Settings provided in the Android, But once i connect to the network and restart the wifi i have to reconnect manually by providing the authentication key. Wifi Manager is not

[android-developers] How to create an executable file for android

2010-09-22 Thread Lidia G
I found how to use an android library, from the eclipse http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject but this is not what i need, i need to comples a library into a jar file and to hide the code that can be used from the library. And i can't create a JAR file

[android-developers] gps and wifi

2010-09-22 Thread student
Dear Android Developers, In location we have 2 way 1.gps 2. network in above 2 of them are treated the seperate thread as thread1 and thread2 in that if user inside the room gps not shown the latitude and longitude so it should be activated the network side as thread2 then if user moved out

[android-developers] pop-up/toast notification without activity/context

2010-09-22 Thread Vijay Vikrant
Hello everyone, Can somebody throw some light on how to display a pop-up/notification/toast while i am in a broadcast receiver. Toast expects a context and i don't have a context to pass. Can somebody help me with this? -- Vikrant -- You received this message because you are

Re: [android-developers] pop-up/toast notification without activity/context

2010-09-22 Thread Mark Murphy
On Wed, Sep 22, 2010 at 7:35 AM, Vijay Vikrant vijayvikran...@gmail.com wrote:   Can somebody throw some light on how to display a pop-up/notification/toast while i am in a broadcast receiver. Toast expects a context and i don't have a context to pass. Sure you do. Look at the first

[android-developers] Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread Rohan Malhotra
Hey Guys... I'm a developer and just received an email from Forum Nokia regarding Unmatched distribution opportunities at Ovi store at NOKIA. If u are a developer nd dream it big then grab this opportunity today. Nokia inviting developers to Become an Ovi store publisher. • Easy access to

Re: [android-developers] Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread Kostya Vasilyev
Does Nokia have phones that run Android? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 22.09.2010 15:50 пользователь Rohan Malhotra therohanmalho...@gmail.com написал: Hey Guys... I'm a developer and just received an email from Forum Nokia regarding Unmatched distribution opportunities

Re: [android-developers] pop-up/toast notification without activity/context

2010-09-22 Thread Vijay Vikrant
Thanks for responding.. Below is a shabby but simple piece of code that i am experimenting with.. The onReceive function does have a context - But i just register a phonestate listener in there and then i have to raise a toast while i am in the phonestatelistener function. What can i change?

[android-developers] Java Guru Query: override a method taking a reflected class argument

2010-09-22 Thread Pent
Since API 7, PhoneStateListener has a function: void onSignalStrengthsChanged( SignalStrength signalStrength ) Question: how can I override this via reflection so that I can stay backwards compatible with earlier APIs that don't have the SignalStrength class ? If I make the argument an Object,

Re: [android-developers] pop-up/toast notification without activity/context

2010-09-22 Thread Vijay Vikrant
got my answers.. sorry for being so stupid.. -- Vikrant On Wed, Sep 22, 2010 at 5:25 PM, Vijay Vikrant vijayvikran...@gmail.comwrote: Thanks for responding.. Below is a shabby but simple piece of code that i am experimenting with.. The onReceive function does have a context - But i just

[android-developers] Trouble with TableLayout wrapping text

2010-09-22 Thread Doug Gordon
I have a 2-column table where the right-hand column in the rows might have too much text to fit on one line, so I wanted it to wrap and expand the table cell similar to the way it would work on a web page. This turned out to be more difficult than I expected. When I configured that TextView to

[android-developers] Re: Please help me with calculating direction from point A to B

2010-09-22 Thread Per
this works for me: 1: listen to location changes. Store the most recent location. You need it below. 2: listen to orientation changes. Store the most recent heading (azimuth) in mHeading - that's the compass direction corresponding to your viewing direction when holding your phone horizontally in

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
The Nokia platforms running Qt are probably generally friendlier to the programmer than Android, and market penetration of the Nokia phones in Europe is quite high. Plus problems with piracy are much less. The main downsides are the crummy pressure-sensitive touch screens and the short battery

[android-developers] ACTION_VIEW exception

2010-09-22 Thread Neilz
I try and open up a new activity, pointing to the market, with the following code: Intent i = new Intent(android.content.Intent.ACTION_VIEW); i.setData(Uri.parse(myMarketDetialsHere)); startActivity(i); It works fine on the device, but the Emulator throws an Exception:

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
OK, checked that domain name, and it appears to be hosted out of Houston TX. Not at all what I'd expect for a Nokia site. So odds are it's a phishing site. Odd that so much work went into the site -- hard to see what they expect to gain. On Sep 22, 7:16 am, DanH danhi...@ieee.org wrote: The

[android-developers] Re: LVL returns LICENSED with anonymous accounts...

2010-09-22 Thread MarcoAndroid
I do see this behaviour too (though dev account on emulator and test account on N1). My next thing to try would be uploading my app (but not publishing it) to see if that then gives back what I set in the dev console... Though from previous answers I probably get back LICENSED which as you say is

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
(I've reported this problem to Nokia through a couple of routes.) On Sep 22, 7:32 am, DanH danhi...@ieee.org wrote: OK, checked that domain name, and it appears to be hosted out of Houston TX.  Not at all what I'd expect for a Nokia site.  So odds are it's a phishing site. Odd that so much

[android-developers] Drawing a line dynamically in code

2010-09-22 Thread Kevin Courtney
Hello, This seems like a basic question but I’ve been struggling with it and need another set of eyes to set me straight. I’m trying to draw a line using code in a RelativeLayout and it’s not showing up. I have this XML file: ?xml version=*1.0* encoding=*utf-8*? shape

[android-developers] Re: LVL NOT_MARKET_MANAGED

2010-09-22 Thread MarcoAndroid
My guess is that when the version of the app making thecheck is lower than the latest in the market, LICENSED_OLD_KEY is returned as per http://developer.android.com/guide/publishing/licensing.html#server-response-codes Is the version of the app making the check higher, then that should be you

[android-developers] Re: ContextWrapper.openOrCreateDatabase() throws NullPointerException

2010-09-22 Thread Peter
I also thought about missing permission but I can not find a suitable one. Could it be a problem of the filesystem at the end the database is nothing more than a file. Do I need to create it beforehands? Please, any help would be great. On 21 Sep., 20:31, Peter peter.osb...@gmail.com wrote: Hi

[android-developers] Re: ACTION_VIEW exception

2010-09-22 Thread Chris Stratton
Unless I am remembering wrong, the emulator doesn't have market. It would also happen if someone manages to get your apk onto a device without market (of which there are many, especially non-phone tablets) On Sep 22, 8:17 am, Neilz neilhorn...@gmail.com wrote: I try and open up a new activity,

[android-developers] Re: wifi not remembering the access point

2010-09-22 Thread Irfan Sheriff
What does the output of $adb shell wpa_cli list_networks look like before and after you restart wifi? You could also try doing a $adb shell wpa_cli save_config after adding a network and doing restart and see if it makes a difference. On Wed, Sep 22, 2010 at 3:37 AM, kiran

[android-developers] uninstall missing..

2010-09-22 Thread Vijay Vikrant
Hello, I made a test app and installed it on my phone. This app kicks in everytime i get a incoming call and pops up something. I successfully installed this app on my phone and it seems to be working as desired. But i don't see it in the settings-applications list. How do i uninstall this app?

Re: [android-developers] Service: both onStart() and onStartCommand() called

2010-09-22 Thread TreKing
On Wed, Sep 22, 2010 at 4:16 AM, Christoffer Davidsson christof...@chlirre.com wrote: However, running 2.1 in the Emulator, both methods are called when I start my Service. I don't suppose you're calling super.onStartCommand, are you?

Re: [android-developers] New SDK causes Slow Debugging on N1

2010-09-22 Thread Xavier Ducrohet
Nothing changed in that part. All the tool does anyway is connect the Eclipse debugger to the device VM. Xav On Mon, Sep 20, 2010 at 2:26 PM, ADRA dche...@gmail.com wrote: I've got a Nexus One running a debug version of my application, and I just today downloaded and installed the 0.9.8

[android-developers] Determing end of Scroll View scroll

2010-09-22 Thread ben
Is there any way you to determine the pixel value where a scroll view stops on a fling. It's easy enough to find when the user is scrolling the view with a touch but I see no way to determine the end point of a fling. The only solution I could come up with is to use a gesture detector to catch a

Re: [android-developers] Is API Level 6 gone?

2010-09-22 Thread Xavier Ducrohet
hmm this is strange. The warning is normal but it should still work. We're fixing this for the next version of the tools, but as Dianne said, 2.0.1 is considered obsolete and there's no point targeting it. You can target 2.1 (API 7). Xav On Tue, Sep 21, 2010 at 6:47 AM, Leigh McRae

Re: [android-developers] Build with SDK tool rev 7, gives error: if doesn't support the nested istrue element

2010-09-22 Thread Xavier Ducrohet
We have our own if task since it's not standard. If you are using another if task there may be a conflict (ours doesn't support this) On Sat, Sep 18, 2010 at 2:24 PM, Huey ly.h...@gmail.com wrote: Our project was built  fine with SDK tool rev 6 and Ant version 1.7.1. After updating the SDK tool

[android-developers] Threading and the emulator

2010-09-22 Thread kypriakos
Hi all, Are there any limits on the number of threads or any constraints on how the emulator (under Eclipse) schedules the application threads? I get suspended threads that don't really wait on anything but rather get bumped out from execution time ... I will try using the Debug class to get

Re: [android-developers] gps and wifi

2010-09-22 Thread TreKing
On Wed, Sep 22, 2010 at 6:30 AM, student alsharewit...@gmail.com wrote: my problem is if user came back to room it should be indicated the network by comparing the frequency or speed with gps? I'm sorry ... what?

[android-developers] Re: overriding Home button

2010-09-22 Thread ferar
thanks ... On Sep 21, 3:29 pm, Bret Foreman bret.fore...@gmail.com wrote: This group is for application development and I think you want the platform development group. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Build with SDK tool rev 7, gives error: if doesn't support the nested istrue element

2010-09-22 Thread Xavier Ducrohet
btw if you want to use our custom if task you can, the syntax is: if condition=${build.debug}then.../thenelse/else/if For the next tools update we should probably rename our task to androidif to be sure it doesn't interfere with another if task. On Wed, Sep 22, 2010 at 7:21 AM, Xavier Ducrohet

[android-developers] Re: 1-star Market weirdness

2010-09-22 Thread dm1973
Everyone has their own criteria. I released a game and got a ton of 4/5 star ratings and a bunch of 1/2 stars that said things like Fun game but I prefer games like Halo. Yes my 2d puzzle game is a horrible Halo clone. Read the reviews for bugs/things to improve and learn to ignore the really odd

[android-developers] Re: ACTION_VIEW exception

2010-09-22 Thread Neilz
Ah yes I believe you're right. So as long as my code works on the actual device, I shouldn't be concerned then. On Sep 22, 2:38 pm, Chris Stratton cs07...@gmail.com wrote: Unless I am remembering wrong, the emulator doesn't have market. It would also happen if someone manages to get your apk

[android-developers] Re: LVL returns LICENSED with anonymous accounts...

2010-09-22 Thread Bret Foreman
I would love to see this information set out in tabular form. I'm always suspicious of a missing case until I see a truth table of the logic. On Aug 6, 4:26 pm, Trevor Johns tjo...@google.com wrote: If an app is not published AND not draft, then you'll get ERROR_NOT_MARKET_MANAGED. If an app

[android-developers] Re: ACTION_VIEW exception

2010-09-22 Thread Chris Stratton
Essentially. Though you might want to decide what should happen when it inevitably finds its way to a device without market - ie, fail gracefully with minimal reduction in functionality or Your device does not support this application or Your device is not authorized to run this application or

[android-developers] best place to host apps that target indian market.

2010-09-22 Thread Vijay Vikrant
Hello, Since the market is not open to India for paid apps - What will be a good server/store to host paid apps that target indian audiences? Many Thanks, Vikrant -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: gps and wifi

2010-09-22 Thread Bret Foreman
Tre, I think he's talking about finding location from the GPS (by satellite) or from the network (by base station and sector). He's trying to manage which mode to use in which situation and how/when to switch. On Sep 22, 7:44 am, TreKing treking...@gmail.com wrote: On Wed, Sep 22, 2010 at 6:30

Re: [android-developers] Re: Please help me with calculating direction from point A to B

2010-09-22 Thread Pedro Teixeira
I'll try this method you described. I have 1. 2. and the destinations coordinates of 3.So I guess I can use it PS: I just want this for landscape mode, I've set it on the Manifest already. On Sep 22, 2010, at 1:12 PM, Per wrote: this works for me: 1: listen to location changes. Store

[android-developers] Re: best place to host apps that target indian market.

2010-09-22 Thread Bret Foreman
I believe Motodev/Shop4Apps covers India for paid apps. On Sep 22, 8:23 am, Vijay Vikrant vijayvikran...@gmail.com wrote: Hello,         Since the market is not open to India for paid apps - What will be a good server/store to host paid apps that target indian audiences? Many Thanks,

[android-developers] can i filter some apps from Intent.createChooser?

2010-09-22 Thread genxsol
Hi there, i am looking to access some chosen native apps available in my phone. i used the code below but it display some other Apps also which i dont want. intent.setType(text/plain); intent.putExtra(Intent.EXTRA_SUBJECT, subject);

[android-developers] regarding signing the JCE provider jar file for Android

2010-09-22 Thread Kamal
I am developing a sample JCE service provider that implements a encryption algorithm. When i tried to test it in android emulator it is failing. I want to know whether this JCE provider jar file needs to be signed for using this encryption method. Who should sign this jar file for using it in

[android-developers] Resources - common error

2010-09-22 Thread kypriakos
Hi all, apparently this is a common error that many beginners get - Resources don't contain package for resource number 0x7x. However, what's the explanation when the R.java does not call for any of the resources that the emulator is complaining about? Who and/or where are these calls

[android-developers] Re: deep effect in gallery?

2010-09-22 Thread genxsol
i am still struggle with this but no clue at all On Sep 1, 2:14 pm, genxsol genx...@gmail.com wrote: Hi Folks, I am looking for Deep effect in Androidgallery. i did some work around coverflow athttp://www.inter-fuser.com/search/label/Coverflow but it also do scroll left and right. it does

[android-developers] Re: Drawing a line dynamically in code

2010-09-22 Thread Kumar Bibek
No you can't. What you are doing is right. If I understand correctly, you want to use the draw method to draw a line, am I correct? -Kumar Bibek http://techdroid.kbeanie.com On Sep 22, 5:53 pm, Kevin Courtney kevinjcourt...@gmail.com wrote: Hello, This seems like a basic question but I’ve

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-22 Thread mot12
AppBucket sent me this email: --- Hi Martin, Thought you would want to know and you can make it known to the rest of our fan boys... We didn't get banned from posting anything. We deliberately

Re: [android-developers] location NOT working correctly in droid after the upgrade to 2.2

2010-09-22 Thread sunny
Sorry I was on vacation - took a break away from all the tech madness.. :-) launch your browser--checkyour location-. it shows incorrectly from what I get in the google map. anyway, thats not my biggest issue NOW. The GeoCode reverseAPI is crashing with a status of 20. Therefore getting address

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
The (preliminary) word that folks at Nokia are giving me is that the site is legit, though the posts are suspicious, at least. They're trying to figure out whether it's a true bad actor or just someone in marketing run amok. On Sep 22, 7:44 am, DanH danhi...@ieee.org wrote: (I've reported this

Re: [android-developers] Automatic testing tool for Android?

2010-09-22 Thread Timo Reimann
Hey, On 17.09.2010 08:38, Dajinsol Jeon wrote: Yesterday, I heard that there is a program to test Android application automatically after installing apk onto real device. The one I have heard is commercial, and very expensive. Is there a open source tool? I know that adb shell support monkey

[android-developers] reverseGeocode is returning null in android 2.2

2010-09-22 Thread sunny
Dear Folks!!, Looks like reverseGeocode ( getFromLocation()) is not working in android 2.2. It is not able to fetch the address from the coordinates. It returns null and crashing my app. Any clues ?. do you see this too ?. very frustrating indeed. In general 2.2 is not stable - 2.1 was much

Re: [android-developers] Compile error in the new “Hello Testing” Tutorials program

2010-09-22 Thread Timo Reimann
On 19.09.2010 12:55, Kieu Hua wrote: There is compile error in HelloAndroidTest program in the Tutorials “Hello Testing” program, because I got this compile error. “com.example.helloandroid.R.id.textview can not be resolved.” @Override protected void setUp() throws Exception {

[android-developers] Re: Scaling / Animating a Camera preview surface

2010-09-22 Thread Jon Sutherland
Anyone have any insight at all? Was I not clear about my problem? I am simply trying to zoom in or zoom out on the camera preview but I am not using the Camera smooth zoom API in 2.2 since it seems to only work for levels of zoom that are different for each phone/camera. Also, it appears that it

[android-developers] Re: Where has maps.jar gone to? Can't find in basic SDK install

2010-09-22 Thread pawpaw17
Lance, Thanks for the reply. What build target should I be using if I want to continue support Android 1.5 and forward with google maps? The project build target dialog has the following target names: Android 1.5 Platform 1.5 Andorid 1.6 Platform 1.6 Android 2.1 Platform 2.1 Android 2.2

Re: [android-developers] Re: Please help me with calculating direction from point A to B

2010-09-22 Thread Pedro Teixeira
Per can you explain your example a little bit further? My code seems fine but the direction of the arrow doesnt seem accurate: public void onSensorChanged(SensorEvent event) { double mLatitude = (mLocation.getLatitude()); // lat1 location manager double mLongitude =

Re: [android-developers] uninstall missing..

2010-09-22 Thread TreKing
On Wed, Sep 22, 2010 at 9:02 AM, Vijay Vikrant vijayvikran...@gmail.comwrote: But i don't see it in the settings-applications list. How do i uninstall this app? Are you looking at the All list? -

Re: [android-developers] Re: On using themes?!

2010-09-22 Thread Mariano Kamp
As it wasn't possible to submit a new post to the existing/old conversation using the web interface I am copying the message here with Danilo's permission: Hi Mariano. Did you manage to work using themes from drawables xml? I have same problem and there is no any reference but this thread and

[android-developers] Request: Don't make us use Ant

2010-09-22 Thread Craigo
Please update the Eclipse Export Android Application feature to take the location of Proguard and do the obfuscated build. The instructions posted http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html only work if your application is very basic (mine didn't

[android-developers] Re: Drawing a line dynamically in code

2010-09-22 Thread Kevin Courtney
I'm not entirely sure if it's the draw method that I should be using..at this point I'm looking for any suggestions... ...I need to draw a line on the on this view using code. The rest of the story is that this code is inside a loop that is reading records and putting their info on the view. In

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
Are you talking about Monkey? http://developer.android.com/guide/developing/tools/monkey.html On Sep 17, 1:38 am, Dajinsol Jeon midgar...@gmail.com wrote: Hi all, I'm new to Android programming. Yesterday, I heard that there is a program to test Android application automatically after

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
Oops -- I see you mentioned Monkey in your original post. On Sep 22, 11:35 am, DanH danhi...@ieee.org wrote: Are you talking about Monkey?   http://developer.android.com/guide/developing/tools/monkey.html On Sep 17, 1:38 am, Dajinsol Jeon midgar...@gmail.com wrote: Hi all, I'm new to

[android-developers] LogCat and threads

2010-09-22 Thread john brown
Hello, I am trying to understand threads and how they work, and when, etc. I expected the pid in LogCat to be different in the background thread logs but the pid is always the same. Is the pid something other than the thread ID? If it is, is there a way to indicate the thread ID in LogCat?

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
(There is a tool that lets you send button clicks. Don't know anything about it, but it was mentioned in a post a few days ago. My impression was that it's a daemon of sorts that runs on the phone (perhaps through adb) and that you can send commands to it like press 100 100 to press the button

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
OK, the tools IS Monkey, and the command is tap, as discussed in this post: http://groups.google.com/group/android-developers/browse_thread/thread/a3141be2636688e0 On Sep 22, 11:41 am, DanH danhi...@ieee.org wrote: (There is a tool that lets you send button clicks.  Don't know anything about

Re: [android-developers] LogCat and threads

2010-09-22 Thread Kostya Vasilyev
Process is not the same as thread. A process can have many threads, and they all share the same data. This is really convenient, since you can reference Java objects from any thread, regardless of which thread created them. Processes, on the other hand, do not share each other's memory state - so

[android-developers] [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread Atul Raut
Hi am getting this error : cannot find symbol symbol : method log(java.lang.String) when using method : log(some test, +test); I have imported import android.text.TextUtils; import android.util.Log; Still its throwing same error why it is so ? -Atul -- You received this message because

[android-developers] Dream Calc Scientific Edition

2010-09-22 Thread torrado
DreamCalc Scientific Edition is the smarter alternative to a hand-held Scientific Calculator for your PC or laptop! You'll get the intuitive feel and productivity of using a professional hand-held, but one which adapts to your way of working. Select from Reverse Polish Notation or two styles of

[android-developers] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread Atul Raut
Hi I have imported import android.os.Message; still giving error. On Wed, Sep 22, 2010 at 10:24 PM, Atul Raut atul.dr...@gmail.com wrote: Hi am getting this error : cannot find symbol symbol : method log(java.lang.String) when using method : log(some test, +test); I have imported import

Re: [android-developers] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread Kostya Vasilyev
22.09.2010 20:57, Atul Raut пишет: log(some test, +test); I suppose you could try taking out the comma before the plus sign: log(some test + test); -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to

[android-developers] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread David Turner
Please avoid cross-posting !! this should go into android-developers only. On Wed, Sep 22, 2010 at 6:57 PM, Atul Raut atul.dr...@gmail.com wrote: Hi I have imported import android.os.Message; still giving error. On Wed, Sep 22, 2010 at 10:24 PM, Atul Raut atul.dr...@gmail.com wrote: Hi am

Re: [android-developers] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread Atul Raut
Thanks Kostya On Wed, Sep 22, 2010 at 10:31 PM, Kostya Vasilyev kmans...@gmail.comwrote: 22.09.2010 20:57, Atul Raut пишет: log(some test, +test); I suppose you could try taking out the comma before the plus sign: log(some test + test); -- Kostya Vasilyev -- WiFi Manager + pretty

Re: [android-developers] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread Atul Raut
Hi Kostya , I am trying below and still getting error. *log(Settings onCreate subscription DSDS Enabled = + mSubscription);* -Atul On Wed, Sep 22, 2010 at 10:31 PM, Kostya Vasilyev kmans...@gmail.comwrote: 22.09.2010 20:57, Atul Raut пишет: log(some test, +test); I suppose you could try

Re: [android-developers] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread Kevin Anthony
The method is Log.d(tag,message); Looking at what you posted, it looks like you need to capitilize the L and put a d,v,i,w,e for debug verbose info warning error On Sep 22, 2010 1:04 PM, David Turner di...@android.com wrote: Please avoid cross-posting !! this should go into android-developers

  1   2   3   >