Re: [android-developers] Re: uploading to the google cloud service

2011-12-28 Thread Studio LFP
You may be thinking about Google App Engine. https://appengine.google.com There is a free option with a set quota that you can pay to increase. Steven Studio LFP http://www.studio-lfp.com -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: graphical layout problem

2011-11-03 Thread Studio LFP
If you are talking about not being able to open the XML in Eclipse in the WYSIWYG editor, try right clicking on the Project, select Android Tools and click on Fix Project Properties. You may need to close and reopen the project for the settings to apply. Steven Studio LFP http://www.studio

[android-developers] Re: Overhead of creating many activities

2011-11-03 Thread Studio LFP
You might want to check into Fragments. http://developer.android.com/guide/topics/fundamentals/fragments.html They are similar to Activities (very little work to swap an Activity to a Fragment) and you can manage the backstack. Steven Studio LFP http://www.studio-lfp.com On Thursday

[android-developers] Re: ADT r15 reliabiility on Windows?

2011-10-31 Thread Studio LFP
, if not thousands, of settings that can affect how well your environment behaves. Steven Studio LFP http://www.studio-lfp.com On Monday, October 31, 2011 3:08:26 AM UTC-5, Zsolt Vasvari wrote: The freezing and running out of heap seems like you might have an issue somewhere else. Have you

[android-developers] Re: Google+ App consumes phone memory

2011-10-31 Thread Studio LFP
. Steven Studio LFP http://www.studio-lfp.com On Monday, October 31, 2011 10:09:11 AM UTC-5, Neil wrote: Hi All, I installed Google + app for android in my Samsung Galaxy ACE. It got installed in SD card according to the Application Manager However when I check back the phone memory usage

Re: [android-developers] Google+ App consumes phone memory

2011-10-31 Thread Studio LFP
. Steven Studio LFP http://www.studio-lfp.com On Monday, October 31, 2011 10:32:45 AM UTC-5, Neil wrote: Thanks Daniel and Steven for the explanation ! My phone has only 181 Mb of phone memory, so I am not able to install more than 10 apps or so.And because above reason moving the apps to SD card

[android-developers] Re: ADT r15 reliabiility on Windows?

2011-10-30 Thread Studio LFP
it might be something Vista specific. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 30, 2011 6:00:58 PM UTC-5, Zsolt Vasvari wrote: Is it only me, but the latest version of the ADT seems very unreliable on Windows (Vista)? I get frequent freezes and running out of Java heap

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Studio LFP
What type of response code are you getting from the C2DM server when you try to send a message to that specific device ID? It will let you know if there is any issues with your current device ID. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 29, 2011 5:37:58 AM UTC-5

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Studio LFP
that unregistering a device would remove all previous entries if there is more than one entry. I'm not sure that there can be more than one ID for a device for the same app, but it is worth trying the unregister intent to see if it might help clear up your issue. Steven Studio LFP http

Re: [android-developers] How do you use and debug your apps in your main phone?

2011-10-28 Thread Studio LFP
. Steven Studio LFP http://www.studio-lfp.com On Friday, October 28, 2011 8:56:01 AM UTC-5, Ricardo Amaral wrote: I think I'll have to add that to my todo list... Too bad there are no better alternatives. :/ -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Newb Learning to Debug

2011-10-28 Thread Studio LFP
understanding of how Android works. Add them to your most important functions (or all functions) and you'll have a beautiful picture of how exactly your code gets executed. It's great for optimizing. Steven Studio LFP http://www.studio-lfp.com On Friday, October 28, 2011 8:10:09 AM UTC-5, nester wrote

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-28 Thread Studio LFP
. If neither of these two happen, I believe you don't ever have to refresh the ID of the device. Are you running into a problem? Steven Studio LFP http://www.studio-lfp.com On Friday, October 28, 2011 9:33:05 AM UTC-5, Manikandan M wrote: Hi All, Any ideas. Thanks Manikandan On Fri, Oct 28

[android-developers] Re: get first row from cursor

2011-10-28 Thread Studio LFP
Remove the cursor.moveToFirst(). The moveToNext() will move the pointer to the first row the first time through the while statement. If you need to reset the cursor before the while loop, try using cursor.moveToPosition( -1 ). Steven Studio LFP http://www.studio-lfp.com On Friday, October

