[android-developers] Fragment Compatibility support down to Android 1.1

2011-06-05 Thread Peli
or Android 1.5 (we only fixed what we needed so far). Feedback and patches are welcome, to make this even more useful. Peli www.openintents.org -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: Fragment Compatibility support down to Android 1.1

2011-06-05 Thread Peli
statistics show that we have more than 8% of users running 1.5 for OI Shopping List, so we don't want to abandon them yet. (3.0 users are 1% currently). Peli On 5 Jun., 21:14, Dianne Hackborn hack...@android.com wrote: Making it work on 1.5 and earlier is not actually so simple, because of the way

[android-developers] Re: Programmatically check whether Market shows paid apps

2010-03-01 Thread Peli
settings get add-ons): The first one to Market, and the second one to our developer homepage. We hope people figure that they should try the second link if the first one does not show sensible results. Peli www.openintents.org On Mar 1, 10:27 am, westmeadboy westmead...@yahoo.co.uk wrote: I am about

[android-developers] Re: Getting magnetic field results as degrees

2009-12-13 Thread Peli
to convert phi from radians to degree (using phideg = Math.toDegree(phi);) Note that this only works if your phone lies flat on the desk. In arbitrary orientation, you need more sophisticated conversion that includes x, y, and z and the accelerometer values. Peli www.openintents.org http

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread Peli
If you have a translucent activity, I guess you see the title bar of the activity below your activity, so this is the expected behavior. Peli www.openintents.org On Sep 9, 11:08 pm, Illidane illid...@gmail.com wrote: Hi! I have an issue : I set Theme.Translucent.NoTitleBar.Fullscreen for my

[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread Peli
You were posting to the wrong forum. Post your question here to get help: http://groups.google.com/group/android-ndk Peli www.openintents.org On Sep 10, 8:17 am, pink 444 pnk...@gmail.com wrote: Hai,     I am newbie to Android ,Hence can you explain it in detail . Thanks in Advance, -Siva

[android-developers] Re: Free vs. Paid Package Names

2009-09-04 Thread Peli
2.) Simply build both versions with the same package name. I doubt that you can upload two applications (free and paid) with the same package name to the Market. One of the two has to be different. Peli www.openintents.org On Sep 4, 3:52 pm, Paul paul_rash...@yahoo.com wrote: I'm trying

[android-developers] Question on ADC2 signup for teams

2009-08-30 Thread Peli
for the other team members' names. Should they all sign into the ADC 2 web page? Or is only the team leader's sign-up necessary? Peli --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-26 Thread Peli
. If you want to work time-critical, you should use the simple float: float[] a = new float[3]; float[] b = new float[3]; a[0] = 1.2f; a[1] = 2.3f; ... and NOT Float[] a = new Float[3]; a[0] = new Float(1.2f); a[1] = new Float(2.3f); ... Peli On Aug 26, 2:28 am, Rud rudmerr...@gmail.com wrote

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-25 Thread Peli
?) Note: all assume that you have initialized a already beforehand, a = new float[3]; Peli On Aug 25, 8:24 am, Rud rudmerr...@gmail.com wrote: Hi, The code is originally from my Blog. The reason for the clone is explained there. I admit to not having worked with Java enough to have the deep

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
, then for now, we should use com.myapp.adc2 or similar in order to avoid a future conflict? Peli On Aug 24, 7:48 pm, Dan Morrill morri...@google.com wrote: This site is using the same infrastructure as the Android Market and shares a unified namespace, primarily to avoid squatting issues.  That is, we

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
Thanks for the info! Peli On 24 Aug., 20:14, Dan Morrill morri...@google.com wrote: Not only should you, you will have to. You won't be able to upload an app with a conflicting package name. Adding a .adc2 sub-package sounds perfectly reasonable to me, though what you name it is up to you

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
of the categories provided, and we wonder how much influence our choice of category could potentially have on the judging and the users who would get to judge our application. Peli On 24 Aug., 18:57, David McLaughlin (Android Advocate) d...@google.com wrote: The submission site for ADC 2 is now live

[android-developers] Re: just renaming the file seems to help.

