Re: [android-beginners] Problems accessing location data in emulator

2010-03-21 Thread wahib haq
hey jacobs ! I guess it is sometime a problematic issue. I remember i had same issues when i started working with google maps. well i should recommend you tu give static values using DDMS tool and go to 'location controls' section and give manual decimal values while your emulator is running. If

Re: [android-beginners] App for submitting information

2010-03-21 Thread wahib haq
hey KE ! I am a newbie but can suggest few things. For taking picture you can use the built-in camera app and call it by intents. secondly if you want to share it on e.g facebook then you need to work on fbconnect api or search for fbrocket and integrate it with your application. I am working on

[android-beginners] system command did not work on adb shell

2010-03-21 Thread rocky84 rocky84
Hello All, i was trying to dial a number from adb shell using system command in Perl script, but this command did not go through at all. after i typed the below code, $NUMBER = STDIN; $COM_PORT = STDIN; system(ECHO ATZ0 $COM_PORT;); system(ECHO ATDT $NUMBER $COM_PORT;); sleep 10;

[android-beginners] Re: Vodafone distributes Mariposa botnet

2010-03-21 Thread Shawn Brown
http://research.pandasecurity.com/vodafone-distributes-mariposa/ Maybe this is just an isolated incident? I guess it's only a few hundred users in Spain who may be affected. http://news.cnet.com/8301-27080_3-2820-245.html?tag=newsEditorsPicksArea.0 Yeah not me! Shawn -- You received

[android-beginners] String to spannable

2010-03-21 Thread André
Hello, I am reading in a line from a vector to a string, and then I want to change the background colour of a part of that string by using setSpan. But setSpan doesn't accept a string. And if you use Spannable str = mVector.get(k); it doesn't work either. Any suggestions? Bellow you see my code.

[android-beginners] Re: Serial Data Transfer via Bluetooth

2010-03-21 Thread Ben
No problem Bob. Let me know if you are able to open an RFCOMM socket it never worked for me. I checked the Amarino source code, and it looks like I am doing basically the same thing that they are, but for some reason they can get it open and I can't. So for now I've modified my app to use a

[android-beginners] Re: mkdir permission denied on android emulator

2010-03-21 Thread Ben
In order to use the command su in Linux you need to have the root password, which unless you rooted your AVD you won't be able to do. You can however create the directory from inside your application if you give it the permission: uses-permission

[android-beginners] Re: layout-land with onConfigurationChanged

2010-03-21 Thread Ben
To anybody responding to this. I've actually figured out that the problem is not that search doesn't know what directory to look in. It's that if I do not go through the typical onDestroy()...onCreate() cycle. If I have already loaded a resource, that resource seems to be held in memory

Re: [android-beginners] Re: layout-land with onConfigurationChanged

2010-03-21 Thread Mark Murphy
Ben wrote: To anybody responding to this. I've actually figured out that the problem is not that search doesn't know what directory to look in. It's that if I do not go through the typical onDestroy()...onCreate() cycle. If I have already loaded a resource, that resource seems to be held in

[android-beginners] يستنجد بالشرطة لت منعه من اغتصاب الاطفال

2010-03-21 Thread alagmy
يستنجد بالشرطة لتمنعه من اغتصاب الاطفال الحب من اول نظره حقيقه ام خيل http://www.agd3as7ab.com/vb/showthread.php?t=3484 للك عشر ثوانى فقط لتعرف شخصيتك http://www.agd3as7ab.com/vb/showthread.php?t=3490 افكار لهدايا عيد الام http://www.agd3as7ab.com/vb/showthread.php?t=3482 كارثة فتاة عمرها

[android-beginners] Re: Prevent uninstallation of app?

2010-03-21 Thread Kitzy
Besides maddog's example, which is one I never thought of... how would the phone know if a theif or malitous-user had aquired the phone? I agree with TreKing! -Kitzy On Mar 19, 7:42 am, TreKing treking...@gmail.com wrote: On Fri, Mar 19, 2010 at 2:51 AM, Richard Roe codesqu...@gmail.com wrote:

[android-beginners] No support for copy protection on Backflip?

2010-03-21 Thread Roger
I got a message from an ATT Backflip user about not being able to see one of my apps. I did a little testing with him and discovered that he couldn't see any of my apps where I have copy protection set to On. This is a major bummer. Is there any way to reach these users? Does the copy

Re: [android-beginners] Still confused with onKeyDown

2010-03-21 Thread murali raju
what you did is correct, but the keycodes of android are different. for A it is 29 not 97. see this, http://developer.android.com/reference/android/view/KeyEvent.html On Sun, Mar 21, 2010 at 10:13 AM, Mauricio raubvo...@gmail.com wrote: I understand onKeyDown should give me the key that was

Re: [android-beginners] No support for copy protection on Backflip?

2010-03-21 Thread TreKing
On Sun, Mar 21, 2010 at 9:13 PM, Roger schiavo...@gmail.com wrote: Does the copy protection work and do most people use it? Google around the Android Group and the Market Support Forum. You will find that the general consensus is that copy protection causes so many issues it's not worth using

Re: [android-beginners] onClickListener of a view

2010-03-21 Thread murali raju
coz you are using the same view object to all the shapes. so only the most recently created view will have listener. use an arraylist and add the view to it when ever a shape is created. and check which view is clicked by using view.isPressed(). On Sun, Mar 21, 2010 at 1:26 AM, Luca Bedogni

Re: [android-beginners] Still confused with onKeyDown

2010-03-21 Thread wahib haq
why do you have to use Keycodes like 29 ? cant you use the keycodes provided by the sdk On 3/21/10, murali raju manutd...@gmail.com wrote: what you did is correct, but the keycodes of android are different. for A it is 29 not 97. see this,