Re: [android-developers] How to call startactivityforresult from a non-activity class to get the resuts

2013-01-10 Thread Marina Cuello
Perhaps you could create an interface for your Activity-clients to implement. You then pass to your library class a reference to this (now a YourLibraryInterface). Marina On Jan 10, 2013 7:10 p.m., Kevin Duffey andjar...@gmail.com wrote: Couldn't someone using this library call it from within

Re: [android-developers] Re: minimum hardware requirements to develop on

2012-12-03 Thread Marina Cuello
Long press on any layout on the folder where you want the new one. One of the options you'll get is New file... Or just copy and paste another one. Marina On Dec 3, 2012 5:07 p.m., Mário César Mancinelli de Araújo mandaproma...@gmail.com wrote: About AIDE... I'm in travel, just with my tablet

Re: [android-developers] I am trying to set the Image for an ImageView any help would be great

2012-11-28 Thread Marina Cuello
That's not the link to the image, but to the image info. The link to the high res image is http://upload.wikimedia.org/wikipedia/commons/0/09/Polar_Bear_-_Alaska.jpg You could have found it as I did... just following your own link. Marina On Mon, Nov 26, 2012 at 10:45 PM, Gabriel Higareda

Re: [android-developers] Re: In search of Nexus 10 ADB drivers

2012-11-23 Thread Marina Cuello
It happened a lot to me when I worked testing with different devices. Usually the safest option was charge only. Marina On Nov 23, 2012 2:47 p.m., Romain Guy romain...@android.com wrote: MTP should work. All my devices are set to MTP and work just fine with adb. On Fri, Nov 23, 2012 at 8:46

Re: [android-developers] Re: Most Efficient Way to Insert 5000+ Contacts

2012-11-15 Thread Marina Cuello
I'm guessing it's an app devoted to people who works on Public Relations for artists or big companies. Marina On Thu, Nov 15, 2012 at 12:25 PM, bob b...@coolfone.comze.com wrote: How would a normal user have 5000+ contacts? I have maybe 50 at the most. On Tuesday, November 13, 2012

Re: [android-developers] Is it possible to (easily) get the contents of a custom xml file in /res/values?

2012-11-14 Thread Marina Cuello
You could create a resources xml file on /res/values and access easily using String aString = getResources().getString(R.string.one_string); Marina On Tue, Nov 13, 2012 at 11:14 AM, Edmundo Carmona eantor...@gmail.com wrote: Hi! Say, I want to move some of the strings in strings.xml to a

Re: [android-developers] Tegra

2012-11-13 Thread Marina Cuello
If you just need the info, you could install this app: https://play.google.com/store/apps/details?id=com.realtechvr.glviewhl=en Marina On 13 November 2012 11:17, bob b...@coolfone.comze.com wrote: How can you tell easily if an Android device is a Tegra 2 or Tegra 3? -- You received this

Re: [android-developers] count down UI control

2012-11-13 Thread Marina Cuello
Search for Android wheel picker library, there are a couple of them freely available. Marina El 12/11/2012 09:20, and_dev emirates.mobil...@gmail.com escribió: hi I am looking for a custom component which will behave like a wheel. actually I have to show the some number, which will start

Re: [android-developers] How to avoid resource overriding in Android ?

2012-11-07 Thread Marina Cuello
You could include just 1px x 1px resources with the correct names on the library. Marina El 07/11/2012 09:20, Makrand makrandm...@gmail.com escribió: I am working on Android Project, to avoid duplication of files I am using library project, but I have observed that library project is following

Re: [android-developers] Android Jelly Bean Container

2012-10-26 Thread Marina Cuello
Cute and yummy. I can't get not even white label jelly beans anywhere here in Argentina anymore, but a Googler brought one odd those droids to an event and I was able to taste a couple :-) Sorry for the off-topic! Marina On Oct 22, 2012 6:27 AM, Christos Amarandos

Re: [android-developers] [HELP] AVD does not show control keys (home button, keyboard, back)

2012-10-16 Thread Marina Cuello
I know this is a little old, but the no keys look is how an AVD looks if you choose a resolution other than the standard ones, because there is no pre-made skin for them. You can still use your keyboard to access functionality. Check the documentation for a list of the shortcuts. Marina On Oct

Re: [android-developers] Android app google maps showing grey tiles and not map!

2012-10-15 Thread Marina Cuello
If you're using the emulator you must remember to choose a Google APIs as a target for your AVD. Marina On Fri, Oct 12, 2012 at 8:11 PM, aek abdelkader.2004...@gmail.com wrote: Hi there, I wrote this snippet of program to illustrate google map example, the pb that happens is tha the

Re: [android-developers] Android resource qualifier

2012-09-28 Thread Marina Cuello
Your first two devices have a low density, lower than 160dpi, so they measure on dp is smaller than what you expect. Check http://developer.android.com/guide/practices/screens_support.html to get the theory behind it. Marina On Sep 28, 2012 7:37 AM, vinay kumar vk872...@gmail.com wrote: Hi, I

Re: [android-developers] Android resource qualifier

2012-09-28 Thread Marina Cuello
I'm sorry. I wrote lower when I was thinking higher, LOL. The dpi values for ldpi, mdpi and so on are only standard ones, and most devices have different values. Try getting the xDpi and yDpi from a DisplayMetrics. I have an Xperia Neo V and the width was around 250dp. Marina On Sep 28, 2012 8:51

Re: [android-developers] StackOverflow Exception while using TabActivity

2012-09-26 Thread Marina Cuello
Just a guess, but if you don't think Romain's advice is on spot... could it be that you have a parent adjusting its size to wrap a child which is adjusting to match its parent? I think somebody posted something similar and that was the cause. Marina On Sep 26, 2012 3:50 AM, Rajan