[android-developers] Re: How to call native (JNI) code from test application

2011-10-28 Thread Studio LFP
The static initializer of your Java wrapper should be loading the library. Do you have a System.loadLibrary() call in there? If you do, make sure you have copied the .so file into the proper location in the libs directory of your project. Steven Studio LFP http://www.studio-lfp.com On Friday

[android-developers] Re: Contact Prediction

2011-10-28 Thread Studio LFP
You may want to check out the AutoCompleteTextView here: http://developer.android.com/reference/android/widget/AutoCompleteTextView.html You can put a cursor adapter behind it that connects to the contacts in the device. Steven Studio LFP http://www.studio-lfp.com On Friday, October 28, 2011

[android-developers] Re: Stack overflow error

2011-10-28 Thread Studio LFP
this before. You have to be careful when using onFocusChange when you are changing the view structure because of the focus change. Changing the view structure can cause additional focus changes, which in turn, can cause an infinite loop. It might be what is happening to you there. Steven Studio LFP

[android-developers] Re: \n Does NOT work ?

2011-10-28 Thread Studio LFP
\n works if you are on a Unix based system. If you are using a Windows (DOS) based system, you'll want to use \r\n. Are you looking at your file in an text editor like notepad on a Windows system? Steven Studio LFP http://www.studio-lfp.com On Friday, October 28, 2011 4:43:17 PM UTC-5, melis

[android-developers] Re: Android fragmentation study

2011-10-27 Thread Studio LFP
themselves. I'd rather a little fragmentation in Android than for them to pull an Apple and everyone is the exact same, right down to the hardware level. Variety is something we need in the mobile market, not a one device fits all concept. Steven Studio LFP http://www.studio-lfp.com On Thursday

[android-developers] Re: The current state of C2DM

2011-10-26 Thread Studio LFP
Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 7:43:20 PM UTC-5, Chris Stewart wrote: It's been quite awhile since I last looked into C2DM and at that time I remember a lot of developers were not recommending it for various reasons, although I don't remember those reasons

[android-developers] Re: Data values not populating in the gridview on screen orientation using onConfigurationChanged

2011-10-26 Thread Studio LFP
with a good cache/update scheme that works for your environment will give your users a better overall experience. Steven Studio LFP http://www.studio-lfp.com On Tuesday, October 25, 2011 2:29:21 AM UTC-5, Shajahan wrote: Hi Steven, Thanks for the response. I wanted to know, whether

Re: [android-developers] Re: Cache issue

2011-10-26 Thread Studio LFP
selected them. Remember you are working in an environment that there will be no way the user can look at all 200 of your full size images at the same time, so plan accordingly. Without knowing what you are trying to accomplish, there's not a lot more we can help you with. Steven Studio LFP http

[android-developers] Re: Help needed to troubleshoot code

