[android-developers] Re: JPEG Image has a map

2010-12-06 Thread sal
thanks for ur concerns, @Frank I have JPEG sketch of my apartment, getting just geocode of my apartment doesnt serve my purpose. i want to do location markup on that JPEG image, i have stored location information which i want to mark on the image using android API's so i want to convert my image

Re: [android-developers] Re: Android TTS for Chinese

2010-12-06 Thread David Hu
Dear Leon, Thanks a lot for you quickly respond, I'll try to work under this way. BR, -David 2010/12/6 Leon Moreyn-Android Development > David, > > You dont need to wait for Android to support it per say. Depending on > the engine used, you can have it speak in chinese. I am not

Re: [android-developers] Logging actions

2010-12-06 Thread Pedro Teixeira
Help please ... On Dec 3, 2010, at 11:30 PM, Pedro Teixeira wrote: > Hello, > > I'd like to make a user test with my application. In order to not be > following the user or make him write things down I would like to > implement some kind of logging system. > This logging would be triggered by pr

[android-developers] How to deal with the SQLite resource that is too large?

2010-12-06 Thread Kenny Chang
My project has 3 SQLite database files, and each of them is larger than 2M. You know, the limit is beyond 1M in apk file. So how to make my database files setup when the apk is installing? And I don't want the way of downloading the database file by network. -- You received this message because y

[android-developers] Re: source for SDK

2010-12-06 Thread Bob Kerns
You know, those of us who normally develop with Windows would certainly appreciate a nice .zip file of at least the .java sources. It doesn't have to be buildable, or even complete to every last obscure file. Just something similar to how Sun/Oracle provide src.zip. Yes, I can fire up a virtual m

[android-developers] Re: The connection to adb is down

2010-12-06 Thread pramod.deore
> as of new 2.3 SDK, tools_r8 has a another path to add to your runtime > path: It means I have to give path of 2.3? On Dec 7, 12:28 pm, dario wrote: > as of new 2.3 SDK, tools_r8 has a another path to add to your runtime > path: > /platform-tools (in addition to tools) > > -Dario > On Dec 7, 1:

[android-developers] Re: ProGuard Integration?

2010-12-06 Thread Alan Jeon
Hi, I'm using Google AdSense sdk. (GoogleAdView.jar) Enabling proguard makes following errors. [proguard] Unexpected error while performing partial evaluation: [proguard] Class = [com/google/ads/AFMAUtil] [proguard] Method = [c([B[B)[B] [proguard] Exception = [java.lang.Arr

[android-developers] Re: The connection to adb is down

2010-12-06 Thread dario
as of new 2.3 SDK, tools_r8 has a another path to add to your runtime path: /platform-tools (in addition to tools) -Dario On Dec 7, 1:57 am, "pramod.deore" wrote: > when i tried to execute command - adb kill-server  then it gives me > error as 'adb' is not recognized as an internal or external co

[android-developers] Re: How to which function is calling a function at runtime?

2010-12-06 Thread Bob Kerns
Well, yes, you can, and a couple of the ways have been posted already. But ... are you sure you want to do this? What are you trying to accomplish? For most purposes, the result would be very poor modularity. Depending on exactly what you want to accomplish, there is likely a better way. Which is

[android-developers] Re: Is there any android expert from Google or any other company?

2010-12-06 Thread FrankG
IMHO move to android-platform .. On 7 Dez., 06:25, Jerry wrote: > Could you help to provide the link for your mentioned java os one? > > can not just use the library of new voice recognizer. Need to > implement the "recognitionservice" interface somehow. So need to > handle audio recording,etc

[android-developers] Re: setting property in init.rc for FROYO

2010-12-06 Thread FrankG
First I think this is the wrong group for such question as this is out of scope of the normal android sdk. Better would be android-platform for this. Second : Did you check via getprop whether you property is really set after the complete boot ? Third : Maybe reading them via SystemProperties.get

[android-developers] Need help in customizing EditText

2010-12-06 Thread Raju
Hi I have to modify the EditText view, just like a form text. Please look at the attachment .. Thanks in advance -- Thanks and Regards Raju .G -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: SDK 2.3: Get "Multiple substitutions specified in non-positional format" error