Re: [android-developers] AsyncTask issues...

2012-09-26 Thread Marina Cuello
The key on AsyncTask is that it is asynchronic. You launch it and the lines of code after that can't be sure it ended. That's what onPostExecute is for. Google around to see how to send your result back to your main thread. There are several tutorials about it. Marina On Sep 26, 2012 3:51 AM,

Re: [android-developers] Re: On screen orientation changes activity restarted.

2012-09-26 Thread Marina Cuello
If your target is 13 or higher you need to add screenSize too. You didn't even needed Google on this one. It's on the docs. http://developer.android.com/guide/topics/manifest/activity-element.html#config Marina On Sep 26, 2012 3:52 AM, Joseph Visuvasam josep...@roamsoft.in wrote: Hi I am also

Re: [android-developers] Re: Multitouch 90% working.

2012-09-25 Thread Marina Cuello
I can't actually run/debug your code because I'm on the bus and I don't want to generate a new project on AIDE, but the most usual suspect with multi-touch troubles is a confusion among pointer IDs and pointer indexes. Check this old post on Android devs blog to see if you're getting them right.

Re: [android-developers] Re: Protocall erros

2012-09-20 Thread Marina Cuello
market:// URIs were the old Android Market links to apps, probably newer devices aren't redirecting them to Google Play anymore. You could change market:// with https://play.google.com/; and it should work. Marina On Sep 20, 2012 4:10 AM, Lew lewbl...@gmail.com wrote: KCRaju wrote: may i know

Re: [android-developers] Re: Protocall erros

2012-09-20 Thread Marina Cuello
a debug build to get the full stack instead of an obfuscated one. Marina On Sep 20, 2012 9:36 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Sep 20, 2012 at 8:32 AM, Marina Cuello marina.ear...@gmail.com wrote: market:// URIs were the old Android Market links to apps, probably newer

Re: [android-developers] NFC

2012-09-20 Thread Marina Cuello
Perhaps an app for people with hearing disabilities that are in a place with no room for sign language? On Sep 20, 2012 1:15 PM, Justin Anderson magouyaw...@gmail.com wrote: What would be the use-case for something like that? Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Play youtube video on WebView

2012-09-20 Thread Marina Cuello
It could be you need to enable hardware acceleration on your WebView or perhaps set a custom WebChromeClient on your WebView to open it as fullscreen. It depends on your target platform and your needs. Search for Android WebView HTML5 video and you'll find some help. I'm still working on it.

Re: [android-developers] ASX Stream! urgent

2012-09-20 Thread Marina Cuello
If I recall correctly, ASX files are some kind of pointer to the actual stream (like an mp3 or pls one). Perhaps you could find some ideas by learning about those files? Marina On Sep 19, 2012 11:31 AM, Fermin Jimenez ferminjimene...@gmail.com wrote: Hello, I have to finish an app, the

Re: [android-developers] Can i use google inside my app?

2012-08-29 Thread Marina Cuello
I guess you could use a Google Custom Search configured to search on the whole web in a local site that takes part of your app. I'm not a lawyer and I haven't read Custom Search TCs in a long while, but a few years ago it was allowed to do something like that for a desktop app. You could check if

Re: [android-developers] ICS: White screen while changing visibility on Webview

2012-08-29 Thread Marina Cuello
in the manifest fixed the issue for me. This appears to be fixed in the official 4.1.1 (Galaxy Nexus), where GPU accel can be kept on, and the white flash does not happen. -- K 2012/8/29 Marina Cuello marina.ear...@gmail.com Hi to all! I have a little app with a layout that it's something like

Re: [android-developers] ICS: White screen while changing visibility on Webview

2012-08-29 Thread Marina Cuello
was seeing the white flash affect views outside of the WebView's boundaries. This is a real issue when you have a fragment-based multi-panel UI, so I've decided to switch the whole thing off for platform versions prior to 4.1. -- K 2012/8/29 Marina Cuello marina.ear...@gmail.com Thanks a lot! Adding

Re: [android-developers] Writing to External SD

2012-08-28 Thread Marina Cuello
I didn't test it yet, but I'll need to add that option soon and I found this blog about it http://renzhi.ca/2012/02/03/how-to-list-all-sd-cards-on-android/ Marina On Tue, Aug 28, 2012 at 5:39 AM, Jason Sesso djse...@gmail.com wrote: Create a dialog. For them to choose and then save the

[android-developers] ICS: White screen while changing visibility on Webview

2012-08-28 Thread Marina Cuello
Hi to all! I have a little app with a layout that it's something like this: FrameLayout FrameLayout ImageView/ ProgressBar/ /FrameLayout LinearLayout WebView/ /LinearLayout /FrameLayout I initially set the ImageView (kind of a place-holder) and the ProgressBar

Re: [android-developers] java.lang.ClassNotFoundException: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2 in test project

2012-08-27 Thread Marina Cuello
I had a similar trouble with that class when using Proguard to obfuscate. It seems to be a private class on the compatibility package --you can see it but it's being used. If you're using Proguard, you can check if adding this line to your config helps: -keep class android.support.v4. { *; }

Re: [android-developers] Re: java.lang.IllegalStateException: Fragment MyFragment is not currently in the FragmentManager

2012-08-16 Thread Marina Cuello
I had the same trouble and fixed it by a workaround: I check the fragments are loaded and only store those on the Bundle. From time to time it fires an Exception but it works anyway. @Override protected void onSaveInstanceState(Bundle instanceStateToSave) {

<    1   2