[android-developers] Re: regarding call handling and screen off

2011-09-21 Thread Zsolt Vasvari
Sure, here's a link for you:

http://goo.gl/9jY1G

On Sep 22, 1:44 pm, nageswara rao rajana 
wrote:
> Please can you provide me sample code or related links for wakelock.
>
> On Thu, Sep 22, 2011 at 11:03 AM, Pratik Prajapati <
>
>
>
> pratik.prajap...@gmail.com> wrote:
> > use wakelock
>
> > On Wed, Sep 21, 2011 at 10:17 PM, nageswara rao rajana <
> > nagu.raj...@gmail.com> wrote:
>
> >> Hi,
>
> >>        I developed an application and android 2.1 api level, its working
> >> fine.But my request is when running application how to
> >>        handle calls and also screen should not off. So please help me.
>
> >>       Thanking you,
> >>        nagu.
>
> >> --
> >> 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-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en
>
> > --
> > Regards,
> > Pratik Prajapati
>
> >  --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Google Development phones

2011-09-21 Thread Christopher Van Kirk
Sure would be nice if Google published some device capability metrics, 
wouldn't it?


On 9/22/2011 1:36 PM, B.Arunkumar wrote:

Hi,

I am interested in this discussion. I would like to know whether
there is any Unlocked Android mobile with 1GHz Processor and GPU with
Android Froyo/Gingerbread OS priced around $150-200?

Actually, we have have developed an application to use FFMPEG and
render video frames. Currently, we have a LG Optimus One mobile which
has a 600 Mhz processor. The problem is that we are getting a slower
frame rate at 640 * 480 resolution. We are thinking of buying a mobile
which has a higher configuration as mentioned above. Would anybody
know whether the performance of our app is likely to better on this
mobile?

B.Arunkumar

On Sep 22, 7:22 am, kypriakos  wrote:

Good point - and I think the Nexus S is a bit overpriced. I had G1
phones
for a while (both the development and the retail versions) running
1.6
but I have not been able to upgrade the retail ones to 2.1 or 2.2. I
am assuming
the only images I can find are the Cyanmodegen ones?

A Verizon developer told me they are developing on primarily Motorola
phones
and it seems that they are still using Droids which makes your point
valid.
I did check out the pie chart of the Android OS distribution on
devices and
yes 2.1 is still at 18% and the bulk of it is on 2.2 etc. So it makes
sense
to take it easy on the platforms I should use.

Is it easy to root such phones? I know that it is not necessary to go
through
the risk of rooting phones since non rooted phones can suffice.

On Sep 21, 12:59 pm, Christopher Van Kirk

  wrote:

The "original" developer phone was the G1.
Then came the Magic/G2.
Then came the Nexus One.
The current developer phone is the Nexus S, but it's an open question
whether you really want to get one. The Nexus S is always closest to the
bleeding edge of the phone operating system. The rest of the market,
however, is still pretty far behind (I think something like 60% still
runs Android 2.2, and if you look at Verizon's stable of phones, very
few are>  2.2). So if you're developing for mass consumption it might be
better to get something a bit more "retro."
On 9/22/2011 12:17 AM, Kristopher Micinski wrote:

The original development phone was the nexus one, however the concept
of an official "development phone" hasn't been around for a long time,
and people just generally use their own devices for development these
days.  As long as you buy a nice device (for what you want to do with
it) you should be fine, optionally one that you think you can quickly
root.
Kris
On Wed, Sep 21, 2011 at 9:55 AM, kypriakoswrote:

Hi all,
the Market lists only one phone, the Nexus One and it says it is not
longer
available. Does that mean that Google is out of stock or does it mean
that
they are simply switching to a new phone and so this was off their
pages?
Thanks
On Aug 18, 1:26 pm, Mark Ayerswrote:

The Nexus phones will always get updates quickest, though I'd be willing to
bet that after the Nexus Prime, they will all be made by Motoogle.
On Aug 18, 2011 6:06 AM, "ColorTheorist"
wrote:

"Sorry, that was just a throwaway comment. Eventually Motorola will
become the gold standard for Android phones due to their proximity to
the software, but in the short term they're no different than any
other
device. If whoever it was needs a phone today any of the phones that
are
out there should be fine."
That's not entirely true. Motorola phones are still on top of their
updates faster than most other devices, while other cheaper phones
might not receive updates at all, or take quite an extensive amount of
time to get the newest releases. As a developer it is useful to get
the newest updates in a timely manner if you plan on using them
anywhere near the newest OS release.
--
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en




--
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Problem with GT-I9000

2011-09-21 Thread Fadil Kamal
How to faster my GT-I9000? It always lag
Please help me

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] problem with Mediaplayer onBufferingUpdateListener and onPreparedListener.

2011-09-21 Thread Boram Han

I am using MediaPlayer to play music through url. (streaming)
It is playing fine most of deivces.
But for some devices it works strangely.
Here is log.

--
09-22 14:49:39.650: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=7
09-22 14:49:39.650: DEBUG/MusicPlayService(2862): false
09-22 14:49:39.650: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=100
09-22 14:49:39.660: DEBUG/MusicPlayService(2862): false
09-22 14:49:39.660: DEBUG/MusicPlayService(2862): onPrepared
09-22 14:49:39.680: DEBUG/MusicPlayService(2862): OnInfo :
what=1 ,extra=902
09-22 14:49:40.651: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=11
09-22 14:49:40.651: DEBUG/MusicPlayService(2862): true
09-22 14:49:41.662: DEBUG/MusicPlayService(2862): onBufferingUpdate,
percent=13
---
true or false means mediaplay.isPlaying()'s return value.

Thought onPrepared is not called, onBufferingUpdate is called.
When buffering reaches 100%, mediaplayer's state is changed to
"prepared state"
is it correct?

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Getting null value while retrieving _id value from database

2011-09-21 Thread Krishna Prasad
im using "_id" as auto increment .SO  is that a problem?

On Thu, Sep 22, 2011 at 1:49 AM, Krishna Prasad <
krishnaprasadrs.1...@gmail.com> wrote:

> Hi all,
>
> Iam getting null value from colum_id while im trying to  save it in a
> variable.But the thing is,im getting other column's value correctly.
>
>
> here is the sample database code
>
> public Cursor getWebFields(String FormId) {
>SQLiteDatabase db = this.getReadableDatabase();
>String WebFields = "select * from web_field  where form_id="
> +
> FormId
>+ " ORDER BY field_order";
>
>return (db.rawQuery(WebFields, null));
>}
>
>
> Retrieve code
>
>cur = dbase.getWebFields(FormId);
>
>if (cur != null) {
>
>while (cur.moveToNext()) {
>
>RowId= cur.getString(cur.getColumnIndex("_id"));
>
>FieldId =
> cur.getString(cur.getColumnIndex("real_type_id"));
>FieldLabel =
> cur.getString(cur.getColumnIndex("field_label"));
>
> }
> }
>
>
> can anybody point out the error?
>
>
> Thanks in advance
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] regarding camera issue

2011-09-21 Thread nageswara rao rajana
Hi,

I developed an application in android 2.1 api, in which i
implemented camera service it is working fine in samsung pop,
but camera activity is not working in HTC. Please any one tell what
might be the issue.


Thanking you,
 nagu.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Getting null value while retrieving _id value from database

2011-09-21 Thread Krishna Prasad
Hi all,

Iam getting null value from colum_id while im trying to  save it in a
variable.But the thing is,im getting other column's value correctly.


here is the sample database code

public Cursor getWebFields(String FormId) {
SQLiteDatabase db = this.getReadableDatabase();
String WebFields = "select * from web_field  where form_id=" +
FormId
+ " ORDER BY field_order";

return (db.rawQuery(WebFields, null));
}


Retrieve code

cur = dbase.getWebFields(FormId);

if (cur != null) {

while (cur.moveToNext()) {

RowId= cur.getString(cur.getColumnIndex("_id"));

FieldId = 
cur.getString(cur.getColumnIndex("real_type_id"));
FieldLabel = 
cur.getString(cur.getColumnIndex("field_label"));

}
}


can anybody point out the error?


Thanks in advance

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] regarding call handling and screen off

2011-09-21 Thread nageswara rao rajana
Please can you provide me sample code or related links for wakelock.

On Thu, Sep 22, 2011 at 11:03 AM, Pratik Prajapati <
pratik.prajap...@gmail.com> wrote:

> use wakelock
>
> On Wed, Sep 21, 2011 at 10:17 PM, nageswara rao rajana <
> nagu.raj...@gmail.com> wrote:
>
>> Hi,
>>
>>I developed an application and android 2.1 api level, its working
>> fine.But my request is when running application how to
>>handle calls and also screen should not off. So please help me.
>>
>>   Thanking you,
>>nagu.
>>
>> --
>> 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-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Regards,
> Pratik Prajapati
>
>
>
>  --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Google Development phones

2011-09-21 Thread B.Arunkumar
Hi,

   I am interested in this discussion. I would like to know whether
there is any Unlocked Android mobile with 1GHz Processor and GPU with
Android Froyo/Gingerbread OS priced around $150-200?

   Actually, we have have developed an application to use FFMPEG and
render video frames. Currently, we have a LG Optimus One mobile which
has a 600 Mhz processor. The problem is that we are getting a slower
frame rate at 640 * 480 resolution. We are thinking of buying a mobile
which has a higher configuration as mentioned above. Would anybody
know whether the performance of our app is likely to better on this
mobile?

B.Arunkumar

On Sep 22, 7:22 am, kypriakos  wrote:
> Good point - and I think the Nexus S is a bit overpriced. I had G1
> phones
> for a while (both the development and the retail versions) running
> 1.6
> but I have not been able to upgrade the retail ones to 2.1 or 2.2. I
> am assuming
> the only images I can find are the Cyanmodegen ones?
>
> A Verizon developer told me they are developing on primarily Motorola
> phones
> and it seems that they are still using Droids which makes your point
> valid.
> I did check out the pie chart of the Android OS distribution on
> devices and
> yes 2.1 is still at 18% and the bulk of it is on 2.2 etc. So it makes
> sense
> to take it easy on the platforms I should use.
>
> Is it easy to root such phones? I know that it is not necessary to go
> through
> the risk of rooting phones since non rooted phones can suffice.
>
> On Sep 21, 12:59 pm, Christopher Van Kirk
>
>  wrote:
> > The "original" developer phone was the G1.
>
> > Then came the Magic/G2.
>
> > Then came the Nexus One.
>
> > The current developer phone is the Nexus S, but it's an open question
> > whether you really want to get one. The Nexus S is always closest to the
> > bleeding edge of the phone operating system. The rest of the market,
> > however, is still pretty far behind (I think something like 60% still
> > runs Android 2.2, and if you look at Verizon's stable of phones, very
> > few are > 2.2). So if you're developing for mass consumption it might be
> > better to get something a bit more "retro."
>
> > On 9/22/2011 12:17 AM, Kristopher Micinski wrote:
>
> > > The original development phone was the nexus one, however the concept
> > > of an official "development phone" hasn't been around for a long time,
> > > and people just generally use their own devices for development these
> > > days.  As long as you buy a nice device (for what you want to do with
> > > it) you should be fine, optionally one that you think you can quickly
> > > root.
>
> > > Kris
>
> > > On Wed, Sep 21, 2011 at 9:55 AM, kypriakos  wrote:
> > >> Hi all,
>
> > >> the Market lists only one phone, the Nexus One and it says it is not
> > >> longer
> > >> available. Does that mean that Google is out of stock or does it mean
> > >> that
> > >> they are simply switching to a new phone and so this was off their
> > >> pages?
>
> > >> Thanks
>
> > >> On Aug 18, 1:26 pm, Mark Ayers  wrote:
> > >>> The Nexus phones will always get updates quickest, though I'd be 
> > >>> willing to
> > >>> bet that after the Nexus Prime, they will all be made by Motoogle.
> > >>> On Aug 18, 2011 6:06 AM, "ColorTheorist"
> > >>> wrote:
>
> >  "Sorry, that was just a throwaway comment. Eventually Motorola will
> >  become the gold standard for Android phones due to their proximity to
> >  the software, but in the short term they're no different than any
> >  other
> >  device. If whoever it was needs a phone today any of the phones that
> >  are
> >  out there should be fine."
> >  That's not entirely true. Motorola phones are still on top of their
> >  updates faster than most other devices, while other cheaper phones
> >  might not receive updates at all, or take quite an extensive amount of
> >  time to get the newest releases. As a developer it is useful to get
> >  the newest updates in a timely manner if you plan on using them
> >  anywhere near the newest OS release.
> >  --
> >  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-developers+unsubscr...@googlegroups.com
> >  For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
> > >> --
> > >> 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-developers+unsubscr...@googlegroups.com
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/android-developers?hl=en
>
>