2010-12-06 Thread Bob Kerns
Reformatted for readability after the newsgroup reformats it: For a really radical suggestion: in strings.xml: %(CATS)d %(CATS:cat_plural)s and %(DOGS)d %(DOGS:dog_plural)s in Java: getFormatted(R.string.cats_and_dogs) .p("DOGS", dogCount) .p("CATS", catCount) .asText(); Also, as I thin

[android-developers] Re: The connection to adb is down

2010-12-06 Thread pramod.deore
when i tried to execute command - adb kill-server then it gives me error as 'adb' is not recognized as an internal or external command, operable program or batch file. On Dec 7, 11:51 am, "pramod.deore" wrote: > Hi all, > > Today when I started my eclipse and try to run the application then I >

[android-developers] Re: How to user my layout

2010-12-06 Thread Android
Thank you pedr.. right now am using run time views On Dec 1, 6:02 pm, pedr0 wrote: > Dear Raju, > > What are you talking about it's very weird, an activity use a layout > loaded  with setContentView(), this XML file will be use to find the > tag with findViewbyId(). > If you don't want some

[android-developers] The connection to adb is down

2010-12-06 Thread pramod.deore
Hi all, Today when I started my eclipse and try to run the application then I got following error. [2010-12-07 12:17:14 - ListViewA] The connection to adb is down, and a severe error has occured. [2010-12-07 12:17:14 - ListViewA] You must restart adb and Eclipse. [2010-12-07 12:17:14 - ListViewA]

[android-developers] Re: Eml Parser

2010-12-06 Thread FrankG
You can handle EML-Files "normaly" with javax.mail.* and in particular the MimeMessage class. javax.mail is not part of the android sdk, but mayby you can use the java sdk sources as starting point for you own handlng ? Good luck ! Frank On 6 Dez., 10:15, Android Developer wrote: > Hi, > > H

[android-developers] Re: How to turn On and Off the GPS?

2010-12-06 Thread Ali Chousein
To turn it on you have to use the intent: new Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS); Android doesn't let you do it from the code. To turn it off use locationManager.removeUpdates(mLocationListener); locationManager = null; ("locationManager" is and instance of Location

[android-developers] Re: Java 6 in Gingerbread?

2010-12-06 Thread Jesse Wilson
Peter, Android's class library has been updated in Gingerbread. The update intends to be interoperable with Java SE 6. Cheers, Jesse -- 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

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

2010-12-06 Thread tobias429
I'm having exactly the same issue in my App. Worked fine in all other Android versions before. It also seems to be for the change from landscape to portrait only. The other way around works fine. -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Nate
Is the fix ready yet? :D -Nate On Dec 6, 5:00 pm, Mario Zechner wrote: > Awesome thanks a bunch :) > > On 7 Dez., 01:54, Xavier Ducrohet wrote: > > > hey all, we found the issue. It's related to referencing java project. > > > We're looking at pushing a fix to ADT asap. In the meantime you can

