[android-developers] How to change image on focus and unfocus

2008-06-23 Thread Raj

How to chanage the image on focus and unfocus
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Is modeless window supported in Android?

2008-06-23 Thread ferne.ych

Hi hackbod,

Thanks a lot! The "Theme.Dialog" does work.
But could you pls tell me which flag in WindowManager.LayoutParams
can be used to the input behavior of a window? I tried some but none
seemed to do the job.

Best regards

On Jun 23, 2:19 pm, hackbod <[EMAIL PROTECTED]> wrote:
> For an activity that looks like a dialog, in your manifest just use
> android:theme="Theme.Dialog".
>
> For modeless windows, there are flags in WindowManager.LayoutParams
> that can be used to the input behavior of a window (though you
> probably only want to use these with dialog windows created inside of
> an activity, not on an activity window itself).
>
> On Jun 22, 7:15 pm, "ferne.ych" <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > Is modeless window supported in Android? Or can I run an Activity
> > like running a Dialog (If I click the area outside of its size, it
> > will disappear)?
>
> > Best regards
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: H264 implementation

2008-06-23 Thread rezar

I think you can use JNI to call your C classes but google for it, I
remember once I saw somebody did it.

On Jun 22, 8:16 am, rajesh <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I have an optimized version of H-264 written entirely in C language. I
> want to make use of this in my Media applications in Android. Can I use
> JNI to call this function. Or something else  please guide me.
>
> Thanks,
> Raj
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Null Pointer Exception

2008-06-23 Thread dolan kundu
Hi kenishant,

When a java file will create , in that case, only one (1) time
setContentView (R.layout.abcd) you can create.
And another case is, there must be some what mismatch with the java file and
the xml file.
so in these cases, NullPointerException can come.

Thanks,
Dolan.

On Sat, Jun 21, 2008 at 4:59 PM, redhatab <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> Am a total beginner and I was trying out to extrapolate on the Hello
> Android code, but I've sort of hit a road block with a null pointer
> exception. The code is as below:
>
> public class HelloAndroid extends Activity
> {
>   @Override
>   public void onCreate(Bundle icicle)
>   {
>   super.onCreate(icicle);
>
>   setContentView(R.layout.screen1);
>
>   Button btn = (Button) findViewById(R.id.hellobtn);
>   btn.setOnClickListener(new View.OnClickListener() {
> public void onClick(View view) {
> setContentView(R.layout.screen2);
> }
> });
>   }
> }
>
> As soon as I run this, the emulator gives me a null pointer exception.
>
> The res/layout/screen1.xml and res/layout/screen2.xml are working
> perfectly fine because when I just run
> setContentView(R.layout.screen1) without the onClickListener, both the
> screens work fine.
>
> I suppose the null pointer exception pops in the onClick function.
>
> Pls help!!
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] How to use Bundle and intent?

2008-06-23 Thread Pierre

Hi, all,

Anyone can tell me how to put data into a Bundle and then put it into
an intent?
Can you give me some simple code of how to use it?
I can not understand very well "android.os.bundle" and "intent" in the
SDK document.

Thanks in advance!

Pierre

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to use Bundle and intent?

2008-06-23 Thread Danny

I would highly recommend you go through the NotePad tutorial, all 3 of
them, in order.

On Jun 23, 7:57 am, Pierre <[EMAIL PROTECTED]> wrote:
> Hi, all,
>
> Anyone can tell me how to put data into a Bundle and then put it into
> an intent?
> Can you give me some simple code of how to use it?
> I can not understand very well "android.os.bundle" and "intent" in the
> SDK document.
>
> Thanks in advance!
>
> Pierre
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] JavaMail

2008-06-23 Thread mikas

Hi,

I'm still stuck with a problem and I need some help.
The thing is when I add jaf-1_1_1 and
javamail-1_4_1 libraries to an android project,
for example test, as soon as I add these two libraries
test.apk is deleted from /bin folder, but it happens as well,
that as soon as I remove these two libraries, test.apk
is back in /bin folder and I can start the emulator with
Hello World, Test.

Any suggestion would be very much appreciated.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: signal processing using android

2008-06-23 Thread eryksun

Why perpetuate Mathworks' stranglehold on technical computing into yet
another platform? They can keep their mediocre, bloated software that
costs tens of thousands of dollars...

A better option would be to port a scaled-down version of Scilab:
http://www.scilab.org

which has a rough equivalent to Simulink (though incompatible):
http://www.scilab.org/doc/scicos_html/

If a GUI simulator like Simulink isn't required, IMO the best option
would be to learn Python and port SciPy (inluding ipython and
matplotlib):

http://www.scipy.org
http://www.scipy.org/NumPy_for_Matlab_Users

And neural networking packages:

Monte Python: http://montepython.sourceforge.net
ffnet: http://ffnet.sourceforge.net

Hopefully not too much would need updating from the standard Linux
distros. Python would, no doubt, already be installed on the phone, so
this would be an efficient use of limited resources.

On Jun 22, 12:04 am, ann <[EMAIL PROTECTED]> wrote:
> hi,
> is it possible to install Matlab Simulink, Neural networks and  signal
> processing softwares in Android ?
>
> Regards,
> Ann

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How do we host an Android application?

2008-06-23 Thread TrackDroid1

Hi