-- 
You received this message because you are subscribed to the Goog

Re: [android-developers] regarding call handling and screen off

2011-09-21 Thread Pratik Prajapati
use wakelock

On Wed, Sep 21, 2011 at 10:17 PM, nageswara rao rajana <
nagu.raj...@gmail.com> wrote:

> Hi,
>
>I developed an application and android 2.1 api level, its working
> fine.But my request is when running application how to
>handle calls and also screen should not off. So please help me.
>
>   Thanking you,
>nagu.
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Regards,
Pratik Prajapati

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Unable to instantiate application

2011-09-21 Thread Andrew
I got an exception from Android Market recently for many times. I
tested my application on several devices, and cannot reproduce this
exception. I have no idea about that. Need help!

-
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to instantiate application
com.ninesky.browser.BrowserApp: java.lang.NullPointerException
at android.app.LoadedApk.makeApplication(LoadedApk.java:490)
at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:
3809)
at android.app.ActivityThread.access$2200(ActivityThread.java:132)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
1082)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:4293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at
android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:
353)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:298)
at android.app.LoadedApk.makeApplication(LoadedApk.java:472)
... 11 more

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] regarding call handling and screen off

2011-09-21 Thread nageswara rao rajana
Hi,

   I developed an application and android 2.1 api level, its working
fine.But my request is when running application how to
   handle calls and also screen should not off. So please help me.

  Thanking you,
   nagu.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: C2DM - phone send data back to Google Cloud (in addition to normal Cloud to Phone)?

2011-09-21 Thread Sourav Howlader
Hi NickL,

What Streets said is correct.
Check this C2DM documentation
http://code.google.com/android/c2dm/

Regards,
Sourav

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Block the upgrade

2011-09-21 Thread Dianne Hackborn
Also if you are using the license check or anything that requires the app be
modified to be pirated, the pirate will need to sign it with their own cert
which will not match that of the real app so not be compatible as an update.

On Wed, Sep 21, 2011 at 5:40 PM, TreKing  wrote:

> On Wed, Sep 21, 2011 at 7:38 PM, Spiral123  wrote:
>
>> I suspect the OP is concerned that someone may obtain a pirated copy
>> of his app and then subsequently upgrade it from the Android market
>> without ever paying for it.
>>
>
> In that case, the Market does not allow downloading an upgrade to a paid
> app you have not paid for. You can see for yourself. Build an old version of
> your paid app and try to download the paid version from the market. It
> prompts you to buy (which you of course can't as the developer).
>
>
>
> -
> TreKing  - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Google Development phones

2011-09-21 Thread kypriakos

Good point - and I think the Nexus S is a bit overpriced. I had G1
phones
for a while (both the development and the retail versions) running
1.6
but I have not been able to upgrade the retail ones to 2.1 or 2.2. I
am assuming
the only images I can find are the Cyanmodegen ones?

A Verizon developer told me they are developing on primarily Motorola
phones
and it seems that they are still using Droids which makes your point
valid.
I did check out the pie chart of the Android OS distribution on
devices and
yes 2.1 is still at 18% and the bulk of it is on 2.2 etc. So it makes
sense
to take it easy on the platforms I should use.

Is it easy to root such phones? I know that it is not necessary to go
through
the risk of rooting phones since non rooted phones can suffice.

On Sep 21, 12:59 pm, Christopher Van Kirk
 wrote:
> The "original" developer phone was the G1.
>
> Then came the Magic/G2.
>
> Then came the Nexus One.
>
> The current developer phone is the Nexus S, but it's an open question
> whether you really want to get one. The Nexus S is always closest to the
> bleeding edge of the phone operating system. The rest of the market,
> however, is still pretty far behind (I think something like 60% still
> runs Android 2.2, and if you look at Verizon's stable of phones, very
> few are > 2.2). So if you're developing for mass consumption it might be
> better to get something a bit more "retro."
>
> On 9/22/2011 12:17 AM, Kristopher Micinski wrote:
>
>
>
>
>
>
>
> > The original development phone was the nexus one, however the concept
> > of an official "development phone" hasn't been around for a long time,
> > and people just generally use their own devices for development these
> > days.  As long as you buy a nice device (for what you want to do with
> > it) you should be fine, optionally one that you think you can quickly
> > root.
>
> > Kris
>
> > On Wed, Sep 21, 2011 at 9:55 AM, kypriakos  wrote:
> >> Hi all,
>
> >> the Market lists only one phone, the Nexus One and it says it is not
> >> longer
> >> available. Does that mean that Google is out of stock or does it mean
> >> that
> >> they are simply switching to a new phone and so this was off their
> >> pages?
>
> >> Thanks
>
> >> On Aug 18, 1:26 pm, Mark Ayers  wrote:
> >>> The Nexus phones will always get updates quickest, though I'd be willing 
> >>> to
> >>> bet that after the Nexus Prime, they will all be made by Motoogle.
> >>> On Aug 18, 2011 6:06 AM, "ColorTheorist"
> >>> wrote:
>
>  "Sorry, that was just a throwaway comment. Eventually Motorola will
>  become the gold standard for Android phones due to their proximity to
>  the software, but in the short term they're no different than any
>  other
>  device. If whoever it was needs a phone today any of the phones that
>  are
>  out there should be fine."
>  That's not entirely true. Motorola phones are still on top of their
>  updates faster than most other devices, while other cheaper phones
>  might not receive updates at all, or take quite an extensive amount of
>  time to get the newest releases. As a developer it is useful to get
>  the newest updates in a timely manner if you plan on using them
>  anywhere near the newest OS release.
>  --
>  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-developers+unsubscr...@googlegroups.com
>  For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> >> --
> >> 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-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] VerifyError

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 9:11 PM, bob  wrote:

> Can someone help me understand this error?


What do you need to know, besides what you can find in two seconds from a
Google search?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] VerifyError

2011-09-21 Thread bob
Can someone help me understand this error?

java.lang.VerifyError: com.coolfone.sonicboom.MyRenderer
at com.coolfone.sonicboom.hmm.onCreate(hmm.java:52)
at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2231)
at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2284)
at android.app.ActivityThread.access$1800(ActivityThread.java:112)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
1692)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3948)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
at dalvik.system.NativeStart.main(Native Method)


This is the code line:

renderer = new MyRenderer(this);

Also, FYI