[android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Zarah
Hi Xavier, Also, all my projects now have errors like this: [2010-12-07 14:09:48 - Search247Android] W/ResourceType( 3212): Bad XML block: header size 143 or total size 10813636 is larger than data size 0 [2010-12-07 14:09:48 - Search247Android] J:\Projects\workspace \Search247Android\res\values\s

[android-developers] Re: Facing problem in using Accessibility Service of Android

2010-12-06 Thread Pratap
Can anybody throw some light on this issue? On Dec 6, 7:19 pm, Pratap wrote: > Hi > > I have written an accessibility service which is registered for > AccessibilityEvent.TYPES_ALL_MASK for a particular package. > > It works fine and I get a callback in > onAccessibilityEvent(AccessibilityEvent e

[android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Chander Pechetty
Following steps solved the issue: 1. Uninstalled the 0.9.x plugin 2. Removed the Maven plugin for Android which was still pointing to 0.9.x plugin. 3. Install the latest. Works fine !!! Cheers, Chander On Dec 7, 10:04 am, Chander Pechetty wrote: > I will just install on a fresh instance, should

[android-developers] Re: SDK 2.3: Get "Multiple substitutions specified in non-positional format" error

2010-12-06 Thread Bob Kerns
As someone who's been involved with internationalization of software for over 25 years -- while I'm certainly glad you provide this syntax, I think signalling an error is just a bit over the top. A warning would be sufficient. Here's why: In my experience (perhaps not comprehensive), the workflow

[android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Zarah
Hi Xavier, Had some problems during installation of the SDK in the (now-new) ADT plugin in Eclipse. Here's what I did: - Moved my Eclipse folder from C:/Program Files/ to C:/Users/. I understand this has the same effect as having a fresh install of Eclipse. Is this right? - Anyway, I opened Eclip

Re: [android-developers] Media Player For Android

2010-12-06 Thread ashok chakravarthy
create local server(Server Socket) on the phone and open stream on the file you want to play and write the buffers on to the server socket. On Mon, Dec 6, 2010 at 11:11 AM, chamith weerasinghe wrote: > Thanks... > but I need to do a different thing.How I down load a audio file while it > playing.

[android-developers] Re: Is there any android expert from Google or any other company?

2010-12-06 Thread Jerry
Could you help to provide the link for your mentioned java os one? can not just use the library of new voice recognizer. Need to implement the "recognitionservice" interface somehow. So need to handle audio recording,etc in between. Google's "RecognitionService.java" is abstract class On No

[android-developers] Re: Typical App Registration in Android - Code Sample

2010-12-06 Thread Bob Kerns
It sounds to me like you're approaching this a bit backwards. Rather than asking what information should go on a registration form -- you should be looking to only collect what information you need. For example: do you really need to collect the phone number to provide your service? Phone numbers

Re: [android-developers] How to which function is calling a function at runtime?

2010-12-06 Thread Matthieu Jeanson
http://developer.android.com/guide/developing/tools/traceview.html On Wed, Dec 1, 2010 at 11:44 PM, Rahul Kashyap wrote: > Hi, > > Is there any way to find out who is calling whom at runtime? > I know this can be easily done in a debugger, but i am looking for an API > which when invoked inside a

Re: [android-developers] CONTACT_ID - Keeping it in sync

2010-12-06 Thread Dmitri Plotnikov
Take a look at Contacts.LOOKUP_KEY. Lookup keys are far more stable than contact ids. For example, they are used in contact shortcuts. On Dec 6, 2010 2:22 PM, "Mak" wrote: > I am interested in your opinions on the best way to keep a robust > reference to a contact starting android 2.0. I have re

[android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Chander Pechetty
I will just install on a fresh instance, should most likely fix the problem... no big deal !!! must be some dependency. cannot wait to try all the cool stuff. Cheers, Chander On Dec 7, 9:58 am, Chander Pechetty wrote: > I can select all of them. On pressing "Next" I get the operation > cannot b

Re: [android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Xavier Ducrohet
I've had that happen before, and usually closing the dialog and re-opening it makes the next button enabled. I think it's an issue with Eclipse. We don't control this part at all. On Mon, Dec 6, 2010 at 8:58 PM, Chander Pechetty wrote: > I can select all of them. On pressing "Next" I get the oper

[android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Zarah
Hi Xavier, I am on Windows 7 64-bit, if it is of any importance to note. My Eclipse install was originally in C:/Program Files, but I have read somewhere that this poses a problem to plug-in updates. I have tried moving it to my %User% folder, but now I have to download the ADT and SDK again. W

[android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Chander Pechetty
I can select all of them. On pressing "Next" I get the operation cannot be completed because: Your original request has been modified. "Android DDMS" is already installed, so an update will be performed instead. "Android Development Tools" is already installed, so an update will be performed i

Re: [android-developers] How to which function is calling a function at runtime?

2010-12-06 Thread Kumar Bibek
What's your question? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Dec 7, 2010 at 10:20 AM, Frank Weiss wrote: > As I recall, in Java there's a way to do this by throwing an exception and > catching it. The Exception object is supposed to allow you to access the > s

Re: [android-developers] How to which function is calling a function at runtime?

2010-12-06 Thread Frank Weiss
As I recall, in Java there's a way to do this by throwing an exception and catching it. The Exception object is supposed to allow you to access the stack trace. See java.lang.Throwable. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

Re: [android-developers] source for SDK

2010-12-06 Thread Xavier Ducrohet
http://source.android.com On Mon, Dec 6, 2010 at 8:23 PM, doles wrote: > Hello All, > > I am new to android dev but not new to java or UI development. Where > do I download source code for the android SDK from so that I can click > through to sources in my IDE just as it can commonly be done in j

Re: [android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Xavier Ducrohet
I'm not sure why it wouldn't let you install DDMS/ADT unless you're missing some dependency. Does it not allow you to select them in the update site, or can you select them but it fails to install? If you don't install the new ADT, then you won't be able to use the new SDK since a few tools moved

[android-developers] Re: New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Chander Pechetty
No workspace log generated. AVD manager stopped working, no adb as well. I am on ganymade, and it doesn't allow me to install DDMS, and development tools. Installed hierarchy viewer. After restart, the AVD is no longer accessible from eclipse. Looks like all platform tools have been moved to platf

Re: [android-developers] Re: How to differentiate a tap event generated by system or by user

2010-12-06 Thread Frank Weiss
Sounds a bit like an MVC problem. If the checkbox view is bound to a model (adapter), only the user should be creating tap events. To programmatically change the checkbox, change its state in the model. -- You received this message because you are subscribed to the Google Groups "Android Develope

Re: [android-developers] Re: ProGuard Integration?

2010-12-06 Thread Xavier Ducrohet
Michael, We're fixing ADT to properly report what the problem really is but we just noticed the .bat that proguard ships with doesn't support path with spaces. We'll provide our own .bat for the next tools release but in the mean time you may want to check this. Xav On Mon, Dec 6, 2010 at 3:37 P

[android-developers] source for SDK

2010-12-06 Thread doles
Hello All, I am new to android dev but not new to java or UI development. Where do I download source code for the android SDK from so that I can click through to sources in my IDE just as it can commonly be done in java apps? Thank you, Sachin -- You received this message because you are subscr

Re: [android-developers] Need help with twitter integration

2010-12-06 Thread blackpuma786 blackpuma786
Hi friend, im Bhargav kumar bloa example is one of the best example to twitter. (http://www.youtube.com/watch?v=25o0b2aEw0E)paste in your browser & below source code also available On Thu, Dec 2, 2010 at 7:45 AM, vishnu wrote: > I am developing an android application in which a tweet optio

[android-developers] Re: Problem removing from listView

2010-12-06 Thread Kevin Anthony
I'm not trying to clear the list I'm trying to remove all names that are equal to the name you asked to remove. you have a list of bob bob tom tim sam suzie you click on one bob, both bobs get removed On Dec 6, 7:28 pm, Bret Foreman wrote: > This is simpler: > > while( Name.size() > 0 ) { >   N

Re: [android-developers] New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Xavier Ducrohet
is there anything in the workspace log? It sounds like you have missing dependencies but your eclipse install isn't able to grab them automatically on the eclipse repository (we do not depend on 3rd party plug-ins, only official eclipse stuff) On Mon, Dec 6, 2010 at 7:29 PM, Zarah wrote: > Hi, >

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

2010-12-06 Thread Max Binshtok
Here's a screenshot of the browser "stuck" in landscape although the emulator is in portrait. Screenshot is from a Mac, same behavior on Windows 7 x64 (doesn't seem to be a system specific issue) and confirms this problem on at least 2 completely different machines. https://docs.google.com/leaf?i

Re: [android-developers] Cancel button on a status bar Notification.

2010-12-06 Thread TreKing
On Thu, Dec 2, 2010 at 1:38 AM, edrowland wrote: > Am I missing something obvious? I don't know, but why not just dump the "Ignore" part and just use the clicking the notification as a cancel request? -

Re: [android-developers] App help

2010-12-06 Thread TreKing
On Fri, Dec 3, 2010 at 2:07 PM, Shankar Athinarayanan wrote: > p.s. If you did not really get what I said, can you please reply and I can > rephrase it? > You may want to explain what you mean by a a class being "above" another. Perhaps post a cod snippet showing how your classes are laid out.

[android-developers] Bluetooth pairing request dialog

2010-12-06 Thread Vinay
Hi, According to the bluetooth tutorial: http://developer.android.com/guide/topics/wireless/bluetooth.html Android automatically handles the pairing procedure. But, no any dialog appears when I'm initiating the connection. Further I got to know form this post: http://groups.google.com/group/and

[android-developers] New ADT and SDK breaks Eclipse (Again!)

2010-12-06 Thread Zarah
Hi, Has anyone else encountered problems when updating to the new ADT? I am using Eclipse Galileo and when I tried updating the ADT, the ADT manager is not visible anymore. Nor is the Window > Preferences > Android option. :( I restarted Eclipse, restarted my PC, tried uninstalling then re- inst

Re: [android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-06 Thread XC He
System app is installed under /system/app In theory, it cannot be uninstall. you can use applicationinfo to fing the flags, if the flags contains FLAG_SYSTEM, it could be system app. import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; PackageManager pm = context.g

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

2010-12-06 Thread Max Binshtok
It is not my app apparently (thanks @ymst for the idea) I checked the browser app. Just opened the browser (the emulator has it preinstalled) and the browser app exhibits the same behavior - once turned to landscape, it doesn't rotate back to portrait when the emulator is switched to portrait. So

[android-developers] Re: How to differentiate a tap event generated by system or by user

2010-12-06 Thread Vinay
Hi, I have come across one situation where it is required to know. I'm using a check-box to handle turning on/off bluetooth. In case the bluetooth is already on (through Wireless & Network -> Bluetooth -> turn On), then in my custom application the check-box should be checked indicating blueooth

[android-developers] Re: Free version to Paid version

2010-12-06 Thread Brill Pappin
I've been thinking of trying that. It can only popup once to let the user know because it would be a real pain for them if it popped up every time the keyboard did :) However they would be able to click directly to download it or maybe tell it to remind them rather than just going away for ever. I

[android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-06 Thread Bob Kerns
It's always refreshing to see people paying attention to internationalization issues. :=) On Dec 6, 12:39 pm, Brad Gies wrote: > Well.. the comment would work... but I'd need translations :). -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: Free version to Paid version

2010-12-06 Thread Brill Pappin
Yes, Good idea. I'll do that. - Brill Pappin On Dec 3, 5:17 pm, TreKing wrote: > On Fri, Dec 3, 2010 at 4:12 PM, Brill Pappin wrote: > > Actually, my question was not about a separate app, but more along > > the lines of how you tell the user they can upgrade. What ways work and are > > unobtru

Re: [android-developers] [北京招聘]安卓联航 公司招聘Android人才

2010-12-06 Thread 何斌斌
薪资面议,如果您对我们公司感兴趣,有意加入我们,请将您的简历发至: an...@andlisoft.com 在 2010年12月7日 上午10:17,袁堂夫 写道: > 不至于吧,都跑这里招聘了,哈哈~多少钱一个月呢? > > 在 2010年12月7日 上午10:13,何斌斌 写道: > > 一、企业介绍: > > 安卓联航软件科技(北京)有限公司: http://www.andlisoft.com > > 二、职位描述: > > 从事Android相关软件的开发 > > 三、职位要求: > > 1. Java技术扎实,同时有C++与Java开发经验优先; > > 2. 半年以上And

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

2010-12-06 Thread ymst
Hello, I've found a similar problem on Emulator. - create Activity A (screenOrientation=landscape) - launch Browser from Activity A - orientation of Browser never changed even if Emulator has been rotated (ctrl+F11) I hope it's an emulator specific problem... ymst -- You received this message

[android-developers] Re: Publishing an application on an own web server

2010-12-06 Thread JP
If you are trying to set up some sort of a notification scheme, that would alert users to download a new release, you could try this: On a regular basis (run a timer), check for the existence of an "update_vx.x.html" file on your web server. Replace x.x. with what ever represents the current versi

[android-developers] Re: Encryption on Android devices

2010-12-06 Thread nick
On Dec 4, 10:10 pm, "stefan.at.android" wrote: > Hello, > > 1) I am wondering if the Android SDK has already predefined encryption > functions or if one would have to write this all from scratch? > Andoird comes with OpenSSL and Bouncy Castle. That should be all you need. > > The latter one is

Re: [android-developers] [北京招聘]安卓联航 公司招聘Android人才

2010-12-06 Thread 袁堂夫
不至于吧,都跑这里招聘了,哈哈~多少钱一个月呢? 在 2010年12月7日 上午10:13,何斌斌 写道: > 一、企业介绍: > 安卓联航软件科技(北京)有限公司: http://www.andlisoft.com > 二、职位描述: > 从事Android相关软件的开发 > 三、职位要求: > 1. Java技术扎实,同时有C++与Java开发经验优先; > 2. 半年以上Android平台开发经验,熟悉Android架构; > 3. 对研究和探索新技术有浓厚兴趣; > 4. 具备良好的职业素养和团队协作精神,以及较强的学习能力,能够承担工作压力; > 四、工作地点:北京 > 五、联

[android-developers] [北京招聘]安卓联航公 司招聘Android人才

2010-12-06 Thread 何斌斌
一、企业介绍: 安卓联航软件科技(北京)有限公司: http://www.andlisoft.com 二、职位描述: 从事Android相关软件的开发 三、职位要求: 1. Java技术扎实,同时有C++与Java开发经验优先; 2. 半年以上Android平台开发经验,熟悉Android架构; 3. 对研究和探索新技术有浓厚兴趣; 4. 具备良好的职业素养和团队协作精神,以及较强的学习能力,能够承担工作压力; 四、工作地点:北京 五、联系方式:有意者请发简历至 an...@andlisoft.com -- You received this message because yo

[android-developers] Re: testApplicationTestCaseSetUpProperly failing

2010-12-06 Thread A. Elk
It's hard to tell, because you haven't told us very much other than the error message. The message itself is what you would expect if you invoked one of the assert... methods in junit.framework.Assert and the method failed. This is indicated in the fifth line: "junit.framework.AssertionFailedErro

Re: [android-developers] Application help (Communication between phone and computer)

2010-12-06 Thread Miguel Morales
Well, you have two options. You can either communicate the applications directly with each other, or have an intermediary. If you choose to have the applications communicate directly you have to make either of the applications can listen on a port and have other clients communicate with it. This

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

2010-12-06 Thread 袁堂夫
I have not fixed it now.I think that the driver maybe change Liumince to BGRA when Upload texture,so it is very slow. 在 2010年12月5日 上午2:12,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

Re: [android-developers] How to send a simple email programatically? (exists a simple way to do it??)

2010-12-06 Thread Miguel Morales
Like others have pointed out, there is no easy way. The EASIEST way is to use a webservice. Which will be much more stable and work all the time. You also need to know about what the email protocols are, i.e. SMTP or IMAP. A simple google search turned this: http://davanum.wordpress.com/2007/12/

Re: [android-developers] Audio triggered by database change?

2010-12-06 Thread Miguel Morales
You'll probably want some sort of PUSH notification. If you are targeting 2.0+ you might want to take a look at http://code.google.com/android/c2dm/index.html. If you're targeting anything before that you'll have to roll your own. Probably using a service that either polls the server, or which ke

Re: [android-developers] Re: How to put text below the image of the item in a mapview? (googlemap view)

2010-12-06 Thread TreKing
On Tue, Nov 30, 2010 at 1:52 PM, Guillaume wrote: > Okay but what about drawing order ? In the case of overlapping markers, you > text will appear twice as it's draw after markers. > Any solution for that ? > I haven't had to worry about that. If it's a major issue for you, you could completely o

[android-developers] Re: Dear Google - Please stop breaking my app with every update

2010-12-06 Thread Bob Kerns
The change gets my stamp of approval! But I took your build scripts as examples, rather than a base to extend. The use of a 1960s telegraph character encoding was one reason, stability through releases another. But if I might suggest a strategy for compatibility, it would be to use macrodef's to

[android-developers] How to detect Mobile Acess Point network mode?

2010-12-06 Thread edrowland
I'd like to be able to distinguish between Mobile non-Access-Point, and Mobile with-Access-Point mode, but I can't seem to figure out how to do it. When a 2.2 phone is configured as a Mobile Access Point, WifiManager says that the wifi is disconnected. ConnectionManager says pretty much the same:

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Mario Zechner
Awesome thanks a bunch :) On 7 Dez., 01:54, Xavier Ducrohet wrote: > hey all, we found the issue. It's related to referencing java project. > > We're looking at pushing a fix to ADT asap. In the meantime you can > temporarily change to including your java project as a jar file. > > > > > > > > >

Re: [android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Xavier Ducrohet
hey all, we found the issue. It's related to referencing java project. We're looking at pushing a fix to ADT asap. In the meantime you can temporarily change to including your java project as a jar file. On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner wrote: > I have the exact same issue. I went t

Re: [android-developers] Handling EditText changes properly

2010-12-06 Thread Mark Murphy
On Mon, Dec 6, 2010 at 7:43 PM, Bret Foreman wrote: > The question that comes up is what event should cause the form > activity to move data from the EditText widget into the database? In > the case of the checkboxes, it's pretty simple - I just update the DB > when the onClickListener is called.

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Mario Zechner
Forgot to mention my system specs: Windows 7 Home Premium 32-bit, JDK 1.6.0_22, Eclipse Helios SR1. On 7 Dez., 00:16, Xavier Ducrohet wrote: > gotta love the error message. *sigh* > > From what you're saying you have all that's needed. Have you tried > using the Sun VM instead of OpenJDK? > We l

[android-developers] Handling EditText changes properly

2010-12-06 Thread Bret Foreman
I have a form with 7 or 8 EditText areas and a couple of check boxes. All the text and the checkbox state comes from an SQLite database where one instance of the form matches one row in the DB. I also have a flag column in the DB to mark a row as "dirty" so I know it's been edited. This is importan

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Mario Zechner
I have the exact same issue. I went the exact same route as the original poster. The "verbose" output of all the Android tools in Eclipse is not all that verbose it turns out. However, digging up the .log file in $workspace/.metadata/.log brought this up: !ENTRY com.android.ide.eclipse.adt 4 0 201

[android-developers] Re: Can't download the Android SDK

2010-12-06 Thread imsopov
Have you checked for updates for eclipse beforehand before trying to update the Android SDK? On Dec 2, 1:35 pm, Big Dick wrote: > "Failed to fetch > URLhttps://dl-ssl.google.com/android/repository/repository.xml, > reason: HTTPS SSL error. You might want to force download through HTTP > in the s

[android-developers] Re: Problem removing from listView

2010-12-06 Thread Bret Foreman
This is simpler: while( Name.size() > 0 ) { Name.remove(0); } On Dec 6, 3:59 pm, Kevin Anthony wrote: > i have a List private static List Name = new ArrayList(); > private static List Number = new ArrayList(); > private static List Address = new ArrayList(); > private static List Email = new A

Re: [android-developers] ProGuard Integration?

2010-12-06 Thread Xavier Ducrohet
No it's fine. That comment is a bit obsolete. build.properties is only used by ant (I wish I could rename all those files without breaking everyone), so default.properties is the one to use. On Mon, Dec 6, 2010 at 4:05 PM, Jonas Bengtsson wrote: > Love the ProGuard integration. > > It says in def

Re: [android-developers] ProGuard Integration?

2010-12-06 Thread Jonas Bengtsson
Love the ProGuard integration. It says in default.properties that you shouldn't make any changes to it. Is build.properties a better place to put it? Cheers, Jonas Xavier Ducrohet wrote 07/12/2010 00:07: - all you have to do is create a proguard config file somewhere and specify its locatio

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

2010-12-06 Thread Ali Chousein
Hi, Once I faced a similar issue with changing the orientation from landscape to portrait. What I observed at that time was that, when the orientation is changed from landscape to portrait the onDestroy- onCreate pair can be called twice. This has all sorts of side effects of course. Check in the

[android-developers] Problem removing from listView

2010-12-06 Thread Kevin Anthony
i have a List Name = new ArrayList(); private static List Number = new ArrayList(); private static List Address = new ArrayList(); private static List Email = new ArrayList(); and i'm trying to loop threw and delete them when a user longclicks on them and clicks delete here's the delete code: pub

[android-developers] Re: Difference between Android 2.2 and Google API for Android

2010-12-06 Thread vogella
The Google one contains also API which is not part of the standard Android SDK. For example the Google Maps is not part of Android. On Dec 4, 4:28 pm, Zeeshan Hanif wrote: > Hi, > > I'm unable to understand the difference between "Standard Android platform > 2.2" and "Android + Google APIs". Beca

[android-developers] Re: UI Builder in 2.3

2010-12-06 Thread vogella
The new UI Builder is an improved version of the old one. For a screenshot please see here: http://www.vogella.de/articles/Android/article.html#first_views -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: ListView disappears after orientation change

2010-12-06 Thread Ali Chousein
When you change the orientation, your ListActivity will be created from scratch. This means that onCreate, onStart and onResume will be called for the newly created ListActivity after the orientation change. Did you take care of this behavior? Ali Chousein Published apps: - Geo-Filtered Assis

[android-developers] Android Tutorial update to Android 2.3 (Gingerbread)

2010-12-06 Thread vogella
Hi, I updated my Android Tutorial to Android 2.3 (Gingerbread). Don't expect to much, I'm currently not using any Gingerbread specific API; the update mainly covers the installation process anf the new UI editor. http://www.vogella.de/articles/Android/article.html Best regards, Lars -- You rec

[android-developers] Re: UI Builder in 2.3

2010-12-06 Thread nah0y
Hi, In fact it's built in ADT, so you just have to open a android xml file with eclipse, and there is 2 views (xml code, Graphical layout) located at the two tabs at the bottom. :) Yohan. On Dec 6, 10:35 pm, swgillan wrote: > I read that there was a preview of the new UI Builder in the release

[android-developers] Scrolling in HorizontalScrollView

2010-12-06 Thread Arjun
Greetings, I have a linear layout inside a horizontal scroll view. linear layout has n number of images. I am facing problem with horizontal scrolling, As soon as the user flings, depending upon the velocity the scroll view scrolls. But my requirement differs with the default horizontal scroll v

[android-developers] Re: ProGuard Integration?

2010-12-06 Thread Michael A.
I'm getting an error when trying to export using Proguard: !MESSAGE Failed to export application !STACK 0 com.android.ide.eclipse.adt.internal.build.ProguardResultException at com.android.ide.eclipse.adt.internal.build.BuildHelper.runProguard(Unknown Source) at com.android.ide.ecli

Re: [android-developers] Running SDK samples

2010-12-06 Thread Xavier Ducrohet
Use 'android update project -p ...' see http://developer.android.com/guide/developing/other-ide.html#CreatingAProject for more info. On Thu, Dec 2, 2010 at 2:55 PM, Tobiah wrote: > I did the Hellow World using tools/android to create the project > from the command line.  I don't understand how t

[android-developers] Re: ProGuard Integration?

2010-12-06 Thread Michael A.
Thanks. I found it shortly after posting this (incidentally, the link in the Android market points to the wrong page). Great stuff. I love the many small things like these in 2.3 that help makes the lives of the developers easier. :-) Regards, Michael A. On Dec 7, 12:07 am, Xavier Ducrohet wro

Re: [android-developers] Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Xavier Ducrohet
gotta love the error message. *sigh* >From what you're saying you have all that's needed. Have you tried using the Sun VM instead of OpenJDK? We load dx.jar through reflection and it looks like calling out to a method through reflection failed. Xav On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara wro

Re: [android-developers] ProGuard Integration?

2010-12-06 Thread Xavier Ducrohet
Doc about the integration is there: http://developer.android.com/guide/developing/tools/proguard.html In a nutshell: - it's packaged with the SDK - all you have to do is create a proguard config file somewhere and specify its location in default.properties. - Whenever you do a release build (ant r

Re: [android-developers] Re: ADT 8 / 2.3 ant build no longer bundling libs?

2010-12-06 Thread Xavier Ducrohet
I'll take a look at that. thanks Xav On Mon, Dec 6, 2010 at 2:50 PM, Matt Hall wrote: > Thanks for taking a look. > > Specifically my problem was with out.dex.jar.input.ref in the dex- > helper. Ant 1.7 had a warning about the conditional in that macrodef, > and then tried to guess the value for

[android-developers] Just got this....

2010-12-06 Thread Brad Gies
Delivery to the following recipient failed permanently: android-developers@googlegroups.com Technical details of permanent failure: The groupandroid-develop...@googlegroups.com has exceeded its quota for total number of recipients. Hah.. I assume it has something to do with the fact t

[android-developers] ProGuard Integration?

2010-12-06 Thread Michael A.
Hi, The release notes for the new ADT/SDK mentions integrated ProGuard support, which I find very interesting, as I've been holding off on the latest release partly for this feature. Unfortunately, it does not appear that easy. There are not any obvious interface changes that I have been able to

Re: [android-developers] Configure a URL for my application but should be outside of application

2010-12-06 Thread Brad Gies
Read and write the Url to a file Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.comhttp://nocrappyapps.com http://bistroblurb.com http://forcethetruth.com http://ihottonight.com

Re: [android-developers] Re: column '_id' does not exist

2010-12-06 Thread Kostya Vasilyev
This is a convention in the framework that the primary key be called "_id", used by "simplified" adapter classes to make life easier for the developer. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 07.12.2010 1:33 пользователь "Ashish" написал: > Well as per my understanding it is of ut

[android-developers] Re: Switching between two activities with animation

2010-12-06 Thread Emanuel Moecklin
Check my post here: http://bit.ly/eTd83s. Hope that helps Emanuel Moecklin 1gravity LLC -- 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

  1   2   3   4   >