[android-developers] Re: APK expansion file uploader problem/question

2013-02-21 Thread Michel Cabillot
Hello, I'm also trying to implement an Expansion File to my app, did you manage to do that ? Thanks. Le lundi 6 août 2012 02:49:01 UTC+2, hdxpete a écrit : Is anyone using this apk expansion file technology? Am i asking the question in the correct group? On Friday, August 3, 2012 3:53:36

[android-developers] Re: Giving away my book: Genius Android Marketing

2013-02-21 Thread Aziz Shahhuseynov
is your deal stil active? On Thursday, January 5, 2012 5:50:26 PM UTC+1, scp89 wrote: I've recently finished writing the first full-length, android-specific book on Android Marketing. It covers tips, tricks, strategies, competitive analysis, and so much more. Everything I've learned in 2

[android-developers] First day w/ android dev, have a few questions

2013-02-21 Thread justaguy
Hi, Ok, I developed a first app for entering a msg and then display it following a tutorial with ADT on Windows 7. Stumbled a bit but with debugging info, fixed some loose ends, it compiled. But I made some stupid mistake, for instance, I use c:\myMobile for workspace (forgot Windows's

[android-developers] Is there a way to speed up AVD?

2013-02-21 Thread justaguy
Hi, I've tried several makers and models for AVD, each loads very slowly, from 4 to 6 minutes, going from one screen to another also take a long time (~1 or even 2), my Windows 7 computer has 4GB of RAM, so, I would think my machine isn't slow. So, I wonder if we have a way to speed AVD loading.

[android-developers] Unable to create new android application

2013-02-21 Thread Stu Guru
First post ever.. I am running os x mountain lion and very recently downloaded and installed adt 21. I have previously had eclipse juno and helios installed as well as old versions of the SDK. Issue: Create a new android application project using the wizard, tick/untick various options or

[android-developers] AutoCompleteTextView - hide soft-keyboard on suggestion list scroll

2013-02-21 Thread Chris Georgoulis
I have an AutoCompleteTextView which as usual provides suggestions after a user types 3 letters. I have already implemented OnItemClickListener on the AutoCompleteTextView so the soft-keyboard closes after a value is chosen from the list. However, I also want the soft-keyboard to be hidden once

[android-developers] Android-Arduino Uno

2013-02-21 Thread acolytesumatra
hi, I'm currently developing a robotic spider which can be controlled by an android devices. My question is Is it possible to communicate with Arduino Uno even if my device doesn't support USB host? Can you help, I really need it now. Please! -- -- You received this message because you are

[android-developers] Setting Up the ADT Bundle Issue (Eclipse Error)

2013-02-21 Thread Chris Church
I have just downloaded the lastest version of the SDK and am trying to simply follow the instructions. I have unzipped the file and then gone to the eclipse directory and launched eclipse as it states. Instead of an installation or anythig else though I get an error: An error has occured. See

[android-developers] Re: How to reverse camera view?

2013-02-21 Thread FiTo Rie
Dear Ali, Any findings with your reversed image? I have a live preview of the video coming from my sony action cam and I am very interested in reversing it (because now all is flipped arround like a mirror image). Thanks El viernes, 13 de mayo de 2011 12:11:22 UTC+2, Ali escribió: Hi I am

[android-developers] sdk corrupted files

2013-02-21 Thread Abhinandan Vasudeva
some files of android sdk are corrupted and hence do not work please upload working files -- -- 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] Outgoing/Incoming calls

2013-02-21 Thread Awad Bajsair
It is difficult to differentiate between incoming calls and outgoing calls in the call log because both appear in right and left arrows instead of up and down. Upside arrow for outgoing calls and downside arrow for incoming calls. -- -- You received this message because you are subscribed to

[android-developers] An idea for Google Now!

2013-02-21 Thread Abhishrant Majhi
Hey Google, I am Android user for 2 years. After buying a android phone my view of phones has totally changed. Everything in android is easy. One day me and my friend who has a Nexus 7 (Imported from USA to India from his relative) were out for our school. But due to some reason our school

Re: [android-developers] An idea for Google Now!

2013-02-21 Thread Parthi K
:) Thanks Regards, Parthiban.k Software Engineer Mode FinServer Pvt. Ltd. Cell: +7204205850 Email: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k @modefinserver.com shoai...@modefinserver.com On Tue, Feb 19, 2013 at 11:24 AM, Abhishrant Majhi abhishran...@gmail.comwrote: Hey

[android-developers] Popup menu flash on the action bar

2013-02-21 Thread Hilda Chen
https://lh6.googleusercontent.com/-BLMoKD1eJJI/USXpTFYA9LI/APU/VYzg7R6oVBE/s1600/pic_5.png Dear all: I add the codes of two items to the action bar of framework/../widget/Editor.java and set them ACTION_IF_ROOM | ACTION_WITH_TEXT. They display in the popup menu when you click the menu

