[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 wrote: > Making it work on 1.5 and earlier is not actually so simple, because of the > way th

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

2011-06-05 Thread Peli
Android 1.1 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 gro

[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 wrote: > I am about to relea

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

2009-12-13 Thread Peli
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: 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 wrote: > Hai, >     I am newbie to Android ,Hence can you explain it in detail . > > Thanks in Advance, >

[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 wrote: > Hi! > I have an issue : I set Theme.Translucent.NoTitleBar.Fullscreen for my > app, b

[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 wrote: > I'm trying to manage

[android-developers] Question on ADC2 signup for teams

2009-08-30 Thread Peli
I have not been prompted 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] Re: How to use the RotationMatrix, actually how to get it

2009-08-26 Thread Peli
es surrounding float. 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 wrote: >

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

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

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

2009-08-24 Thread Peli
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)" wrote: > The submission site for ADC 2 is now live! For

[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 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 >

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

2009-08-24 Thread Peli
uot;, 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 wrote: > This site is using the same infrastructure as the Android Market and shares > a unified namespace, primarily to avoid "squatting"

[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 wrote: > He

[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 wrote: > i have an incredibly weird issue -- > > I have an image button -- > >              android:layout_width="wrap_content" >              androi

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

2009-08-20 Thread Peli
rint out (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,

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

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

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

2009-07-22 Thread Peli
t, but you could try out both and weigh speed against looks. Peli On Jul 16, 10:16 am, elDoudou 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

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

2009-07-20 Thread Peli
bove the EditText and set its 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, 单单 wrote: > Hi All, here is a lay

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

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

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

2009-07-20 Thread Peli
ring through 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.o

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

2009-07-20 Thread Peli
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 wrote: > It didnt help me.. > > Thanks > > On Jul 17, 6:59 pm, Peli wrote: > > > Why don&#

[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 wrote: > Hi and thanks for the reply. > > To be hon

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

2009-07-17 Thread Peli
be better/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 wrote: > Hello, > > I have a problem with working with the ORIENTATION values of the > SensorManager. > I

[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 wrote: > Hi, > > I wanted to check whether there is any JAVA Coding standards i

[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: 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.openinten

[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 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 pos

[android-developers] Re: about use notification to goto other activity

2009-07-17 Thread Peli
Is your class c extended from Activity? Have you defined this activity c in your Manifest? Have you set android:exported="true" if you did not specify an explicit intent filter? Peli www.openintents.org On Jul 16, 10:04 am, tstanly wrote: > hi all, > > can use notific

[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 wrote: > I know I can do t

[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 wrote: > Hi Guys, > > How do i draw a dotted rectangle on a bitmape. > > Currently i use the following code, to draw a rectan

[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 wrote: > Hi, > > I am using openContextMenu() when someone clicks on an item of a

[android-developers] Re: EditText

2009-07-17 Thread Peli
swap it with the existing TextView class as I suggested above. Peli www.openintents.org On Jul 17, 3:38 pm, peeyush varshney 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 wrote:

[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 wrote: > How to create an HTTP request object of POST type in android? Which > class need to be extend or what method need to implement? How to

[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: Question about setComponent() of Iintent

2009-07-17 Thread Peli
the documented 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 wrote: > Thank you. > > I am trying to resolve/work around a problem which I am hav

[android-developers] Re: EditText

2009-07-17 Thread Peli
Why don't you simply use EditText? Peli www.openintents.org On Jul 17, 11:15 am, peeyush varshney wrote: > Hi, >          How to make a TextView Editable. > > -- > Thank & Regards > Peeyush Varshney --~--~-~--~~~---~--~~ You received t

[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 wrote: > hi > > how can I register my app to show in 'complete action using dialog'? > Thank you. --~--~-~--~~~---

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

2009-07-15 Thread Peli
then a couple 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

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

2009-07-15 Thread Peli
where 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 wrote: > There is

[android-developers] Re: File Browser Integration

2009-07-15 Thread Peli
ugh, if someone interested reads this post :-) ) Peli www.openintents.org On Jul 15, 6:43 pm, Dianne Hackborn wrote: > Hi Peli, maybe it's already done, but have you considered having this > support GET_CONTENT so that apps can just use the normal GET_CONTENT to have > the user select som

[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 1

[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: things turning on in the night

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

[android-developers] Re: Application gets killed due to a timeout

2009-07-07 Thread Peli
quot; Whatever you do, you have to make sure that your *broadcast receiver* returns as quickly as possible. There are no limits on a background service once it is running. Peli www.openintents.org On Jul 7, 11:57 am, denismo wrote: > Hi, > > since Cupcake our application became very uns

[android-developers] Re: AlarmManager nothing happening

2009-07-07 Thread Peli
nsider donating here: http://www.openintents.org/en/contribute :-) Peli www.openintents.org On Jul 4, 12:33 am, dapaintballer331 wrote: > I've been modifying things ALL DAY trying to get this to work, please > help. > > I have a broadcast receiver that recieves a "boot completed" sign

[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

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

2009-07-05 Thread Peli
rent directory when changing screen 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 wrote: > The documentation makes it sound that it would normally BE called, > thats why I was wonde

[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 wrote: > Is there a way to get the reference to the option menu, from outside > of onCreateOptionsMenu? > > I tried findViewById (for Menu and MenuItem), but it

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

2009-07-03 Thread Peli
a file location (because that is the activity on top of the OI Notepad stack). Peli www.openintents.org On Jul 3, 12:06 pm, Android Development wrote: > I had a question regarding this concept. > Suppose i have an application that defines a task. This task has some > activities that b

[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 wrote: > > > > > well t

[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
=ce9063f14287377cb31ff0272b6d425a212d691e;hb=HEAD Peli On Jul 2, 6:54 pm, Dianne Hackborn 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 wrote: >

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

2009-07-02 Thread Peli
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 wrote: > Please don't hard-code component names of other packages.  Those are > implementation details, and y

[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 w

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

2009-07-02 Thread Peli
[ ] I 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 wrote: > no.. > i use x86 machine. > > On Jul 2, 8:33 pm, Lex wrote: > > > Did I g

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

2009-07-02 Thread Peli
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 wrote

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

2009-07-01 Thread Peli
submit 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 wrote: > Thats precisely my query is? Say

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

2009-07-01 Thread Peli
whether it should work. Peli www.openintents.org On Jul 1, 12:16 pm, Richard Schilling 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: 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 wrote: > I checked with my Vodafone branded HTC Magic (using Android 1.5 API). > Using SensorEventListener and the following c

[android-developers] Re: Accelerometer data

2009-06-30 Thread Peli
ing flat 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" wrote: >

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 wrote: > Hi, yes when my application starts, i am getting

[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 wrote: &g

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

2009-06-28 Thread Peli
available here: http://code.google.com/p/openintents/downloads/list?q=file+manager Peli On 28 Jun., 16:29, Derek wrote: > You can install AndExplorer and use the Intent allowing to select a > file or directory. > Here is a code sample: > > ... > int PICK_REQUEST_CODE = 0;

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

2009-06-26 Thread Peli
xactly 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.openinten

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

2009-06-26 Thread Peli
ng on the real device in the end. Peli www.openintents.org On Jun 26, 9:19 am, David Turner wrote: > On Wed, May 27, 2009 at 1:40 PM, sarang 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 >

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

2009-06-26 Thread Peli
ou want 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 wrote: > Hi All, > > I have a quer

[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 wrote: > ACTION_TIME_TICK occurs every minute. I need an action which will > occur every second because I'm trying to display the

[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 wrote: > I have an activity imageCapture.java which extends activity and ta

[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" wrote:

[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 wrote: > Hi everybody, > > Currently I am working on chat messenger and I want to make chat > window. any one can help me regarding th

[android-developers] Re: How to create toggle buttons that have 'jointed' appereance?

2009-06-25 Thread Peli
You would have to create custom drawables and assign them to the buttons. Peli www.openintents.org On Jun 24, 1:51 pm, fhucho wrote: > Hi, > how can I create a group of 3 toggle buttons that look like there are > a single widget (they look 'jointed'). > If it is not clea

[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: 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: 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 http://code.google.com/p/openintents/source/browse/trunk/VoiceNote/AndroidManifest.xml Peli www.openintents.org On Jun 24, 3:44 pm, s wrote: > How can I cause my app to ad

[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 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 > act

[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 wrote: > hi all, > > in thehttp://developer.android.com/reference/android/content/Intent.html > there are constant "FLAG_ACTIVITY_CLEAR_TOP" > and setFlag

[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 wrote: > Swathi, > > Did you ever figure this one out?? > > Thanks, > double >

[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 wrote: > Thank you. I have tried to do the s

[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 wrote: > Sorry, I wasn't clear. That "putExtra" call actually crashes the > program, which is why I'm so stu

[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 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 tr

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

2009-06-23 Thread Peli
s ago; 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 wrote: > Hi All, > > From the past two days I have been c

[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 wro

[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 wrote: > I am working on develop

[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 wrote: > Hello, > > I had some conceptual doubts about Intents. Let me explain it with > re

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

2009-06-02 Thread Peli
e.com/p/openintents/source/browse/#svn/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 wrote: > Day 02: Flashlighthtt

[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 wrote: > Hi, is there a way i can say 3 items in the top row and 1 icon in

[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" wrote: > > My question is that is it possible to add an intent-filter in code, > > for example from a background servi

[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" wrote: > As the subject ,I want to know How

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

2009-05-12 Thread Peli
ly. The strange step is (2): 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 wrote: > My code builds fine

[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 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: 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 wrote: > in the reques

[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 wrote: > The problem is that android:inputType was introduced

[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 su

[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 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. But I

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

2009-04-06 Thread Peli
hieve 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 e

[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] Re: Photo Picker

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

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

2009-04-03 Thread Peli
have 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

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

2009-04-03 Thread Peli
on whether 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 wrote: > a complete redesign... :) for sure always a nice idea.. just not > practical now. > > #1 w

  1   2   3   4   >