2009-08-21 Thread Peli
Try to clean your project and rebuild all if that happens. Peli www.openintents.org On Aug 21, 10:14 am, sdphil phil.pellouch...@gmail.com wrote: i have an incredibly weird issue -- I have an image button -- ImageButton android:id=@+id/Btn1              android:layout_width=wrap_content

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-21 Thread Peli
= event.values.clone(); Note that this creates new objects constantly that have to be garbage collected later. Depending on the kind of application, it may be better to just copy the values into a persisting array. Peli www.openintents.org On Aug 21, 4:06 am, mscwd01 mscw...@gmail.com

[android-developers] Re: Using sensors and orientation - lat/lon point to screen coordinates

2009-08-20 Thread Peli
), and fails in other orientations? Peli www.openintents.org http://code.google.com/p/openintents/wiki/SensorSimulator On Aug 20, 4:55 pm, mscwd01 mscw...@gmail.com wrote: Hi, I want to find the screen coordinates (X,Y) where a point represented by a latitude/longitude value would appear

[android-developers] Re: Using sensors and orientation - lat/lon point to screen coordinates

2009-08-20 Thread Peli
(logcat) the sensor values, and try to solve one problem at a time (like, first get the correct orientation values from the compass, and if that works, then look into your projection routine), rather than solving the whole stack of possible error sources at once. Good luck :-) Peli On Aug 20, 7:02 pm

[android-developers] Re: Problem of vertical alignment in a RelativeLayout