public class MyRenderer implements GLSurfaceView.Renderer{

public MyRenderer(Context context) {

FYI 2:

MyRenderer renderer;

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Unlock Dell Mini 5

2011-09-21 Thread Tsolmon Narantsogt
Hello comrades.
I've Dell Mini 5 . But it's
locked.

How to unlocking this phone .

Can anyone help me ?

-
Thanks
Tsolmon

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Google Wallet on rooted devices

2011-09-21 Thread mtk
Well.. Google as a payment service provider should be worried as there
are payment industry standards (PCI DSS compliance is law in some
states) that governs secure handling/storage of payment credentials/
credit card info.

On Sep 20, 10:10 pm, Zsolt Vasvari  wrote:
> Why should Google prevent this?  If you are dumb enough to root your
> device, you should know that you are opening a can of worms.
>
> On Sep 21, 8:16 am, mtk  wrote:
>
>
>
> > Will google wallet work on a rooted device? Isnt it a secueity risk to
> > allow that - given that on rooted devices a rogue app can get access
> > to the HCI layer and sniff payment credentials when a transaction
> > happens? How is google preventing this?

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Activity Help

2011-09-21 Thread Derek Winstead
Thanks Richard,

I have directly skipped the LiteratureManager.java and run the intent 
LiteratureEditor.java from an activity before that normally calls the 
manager file. The editor works just fine and doesn't crash.

I will post a stack trace tomorrow when I'm at work and can run the 
program... This leads me to another question that has stopped any 
development on my laptop at home (I didn't upgrade my work computer).

I have upgraded the SDK and AVD to to most recent release, which has broken 
my build. Seems the code:
 


@android:color/transparent



breaks my build. I read that I am calling android:WindowTitleBackground 
which was wrong to begin with and Google fixed this in the most recent 
release. I have no idea how to fix this and make my app work with the newest 
SDK/AVD release. I am a novice to Java and Android so this is a foreign 
problem.

I have my source publicly hosted by Google if you want to check it out and 
see for yourself.

http://code.google.com/p/myministryapp/source/checkout

Thanks for the 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Block the upgrade

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 7:38 PM, Spiral123  wrote:

> I suspect the OP is concerned that someone may obtain a pirated copy
> of his app and then subsequently upgrade it from the Android market
> without ever paying for it.
>

In that case, the Market does not allow downloading an upgrade to a paid app
you have not paid for. You can see for yourself. Build an old version of
your paid app and try to download the paid version from the market. It
prompts you to buy (which you of course can't as the developer).

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Block the upgrade

2011-09-21 Thread Spiral123
I suspect the OP is concerned that someone may obtain a pirated copy
of his app and then subsequently upgrade it from the Android market
without ever paying for it.

On Sep 21, 3:42 pm, Michael Banzon  wrote:
> On Wed, Sep 21, 2011 at 9:34 PM, Chris  wrote:
>
> > On Wednesday, September 21, 2011 1:07:33 PM UTC-4, TreKing wrote:
>
> >> On Wed, Sep 21, 2011 at 7:47 AM, Perry168  wrote:
>
> >>> How can I block the user to upgrade the Apps if who isn't downloaded from
> >>> google market?
>
> >> Your question makes no sense.
>
> > I'll do my best to translate:
>
> > "How can I block users from upgrading my app if they didn't download it from
> > Android Market?"
>
> The question still doesn't make sense...
>
> If the user has your program installed from another source than Market
> they will have no problem upgrading through this source.
>
> Is this even a problem?
>
> --
> Michael Banzonhttp://michaelbanzon.com/

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] cannot input text into EditText widgets inside ListView

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 5:43 PM, John Goche wrote:

> When I try to enter text on the 2.3.3 emulator it goes in for a short while
> and
> then the soft keyboard shifts my UI up and it gets cleared. Anyone know why
> this is happening?
>

You may want to elaborate - I for one do not follow. Particularly "it goes
in for a short while".

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: android.git.kernel.org is down

2011-09-21 Thread Chris
How is it under that rock you live under? 

It's been down for weeks and has been covered ad-nauseam.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread martypantsROK
what's wrong with your android phone? My can and does have Arabic.
Mine can redial.
Mine can do voice mail - although that's more a function of the
carrier and not the phone.

go wank on another message list.

Oh and learn English

On Sep 21, 4:02 am, wanyce ashoura  wrote:
> Yes i should say that
> Why because of more then one reason
> 1- not support Arabic language at all meaning you need long time to
> get Arabic support
> in any kind of android Mobile's
> 2- alot of futures not founded in android like what
> * redial .
> *voice mail .
> *gps navigator offline .
> * voice command offline .
> *proxy .
> * a lot of security issues .
> *suck in browsing web site's
> *crazy market request any program will some times downloaded and may
> will not or pause download .
> 3- is android real free software and  open source i do not think so is
> near to windows mobile
> just android use linux kernel and java but is not cool at all
> 4-blue tooth is crazy to used in android
> 5-not support any thing we dream about it
> about me i am waiting for the best came from android from long time
> before
> and now i have no hope about this os because is just another low level
> mobile os like symbian or badi or windows
> low level meaning is not reach what we as user's wanted not is
> programing
> 5- release 1.5 and 2.0 2.1 2.2 2.3 and jump to 3.0 3.1 3.2
> but what about other version's is them not deserve some of update's
> and improvement
> just jump like this ..
> ==
> i hope this e-mail reach real developer behind android and them start
> moving up and
> give us some hope to we can have mobile's can do what almost we
> wanted

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Indicator Veritatis
I never understood the logic behind that decision: why isn't the 3.x
code being open sourced just like the others? It leaves one doubting
Google's word, when they say, "We wanted to make sure that there was
no central point of failure...  why we created Android, and made its
source code open."

For if that were the real and full reason, then Honeycomb would be
open too.

On Sep 21, 4:26 pm, Rogério de Souza Moraes 
wrote:
> I agree that the Android for me is the best choice for a phone OS and you
> can download the code from 1.x until 2.x, but I think we will never the 3.x
> codes. With some lucky they will release the 4.x codes without much delay.
>
> 2011/9/21 Richard Schilling 
>
> > Sorry you feel this way.
>
> > There are lots of Android developers on this list, so I'm sure someone
> > heard you.  In fact, you can be one!
>
> > You're welcome to download the code and make changes that you feel should
> > be there.
>
> > Richard
>
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Indicator Veritatis
Does that mean that the unclean offspring of an unholy union between
RIM and WebOS might be better?

On Sep 21, 8:49 am, Lew Bloch  wrote:
> Android is the worst form of mobile OS except for all those other forms that
> have been tried from time to time ...
> -- Apologies to unknown source as cited by Winston Churchill.
> 
>
> --
> Lew
>
> blake wrote:
>
> > Oh man.  This is such a bummer.  I'd been thinking it was pretty
> > cool...
>
> > wanyce ashoura wrote:
>
> >> [Android is worst os mobile is this true]
> > > Yes i should say that
> > > Why because of more then one reason
> > > 1- not support Arabic language at all meaning you need long time to
> > > get Arabic support
> > > in any kind of android Mobile's
> > > 2- alot of futures not founded in android like what
> > > * redial .
> > > *voice mail .
> > > *gps navigator offline .
> > > * voice command offline .
> > > *proxy .
> > > * a lot of security issues .
> > > *suck in browsing web site's
> > > *crazy market request any program will some times downloaded and may
> > > will not or pause download .
> > > 3- is android real free software and  open source i do not think so is
> > > near to windows mobile
> > > just android use linux kernel and java but is not cool at all
> > > 4-blue tooth is crazy to used in android
> > > 5-not support any thing we dream about it
> > > about me i am waiting for the best came from android from long time
> > > before
> > > and now i have no hope about this os because is just another low level
> > > mobile os like symbian or badi or windows
> > > low level meaning is not reach what we as user's wanted not is
> > > programing
> > > 5- release 1.5 and 2.0 2.1 2.2 2.3 and jump to 3.0 3.1 3.2
> > > but what about other version's is them not deserve some of update's
> > > and improvement
> > > just jump like this ..
>
> > ==
> > > i hope this e-mail reach real developer behind android and them start
> > > moving up and
> > > give us some hope to we can have mobile's can do what almost we
> > > wanted

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Indicator Veritatis
Which is considered OK only when done with smart bombs and/or B-52s:(

But at least Google can justly claim that Android kills babies only if
you do not use as directed;)

On Sep 20, 6:47 pm, Dianne Hackborn  wrote:
> Also, Android kills babies.
>
> On Tue, Sep 20, 2011 at 12:02 PM, wanyce ashoura wrote:
>
>
>
> > Yes i should say that
> > Why because of more then one reason
> > 1- not support Arabic language at all meaning you need long time to
> > get Arabic support
> > in any kind of android Mobile's
> > 2- alot of futures not founded in android like what
> > * redial .
> > *voice mail .
> > *gps navigator offline .
> > * voice command offline .
> > *proxy .
> > * a lot of security issues .
> > *suck in browsing web site's
> > *crazy market request any program will some times downloaded and may
> > will not or pause download .
> > 3- is android real free software and  open source i do not think so is
> > near to windows mobile
> > just android use linux kernel and java but is not cool at all
> > 4-blue tooth is crazy to used in android
> > 5-not support any thing we dream about it
> > about me i am waiting for the best came from android from long time
> > before
> > and now i have no hope about this os because is just another low level
> > mobile os like symbian or badi or windows
> > low level meaning is not reach what we as user's wanted not is
> > programing
> > 5- release 1.5 and 2.0 2.1 2.2 2.3 and jump to 3.0 3.1 3.2
> > but what about other version's is them not deserve some of update's
> > and improvement
> > just jump like this ..
> > ==
> > i hope this e-mail reach real developer behind android and them start
> > moving up and
> > give us some hope to we can have mobile's can do what almost we
> > wanted
>
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Rogério de Souza Moraes
I agree that the Android for me is the best choice for a phone OS and you
can download the code from 1.x until 2.x, but I think we will never the 3.x
codes. With some lucky they will release the 4.x codes without much delay.


2011/9/21 Richard Schilling 

> Sorry you feel this way.
>
> There are lots of Android developers on this list, so I'm sure someone
> heard you.  In fact, you can be one!
>
> You're welcome to download the code and make changes that you feel should
> be there.
>
> Richard
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: android.git.kernel.org is down

2011-09-21 Thread Richard Schilling
Dough!

It's down for maintenance.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: C2DM - phone send data back to Google Cloud (in addition to normal Cloud to Phone)?

2011-09-21 Thread Streets Of Boston
Nope.
The phone gets notified from C2DM if something happens.That's it.
Then it's the task of your app to communicate (two-way if necessary) with 
your app's server.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Activity Help

2011-09-21 Thread Richard Schilling
The spinner and the list on the first activity are "self contained" - that 
is their state won't directly affect the activity that you're calling. 
 Sounds like the activity you start is trying to access some data/resource 
that is not there (e.g. your layout is missing a resource). 

Check the state of variables during the onCreate/onResume/etc lifecycle 
functions to see where the NPE is generated.

Can you post a stacktrace?

Richard

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-21 Thread Richard Schilling
This is some good sound advice.  If you don't want to 
use startActivityForResult and onActivityResult then you can store your data 
in some "source of truth" like the SQLite database, or even shared 
preferences if you just have a few data items.


Richard 

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Richard Schilling
Sorry you feel this way.  

There are lots of Android developers on this list, so I'm sure someone heard 
you.  In fact, you can be one!

You're welcome to download the code and make changes that you feel should be 
there.

Richard

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: android.git.kernel.org is down

2011-09-21 Thread Richard Schilling
Correction - SERVER not found.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] android.git.kernel.org is down

2011-09-21 Thread Richard Schilling
Apologies if this is a duplicate.  But, http://android.git.kernel.org  is 
not responding. Page not found.

Anyone else see this?

Thanks.

Richard 

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] cannot input text into EditText widgets inside ListView

2011-09-21 Thread John Goche
Hello,

I am having a dynamic list with text views. My list_item.xml file looks like
this.
When I try to enter text on the 2.3.3 emulator it goes in for a short while
and
then the soft keyboard shifts my UI up and it gets cleared. Anyone know why
this is happening?

Thanks,

John Goche


http://schemas.android.com/apk/res/android";
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
  


  
  
  


-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Peter Sinnott


On Sep 21, 10:41 pm, TreKing  wrote:
> On Wed, Sep 21, 2011 at 2:45 PM, Peter Sinnott  wrote:
> > On Sep 21, 2:47 am, Dianne Hackborn  wrote:
> > > Also, Android kills babies.
>
> Doesn't work for me. I guess it is another US only feature.
>
>
>
> You just have to throw harder.
>

If I wanted to be told how to throw my own phone I would have bought
an iPhone!

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 2:45 PM, Peter Sinnott  wrote:

> On Sep 21, 2:47 am, Dianne Hackborn  wrote:
> > Also, Android kills babies.



Doesn't work for me. I guess it is another US only feature.
>

You just have to throw harder.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] C2DM - phone send data back to Google Cloud (in addition to normal Cloud to Phone)?

2011-09-21 Thread NickL
The C2DM supports both directions?  ie, does Google expect the
notified app to contact the initiating server directly? or is there an
api to let the phone send data to the target server via the Google
C2DM server?  if so, it would save some of the authorization/
authentication load from my server by letting Google handle it.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Block the upgrade

2011-09-21 Thread Streets Of Boston
No.

If you would use different package names, even if you would use two 
differently signed certificates, both of which would in some form or fashion 
prohibit a direct upgrade, the user can still uninstall one and then install 
again from the Android Market.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Activity Help

2011-09-21 Thread Derek Winstead
It starts in the LiteratureManager.java and the intent goes to 
LiteratureEditor.java

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Activity Help

2011-09-21 Thread Derek Winstead
Hello all,

I have an issue where my activity has a spinner up top to change the 
listview below it with data from the sqlite database. Using this activity 
everything works fine. However, when I click on one of the list items it 
runs the next activity intent and after this new activity finishes loading 
(layout and java file completes) it throws a nullPointerException.

If I comment out my spinner and default the list to a number that the 
spinner would pass in and click on the list item, the next activity works 
just fine with no errors. This makes me believe it has something to do with 
my spinner and how it closes out or something. Honestly I have no idea and I 
cannot figure out why it throws this error.

Is there anything wrong with my code? Please, any and all help would be 
greatly appreciated!

Thanks in advance,
Derek

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=enpackage com.myMinistry.gui;

import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.EditText;
import android.widget.SimpleCursorAdapter;
import android.widget.Spinner;
import android.widget.AdapterView.OnItemSelectedListener;