[android-developers] Re: An idea for Google Now!

2013-02-21 Thread Seshu
Lol:-) On Feb 21, 2:14 pm, Parthi K parthisof...@gmail.com wrote: :) Thanks Regards, Parthiban.k Software Engineer Mode FinServer Pvt. Ltd. Cell: +7204205850 Email: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k @modefinserver.com shoai...@modefinserver.com On Tue, Feb 19,

Re: [android-developers] Re: Sensors in Android

2013-02-21 Thread s.rawat
So which one is correct.For an end-developer developing an application based on sensors which sensor fusion data one should rely on . Rgds, Softy On Thu, Feb 14, 2013 at 5:32 AM, Morris morrischen.c...@gmail.com wrote: Hi, One is from ST's Sensor Fusion. The other one is from Google Sensor

[android-developers] date pickers

2013-02-21 Thread Arun Kumar K
Hi guys, i want to disable the past dates in date picker can any one help me pls -- *Thanks Regards* *K.Arun Kumar* -- -- 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] Re: date pickers

2013-02-21 Thread Tamilarasi Sivaraj
Hi, have you tried anything? you post your code which you have tried that is easy to help you... Regards Android developer Trinay Technology Solutions www.trinaytech.com 5705750475 On Thursday, February 21, 2013 3:41:58 PM UTC+5:30, Arun Kumar K wrote: Hi guys, i want to disable the past

Re: [android-developers] Is there a way to speed up AVD?

2013-02-21 Thread Mark Murphy
Follow the instructions for using the x86 emulator images: http://developer.android.com/tools/devices/emulator.html#accel-vm On Sun, Feb 3, 2013 at 8:24 PM, justaguy lichunshe...@gmail.com wrote: Hi, I've tried several makers and models for AVD, each loads very slowly, from 4 to 6 minutes,

Re: [android-developers] Setting Up the ADT Bundle Issue (Eclipse Error)

2013-02-21 Thread Mark Murphy
According to your error information, your Java is 1.4.2, which is ancient, and will not work for Android development anyway. Please upgrade to Java 6: http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html If you believe that you do have a newer Java installed, then

