[android-developers] Re: Android layout editor is plenty of bugs. Will google fix them?

2012-02-06 Thread Zsolt Vasvari
The Layout Editor is open source. Get cracking and start submitting fixes. I am sure Google would be very grateful. On Feb 5, 9:24 pm, eldruida druida...@gmail.com wrote: Hello, I know that I can create activities writing xml code. However, the layout would be very useful if weren't full of

[android-developers] Re: Action Bar icon sizes?

2012-02-06 Thread Zsolt Vasvari
I created a Bug report for this: http://code.google.com/p/android/issues/detail?id=25176 On Feb 6, 1:01 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Feb 6, 2012 at 12:56 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I guess Google cannot get the story straight: The doc says

[android-developers] [ICS]: CTS test failed: nulljava.lang.VerifyError in opcodes of the android.core.vm-tests

2012-02-06 Thread sawyer jim
Hello Everyone: When I did CTS test against the package android.core.vm-tests, I got many failures said nulljava.lang.VerifyError in the opcodes. I posted a detail failure log below: nulljava.lang.VerifyError: dot/junit/opcodes/shr_int_2addr/d/ T_shr_int_2addr_6 at

[android-developers] Re: SSL/TLS and ECC (Elliptic curve cryptography)

2012-02-06 Thread Kosmo Kosmorum
Thanks for your replay. We try to run this app on a Android 2.2, because it is the minimum target we need to handle, so we don't know if this solution works with other type of clients. We know that the certificates and server configuration are good because we can test the communication with a IE7

[android-developers] Re: ACTION_POWER_CONNECTED broadcast receiver not recognize by ICS

2012-02-06 Thread Kiview
I have the same problem and am looking for a soloution =/ -- 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 to

Re: [android-developers] Re: SSL/TLS and ECC (Elliptic curve cryptography)

2012-02-06 Thread Nikolay Elenkov
On Mon, Feb 6, 2012 at 6:12 PM, Kosmo Kosmorum elko...@gmail.com wrote: Thanks for your replay. We try to run this app on a Android 2.2, because it is the minimum target we need to handle, so we don't know if this solution works with other type of clients. If you want maximum compatibility,

[android-developers] CountDownTimer

2012-02-06 Thread Omollo Ateng
hey all, i want to send an sms after 1 minute, please may you help me with this code please using count down timer -- Be good to not only people but also machines -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] SQLiteTable is not inserting

2012-02-06 Thread srikanth chitturi
package Database.login; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; public class DatabaseLogin extends Activity { private EditText edit; private Button

Re: [android-developers] SQLiteTable is not inserting

2012-02-06 Thread Marcelo Henrique
public class DBAdapter extends SQLiteOpenHelper { public static final String KEY_ROWID = _id; public static final String KEY_NAME = username; public static final String KEY_PASS = password; public static final int DATABASE_VERSION = 1; public static

[android-developers] does Android market validate unreleased versions?

2012-02-06 Thread Gabriel Simões
Hello, I tried running a beta testing campaign during the weekend but all users complained that they couldn't get a valid license. Doors Android market validate unreleased versions of paid apps? Thanks, Gabriel -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: can't open keycharmap file

2012-02-06 Thread chanakyabharathi
Sent from my BlackBerry® smartphone from !DEA -Original Message- From: Zion ziontil...@gmail.com Sender: android-developers@googlegroups.com Date: Sat, 4 Feb 2012 14:59:54 To: android-developers@googlegroups.com Reply-To: android-developers@googlegroups.com Subject: [android-developers]

[android-developers] How to detect that Force Stop invoked on the application

2012-02-06 Thread rk
Hi All, Is there any way for an application to detect that its being stopped by following action performed User. User going to Settings-Applications-Manage Applications-My App- Force Stop? Is there any Callback method when application is Stopped by user as mentioned above? Thanks Rk -- You

[android-developers] How to detect that Force Stop invoked on the application

2012-02-06 Thread rk
Hi All, Is there any way for an application to detect that its being stopped by following action performed User. User going to Settings-Applications-Manage Applications-My App- Force Stop? Is there any Callback method when application is Stopped by user as mentioned above? Thanks Rk -- You

Re: [android-developers] How to detect that Force Stop invoked on the application

2012-02-06 Thread suresh achari
i too facing the same problem please help me on this. On Mon, Feb 6, 2012 at 6:04 PM, rk ramakrishnar...@gmail.com wrote: Hi All, Is there any way for an application to detect that its being stopped by following action performed User. User going to Settings-Applications-Manage

[android-developers] ContentProvider Binder Thread

2012-02-06 Thread Mertuarez
Content provider create many binder thread. I had in AndroidManifest separate process for this ContentProvider because i need to be shure that this component have some bug. I have sometimes 16 binder threads. 1 5906wait820 40 main *2 5907vmwait 449 16

[android-developers] Re: ACTION_POWER_CONNECTED broadcast receiver not recognize by ICS

2012-02-06 Thread Mertuarez
public boolean isCharging(){        Intent iintent = mContext.getApplicationContext().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED));        int status = iintent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);        return status ==