import com.myMinistry.R;
import com.myMinistry.db.LiteratureNameColumns;
import com.myMinistry.db.LiteratureTypeColumns;
import com.myMinistry.db.MinistryDatabase;
import com.myMinistry.models.LiteratureName;

public class LiteratureEditor extends Activity {
	private MinistryDatabase database;
	private LiteratureName _literatureName = new LiteratureName();
	private EditText literatureTitle;
	private Spinner literatureTypes;
	private int literatureNameID = 0;
	private int position = 0;

	@Override
	public void onResume() {
	super.onResume();
	fetchLiteratureTypes();
}
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	Bundle extras = getIntent().getExtras();
	setContentView(R.layout.literature_editor);

	if(extras != null) {
		Object[] keys = extras.keySet().toArray();
		
		for(int i = 0; i < keys.length; i++) {
			if(keys[i].toString().equals("literatureNameID"))
				literatureNameID = extras.getInt("literatureNameID");
			if(keys[i].toString().equals("position"))
				position = extras.getInt("position");
		}
	}
	
	database = new MinistryDatabase(this);
	database.open();
	
	if(literatureNameID > 0) {
		Cursor record = database.fetchRecord(MinistryDatabase.LIT_NAMES_TABLE_NAME, new String[] {LiteratureNameColumns._ID,LiteratureNameColumns.PUBLISHER_ID,LiteratureNameColumns.NAME,LiteratureNameColumns.TYPE_ID,LiteratureNameColumns.ACTIVE,LiteratureNameColumns.COUNT_WEIGHT,LiteratureNameColumns.SORT_ORDER}, LiteratureNameColumns._ID, literatureNameID);
		if(record.moveToFirst())
			_literatureName = new LiteratureName(record);
	}
	
	literatureTypes = (Spinner) findViewById(R.id.literatureTypes);
	literatureTitle = (EditText) findViewById(R.id.literatureTitle);
	literatureTitle.setText(_literatureName.getName());
	
	findViewById(R.id.cancel).setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
finish();
			}
		});
	
	findViewById(R.id.save).setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
if(literatureTitle.getText().length() > 0) {
	_literatureName.setName(literatureTitle.getText().toString());
	_literatureName.save();
			finish();
}
// Failure
else
	literatureTitle.setError("Please enter a title.");
			}
		});
}
	
	private void fetchLiteratureTypes(){
		Cursor litTypes = database.fetchRecords(MinistryDatabase.LIT_TYPES_TABLE_NAME, null, LiteratureTypeColumns.ACTIVE + "=1", null, null, null, LiteratureTypeColumns.SORT_ORDER + "," + LiteratureTypeColumns.NAME, null);
	SimpleCursorAdapter adapter = new SimpleCursorAdapter(getApplicationContext(), android.R.layout.simple_spinner_item, litTypes, new String[] {LiteratureTypeColumns.NAME}, new int[]{android.R.id.text1});
		adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
		literatureTypes.setAdapter(adapter);
		literatureTypes.setOnItemSelectedListener( new litTypeSelector() );
		literatureTypes.setSelection(position);
	}
	
public class litTypeSelector implements OnItemSelectedListener {
		public void onItemSelected(AdapterView parent, View view, int pos, long id) {
			_literatureName.setTypeID((int)id);
			position = pos;
		}
		public void onNothingSelected(AdapterView parent) {
			// Do nothing.
		}
	}
}package com.myMinistr

Re: [android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Jim Graham
On Wed, Sep 21, 2011 at 12:43:20PM -0700, niko20 wrote:
> Ok I don't normally swear but J CH you nitwit. It's a mobile
> OS, it can't be everything to everybody. If you tried to do that it
> would not fit on a phone.

Just to be clear on this:  your response is directed at the original
poster idiot, not me.  Since you replied to mine, not his, you could
have caused confusion for anyone who hasn't been paying attention so
far

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| "Now what *you* need is a proper pint of
spooky1...@gmail.com| porter poured in a proper pewter porter
< Running FreeBSD 7.0 > | pot.."
ICBM / Hurricane:   |--Peter Dalgaard in alt.sysadmin.recovery
   30.44406N 86.59909W  |

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Peter Sinnott
Doesn't work for me. I guess it is another US only feature.

On Sep 21, 2:47 am, Dianne Hackborn  wrote:
> Also, Android kills babies.
>
> On Tue, Sep 20, 2011 at 12:02 PM, wanyce ashoura wrote:
>
>
>
> > Yes i should say that
> > Why because of more then one reason
> > 1- not support Arabic language at all meaning you need long time to
> > get Arabic support
> > in any kind of android Mobile's
> > 2- alot of futures not founded in android like what
> > * redial .
> > *voice mail .
> > *gps navigator offline .
> > * voice command offline .
> > *proxy .
> > * a lot of security issues .
> > *suck in browsing web site's
> > *crazy market request any program will some times downloaded and may
> > will not or pause download .
> > 3- is android real free software and  open source i do not think so is
> > near to windows mobile
> > just android use linux kernel and java but is not cool at all
> > 4-blue tooth is crazy to used in android
> > 5-not support any thing we dream about it
> > about me i am waiting for the best came from android from long time
> > before
> > and now i have no hope about this os because is just another low level
> > mobile os like symbian or badi or windows
> > low level meaning is not reach what we as user's wanted not is
> > programing
> > 5- release 1.5 and 2.0 2.1 2.2 2.3 and jump to 3.0 3.1 3.2
> > but what about other version's is them not deserve some of update's
> > and improvement
> > just jump like this ..
> > ==
> > i hope this e-mail reach real developer behind android and them start
> > moving up and
> > give us some hope to we can have mobile's can do what almost we
> > wanted
>
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Curved Gallery view

2011-09-21 Thread Speedy Lope
Hi,

have you tried the latest invention called "google.com" ? ;)

http://stackoverflow.com/questions/3732739/possibility-of-a-curved-gallery

Of course you need to extend existing Gallery (if you want it to behave like
a gallery).

On Wed, Sep 21, 2011 at 5:34 PM, Abhi  wrote:

> Hi all,
>
> I would like to know if it is possible to create a curved gallery view
> from the default horizontal one that Android offers? I don't know if
> that entails changing the Gallery code in Android framework which I
> want to avoid. Is there any other way to make a custom Gallery view
> from scratch? Again, how to go about doing that?
>
> Thanks. Any help would be appreciated.
>
> Abi
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread niko20
Ok I don't normally swear but J CH you nitwit. It's a mobile
OS, it can't be everything to everybody. If you tried to do that it
would not fit on a phone.

-niko

On Sep 21, 11:09 am, Jim Graham  wrote:
> On Wed, Sep 21, 2011 at 08:49:31AM -0700, Lew Bloch wrote:
> > Android is the worst form of mobile OS except for all those other forms that
> > have been tried from time to time ...
> > -- Apologies to unknown source as cited by Winston Churchill.
> > 
>
> "Borrowed" from the Mutt site (http://www.mutt.org): "All [mobile OSs]
> suck...[Android] just sucks less."
>
> :-)
>
> Later,
>    --jim
>
> --
> THE SCORE:  ME:  2  CANCER:  0
> 73 DE N5IAL (/4)        | Peter da Silva:  No, try "rm -rf /"
> spooky1...@gmail.com    | Dave Aronson:    As your life flashes before
> < Running FreeBSD 7.0 > |      your eyes, in the unit of time known as an
> ICBM / Hurricane:       |      ohnosecond     (alt.sysadmin.recovery)
>    30.44406N 86.59909W  |
>
> Android Apps Listing athttp://www.jstrack.org/barcodes.html

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Block the upgrade

2011-09-21 Thread Michael Banzon
On Wed, Sep 21, 2011 at 9:34 PM, Chris  wrote:
>
>
> On Wednesday, September 21, 2011 1:07:33 PM UTC-4, TreKing wrote:
>>
>> On Wed, Sep 21, 2011 at 7:47 AM, Perry168  wrote:
>>>
>>> How can I block the user to upgrade the Apps if who isn't downloaded from
>>> google market?
>>
>> Your question makes no sense.
>>
>
> I'll do my best to translate:
>
> "How can I block users from upgrading my app if they didn't download it from
> Android Market?"

The question still doesn't make sense...

If the user has your program installed from another source than Market
they will have no problem upgrading through this source.

Is this even a problem?

-- 
Michael Banzon
http://michaelbanzon.com/

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Block the upgrade

2011-09-21 Thread Chris


On Wednesday, September 21, 2011 1:07:33 PM UTC-4, TreKing wrote:
>
> On Wed, Sep 21, 2011 at 7:47 AM, Perry168  wrote:
>
>> How can I block the user to upgrade the Apps if who isn't downloaded from 
>> google market?
>>
>
> Your question makes no sense.
>
>
I'll do my best to translate:

"How can I block users from upgrading my app if they didn't download it from 
Android Market?" 

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] App appears to be missing for a number of devices on Android Market

2011-09-21 Thread dan raaka
I have seen similar issues mainly due to the market app trying to infer
android.hardware.screen.portrait
even though you may not have declared it in your manifest.

workaround : add this  to your manifest

-Dan


On Sun, Sep 18, 2011 at 9:48 AM, cpick  wrote:

> Our app seems to be disappearing from the Market for a number of
> devices. For example, my Samsung Galaxy Tab 10.1 shows up in the
> market when I upgrade, but each time I download it crashes the
> market.  I have users w/ a Samsung Galaxy Mini GT-S5570 which can't
> even see it in the market. I am trying to figure out what is wrong in
> my Manifest :/  The Galaxy Mini user was able to side load the app,
> and works fine.. So not sure why it is being excluded. Also had a
> report that it was not working on Motorola Xoom (not visible in
> market). Is the Xoom at 3.2 already? That would be explained my my max
> SDK @ 12 instead of 13.
>
> Device search results
> Samsung
> Unsupported devices due to your manifest settings
> GT-S5570B(GT-S5570B)
> GT-S5570L(GT-S5570L)
> Design name search results
> Samsung
> Unsupported devices due to your manifest settings
> Galaxy Mini(GT-S5570)
> GT-S5570B(GT-S5570B)
>
> Not sure why.
>
>android:targetSdkVersion="8"/>
>android:smallScreens="true"
>  android:normalScreens="true"
>  android:largeScreens="true"
>  android:anyDensity="true" android:resizeable="true"/>
>
> Now I realize that maxSdkVersion="12" is not the highest currently,
> but if I put "13" then the market says that "13" is not currently
> supported (too high).
>
> My permissions from manifest are below.
>
>  permission>
>  android:name="android.permission.ACCESS_FINE_LOCATION"> permission>
>  android:name="android.permission.ACCESS_COARSE_LOCATION"> permission>
>  permission>
>  permission>
>  android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"> uses-permission>
> 
>  android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
>  android:name="android.permission.READ_EXTERNAL_STORAGE"/>
>
> From the market I see this :
> Supported Devices
> This application is only available to devices with these features, as
> defined in your application manifest.
> Screen layouts: SMALL NORMAL LARGE XLARGE
> Required device features
> android.hardware.camera
> android.hardware.location.network
> android.hardware.location
> android.hardware.location.gps
> android.hardware.camera.autofocus
> android.hardware.screen.landscape
> android.hardware.touchscreen
> android.hardware.screen.portrait
>
> Here is a list of unsuported devices.
>
> Unsupported devices due to your manifest settings
> ALM-001J(smdkv210)
> Archos 101 Internet Tablet(A101S)
> Dell Streak 10 Pro(Streak10Pro)
> unknown(magic)
> unknown(XT319)
> unknown(hws7300u)
> unknown(A101IT)
> unknown(VENUS)
> unknown(SCH-I589)
> unknown(p7901a)
> unknown(ASP320Q_GSM)
> unknown(u8150)
> unknown(nbx02)
> unknown(GT-B5510)
> unknown(harmony)
> unknown(LIFETAB_P9514)
> unknown(viewpad7x)
> unknown(ASP320Q)
> unknown(hwc8511)
> unknown(TB07STA)
> unknown(tostab04)
> unknown(hwm860)
> unknown(TB07FTA)
> unknown(SH8158U)
> unknown(huashan)
> unknown(mi_350)
> unknown(zt180)
> unknown(X500)
> unknown(msm7627_ntls)
> unknown(one_touch_918N_umts)
> unknown(one_touch_908A_gsm)
> unknown(mangrove7)
> unknown(GT-S5360L)
> unknown(CAP8)
> unknown(CAP6)
> unknown(anydata16_a10y)
> unknown(YPY)
> unknown(A80S)
> unknown(pasteur)
> unknown(AMD120)
> unknown(goldfish)
> unknown(icx1216)
> unknown(A70S)
> unknown(A70H)
> unknown(generic)
> unknown(fleming)
> unknown(utv210)
> unknown(OP070)
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TabWidget font size