[android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread alexdonnini
Hello, Unfortunately, I foolishly proceeded with the upgrade of my nexus 4 from 4.2.1 to 4.2.2 Now, even though the device is configured for USB debugging and connected as a camera device, although it sees it Eclipse cannot access it as the device is reported to be offline. Does anyone have

Re: [android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Mark Murphy
Make sure you are on the latest SDK platform tools from the SDK Manager. Android 4.2.2 added a long-needed bit of security on the USB debugging access, and it requires a current edition of adb in order to work:

[android-developers] Re: Android socket timeouts

2013-02-21 Thread bob
I'm doing TCP, not UDP. Also, it is not HTTP. I want to set the timeout for something like this: *Socket socket = new Socket(ip_address, 31000);* Thanks. On Thursday, February 21, 2013 1:08:44 AM UTC-6, Tamilarasi Sivaraj wrote: Hi bob, I don't know what you need exactly? that's like

[android-developers] Re: An idea for Google Now!

2013-02-21 Thread bob
Why would your school opening be delayed by 5 hours? I doubt this is very common. In the U.S., we already have this app - it is called a Starbucks locator. On Monday, February 18, 2013 11:54:49 PM UTC-6, Abhishrant Majhi wrote: Hey Google, I am Android user for 2 years. After buying

[android-developers] Re: How identify calendar event across devices?

2013-02-21 Thread Nobu Games
What I did in one of my apps was adding a tag with a UUID in each event description text. It's not really pretty but I could not find any other solution to this problem. However, I just checked again and noticed that API level 17 introduced an additional events column called

[android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nobu Games
In addition to what Mark says: I had a similar problem with my Nexus tablet after the upgrade to 4.2.2. It was visible but any attempt at installing and launching or debugging an app silently failed - no error message at all. As Mark's linked articles says, your device will pop up a dialog that

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Mark Murphy
On Thu, Feb 21, 2013 at 10:55 AM, Nobu Games dev.nobu.ga...@gmail.com wrote: As Mark's linked articles says, your device will pop up a dialog that asks for permission for that USB debugging access from your development PC. Unfortunately that popup was hidden to me because I created multiple

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nobu Games
Good point! Done :-)http://code.google.com/p/android/issues/detail?id=50627 On Thursday, February 21, 2013 10:08:34 AM UTC-6, Mark Murphy (a Commons Guy) wrote: On Thu, Feb 21, 2013 at 10:55 AM, Nobu Games dev.nob...@gmail.comjavascript: wrote: As Mark's linked articles says, your

[android-developers] Re: How identify calendar event across devices?

2013-02-21 Thread don rhummy
Thank you. I saw that as well, but so few people are on API 17 that's not a viable option yet. I agree that adding a UUID to every description is not a great option as the users might dislike that. Too bad there's isn't a universally accepted free-form hidden field that could be used for this.

[android-developers] Re: Automatied Environment for Android Building and Testing

2013-02-21 Thread Danny D
I agree with Mark's comment. Jenkins has plug ins for all this. I got from zero to working automated build system in something like two days. Hardest part was getting the SVN pull working correctly. Getting EMMA configured right was also a little tough, but once done it's 100% hands-off.

[android-developers] Re: How identify calendar event across devices?

2013-02-21 Thread Nobu Games
Well... I'll probably get smacked over this suggestion. But maybe you could try checking the SYNC_DATA* column values and see if one of them contains the event UUID. It is probably implementation-specific and maybe the app won't be granted read access by the ContentProvider but it may be worth

[android-developers] IllegalStateException When Committing FragmentTransaction

2013-02-21 Thread hwrdprkns
Greetings, I wonder, what is the most efficient way to figure out if I should commit a FragmentTransaction? The FragmentManager/FragmentTransaction classes don't have good methods to check if we are able to commit a FragmentTransaction. Furthermore, since I always get the exception

Re: [android-developers] Re: gradle and libs

2013-02-21 Thread Xavier Ducrohet
Unlike the previous build system, the jars can be anywhere, as long as they are added to the compile dependency which you do seem to do here. They really don't have to be in libs/ You apply the android-library plugin but you seem to be building an application. Not sure how that can be working and

[android-developers] why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-21 Thread Latimerius
This is in reference to Mark Murphy's topic at StackOverflow: http://stackoverflow.com/questions/12920429/anyone-have-mediaplayer-working-with-parcelfiledescriptor-and-createpipe I tried to post the following there but someone deleted it. As I'm not sure why I figured I'll try to get some

[android-developers] Box2d on Android

2013-02-21 Thread bob
I heard rumors of people using Box2d on Android. I searched and came across this project: http://code.google.com/p/androidbox2d/ However, it appears to be in disarray. Does anyone know if this is what people are really using to do Box2d on Android? Also, it has this curious outstanding issue

Re: [android-developers] Android-Arduino Uno

2013-02-21 Thread James Black
I haven't tried it but there is an arduino that integrates with Android, or use a Wi-Fi shield to communicate. On Feb 21, 2013 4:05 AM, acolytesumatra acolytesuma...@gmail.com wrote: hi, I'm currently developing a robotic spider which can be controlled by an android devices. My question is Is

[android-developers] Re: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-21 Thread skink
Latimerius wrote: I'm wondering if anyone has made any progress with this? I'm not sure what you want to do but maybe this will help you a bit: http://groups.google.com/group/android-developers/browse_thread/thread/484eff686a06173b/486680444ef49946?lnk=gstq=openAssetFile#486680444ef49946

Re: [android-developers] First day w/ android dev, have a few questions

2013-02-21 Thread TreKing
First of all, look up the word paragraphs and learn to use them :-) On Sun, Feb 3, 2013 at 5:28 PM, justaguy lichunshe...@gmail.com wrote: the PROBLEM is, none of them display/runs the app while the app is open, how come? You need to explain your problem better. Like while the app is open

[android-developers] loading SharedPreferences in Fragment

2013-02-21 Thread Marcelo Corvezola
Normally I use something like the code below to load sharedPreference into an activity.. loadPrefs(); } private void loadPrefs() { SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this); boolean cbValue = sp.getBoolean(CHECKBOX, false); String name = sp.getString(NAME,

Re: [android-developers] loading SharedPreferences in Fragment

2013-02-21 Thread Mark Murphy
Using the exact same code, if you wish. On Thu, Feb 21, 2013 at 7:40 PM, Marcelo Corvezola mcorvez...@gmail.com wrote: Normally I use something like the code below to load sharedPreference into an activity.. loadPrefs(); } private void loadPrefs() { SharedPreferences sp =

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 1:23 AM, Nobu Games dev.nobu.ga...@gmail.com wrote: Good point! Done :-) http://code.google.com/p/android/issues/detail?id=50627 This is most probably intentional -- whitelisting a host affects the whole system, and only the administrator (first) user should be able to

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Mark Murphy
On Thu, Feb 21, 2013 at 8:14 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: This is most probably intentional -- whitelisting a host affects the whole system, and only the administrator (first) user should be able to do it. It is the same with installing certificates, etc. You

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 10:20 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Feb 21, 2013 at 8:14 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: This is most probably intentional -- whitelisting a host affects the whole system, and only the administrator (first) user should be

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 10:31 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Fri, Feb 22, 2013 at 10:20 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Feb 21, 2013 at 8:14 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: This is most probably intentional -- whitelisting a