2011-10-26 Thread Studio LFP
code. Try this: private void doLogin() { LoginThread ltNew = new LoginThread(); ltNew.start(); } private class LoginThread extends Thread { @Override public void run() { // Your login code here } } That is one option. Give it a try and see if it does what you need it to. Steven Studio LFP http

[android-developers] Re: How to publish an app requiring mp3 files on sd card

2011-10-26 Thread Studio LFP
. Is there a reason you don't want to use them from the APK? Steven Studio LFP http://www.studio-lfp.com On Wednesday, October 26, 2011 3:47:40 PM UTC-5, GIMMESHELTER wrote: I have not been successful locating a doc telling me how to publish an app requiring mp3 files on sd card... My app needs

[android-developers] Re: help me

2011-10-25 Thread Studio LFP
if you are looking for something really low level. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 9:20:18 AM UTC-5, RAJU wrote: how to run c,c++ program in terminal... ~~RAJU~~ ~~www.itdoall.co.cc~~ -- You received this message because you

Re: [android-developers] Re: alarm type application: alarm manager not waking up application

2011-10-24 Thread Studio LFP
with the duration (plus a slight time padding) of the audio to finish any clean-up after the audio. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 7:48:07 AM UTC-5, John Goche wrote: On Mon, Oct 24, 2011 at 1:57 AM, John Goche johng...@googlemail.comwrote: Well, here

[android-developers] Re: Storing database of information?

2011-10-24 Thread Studio LFP
Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 8:32:48 AM UTC-5, Todilo wrote: Hi, sorry for a bad subject name, just couldn't name it in a good way. I have an application which is basicly like a wiki which presents information and images. This information will change

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Studio LFP
You can't use MediaPlayer.isPlaying() as a static method as it is an instanced method. You can have the MediaPlayer instance you create/use be in a static variable and work with it from there. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 9:38:39 AM UTC-5, Sunil

[android-developers] Re: Data values not populating in the gridview on screen orientation using onConfigurationChanged

2011-10-24 Thread Studio LFP
). If you are using configChanges, you will need to repopulate your views if you change it on one of the onConfigurationChanged events. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 7:58:52 AM UTC-5, Shajahan wrote: In the onCreate() method of an activity -- done all

Re: [android-developers] Re: Handling asynchronous events and blocking

2011-10-24 Thread Studio LFP
Nice, I'll have to play with that too. I never ran into any exceptions because I use touches very little in the game I am playing around with. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 7:16:47 AM UTC-5, TreKing wrote: On Mon, Oct 24, 2011 at 1:20 AM, Peter Webb

[android-developers] Re: Network related

2011-10-24 Thread Studio LFP
this in your manifest: receiver android:name=.services.TestService intent-filter action android:name=android.net.conn.CONNECTIVITY_CHANGE/ /intent-filter /receiver uses-permission android:name=android.permission.ACCESS_NETWORK_STATE/ See how that works out for you as a test. Steven Studio LFP

[android-developers] Re: about layout sizes

2011-10-24 Thread Studio LFP
I think when you assign it programmatically it defaults to standard pixels. You would need to get the DisplayMetrics and multiply your pixels by the DisplayMetrics.density to get the same thing as dip/dp in the XML. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 1:29

Re: [android-developers] Re: Eclipse, ADT and opening XML files

2011-10-23 Thread Studio LFP
of Eclipse IDE for Java Developers + ADT and haven't run into this issue. I also have a tendency to have multiple Eclipse installs and specialize them as a lot of the plugins don't like to play nice with each other. Might be worth a shot to get that resolved. Steven Studio LFP http://www.studio

Re: [android-developers] Re: alarm type application: alarm manager not waking up application

2011-10-23 Thread Studio LFP
events. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 3:24:36 PM UTC-5, John Goche wrote: Kostya, Thank you for your reply. However left me give an update on the testing I have carried out. I have reinstalled the app from scratch and set alarms to expire every

Re: [android-developers] Re: Eclipse, ADT and opening XML files

2011-10-23 Thread Studio LFP
of the settings you don't want. Have either of you tried using a new clean Workspace and see if the problems still exist? Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 3:07:46 PM UTC-5, Kostya Vasilyev wrote: The install doc says that Classic is the recommended edition

Re: [android-developers] Re: Eclipse, ADT and opening XML files

2011-10-23 Thread Studio LFP
them and they worked... !? Check your XML file names and see if the same thing is happening to you. Every one of the files that I removed the underscore from started working right. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 4:40:01 PM UTC-5, Kostya Vasilyev wrote

Re: [android-developers] Re: Eclipse, ADT and opening XML files

2011-10-23 Thread Studio LFP
to Android Binary XML. I also removed the XML category all together in the File Association section in there somewhere. Closed the project, reopened the project and it started to work. Not sure what exactly fixed it, but now everything I open in those projects work right. Steven Studio LFP

[android-developers] Re: Eclipse, ADT and opening XML files

2011-10-23 Thread Studio LFP
did previously that also helped. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 5:26:56 PM UTC-5, Michael A. wrote: Hmm... I don't use underscores in any of my layouts, although I do use them in image file names, strings, etc. Editing the image file names didn't

[android-developers] Re: Eclipse, ADT and opening XML files

2011-10-23 Thread Studio LFP
Properties. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 5:24:35 PM UTC-5, Michael A. wrote: So this actually gave me the idea to try the exact opposite - I took my dirty .metadata from my old workspace and copied it over the new clean workspace. Hooray - suddenly

[android-developers] Re: Possible to get AppWidget Height?

2011-10-23 Thread Studio LFP
Last I checked, there is no way to get the actual height and width that your widget will be rendered at. I'm hoping this changes one day as it is a major pain to get your widget to look right on different devices. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 5:04

[android-developers] Re: Impossible to Create Write to or Read From Files in the SD Card

2011-10-23 Thread Studio LFP
to help you find a good spot to put your data files depending on what you are doing. There are even more than this, but this should get you started. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 6:08:22 PM UTC-5, melis wrote: Hi all, i really tried hard but couldn't

[android-developers] Re: Handling asynchronous events and blocking

2011-10-23 Thread Studio LFP
. I use a LinkedList so it keeps the touches in the order I insert them so I don't have to worry about out of order touches. Just one idea, someone else may have a more effective one, but hope that helps. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 23, 2011 11:42:50 PM UTC-5

[android-developers] Re: Facebook SDK error

2011-10-22 Thread Studio LFP
It looks like you are starting Activity B with startActivityForResult. Are you trying to receive some information back into Activity A from Activity B? If not, you just want to use startActivity instead. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 22, 2011 9:36:10 AM UTC

[android-developers] Re: Facebook SDK error

2011-10-22 Thread Studio LFP
a return, use startActivity() to start Activity B. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 22, 2011 10:35:43 AM UTC-5, ndiiie90 wrote: hmm not really.. actually the error is only about when i press back button from activity B, it returns to activity A (where i

[android-developers] Re: obtain rectangle on touch

2011-10-19 Thread Studio LFP
inefficient. Steven Studio LFP http://www.studio-lfp.com On Wednesday, October 19, 2011 7:35:30 PM UTC-5, JCC wrote: Hello, I don't know much about Android and I would like to know if you people could help. I draw a board using this: private Rect selRect = new Rect(); for (int x = 0; x 20; x

[android-developers] Re: Connection refused - rest web service

2011-10-19 Thread Studio LFP
the right permissions in Android, you'd get a force close and the error in logcat would tell you which ones you were missing. Any information you can give about the setup would help us help you. Steven Studio LFP http://www.studio-lfp.com On Wednesday, October 19, 2011 6:47:26 PM UTC-5, Dalton

[android-developers] Re: Display Video view in a curved shape

2011-10-19 Thread Studio LFP
or RelativeLayout to hold the two views as they allow views to overlap each other easily. Steven Studio LFP http://www.studio-lfp.com On Monday, October 17, 2011 7:47:45 PM UTC-5, Chenna wrote: Hi I am doing a live video stream and displaying in video view. But this video view is in rectangle

[android-developers] Re: android.text.format.DateFormat.format performance

2011-10-18 Thread Studio LFP
method to work around it, that's what's important. Steven Studio LFP http://www.studio-lfp.com . On Tuesday, October 18, 2011 7:43:46 AM UTC-5, lbendlin wrote: http://code.google.com/p/android/issues/detail?id=1476 I read somewhere that String.Format works like StringA+StringB

[android-developers] Re: RFID card reader

2011-10-17 Thread Studio LFP
have the protocols needed to talk to the RFID reader via USB, then you should be able to do it. Steven Studio LFP http://www.studio-lfp.com On Monday, October 17, 2011 4:08:16 AM UTC-5, nageswara rao rajana wrote: Hi, I want to develop application which need to read data from external

Re: [android-developers] Re: android.text.format.DateFormat.format performance

2011-10-17 Thread Studio LFP
Studio LFP http://www.studio-lfp.com On Monday, October 17, 2011 5:35:52 PM UTC-5, tlegras wrote: I do confirm using Date is about 2x faster. But I tryed using Calendar as Date.getHours/Minutes etc. is deprecated. The good news is that is even faster: Almost 6x faster than my original which

[android-developers] Re: listview adapter. Recycle bitmap

2011-10-16 Thread Studio LFP
about the recycle() function on bitmap and not reusing the same bitmap, correct? Steven Studio LFP http://www.studio-lfp.com On Sunday, October 16, 2011 4:14:48 AM UTC-5, emanuele wrote: Hello guys.. that s my baseAdapter getview implmentation: @Override public View getView(int position

[android-developers] Re: Time/CountDownTimer: Wrong millis returned for date/time - HELP PLEASE!!

2011-10-16 Thread Studio LFP
like we think about it. Tricky Android dev team! Steven Studio LFP http://www.studio-lfp.com On Sunday, October 16, 2011 4:38:17 PM UTC-5, Larry/MavrickProductions wrote: Found part of the problem: My time set line: TimerSet.set(12, 25, 2011); // set the date to Dec 25, 2011, 12AM

[android-developers] Re: List View Focus Problem!

2011-10-16 Thread Studio LFP
and lost. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 16, 2011 11:27:16 PM UTC-5, abi wrote: Hi, I have a list view and a bottom bar in a layout. I can't focus the bottom bar after focusing the list view. How to find focus lost from list view. At that time I need

[android-developers] Re: how to connect using HttpClent

2011-10-15 Thread Studio LFP
It will give you more detail about what they recommend. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 15, 2011 6:44:34 AM UTC-5, aparna rani wrote: hii all. i am trying to connect to my database using url connection is working fine.but i am using httpclient its not working

[android-developers] Re: Code to enable my app to be set as default for sms

2011-10-15 Thread Studio LFP
android:scheme=sms / data android:scheme=smsto / /intent-filter That should put your application is the default picker. You'll need to catch the intent ACTION_SENDTO in your application to get the address and other data. Steven Studio LFP http://www.studio-lfp.com On Friday, October 14, 2011 12:21

[android-developers] Re: Need to implement socket transmission in Android

2011-10-15 Thread Studio LFP
are waiting for them on the server. Grab the new message from the server and done. http://code.google.com/android/c2dm/ Steven Studio LFP http://www.studio-lfp.com On Friday, October 14, 2011 5:35:04 AM UTC-5, krishna kumar wrote: I need to transfer data(generally text) between two android

[android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Studio LFP
to tell your widget to update itself. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 15, 2011 11:49:13 AM UTC-5, Efi Merdler-Kravitz wrote: but the widget is still on screen and it's working, so it's not fully terminated, what part of it is being terminated ? On Oct 15, 6

Re: [android-developers] Re: No longer want meaning when implementing an app widget

2011-10-15 Thread Studio LFP
. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 15, 2011 12:11:28 PM UTC-5, Mark Murphy (a Commons Guy) wrote: On Sat, Oct 15, 2011 at 1:05 PM, Studio LFP studi...@gmail.com wrote: To support a widget for long process, you might want to start up a service and do whatever you

Re: [android-developers] How to retrieve images and other files on external memory from our app searching by name

2011-10-15 Thread Studio LFP
This group is mainly to help point you in the right diection and then let you figure the code out. You could start the process with the Java I/O like Mr. Murphy said here: http://developer.android.com/reference/java/io/File.html Steven Studio LFP http://www.studio-lfp.com On Saturday

Re: [android-developers] Re: Multiple Display suport

2011-10-15 Thread Studio LFP
that would go out the HDMI to a wireless receiver via the wireless on the phone. You would need the external devices to do that. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 15, 2011 4:50:12 AM UTC-5, David_lavi wrote: Hi thanks for the reply, an addition to my question

[android-developers] Re: How to add buttons on the top in relative layout

2011-10-15 Thread Studio LFP
If that is the code you are using to fill in each row in a ListView, then that's the wrong place to put the buttons. You want to go to the layout that your ListView is in and add the buttons there. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 15, 2011 1:03:18 AM UTC-5

[android-developers] Re: Best approach for onConfiguratinChange()

2011-10-14 Thread Studio LFP
testing. Steven Studio LFP http://www.studio-lfp.com On Friday, October 14, 2011 4:40:43 AM UTC-5, nikki wrote: Thanks Flo for quick reply. In my case the landscape layout files have no changes they are as same as portrait, that's why i haven't created a separate landscape folder for layout

[android-developers] Re: Multiple Display suport

2011-10-14 Thread Studio LFP
EDK, etc. are found. They may or may not have documentation or samples in there. Most manufacturers have a developers site you should check out to see if there is more documentation/help. Steven Studio LFP http://www.studio-lfp.com On Friday, October 14, 2011 6:30:32 AM UTC-5, David_lavi wrote

[android-developers] Re: EAAccessory Class in Android

2011-10-14 Thread Studio LFP
for the right way to talk to them in the development site: http://developer.android.com/index.html Steven Studio LFP http://www.studio-lfp.com On Friday, October 14, 2011 6:52:25 AM UTC-5, riz wrote: Hi , I am an iphone developer and curious to know is there any equivalent to Iphone EAAccessory

Re: [android-developers] SQLite slow

2011-10-14 Thread Studio LFP
a ton of tables (and cross database), so I may be able to help speed up your SQL statements. Steven Studio LFP http://www.studio-lfp.com On Friday, October 14, 2011 3:54:37 PM UTC-5, John Goche wrote: On Thu, Oct 13, 2011 at 1:47 AM, Studio LFP studi...@gmail.com wrote: If you aren't, try

Re: [android-developers] Get Application Context After Force closed

2011-10-13 Thread Studio LFP
Try using the context that is passed to the receiver instead of the application context. The application context is different and I believe they recommend not using it unless it is for very specific purposes. Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 1:33:46 PM

[android-developers] Re: An application that hosts a set of other applications

2011-10-13 Thread Studio LFP
). Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 4:17:00 PM UTC-5, droid-stricken wrote: Hi All, I have posted this question on StackOverFlow. So apologies for those that find this redundant - but i could not get any ideas (yet) from that forum. So, i repeat here

[android-developers] Re: android.text.format.DateFormat.format performance

2011-10-13 Thread Studio LFP
not because of the extra layer. Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 4:26:32 PM UTC-5, tlegras wrote: Hi, I am optimizing the critical parts of my code, and I coming to some ResourceCursorAdapter bindView method. Though the method is quite long, I saw

[android-developers] Re: An application that hosts a set of other applications

2011-10-13 Thread Studio LFP
Check out this link: http://developer.android.com/guide/market/billing/index.html That's the overview and there are more links at the bottom of that page to help get you up and running. Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 10:14:54 PM UTC-5, droid

[android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-13 Thread Studio LFP
Thanks for the heads up. You might want to see if this bug has been filed at: http://code.google.com/p/android/issues/list If it hasn't, you may want to drop it in there so others can find the workaround easier and the development team has a better spot to keep track of it. Steven Studio LFP

[android-developers] Re: Service BroadcastReceiver and Activity

2011-10-13 Thread Studio LFP
On the line that says: showScreen( getApplicationContext() ); Try changing it to: showScreen( context ); That might not be it, but it's best to use the context that is being passed to you in the onReceive. If that doesn't work, please post the error so we can help you more. Steven Studio

[android-developers] Re: please help: broadcast receiver does not execute code

2011-10-13 Thread Studio LFP
So it seems like it is skipping that step? Or is it just stopping before that step? Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 11:29:40 AM UTC-5, John Goche wrote: Hello, I am having the following problem and was wondering whether anyone here could be so

[android-developers] Re: Fragment visibility after transaction

2011-10-13 Thread Studio LFP
to onCreateView() and then down the chain. Just make sure to put some sort of refresh in one of the steps that makes the most sense for your application. Steven Studio LFP http://www.studio-lfp.com -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Android Tablet Internal Storage

2011-10-13 Thread Studio LFP
) and tell you how much available room there is in that location. Here's links to the API documents for those: http://developer.android.com/reference/android/os/StatFs.html http://developer.android.com/reference/android/content/Context.html#getFilesDir%28%29 Steven Studio LFP http://www.studio-lfp.com

[android-developers] Re: Vibrate Trigger on Android Device

2011-10-13 Thread Studio LFP
Have you tried this out? http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface%28java.lang.Object,%20java.lang.String%29 I haven't used it yet, but might be what you are looking for. Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011

[android-developers] Re: terminating the application in android issue

2011-10-13 Thread Studio LFP
Have you tried android:clearTaskOnLaunch on your base activity in the AndroidManifest.xml? http://developer.android.com/guide/topics/manifest/activity-element.html#clear Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 7:37:52 AM UTC-5, P B Lal wrote: Dear All

[android-developers] Re: major problem with network location fixes and their timestamps

2011-10-13 Thread Studio LFP
many devices have you tested it on? You might want to check out the GPS Status app on the market and see if it gets a fix. If it does, it will tell you the time it got it and other information about the fix. Good way of testing the hardware and see if you have an issue there. Steven Studio LFP

[android-developers] Re: An application that hosts a set of other applications

2011-10-13 Thread Studio LFP
You're welcome, glad to be able to help. Good luck on your app! Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 11:41:14 PM UTC-5, droid-stricken wrote: Excellent. Thanks all. Thanks @Studio LFP. On Oct 13, 10:53 pm, Studio LFP studi...@gmail.com wrote: Check

[android-developers] Re: integrate the youtube player in android app

2011-10-13 Thread Studio LFP
, but you'd have to Google search that. Steven Studio LFP http://www.studio-lfp.com On Thursday, October 13, 2011 5:28:19 AM UTC-5, Muthu S wrote: Hi all If anybody knows how to integrate the youtube player in android app. -- You received this message because you are subscribed

Re: [android-developers] SQLite slow

2011-10-12 Thread Studio LFP
for a reason you can't include them all in one query, add more statements between the beginTransaction and the setTransactionSuccessful. Steven Studio LFP http://www.studio-lfp.com On Wednesday, October 12, 2011 3:29:49 PM UTC-5, John Goche wrote: On Wed, Oct 12, 2011 at 5:38 PM, Christopher Van

[android-developers] Re: Writing to External Storage Help

2011-10-12 Thread Studio LFP
with that and give your users a chance to pick which one they want for your application to use. Steven Studio LFP http://www.studio-lfp.com On Tuesday, October 11, 2011 9:53:53 PM UTC-5, BJGApps wrote: I have an app on the market and recently have had some reports of problems writing to the SD. What

[android-developers] Re: List with seperators, checkboxes...

2011-10-11 Thread Studio LFP
. Steven Studio LFP http://www.studio-lfp.com On Tuesday, October 11, 2011 4:03:09 AM UTC-5, BearTi wrote: Hi, I´ve problems to built a list for my app. This list should have seperators, drop down menus and checkboxes. I´ve read many tutorials, but I can´t find a good one that solves my

[android-developers] Re: Service to Activity communication with Broadcast Reciever every 1 sec . Is this right approach?

2011-10-11 Thread Studio LFP
being destroyed for needed memory. Steven Studio LFP http://www.studio-lfp.com On Tuesday, October 11, 2011 3:33:53 PM UTC-5, NikolaMKD wrote: Will START_STICKY keep my service running even if the phone is locked or activity is not visible to the user anymore? On Oct 11, 10:21 pm, NikolaMKD

[android-developers] Re: Any way to embed existing views?

2011-10-11 Thread Studio LFP
. Steven Studio LFP http://www.studio-lfp.com On Tuesday, October 11, 2011 1:14:13 PM UTC-5, yve...@gmail.com wrote: I am trying to write an app which I want to show, say, the calendar app in my app. So, is there a way I can just embed the calendar app view into one of my view (because i want

[android-developers] Re: How to store AlarmManager object in to shared preference..........

2011-10-11 Thread Studio LFP
the AlarmManager? Steven Studio LFP http://www.studio-lfp.com On Tuesday, October 11, 2011 7:54:32 AM UTC-5, saran wrote: Hi all, I'm working on AlarmClock application. When ever my application is killed due to low memory, I want to retain some objects, so I want to store

[android-developers] Re: time picker: soft keyboard problems: cannot read time

2011-10-10 Thread Studio LFP
the dialog and read the values after the clearFocus(). If it is somewhere else, you can also use the requestFocus() on other views to pull it away and then read the TimePicker. Steven Studio LFP http://www.studio-lfp.com On Monday, October 10, 2011 9:30:49 AM UTC-5, John Goche wrote: Hello, I am

Re: [android-developers] Using drawable resources efficiently

2011-10-10 Thread Studio LFP
it and it hasn't worked: 1. Right after creation. 2. Right before passing it to setBackgroundDrawable() 3. A few times in between 4. All of the above. I just went back to doing a drawable for each view in the ListView. Steven Studio LFP http://www.studio-lfp.com On Monday, October 10, 2011 5:58:11

Re: [android-developers] Using drawable resources efficiently

2011-10-10 Thread Studio LFP
things, so if anyone has a viable solution, that would be great. Steven Studio LFP http://www.studio-lfp.com On Monday, October 10, 2011 10:53:46 AM UTC-5, Studio LFP wrote: I don't think this works for a ListView when using setBackgroundDrawable(). At least I've not gotten it to work when

[android-developers] Re: Bitmap's getWidth problem

2011-10-10 Thread Studio LFP
in the drawable-nodpi directory here: Project/res/drawable-nodpi/resource.png I've used them both and they seem to both work equally well. If you want the option of deciding to scale or not via a preference or similar, the code edition would probably be the better choice. Steven Studio LFP http

Re: [android-developers] Re: textView Clears on Rotation

2011-10-09 Thread Studio LFP
it for us for future reference. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 9, 2011 4:47:03 AM UTC-5, Kostya Vasilyev wrote: 09.10.2011 2:41, Studio LFP пишет: *TreKing, Kostya, Romain Guy,* I do understand what you guys are saying, so I am listening, but it seems

[android-developers] Re: stop progress bar when parsing JSON finish.

2011-10-09 Thread Studio LFP
available also, check out Threads, Handlers and Runnables also. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 9, 2011 8:12:51 AM UTC-5, Muchamad Jeffri wrote: hello, i want to ask how to implement progress bar spinner in background and then stop when parsing JSON data finish

[android-developers] Re: Multithreading in Android?

2011-10-09 Thread Studio LFP
experience. What you are seeing is normal and you don't have to worry about closing background windows as Android will handle it for you when it needs to. Check out this post for more detail: http://android-developers.blogspot.com/2010/04/multitasking-android-way.html Steven Studio LFP http

[android-developers] Re: layout changes when on-screen keyboard shows/hides suggestions

2011-10-09 Thread Studio LFP
to the top of your LinearLayout because the Button is just a slight bit smaller than the EditText. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 9, 2011 5:33:57 AM UTC-5, Alexander Bürger wrote: Dear Android experts, I have a little problem with a layout of an activity. Some

[android-developers] Re: scrollview can't work programmatically

2011-10-09 Thread Studio LFP
what you want in your application, so give it a shot and let us know. Steven Studio LFP http://www.studio-lfp.com On Sunday, October 9, 2011 1:08:22 PM UTC-5, billconan wrote: Hello guys, I want to use scrollview in my app. I tried to add a text view into the scrollview, but I can't see

[android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-08 Thread Studio LFP
There is definitely something wrong in the code. The first time I tested was on a Samsung Galaxy Tab (2.2) and I just tested it again on the Xperia Play (2.3.2) and it worked just fine. If you want to post the XML that contains the layout, that would be helpful. Steven Studio LFP http

Re: [android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-08 Thread Studio LFP
it. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 8, 2011 10:42:59 AM UTC-5, Kostya Vasilyev wrote: FWIW: I just tried it on an HTC Incredible S (official firmware, 2.3.3) and got the same result as the OP: Setting android:gravity=right made android:hint disappear

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Studio LFP
Based on that, you shouldn't get a crash, but obviously that's not the full code you are using. Are you changing that variable at any other point in the code? Steven Studio LFP http://www.studio-lfp.com On Saturday, October 8, 2011 3:34:15 AM UTC-5, DraganA wrote: I'm puzzled as to why I'm

[android-developers] Re: ExpandableListView And Fragment

2011-10-08 Thread Studio LFP
You should be able to use any widget in a Fragment just like you do in an Activity. Check this part out: http://developer.android.com/guide/topics/fundamentals/fragments.html#UI You design an XML file the same way for an Activity and a Fragment. Steven Studio LFP http://www.studio-lfp.com

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Studio LFP
about how to save the state in an Activity: http://developer.android.com/guide/topics/fundamentals/activities.html#SavingActivityState Steven Studio LFP http://www.studio-lfp.com On Saturday, October 8, 2011 2:13:01 AM UTC-5, TreKing wrote: On Fri, Oct 7, 2011 at 3:59 PM, Studio LFP studi

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Studio LFP
else hasn't found it already. http://code.google.com/p/android/issues/list Steven Studio LFP http://www.studio-lfp.com On Saturday, October 8, 2011 11:53:05 AM UTC-5, DraganA wrote: That's the problem, the list is created in onCreate() method and is not reassigned or set to null anywhere. I

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Studio LFP
like a custom file, database, etc.. Devices are constantly switching states even when we don't want them to. Battery dying, being dropped, locking up, and tons of others things make sure the mobile environment is never guaranteed, so write accordingly. Steven Studio LFP http://www.studio

  1   2   >