2011-09-21 Thread Streets Of Boston
You can either use the TabSpec.setIndicator(View view) method to put your 
own views in the TabWidget.

Or you can override the theme to set the font-size:


  @style/Widget.TabWidget



  20sp


And then assign 'YourTheme' as your Activity's theme.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] TabWidget font size

2011-09-21 Thread bob
Is there an easy way to change the font size of a TabWidget?

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: ListView: responding to item clicks via a listener

2011-09-21 Thread Streets Of Boston
Try not to do this. It will break the UI model that Android users expect on 
their phones.
However, if you really need it:

1. Modify the data items that are handled by your ListView's adapter. Add an 
field that could tell how many times a list-item has been clicked (e.g. 
numberOfClicks).

2. Handle the onItemClick(...) (or in your case 'onClick(...)') as follows:
MyDataItem item = adapter.getItem(position);
Increase the item.numberOfClicks. 
If it becomes 1: do nothing.
If it becomes 2: go to the other screen and re-set item.numberOfClicks to 0.
(Be sure to call adapter.notifyDatatSetChanged()).

3. Change the 'getView()' method of your ListView's adapter:
MyDataItem item = getItem(position);
If the corresponding's item.numberOfClicks is 1, then color the background 
of that item in a particular color (that would indicate a 'highlight').
If the corresponding's item.numberOfClicks is not 1, then make the 
background of that item transparent (android.R.color.transparent).


-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Does it possible to use multiple jni(.so) library in one SDK project?

2011-09-21 Thread Build account
Hello gurus.


At first, I can build single 'jni' library in one SDK project with the
directory name 'jni' and make file under eclipse.


But, I'm looking for
- how to build multiple jni in eclipse with the setting 'property >
builder > add cmd line'. I expect that possible. Does it possible?
- and how to package multiple shared library in one apk? possible?


Please any comment to save one engineer..

Thanks!

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-21 Thread Streets Of Boston
1. Try to avoid Serializable. It is very slow compared to Parcelable.
2. Take a look at startActivityForResult and onActivityResult.
3. If you reeeaaally need to update activity A about events from activity B, 
consider putting your own subclass of ResultReceiver in the Intent's 
'extras'. Then activity B can call 'send(...)' on that ResultReceiver and 
this will be received in activity A as an 'onReceiveResult(...)' call-back.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: ViewFlipper class does not support SurfaceView like it should

2011-09-21 Thread MobileVisuals
I got this to work no without the ViewFlipper.  I think that there
should be information in the ViewFlipper class
that it doesn't support SurfaceView. I lost many hours of work because
of this. The reason I used the ViewFlipper class for SurfaceView was
that other threads on this forum recommended it, like this one:

https://groups.google.com/group/android-developers/browse_thread/thread/6e40d73d0883d150/e6da11407f5ac488?lnk=gst&q=switch+between+GLSurfaceView#e6da11407f5ac488

So there are other developers who have made the same mistake.