2009-07-22 Thread Peli
and weigh speed against looks. Peli On Jul 16, 10:16 am, elDoudou the.edouard.merc...@gmail.com wrote: Thank you for taking so much care, but unfortunately, the problem is still not solved with your advice of setting the widgets 1 and 3 height to fill_parent (they were actually formerly set

[android-developers] Re: How to create HTTP request, and how to create a connection object.

2009-07-20 Thread Peli
, this does not sound like a very Android-specific question, so you may have more luck in a general Java-forum for beginners. Peli www.openintents.org On Jul 20, 8:25 am, Chris narendrasingh.bi...@gmail.com wrote: It didnt help me.. Thanks On Jul 17, 6:59 pm, Peli peli0...@googlemail.com wrote

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-20 Thread Peli
Manifest does not work - only registering programmatically. In that thread, Dianne also points out another problem that you repeat above: Why do you need to set android:process=:remote? It takes 2MB of additional valuable phone memory, without much additional value. Peli www.openintents.org

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-20 Thread Peli
protected void onResume() { super.onResume(); IntentFilter filter = new IntentFilter (Intent.ACTION_SCREEN_ON); registerReceiver(mReceiver, filter); } @Override protected void onPause() { super.onPause(); unregisterReceiver(mReceiver); } Peli

[android-developers] Re: Why fill_parent LinearLayout occupy other view's space

2009-07-20 Thread Peli
linear_weight=2. Then you will see that the first one occupies 1/3 of the remaining screen, and the second one 2/3 of the remaining screen, and the EditText is also there. Peli www.openintents.org On Jul 20, 9:00 pm, 单单 birb...@gmail.com wrote: Hi All, here is a layout. ?xml version=1.0 encoding

[android-developers] Re: complete action using

2009-07-17 Thread Peli
Set an intent filter in your Manifest to handle the desired action. Peli www.openintents.org On Jul 17, 2:06 am, freeanderson freeander...@gmail.com wrote: hi how can I register my app to show in 'complete action using dialog'? Thank you

[android-developers] Re: Question about setComponent() of Iintent

2009-07-17 Thread Peli
extras, like for example EXTRA_PHONE_NUMBER http://developer.android.com/reference/android/content/Intent.html#EXTRA_PHONE_NUMBER Peli www.openintents.org On Jul 17, 6:27 am, n179911 n179...@gmail.com wrote: Thank you. I am trying to resolve/work around a problem which I am having when

[android-developers] Re: EditText

2009-07-17 Thread Peli
Are you sure this is a good idea? There are phones without a physical keyboard, and then users could not edit any text. The simplest way is to define both, TextView and EditText and setVisibility(View.GONE) or View.VISIBLE to only show one of the two, if you still need to do this. Peli On Jul

[android-developers] Re: How to create HTTP request, and how to create a connection object.

2009-07-17 Thread Peli
Why don't you simply try a Google search? http://www.google.com/search?q=http+post+java Peli www.openintents.org On Jul 17, 3:52 pm, Chris narendrasingh.bi...@gmail.com wrote: How to create an HTTP request object of POST type in android? Which class need to be extend or what method need

[android-developers] Re: EditText

2009-07-17 Thread Peli
and swap it with the existing TextView class as I suggested above. Peli www.openintents.org On Jul 17, 3:38 pm, peeyush varshney varshney.peey...@gmail.com wrote: I have G1 with keyboard.. even Android have attribute editable but it is not setting.. On Fri, Jul 17, 2009 at 7:05 PM, Peli peli0

[android-developers] Re: open context menu for a specific item of the list

2009-07-17 Thread Peli
onCreateContextMenu() should be called before the context menu is displayed.. so this would be the place to set whatever you want to set. Peli www.openintents.org On Jul 17, 4:28 pm, Georgios Galyfos yorg...@gmail.com wrote: Hi, I am using openContextMenu() when someone clicks on an item

[android-developers] Re: Drawing a dotted line

2009-07-17 Thread Peli
Have you looked into the API demos? There are a couple of examples of lines with various patterns. Peli www.openintents.org On Jul 17, 5:49 pm, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, How do i draw a dotted rectangle on a bitmape. Currently i use the following code, to draw

[android-developers] Re: How do I launch the GMail client programmatically?

2009-07-17 Thread Peli
As far as I know, GMail does not provide intent filters for the standard ACTION_SEND. (which to my opinion it should!) But it is difficult to tell, as the source code does not seem to be available either. Peli www.openintents.org On Jul 16, 5:00 pm, Flying Coder av8r.st...@gmail.com wrote: I

[android-developers] Re: Why the system kill my process?

2009-07-17 Thread Peli
You should move actions that take a long time from the GUI thread to a separate thread. Peli www.openintents.org On Jul 16, 9:51 am, Ivy ytang1...@gmail.com wrote: I have  many contacts in my G1,much as 2000. When i call sb, the system will find this one is in my contacts or not.Is there any

[android-developers] Re: Extend core apps in the SDK

2009-07-17 Thread Peli
You could change the package in the Manifest to a package name you own (com.yoursite.yourapp), and rename the corresponding packages used in the source. Classes that are public and supported are documented here: http://developer.android.com/reference/packages.html Peli www.openintents.org

[android-developers] Re: Question about setComponent() of Iintent

2009-07-17 Thread Peli
handle jpg as well as mms. If more than 1 application is found, you could create a custom chooser to let the user choose their favorite MMS jpg sender. SEND the jpg URI to that activity by specifying its component as returned by the PackageManager. Peli www.openintents.org On Jul 17, 6:18 pm, n179911

[android-developers] Re: JAVA Coding standards for Android Platform

2009-07-17 Thread Peli
It helps to spend a second to look into the official documentation: http://developer.android.com/guide/practices/design/performance.html Peli www.openintents.org On Jul 17, 8:04 pm, Kumaravel Kandasami kumaravel.kandas...@gmail.com wrote: Hi, I wanted to check whether there is any JAVA

[android-developers] Re: Using orientation sensor to g et 360° orientation?

2009-07-17 Thread Peli
/easier for you to only use the accelerometer for determining the arrow that points to the floor. Peli www.openintents.org On Jul 17, 7:50 pm, f_heft delphik...@gmail.com wrote: Hello, I have a problem with working with the ORIENTATION values of the SensorManager. I would like to have some

[android-developers] Re: open context menu for a specific item of the list

2009-07-17 Thread Peli
No, you should not call onCreateContextMenu by yourself. It will be called by the system for you. You just need to override this function, and wait until it is called. Peli www.openintents.org On Jul 17, 10:41 pm, Georgios Galyfos yorg...@gmail.com wrote: Hi and thanks for the reply

[android-developers] Re: File Browser Integration

2009-07-15 Thread Peli
There is no need to literally copy source code into your project. You can use intents to integrate a 3rd party file browser with your application, as described here: http://www.openintents.org/en/node/159 see section Information for developers Peli www.openintents.org On Jul 14, 8:20 pm, johnny

[android-developers] Re: how to find out the percentage of memory used by each process in the android

2009-07-15 Thread Peli
there is one main program that sends a broadcast to several apks. Would this scale well, or would this quickly fill up the memory, even if the individual apks are small (since all broadcast receivers would be called concurrently)). Peli On Jul 15, 6:49 pm, Dianne Hackborn hack...@android.com wrote

[android-developers] Re: how to find out the percentage of memory used by each process in the android