[android-developers] Re: OSM integration

2012-02-06 Thread Oli Wright
Seriously, do some goddamn googling. It took me all of three clicks to get from a google search for openstreetmap android to an open source project with OSM integration ( https://github.com/gkfabs/AndRoad/). If it's urgent for a project and you a) don't know where to start and b) aren't

[android-developers] Re: Help!!!

2012-02-06 Thread Mertuarez
I have HTC but i think there is now way how to literally brick phone. You just dont have right SWare utility,FWare version and amount of information about your phone. Just keep looking. Some where. There are many modes how to turn on the phone and how to put in OSystem. Sorry for this but i cant

[android-developers] 2 Android WebViews on top of each other on OnTouch event

2012-02-06 Thread Ori Harel
I have 2 webviews in a relative layout. I'm doing so because I need an HTML on a fixed position while HTML list beneath it is scrolling (basically a header that floats on a scrolling list). I want both webviews be in the same size so my HTML developer can control the size of the header

[android-developers] Overlay Images

2012-02-06 Thread New Developer
I have 4 ImageViews one stacked on top of the other all the same size, each ImageView has it's own associated canvas that I can access. Thus allowing me to view layers of a single image on screen. I now wish to save this screen image to a file. How can I merge the canvases into one image?

[android-developers] Re: Detect Sent Message!

2012-02-06 Thread Pedrito
Yes, but that intent action is not documented, so it may be outdated... I also read this http://stackoverflow.com/questions/5808577/android-listen-outgoing-sms-or-sent-box but that doesn't work, It works if I use content://sms/ but it detects received and sent messages, I just want to detect the

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Mark Murphy
On Sun, Feb 5, 2012 at 10:52 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Well, the unbind() call that threw the Service not registered was originally bound to from a WakefulIntentService, not an Activity. Oh, I'd never bind to a service from any IntentService, regardless of what Context you

Re: [android-developers] Overlay Images

2012-02-06 Thread Daniel Drozdzewski
Draw each of the bitmaps on one canvas in the ascending order from deepest to topmost. On 6 February 2012 13:18, New Developer secur...@isscp.com wrote: I have 4 ImageViews   one stacked on top of the other  all the same size, each ImageView has it's own associated canvas that I can access.

Re: [android-developers] Re: NFC Secure Element

2012-02-06 Thread s.rawat
Any comments...plz respond if you are reading this mail ! rgds, Saurabh ..pain is temporary.quitting lasts forever.. On Wed, Feb 1, 2012 at 1:21 PM, p z ymdo...@gmail.com wrote: I think maybe you can. and plesae share your rom when you finished.thx. On 2月1日, 上午8时15分, malls

Re: [android-developers] Should I use Action bars

2012-02-06 Thread Mark Murphy
I would head for action bars -- it is better to aim for the future. Using something like ActionBarSherlock lets you keep pace with the newer UI patterns while still working on older devices. On Fri, Feb 3, 2012 at 8:38 PM, Drun m.p.ocon...@gmail.com wrote: I seen that google is trying to get

Re: [android-developers] Overlay Images

2012-02-06 Thread New Developer
Thanks I don't have access to the bitmaps (I don't think) I have access to the ImageView and the Canvas associated with the ImageView Thanks again On 02/06/2012 08:37 AM, Daniel Drozdzewski wrote: Draw each of the bitmaps on one canvas in the ascending order from deepest to topmost. On 6