On Sep 20, 3:51 pm, MobileVisuals  wrote:
> How can I then switch between a view with 2d rendering and a view with
> 3d rendering?
>
> I suppose I have to use GLSurfaceView for 3d rendering with OpenGL?
>
> On Sep 20, 3:00 pm, Jens  wrote:
>
> > That would be the gist of what both Dianne & Romain Guy said yes.
>
> > On Sep 20, 2:13 pm, MobileVisuals  wrote:
>
> > > GLSurfaceView extends SurfaceView. Does that mean that it is not
> > > possible to animate GLSurfaceView with a viewflipper?
>
> > > On Sep 20, 9:54 am, Romain Guy  wrote:
>
> > > > You can animate another view on top of a SurfaceView, you just cannot
> > > > animate the SurfaceView itself.
>
> > > > On Tue, Sep 20, 2011 at 12:51 AM, MobileVisuals 
> > > > wrote:
>
> > > > > Thanks for the info, I have spent many hours investigating this issue
> > > > > and now I finally know what the problem is. My app has a standard 2d
> > > > > menu. It is possible to view different 3d visual effects from the
> > > > > menu. The 3d visual effects are rendered in a GLSurfaceView. That
> > > > > class extends SurfaceView.
>
> > > > > You say that SurfaceView should not be used in a ViewFlipper. How can
> > > > > I implement my app if I can't use SurfaceView or GLSurfaceView? Which
> > > > > type of view should I use for the ViewFlipper? Can I render the 3d
> > > > > visual effects with other views than GLSurfaceView?
>
> > > > > Or shouldn't I use a ViewFlipper at all? If not, how can I then switch
> > > > > between the 2d and the 3d rendering?
>
> > > > > On Sep 19, 7:37 pm, Dianne Hackborn  wrote:
> > > > > > Don't use a SurfaceView in a ViewFlipper.
>
> > > > > > Nor a ListView.
>
> > > > > > SurfaceView is a *very* *special* view.  As it says, what it does is
> > > > > create
> > > > > > a completely separate surface (a.k.a. window) that is associated 
> > > > > > with
> > > > > your
> > > > > > main window.  This window is positioned behind the main window, and 
> > > > > > a
> > > > > hole
> > > > > > punched through your main window to see the surface behind.
>
> > > > > > By its nature, this makes the interaction between the surface of the
> > > > > surface
> > > > > > view and the main view hierarchy limited.
>
> > > > > > The purpose of SurfaceView is to present static things like video
> > > > > playback
> > > > > > or a game playfield in its own surface so that it can draw outside 
> > > > > > of the
> > > > > > normal view hierarchy update model (and use OpenGL drawing, 
> > > > > > different
> > > > > color
> > > > > > spaces, etc).  It is not to give a tight integration with the rest 
> > > > > > of the
> > > > > > view hierarchy.
>
> > > > > > You should essentially think of it as an overlay, because really 
> > > > > > that is
> > > > > > what it is.
>
> > > > > > On Mon, Sep 19, 2011 at 10:29 AM, MobileVisuals <
> > > > > eyv...@astralvisuals.com>wrote:
>
> > > > > > > My app uses a ViewFlipper. It is possible to flip between the 
> > > > > > > views
> > > > > > > without problems at first.But after switching to another app and 
> > > > > > > then
> > > > > > > switching back to the ViewFlipper app, it is not possible to flip
> > > > > > > between the views. One of the views is always displayed as just a
> > > > > > > black screen.
>
> > > > > > > I have investigated the reason for this, using the simplest 
> > > > > > > possible
> > > > > > > SurfaceView. It is still the same problem.
> > > > > > > It is not a thread problem, I see that the onDraw method is called
> > > > > > > like it should. What is the reason for this? Doesn't the 
> > > > > > > ViewFlipper
> > > > > > > class support SurfaceView like it should?
>
> > > > > > >  I got the code for the SurfaceView from the basic tuturial:
>
> > > > > > >http://www.edu4java.com/androidgame/androidgame2.html
>
> > > > > > > and the code for the View flipper from Mark Murphys View flipper
> > > > > > > tutorial:
>
> > > > > > >https://github.com/commonsguy/cw-android/tree/master/Fancy/Flipper1
>
> > > > > > > This is my code:
> > > > > > > -
>
> > > > > > > public class FlipperDemo2 extends Activity {
>
> > > > > > > ViewFlipper flipper;
>
> > > > > > > @Override
> > > > > > > public void onCreate(Bundle icicle) {
> > > > > > > super.onCreate(icicle);
> > > > > > > setContentView(R.layout.main);
>
> > > > > > > flipper=(ViewFlipper)findViewById(R.id.details);
> > > > > > > GameView lv=new GameView(this.getApplicationContext(),true)

[android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-21 Thread MobileVisuals
Thanks for the info. I have redesigned the app now and it worked.

On Sep 20, 6:37 pm, Mark Murphy  wrote:
> Use startActivity(), with FLAG_ACTIVITY_REORDER_TO_FRONT, to bring an
> existing activity back into the foreground (or create it if it does
> not exist).
>
> On Tue, Sep 20, 2011 at 12:32 PM, MobileVisuals
>
>
>
>  wrote:
> > I see, then I would have to use one SurfaceView for the first activity
> > and a GLSurfaceView for the other activity. I searched for information
> > about how to switch between 2 activities on the forum and found one of
> > your threads:
>
> >http://groups.google.com/group/android-developers/browse_thread/threa...
>
> > You recommend using a viewflipper here, so I can not use that
> > approach. I found another thread
>
> >http://groups.google.com/group/android-developers/browse_thread/threa...
>
> >  where they used the StartActivityForResult method. How would you
> > recommend that I should swith between the activites without using a
> > ViewFlipper?
>
> > On Sep 20, 4:43 pm, Mark Murphy  wrote:
> >> Use two activities.
>
> >> On Tue, Sep 20, 2011 at 9:54 AM, MobileVisuals  
> >> wrote:
> >> > I got the viewflipper to work, but I found that it is not possible to
> >> > use a GLSurfaceView in a viewflipper, like this thread describes:
>
> >> >http://groups.google.com/group/android-developers/browse_thread/threa...
>
> >> > How can I then switch between 2d and 3d rendering?
>
> >> > On Jul 27, 2:53 pm, Mark Murphy  wrote:
> >> >> On Wed, Jul 27, 2011 at 8:49 AM, MobileVisuals 
> >> >>  wrote:
> >> >> > I try to add 2 views to a Viewflipper, but I get
>
> >> >> > "java.lang.IllegalStateException: The specified child already has a
> >> >> > parent.
> >> >> > You must call removeView() on the child's parent first."
>
> >> >> > when I try to add the view. I don't know why this happens. I try to
> >> >> > remove the view from the ViewFlipper, but I still get the same
> >> >> > message. How can I add a ViewFlipper to the layout? You can view my
> >> >> > code and XML layout below:
> >> >> > ---
> >> >> > setContentView(R.layout.lunar_layout);
> >> >> > mLunarView = (LunarView) findViewById(R.id.lunar);
> >> >> > ViewFlipper vf=(ViewFlipper) findViewById(R.id.flip);
> >> >> > vf.addView(mLunarView, 0);
>
> >> >> The error should be self-explanatory. You already have R.id.lunar as a
> >> >> child of the LinearLayout.
>
> >> >> >  layout:
> >> >> > --
> >> >> > 
>
> >> >> > http://schemas.android.com/apk/res/
> >> >> > android"
> >> >> >    android:layout_width="wrap_content"
> >> >> >    android:layout_height="wrap_content">
>
> >> >> >      >> >> >      android:id="@+id/flip"
> >> >> >      android:layout_width="fill_parent"
> >> >> >      android:layout_height="fill_parent"/>
>
> >> >> >     >> >> >      android:id="@+id/lunar"
> >> >> >      android:layout_width="fill_parent"
> >> >> >      android:layout_height="fill_parent"/>
>
> >> >> > 
>
> >> >> Make the LunarView be a child element of your ViewFlipper, and get rid
> >> >> of the Java code to try adding it to the ViewFlipper, and you will be
> >> >> set.
>
> >> >> Here are some projects demonstrating the use of a ViewFlipper:
>
> >> >>https://github.com/commonsguy/cw-android/tree/master/Fancy/Flipper1ht...
>
> >> >> --
> >> >> Mark Murphy (a Commons 
> >> >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> >> >> Android Training in NYC:http://marakana.com/training/android/
>
> >> > --
> >> > 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-developers+unsubscr...@googlegroups.com
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/android-developers?hl=en
>
> >> --
> >> Mark Murphy (a Commons 
> >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> >> Android Training...At Your Office:http://commonsware.com/training
>
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training...At Your Office:http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send 

[android-developers] smoothScrollBy don't work on top and bottom of the list

2011-09-21 Thread Israel Fonseca
Hi guys,

I have the following situation, two buttons control programatically
the scrolling of a ListView. Everthing works fine. The only problem
is, when the list get scrolled to the bottom or the top it get's
"stuck" and the buttons that control It can't move it anymore. The
only fix, is to scroll the list normally with the finger touch and
after that the buttons will work again.

Is it a bug or am I doing something wrong? (Android 2.2.1)

Here it is the XML and Java code in the pastebin:

http://pastebin.com/3CDJRFg1
http://pastebin.com/TF7q2EuK

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Flash and Air and the marketplace

2011-09-21 Thread Josh
Im curious if Flash android apps are getting accepted into the market
place.

Do they perform just as well as the apps designed in java?

Just getting started not sure what direction to travel in.

Josh

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Question about integrating Facebook/Twitter

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 11:49 AM, Kristopher Micinski <
krismicin...@gmail.com> wrote:

> Except to your own app's paid download page :o)...


LOL - oh yeah - wouldn't want to get sued for stealing that incredibly
original concept!

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Curved Gallery view

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 10:34 AM, Abhi  wrote:

> Is there any other way to make a custom Gallery view from scratch? Again,
> how to go about doing that?
>

Extend the existing one? Or make your own by extending ViewGroup?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] When is onSurfaceCreated called??

2011-09-21 Thread ruchira
I am asking this question as I have been stuck with this issue for
almost a month that the surface created function of my app is never
called and I am stuck with it!!!

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Problems in application upgrade when changing louncher activity

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 10:00 AM, carlo  wrote:

> There is any chance to solve this?


If this is on customized devices, you'd have to talk to those customizers.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Block the upgrade

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 7:47 AM, Perry168  wrote:

> How can I block the user to upgrade the Apps if who isn't downloaded from
> google market?
>

Your question makes no sense.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] can we know the phone no of the device.

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 2:46 AM, krishna chaitanya <
chaitanya.ju...@gmail.com> wrote:

> its showing the number in the emulator, but when ran on the device
> its giving null..
>

http://developer.android.com/reference/android/telephony/TelephonyManager.html#getLine1Number()

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Google Development phones

2011-09-21 Thread Christopher Van Kirk

The "original" developer phone was the G1.

Then came the Magic/G2.

Then came the Nexus One.

The current developer phone is the Nexus S, but it's an open question 
whether you really want to get one. The Nexus S is always closest to the 
bleeding edge of the phone operating system. The rest of the market, 
however, is still pretty far behind (I think something like 60% still 
runs Android 2.2, and if you look at Verizon's stable of phones, very 
few are > 2.2). So if you're developing for mass consumption it might be 
better to get something a bit more "retro."



On 9/22/2011 12:17 AM, Kristopher Micinski wrote:

The original development phone was the nexus one, however the concept
of an official "development phone" hasn't been around for a long time,
and people just generally use their own devices for development these
days.  As long as you buy a nice device (for what you want to do with
it) you should be fine, optionally one that you think you can quickly
root.

Kris

On Wed, Sep 21, 2011 at 9:55 AM, kypriakos  wrote:

Hi all,

the Market lists only one phone, the Nexus One and it says it is not
longer
available. Does that mean that Google is out of stock or does it mean
that
they are simply switching to a new phone and so this was off their
pages?

Thanks

On Aug 18, 1:26 pm, Mark Ayers  wrote:

The Nexus phones will always get updates quickest, though I'd be willing to
bet that after the Nexus Prime, they will all be made by Motoogle.
On Aug 18, 2011 6:06 AM, "ColorTheorist"
wrote:








"Sorry, that was just a throwaway comment. Eventually Motorola will
become the gold standard for Android phones due to their proximity to
the software, but in the short term they're no different than any
other
device. If whoever it was needs a phone today any of the phones that
are
out there should be fine."
That's not entirely true. Motorola phones are still on top of their
updates faster than most other devices, while other cheaper phones
might not receive updates at all, or take quite an extensive amount of
time to get the newest releases. As a developer it is useful to get
the newest updates in a timely manner if you plan on using them
anywhere near the newest OS release.
--
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] App closed but notification is visible

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 2:03 AM, b_t  wrote:

> Do you know how can it happen that my app is not running but
> the notification is visible and how to solve this problem?
>

You didn't provide much information, but if you set the notification and
never cancel it, well, it's not going away.
This could happen if you set the notification in an Activity and then it's
finished() or if you set it in a Service and it completes and exits.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Question about integrating Facebook/Twitter

2011-09-21 Thread Kristopher Micinski
On Wed, Sep 21, 2011 at 12:46 PM, TreKing  wrote:
> On Tue, Sep 20, 2011 at 1:28 AM, Randy
>  wrote:
>>
>> 1)  Allow my application to provide a list of recent updates to a Facebook
>> Group and follow Tweets in a similar fashion?
>
> Seems like this would depend on each service's API, which has nothing to do
> with this list.
>
>>
>> 2)  Provide buttons that are direct links to the Facebook Group
>> and Twitter Page.
>
> You can provide buttons that are direct links to any site on the internet.
> If these pages are accessible via the web, then why not?
>

Except to your own app's paid download page :o)...

Kris

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Question about integrating Facebook/Twitter

2011-09-21 Thread TreKing
On Tue, Sep 20, 2011 at 1:28 AM, Randy <
roostertailproductionsandr...@gmail.com> wrote:

> 1)  Allow my application to provide a list of recent updates to a Facebook
> Group and follow Tweets in a similar fashion?
>

Seems like this would depend on each service's API, which has nothing to do
with this list.


> 2)  Provide buttons that are direct links to the Facebook Group and Twitter
> Page.
>

You can provide buttons that are direct links to any site on the internet.
If these pages are accessible via the web, then why not?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-21 Thread TreKing
On Tue, Sep 20, 2011 at 5:38 PM, John Goche wrote:

> I think I'm gonna go for serialization and write the serialized object to a
> database in one row of text.
> That's the quick and dirty way of doing things I guess.
>
> Also, I'm done with Parcelable since I need to pass data back and forth.
> I've already reverted to
> passing a parameter in a global variable: it's the quickest and easiest
> way.
>

I predict regret =) Good luck.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: HOW TO USE ROCK PLAYER IN OUR OWN application.

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 4:04 AM, NAVI NEW  wrote:

> i want to run this type interface with my app. what to do for this one


Create that type of interface in your application.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Publish and Debug

2011-09-21 Thread TreKing
On Wed, Sep 21, 2011 at 7:59 AM, Leonardo Martins Scaramel <
leonardomasc...@gmail.com> wrote:

> If I keep installing and unstalling my apk from market, it will change my
> statistics. (like installs and active installs) won't it?


Not in any meaningful way, assuming those stats worked - which they don't,
so your concern is moot anyway.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Google Development phones

2011-09-21 Thread Kristopher Micinski
The original development phone was the nexus one, however the concept
of an official "development phone" hasn't been around for a long time,
and people just generally use their own devices for development these
days.  As long as you buy a nice device (for what you want to do with
it) you should be fine, optionally one that you think you can quickly
root.

Kris

On Wed, Sep 21, 2011 at 9:55 AM, kypriakos  wrote:
>
> Hi all,
>
> the Market lists only one phone, the Nexus One and it says it is not
> longer
> available. Does that mean that Google is out of stock or does it mean
> that
> they are simply switching to a new phone and so this was off their
> pages?
>
> Thanks
>
> On Aug 18, 1:26 pm, Mark Ayers  wrote:
>> The Nexus phones will always get updates quickest, though I'd be willing to
>> bet that after the Nexus Prime, they will all be made by Motoogle.
>> On Aug 18, 2011 6:06 AM, "ColorTheorist" 
>> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > "Sorry, that was just a throwaway comment. Eventually Motorola will
>> > become the gold standard for Android phones due to their proximity to
>> > the software, but in the short term they're no different than any
>> > other
>> > device. If whoever it was needs a phone today any of the phones that
>> > are
>> > out there should be fine."
>>
>> > That's not entirely true. Motorola phones are still on top of their
>> > updates faster than most other devices, while other cheaper phones
>> > might not receive updates at all, or take quite an extensive amount of
>> > time to get the newest releases. As a developer it is useful to get
>> > the newest updates in a timely manner if you plan on using them
>> > anywhere near the newest OS release.
>>
>> > --
>> > 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-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Jim Graham
On Wed, Sep 21, 2011 at 08:49:31AM -0700, Lew Bloch wrote:
> Android is the worst form of mobile OS except for all those other forms that 
> have been tried from time to time ...
> -- Apologies to unknown source as cited by Winston Churchill.
> 

"Borrowed" from the Mutt site (http://www.mutt.org):  "All [mobile OSs]
suck...[Android] just sucks less."

:-)

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| Peter da Silva:  No, try "rm -rf /"
spooky1...@gmail.com| Dave Aronson:As your life flashes before
< Running FreeBSD 7.0 > |  your eyes, in the unit of time known as an
ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
   30.44406N 86.59909W  |

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Lew Bloch
Android is the worst form of mobile OS except for all those other forms that 
have been tried from time to time ...
-- Apologies to unknown source as cited by Winston Churchill.