2009-07-15 Thread Peli
of services have to struggle for memory concurrently - but there is probably not much the platform can do about that. Probably it is best if each service indicates when it is done, so that the next apk can be launched by the main program through an apk specific broadcast)) Peli On Jul 15, 8:36 pm

[android-developers] Re: Sent email via intent removing newline characters

2009-07-09 Thread Peli
As far as I know, Gmail does not provide the intent filters necessary to launch that application through the standard email intents. You can download and install K9 mail onto your emulator: http://code.google.com/p/k9mail/ Peli www.openintents.org twitter.com/openintents On Jul 9, 6:27 am

[android-developers] Re: AlarmManager nothing happening

2009-07-07 Thread Peli
that the AlarmManager can find your Receiver. I'd pay someone to help me if its allowed.. If it works, consider donating here: http://www.openintents.org/en/contribute :-) Peli www.openintents.org On Jul 4, 12:33 am, dapaintballer331 dapaintballer...@gmail.com wrote: I've been modifying things ALL DAY trying

[android-developers] Re: things turning on in the night

2009-07-07 Thread Peli
version can launch arbitrary applications after a specified amount of time... Peli www.openintents.org On Jul 7, 2:53 pm, chris.compo chris.co...@googlemail.com wrote: Hi I am using a HTC Magic and recently various programs are turning on and using all my battery power. I recharged my phone

[android-developers] Re: Any limitations on products to access market place

2009-07-06 Thread Peli
Does the access of it from product require any intervention from Google? No. It may be removed later though, if your application violates the Market terms and conditions: http://www.android.com/us/developer-distribution-agreement.html See link in § 4.11 Peli www.openintents.org On Jul 6

[android-developers] Re: onSaveInstanceState() normally not called ?

2009-07-05 Thread Peli
orientation, or being interrupted by an incoming call, then saveInstanceState IS the correct thing for you. Peli www.openintents.org On 5 Jul., 15:32, sasq jonas.minnb...@gmail.com wrote: The documentation makes it sound that it would normally BE called, thats why I was wondering. In my case I

[android-developers] Re: A question regarding Activities and Tasks.

2009-07-03 Thread Peli
to export all notes, and now chooses a location for saving the notes to be exported. If the user goes back to home screen, and launches OI Notepad again, (s)he is presented with OI File manager to select a file location (because that is the activity on top of the OI Notepad stack). Peli

[android-developers] Re: Getting a reference to the option menu.

2009-07-03 Thread Peli
In onPrepareOptionsMenu(), you can use menu.findItem(..). Peli www.openintents.org On 3 Jul., 20:21, Mathieu Plourde mat.plou...@gmail.com wrote: Is there a way to get the reference to the option menu, from outside of onCreateOptionsMenu? I tried findViewById (for Menu and MenuItem

[android-developers] Re: launch an app with widget

2009-07-02 Thread Peli
On that page you find a small sample code how to start a PICK_ACTIVITY. The result is obtained in onActivityResult(). Using getComponentName() you can retrieve the components that are required to launch the desired application. I hope this help. Peli www.openintents.org On Jul 2, 4:32 pm, schwiz sch

[android-developers] Re: can't use mouse click for ZoomControl

2009-07-02 Thread Peli
don't have a real device. I only work on the emulator. I think clearing these questions will make it easier for us to answer. Peli www.openintents.org On Jul 2, 3:23 pm, tstanly tsai.sta...@gmail.com wrote: no.. i use x86 machine. On Jul 2, 8:33 pm, Lex hakkinen1...@gmail.com wrote: Did I

[android-developers] Re: launch an app with widget

2009-07-02 Thread Peli
=AndroidManifest.xml;h=7b3e689a6eb3d9fdbede1f016215aeba95c12338;hb=HEAD I presume that the activity you want to launch is started by: Intent i = new Intent(); i.setClassName(com.android.settings, com.android.settings.BatteryInfo); startActivity(i); or which settings did you want to launch? Peli

[android-developers] Re: launch an app with widget

2009-07-02 Thread Peli
? (or is it easily possible to specify the intent MAIN restricted to a specific package? rather than specifying the full component?) Peli www.openintents.org On Jul 2, 6:46 pm, Dianne Hackborn hack...@android.com wrote: Please don't hard-code component names of other packages.  Those are implementation details

[android-developers] Re: launch an app with widget

2009-07-02 Thread Peli
=ce9063f14287377cb31ff0272b6d425a212d691e;hb=HEAD Peli On Jul 2, 6:54 pm, Dianne Hackborn hack...@android.com wrote: The launcher doesn't have any hard-coded component names; it does a query of the system for all activities implementing MAIN LAUNCHER. On Thu, Jul 2, 2009 at 9:52 AM, Peli peli0...@googlemail.com

[android-developers] Re: launch an app with widget

2009-07-02 Thread Peli
@schwiz: Logcat would work with both, emulator and device: http://developer.android.com/guide/developing/tools/adb.html#logcat @Dianne: If you define some standard intent for the calculator, please make it accept some number extra that appears in the display :-) Peli On 2 Jul., 20:01, schwiz

[android-developers] Re: launch an app with widget

2009-07-02 Thread Peli
@Dianne: If you define some standard intent for the calculator, please make it accept some number extra that appears in the display :-) and return the final result in onActivityResult() :-) Peli Peli On 2 Jul., 20:01, schwiz sch...@gmail.com wrote: well the widget I am making most

