[android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2010-07-09 Thread Aga Madurska
Hi, Many thanks for sharing. Did you manage to pin down the reason for the original problem with the del key? I'm having a similar issue but I'm not so keen on reimplementing the whole gallery just to solve this :) On Jul 4, 1:32 pm, Neilz neilhorn...@gmail.com wrote: Many thanks Australuke,

[android-developers] Add link to my activity in Contact's Phone Number Context Menu

2010-07-09 Thread MarcoDuff
Hi, I want to add a link to my activity in Contacts - Select Contact - Long Click in Contact's Phone Number - Context Menu. Which kind of Intent Filter I must add to my activity in application manifest? Thanks (and sorry for my english!) -- You received this message because you are subscribed

[android-developers] About the testing of Bluetooth

2010-07-09 Thread Sam
Hi All, I have some questions about the testing of bluetooth. I have tried the bluetooth chat and it worked pretty well on my two Andriod 2.1 based mobile phones. However, this test can only be done only by someone who has 2 android phones and the version must be 2.1. I assume this is a big

[android-developers] Re: build android sdk from git on ubuntu 10.04 fail

2010-07-09 Thread Brian Austin
Roll back the following patch http://android.git.kernel.org/?p=platform/external/clearsilver.git;a=commitdiff;h=d36910a8110d8377b22301274d2b5131a732a72b Now that Java6 is required, you need to remove the check to force 64 bit build in Clearsilver for 32bit systems On Jul 3, 11:28 am, zyanho

[android-developers] Re: Build Error

2010-07-09 Thread folone
I actually have the same problem here. $ ls -l /usr/lib/libz.so says: lrwxrwxrwx 1 root root 20 2010-07-07 17:08 /usr/lib/libz.so - /lib/ libz.so.1.2.3.3 How do I figure out, if it is the right version of lib, and how do I create a symlink to the right one? On Jul 8, 5:15 am, Robert Craig

[android-developers] android:clickable = true makes layout not clickable?