-- 
Lew

blake wrote:
>
> Oh man.  This is such a bummer.  I'd been thinking it was pretty 
> cool... 
>
> wanyce ashoura wrote: 
>
>> [Android is worst os mobile is this true]

> > Yes i should say that 
> > Why because of more then one reason 
> > 1- not support Arabic language at all meaning you need long time to 
> > get Arabic support 
> > in any kind of android Mobile's 
> > 2- alot of futures not founded in android like what 
> > * redial . 
> > *voice mail . 
> > *gps navigator offline . 
> > * voice command offline . 
> > *proxy . 
> > * a lot of security issues . 
> > *suck in browsing web site's 
> > *crazy market request any program will some times downloaded and may 
> > will not or pause download . 
> > 3- is android real free software and  open source i do not think so is 
> > near to windows mobile 
> > just android use linux kernel and java but is not cool at all 
> > 4-blue tooth is crazy to used in android 
> > 5-not support any thing we dream about it 
> > about me i am waiting for the best came from android from long time 
> > before 
> > and now i have no hope about this os because is just another low level 
> > mobile os like symbian or badi or windows 
> > low level meaning is not reach what we as user's wanted not is 
> > programing 
> > 5- release 1.5 and 2.0 2.1 2.2 2.3 and jump to 3.0 3.1 3.2 
> > but what about other version's is them not deserve some of update's 
> > and improvement 
> > just jump like this .. 
> > 
> == 
> > i hope this e-mail reach real developer behind android and them start 
> > moving up and 
> > give us some hope to we can have mobile's can do what almost we 
> > wanted

 

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: InputMethod crashing with NullPointerException

2011-09-21 Thread Mudhalvan
I have solved this issue myself... Its all because of the "extarcted
view" (or) "fullscreenmode" view being enabled by default in my IME.
Though its strange that it crashes only in 2.3.3 and not in 2.3.1
platform. Overriding onEvaluateFullScreenMode() of inputmethod and
always returning false(ie. never show my SIP in FullScreenMode) fixes
the crash.

But I believe that it will be better if a platform side fix is also
made after investigating this issue. My application currently targets
only tablets and removing fullscreen option shudn't be a big problem
in terms of text input on editors, where as for mobile phones some
IMEs might prefer to show their SIP in fullscreen mode(especially in
landscape orientation) on editors for facilitating the users to type &
view their content and this crash issue will be a big problem for
them.

On Sep 19, 7:33 pm, Mudhalvan  wrote:
> Hi,
>
> Currently I'm encountering a weird issue in which myIMEprocess is
> getting crashed even though its not the defaultIME. The following
> thread which was posted earlier nearly talks about the same issue.
>
> http://groups.google.com/group/android-developers/browse_thread/threa...
>
> I'm assuming that its not the issue with myIMEalone as the above
> thread speaks aboutLatinIME. Following are the steps to reproduce
> the issue:
>
> 1) After installing yourIME, make it the default one such that your
> SIP appears on the editor( say for example GMail ) application. close
> this editor and open another editor.
>
> 2) After typing some words, keep the cursor in between a word and long
> press on the editor to bring up the options with "Add word to
> dictionary". Select that option, which will open the Add word editor
> separately.
>
> 3) There again type (or) add some words from candidate bar and then
> switch theIMEfrom yours to "Android default"IME. After the
> switching is done, tap on the "back" key twice.
>
> 4) On the second tapping of back key, the "Null Pointer 
> Exception"crashappears on the screen with myIME'sprocess mentioned(not the
> Android default one).
>
> Here is the exact piece ofcrashlog which I took out the device( I'm
> actually using a tablet which is running on 2.3.3 ).
>
> 09-15 14:23:11.720: WARN/InputManagerService(113): Window already
> focused, ignoring focus gain of:
> com.android.internal.view.IInputMethodClient$Stub$Proxy@40864a00
> 09-15 14:23:17.190: DEBUG/AndroidRuntime(24837): Shutting down VM
> 09-15 14:23:17.190: WARN/dalvikvm(24837): threadid=1: thread exiting
> with uncaught exception (group=0x40150560)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837): FATAL EXCEPTION: main
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):
> java.lang.NullPointerException
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> android.inputmethodservice.IInputMethodSessionWrapper.executeMessage(IInputMethodSessionWrapper.java:
> 88)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> com.android.internal.os.HandlerCaller
> $MyHandler.handleMessage(HandlerCaller.java:61)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> android.os.Looper.loop(Looper.java:123)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> android.app.ActivityThread.main(ActivityThread.java:3683)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> java.lang.reflect.Method.invoke(Method.java:507)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:839)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
> 09-15 14:23:17.190: ERROR/AndroidRuntime(24837):     at
> dalvik.system.NativeStart.main(Native Method)
>
> I browsed the net and found from sources that the
> InputMethodSessionWrapper in its handler is still trying to use the
> old(invalid) InputMethodSession and calls UpdateExtractedText() with
> out a "null" check. My question is after theIMEis swicthed from mine
> to Android default one, why the InputMethodSessionWrapper is still
> trying to use the old inputmethodsession object ?
> Am I missing something from my onDestroy() call which is causing this
> issue ?(I double checked and found that all required resources like
> registered receivers are unregistered & things like that. Moreover if
> I swap the positions of IMEs and follow above same steps, Android
> defaultIMEis not crashing) (or) am I missing any vital interface
> methods from being overridden in myIME?( I even tried keeping dummy
> implementation of onbindInput() and onUnbindInput() and called the
> super class method, without success in this regard) (or)  is this a
> issue which needs to be addressed from the platform end ?
>
> Thanks,

-- 
You received this message bec

[android-developers] Curved Gallery view

2011-09-21 Thread Abhi
Hi all,

I would like to know if it is possible to create a curved gallery view
from the default horizontal one that Android offers? I don't know if
that entails changing the Gallery code in Android framework which I
want to avoid. Is there any other way to make a custom Gallery view
from scratch? Again, how to go about doing that?

Thanks. Any help would be appreciated.

Abi

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] video resolution trans-coding

2011-09-21 Thread NAVI NEW
Thanks a lot for reply .

On Wed, Sep 21, 2011 at 8:50 PM, NAVI NEW  wrote:

> Sure i am not a pro for crop the video resolution, but if you give me some
> way guideline then i can be able to do that one.
>
>
> On Wed, Sep 21, 2011 at 8:22 PM, Jim Graham  wrote:
>
>> On Wed, Sep 21, 2011 at 05:07:02AM -0700, John wrote:
>>
>> > i have a many mp4 videos files in sdcard , that video file contains
>> > different width,height resolution. i want give a single constant
>> > resolution to that file by code.
>>
>> Different width:height resolutions (in computer video, NOT necessarily
>> in TV formats[1]) mean different aspect ratios.  If you know enough about
>> video to know how badly you are going to screw up your video by fscking
>> around with its aspect ratios, you know enough to know to leave it alone.
>> You cannot convert 4:3 (fullscreen) to widescreen; you CAN convert
>> widescreen formats (and there are a few of these) to 4:3, but you have to
>> do some cropping, either pan & scan or just a direct crop, both of which
>> are highly annoying even when done by a pro, and I gather you are not a
>> pro.
>>
>> Later,
>>   --jim
>>
>> [1] In TV, the aspect ratio and resolution have nothing to do
>>with each other.  For example, a typical DVD's resolution
>>is 720x480, but its aspect ratio may be 4:3, 16:9, etc.
>>SVCD is 480x480, but again
>>
>> --
>> THE SCORE:  ME:  2  CANCER:  0
>> 73 DE N5IAL (/4)| Peter da Silva:  No, try "rm -rf /"
>> spooky1...@gmail.com| Dave Aronson:As your life flashes before
>> < Running FreeBSD 7.0 > |  your eyes, in the unit of time known as an
>> ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
>>   30.44406N 86.59909W  |
>>
>> Android Apps Listing at http://www.jstrack.org/barcodes.html
>>
>> --
>> 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-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] video resolution trans-coding

2011-09-21 Thread NAVI NEW
Sure i am not a pro for crop the video resolution, but if you give me some
way guideline then i can be able to do that one.

On Wed, Sep 21, 2011 at 8:22 PM, Jim Graham  wrote:

> On Wed, Sep 21, 2011 at 05:07:02AM -0700, John wrote:
>
> > i have a many mp4 videos files in sdcard , that video file contains
> > different width,height resolution. i want give a single constant
> > resolution to that file by code.
>
> Different width:height resolutions (in computer video, NOT necessarily
> in TV formats[1]) mean different aspect ratios.  If you know enough about
> video to know how badly you are going to screw up your video by fscking
> around with its aspect ratios, you know enough to know to leave it alone.
> You cannot convert 4:3 (fullscreen) to widescreen; you CAN convert
> widescreen formats (and there are a few of these) to 4:3, but you have to
> do some cropping, either pan & scan or just a direct crop, both of which
> are highly annoying even when done by a pro, and I gather you are not a
> pro.
>
> Later,
>   --jim
>
> [1] In TV, the aspect ratio and resolution have nothing to do
>with each other.  For example, a typical DVD's resolution
>is 720x480, but its aspect ratio may be 4:3, 16:9, etc.
>SVCD is 480x480, but again
>
> --
> THE SCORE:  ME:  2  CANCER:  0
> 73 DE N5IAL (/4)| Peter da Silva:  No, try "rm -rf /"
> spooky1...@gmail.com| Dave Aronson:As your life flashes before
> < Running FreeBSD 7.0 > |  your eyes, in the unit of time known as an
> ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
>   30.44406N 86.59909W  |
>
> Android Apps Listing at http://www.jstrack.org/barcodes.html
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Problems in application upgrade when changing louncher activity

2011-09-21 Thread carlo
Hi all,

I've found that on some customized devices (e.g. with HTC Sense and
others) when you change the louncher activity and, for example you
change the app icon or name, after the upgrade there are some
issues... on a HTC Legend I see that the application still has the old
name&icon and points to the old louncher activity... on a LG Optimus
the application is duplicated so that I have the older application
which doesn't start if you click on it (it points to a non-existing
activity) and the new one with the correct name&icon

There is any chance to solve this?

thanks in advance
Carlo

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] video resolution trans-coding

2011-09-21 Thread Jim Graham
On Wed, Sep 21, 2011 at 05:07:02AM -0700, John wrote:

> i have a many mp4 videos files in sdcard , that video file contains
> different width,height resolution. i want give a single constant
> resolution to that file by code.

Different width:height resolutions (in computer video, NOT necessarily
in TV formats[1]) mean different aspect ratios.  If you know enough about
video to know how badly you are going to screw up your video by fscking
around with its aspect ratios, you know enough to know to leave it alone.
You cannot convert 4:3 (fullscreen) to widescreen; you CAN convert
widescreen formats (and there are a few of these) to 4:3, but you have to
do some cropping, either pan & scan or just a direct crop, both of which
are highly annoying even when done by a pro, and I gather you are not a
pro.

Later,
   --jim