[android-developers] Re: PendingIntent.getService not working ...

2009-07-01 Thread Peli
, or whether it should work. Peli www.openintents.org On Jul 1, 12:16 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm having a hard time finding a good working example of PendingIntent.getService. My code isn't working.  I have a service, MyService, that I want to start using an alarm

[android-developers] Re: DEVELOPER CHALLENGE 2 - Can suite of applications participate as one entry?

2009-07-01 Thread Peli
several apk files, but it may be that one user gets to judge apk 1, while another user gets to judge apk 2, and they will never find out what apk 1 in combination with apk 2 was able to do... Peli www.openintents.org On 17 Jun., 23:36, havexz bali.param...@gmail.com wrote: Thats precisely my

[android-developers] Re: Accelerometer data

2009-06-30 Thread Peli
on the table? Do the x and y values change? If they do, then you have compass data (because accelerometer is not sensitive to that rotation). If you don't then you have really weird accelerometer data... Peli www.openintents.org On Jun 29, 3:58 pm, House n @ MIT to...@mit.edu wrote: Hello, I've

[android-developers] Re: Accelerometer data

2009-06-30 Thread Peli
= (const) 2 in the new API, so indeed House n @ MIT saw compass data, as I suspected. Case solved :-) Peli www.openintents.org On Jun 30, 4:15 pm, jdesbonnet jdesbon...@gmail.com wrote: I checked with my Vodafone branded HTC Magic (using Android 1.5 API). Using SensorEventListener

[android-developers] Re: Detect currently used home screen