Re: [android-developers] Re: NFC Secure Element

2012-02-06 Thread s.rawat
Hi Nemik, You wrote : *Yea, that's right. All it does currently is read; at least via the Java API. If you look at the kernel source though, a bunch of ifdefs which allow for emulation were all disabled. So full compliance with the NFC standard will have to wait for a future kernel release. *

[android-developers] Re: Get broadcast when media is unmounting. Before Media Unmounted

2012-02-06 Thread Streets Of Boston
No, Android cannot predict when the user is about to eject/unmount the device. It is hard to save a file when the user has the SD-card in his or her hands :-) The only thing you could do is to save at some other place, e.g. on the internal storage. -- You received this message because you are

Re: [android-developers] Overlay Images

2012-02-06 Thread Daniel Drozdzewski
Ok, Create a LayerDrawable object and keep adding to it Drawable objects (LayerDrawable.setDrawableByLayerId (int id, Drawable drawable)) extracted from each of your stacked Views. On 6 February 2012 13:47, New Developer secur...@isscp.com wrote: Thanks I don't have access to the bitmaps 

[android-developers] How to find amount of data remaining to be uploaded using apache http library

2012-02-06 Thread Farhan Tariq
Hi guys, I have written a piece of code in an application that uploads a file to a location, if provided with path of a file. What i am missing is a way to show the percentage of file uploaded. I am using apache's http library for this purpose (found it on the internet). The relevant code is

[android-developers] Import javax.xml.* in Android Project

2012-02-06 Thread Gabriela
Hello, I must have asked this question a lot of times, but I am still trying to find out a solution. I am using some stub classes, generated from a WSDL and it uses javax.xml.* some packages that are not in Android jar. I created a simple Java Project with those classes and it's working, i have

[android-developers] Re: Import javax.xml.* in Android Project

2012-02-06 Thread sell.bergstr
Hello, the code you are getting generated from the WSDL is obviously designed for desktop Java, not for Android. You will have to find some tool that can generate WSDL stubs for android. I suggest googling for web service android, or something the like, somebody else has probably been there.

[android-developers] Re: Should I use Action bars

2012-02-06 Thread JP
I've recently fitted my apps that have a menu with action bar. The end result: Running on Gingerbread and earlier, I keep the existing menu structure, no change, but on HC and beyond the apps now sport the ole' menu items in action bar form instead. So I have the cake and eat it too. If you are

[android-developers] Re: OSM integration

2012-02-06 Thread JP
AndRoad is forked off of AndNav. Do some goddam googling (;-), the original project is here: http://code.google.com/p/osmdroid/ On Feb 6, 5:04 am, Oli Wright oli.wri...@gmail.com wrote: Seriously, do some goddamn googling.  It took me all of three clicks to get from a google search for

[android-developers] WI-FI Direct Sample Code

2012-02-06 Thread bradgog
I have been trying to compile the WI-FI Direct Sample code in the new SDK and am getting a ton of superclass overide errors, has anyone been able to properly compile the sample code and generate an APK from the SDK? If so I would greatly appreciate it if you could post the apl or contact me

[android-developers] Re: Publisher language selection

2012-02-06 Thread Peter Sinnott
On Feb 5, 7:33 pm, radadev arava...@gmail.com wrote: I'm an Android developer and I have a publisher account. My publisher page is in Spanish for some reason, and I want to change it back to English. It's not a huge problem because I know Spanish as a second language, but English was my first

[android-developers] Saving audio to file

2012-02-06 Thread Liunai
Hi everybody! What I'm trying to do is to manipulate a recorded audio file, in this case to reverse it. The temp file (.raw) I create during the recording works fine, but the reversed one doesn't. Pretty sure it's an easy task, I just can't find where the mistake would be. Hope you can help..

Re: [android-developers] Re: Detect Sent Message!