[1] In TV, the aspect ratio and resolution have nothing to do
with each other.  For example, a typical DVD's resolution
is 720x480, but its aspect ratio may be 4:3, 16:9, etc.
SVCD is 480x480, but again 

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| Peter da Silva:  No, try "rm -rf /"
spooky1...@gmail.com| Dave Aronson:As your life flashes before
< Running FreeBSD 7.0 > |  your eyes, in the unit of time known as an
ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
   30.44406N 86.59909W  |

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] how to implement ffmpeg video codec for video player +android

2011-09-21 Thread NAVI NEW
Please give me  a guideline for implementing ffmpeg on android app.

On Wed, Sep 21, 2011 at 7:05 PM, John  wrote:

> how to implement ffmpeg video codec for video player +android
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to connect android device with local network

2011-09-21 Thread Ravi Sharma
If Emulator is working that means uc ode is code..
may be you should troubleshoot ur network
1) Confirm that both device computer and android definitely in same network
2) find out ip address of both
3) See if you have added permission in ur android config file to use
Internet(i assume its there as emulator is working(
4) try to ping android phone from computer

On Wed, Sep 21, 2011 at 2:46 PM, MComputing Lab <
mobilecomputing...@gmail.com> wrote:

> Try usb tethering
> On 21 Sep 2011 17:49, "Gold"  wrote:
> > Hi all,
> >
> > I am using android 2.2 for application development..!
> >
> > Now I want to communicate with Webservice. The webservice running on
> > My laptop and ip is 192.168.1.15..!
> >
> > But device not communicate.it..
> >
> > How to communicate with local network..!
> >
> >
> >
> > Thanks in advance,
> > A. Thangadurai
> >
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How android native gallery app works in switching thumbnails into quality photos?

2011-09-21 Thread Lidia
Thank you very much Speedy, I will try all your advices.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Combining flex code and Android in Eclipse

2011-09-21 Thread s.rawat
Hi ,
Is it possible to combine the Flex code(mxml) with the android code in
Eclipse.I want to passs the values from the android code to the flex code (
written in mxml ).Also if it is possible how can we pass the values to and
from them.
I have a .swf component created from the mxml files in the Adobe Flash
Builder and I am able to integrate it with the android code.But now I want
the mxml files to be included in the android eclipse project and pass the
values from android code to mxml files.

Plz suggest if it is possible.
Rgds,
Saurabh

"..pain is temporary.quitting lasts forever.."

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Google Development phones

2011-09-21 Thread kypriakos

Hi all,

the Market lists only one phone, the Nexus One and it says it is not
longer
available. Does that mean that Google is out of stock or does it mean
that
they are simply switching to a new phone and so this was off their
pages?

Thanks

On Aug 18, 1:26 pm, Mark Ayers  wrote:
> The Nexus phones will always get updates quickest, though I'd be willing to
> bet that after the Nexus Prime, they will all be made by Motoogle.
> On Aug 18, 2011 6:06 AM, "ColorTheorist" 
> wrote:
>
>
>
>
>
>
>
> > "Sorry, that was just a throwaway comment. Eventually Motorola will
> > become the gold standard for Android phones due to their proximity to
> > the software, but in the short term they're no different than any
> > other
> > device. If whoever it was needs a phone today any of the phones that
> > are
> > out there should be fine."
>
> > That's not entirely true. Motorola phones are still on top of their
> > updates faster than most other devices, while other cheaper phones
> > might not receive updates at all, or take quite an extensive amount of
> > time to get the newest releases. As a developer it is useful to get
> > the newest updates in a timely manner if you plan on using them
> > anywhere near the newest OS release.
>
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] How to connect android device with local network

2011-09-21 Thread MComputing Lab
Try usb tethering
On 21 Sep 2011 17:49, "Gold"  wrote:
> Hi all,
>
> I am using android 2.2 for application development..!
>
> Now I want to communicate with Webservice. The webservice running on
> My laptop and ip is 192.168.1.15..!
>
> But device not communicate.it..
>
> How to communicate with local network..!
>
>
>
> Thanks in advance,
> A. Thangadurai
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] how to implement ffmpeg video codec for video player +android

2011-09-21 Thread John
how to implement ffmpeg video codec for video player +android

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] video resolution trans-coding

2011-09-21 Thread Daniel Drozdzewski
On 21 September 2011 14:26, NAVI NEW  wrote:
> Is any one reviewing my issue or not?

not

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Get Auto Increment values from table 1 and insert in Table2

2011-09-21 Thread Krishna Prasad
ok thanks...

On Wed, Sep 21, 2011 at 8:35 AM, Daniel Drozdzewski <
daniel.drozdzew...@gmail.com> wrote:

> On 21 September 2011 12:02, Krishna Prasad
>  wrote:
> > No .
> >
> > My requirement is
> >
> > While Xml parsing,i need to save each value  to db.During saving each
> table
> > is related.Suppose i have a table which has field "id","form name"  in
> one
> > table.I need to save the that  "id" value in another table also.Since it
> is
> > parsing,i want to save it simultaneously.Can you help me?
>
>
> SQLiteStatement.insert() returns ID of newly inserted row.
>
> All you have to do is to wrap both inserts into a transaction.
>
>
> >
> > On Wed, Sep 21, 2011 at 6:49 AM, Ratheesh Valamchuzhy <
> android...@gmail.com>
> > wrote:
> >>
> >> I didn't get your question correctly u want to get the primary key
> >> value from the database ?
> >>
> >> --
> >> 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-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Daniel Drozdzewski
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to connect android device with local network

2011-09-21 Thread Thangadurai .A
Hi Ashok,

Greetings to you..!

I tried that  option but still i getting the error
server not found..! for emulator its working fine..!




Thanks & Warm Regards,
A. Thangadurai

On Sep 21, 5:43 pm, ashok chakravarthy  wrote:
> run some webserver like tomcat on your local machine, then you can able to
> connect to your machine provided both your machine and phone are in same
> network
>
> On Wed, Sep 21, 2011 at 5:48 PM, Gold  wrote:
> > Hi all,
>
> > I am using android 2.2 for application development..!
>
> > Now I want to communicate with Webservice. The webservice running on
> > My laptop and ip is 192.168.1.15..!
>
> > But device not communicate.it..
>
> > How to communicate with local network..!
>
> > Thanks in advance,
> > A. Thangadurai
>
> > --
> > 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] video resolution trans-coding

2011-09-21 Thread NAVI NEW
Is any one reviewing my issue or not?

On Wed, Sep 21, 2011 at 5:37 PM, John  wrote:

> Hello developers,
>
>
> i have a many mp4 videos files in sdcard , that video file contains
> different width,height resolution. i want give a single constant
> resolution to that file by code.
>
> Plz need 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: bluez- control psm - condition G_IO_HUP error.

2011-09-21 Thread arun_satya3
Adding some more info.
During the second execution time, mcl fd is set to poll error G_IO_HUP
after mdl gets created.


On Sep 20, 9:44 pm, arun_satya3  wrote:
> Hi,
>
> I am writing an application to receive data from health devices an
> able to success fully receive data when the device is connected for
> the first time.
> The device is disconnected mcl and mdl is closed properly.
> When the device is connected for the second time G_IO_HUP is getting
> set and am unable to get the fd from the health device.
>
> Can anybody help me to resolve the issue.
>
> Rgds,
> Arun S.

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] how to implement edittext inside listview

2011-09-21 Thread aparna rani
specifying the static in the code

On Wed, Sep 21, 2011 at 6:36 PM, Ratheesh Valamchuzhy
wrote:

> Are  you dynamically increasing the rows or specifying it static in the
> code
>
>  --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Importing a project using com.android.internal.* packages

2011-09-21 Thread MarKco
I answer to myself. I found a branch in the directory tree where the 
previous developer had been copying the used part of com.android.internal 
that is used into the project.
Importing that branch I solved my dependancy issued. I just hope that this 
won't bring the app to have mismatches with future Android versions...

Cheers

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] how to implement edittext inside listview

2011-09-21 Thread Ratheesh Valamchuzhy
Are  you dynamically increasing the rows or specifying it static in the code

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Publish and Debug

2011-09-21 Thread Leonardo Martins Scaramel
If I keep installing and unstalling my apk from market, it will change my
statistics. (like installs and active installs) won't it?

2011/9/21 Jens 

>
>
>  wrote:
> > I really have to unsintall the market downloaded apk to run the debug?
>
> No.
>
> > or there is another way to do this?
>
> Yes.
>
> Four easy steps to compromise security:
> 1. Whip out Portecle (http://portecle.sourceforge.net, no install
> required).
> 2. MAKE A COPY OF YOUR SIGNING KEYSTORE.
> 3. Use Portecle to rename the key or create a new keystore that
> contains your signing key - but now with the name "androiddebug" and
> the password "android".
> 4. Replace your debug keystore with this brand spanking new keystore
> and presto - you are debug signing your apps with the same key.
>
> This is of course a *horrifically* bad idea security wise - but fun
> nonetheless.
>
> --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Leonardo Martins Scaramel
MSN: xx11_leona...@hotmail.com
Fone Cel: 5475-9955

"Até Mais e Obrigado pelos Peixes"

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Cavnas's pattern to bitmap

2011-09-21 Thread Perry168
ar. Which method is my need?

On 9月19日, 上午10時11分, gjs  wrote:
> Hi,
>
> Seehttp://developer.android.com/reference/android/graphics/Canvas.html#s...)
>
> Regards
>
> On Sep 17, 11:55 am,Perry168 wrote:
>
>
>
> > Hi all,
> > If I draw some graphic on the cavnas, How can I convert the cavnas's
> > pattern to a bitmap format?
> > Thanks!- 隱藏被引用文字 -
>
> - 顯示被引用文字 -

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] how to implement edittext inside listview

2011-09-21 Thread aparna rani
ya but increase the more no. of rows then it is not getting the data from
edittext. the means increase up to to 12 row,

On Wed, Sep 21, 2011 at 6:13 PM, Ratheesh Valamchuzhy
wrote:

>
> Hi
>
> As per your code there is 5 tedittext in you app ..
>
> we can get the values of each edittext(5 nos)  in that pgm...
> see the code ...
> ===
>
> public View getView(final int position, View convertView, ViewGroup parent)
>
> {
> ViewHolder holder;
> if (convertView == null)
> {
> convertView = mInflater.inflate(R.layout.adaptor_content, null);
> holder = new ViewHolder();
> holder.textLine = (TextView) convertView.findViewById(R.id.textLine);
> holder.textLine2 =(TextView) convertView.findViewById(R.id.textLine2);
> holder.Edittext = (EditText) convertView.findViewById(R.id.edittext_qty);
> editTextList.add(holder.Edittext);
> convertView.setOnClickListener(new OnClickListener()
> {
> private int pos = position;
> @Override
> public void onClick(View v)
> {
>
> String q=editTextList.get(position).getText().toString();
> Toast.makeText(context, "data-"+ q, Toast.LENGTH_SHORT).show();
>
> }
> });
> convertView.setTag(holder);
> }
> else
> {
> holder = (ViewHolder) convertView.getTag();
> }
> holder.textLine.setText(TitleString[position] + String.valueOf(position));
> holder.textLine2.setText(DetailString[position] +
> String.valueOf(position));
> return convertView;
> }
> =
>
>
>  --
> 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-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Block the upgrade

2011-09-21 Thread Perry168
Hi,
How can I block the user to upgrade the Apps if who isn't downloaded
from google market?

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


  1   2   >