2009-06-29 Thread Peli
Would it be possible to determine whether the user set it as default home screen through the PackageManager? (Would PackageManager.getPreferredPackages() return that information? I haven't tried it yet.. ) Peli www.openintents.org On Jun 29, 9:14 am, Romain Guy romain...@google.com wrote: Hi

Re: Re : Re : Re : [android-developers] Re: Sharing data between an Android service and an application.

2009-06-29 Thread Peli
If you only need a single instance of your activity, and both activity and service run in the same process, one could even use static variables to pass data between the two. Peli www.openintents.org On Jun 29, 3:03 pm, GAYET Thierry thierry_ga...@yahoo.fr wrote: Hi, yes when my application

[android-developers] Re: ACTION_TIME_TICK for every Second required.

2009-06-26 Thread Peli
why don't you simply write a service and send your own broadcast intent as often as you want? Peli www.openintents.org On Jun 26, 12:46 pm, Ravi ravikumar...@gmail.com wrote: ACTION_TIME_TICK occurs every minute. I need an action which will occur every second because I'm trying to display

[android-developers] Re: Finding a particular intent in the whole system(packet manager)

2009-06-26 Thread Peli
to launch, including those that use data or a mime type. (here is the modified source: http://code.google.com/p/openintents/source/browse/trunk/NotePad/src/org/openintents/util/IntentUtils.java ) Peli www.openintents.org On Jun 26, 11:02 am, ani anish198519851...@gmail.com wrote: Hi All, I have

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Peli
on the real device in the end. Peli www.openintents.org On Jun 26, 9:19 am, David Turner di...@android.com wrote: On Wed, May 27, 2009 at 1:40 PM, sarang sarangd...@gmail.com wrote: Is this a bug in emulator 1.5 ? Yes, it's a known bug in the 1.5 emulator which will be fixed in the next SDK

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Peli
the same wrong readings), but unless this is done, I am slightly hesitant to call it a true sensor simulator... It should be mentioned that accelerometer and magnetic compass values are fine - only the calculated orientation values on the G1 had some issues. Peli www.openintents.org On Jun 26, 3:32 am

[android-developers] Re: Design

2009-06-25 Thread Peli
One possibility is to do it as the Market app (or also the Bing search engine for images) You first download a number of elements, and as soon as the user scrolls down to a certain point, you download more items and add them dynamically to the list. Peli www.openintents.org On Jun 24, 10:55 pm

[android-developers] Re: How to make chat window?

2009-06-25 Thread Peli
You can try DroidDraw to design the appearance of your chat window: http://www.droiddraw.org/ Peli www.openintents.org On Jun 25, 3:52 pm, Gulfam gulfa...@gmail.com wrote: Hi everybody, Currently I am working on chat messenger and I want to make chat window. any one can help me regarding

[android-developers] Re: LinearLayout in LinearLayout

2009-06-25 Thread Peli
You have not set any layout parameters. http://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html l2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); Peli www.openintents.org On Jun 25, 3:28 pm, Mr.No f.hi...@arcor.de wrote

[android-developers] Re: Execute an activity repeatedly after a definite interval of time

2009-06-25 Thread Peli
If your activity is always in the foreground while taking pictures, you could use postDelayed() to call your picture taking routine again after some time. Peli www.openintents.org On 25 Jun., 21:29, Sharmila sharmcg...@gmail.com wrote: I have an activity imageCapture.java which extends

[android-developers] Re: Sending Email from Android application

2009-06-24 Thread Peli
You can find the correct MIME type to send a text message here: http://www.openintents.org/en/node/121 (scroll down for the sample code) Peli www.openintents.org On Jun 24, 7:02 am, doubleminus doublemi...@gmail.com wrote: Swathi, Did you ever figure this one out?? Thanks, double On May

[android-developers] Re: how to set intent flags

2009-06-24 Thread Peli
intent_back.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); Peli www.openintents.org On Jun 24, 5:51 am, tstanly tsai.sta...@gmail.com wrote: hi all, in thehttp://developer.android.com/reference/android/content/Intent.html there are constant FLAG_ACTIVITY_CLEAR_TOP and setFlag method, but i

[android-developers] Re: Skins / themes in app drawer

2009-06-24 Thread Peli
it was for (there was no mentioning of Market using it). Peli www.openintents.org On Jun 24, 9:09 pm, Dianne Hackborn hack...@android.com wrote: If you don't want any activities at all in the home screen, but to still have something launched from Market, you can have an activity with the MAIN action

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Peli
(OI Voice Notes) that wants to be included in the first application shall specify an intent filter in the category category android:name=android.intent.category.ALTERNATIVE / http://code.google.com/p/openintents/source/browse/trunk/VoiceNote/AndroidManifest.xml Peli www.openintents.org On Jun 24

[android-developers] Re: App adds a button to another app

2009-06-24 Thread Peli
is built-in and which is an add-on. Luckily, at OpenIntents, we can have a more experimental attitude towards interacting with 3rd party apps, so we try to provide hooks for other developers wherever possible. If one is missing, please let us know :-) Peli www.openintents.org On 25 Jun., 00:23

[android-developers] Re: ContentObserver _id - SMS, Contact Media

2009-06-23 Thread Peli
; the G1 would be a fossil by that time: http://news.softpedia.com/news/The-Oldest-Fossil-Russian-Doll-290-Million-Years-Old-70431.shtml ) Peli www.openintents.org www.openintents.biz/obscura.html On Jun 23, 9:45 am, Shibbs shibu.deva...@gmail.com wrote: Hi All, From the past two days I have

[android-developers] Re: Animation Transition

2009-06-23 Thread Peli
Have you looked into the API demo examples? Peli www.openintents.org On Jun 23, 9:39 am, Sukitha Udugamasooriya suk...@gmail.com wrote: Hi all, Can you advise me how to apply view transition animation. ex: when i click on an list item my contentview changers. I want to apply a transition

[android-developers] Re: Problem with setExtra

2009-06-23 Thread Peli
Did you make sure the first argument of putExtra(..), that is your variable intStringName, is not null? Peli www.openintents.org On Jun 23, 4:24 am, Will wbc...@gmail.com wrote: Sorry, I wasn't clear. That putExtra call actually crashes the program, which is why I'm so stumped. Why would