2012-02-06 Thread Kristopher Micinski
On Mon, Feb 6, 2012 at 8:26 AM, Pedrito pedrohe...@gmail.com wrote: Yes, but that intent action is not documented, so it may be outdated... I also read this http://stackoverflow.com/questions/5808577/android-listen-outgoing-sms-or-sent-box but that doesn't work, It works if I use

[android-developers] Odd image issue on API 7 EMulators

2012-02-06 Thread Royston
During testing of an App for different API's on various emulators I came across an unusual issue. On an HTCLegend emulator, API 7, a particular image would not display, I get no error, simply nothing shown. Works OK on everything else. I had noted that the image, which was a PNG file, was

Re: [android-developers] How to detect that Force Stop invoked on the application

2012-02-06 Thread Kristopher Micinski
On Mon, Feb 6, 2012 at 7:34 AM, rk ramakrishnar...@gmail.com wrote: Hi All, Is there any way for an application to detect that its being stopped by following action performed User. User going to Settings-Applications-Manage Applications-My App- Force Stop? Is there any Callback method

Re: [android-developers] [ICS]: CTS test failed: nulljava.lang.VerifyError in opcodes of the android.core.vm-tests

2012-02-06 Thread Kristopher Micinski
[android-platform] or perhaps [android-porting] might be more appropriate for this, I doubt you will get too many answers here. kris On Mon, Feb 6, 2012 at 3:53 AM, sawyer jim sawyer...@gmail.com wrote: Hello Everyone: When I did CTS test against the package android.core.vm-tests, I got

Re: [android-developers] How to detect that Force Stop invoked on the application

2012-02-06 Thread Mark Murphy
On Mon, Feb 6, 2012 at 7:34 AM, rk ramakrishnar...@gmail.com wrote: Is there any way for an application to detect that its being stopped by following action performed User. User going to Settings-Applications-Manage Applications-My App- Force Stop? No. Is there any Callback method when

[android-developers] Re: OSM integration

2012-02-06 Thread Oli Wright
Yes. One more click on from the other link, but then I wasn't actively searching for how to implement OSM. My point was that the OP should have been. -- 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] Highlighting items in Listview

2012-02-06 Thread blagdonman
I have an Activity that extends ListActivity where I want items selected in the list to remain highlighted in a chosen colour. For test purposes I've tried the approach shown below but I can only get items to flash the required colour when selected and not stay highlighted. The list is bound

Re: [android-developers] inherit Listactivity for listview

2012-02-06 Thread TreKing
On Sun, Feb 5, 2012 at 8:21 AM, nilkumar nilku...@gmail.com wrote: And I want to inherit ListMobileActivity from DropboxSample. Maybe explain what you're trying to do and you'll get some suggestions on how to do it.

Re: [android-developers] Reading files in a background thread

2012-02-06 Thread Mark Murphy
openFileInput() is a method on Context (e.g., Activity), not AsyncTask. On Sun, Feb 5, 2012 at 8:32 AM, Dave D admiral.kathl...@gmail.com wrote: I have a class that reads from an input file fine but when I add it to an Async thread it errors on openFileInput with the method being undefined

Re: [android-developers] Battery manager : temperature and voltage

2012-02-06 Thread Mark Murphy
On Mon, Feb 6, 2012 at 12:37 AM, Put_tiMe putt...@gmail.com wrote: Another question. I read it in other posts, but just wanted to clarify: A normal app cannot get details about which app is using how much battery, right? Correct, unfortunately. -- Mark Murphy (a Commons Guy)