Re: [android-developers] loading SharedPreferences in Fragment

2013-02-21 Thread Marcelo Corvezola
Hmm thnx..I must be doing something else wrong then..cause when I use this code private void loadPrefs() { ///SharedPreferences sp = this.getActivity().getSharedPreferences(CHECKBOX, 0); SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences( this); boolean cbValue =

[android-developers] How to enable data roaming programmatically?

2013-02-21 Thread Suraj
Is there a way to turn on data roaming programmatically? I m writing an app to turn on Wi-Fi, Mobile data, and data roaming. I have found ways to turn on Wi-Fi and mobile dat I have tried ServiceState serviceState = new ServiceState(); serviceState.setRoaming(true); but this doesn't work..

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nobu Games
Unfortunately it is a bit of a mess. You have to install it for each user. And if you want to get properly rid of of your app you must uninstall it for each user account. I once had a stupid situation where I had to install a downgraded version of one of my apps for reproducing a bug. It was

Re: [android-developers] How to enable data roaming programmatically?

2013-02-21 Thread Nobu Games
Data roaming can cost a significant amount of money. I think that's also the reason why an ordinary user land app cannot switch it on. Just think of the possible exploitation. It's good that it does not work. On Thursday, February 21, 2013 9:00:24 PM UTC-6, Suraj wrote: Is there a way to

Re: [android-developers] An idea for Google Now!

2013-02-21 Thread don rhummy
This feature is already in Google Now. It's done through these cards: * Photo spots nearby * Events (for nearby) * Movies * Places (also is local to where you are) From: Parthi K parthisof...@gmail.com To: android-developers@googlegroups.com Sent: Thursday,

Re: [android-developers] Popup menu flash on the action bar

2013-02-21 Thread Hilda Chen
The issue is the items of action overflow flash once by tapping action overflow icon. 2013/2/21 Hilda Chen hilda.chen0...@gmail.com https://lh6.googleusercontent.com/-BLMoKD1eJJI/USXpTFYA9LI/APU/VYzg7R6oVBE/s1600/pic_5.png Dear all: I add the codes of two items to the action bar of

Re: [android-developers] loading SharedPreferences in Fragment

2013-02-21 Thread 牛浩博
SharedPreferences sp1 = PreferenceManager.getDefaultSharedPreferences(this); SharedPreferences sp2 = this.getActivity().getSharedPreferences(CHECKBOX, 0); sp1 != sp2 not same file 2013/2/22 Marcelo Corvezola mcorvez...@gmail.com Hmm thnx..I must be doing something else wrong then..cause when

[android-developers] Re: Android socket timeouts

2013-02-21 Thread Tamilarasi Sivaraj
Hi bob, The Following link is help to you...This is got how to time out the socket like this, *Socket socket = new Socket(ip_address, 31000);* So try this, http://stackoverflow.com/questions/4969760/set-timeout-for-socket I hope that will be help to you.. Regards Android developer Trinay

[android-developers] Re: How to update ADT on Eclipse BUNDLE from google android developer..?

2013-02-21 Thread Pratama Nur Wijaya
OK thanks Lew On Wednesday, 20 February 2013 03:49:46 UTC+7, Lew wrote: bob wrote: What makes you think you need an update? There are different components and different update mechanisms. Or instead of challenging is undoubtedly excellent reasons for asking, you could just tell him:

Re: [android-developers] loading SharedPreferences in Fragment

2013-02-21 Thread Tamilarasi Sivaraj
Hi, The following link is got the Android SharedPreferences in Fragment http://stackoverflow.com/questions/11741270/android-sharedpreferences-in-fragment Regards Android developer Trinay Technology Solutions www.trinaytech.com 5705750475 On Friday, February 22, 2013 8:09:39 AM UTC+5:30, Marcelo

Re: [android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Zsolt Vasvari
Maybe I am missing something obvious -- what exactly is this new security feature supposed to solve? I mean, anybody who connects the device to a PC, presumably, can also click OK on the pop-up message. On Thursday, February 21, 2013 10:12:43 PM UTC+8, Mark Murphy (a Commons Guy) wrote:

Re: [android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Zsolt Vasvari
Oh, it meant to prevent debugging a locked device. That makes sense... Is there a way to revoke the permission? I cannot see an obvious setting. On Friday, February 22, 2013 3:39:25 PM UTC+8, Zsolt Vasvari wrote: Maybe I am missing something obvious -- what exactly is this new security

Re: [android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 4:45 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Oh, it meant to prevent debugging a locked device. That makes sense... Is there a way to revoke the permission? I cannot see an obvious setting. No. On a rooted device you can edit/delete the adb_keys file, but that's