[android-developers] Re: how can i launch the intent to pick image from SD card?

2009-06-23 Thread Peli
I presume the video list activity has not been implemented cooperatively enough for ACTION_PICK. An alternative is to try to use ACTION_GET_CONTENT, which is taken better care of usually. Peli www.openintents.org On Jun 22, 8:25 pm, silverburgh silverburgh.me...@gmail.com wrote: Thank you. I

[android-developers] Re: ListView - keep item selected

2009-06-19 Thread Peli
Romain's blog post will answer all your questions: http://android-developers.blogspot.com/2008/12/touch-mode.html (read until the end until you see the paragraph about choice mode - which is what you need). Peli www.openintents.org On Jun 19, 6:01 pm, Mark Wyszomierski mar...@gmail.com wrote

[android-developers] Re: A question on Intents.

2009-06-04 Thread Peli
Hi, You do not need to specify an intent filter with action and data. You can use directly the component and class names in your intent. Peli www.openintents.org On Jun 4, 10:02 am, aayush abhatnagar192...@gmail.com wrote: Hello, I had some conceptual doubts about Intents. Let me explain

[android-developers] Re: Sharing common view layouts and resources across multiple Android applications (APKs)

2009-06-04 Thread Peli
You can access resources of other packages through the resource manager. The best way to reuse components in Android though is to implement activities that can be called from other activities through intents. Peli www.openintents.org On Jun 2, 8:09 pm, Nag raju...@gmail.com wrote: I am

[android-developers] Re: 30 Days of Android Applications

2009-06-02 Thread Peli
/trunk/extensions/ROT13 Maybe count the number of words currently selected, or make all text UPPERCASE, or reverse or translate or search or find a synonym, Peli www.openintents.org On Jun 2, 12:44 pm, lucky4me bakhtiyo...@gmail.com wrote: Day 02: Flashlighthttp://bakhtiyor.com/2009/06

[android-developers] Re: Order MENU items

2009-06-01 Thread Peli
You could put two empty dummy icons into the second row: icon | icon | icon | icon | (or you write your own menu-button-handling-custom-menu-display routine) Peli www.openintents.org On 31 Mai, 16:18, guruk ilovesi...@gmail.com wrote: Hi, is there a way i can say 3 items in the top row

[android-developers] Re: Adding intent filter in code

2009-05-29 Thread Peli
I thought, (1) only works for broadcast intents, not for activity intents? Does (2) work for activity intents? Peli On May 29, 4:25 am, Mark Murphy mmur...@commonsware.com wrote: My question is that is it possible to add an intent-filter in code, for example from a background service? I

[android-developers] Re: How should I call an application from another application?

2009-05-23 Thread Peli
Using intents. http://developer.android.com/reference/android/content/Intent.html You can browse through a few examples here: http://www.openintents.org/en/applications Peli www.openintents.org On 23 Mai, 06:30, iou200...@gmail.com iou200...@gmail.com wrote: As the subject ,I want to know How

[android-developers] Re: How can I determine the intent

2009-05-12 Thread Peli
Try Google Code Search: http://www.google.com/codesearch?q=android.provider.Telephony.SMS_RECEIVED Peli www.openintents.org On May 12, 10:51 am, arnouf arnaud.far...@gmail.com wrote: Hi all, I would like to know how  can I determine the value to put in an ACTION tag in AndroidManifest

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread Peli
): Simply re-building the project is not sufficient. Somehow one needs to modify any file to let the system know that it needs to purge all internal caches or so(?) Let me know if this works for you... Peli On May 12, 2:53 am, Keith Wiley kbwi...@gmail.com wrote: My code builds fine under the old

[android-developers] Re: what is ms for 60000ms, is it ms for Milli second OR for micro second?

2009-05-04 Thread Peli
I believe it is milliseconds, that is 60 seconds. Microseconds is usually abbreviate as us if µs is not available on the keyboard. Simply set minTime to a value greater than 6 and you are on the safe side. Peli On May 4, 12:24 pm, jj jagtap...@gmail.com wrote

[android-developers] Re: Missing avds

2009-04-30 Thread Peli
 When I deleted the third one, all avds were gone including the default ones. There are no default avds. After a clean install, you don't have any. You have 3 default targets. Peli --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Possible IMF issue for existing applications