[android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
Hi, I'm not sure what I'm doing wrong here: I have an Override on onPause to save settings to a file and an Override on onResume, and onCreate to load them back up from the file. The onPause method looks like this: @Override public void onPause() {

Re: [android-developers] License for open source Android project

2012-02-06 Thread TreKing
On Sun, Feb 5, 2012 at 11:18 PM, Peter Liu tinyee...@gmail.com wrote: Any suggestion on a suitable license or how we can create a new license out of the existing ones? This is offtopic for this list. You can try a google search to compare different licenses and read what each one offers to

Re: [android-developers] License for open source Android project

2012-02-06 Thread Mark Murphy
On Mon, Feb 6, 2012 at 12:18 AM, Peter Liu tinyee...@gmail.com wrote: Anyone know if there is an open source license that prohibits people from republishing an app? Those are mutually exclusive concepts. I am the author of an open source library called AndroidQuery, and we have a demo app

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread TreKing
On Mon, Feb 6, 2012 at 11:15 AM, John-Marc Desmarais j...@ieee.org wrote: I have an Override on onPause to save settings to a file Why not just use SharedPreferences? Can anyone provide insight into this problem? When you check the file existing, you use the raw file name, not relative to

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
Hi, Thank you for your reply. I have a couple follow up comments/questions related to the responses. I have included these inline. On Mon, Feb 6, 2012 at 12:25 PM, TreKing treking...@gmail.com wrote: On Mon, Feb 6, 2012 at 11:15 AM, John-Marc Desmarais j...@ieee.org wrote: I have an Override

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread TreKing
On Mon, Feb 6, 2012 at 11:36 AM, John-Marc Desmarais j...@ieee.org wrote: How do I handle the byte[] settingsBuffer = new byte[(int) inputFile.length]; without opening a File? You get the stream of data as the returned value of openFileInput. Then you can then read that into a byte array of

Re: [android-developers] Android Application Database Maintainence

2012-02-06 Thread TreKing
On Sat, Feb 4, 2012 at 6:25 AM, ankit.verma ankitverma...@gmail.com wrote: 1) I want to build an Android app with a database table of 1000-2000 records.Please can anyone guide how this can be done, How I can build table with all data inserted. http://bit.ly/w9G8XT 2) Later if I want to

[android-developers] Advance Graphics

2012-02-06 Thread Jay Hubb
I somewhat understand Android and have compelted a few decent apps. Can somone point me too a good guide to understanding how to make some advance graphics for a Android app. From my understanding Android uses Open GL to perform advance gaming graphics? -- You received this message because

Re: [android-developers] voice input for people with tremors (or large fingers)

2012-02-06 Thread TreKing
On Sat, Feb 4, 2012 at 1:04 PM, James Hadley hop1ju...@gmail.com wrote: Suggestions? We'd happily give an award to anyone that makes a keyboard to fix this! Contact your favorite alternative keyboard developer and tell this to them.

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
On Mon, Feb 6, 2012 at 12:56 PM, TreKing treking...@gmail.com wrote: On Mon, Feb 6, 2012 at 11:36 AM, John-Marc Desmarais j...@ieee.org wrote: How do I handle the byte[] settingsBuffer = new byte[(int) inputFile.length]; without opening a File? You get the stream of data as the returned

Re: [android-developers] Source not found/ArrayAdapter

2012-02-06 Thread TreKing
On Sat, Feb 4, 2012 at 2:57 PM, Ozone Apps ozoneforandr...@gmail.comwrote: Any ideas? Debug your app. Explain throwing a Serouce Not Found error. Post a logcat. Show some code. - TreKing

Re: [android-developers] Calling Activity based on Content wrapped in a Activity

2012-02-06 Thread TreKing
On Sat, Feb 4, 2012 at 11:35 PM, Abhishek Singh singh.abhi4...@gmail.comwrote: now i want 1 of those activity to be started only when the text content starts with '@@'and other one for any general text/plain should launch it. how can i do this.??? That's probably a little too

Re: [android-developers] CountDownTimer

2012-02-06 Thread TreKing
On Mon, Feb 6, 2012 at 3:34 AM, Omollo Ateng omollo.at...@gmail.com wrote: hey all, i want to send an sms after 1 minute, please may you help me with this code please using count down timer What do you have working so far that you need help with? You have *something * so far, right? I can't

Re: [android-developers] does Android market validate unreleased versions?

2012-02-06 Thread TreKing
2012/2/6 Gabriel Simões gsim...@gmail.com I tried running a beta testing campaign during the weekend but all users complained that they couldn't get a valid license. Doors Android market validate unreleased versions of paid apps? You should clarify.

Re: [android-developers] 2 Android WebViews on top of each other on OnTouch event

2012-02-06 Thread TreKing
On Mon, Feb 6, 2012 at 7:09 AM, Ori Harel ori.ha...@gmail.com wrote: I have 2 webviews in a relative layout. I'm doing so because I need an HTML on a fixed position while HTML list beneath it is scrolling (basically a header that floats on a scrolling list). You can't do this in one HTML

Re: [android-developers] Get broadcast when media is unmounting. Before Media Unmounted

2012-02-06 Thread TreKing
On Sun, Feb 5, 2012 at 11:22 PM, Vivek Khandelwal vivek.b.khandel...@gmail.com wrote: I need to received intent when the media is unmounting. So that I can save the file in sdcard. Why do you have to wait for the media unmounting?

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread TreKing
On Mon, Feb 6, 2012 at 12:04 PM, John-Marc Desmarais j...@ieee.org wrote: And am now getting Input settings not found when closing and reopening my application. Read the class overview: http://developer.android.com/reference/android/content/SharedPreferences.Editor.html

[android-developers] How to call a method from one tab to another?

2012-02-06 Thread Eyal Berman
i have a tabActivity that hold 3 tabs. from one tab i want to open another tab and run a method that refresh the data. i use public void switchTabInActivity(int indexTabToSwitchTo) { MyTabsActivity ParentActivity; ParentActivity = (MyTabsActivity) this.getParent();

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
Yup. commit() still works as advertised. Thank you, -jm On Mon, Feb 6, 2012 at 1:19 PM, TreKing treking...@gmail.com wrote: On Mon, Feb 6, 2012 at 12:04 PM, John-Marc Desmarais j...@ieee.org wrote: And am now getting Input settings not found when closing and reopening my application.

[android-developers] Re: Odd image issue on API 7 EMulators

2012-02-06 Thread Royston
Also noticed that I get the same effect on a physical HTC Wildfire device at 2.2.1. Roy -- 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

[android-developers] FYI ADT r16 hangs running AVD 2.2 on relaunch or debug

2012-02-06 Thread Ted Scott
This is an update to the problem I encountered and posted on earlier. The fix is scheduled for r17. There are 3 hang cases which apply to AVD 2.2: 1: Relaunching a changed application which hangs at 27% progress. 2: Launching the application in the debugger. Both cases hang when the launch

[android-developers] Preference text item height

2012-02-06 Thread JP
Hi guys, I have created an app that also contains a preference activity, that uses the xml/preferences.xml file. Apart from the regular controls, I also want to include some explanatory text, that isn't part of any of the control summaries. I haven't found any good way of doing this, so I

[android-developers] no warnings, no errors, and yet, no apk after build

2012-02-06 Thread Jim Graham
I've already read the workaround, using Run As--Android Application, but why doesn't the normal build process, which used to generate an apk, do so now? Everything looks fine---no warnings, no errors, both Problems and Console are blank after a Build or after a Clean/Build. Is there a setting in

[android-developers] VpnService and simple packet capture mechanism?

2012-02-06 Thread mellery451
I'm considering the possibility of using the new android (4.0) VpnService interface to implement a non-root-required packet capture utility. Would it be possible to implement a VpnService such that each packet it received from the device could be written to a file for subsequent analysis and then

[android-developers] Eclipse tools don't exist!

2012-02-06 Thread Kieran
I can't get the Eclipse integration to work because the link 404's! http://dl-ssl.google.com/android/eclipse/ Please fix it ASAP Googlers! -- 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] Eclipse tools don't exist!

2012-02-06 Thread Romain Guy
This link is only meant to be used inside Eclipse to install new plugins. The complete explanation on how to proceed is available at http://developer.android.com/sdk/eclipse-adt.html#installing On Mon, Feb 6, 2012 at 2:51 PM, Kieran kieran.flem...@gmail.com wrote: I can't get the Eclipse

[android-developers] Re: License for open source Android project

2012-02-06 Thread Erik
Yeah, that's not open source. Check out something like the Microsoft Reference Source License. -- 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

[android-developers] Re: does Android market validate unreleased versions?

2012-02-06 Thread Gabriel Simões
I have a new version of my app that I´d like to send to beta testers before publishing this. For this test I´d like to have users to use their own license since I ´ve been receiving complains about issues with license checking that I don´t get on my devices (using the dashboard license

Re: [android-developers] Eclipse tools don't exist!

2012-02-06 Thread Kieran
Thanks Romain! After a bit of Wiresharking, playing around and talking to the proxy admin we worked out that the entry for a SOCKS proxy had to be cleared in the Eclipse settings. Eclipse always tries to use a SOCKS proxy if there's an entry and doesn't fall back to the HTTP or HTTPS proxy if

Re: [android-developers] no warnings, no errors, and yet, no apk after build

2012-02-06 Thread Harri Smått
On Feb 7, 2012, at 12:22 AM, Jim Graham wrote: I've already read the workaround, using Run As--Android Application, but why doesn't the normal build process, which used to generate an apk, do so now? There's a build flag Skip packaging and dexing until export or launch in Eclipse

[android-developers] Re: Publisher language selection

2012-02-06 Thread radadev
That does seem to be a workaround for the time being, but it's no permanent fix. Thanks for the suggestion. On Feb 6, 10:06 am, Peter Sinnott psinn...@gmail.com wrote: On Feb 5, 7:33 pm, radadev arava...@gmail.com wrote: I'm an Android developer and I have a publisher account. My publisher

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 86 Messages in 53 Topics

2012-02-06 Thread Alex Avance
-- 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 to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] Match_parent after parent has been measured?

2012-02-06 Thread randyv2
I have a RelativeLayout that holds a bunch of views. I'd like to add a semi-transparent overlay on top of it (for a shadowed effect). Currently, my layout looks something like: RelativeLayout android:layout_width=wrap_content android:layout_width=wrap_content !-- lots of stuff --

Re: [android-developers] no warnings, no errors, and yet, no apk after build

2012-02-06 Thread ji fei
Try to replace the eclipse workspace. On Tue, Feb 7, 2012 at 6:22 AM, Jim Graham spooky1...@gmail.com wrote: I've already read the workaround, using Run As--Android Application, but why doesn't the normal build process, which used to generate an apk, do so now? Everything looks fine---no

Re: [android-developers] no warnings, no errors, and yet, no apk after build

2012-02-06 Thread ji fei
I am not sure this will work. On Tue, Feb 7, 2012 at 9:06 AM, ji fei ufo22940...@gmail.com wrote: Try to replace the eclipse workspace. On Tue, Feb 7, 2012 at 6:22 AM, Jim Graham spooky1...@gmail.com wrote: I've already read the workaround, using Run As--Android Application, but why

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Zsolt Vasvari
Ok, but how should I handle calling a bindable service from my IntentService? This is the LVL library, so it's not under my control to make it synchronous. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Zsolt Vasvari
Let me extend this? How is binding to a service from an Activity differs from an IntentService? I mean an Activity can be finished() at any time and thus go away also? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Zsolt Vasvari
Let me expand on this comment: How is binding to a service from an Activity differs from an IntentService? I mean an Activity can be finished() at any time and thus go away also? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Dianne Hackborn
The big difference between the application context and an activity context or service context is lifecycle. The activity context is valid until the activity's onDestroy(); service until the service's onDestroy(); and Application is never destroyed. If you have bound to a service, and the context

[android-developers] How to debug android project under command line?

2012-02-06 Thread hongbosb
I really don't want to start eclipse. I have opened so much application on my computer. If the eclipse is launched, i can can almost do nothing. I heard that jdb can used to debug android project, is it efficient to use. I have used gdb before and quit like it. -- You received this message

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Zsolt Vasvari
Ok, thanks, Dianne. So it's OK (and desired) to bound to a service from an IntentService using the Application Context, since the bound service is asynchronous and as Mark pointed out, the Intent Service finishes right away? -- You received this message because you are subscribed to the

[android-developers] Emergent HELP for google checkout banance verify

2012-02-06 Thread a a
Dear All, Google help say the payment will between 0.5 and 1.0, but i received 2.22HKD today, it is more then 1.0, so what can i do ? What can i enter the number? 2.22 HKD or I should changed to USD first? Anyone can help me? -- You received this message because you are subscribed to the

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Dianne Hackborn
Well, it depends. If you actually need to use the application context, that means you are allowing your service to get destroyed while still bound to the other service, and in general I would assume that is a bug in the app. You probably shouldn't be doing stuff after your service is destroyed,

[android-developers] ViewPager, change page on page title click

2012-02-06 Thread Lazarus 101
Hi everyone, i'm using a ViewPager with a custom PagerAdapter. The swipe works well but I would like to change the current page when the title is clicked. The Market app has implemented this so I assume it is achievable but I couldn't find a way to do it. Thanks in advance -- You received this

Re: [android-developers] no warnings, no errors, and yet, no apk after build

2012-02-06 Thread Jim Graham
On Tue, Feb 07, 2012 at 01:31:06AM +0200, Harri Sm?tt wrote: On Feb 7, 2012, at 12:22 AM, Jim Graham wrote: I've already read the workaround, using Run As--Android Application, but why doesn't the normal build process, which used to generate an apk, do so now? There's a build flag Skip

Re: [android-developers] Re: getApplicationContext() returns null?

2012-02-06 Thread Zsolt Vasvari
Well, here's what I am doing: I have a Daily Processing alarm, which among many other (synchronous) things, as the last thing it does is check of the app's license via the LVL service. For this, I bind to the LVL service and then as far as I am concerned, I don't really care what happens and

[android-developers] Re: Source not found/ArrayAdapter

2012-02-06 Thread Ozone Apps
Sorry for being so vague the first time. I was in a rush! Heres the code thats causing the error: CODE String[] spinnerArray = getResources().getStringArray(R.array.a_chords); Spinner spinner = new Spinner(this); ArrayAdapterString spinnerArrayAdapter =

Re: [android-developers] Re: Help!!!

2012-02-06 Thread PIERRE GALOIS GUEVARA DONGO
I was looking but i cant find a way to fix mi X8 =(!!! please someone help me your developers some of you have to know how help me!!! PLEASEE!! 2012/2/6 Mertuarez kamil.javor...@gmail.com I have HTC but i think there is now way how to literally brick phone. You just dont have right SWare

Re: [android-developers] Re: Help!!!

2012-02-06 Thread Kristopher Micinski
Looking through the forum history you will see that asking questions in this way tends to be a bad idea... kris On Mon, Feb 6, 2012 at 10:39 PM, PIERRE GALOIS GUEVARA DONGO pgueva...@upao.edu.pe wrote: I was looking but i cant find a way to fix mi X8 =(!!! please someone help me your

Re: [android-developers] Re: Help!!!

2012-02-06 Thread Jim Graham
On Mon, Feb 06, 2012 at 10:39:22PM -0500, PIERRE GALOIS GUEVARA DONGO wrote: I was looking but i cant find a way to fix mi X8 =(!!! please someone help me your developers some of you have to know how help me!!! PLEASEE!! First, this group is not here to help you unbrick (if it's even possible

[android-developers] Re: Digest Email not working for over a week

2012-02-06 Thread Dusk Jockeys Android Apps
Well, would you believe it, the Digest Email has started working again. I just had three come through this morning. Showing the Digest from January 21st... so only two more weeks of backlog to go! On Jan 29, 2:15 am, Dusk Jockeys Android Apps duskjock...@gmail.com wrote: The Android

[android-developers] Developing Android App For A Forum

2012-02-06 Thread Isuru Madusanka
Hi! I have a basic knowledge of android and my friend asked me to develop an application for his forum and I wonder how I do that. That forum is depend on vBulletin 3.7.6. and how I use Activities and can I directly post to forum by using custom made forms or is it only possible to use WebView?

[android-developers] Fail to connect to camera service - Camera.open();

2012-02-06 Thread Matt Clark
Even as hundreds of other have made them, i am trying my hand at a flashlight app. I have the basic GUI and widget working and toggling, and i just attempted to implement the actual flash from the phone. I have found many places that this is most easily done with this snippet of code: Camera

  1   2   >