(I assume you client has a Windows OS)
The usual way is to:
1) tell client to download the SDK
2) unzip it somewhere (and drop the shortcut to emulator.exe on
desktop)
3) download your application from your url
4) run the "adb install " from the
directory where adb.exe is located
5) repeat 3) and 4) for every new version you release.


You can also register your application on www.trackdroid.com
Then we have prepared a Android/TrackDriod package for non-developers.
See http://www.trackdroid.com/download - "Emulator package"
Client will be able to find/install your application using trackdroid
client and then every update you do to your application - it will be
delivered to your client.

But there is a downside, we only host public applications, so if you
agree to let other users install your application - you are welcome :)

On Jun 21, 9:17 am, Prem <[EMAIL PROTECTED]> wrote:
> Hi,
> I had finished my POC on Android by using eclipse . I want to host
> this application so that my client will access this application. Guide
> me how to do this. Also I want to mention domain name of my
> application and give the url to client to access my application.
> Basically how should I deploy the application and give access to
> remote client to have a look into the application at any time they
> want as I dont want them to install eclipse and plug-in for android on
> their machine.
>
> Thanks in advance.
>
> Prem.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Javamail "no such label 0104"

2008-06-23 Thread Justin (Google Employee)

What version of Windows? There are a few out there. :-)

Cheers,
Justin
Android Team @ Google

On Jun 19, 12:29 am, Karys <[EMAIL PROTECTED]> wrote:
> I'm using android-sdk_m5-rc15 on Windows
>
> Thanks for your interest to my problem
> Karys
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Is modeless window supported in Android?

2008-06-23 Thread hackbod

These are the relevant ones:

http://code.google.com/android/reference/android/view/WindowManager.LayoutParams.html#FLAG_NOT_FOCUSABLE

http://code.google.com/android/reference/android/view/WindowManager.LayoutParams.html#FLAG_NOT_TOUCHABLE

http://code.google.com/android/reference/android/view/WindowManager.LayoutParams.html#FLAG_NOT_TOUCH_MODAL

On Jun 23, 2:16 am, "ferne.ych" <[EMAIL PROTECTED]> wrote:
> Hi hackbod,
>
>     Thanks a lot! The "Theme.Dialog" does work.
>     But could you pls tell me which flag in WindowManager.LayoutParams
> can be used to the input behavior of a window? I tried some but none
> seemed to do the job.
>
> Best regards
>
> On Jun 23, 2:19 pm, hackbod <[EMAIL PROTECTED]> wrote:
>
> > For an activity that looks like a dialog, in your manifest just use
> > android:theme="Theme.Dialog".
>
> > For modeless windows, there are flags in WindowManager.LayoutParams
> > that can be used to the input behavior of a window (though you
> > probably only want to use these with dialog windows created inside of
> > an activity, not on an activity window itself).
>
> > On Jun 22, 7:15 pm, "ferne.ych" <[EMAIL PROTECTED]> wrote:
>
> > > Hi all,
>
> > >     Is modeless window supported in Android? Or can I run an Activity
> > > like running a Dialog (If I click the area outside of its size, it
> > > will disappear)?
>
> > > Best regards
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Check within App whether running on Android platform?

2008-06-23 Thread anduser1

How do I check in my Java app whether it is running on an android
platform or just any other Linux distribution on a PC?

Thanks,
 Dave

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Can mobile position itself?

2008-06-23 Thread Barco

I mean the mobile gets its position without GPS data.
With GPS we have to rely on carrier(like BT) or use additional
hardware which consumes much power.
Is there anyway to position mobile by communicating with
surroundings(eg. orther mobile)?

On Jun 20, 4:26 pm, viki <[EMAIL PROTECTED]> wrote:
> yes if the mobile is GPS enabled.
>
> On Jun 20, 7:24 am, Barco <[EMAIL PROTECTED]> wrote:
>
> > Can the mobile indicate exactly its position on the map anywhere?

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Javamail "no such label 0104"

2008-06-23 Thread oegono

Hi,

my first solution was to add only the needed jars (.javamail/lib/) and
to left out the imap.jar.

hope it works for you

On 18 Jun., 16:17, Karys <[EMAIL PROTECTED]> wrote:
> Hi everybody !
>
> I'm working with the eclipse's plugin and I'd like to know if it is
> normal to get this kind of error when I just add the javamail librairy
> (mail.jar) into my eclipse project and when the compilator build it. I
> don't write any code using mail.jar and I get the following error :
>
> ---
>
> UNEXPECTED TOP-LEVEL EXCEPTION:
> com.google.util.ExceptionWithContext: no such label 0104
> at
> com.google.util.ExceptionWithContext.withContext(ExceptionWithContext.java:
> 46)
> ...
> ...etc
> ...
> at com.google.cf.code.Ropper.convert(Ropper.java:255)
> at com.google.dex.cf.CfTranslator.processMethods(CfTranslator.java:
> 331)
> ... 22 more
> ...while processing open (I)V
> ...while processing com/sun/mail/imap/IMAPFolder.class
>
> 1 error; aborting
> Conversion to Dalvik format failed with error 1
>
> 
>
> I suppose it can't convert IMAPFolder.class with dx tool
> Does someone have a solution ?
>
> Thanks a lot
> Karys
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] APN specification

2008-06-23 Thread not-the-red-pill

Is there a way to specify which data tunnel (APN) to use on a given
connection?

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---