2009-04-30 Thread Peli
I achieved backward compatibility with the following attribute: android:numeric=integer The soft keyboard opens just fine, with the digits in the top row. Peli www.openintents.org On Apr 30, 12:47 pm, Tom Gibara m...@tomgibara.com wrote: The problem is that android:inputType was introduced

[android-developers] Re: retrieve all the images in phone and sdcard

2009-04-29 Thread Peli
(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, null, null, null, null); Peli www.openintents.org On 30 Apr., 00:34, Xian Chen hoganx...@gmail.com wrote: Maybe I did not make the question clear. What I want to do is retrieving all the images in phone and sdcard, including file name, and image size

[android-developers] Re: Is there a paid technical support program for developers?

2009-04-06 Thread Peli
, in which area do you look for information? (content providers, intents, graphics, optimization, ...?) Some people in this group have 1+ year experience developing for android, and may help you with your particular problem (and gladly accept payment). See e.g. www.openintents.biz Peli

[android-developers] Is there a way for an application to know whether it has been downloaded from Market?

2009-04-06 Thread Peli
this? Peli --~--~-~--~~~---~--~~ 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

[android-developers] Re: Photo Picker

2009-04-05 Thread Peli
(MediaStore.Images.ImageColumns.DATA); String fname = cursor.getString(idx); Peli www.openintents.org On 1 Apr., 16:03, Bobbie bobbie.st...@gmail.com wrote: Here's my debug errors: 04-01 10:01:33.318: ERROR/AndroidRuntime(30289): Uncaught handler: thread main exiting due to uncaught exception 04-01 10:01:33.418

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-03 Thread Peli
the button is pressed or not, selected, ... Probably someone else knows a better tutorial for stateful drawables? Peli www.openintents.org On Apr 2, 11:01 pm, guruk ilovesi...@gmail.com wrote: a complete redesign... :) for sure always a nice idea.. just not practical now. #1 what you mean

[android-developers] Re: Looking for a few co developers

2009-04-03 Thread Peli
already a couple of applications that communicate via open intents, and we are always interested in expanding the range of applications that use or provide intents. Here is our group: http://groups.google.com/group/openintents http://code.google.com/p/openintents/ www.openintents.org Peli

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-31 Thread Peli
... Peli On Mar 31, 1:28 am, Noam noam.ha...@gmail.com wrote: Yes, I have tried that but it still doesn't work. I think it's because both of the PreferenceScreens are in the same .java file, so it never gets to the onResume() point. --~--~-~--~~~---~--~~ You

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Peli
How do you know that i is equal to 1 on screen A and i equal to 2 on screen B? Where do you set it? Can't you check there directly? Have you looked at the API demos for PreferenceActivity? Peli On Mar 30, 5:42 am, Noam noam.ha...@gmail.com wrote: Thanks Peli for your contribution to my

[android-developers] Re: R not re-generating in Eclipse after rename of the package

2009-03-30 Thread Peli
or in your layout files, then R.java should be created. Do you see it already? Peli On Mar 30, 7:20 am, Mariano Kamp mariano.k...@gmail.com wrote: Hey Peli,   what do you mean? Like com.a.MyView? I specified them fully qualified, so that shouldn't be a problem, or should it? Cheers, Mariano

[android-developers] Re: Application that loops every minute - how to efficiently do it

2009-03-30 Thread Peli
There was a blog with demo code for a timer some time ago: http://android-developers.blogspot.com/2007/11/stitch-in-time.html (oops, 2007.. am I getting old?) Peli www.openintents.org On Mar 30, 3:22 pm, Mark Murphy mmur...@commonsware.com wrote: simonc wrote: Apparently the when you sleep

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Peli
Have you tried to override the onResume() method of your PreferenceActivity? http://developer.android.com/reference/android/preference/PreferenceActivity.html Peli On Mar 31, 12:27 am, Noam noam.ha...@gmail.com wrote: How do you know that i is equal to 1 on screen A and i equal to 2 on screen

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Peli
Whenever i = 2, I want to run a certain method. Is there a way to get this to work? if (i == 2) { runCertainMethod(); } I'm sure this is *not* what you wanted to know, but I have no idea what your i is and who sets it... Peli www.openintents.org On Mar 26, 12:49 am, Noam noam.ha

  1   2   3   4   >