2010-07-09 Thread dxw_es
Hey everyone. I noticed something odd. I have a listview with custom BaseAdapter, and getView() inflates a layout. On 1.6 SDK (I've been developing on a G1), if I set android:clickable=true on the layout, then the item is NOT clickable (but otherwise the item is clickable). Is this the correct

[android-developers] Re: Putting a service into a .jar?

2010-07-09 Thread Boozel
Thanks i got it to work i was making an error in my entry for a service in the manifest. Thanks for the help On Jul 9, 7:21 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 9, 2010 at 12:52 PM, Boozel boozelcl...@gmail.com wrote: I have created a service that works great, it is

[android-developers] Re: How to make a imageview at right of linearlayout

2010-07-09 Thread Spiral123
Thanks so much for taking the time to post your solution Cindy. I had been bugged by a similar problem for hours and just hadn't thought of wrapping my Image views in a Linear Layout container in order to get them aligned properly. On Jul 7, 6:46 pm, cindy ypu01...@yahoo.com wrote: Following

[android-developers] Android APIs

2010-07-09 Thread Deborah
Hi, I'm new in Android! I work with Eclipse and implements some application using the Android Emulator. I'd like to know: 1. is it possible to extend Android APIs whit other .jar file? 2. If it's possible, how can I extend the APIs? I just have to add libraries to the project or do I copy it

[android-developers] Re: ListView not refreshing on back button when cursor is changed

2010-07-09 Thread Spiral123
not sure I understand exactly what you are doing, but have you tried calling a .notifyDataSetChanged() on your simple cursor adapter? On Jul 8, 3:14 pm, Connick oconn...@gmail.com wrote: My user has a menu option to jump from a list activity to a preference screen which has options for

[android-developers] J'ai pas trouvé le chemin syst em/lib

2010-07-09 Thread moudav...@live.fr
Bonjour Je suis débutant dans ce monde d'android.J'ai trouvé dans plusieurs tuto des chemins system/lib ou system/fonts mais j'ai pas trouvé ces chemins là sur mon windows 7. De l'aide svp -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: SoundPool and LOADing from a resource

2010-07-09 Thread Marek Stój
I had the same problem - couldn't play sounds using neither SoundPool nor MediaPlayer in apps built with NetBeans. I've found a solution though and thought I'd share. All you need to do is set 'keepcompression' attribute to 'true' on the 'zip' tag inside 'build-impl.xml' (can be found in the

Re: [android-developers] Re: about library projects

2010-07-09 Thread Deborah Falcone
Thanks for your reply! I have not error in my progect, but when I run my application, in LogCat file, I obtain: *tag * dalvikvm *Message * Could not find class 'org.apache.axis.client.Service', referenced from ... -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Android Library Project

2010-07-09 Thread Deborah Falcone
Thanks for your reply! Don't worry, I will try to solve the problem ;) I have not error in my progect, but when I run my application, in LogCat file, I obtain: *tag * dalvikvm *Message * Could not find class 'org.apache.axis.client. Service', referenced from ... Regards, Deborah -- You

[android-developers] Get Custom Binary Data on Phone - Best Implementation?

2010-07-09 Thread Dan
Hello, I'm looking for some input on how to go about a problem I have. We have a device that has binary data that it needs to send out (they are mainly just symbols, but in a custom binary format) over ethernet. I need to intercept this data on the phone and display the symbols over google maps.

[android-developers] Manifest android:versionCode question

2010-07-09 Thread Rob
In the versioning documentation (http://developer.android.com/guide/ publishing/versioning.html) it says that android:versionCode is an integer. Is the integer a 4-byte integer with a range of -2,147,483,648 to +2,147,483,647 or is it only a 2 byte integer with a range of -32,768 to +32,767 ? --

[android-developers] Get binary data from external device to Droid

2010-07-09 Thread Dan
Hello, I'm looking for some input on how to go about a problem I have. We have a device that has binary data that it needs to send out (they are mainly just symbols, but in a custom binary format) over ethernet. I need to intercept this data on the phone and display the symbols over google maps.

[android-developers] How to hide contacts

2010-07-09 Thread Usama
I am currently making an application that's to work as auto-theft. The user whose mobile is stolen sends an sms to his phone and it's intercepted by the application installed in the phone. According to the format and instructions the phone performs the tast. I am making a module to hide the

[android-developers] newbie question

2010-07-09 Thread Jonathan
All, Just picked up the android 2.2 sdk and thought I would give it a run. I am doing the hello world demo by Dan Morrel on youtube and then porting to 2.2 . I can't seem to figure out how to get from the cursor to the intent when selecting a contact from the screen because the phone number is

[android-developers] How to write Monkey Script

2010-07-09 Thread jaehyuk park
Hi. This is Park. I am doing to wirte Monkey Script but i have no idea about it someone have a sample script? I searched in google so found some it. but i don't know that mean of the script === type= point how many type can i use? count= 10 speed= 1.0 start data

[android-developers] Re: Apply Alphabetical Filters on listViewApply Alphabetical Filters on listView

2010-07-09 Thread Russell DuRoss
You might have to call notifyDataSetChanged() whenever the content is changed. On May 11, 8:37 am, mudit mudit.a...@gmail.com wrote: Hi.. i need to create a list view that display same functionality as Contact App. I need to have a scroller through which i can traverse the list

[android-developers] WebView always appears FULLSCREEN

2010-07-09 Thread Michael powers
It appears that my WebView is ALWAYS FULL screen and doesn't respect the layout . Also, Activity menus are not the ones I set but the browsers. If the URL is www.google.com in mobile mode it appears to work ok !?! But once you click on Classic mode or any other web site in mobile/ regular it

[android-developers] Sms hiding and deletion

2010-07-09 Thread Usama
i am currently making an application in which i require to delete an sms. How do i go about it. Also I may need to hide a sms i.e not visible in the inbox but i may choose to unhide it later. How do i do that ? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Listview with Array Adapter - How to Change Item Data in onClick after Text Filter

2010-07-09 Thread Russell DuRoss
I have a need to change the data in my underlying array when the user clicks on that item in the Listview. I need this to work even when the user has done a text filter. I know how to get the text of the clicked entry but I can't figure out how to change that text. Any ideas? -- You received

[android-developers] child activity does not finish() correctly

2010-07-09 Thread ecforu
I have a ListActivity I display from a parent activity. When the user selects the desired item from the list it supposed to return to the parent activity. Only when I call finish, the app goes away (doesn't quit) and displays the Android Home page. If I debug, the application doesn't die, it

[android-developers] Re: Problem in getting result from filtered list

2010-07-09 Thread Russell DuRoss
I've tried using wild card characters to see if that works, but it doesn't seem to work. I'm also very interested the hearing if this can work or not. On Jun 16, 8:00 am, Addy joyy.bl...@gmail.com wrote: Hi. In my application I used a custom list for displayed some country name. and for

[android-developers] Installed Application Size vs APK Filesize

2010-07-09 Thread John
Hi, Can somebody explain to me what makes up the installed application size? I have an apk that is about 8 MB, and often when I install I get the INSUFFICIENT_STORAGE error. I have around 25-30 MB free space on the phone. I'm doing debugging so I have to upload lots of new versions. If I

[android-developers] Mapping Application

2010-07-09 Thread vineet
hi There. i need help in mapping application which i am need to build. I cannot use google maps api, since that does not support native offline data. My application will not be connected to 3g or wifi, and needs to read data from local filesystem(like andnav) Can some put light to this on how to

[android-developers] Sending UDP packets from the emulator

2010-07-09 Thread Mark
My friend and I have a wireless robot dog connected to a wifi network which our computer is plugged into. The computer is running an Android emulator and we are trying to send a UDP packet to the wireless robot dog. If the dog receives it, it should start sending UDP packets back. The program

[android-developers] Looking for game developer

2010-07-09 Thread Igor
Hello, My name is Igor and I'm from Russia. I found that there is no good RPGs on this platphorm. So I want to create team to develop game. I have good friend, he's roleplaying fan and writes atmosphere modules (adventures) for his sessions. And he has ideas for computer (mobile) RPG. As soon as

[android-developers] what is context?

2010-07-09 Thread cindy
A very silly question, What is Context? How to get it? Context.getSystemService(TELEPHONY_SERVICE) to get access to the TelephonyManager. Thanks! Cindy -- 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] Cannot find the culprit file in my android project even after expanding the main folder

2010-07-09 Thread vaibhavpandey
The side bar in eclipse shows a red cross on the title of my project folder but there are no such signs in the directories below it in hierarchy. In which particular file does error exist? How can I know that -- You received this message because you are subscribed to the Google Groups Android

[android-developers] New Mobile Developer Research names Android as top platform in developer mindshare

2010-07-09 Thread Matos
Hi, Just wanted to alert you to a new research examining Android 7 more mobile platforms, launched this Monday. Developer Economics 2010 is a global research tracking the developer experience from app design to market delivery monetization, across 400+ developers and all 8 major mobile

[android-developers] how to disconnect the incomming call

2010-07-09 Thread A N K ! T
hey am trying to disconnect the incomming call can anybody help me in this .. -- Thanks Ankit -- 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

[android-developers] Changing view after softkeypad has slided in

2010-07-09 Thread Chrono
Hi everybody, if have a layout with a variable scrollview at the top and a fixed view at the bottom. If the softkeypad slides in, a method will be called (after onSizeChanged) to hide the footer view due to usability reasons. So, my problem is to hide the footer view correctly. If I change the

[android-developers] Re: Embed youtube Video in Android

2010-07-09 Thread arsalank2
Youtube videos can be played by opening the appropriate URL through intent action VIEW. The youtube video URL starts with vnd.youtube. On Jun 29, 2:39 pm, Ram ramkuma...@gmail.com wrote: Can someone guide me in playing youtube videos in android. I have tried the RTSP but it fails

[android-developers] Android Support for Text Correction

2010-07-09 Thread shubham patni
Hi Friend, Is there any Support for Text Correction in Android SDK. Like if i write something wrong in SMS Text Box ,so those word should be highlighted or something else. Please suggest me . Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] SQLiteOpenHelper documentation not clear.

2010-07-09 Thread martinlong1978
Hi, The documentation does not make the interation between onUpgrade() and onCreate() clear. When implementing onCreate() should this create the database at version 1, assuming that onUpgrade will apply all of the patches to bring it up to version x (lets say version 5 for example)? Or should

[android-developers] How to get all the children views of a layout

2010-07-09 Thread PingoWingo
Hello, I'm a newbie, so please excuse if this is a basic question: Is there a way to get all the children views of a layout, from the Java code so that I can loop through them and set an attribute? Specifically, I'd like to set the layout_width based on the screen size. Since this layout_width

[android-developers] Re: Problem with app after update to 2.2

2010-07-09 Thread egbokalaka
By comparing the code in my Notepadv1.java vs the supplied solution, I found the error. in the onCreateOptionsMenu method I had: boolean result = onCreateOptionsMenu(menu) whereas the correct code was: boolean result = super.onCreateOptionsMenu(menu) The error caused my code to be called

[android-developers] Re: Problem with app after update to 2.2

2010-07-09 Thread egbokalaka
I have the identical menu stack overflow problem. I'm new to Android and Eclipse. MacOS 10.6.4 Eclipse 3.5.2 ADT 0.9.7.v201005071 Targeting 1.5 This occurs with the notepadv1 tutorial. On Jun 3, 8:44 am, Mark H. Nichols code.pr...@gmail.com wrote: On Jun 1, 2010, at 3:23 PM, Kiril Nedialkov

[android-developers] Re: Touch Events in Surface View

2010-07-09 Thread Joris
I had the same problem until recently. I'm new to android and not sure whether this is the optimal way of solving it, but it's simple and allows you to manage the sensitivity of the click. @Override public boolean onTouchEvent(MotionEvent event) { if(event.getAction() ==

[android-developers] abort()-ing HttpGet requests in ThreadSafeClientConnManager

2010-07-09 Thread Anurag Singh
Hi, I have an http client based on multi-threaded model of apache http components in my App. And I want to achieve spontaneous cancellation of http get requests from my Android app. A new executor thread is started for each http request and the Thread and the HttpGet is saved in a thread safe

[android-developers] Running custom app at boot on generic hardware

2010-07-09 Thread PhilL
Hi all, I'm trying to find out whether or not Android is suitable for a project I'm working on, but have never touched the API. I'd like to be able to take an off-the-shelf Android PDA/tablet, and re-purpose it so that: - Custom app launches at power up - No other apps can be run (either

[android-developers] Knowing when someone sets device to 2G only

2010-07-09 Thread Craig
I support people in my organization who use android phones - I frequently run into people who have set their device to 2G only to save battery and forget that they made that choice. Then they call me at a later date to complain that they aren't getting 3G connections. I've been looking for a way

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

2010-07-09 Thread anshu saurabh
unsubscribe On Fri, Jul 9, 2010 at 2:19 PM, Indicator Veritatis mej1...@yahoo.comwrote: Only 20 years? I have you beat there. But more importantly, your review of key points is still seriously deficient in logic. Your conclusions still do not follow. Repeating conclusions that do not follow

[android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-07-09 Thread Anders
This is insane.. for Android not to support a security delay is just beyond words. As a private user I do not want to enter my security code any time I unlock my phone. I do on the other hand want security. Every smartphone I've used had an option to delay security for 5min to a couple of hours.

[android-developers] Re: File missing error while compiling Android source code

2010-07-09 Thread Ahmed El-Hassany
I had the same problem and I couldn't compile Android. But when I read this thread http://ubuntuforums.org/showthread.php?p=9559776 , it's saying that Android will force using 64bit if Java6 is used. What I did is I switched to java5 and it works fine with me. On Jul 4, 5:06 am, Louis.Peng

[android-developers] Re: extending media framework on android 2.2 / froyo (stagefright ?)

2010-07-09 Thread Sunil Deshpande
Hi Al, Could you please tell me the code for the flash support in Froyo release. I want to check the code? I heard and read in forums like flash support is available on Froyo release. Thanks and Regards, Sunil On Jun 28, 3:52 pm, sbw.android sbw.andr...@gmail.com wrote: hi, I am interested in

[android-developers] Re: IMAP TLS (accept all certificated) error on Android 2.2 (Froyo)

2010-07-09 Thread tom
Hi guys, same problem here... it doesn't seem to accept all certificates at all... !!! Cheers On 3 juil, 14:27, AA andrea.ai...@gmail.com wrote: Hello, just got update to FRF91 on Nexus One this morning. Issue: the email account, which was working perfectly on former Android 2.1, is not

[android-developers] Modified Calendar App

2010-07-09 Thread DarkNet
I have worked on the calendar app for 2.2 and made a few changes. I added ability to set start week from the settings and changed the Month View to have color coding. I am trying to get the changes pushed into master branch to be considered but if anyone would like to check it out :

[android-developers] Contacts.apk

2010-07-09 Thread Ruff
I'm completely new in android environment. So, I want to ask for a solution which is probably very noobish question to you people. :D I want to replace the contacts.apk file in system/app/ . I go through adb remount and then push. But when I reboot emulator, everything is default. So, how can I

[android-developers] How to know whether bluetooth is enabled/disabled

2010-07-09 Thread Arjun
Greetings, How can I know whether bluetooth is enabled or disabled. Thanks, Arjun. -- 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,

[android-developers] Changing an Application's icon while its running

2010-07-09 Thread John
Is there a way to change an application's icon without upgrading it? The idea is that there are two icons in the drawable folder, both with different names. At some point during the applications runtime, the icon will switch to a different one to alert the user that something occurred. I have

[android-developers] Self-built Froyo images hang at booting process

2010-07-09 Thread L.Z
Hi, I'm trying to build my own Froyo images for Nexus one using the source code downloaded from android.git.kernel.org. The platform code is the master branch and the kernel code branch is android-msm-2.6.32. I built the images successfully. However, when I flashed my Nexus one with the images,

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

2010-07-09 Thread Nathan
Very good points mentioned so far. In November 2009, I decided to get a G1 for cheap from craigslist when I was just starting. At the time, that was the right choice. The G1 has two advantages: 1. It's likely to be the slowest real hardware, which is good to see how your app performs. However,

Re: [android-developers] Installed Application Size vs APK Filesize

2010-07-09 Thread Mark Murphy
On Thu, Jul 8, 2010 at 5:07 PM, John jo-d...@hotmail.com wrote:  Can somebody explain to me what makes up the installed application size? I have an apk that is about 8 MB, and often when I install I get the INSUFFICIENT_STORAGE error. I have around 25-30 MB free space on the phone.  I'm doing

[android-developers] Re: 3D Game Development

2010-07-09 Thread Robert Green
Check out libgdx, it has lots of integration pieces that will make it fairly quick to get a game prototyped and working. http://apistudios.com/hosted/marzec/badlogic/wordpress/?page_id=307 On Jul 6, 10:46 am, Renan Lima renan.lim...@gmail.com wrote: Hey all! I´m new on Android 3D game

Re: [android-developers] How to get all the children views of a layout

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 10:13 AM, PingoWingo joannas...@gmail.com wrote: Is there a way to get all the children views of a layout, from the Java code so that I can loop through them and set an attribute? getChildCount() and getChildAt() Specifically, I'd like to set the layout_width based on

[android-developers] how do I restart my program?

2010-07-09 Thread ArcDroid
i would like to restart my app, just like when you change from horizontal to vertical. Something like finish, but I don't want to exit the program. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] what is context?

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 2:04 PM, cindy ypu01...@yahoo.com wrote: A very silly question, What is Context? It is a class. How to get it? Activity is a subclass of Context. Service is a subclass of Context. BroadcastReceiver gets a Context object in its onReceive() method. Pretty much everything

Re: [android-developers] calling open method from service

2010-07-09 Thread Mark Murphy
On Thu, Jul 8, 2010 at 3:26 AM, A N K ! T ankit.awasth...@gmail.com wrote: hey all... am new in android developement,am trying to call open(); method for database to open...from on create of service but its showing runtime error.. Use adb logcat, DDMS, or the DDMS perspective

Re: [android-developers] How to reverse engineer(create a new project) a project from a stock phone?

2010-07-09 Thread Mark Murphy
On Thu, Jul 8, 2010 at 12:48 AM, Jad0gar jawwad...@gmail.com wrote: How would i go about reverse engineer what i have on my phone into a project in eclipse. To clarify, i want to create project where i have all the source code that was used to set up my stock phone. http://source.android.com

Re: [android-developers] Re: Android Library Project

2010-07-09 Thread Mark Carter
On 7 July 2010 20:58, Vladimir Lebedev-Schmidthof dair@gmail.comwrote: Hello Mark, I faced the same problem with attrs.xml in Library Project. Have you finally found the solution? Sorry Vladimir - I stopped using the Library Project system I while ago - and never found a solution to

Re: [android-developers] Changing an Application's icon while its running

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 1:51 PM, John whittakerchamb...@gmail.com wrote: Is there a way to change an application's icon without upgrading it? Not that I am aware of. The idea is that there are two icons in the drawable folder, both with different names.  At some point during the applications

Re: [android-developers] How to hide contacts

2010-07-09 Thread Dmitri Plotnikov
Hi Usama, There is really no way to completely hide a contact. You can remove it from the default view by changing the GROUP_VISIBLE field for all existing groups as well as UNGROUPED_VISIBLE on all rows in the Settings table. However, the user can always manually undo this by going to

[android-developers] Re: java.lang.NullPointerException when trying to edit strings.xml

2010-07-09 Thread Nitin Dahyabhai
On Jul 2, 5:16 pm, Xavier Ducrohet x...@android.com wrote: Hello all, We've tracked down this issue to a bug in the Eclipse Web tools plug-ins which provide the XML models and editors that our plug-ins use. For reference, Eclipse already has a bug filed for

Re: [android-developers] custom attributes in library projects

2010-07-09 Thread Xavier Ducrohet
Ah, there's a problem with the namespace. From aapt's point of view all the resources are compiled for the package name of the application (com.mycompany.test.app in your case), so your customValue attribute is defined in that namespace, and not in the namespace of the library. At this time, the

Re: [android-developers] J'ai pas trouvé le chemin system/lib

2010-07-09 Thread Xavier Ducrohet
The language for this group is English. To answer your problem: system/lib and /system/fonts are paths on the devices, not on your windows computer. Not sure what tutorials you found but they are probably not about application development, as you really don't need to deal with those paths when

[android-developers] Re: Problem with app after update to 2.2

2010-07-09 Thread RichardC
boolean result = onCreateOptionsMenu(menu) will go recursive and bang goes your stack My code for creating the options menu looks like: @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater();

[android-developers] Re: SQLiteOpenHelper documentation not clear.

2010-07-09 Thread RichardC
onCreate should always build your the database for your current version (say 5) onUpgrade will be called asking your to upgrade your database. It can be called with any version less than your current version so you have to cope with upgrading from: 1 - 5 2 - 5 3 - 5 4 - 5 The way I do this (to

[android-developers] RTCP BYE packets not supported by the Android Media Framework?

2010-07-09 Thread Moto
Hello, I'm currently running into issues where the MediaPlayer fails to complete or terminate after a RTCP BYE packet is sent. The issue is that when the RTSP server is completed serving a file MediaPlayer continues ticking it's clock as if it was playing but with no sound until after just about

Re: [android-developers] Re: Android Library Project

2010-07-09 Thread Xavier Ducrohet
Just to give an update to anyone still reading this thread. The next version of ADT will include fixes for: - Issue with the library needing to have a single source folder called src. Any number of source folder, of any name, even under other folder (src/java). - Issue with project name

[android-developers] Re: Self-built Froyo images hang at booting process

2010-07-09 Thread RichardC
Try either : http://groups.google.com/group/android-platform http://groups.google.com/group/android-porting /Richard On Jul 9, 5:22 pm, L.Z leader...@gmail.com wrote: Hi, I'm trying to build my own Froyo images for Nexus one using the source code downloaded from android.git.kernel.org. The

[android-developers] Re: Manifest android:versionCode question

2010-07-09 Thread RichardC
Ten seconds of searching would have found you: http://developer.android.com/guide/topics/manifest/manifest-element.html /Richard On Jul 9, 3:35 am, Rob rob.irv...@gmail.com wrote: In the versioning documentation (http://developer.android.com/guide/ publishing/versioning.html) it says that

Re: [android-developers] WebView always appears FULLSCREEN

2010-07-09 Thread Mark Murphy
On Thu, Jul 8, 2010 at 3:40 PM, Michael powers mg4powe...@gmail.com wrote: It appears that my WebView is ALWAYS FULL screen and doesn't respect the layout . No, it isn't. Also, Activity menus are not the ones I set but the browsers. That is because it is the Browser application that you are

[android-developers] Re: Cannot find the culprit file in my android project even after expanding the main folder

2010-07-09 Thread RichardC
Do Project Clean ... Then look at either Problems or the Console view(s) /Richard On Jul 9, 12:07 pm, vaibhavpandey vaibhavpandey5...@gmail.com wrote: The side bar in eclipse shows a red cross on the title of my project folder but there are no such signs in the directories below it in

Re: [android-developers] child activity does not finish() correctly

2010-07-09 Thread Mark Murphy
If I had to guess, you are calling finish() after calling startActivityForResult() in the parent activity. Hence, the parent activity is gone, and there is nothing for the ListActivity to return to. On Thu, Jul 8, 2010 at 3:21 PM, ecforu ecforus...@gmail.com wrote: I have a ListActivity I

[android-developers] Re: How to know whether bluetooth is enabled/disabled

2010-07-09 Thread DonFrench
This is the way I do it. I also want to know if the app is running in the emulator so I first check if there is a default adapter. BluetoothAdapter sBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (sBluetoothAdapter == null) { // Bluetooth is not availabl EMULATOR =

Re: [android-developers] file handling : reading a file in internal storage

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 2:21 AM, Abhyudai Shanker abhyudai.shan...@gmail.com wrote: I have defined it as private char[] buf on the top. And I'm sure you've initialized this array, yes? - TreKing -

Re: [android-developers] Contacts.apk

2010-07-09 Thread Rogério de Souza Moraes
Hi, You need to change the SDK image. You need to download the android sdk source, make your changes and replace the system.img that your emulator use. Regards, Rogerio 2010/7/9 Ruff ruff@gmail.com I'm completely new in android environment. So, I want to ask for a solution which is

[android-developers] Re: writing to sd card issue

2010-07-09 Thread RichardC
The WRITE_EXTERNAL_STORAGE permission did not exist in sdk version 1.5 (3) (it was introduced in 1.6 (4) ). So if you are building for 1.5 (3) and running on 1.6 (4) or higher WRITE_EXTERNAL_STORAGE is silently added to your permissions. If you change your build to 1.6 (4) but indiciate you will

[android-developers] Re: oh no - lost my keystore

2010-07-09 Thread RichardC
I know it's overkill but DVD-R * 3 for me /Richard On Jul 9, 2:25 pm, Robert haser...@gmail.com wrote: What we do here is we put the keystore on 3 seperate flashdrives! When one goes down we send the intern(slave) to the store yo buy one! -- You received this message because you are

[android-developers] Re: SQLiteOpenHelper documentation not clear.

2010-07-09 Thread martinlong1978
Thanks Richard, Yes, I'm using a drop through case statement, to allow it to drop through to the latest version. I'll probably also call into upgrade from create to keep the creation (ie from version 0) consistent with upgrade. Thanks for the help... I'm sure I could've figured it out with a

[android-developers] Re: GPS accuracy reliability

2010-07-09 Thread RichardC
A GPS fix can be inaccurate - no matter how confident the GPS device is :) My experience here is from GPS units mounted on multiple trains travelling about the UK, recording their position every few seconds. A small percentage of the values we recieved from the GPS units were completly

Re: [android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-07-09 Thread Frank Weiss
Although I agree with you, I think you've misposted. It is not an SDK issue. -- 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

[android-developers] Re: Self-built Froyo images hang at booting process

2010-07-09 Thread L.Z
Thanks. On Jul 9, 2:36 pm, RichardC richard.crit...@googlemail.com wrote: Try either : http://groups.google.com/group/android-platformhttp://groups.google.com/group/android-porting /Richard On Jul 9, 5:22 pm, L.Z leader...@gmail.com wrote: Hi, I'm trying to build my own Froyo

[android-developers] Dialog without something in the background

2010-07-09 Thread Boozel
I have an aplication that is just a service but before it is run i would like the user to accept some terms and conditions that appear in a dialog box. Can any one please help me find a way to do this without having a visable activity show up in the background. I dont mind doing this in an

Re: [android-developers] Dialog without something in the background

2010-07-09 Thread Mark Murphy
Use a Theme.Dialog activity. On Fri, Jul 9, 2010 at 3:30 PM, Boozel boozelcl...@gmail.com wrote: I have an aplication that is just a service but before it is run i would like the user to accept some terms and conditions that appear in a dialog box. Can any one please help me find a way to do

[android-developers] Sqlite, cursor and thread safeness

2010-07-09 Thread Federico Paolinelli
Hi all, I have doubts about cursors and sqlite usage in a multi thread environment. Let's say that I have a background thread that pushes data in the sqlite storage. I read that I can force sqlite to be thread safe by using setLockingEnabled. I am now wondering what happens to a cursor while the

[android-developers] Flickr and Facebook

2010-07-09 Thread David Toledo
Hi All Where can found some API the Flickr and Facebook for android? Thanks David -- 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

[android-developers] Re: Dialog without something in the background

2010-07-09 Thread Boozel
Can you provide me with some more information on this or give me a link to some? On Jul 9, 9:35 pm, Mark Murphy mmur...@commonsware.com wrote: Use a Theme.Dialog activity. On Fri, Jul 9, 2010 at 3:30 PM, Boozel boozelcl...@gmail.com wrote: I have an aplication that is just a service but

Re: [android-developers] Mapping Application

2010-07-09 Thread Frank Weiss
Let's assume there's no Android application that will do that already or you don't want to license it. Start with some of the essential problems. Solve them one at a time. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Sqlite, cursor and thread safeness

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 3:44 PM, Federico Paolinelli fedep...@gmail.com wrote: I am now wondering what happens to a cursor while the data is being changed. Most of the time, a Cursor holds all the data represented by the result set, and so it is unaware of any changes you make to the database.

Re: [android-developers] Sqlite, cursor and thread safeness

2010-07-09 Thread Federico Paolinelli
The exception is if you have a really big result set (1MB), in which case it uses a windowed Cursor, and I have no idea what the rules are for it. That's what I was curious about. I mean, I was afraid there were some kind of optimizations behind the moveToFirst / Next call. However, I think I

Re: [android-developers] Calling Activity

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 10:00 AM, ranjan ar ranjan@gmail.com wrote: Can any one help me fix this. Fix what? You've loosely outlined what you want to do, but not what problem you're actually having.

Re: [android-developers] Get binary data from external device to Droid

2010-07-09 Thread Frank Weiss
I thiink you are asking too many questions at once. It usually helps to solve one problem at a time. AFAICT, you are dealing with three problems: how to establish communication between the phone and the device (although that's somewhat confusing, since a smart phone is frequently referred to as a

[android-developers] Prefill databases

2010-07-09 Thread Jaap
Hi, I have a program that needs a fixed database to do lookups of some data. Is there a way to easily fill such a database by just putting the data in a file or so Thanks Jaap -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Dialog without something in the background

2010-07-09 Thread Boozel
I figured it out here http://developer.android.com/guide/topics/ui/themes.html Thanks On Jul 9, 9:35 pm, Mark Murphy mmur...@commonsware.com wrote: Use a Theme.Dialog activity. On Fri, Jul 9, 2010 at 3:30 PM, Boozel boozelcl...@gmail.com wrote: I have an aplication that is just a service but

[android-developers] Re: how do I restart my program?

2010-07-09 Thread Al Sutton
It's rarely a good idea to do this. If you can tell us why you want to do this you may find we can offer you a way of doing what you want without a restart. Al. On Jul 9, 7:10 pm, ArcDroid jacobrjohn...@gmail.com wrote: i would like to restart my app, just like when you change from horizontal

<    1   2   3   >