[android-developers] Ways that 2 Android phones communicate between each other

2012-10-12 Thread Jxn
Uselt XMPP and the pubsub extension. In that way you can have multiple 
instances of your program all communicate with all others.
Examples of real uses are inform all about what you play, your position, play 
chess and chat (jabber). Please note that this is extensions of XMPP and not 
the chat function in Jabber.
It has massive use cases like Google Talk and Facebook chat.

Please look up more info at http://xmpp.org/ and http://jabber.org/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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] Tab Customisation

2012-10-12 Thread Amey Bapat
What an attitude..??
Instead of being rude and cluttering our mailbox why don't you Google it
for yourself..!!
I am not discouraging you.
This is a forum for developers for questions related only towards
development..
Google provides sample application and tutorials..!!
That i what i am asking you to do..!!
http://lmgtfy.com/?q=tabview+android+example


On Wed, Oct 10, 2012 at 9:26 PM, janvi  wrote:

> Hello Bapat
> Dnt give these kind of replies
>
> Be patient and help others dnt discourage
>
> Reply only if you have interest else just leave others will do this job to
> their best
>
>
> On Monday, October 8, 2012 2:38:39 PM UTC+5:30, Amey Bapat wrote:
>
>> google it..you would get a lot of tutorials on TabView
>>
>> On Mon, Oct 8, 2012 at 1:50 PM, janvi  wrote:
>>
>>> Hello All
>>>
>>> I need a small information on tabs in android.
>>>
>>> I want to customise the tab in a similar way as our message tab in
>>> android phones
>>> Suppose when message arrives to us we get number on the message tab,I
>>> want to implement the same functionality in my application.
>>> Just provide me with the sample example
>>>
>>> Plz reply me as soon as possible
>>>
>>> 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-d...@**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
>>>
>>
>>
>>
>> --
>> live and let LIVE!!!
>>
>  --
> 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
>



-- 
live and let LIVE!!!

-- 
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] Tab Customisation

2012-10-12 Thread Lew
MagouyaWare wrote:

> Hello Bapat
>> Dnt give these kind of replies
>>
>
Don't spell "don't" as "Dnt".
 

>
>> Be patient and help others dnt discourage
>>
>> Again.
 

> Reply only if you have interest else just leave others will do this job to 
>> their best
>>
>
>
An interest can include giving the "teach a man to fish" style of advice.
 

> I disagree... Asking a question on here should only be done after 
> exhausting other options like Google.  If someone hasn't done that (and I 
> think it is pretty obvious the OP didn't) then they should be told to.  
> Otherwise they are just cluttering up this mailing list with useless 
> questions that have already been answered.
>

 It is a long-standing tradition to answer RTFM if the poster hasn't.

GIYF and LMGTFY are also great responses.

People VOLUNTEER to answer out of the goodness of their heart. Don't waste 
their time.

And don't cop an attitude when given the advice to do your own research. 
That is a sure 
way to poison the well and never get any help.

Also, "please" is not spelled "plz".

Furthermore, the advice to "Google it" is good advice. You should have 
said, "Thank you."
Instead you were rude, janvi.

-- 
Lew

-- 
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: RAM video

2012-10-12 Thread Lew
bob wrote:

> Is there any way to load a video into RAM and have it play from there?  
>
> All of it?

Small videos only, then.
 

> I don't want one ounce of jitter.
>
>
> You'll have infinite jitter if you load a 2GiB video into 1/2 GiB of RAM 
and therefore play stops 
a quarter of the way through. 

Don't the video libraries available have buffers?

-- 
Lew

-- 
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] Android app google maps showing grey tiles and not map!

2012-10-12 Thread Mark Murphy
On Fri, Oct 12, 2012 at 7:11 PM, aek  wrote:
>   I wrote this snippet of program to illustrate google map example, the pb
> that happens is tha the google map shows up but empty (only tiles and no
> map)!

Either:

-- You did not request the INTERNET permission, or
-- Your device or emulator does not have Internet access (at least to
the Google Maps servers), or
-- Your API key is wrong

If your manifest is what is shown in your original post, your INTERNET
permission seems fine, so your issue would appear to lie with one of
the other two possibilities above.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://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


[android-developers] WebView findAll

2012-10-12 Thread Kris G
Hello all,

I have a question about the findAll function in WebViews.  I know that it 
is deprecated, in eclipse this comes up "The method findAll(String) from 
the type WebView is deprecated".  I am targeting 4.1 (API 16) with a 
minimum of 2.2 (API 8).  This is the code I have:


public boolean onKey(View v, int keyCode, KeyEvent event) {
if ((event.getAction() == KeyEvent.ACTION_DOWN)
&& ((keyCode == KeyEvent.KEYCODE_ENTER))) {
wv.findAll(findBox.getText().toString());
try {
Method m = WebView.class.getMethod("setFindIsUp",
Boolean.TYPE);
m.invoke(wv, true);
} catch (Exception ignored) {
}
}
return false;
}



Also, I know that findAllAsync is the new way to do things but this still 
does not work across all android versions. I just want to have a 
functioning find/search in a WebView.  So far this functions great for only 
*some *versions of android, versions such as 4.0, 4.0.3, and I believe 3.0 
do not function correctly.

Older versions of android such as the 2.x series and my nexus s on 4.1 work 
great.

Anyone know of a workaround for a search or find function to work on all 
android versions?  If there is something completely different from this I 
am willing to listen, at this point I only am looking for a functioning 
search on all versions.

Thanks everybody!

-- 
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 app google maps showing grey tiles and not map!

2012-10-12 Thread aek


  Hi there,

  I wrote this snippet of program to illustrate google map example, the pb 
that happens is tha the google map shows up but empty (only tiles and no 
map)!

  any help, 

   here is my pg

   thanks in advance 

  

package com.example.hellogooglemaps;

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class HelloMap extends MapActivity {

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

MapView mapView = (MapView) findViewById(R.id.mapview);
mapView.setBuiltInZoomControls(true);

}


@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}


   -- AndroidManifest.xml

http://schemas.android.com/apk/res/android";
package="com.example.hellogooglemaps"
android:versionCode="1"
android:versionName="1.0" >



















- main.xml


http://schemas.android.com/apk/res/android";
android:id="@+id/mapview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:apiKey="05C6aWgXBjxkc_6M3fI4H_Gxv7Gy9XucFYKCIaA"
/>


-

 thnk you


















-- 
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] compass-less devices =/

2012-10-12 Thread Sheado
Hi All,

Looks like there are more and more devices out there with no compass. My 
game uses compass + accelerometer instead of the gravity sensor for 
control. So now I need to add gravity sensor support when there's no 
compass... so 2 questions:

   - Anybody have a list of compass lacking devices? I need to buy at least 
   one to test against.
   - Any best practices for handling default orientation (landscape default 
   vs portrait default) when the compass is missing?

thanks!

-Chad

-- 
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] Tab Customisation

2012-10-12 Thread Justin Anderson
>
> Hello Bapat
> Dnt give these kind of replies
>
> Be patient and help others dnt discourage
>
> Reply only if you have interest else just leave others will do this job to
> their best
>

I disagree... Asking a question on here should only be done after
exhausting other options like Google.  If someone hasn't done that (and I
think it is pretty obvious the OP didn't) then they should be told to.
Otherwise they are just cluttering up this mailing list with useless
questions that have already been answered.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Oct 10, 2012 at 9:56 AM, janvi  wrote:

> Hello Bapat
> Dnt give these kind of replies
>
> Be patient and help others dnt discourage
>
> Reply only if you have interest else just leave others will do this job to
> their best
>

-- 
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] RAM video

2012-10-12 Thread bob
 

Is there any way to load a video into RAM and have it play from there?  


I don't want one ounce of jitter.


-- 
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: Converting LAt Long to UTM

2012-10-12 Thread Lew
Karl Kristian Markman wrote:

> Lew is this more what you are looking for?? 
>

Nope. I was talking about the conversion of 'int' to 'double', which does 
not involve any formulas.
 

>   public final double a = 6378137;   //Equatorial radius in meters
>
(Do not use TAB characters to indent code in your posts. Use 2 to 4 spaces 
per level.)

Java conveniently does the conversion for you. However, you should be aware 
of it.

-- 
Lew

-- 
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: ViewPager subclass + onMeasure

2012-10-12 Thread Chris Sarbora
Found the solution to this: ViewPager.onMeasure() handles measuring its 
children, which I wasn't accounting for. I changed my onMeasure 
implementation to simply pass super.onMeasure() some new MeasureSpecs with 
the size I calculate, and presto: Great success.

On Friday, October 12, 2012 1:23:23 AM UTC-7, Chris Sarbora wrote:
>
> I'm trying to develop a ViewPager subclass that, among other things, 
> limits itself to a specific aspect ratio (2:1 W:H), and accepts a 
> BaseAdapter instead of only a PagerAdapter.
>
> I've built a PagerAdapter implementation that can take a BaseAdapter and 
> translate to/from, without any apparent problems. No leaking, decent view 
> recycling, etc.
>
> However, when I implement onMeasure() in the ViewPager subclass so that I 
> can start toying with settings its size, suddenly the ViewPager starts 
> "losing" pages. It will continue to scroll back and forth, but the View 
> returned by the PagerAdapter isn't displayed. I've tried disabling the view 
> recycling, and tinkering around with various other behaviors, to no avail. 
> I'm not really sure where to go from here, as I can't figure out how 
> onMeasure and the Adapter would be remotely related... but it's absolute: 
> if I use my custom onMeasure, pages get lost. If I comment onMeasure out, 
> everything works peachy.
>
> Source is at https://github.com/tophyr/custompager - I'd be indebted to 
> anyone who takes a peek and gives me some insight as to what's going on.
>
> Thanks!
> Chris
>

-- 
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] EffectFactory

2012-10-12 Thread bob
 

Anyone know of any good examples of android.media.effect.EffectFactory?


I wouldn't mind seeing a camera app that does a Lomo effect in real time.


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

2012-10-12 Thread bob
 

Sounds like you will want to use a subclass of *
android.view.animation.Animation*.


Then call this on your View object:


  void
 
 
*setAnimation*
(Animationanimation)

Sets the next animation to play for this view.
  




On Wednesday, October 10, 2012 9:28:53 AM UTC-5, avd wrote:
>
> how to make animation app in android using JSON and ASynctask ,?,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

Re: [android-developers] ANR on android.view.GLES20Canvas.nDrawDisplayList(Native Method)

2012-10-12 Thread Chris Sarbora
Is there a possibility that you could be recursively generating an enormous 
view tree?

Source for the cursor adapter, and any relevant custom views would be 
useful.

On Friday, October 12, 2012 10:59:50 AM UTC-7, Gaurav wrote:
>
> Hi Romain,
>   The ANR was observed in an activity that uses a gridview to display 
> small images and metadata. The gridview is backed by a cursor adapter that 
> feeds it views. There is not much to draw here. Hence it would be great if 
> you could point me to some guidelines regarding potential root causes. Also 
> if this is a OpenGLDriver or platform bug, have you come across any thing 
> that looks similar to this before? It would help me narrow down the root 
> cause.
>
> Thanks in advance
> Gaurav 
>
> On Friday, October 12, 2012 10:37:15 AM UTC-7, Gaurav wrote:
>>
>> Hi Romain,
>>   Thanks for the quick turnaround. I do not think I can pursue a bug in 
>> the OpenGLDriver or the platform without information about the device or 
>> Android OS version in particular. However you also mentioned drawing too 
>> much. How much is too much? I would appreciate any guidelines regarding 
>> this. 
>>
>> Thanks
>> Gaurav
>>
>> On Friday, October 12, 2012 10:26:02 AM UTC-7, Romain Guy (Google) wrote:
>>>
>>> Your application is involved :) This stack trace indicates that the 
>>> ANR occurs while drawing your application. It could occur for a number 
>>> of reasons: your app is doing way too much drawing, bug in the 
>>> platform, bug in the OpenGL driver, etc. 
>>>
>>> On Fri, Oct 12, 2012 at 10:18 AM, Gaurav  wrote: 
>>> > Hi, 
>>> >   I am trying to investigate the following ANR. Unfortunately the 
>>> report 
>>> > does not contain any information regarding device or Android OS 
>>> version. The 
>>> > entire stack trace has the main thread doing something in the platform 
>>> with 
>>> > nothing in my application seemingly involved. Any clues regarding what 
>>> could 
>>> > be going on here? Is this for example a known condition on specific 
>>> devices? 
>>> > or under specific circumstances? 
>>> > 
>>> > 
>>> > DALVIK THREADS: 
>>> > (mutexes: tll=0 tsl=0 tscl=0 ghl=0) 
>>> > "main" prio=5 tid=1 SUSPENDED 
>>> >   | group="main" sCount=1 dsCount=0 obj=0x40c61460 self=0x12a20 
>>> >   | sysTid=16528 nice=0 sched=0/0 cgrp=default handle=1074619592 
>>> >   | schedstat=( 27371262660 19178339946 112956 ) utm=2448 stm=289 
>>> core=0 
>>> >   at android.view.GLES20Canvas.nDrawDisplayList(Native Method) 
>>> >   at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:363) 
>>> >   at 
>>> > 
>>> android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:842) 
>>> >   at android.view.ViewRootImpl.draw(ViewRootImpl.java:2049) 
>>> >   at 
>>> android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1773) 
>>> >   at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585) 
>>> >   at android.os.Handler.dispatchMessage(Handler.java:99) 
>>> >   at android.os.Looper.loop(Looper.java:137) 
>>> >   at android.app.ActivityThread.main(ActivityThread.java:4507) 
>>> >   at java.lang.reflect.Method.invokeNative(Native Method) 
>>> >   at java.lang.reflect.Method.invoke(Method.java:511) 
>>> >   at 
>>> > 
>>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
>>>  
>>>
>>> >   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) 
>>> >   at dalvik.system.NativeStart.main(Native Method) 
>>> > 
>>>
>>>
>>>
>>>
>>> -- 
>>> Romain Guy 
>>> Android framework engineer 
>>> roma...@android.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

[android-developers] Re: x86 Emulator Image for Jelly Bean and with Google APIs

2012-10-12 Thread Anuj Goyal
1. This is a work in progress.

2. There is an x86 JB system image available for the x86 emulator. I 
recommend installing it via the SDK manager.
http://software.intel.com/en-us/articles/intel-atom-x86-image-for-android-jelly-bean-installation-instructions-manually


On Thursday, August 23, 2012 6:25:53 AM UTC-7, sven wrote:
>
> Hi,
>
> I've recently tried out the only available x86 emulator image (ICS 4.0.3) 
> with intel CPU-supported virtualization on Windows and the performance 
> improvement of the emulator is amazing. Unfortunately the available image 
> does *not* include the Google API and as my app requires google 
> authentication it will not run without modifications on this device. So 
> here are my questions:
>
>1. Will there be any x86 emulator images including Google APIs?
>2. Will there be a x86 emulator image for Jelly Bean?
>3. If none of the above: What are the reasons and are there any 
>workarounds?
>
> Thanks and best regards
>
>   Sven
>

-- 
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: Emulator Use Question

2012-10-12 Thread Anuj Goyal


Here is some data on the x86 emulator/HAXM. Feel free to G+ it if you think 
it will help Android developers.

http://www.developer.com/ws/android/development-tools/supercharge-your-android-emulator-speed-with-intel-emulation-technologies.html


On Wednesday, August 22, 2012 4:01:54 PM UTC-7, J.B. wrote:
>
> Hi all,
>
> My client wants me to use the Intel HAXM emulator.  Does anybody use it?  
> How does it compare to the one in the Android SDK?
>
> Thx,
>
> JB
>

-- 
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] android

2012-10-12 Thread Justin Anderson
   1. Read this first:
   http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html
   2. Get started on your project
   3. Feel free to ask again when you run into a specific problem you don't
   know how to solve...


Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Oct 10, 2012 at 8:28 AM, avd  wrote:

> how to make animation app in android using JSON and ASynctask ,?,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

-- 
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] android app development

2012-10-12 Thread Justin Anderson
   1. Read this first:
   http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html
   2. Get started on your project
   3. Feel free to ask again when you run into a specific problem you don't
   know how to solve...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Oct 10, 2012 at 12:25 AM, avd  wrote:

> *Hello everyone ,i am trying to make a animation app ,,, and i want to
> use json parsing to read image path and its animation .?.plz 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

Re: [android-developers] Getting my buttons to work.

2012-10-12 Thread Justin Anderson
What does the layout xml look like for these buttons?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Oct 12, 2012 at 12:20 PM, Justin Anderson wrote:

> Have you looked at the logcat output for any signs of errors or anything?
> I don't see anything obviously wrong with your code...
>
> You could try an anonymous class... Maybe something like this:
>
> ButtonMinus.setOnClickListener(new View.OnClickListener() {
>
>  @Override
>  public void onClick(View v) {
>   Toast.makeText(this, "GoodBye World", Toast.LENGTH_LONG).show();
>  }
> });
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
>
> On Sat, Oct 6, 2012 at 8:27 AM, Dragon <2002drag...@gmail.com> wrote:
>
>> I have been trying for about 3-4 days trying to get my buttons to work
>> and I feel like an idiot because I can't seem to solve my problem.  The
>> code I'm showing here is from the second page of my app.  I am trying to
>> get the buttons to work by showing a Toast so that I can further develop it
>> by turning it into a counter.  First things first, getting it to work with
>> the toast so that I know it works.  I appreciate the help.
>>
>> Here is the code:
>>
>>
>> package com.sports.discgolfou;
>>
>> import android.os.Bundle;
>> import android.app.Activity;
>> import android.view.View;
>> import android.view.View.OnClickListener;
>> import android.widget.Button;
>> import android.widget.TextView;
>> import android.widget.Toast;
>>
>> public class hole_1 extends Activity implements View.OnClickListener{
>>
>> @Override
>> public void onCreate(Bundle savedInstanceState){
>> super.onCreate(savedInstanceState);
>> setContentView(R.layout.activity_page2);
>>
>> //TextView SC = (TextView) findViewById(R.id.labelShotCounter);
>> Button ButtonAdd = (Button) findViewById(R.id.buttonAdd);
>>  ButtonAdd.setOnClickListener(this);
>> Button ButtonMinus = (Button) findViewById(R.id.buttonMinus);
>> ButtonMinus.setOnClickListener(this);
>>  }//End onCreate
>>
>>
>> @Override
>>  public void onClick(View v) {
>> // TODO Auto-generated method stub
>> if(v.getId() == R.id.buttonAdd)
>>  {
>> Toast.makeText(this, "Hello World", Toast.LENGTH_LONG).show();
>> }
>>  else if(v.getId() == R.id.buttonMinus)
>> {
>> Toast.makeText(this, "GoodBye World", Toast.LENGTH_LONG).show();
>>  }
>>  }//End onClick
>>   }//End Activity
>>
>>  --
>> 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] Getting my buttons to work.

2012-10-12 Thread Justin Anderson
Have you looked at the logcat output for any signs of errors or anything?
I don't see anything obviously wrong with your code...

You could try an anonymous class... Maybe something like this:

ButtonMinus.setOnClickListener(new View.OnClickListener() {
 @Override
 public void onClick(View v) {
  Toast.makeText(this, "GoodBye World", Toast.LENGTH_LONG).show();
 }
});

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sat, Oct 6, 2012 at 8:27 AM, Dragon <2002drag...@gmail.com> wrote:

> I have been trying for about 3-4 days trying to get my buttons to work and
> I feel like an idiot because I can't seem to solve my problem.  The code
> I'm showing here is from the second page of my app.  I am trying to get the
> buttons to work by showing a Toast so that I can further develop it by
> turning it into a counter.  First things first, getting it to work with the
> toast so that I know it works.  I appreciate the help.
>
> Here is the code:
>
>
> package com.sports.discgolfou;
>
> import android.os.Bundle;
> import android.app.Activity;
> import android.view.View;
> import android.view.View.OnClickListener;
> import android.widget.Button;
> import android.widget.TextView;
> import android.widget.Toast;
>
> public class hole_1 extends Activity implements View.OnClickListener{
>
> @Override
> public void onCreate(Bundle savedInstanceState){
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_page2);
>
> //TextView SC = (TextView) findViewById(R.id.labelShotCounter);
> Button ButtonAdd = (Button) findViewById(R.id.buttonAdd);
>  ButtonAdd.setOnClickListener(this);
> Button ButtonMinus = (Button) findViewById(R.id.buttonMinus);
> ButtonMinus.setOnClickListener(this);
>  }//End onCreate
>
>
> @Override
>  public void onClick(View v) {
> // TODO Auto-generated method stub
> if(v.getId() == R.id.buttonAdd)
>  {
> Toast.makeText(this, "Hello World", Toast.LENGTH_LONG).show();
> }
>  else if(v.getId() == R.id.buttonMinus)
> {
> Toast.makeText(this, "GoodBye World", Toast.LENGTH_LONG).show();
>  }
>  }//End onClick
>   }//End Activity
>
>  --
> 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] Ways that 2 Android phones communicate between each other

2012-10-12 Thread Archana
Hi,

Can someone please tell me what are the possible ways for 2 android phones 
to communicate with each other?(other than acting like a 
client/server/C2DM) ?

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] ANR on android.view.GLES20Canvas.nDrawDisplayList(Native Method)

2012-10-12 Thread Gaurav
Hi Romain,
  The ANR was observed in an activity that uses a gridview to display small 
images and metadata. The gridview is backed by a cursor adapter that feeds 
it views. There is not much to draw here. Hence it would be great if you 
could point me to some guidelines regarding potential root causes. Also if 
this is a OpenGLDriver or platform bug, have you come across any thing that 
looks similar to this before? It would help me narrow down the root cause.

Thanks in advance
Gaurav 

On Friday, October 12, 2012 10:37:15 AM UTC-7, Gaurav wrote:
>
> Hi Romain,
>   Thanks for the quick turnaround. I do not think I can pursue a bug in 
> the OpenGLDriver or the platform without information about the device or 
> Android OS version in particular. However you also mentioned drawing too 
> much. How much is too much? I would appreciate any guidelines regarding 
> this. 
>
> Thanks
> Gaurav
>
> On Friday, October 12, 2012 10:26:02 AM UTC-7, Romain Guy (Google) wrote:
>>
>> Your application is involved :) This stack trace indicates that the 
>> ANR occurs while drawing your application. It could occur for a number 
>> of reasons: your app is doing way too much drawing, bug in the 
>> platform, bug in the OpenGL driver, etc. 
>>
>> On Fri, Oct 12, 2012 at 10:18 AM, Gaurav  wrote: 
>> > Hi, 
>> >   I am trying to investigate the following ANR. Unfortunately the 
>> report 
>> > does not contain any information regarding device or Android OS 
>> version. The 
>> > entire stack trace has the main thread doing something in the platform 
>> with 
>> > nothing in my application seemingly involved. Any clues regarding what 
>> could 
>> > be going on here? Is this for example a known condition on specific 
>> devices? 
>> > or under specific circumstances? 
>> > 
>> > 
>> > DALVIK THREADS: 
>> > (mutexes: tll=0 tsl=0 tscl=0 ghl=0) 
>> > "main" prio=5 tid=1 SUSPENDED 
>> >   | group="main" sCount=1 dsCount=0 obj=0x40c61460 self=0x12a20 
>> >   | sysTid=16528 nice=0 sched=0/0 cgrp=default handle=1074619592 
>> >   | schedstat=( 27371262660 19178339946 112956 ) utm=2448 stm=289 
>> core=0 
>> >   at android.view.GLES20Canvas.nDrawDisplayList(Native Method) 
>> >   at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:363) 
>> >   at 
>> > 
>> android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:842) 
>> >   at android.view.ViewRootImpl.draw(ViewRootImpl.java:2049) 
>> >   at 
>> android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1773) 
>> >   at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585) 
>> >   at android.os.Handler.dispatchMessage(Handler.java:99) 
>> >   at android.os.Looper.loop(Looper.java:137) 
>> >   at android.app.ActivityThread.main(ActivityThread.java:4507) 
>> >   at java.lang.reflect.Method.invokeNative(Native Method) 
>> >   at java.lang.reflect.Method.invoke(Method.java:511) 
>> >   at 
>> > 
>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
>>  
>>
>> >   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) 
>> >   at dalvik.system.NativeStart.main(Native Method) 
>> > 
>>
>>
>>
>>
>> -- 
>> Romain Guy 
>> Android framework engineer 
>> roma...@android.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] intent extras

2012-10-12 Thread Kristopher Micinski
Please clarify why you want to know this.  It seems like you're trying
to be more stateful than you should be being.. What happens when the
structure of your app slightly changes, and then you have logic in
your app to branch on the activity which sent the last intent.. that's
bad, right?.. Right.

It sounds like any app really following this design idea would be badly written.

kris

On Sat, Oct 6, 2012 at 8:00 AM, Salih Gündüz  wrote:
> Can we control which activity send data in destination activity?
>
> --
> 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 implement Async into my code ?

2012-10-12 Thread Justin Anderson
>
> So for andriod 4.0 you can not do http request anymore ?

That is not quite accurate... You can't do an http request *on the UI thread
*.


> So What do I need to adjust here to let it work ?
>
I would do it either with an AsyncTask or with a Service... possibly an
IntentService depending on your needs.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Oct 10, 2012 at 2:35 PM, Kristof D.B  wrote:

> So for andriod 4.0 you can not do http request anymore ? So What do I need
> to adjust here to let it work ?

-- 
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] ANR on android.view.GLES20Canvas.nDrawDisplayList(Native Method)

2012-10-12 Thread Gaurav
Hi Romain,
  Thanks for the quick turnaround. I do not think I can pursue a bug in the 
OpenGLDriver or the platform without information about the device or 
Android OS version in particular. However you also mentioned drawing too 
much. How much is too much? I would appreciate any guidelines regarding 
this. 

Thanks
Gaurav

On Friday, October 12, 2012 10:26:02 AM UTC-7, Romain Guy (Google) wrote:
>
> Your application is involved :) This stack trace indicates that the 
> ANR occurs while drawing your application. It could occur for a number 
> of reasons: your app is doing way too much drawing, bug in the 
> platform, bug in the OpenGL driver, etc. 
>
> On Fri, Oct 12, 2012 at 10:18 AM, Gaurav > 
> wrote: 
> > Hi, 
> >   I am trying to investigate the following ANR. Unfortunately the report 
> > does not contain any information regarding device or Android OS version. 
> The 
> > entire stack trace has the main thread doing something in the platform 
> with 
> > nothing in my application seemingly involved. Any clues regarding what 
> could 
> > be going on here? Is this for example a known condition on specific 
> devices? 
> > or under specific circumstances? 
> > 
> > 
> > DALVIK THREADS: 
> > (mutexes: tll=0 tsl=0 tscl=0 ghl=0) 
> > "main" prio=5 tid=1 SUSPENDED 
> >   | group="main" sCount=1 dsCount=0 obj=0x40c61460 self=0x12a20 
> >   | sysTid=16528 nice=0 sched=0/0 cgrp=default handle=1074619592 
> >   | schedstat=( 27371262660 19178339946 112956 ) utm=2448 stm=289 core=0 
> >   at android.view.GLES20Canvas.nDrawDisplayList(Native Method) 
> >   at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:363) 
> >   at 
> > android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:842) 
> >   at android.view.ViewRootImpl.draw(ViewRootImpl.java:2049) 
> >   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1773) 
> >   at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585) 
> >   at android.os.Handler.dispatchMessage(Handler.java:99) 
> >   at android.os.Looper.loop(Looper.java:137) 
> >   at android.app.ActivityThread.main(ActivityThread.java:4507) 
> >   at java.lang.reflect.Method.invokeNative(Native Method) 
> >   at java.lang.reflect.Method.invoke(Method.java:511) 
> >   at 
> > 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
>  
>
> >   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) 
> >   at dalvik.system.NativeStart.main(Native Method) 
> > 
>
>
>
>
> -- 
> Romain Guy 
> Android framework engineer 
> roma...@android.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] restful webservice

2012-10-12 Thread Justin Anderson
   1. Read this:
   http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html
   2. And then go here: http://lmgtfy.com/?q=android+webservice+tutorial
   3. When you have a more specific question/problem, feel free to try
   again...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Oct 8, 2012 at 1:04 AM, nirisha bandaru
wrote:

> i am new to android ,how to use restful .net web service in 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] spread sheet

2012-10-12 Thread Justin Anderson
   1. Read this:
   http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html
   2. Ask again when you have a specific question...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Oct 10, 2012 at 5:41 AM, Nachi.R nach  wrote:

> hai
>
> i'm new to androidd platform, i want to create excel in android
> project..,i don't know to create plz 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

Re: [android-developers] ANR on android.view.GLES20Canvas.nDrawDisplayList(Native Method)

2012-10-12 Thread Romain Guy
Your application is involved :) This stack trace indicates that the
ANR occurs while drawing your application. It could occur for a number
of reasons: your app is doing way too much drawing, bug in the
platform, bug in the OpenGL driver, etc.

On Fri, Oct 12, 2012 at 10:18 AM, Gaurav  wrote:
> Hi,
>   I am trying to investigate the following ANR. Unfortunately the report
> does not contain any information regarding device or Android OS version. The
> entire stack trace has the main thread doing something in the platform with
> nothing in my application seemingly involved. Any clues regarding what could
> be going on here? Is this for example a known condition on specific devices?
> or under specific circumstances?
>
>
> DALVIK THREADS:
> (mutexes: tll=0 tsl=0 tscl=0 ghl=0)
> "main" prio=5 tid=1 SUSPENDED
>   | group="main" sCount=1 dsCount=0 obj=0x40c61460 self=0x12a20
>   | sysTid=16528 nice=0 sched=0/0 cgrp=default handle=1074619592
>   | schedstat=( 27371262660 19178339946 112956 ) utm=2448 stm=289 core=0
>   at android.view.GLES20Canvas.nDrawDisplayList(Native Method)
>   at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:363)
>   at
> android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:842)
>   at android.view.ViewRootImpl.draw(ViewRootImpl.java:2049)
>   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1773)
>   at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585)
>   at android.os.Handler.dispatchMessage(Handler.java:99)
>   at android.os.Looper.loop(Looper.java:137)
>   at android.app.ActivityThread.main(ActivityThread.java:4507)
>   at java.lang.reflect.Method.invokeNative(Native Method)
>   at java.lang.reflect.Method.invoke(Method.java:511)
>   at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
>   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
>   at dalvik.system.NativeStart.main(Native Method)
>
> --
> 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



-- 
Romain Guy
Android framework engineer
romain...@android.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] serial number?

2012-10-12 Thread RichardC
Note that ANDROID_ID has in the past had a few problems:
http://android-developers.blogspot.co.uk/2011/03/identifying-app-installations.html

On Friday, October 12, 2012 4:33:12 PM UTC+1, Subodh Nijsure wrote:
>
> Might want to search for ANDROID_ID in the document it is supposed to give 
> unique id
>
> Subodh
> On Oct 12, 2012 8:24 AM, "bob" > 
> wrote:
>
>> Does every Android tablet have a serial number or some kind of unique 
>> identifier?
>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@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: breakpoint hide and seek

2012-10-12 Thread Justin Anderson
I, for one, angrily curse the UI for being stupid and do absolutely nothing
about it.  :-)

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Oct 12, 2012 at 11:16 AM, Chris Sarbora  wrote:

> Eclipse has a Breakpoints list. In your Debug perspective, go to Window ->
> Show View -> Breakpoints.
>
>
> On Friday, October 12, 2012 10:13:50 AM UTC-7, bob wrote:
>>
>> What do you all do when your breakpoints get obscured by other symbols in
>> the margin?
>>
>>
>> For instance, there is a breakpoint here:
>>
>>
>>
>>
>>
>> 
>>
>>  --
> 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] ANR on android.view.GLES20Canvas.nDrawDisplayList(Native Method)

2012-10-12 Thread Gaurav
Hi,
  I am trying to investigate the following ANR. Unfortunately the report 
does not contain any information regarding device or Android OS version. 
The entire stack trace has the main thread doing something in the platform 
with nothing in my application seemingly involved. Any clues regarding what 
could be going on here? Is this for example a known condition on specific 
devices? or under specific circumstances?


DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)
"main" prio=5 tid=1 SUSPENDED
  | group="main" sCount=1 dsCount=0 obj=0x40c61460 self=0x12a20
  | sysTid=16528 nice=0 sched=0/0 cgrp=default handle=1074619592
  | schedstat=( 27371262660 19178339946 112956 ) utm=2448 stm=289 core=0
  at android.view.GLES20Canvas.nDrawDisplayList(Native Method)
  at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:363)
  at 
android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:842)
  at android.view.ViewRootImpl.draw(ViewRootImpl.java:2049)
  at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1773)
  at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4507)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
  at dalvik.system.NativeStart.main(Native Method)

-- 
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: breakpoint hide and seek

2012-10-12 Thread Chris Sarbora
Eclipse has a Breakpoints list. In your Debug perspective, go to Window -> 
Show View -> Breakpoints.

On Friday, October 12, 2012 10:13:50 AM UTC-7, bob wrote:
>
> What do you all do when your breakpoints get obscured by other symbols in 
> the margin?
>
>
> For instance, there is a breakpoint here:
>
>
>
>
>
> 
>
>

-- 
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] breakpoint hide and seek

2012-10-12 Thread bob
 

What do you all do when your breakpoints get obscured by other symbols in 
the margin?


For instance, there is a breakpoint here:






-- 
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] What's the best design for a background thermostat?

2012-10-12 Thread Justin Anderson
>
> What kind of service should I use?
>
How about a Service?

I've tried creating an IntentService with a background thread that runs in
> a loop to monitor the temp.  The onHandleIntent() method handles the
> requests from the UI for updates.  Is this a reasonable way to do this?
>
Not really for what you've described...

If so my problem is that the IntentService shuts down after the
> onHandleIntent() finishes; how do I prevent this?
>
The whole point of IntentService is to shut it down when it is done so you
don't have to.  To prevent this, don't use an IntentService... Use a
Service.

http://developer.android.com/reference/android/app/Service.html

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sat, Oct 6, 2012 at 9:23 PM, Deeg  wrote:

> I'm in the process of writing an app that will act like a thermostat for
> an external cooker.  The Android will connect to the cooker via an IOIO,
> monitor the temperature, and raise/lower the heat to keep the cooker at a
> set temperature.  As I see it there are two components:
>
> 1) Service that monitors the temps and adjusts the heat.
> 2) UI that lets user view the temperature and change thermostat value.
> This component makes requests to the service for data updates.
>
> What kind of service should I use?  I've tried creating an IntentService
> with a background thread that runs in a loop to monitor the temp.  The
> onHandleIntent() method handles the requests from the UI for updates.  Is
> this a reasonable way to do this?  If so my problem is that the
> IntentService shuts down after the onHandleIntent() finishes; how do I
> prevent this?
>
> Thanks for any 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

Re: [android-developers] plugin for Eclipse

2012-10-12 Thread Justin Anderson
http://developer.android.com/sdk/installing/installing-adt.html

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


2012/10/9 Frank Arroyo 

> what is the perfect URL to download the official plugin for Eclipse (Juno)
> for mobile developers?
>
> El servicio de correo misena es soportado tecnológicamente por © Google y
> ofrecido por el Servicio Nacional de Aprendizaje – SENA de manera gratuita
> a todos los colombianos y en especial a los aprendices e instructores de
> Programas de Formación Titulada y Complementaria. Los contenidos, textos,
> imágenes, archivos y puntos de vista enviados en este mensaje son
> responsabilidad exclusiva del remitente y no reflejan ni comprometen
> oficialmente a la institución. No se autoriza el uso de esta herramienta
> para el intercambio de correos masivos, cadenas o spam, ni de mensajes
> ofensivos, de carácter político, sexual o religioso, con fines de lucro,
> con propósitos delictivos o cualquier otro mensaje que se considere
> indebido o que vaya en contra de la Ley.
>
> --
> 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] Lock Screen

2012-10-12 Thread Justin Anderson
Not officially, no...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Oct 10, 2012 at 8:18 AM, Sarabjeet Singh Gaba
wrote:

> Hi,
>
> Can we customize the default lock screen of an Android device to show a
> custom News feed on the same?
>
> Regards,
> Sarabjeet Singh Gaba
>
> --
> 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] Slide animation in a listview right/left like samsung contact

2012-10-12 Thread Justin Anderson
Use the GestureDetector class...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sun, Oct 7, 2012 at 4:32 AM, Borja gonzalez  wrote:

> Hi
>
> I want to do an app that contains a listview and i want slide to remove
> the items like samsung notification bar.
> Do yo know how to do it?
>
> 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

-- 
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] button does not appear for new Android application in eclipse IDE

2012-10-12 Thread Justin Anderson
   1. Go to "File --> New --> Project"
   2. In the dialog that opens, Android is one of the options in the list

P.S.  It is generally a good idea to post your questions in English...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


2012/10/9 Alex Jiménez 

> Soy nuevo en esto, quiero empezar a desarrollar aplicaciones para Android
> e instalar el SDK de Android y el Eclipse Java EE Java 7u7 IDE para
> desarrolladores web, además de la instalación de plug-in android en
> eclipse, pero en la barra de tareas en el botón otra vez yo no te para
> hacer una nueva aplicación para Android, quisiera saver que fallar o
> aparecer como el hace o que optan por desarrollar
>
> --
> 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] Custom notification with a button: the notification bar stays open when clicking on it (on 4.0)

2012-10-12 Thread Justin Anderson
Have you tested this on a real 4.0 device?  It might just be an emulator
bug...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Oct 12, 2012 at 8:14 AM, BoD  wrote:

> Hi!
>
> I am working on an app that shows a notification that uses a custom layout
> (notification.contentView = remoteViews), that contains a button.
> First of all, I am aware that there are new APIs to do this in 4.1 but my
> app has to work on 4.0.
> I want the button to start an activity so I do this:
> Intent clickIntent = new Intent(this, MyActivity.class);
> clickIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> contentView.setOnClickPendingIntent(R.id.button,
> PendingIntent.getActivity(this, 0, clickIntent,
> PendingIntent.FLAG_CANCEL_CURRENT));
>
> This works as intended, but my problem is:
> - On a 4.1 Galaxy Nexus, when clicking on the button, the notification bar
> collapses, thus the newly displayed activity is visible to the user (the
> behavior I want!)
> - On a 4.0 emulator, when clicking on the button, the notification bar
> stays open, thus the newly displayed activity is not visible to the user
>
> Does anybody know if there is a way to control this, so the bar will also
> close on 4.0?
>
> Thanks a lot,
>
> --
> BoD
>
> --
> 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] Disconnect from a WiFi Direct Group

2012-10-12 Thread Irfan Sheriff
On Fri, Oct 12, 2012 at 9:14 AM, Zach  wrote:

> Hi,
> Thanks for your reply.
> I was initially using removeGroup. But here is what happened
> A client calls remove group and he will be disconnected from the owner.
> But later when Group owner tries to remove the group, it goes to the
> OnFailure call back. So the only reason would be there is no group
> available to remove. I have to make this guess as I have only 2 devices
> with me.  What do you think about this situation?
>
>
There can be a delay of a few seconds b/w the time the client removes and
by the time the group owner realizes the client is gone and removes it

My guess is you are removing it just as the group has been removed
underneath on the GO - and so it returns a failure.  But that should be ok.
The group will go away without you doing anything on the GO side.

adb logcat should show you what is going on the group owner side.

Anyways I will give a test with more devices soon and I can make sure that
> removeGroup is only removing the group from clients perspective.
>
> Have you tested this before?
> Thanks
>
> On Friday, October 12, 2012 5:07:44 PM UTC+1, Irfan Sheriff wrote:
>>
>>
>>
>> On Fri, Oct 12, 2012 at 3:19 AM, Zachariah Tom wrote:
>>
>>> Hi,
>>>
>>> I want to disconnect from a wifi direct group after establishing a
>>> connection. I just want to move out silently without interrupting other
>>> clients that are already in connection with the Group owner.
>>>
>>> I use *manager.Connect()* method to establish a connection. But didnt
>>> see any methods to disconnect. Only other option i saw is *
>>> manager.removeGroup()*, but I guess this will remove the entire group
>>> and interrupt the existing network connection.
>>>
>> removeGroup() is what you need. It removes the group from your
>> perspective - it is up to the group owner to decide whether to remove the
>> group after the client has left or not. In case of android, a GO will keep
>> the group until all clients have gone.
>>
>>
>>> Inside the device settings. once connected I can disconnect by clicking
>>> it again. I want to achieve the same via code.
>>>
>>>
>>> I am using Samsung Nexus with JellyBean 4.1.1
>>>
>>> How can I do this properly?
>>>
>>> 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-d...@**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] WebView setRotateX()/Y() glitch

2012-10-12 Thread Romain Guy
A way to do this is to set a hardware layer on your WebView.
On Oct 12, 2012 1:40 AM, "Avetik Kazhoyan"  wrote:

> Hi, I'm trying to rotate WebViews with setRotateX()/Y(). The view rotates
> but web page contents get cropped / messed up.
>
> Are setRotate methods applicable to WebViews?
>
> --
> 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] Disconnect from a WiFi Direct Group

2012-10-12 Thread Zach
Hi,
Thanks for your reply.
I was initially using removeGroup. But here is what happened
A client calls remove group and he will be disconnected from the owner. But 
later when Group owner tries to remove the group, it goes to the OnFailure 
call back. So the only reason would be there is no group available to 
remove. I have to make this guess as I have only 2 devices with me.  What 
do you think about this situation?

Anyways I will give a test with more devices soon and I can make sure that 
removeGroup is only removing the group from clients perspective.

Have you tested this before?
Thanks

On Friday, October 12, 2012 5:07:44 PM UTC+1, Irfan Sheriff wrote:
>
>
>
> On Fri, Oct 12, 2012 at 3:19 AM, Zachariah Tom 
> 
> > wrote:
>
>> Hi,
>>
>> I want to disconnect from a wifi direct group after establishing a 
>> connection. I just want to move out silently without interrupting other 
>> clients that are already in connection with the Group owner.
>>
>> I use *manager.Connect()* method to establish a connection. But didnt 
>> see any methods to disconnect. Only other option i saw is *
>> manager.removeGroup()*, but I guess this will remove the entire group 
>> and interrupt the existing network connection.
>>
> removeGroup() is what you need. It removes the group from your perspective 
> - it is up to the group owner to decide whether to remove the group after 
> the client has left or not. In case of android, a GO will keep the group 
> until all clients have gone.
>  
>
>> Inside the device settings. once connected I can disconnect by clicking 
>> it again. I want to achieve the same via code.
>>
>>
>> I am using Samsung Nexus with JellyBean 4.1.1
>>
>> How can I do this properly?
>>
>> 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-d...@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] Disconnect from a WiFi Direct Group

2012-10-12 Thread Irfan Sheriff
On Fri, Oct 12, 2012 at 3:19 AM, Zachariah Tom wrote:

> Hi,
>
> I want to disconnect from a wifi direct group after establishing a
> connection. I just want to move out silently without interrupting other
> clients that are already in connection with the Group owner.
>
> I use *manager.Connect()* method to establish a connection. But didnt see
> any methods to disconnect. Only other option i saw is *
> manager.removeGroup()*, but I guess this will remove the entire group and
> interrupt the existing network connection.
>
removeGroup() is what you need. It removes the group from your perspective
- it is up to the group owner to decide whether to remove the group after
the client has left or not. In case of android, a GO will keep the group
until all clients have gone.


> Inside the device settings. once connected I can disconnect by clicking it
> again. I want to achieve the same via code.
>
>
> I am using Samsung Nexus with JellyBean 4.1.1
>
> How can I do this properly?
>
> 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

-- 
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] serial number?

2012-10-12 Thread Subodh Nijsure
Might want to search for ANDROID_ID in the document it is supposed to give
unique id

Subodh
On Oct 12, 2012 8:24 AM, "bob"  wrote:

> Does every Android tablet have a serial number or some kind of unique
> identifier?
>
>
>  --
> 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] serial number?

2012-10-12 Thread bob
 

Does every Android tablet have a serial number or some kind of unique 
identifier?


-- 
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: android4.0 source code build error !! Please Help ME !

2012-10-12 Thread RichardC
AOSP groups are here:
http://source.android.com/community/index.html

On Friday, October 12, 2012 4:05:14 PM UTC+1, swingyang yang wrote:
>
> Hi, all 
> The problems as following : 
> 
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/bio_ssl.o:
>  
> in function ssl_ctrl:external/openssl/ssl/bio_ssl.c:393: error: undefined 
> reference to 'BIO_clear_flags'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/bio_ssl.o:
>  
> in function ssl_ctrl:external/openssl/ssl/bio_ssl.c:395: error: undefined 
> reference to 'BIO_copy_next_retry'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/bio_ssl.o:
>  
> in function ssl_ctrl:external/openssl/ssl/bio_ssl.c:420: error: undefined 
> reference to 'BIO_clear_flags'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/bio_ssl.o:
>  
> in function ssl_ctrl:external/openssl/ssl/bio_ssl.c:432: error: undefined 
> reference to 'BIO_set_flags'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/bio_ssl.o:
>  
> in function ssl_ctrl:external/openssl/ssl/bio_ssl.c:436: error: undefined 
> reference to 'BIO_set_flags'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/bio_ssl.o:
>  
> in function ssl_read:external/openssl/ssl/bio_ssl.c:152: error: undefined 
> reference to 'BIO_clear_flags'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/bio_ssl.o:
>  
> in function ssl_read:external/openssl/ssl/bio_ssl.c:203: error: undefined 
> reference to 'BIO_set_flags'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/ssl_err.o:
>  
> in function ERR_load_SSL_strings:external/openssl/ssl/ssl_err.c:569: error: 
> undefined reference to 'ERR_func_error_string'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/ssl_err.o:
>  
> in function ERR_load_SSL_strings:external/openssl/ssl/ssl_err.c:571: error: 
> undefined reference to 'ERR_load_strings'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
>  
> out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/ssl_err.o:
>  
> in function ERR_load_SSL_strings:external/openssl/ssl/ssl_err.c:572: error: 
> undefined reference to 'ERR_load_strings'
> collect2: ld returned 1 exit status
> make: *** 
> [out/target/product/generic/obj/SHARED_LIBRARIES/libssl_intermediates/LINKED/libssl.so]
>  
> 错误 1
>
>
> I have try to resolve it many times , but failed ! I can't sucess without 
> you help, please teach me ! 
>
> thanks very much ! 

-- 
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] Custom notification with a button: the notification bar stays open when clicking on it (on 4.0)

2012-10-12 Thread BoD
Hi!

I am working on an app that shows a notification that uses a custom layout 
(notification.contentView = remoteViews), that contains a button.
First of all, I am aware that there are new APIs to do this in 4.1 but my 
app has to work on 4.0.
I want the button to start an activity so I do this:
Intent clickIntent = new Intent(this, MyActivity.class);
clickIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
contentView.setOnClickPendingIntent(R.id.button, 
PendingIntent.getActivity(this, 0, clickIntent, 
PendingIntent.FLAG_CANCEL_CURRENT));

This works as intended, but my problem is:
- On a 4.1 Galaxy Nexus, when clicking on the button, the notification bar 
collapses, thus the newly displayed activity is visible to the user (the 
behavior I want!)
- On a 4.0 emulator, when clicking on the button, the notification bar 
stays open, thus the newly displayed activity is not visible to the user

Does anybody know if there is a way to control this, so the bar will also 
close on 4.0?

Thanks a lot,

-- 
BoD

-- 
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 access to manifest.xml before installing the apk

2012-10-12 Thread Justin Anderson
No. And No.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Oct 9, 2012 at 3:17 AM, Foi  wrote:

> Is there any way to retrieve manifest.xml of APKs from "Google Play"
> before installing the application? (in the same way that "google play
> application" retrieves uses-permissions list?)
> or
> Is it possible to download apks from  "Google Play" without using its
> official application?
>
> 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

-- 
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: Whats file dir

2012-10-12 Thread Chris Sarbora
Seems like a question you'd ask FileDir.com.

On Tuesday, October 9, 2012 5:12:14 PM UTC-7, Paulo Henrique Peres wrote:
>
> I received this email but not signed up my app in this place, anyone know 
> how the apps are enrolled in filedir?
>
> Hi *Paulo Henrique Peres*,
>
> Information about your app "SMS Troll for 
> Android"
>  
> has been added on FileDir.com
>
> Current stats for "SMS Troll for Android":
> - Downloads total: *0*
> - Weekly downloads: *0*
> - User ratings: *Not rated*
> - Video: *No*
> - Discount: *No*
> - FileDir.com: All apps by Paulo Henrique 
> Peres
>  | RSS Paulo Henrique 
> Peres
>
> You are free to display the badge on your website. All visitors which come 
> through this badge
> will add 20 points to SMS Troll for Android
>
>
>
>
> -- 
> *Paulo Henrique Peres*
> *Oracle Certified Professional, Java Programmer *
> *Oracle Certified Professional, Web Component Developer*
> https://play.google.com/store/apps/developer?id=Paulo+Henrique+Peres*
> *
>
>
>

-- 
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 Sync Database Data to a Desktop Application without internet connection..

2012-10-12 Thread Anees Thyrantakath
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

[android-developers] Re: Media player help

2012-10-12 Thread avluis
Read this (note, I'm not the poster, so credits to him if you must):
Shoutcast/Icecast streaming on 
android
 
(POI
)

On Thursday, October 11, 2012 4:14:33 AM UTC-5, Ravi wrote:
>
> Hello there,
> I have problem in playing icecast stream radio through my android 
> application any help will be appreciated.
>
> 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

[android-developers] Re: How to add string.xml for a different locale

2012-10-12 Thread avluis
This has everything you need and then some:
Android SDK > API Guides > App Resources > 
Localization
On Friday, October 12, 2012 8:15:34 AM UTC-5, Farhan wrote:
>
> Hi,
>
> I have seen some forums, skimmed through stackoverflow before posting 
> here. I need to know how I can add a string.xml file for a different 
> language. Android uses "es" to refer to english language. How can I use, 
> say "values-XX" and a String.xml file in it for reading values in my app? I 
> want that my app should use String.xml in "values-XX" throughout my app, 
> without removing the other "values..." folders. Any help is greatly 
> appreciated.
>
> Thank you
>
> Farhan
>

-- 
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 add string.xml for a different locale

2012-10-12 Thread RichardC
http://developer.android.com/guide/topics/resources/localization.html
http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources


On Friday, October 12, 2012 2:15:34 PM UTC+1, Farhan wrote:
>
> Hi,
>
> I have seen some forums, skimmed through stackoverflow before posting 
> here. I need to know how I can add a string.xml file for a different 
> language. Android uses "es" to refer to english language. How can I use, 
> say "values-XX" and a String.xml file in it for reading values in my app? I 
> want that my app should use String.xml in "values-XX" throughout my app, 
> without removing the other "values..." folders. Any help is greatly 
> appreciated.
>
> Thank you
>
> Farhan
>

-- 
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 Sync Database Data to a Desktop Application without internet connection..

2012-10-12 Thread avluis
Does this look like something that can get you started:

SQLite JDBC Driver  (Google Code).

On Friday, October 12, 2012 2:13:01 AM UTC-5, Aadi Rockzz wrote:
>
> I have a Desktop Application on .net and i wanted to make an Android 
> Application which will sync database data's with-out Using internet.
>
> In Android App i'm Storing Data in SQLite Database.Is there any way to 
> sync my app Database with Desktop Application Using USB connection??
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: the "Welcome to Android Development" window doesn't appears

2012-10-12 Thread avluis
For reference, I replied to the Topic Poster, but here is what I provided 
him with:
--

OK, I see that you are using eclipse 4.2.1 so it is not an eclipse version 
issue.
Can you verify that you have a proper jdk from apple installed, since you 
are using 10.5.8.
One issue I'm familiar with on 10.5.8 is that even if you download and 
install jdk6, it won't be set as default.
Referencing this post from a blogger I know, try this after you install 
jdk6 either with system updates or by downloading from apple;

Open terminal:
cd /System/Library/Framework/JavaVM.framework/Versions
sudo rm -fr CurrentJDK
sudo ln -s 1.6 CurrentJDK

Then close that terminal instance, open a new one and run;
java -version

If it reports 1.6.0.xx and eclipse can't load the android ask let me know, 
since the issue is elsewhere.



If this applies to you, please go ahead and follow those steps.

On Thursday, October 11, 2012 10:30:32 AM UTC-5, avluis wrote:
>
> Can you provide your development platform (Mac OSX 10.X.X, Linux flavor, 
> or WIndows ver and build).
> Also, can you verify on eclipse > about eclipse > Installation details > 
> Installed software > look for Android Development Tools in that window.
>
> On Tuesday, October 2, 2012 10:21:47 PM UTC-5, Marco Guida wrote:
>>
>> Hi, i've followed the installation instructions, when i install the ADT 
>> and restart Eclipse,  the "Welcome to Android Development" window 
>> doesn't appears...why?
>> In the Eclipse -> Preference doesn't appear Android and the Android 
>> buttons in the GUI doesn't appear.
>>
>> Eclipse version: 4.2.1
>> ADT version: 20.0.3
>>
>> Can you help me please?
>>
>

-- 
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 add string.xml for a different locale

2012-10-12 Thread Farhan Tariq
Hi,

I have seen some forums, skimmed through stackoverflow before posting here.
I need to know how I can add a string.xml file for a different language.
Android uses "es" to refer to english language. How can I use, say
"values-XX" and a String.xml file in it for reading values in my app? I
want that my app should use String.xml in "values-XX" throughout my app,
without removing the other "values..." folders. Any help is greatly
appreciated.

Thank you

Farhan

-- 
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: Does higher version support all feature of lower version in android?

2012-10-12 Thread avluis
What I see here is that while some things are backward compatible (most are 
forward compatible), you also have to look at certain things that were not 
implemented until that new version that you are working on. So, e.g;
If I start a project using api level 16, I don't expect to have things like 
ViewPager under 2.x.
For this you will need the compatibility library added to your project or 
the more robust ActionBarSherlock 
Also, please note that some things get deprecated, get rewritten, but this 
should not affect your application for future builds, so look into those 
implementations for any methods that were never part of Android 2.x.

On Sunday, October 7, 2012 1:16:55 AM UTC-5, ML wrote:
>
> 1. i am building applications on 4.0 version of android. i want to know 
> that this app will work on all the lower version of android?
> 2. i hv application on 2.0 version of android and in manifest file i hv 
> specified min sdk-8 and max as 15 but when i run my app on 4.0 version 
> android phone it crashed 
> thanks in advance if any 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] How to Sync Database Data to a Desktop Application without internet connection..

2012-10-12 Thread Anees Thyrantakath
Okay No Problem i'll wait for a week..:)
Thanks for the link :)...

-- 
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: Changes to Strings.xml not showing up on resource chooser

2012-10-12 Thread avluis
On that third snapshot, their is a stray line at the beginning of your 
strings.xml.
Remove that, there should be nothing before your opening bracket.
That should fix it.

On Monday, October 8, 2012 4:25:12 AM UTC-5, Mugambo wrote:
>
> changes made to strings.xml had two new strings which are not reflecting 
> in the resource chooser menu.
> please advice how to proceed.
> attached pictures for more clarity.
> please let me know if further info is needed.
>

-- 
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: Read Card Swipe data in Android

2012-10-12 Thread avluis
While I understand that this post is asking for help, you need to find out 
what you are working with.
So if you don't have a guide, sdk docs, or pdfs that come along with 
development kits for this reader of yours, you won't be able to implement 
that in your program.
If this reader comes with an sdk, look for them jar files, make sure that 
you have the right license to use them and then make sure they work 
properly with android.

On Thursday, October 11, 2012 1:06:42 AM UTC-5, Adeel Ansari wrote:
>
> Hi,
>
> I want to make Application in which i have to read Card Swipe data . Card 
> Swipe device attached with my Android and in my app i will read that card 
> swipe data .
> Please help me out or give me some hint or article to solve this problem.
>

-- 
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 put GridView inside ScrollView

2012-10-12 Thread Justin Anderson
>
> If I use GridLayout instead of GridView then how can I do this.Will you
> elaborate this
>
Ummm... you use a GridView... and then your put other views in it.  Not
sure what else you are wanting... It is just a basic layout like any other
layout... LinearLayout, RelativeLayout, etc...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Oct 12, 2012 at 6:47 AM, Dilip Kumar Chaudhary <
androiddili...@gmail.com> wrote:

>
> Thanks all for reply,
> If I use GridLayout instead of GridView then how can I do this.Will you
> elaborate this
> On Fri, Oct 12, 2012 at 6:10 PM, Justin Anderson wrote:
>
>> But I have to do this,so can any please give me some idea about this
>>>
>> You can't.  You read the documentation. It's not possible.  You'll have
>> to rethink your design.  You could probably use TableLayout or GridLayout
>> to accomplish this look.
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http://sites.google.com/site/magouyaware
>>
>>
>> On Fri, Oct 12, 2012 at 6:33 AM, Dilip Kumar Chaudhary <
>> androiddili...@gmail.com> wrote:
>>
>>> But I have to do this,so can any please give me some idea about 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
>>
>
>
>
> --
> *Thanks & Regards*
> Dilip Kumar Chaudhary
> My Linkedin 
> Profile
> My Development Blog 
>
>  --
> 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] problem in alertDialog login

2012-10-12 Thread Justin Anderson
How about looking at the documentation for EditText?
https://developer.android.com/reference/android/widget/EditText.html#getText%28%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Oct 10, 2012 at 4:49 AM, manjula pallewela <
manjulapallew...@gmail.com> wrote:

> hi.i created a my app login using alertDialogs to user to enter username
> and password..but from there i cannot get user inputs using
> getText.toString() since they are editboxes.anyway is there a way to get
> those values to my activity.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

-- 
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] Read Card Swipe data in Android

2012-10-12 Thread Justin Anderson
Seriously?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Oct 11, 2012 at 12:06 AM, Adeel Ansari <
muhammadadeelans...@gmail.com> wrote:

> Hi,
>
> I want to make Application in which i have to read Card Swipe data . Card
> Swipe device attached with my Android and in my app i will read that card
> swipe data .
> Please help me out or give me some hint or article to solve this problem.
>
> --
> 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] Media player help

2012-10-12 Thread Justin Anderson
How in the world do you expect anyone to help you?  Are we supposed to be
mind readers?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Oct 11, 2012 at 3:14 AM, Ravi  wrote:

> Hello there,
> I have problem in playing icecast stream radio through my android
> application any help will be appreciated.
>
> 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

-- 
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] Changes to Strings.xml not showing up on resource chooser

2012-10-12 Thread Justin Anderson
What does the code look like where you are using those string resources?

Are you doing something like this?
myTextView.setText("@string/celsius");

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Oct 8, 2012 at 3:25 AM, Mugambo  wrote:

> changes made to strings.xml had two new strings which are not reflecting
> in the resource chooser menu.
> please advice how to proceed.
> attached pictures for more clarity.
> please let me know if further info is needed.
>
> --
> 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] Screen dim events in android

2012-10-12 Thread Justin Anderson
What are you wanting to do?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Oct 12, 2012 at 5:19 AM, Mark Murphy wrote:

> On Thu, Oct 11, 2012 at 1:43 AM, Arun M R  wrote:
> > Is there any methods to catch screen dim in android?
>
> Not that I am aware of.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 4.2 Available!
>
> --
> 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 put GridView inside ScrollView

2012-10-12 Thread Justin Anderson
>
> But I have to do this,so can any please give me some idea about this
>
You can't.  You read the documentation. It's not possible.  You'll have to
rethink your design.  You could probably use TableLayout or GridLayout to
accomplish this look.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Oct 12, 2012 at 6:33 AM, Dilip Kumar Chaudhary <
androiddili...@gmail.com> wrote:

> But I have to do this,so can any please give me some idea about 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

Re: [android-developers] How to put GridView inside ScrollView

2012-10-12 Thread Mark Murphy
On Fri, Oct 12, 2012 at 8:33 AM, Dilip Kumar Chaudhary
 wrote:
> I have to design layout such that whole layout should scroll and inside
> layout I have to display related content in Grid form so I decided to use
> GridView.But problem is that I’m unable to use GridView inside ScrollView I
> have read documentation(Documentation also saying that we should not use
> GridView inside ScrollView) also.But I have to do this,so can any please
> give me some idea about this.Thanks

Replace your GridView with a GridLayout or TableLayout, perhaps.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.2 Available!

-- 
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 put GridView inside ScrollView

2012-10-12 Thread Dilip Kumar Chaudhary
Hi all,
I have to design layout such that whole layout should scroll and inside
layout I have to display related content in *Grid* form so I decided to use
*GridView*.But problem is that I’m unable to use *GridView* inside *
ScrollView* I have read documentation(Documentation also saying that we
should not use *GridView* inside *ScrollView*) also.But I have to do
this,so can any please give me some idea about this.Thanks

-- 
*Thanks & Regards*
Dilip Kumar Chaudhary
My Linkedin Profile
My Development Blog 

-- 
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 replace free version by paid version of app

2012-10-12 Thread John Coryat
A more efficient method would use the "Freemium" model - free download with 
in-app billing for upgrades. It's better to keep all your download 
statistics and reviews under one app instead of diluting your exposure with 
multiple apps. You can also use the subscription model so you're not stuck 
in the pay-once-support-forever model.

-John Coryat

-- 
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 Sync Database Data to a Desktop Application without internet connection..

2012-10-12 Thread Jxn
Yes, http://google.com/ ;-)

No, I do not have access to the computer right now. You have to wait a week and 
hope that I remember...

-- 
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: Why would SIGSEGV crash occur in Galaxy S3 Android WebView?

2012-10-12 Thread Anthony Prieur
Try HW acceleration ON or OFF, ICS Webview has troubles with some CSS/CSS3 
+ HW acceleration. Also try to lower android:targetSdkVersion to 11 for 
example.


Le jeudi 11 octobre 2012 08:09:54 UTC+2, Johnabre a écrit :
>
> I have a complex, interactive HTML5 in an Android WebView - and it works 
> fine on basically all platforms except Galaxy S3.  On Galaxy S3 (Android 
> 4.0.4), once out of every 5 times or so, just after the load completes, 
> /system/lib/libwebcore.so tries to access invalid memory and a Fatal signal 
> 11 (SIGSEGV) at [various addresses] (code=1) is thrown.
>
> The HTML5 is a tiny battle where enemies appear and the user slashes them 
> to proceed.  In between battles are normal html pages: normal page -> HTML5 
> battle -> normal page -> HTML5 battle -> normal page -> HTML5 battle.  The 
> HTML5 doesn't do anything particularly out-of-the-box - there's a lot of 
> -webkit-animation calls...
>
> .enemy {
> position:absolute;
> opacity:0;
> -webkit-animation:enemyAnim 0.6s linear 0.2s;
> }
>
> …that reference a lot of -webkit-keyframes...
>
> @-webkit-keyframes enemyAnim {
> from {
>  -webkit-transform: matrix(1, 0, 0, 1, 144.25, 150.25) scale(1, 1);
>  opacity:1;
> }
> 8.33% {
>  -webkit-transform: matrix(1, 0, 0, 1, 189.406, 102.206) scale(1.3066, 
> 1.3066);
>  opacity:1;
> }
> 16.66% {
>  -webkit-transform: matrix(1, 0, 0, 1, 200.424, 82.649) scale(1.414, 
> 1.414);
>  opacity:1;
> }
> /*…*/
>
> And a fairly complex div tree, but nothing particularly experimental. 
>  There's some level of Javascript, but the hangs appear to occur even with 
> all Javascript turned off.
>
> Has anyone ever had a problem with a Galaxy S3 being…different?  No 
> Android 2.x devices have this problem, and even a Galaxy Nexus running 
> 4.1.1 doesn't seem to have any particular problem.  I've never been tempted 
> to write to Stack Overflow before, but this is really vexing me...
>
> Searching on "Android WebView sigsegv crash" & "4.0.4 WebView sigsegv 
> crash" gives several issues, but:
>
> - webview.clearCache()/webView.destroyDrawingCache() don't seem to have an 
> effect (though this hang is clearly a memory issue, adding/removing 
> System.gc()s in various places had no great result)
> http://stackoverflow.com/questions/4973310/signal-11-sigsegv-crash-android
>
> - There's no use of canvas as in
>
> http://stackoverflow.com/questions/10989120/very-strange-crash-drawing-on-canvas-on-android-4-0-3-a-libc-fatal-signal-11
> (Yes I know - calling this page HTML5 is a bit of a stretch)
>
> - There's no use of clearView() as in
>
> http://stackoverflow.com/questions/12261523/execute-webview-loadurl-after-webview-clearview-multitimes-will-cause-crash
>
> - There's no use of preserve-3d as in
> http://code.google.com/p/android/issues/detail?id=16563
>
> - I looked at the changelist for android webkit looking for suspicious 
> fixes after 4.0.4, and thought I had something with the below, but rooting 
> the S3 and taking it to 4.1.1 didn't fix the issue:
>
> https://github.com/teamgummy/android_external_webkit/commit/61e0d189f2b74650bf72a6a2820f66a8b17c3d06
>
> Since some of the crashes are occuring during memory free()s, I know that 
> things are being free'd around the time of the crash and my gut feeling is 
> that some things are being freed mid-render that shouldn't be.  It's 
> frustrating because SIGSEGVs should be physically impossible with pure 
> HTML, JS, & CSS =/
>
> Below is a sample crash report.  Note that the crash location is not 
> limited to the below; crash reports don't seem to be wildly different but 
> there seems to be some variation in location.
>
> 10-08 17:34:06.605: I/DEBUG(524): *** *** *** *** *** *** *** *** *** 
> *** *** *** *** *** *** ***
> 10-08 17:34:06.605: I/DEBUG(524): Build fingerprint: 
> 'samsung/m0xx/m0:4.0.4/IMM76D/I9300XXBLH1:user/release-keys'
> 10-08 17:34:06.605: I/DEBUG(524): pid: 7443, tid: 7443  >>> 
> cool.tiny.rpg.battle <<<
> 10-08 17:34:06.605: I/DEBUG(524): signal 11 (SIGSEGV), code 1 
> (SEGV_MAPERR), fault addr deadbaad
> 10-08 17:34:06.605: I/DEBUG(524):  r0 deadbaad  r1 0001  r2 
> 4000  r3 
> 10-08 17:34:06.605: I/DEBUG(524):  r4   r5 0027  r6 
> 400d8540  r7 400e74f4
> 10-08 17:34:06.605: I/DEBUG(524):  r8 01fa7160  r9   10 
> bed6a584  fp 41d79970
> 10-08 17:34:06.605: I/DEBUG(524):  ip   sp bed6a2b0  lr 
> 400b9639  pc 400b59c8  cpsr 6830
> 10-08 17:34:06.605: I/DEBUG(524):  d0    d1 
>  4343
> 10-08 17:34:06.605: I/DEBUG(524):  d2  43b6800041a0  d3 
>  41a84302
> 10-08 17:34:06.610: I/DEBUG(524):  d4  8000  d5 
>  43aa3f80
> 10-08 17:34:06.610: I/DEBUG(524):  d6  43a44343  d7 
>  43cb41a0
> 10-08 17:34:06.610: I/DEBUG(524):  d8  4082f000  d9 
>  4082f400025e
> 10-08 17:34:06.610

[android-developers] Re: Video (VideoView) flickering and/or doesn't display on ICS (but works fine on Android <= 2.x)

2012-10-12 Thread Anthony Prieur
Does changing android:targetSdkVersion="15" to android:targetSdkVersion="11" 
change something ? I noticed in my app (Webview/VideoView)that the 
behaviour is different. Removing the HW acceleration fixed the flicking for 
me.


Le lundi 7 mai 2012 08:34:17 UTC+2, Mathias Lin a écrit :
>
> I have an app with a VideoView, which works fine on all Android devices up 
> to 2.x (Gingerbread), but has problems with devices running ICS.
>
> On some devices, the videos don't play, on other devices the video doesn't 
> play when rotating the device. Instead, the screen starts flickering.
> (tested on: SGS2, HTC Desire, LG L7, Ainovo Paladium tablet, all running 
> 4.0.x)
>
> I've already tried changing the manifest to 
> android:hardwareAccelerated="false" and also set the VideoView layer type 
> to mVideoView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
>
> The code itself is very basic and just using the standard video view and 
> media controller:
>
> setContentView(R.layout.act_video_player);
> mVideoView = (VideoView) findViewById(R.id.vw_player);
> mVideoView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
> Display display = ((WindowManager) 
> getSystemService(WINDOW_SERVICE)).getDefaultDisplay();
> MediaController mc = new MediaController(this);
> mVideoView.setMediaController(mc);
> Uri uri = Uri.parse(mVideoURI);
> mVideoView.setVideoURI(uri);
> mVideoView.requestFocus();
>
>
> and the manifest:
>
>android:minSdkVersion="7"
>   android:targetSdkVersion="15"/>
>
>  android:largeScreens="true"
> android:normalScreens="true"
> android:smallScreens="false"
> android:resizeable="true"
> android:anyDensity="true"/>
>
>  ...
> android:hardwareAccelerated="false"/>
>
>
> Below is the complete log, of which I think the following lines are 
> relevant:
>
> W/QCvdec ( 2751): get_config: unknown param 117440527
> I/OMXCodec( 2751): [OMX.qcom.7x30.video.decoder.mpeg4] video dimensions 
> are 960 x 560
> W/QCvdec ( 2751): get_extension_index: Error, Not implemented
> E/OMXNodeInstance( 2751): OMX_GetExtensionIndex failed
>
> Anybody else having experienced issues with video playback on ICS?
>
> Complete log here:
>
> D/QCvdec ( 2751): VDEC Open with new H 560 and W 960
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_get_parameter 675aec, 
> 41804b60 , 33554433
>
> D/QCvdec ( 2751): portDefn->nBufferSize 806400 m_height 560 m_width 960
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_set_parameter 675aec, 
> 41804b60 , 33554433
>
> I/OMXCodec( 2751): [OMX.qcom.7x30.video.decoder.mpeg4] Enable frame by 
> frame mode
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_set_parameter 675aec, 
> 41804c6c , 2130706434
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_get_parameter 675aec, 
> 41804ba8 , 33554433
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_set_parameter 675aec, 
> 41804ba8 , 33554433
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_get_parameter 675aec, 
> 41804ba8 , 33554433
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_get_parameter 675aec, 
> 41804b1c , 33554433
>
> D/QCvdec ( 2751): portDefn->nBufferSize 806400 m_height 560 m_width 960
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_get_config 675aec
>
> W/QCvdec ( 2751): get_config: unknown param 117440527
>
> I/OMXCodec( 2751): [OMX.qcom.7x30.video.decoder.mpeg4] video dimensions 
> are 960 x 560
>
> W/QCvdec ( 2751): get_extension_index: Error, Not implemented
>
> E/OMXNodeInstance( 2751): OMX_GetExtensionIndex failed
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_get_state 675aec
>
> I/QC_CORE ( 2751): OMXCORE: qc_omx_component_deinit 675aec
>
> I/QC_CORE ( 2751): Calling FreeHandle in state 1 
>
> E/OMXCodec( 2751): Attempting to allocate OMX node 
> 'OMX.qcom.video.decoder.mpeg4'
>
> E/OMXCodec( 2751): Attempting to allocate OMX node 'OMX.TI.Video.Decoder'
>
> E/OMXCodec( 2751): Attempting to allocate OMX node 'OMX.SEC.MPEG4.Decoder'
>
> E/OMXCodec( 2751): Attempting to allocate OMX node 
> 'OMX.google.mpeg4.decoder'
>
> E/OMXCodec( 2751): Successfully allocated OMX node 
> 'OMX.google.mpeg4.decoder'
>
> E/OMXCodec( 2751): [OMX.google.mpeg4.decoder] Video O/P 
> format.eColorFormat 0x41804bf8
>
> I/OMXCodec( 2751): [OMX.google.mpeg4.decoder] Enable frame by frame mode
>
> W/OMXCodec( 2751): Failed to set frame packing format on component
>
> I/OMXCodec( 2751): [OMX.google.mpeg4.decoder] video dimensions are 352 x 
> 288
>
> I/OMXCodec( 2751): [OMX.google.mpeg4.decoder] Crop rect is 352 x 288 @ (0, 
> 0)
>
> E/OMXCodec( 2751): Attempting to allocate OMX node 'OMX.TI.AAC.decode'
>
> E/OMXCodec( 2751): Attempting to allocate OMX node 'OMX.google.aac.decoder'
>
> E/OMXCodec( 2751): Successfully allocated OMX node 'OMX.google.aac.decoder'
>
> D/MediaPlayer( 6712): getMetadata
>
> I/OMXCodec( 2751): [OMX.google.mpeg4.decoder] video dimensions are 960 x 
> 560
>
> I/OMXCodec( 2751): [OMX.google.mpeg4.decoder] Crop rect is 960 x 560 @ (0, 
> 0)
>
> I/OMXCodec( 2751): [OMX.google.mpeg4.decoder] video dimensions are 960 x 
> 560
>
> I/OMXCod

Re: [android-developers] Android GCM: delay in service

2012-10-12 Thread Mark Murphy
On Mon, Oct 8, 2012 at 9:33 AM, Aditya Adusumalli  wrote:
> Recently in one of our application we have noticed that the messages sent to
> GCM are getting delivered to the device with significant delay (atleast 10 -
> 15 mins).
>
> The observation is that the delay is occurring for Indian devices and not
> for US devices. Is this expected?

Please use the android-gcm Google Group for GCM questions.

> Secondly, if we take an enterprise account would there be any improvement in
> the delivery times? If yes, how better can it be?

There is no "enterprise account" for GCM AFAIK.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.2 Available!

-- 
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] Screen dim events in android

2012-10-12 Thread Mark Murphy
On Thu, Oct 11, 2012 at 1:43 AM, Arun M R  wrote:
> Is there any methods to catch screen dim in android?

Not that I am aware of.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.2 Available!

-- 
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] Use WebView as ViewGroup

2012-10-12 Thread Mark Murphy
On Thu, Oct 11, 2012 at 9:50 AM, traitree  wrote:
> Can I use a webview as a viewgroup.

No.

> I would like to have access to the html elements (button, text, link, ...)
> of the webview to remove or otherwise.

Do so from JavaScript within the Web page or injected via
loadUrl("javascript:..."); -- you have no access to the DOM from Java.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.2 Available!

-- 
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 track interaction with menu items created by ShareCompat.configureMenuItem?

2012-10-12 Thread Mark Murphy
On Sun, Oct 7, 2012 at 4:52 PM, Christopher Lichti
 wrote:
> I'm using ShareCompat.configureMenuItem this way:
> ShareCompat.configureMenuItem(menu, R.id.menu_share, shareIntentBuilder);
> ...and the sharing functionality totally works. :)  I just can't find a way
> to hook into this user interaction for tracking purposes.

Grab the source code for it, fork it, and add in your analytics.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.2 Available!

-- 
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 I update my Galaxy S3 from ICS to Jelly bean?

2012-10-12 Thread Mark Murphy
This list is for developing applications with the Android SDK. It has
nothing to do with upgrading devices.

On Sun, Oct 7, 2012 at 7:04 AM, Sakada Sniper  wrote:
> In fact, I live in Cambodia and my S3 is unlocked.. Now I saw some  videos
> that show about Jelly Bean for S3... That's why I need to know when will I
> can update???
>
> Thx you..
>
> --
> 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/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.2 Available!

-- 
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 application server

2012-10-12 Thread Zach
Hi,
Yes you have to write a server application using Java/C#/PHP etc and port 
it in appropriate server. You can use your university server if it supports 
your web application.
This is a good 
example 
http://www.vogella.com/articles/AndroidCloudToDeviceMessaging/article.html
Cheers

On Friday, October 12, 2012 9:20:58 AM UTC+1, Archana wrote:
>
> Hi,
> I m new to C2DM. I would like to know more about the application server. 
> https://developers.google.com/android/c2dm/#server describes the role of 
> the server. Should I create a server application(using Java) ? We can use 
> university server also. But how can it initiate POST requests? And also let 
> me know if there is some example to communicate between 2 android phones. 
> Please guide me. 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] C2DM application server

2012-10-12 Thread Nirav Parmar
C2DM is deprected now...so better to use GCM..
http://developer.android.com/guide/google/gcm/index.html


On Fri, Oct 12, 2012 at 4:15 PM, Archana wrote:

> Also, I was able to see the registration ID for the emulator using the
> code in the link:
> http://www.vogella.com/articles/AndroidCloudToDeviceMessaging/article.html
>
> Is GCM integration mandatory?
>
>
> On Friday, October 12, 2012 1:43:11 PM UTC+3, Archana wrote:
>>
>> Thanks for info! Can you provide me link/examples of how to develop own
>> server or what options are available for 3rd party server?
>>
>> On Friday, October 12, 2012 11:40:59 AM UTC+3, Aparna Bhure wrote:
>>>
>>> hi C2DM is now deprecated for new accounts. please do GCM integration.
>>> it is similar to C2DM with few changes. yes u need a thrid party server for
>>> testing to test push like urbanairship or similar or develope your own
>>> server.
>>> On Oct 12, 2012 1:52 PM, "Archana"  wrote:
>>> >
>>> > Hi,
>>> > I m new to C2DM. I would like to know more about the application
>>> server. 
>>> https://developers.**google.com/android/c2dm/#**server
>>>  describes
>>> the role of the server. Should I create a server application(using Java) ?
>>> We can use university server also. But how can it initiate POST requests?
>>> And also let me know if there is some example to communicate between 2
>>> android phones. Please guide me. 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-d...@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
>



-- 
Regards,

Nirav Parmar.

-- 
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] C2DM application server

2012-10-12 Thread Archana
Also, I was able to see the registration ID for the emulator using the code 
in the link: 
http://www.vogella.com/articles/AndroidCloudToDeviceMessaging/article.html

Is GCM integration mandatory?

On Friday, October 12, 2012 1:43:11 PM UTC+3, Archana wrote:
>
> Thanks for info! Can you provide me link/examples of how to develop own 
> server or what options are available for 3rd party server?
>
> On Friday, October 12, 2012 11:40:59 AM UTC+3, Aparna Bhure wrote:
>>
>> hi C2DM is now deprecated for new accounts. please do GCM integration. it 
>> is similar to C2DM with few changes. yes u need a thrid party server for 
>> testing to test push like urbanairship or similar or develope your own 
>> server.
>> On Oct 12, 2012 1:52 PM, "Archana"  wrote:
>> >
>> > Hi,
>> > I m new to C2DM. I would like to know more about the application 
>> server. https://developers.google.com/android/c2dm/#server describes the 
>> role of the server. Should I create a server application(using Java) ? We 
>> can use university server also. But how can it initiate POST requests? And 
>> also let me know if there is some example to communicate between 2 android 
>> phones. Please guide me. 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-d...@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] C2DM application server

2012-10-12 Thread Archana
Thanks for info! Can you provide me link/examples of how to develop own 
server or what options are available for 3rd party server?

On Friday, October 12, 2012 11:40:59 AM UTC+3, Aparna Bhure wrote:
>
> hi C2DM is now deprecated for new accounts. please do GCM integration. it 
> is similar to C2DM with few changes. yes u need a thrid party server for 
> testing to test push like urbanairship or similar or develope your own 
> server.
> On Oct 12, 2012 1:52 PM, "Archana" > 
> wrote:
> >
> > Hi,
> > I m new to C2DM. I would like to know more about the application server. 
> https://developers.google.com/android/c2dm/#server describes the role of 
> the server. Should I create a server application(using Java) ? We can use 
> university server also. But how can it initiate POST requests? And also let 
> me know if there is some example to communicate between 2 android phones. 
> Please guide me. 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-d...@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: Maps showing mymaps

2012-10-12 Thread Phely
Sean751  gmail.com> writes:

> 
> 
> Hi 
> I am trying to access mymaps in my Google account in an android application. 
> I 
want to be able to access the placemarks as objects to display the details and 
perhaps edit the notes attached to the placemark. I can't find any way to do 
this 
can anyone help?
> Thanks
> Sean
> 
> 
> 

Hi Sean,
I am also having the same problem as you  I have posted this on several forums
but I haven't found a solution - Can anyone please tell me is it possible to 
open placemarks (created by yourself) in Google Maps for Mobile. If I paste the 
link to my placemark within Google Maps for mobile it doesn't recognise the 
link. It opens without issue in Chrome and IE.
Thanks,
Phely

Did you happen to find a solution for this?
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


[android-developers] Disconnect from a WiFi Direct Group

2012-10-12 Thread Zachariah Tom


Hi,

I want to disconnect from a wifi direct group after establishing a 
connection. I just want to move out silently without interrupting other 
clients that are already in connection with the Group owner.

I use *manager.Connect()* method to establish a connection. But didnt see 
any methods to disconnect. Only other option i saw is *manager.removeGroup()
*, but I guess this will remove the entire group and interrupt the existing 
network connection.

Inside the device settings. once connected I can disconnect by clicking it 
again. I want to achieve the same via code.


I am using Samsung Nexus with JellyBean 4.1.1

How can I do this properly?

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 replace free version by paid version of app

2012-10-12 Thread Perumss Naren
hi,,

use this to update the apk:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(APK_Path)),
"application/vnd.android.package-archive");
startActivity(intent);



On Wed, Oct 10, 2012 at 12:32 PM, Bajrang Asthana  wrote:

> Hi, I am newbie in android.We have decided to launch our product in
> two versions i.e. free and paid. We have used concept of shared library to
> segregate free and paid version.
>
> could anyone please suggest how can we uninstall free version app by paid
> version or is it done automatically?
>
> 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




-- 
Regards,

Perumal.N

-- 
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: Incoming Calls auto Answer

2012-10-12 Thread saurab singh
when incomming call if my application is running a message forward or if 
any voice 
message was send to other side they will but my project is not working
On Friday, June 3, 2011 5:07:05 PM UTC+5:30, Stefan S wrote:
>
> Hi NG 
>
> I've got a problem with my application. 
> I'm writing an app that automatically takes incoming calls (that's 
> working) but when the call is coming 
> my application disappears cause of den incoming call screen. 
> Is there a possibility that my app is staying in front of the incoming 
> call screen? Because if there are more calls coming the app should 
> make a conference call with one hang up button.

-- 
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: Does higher version support all feature of lower version in android?

2012-10-12 Thread Ali Chousein
I doubt that you can have a satisfactory answer on this, because the 
behavior can also be OEM specific. 

- 
Ali Chousein 
https://play.google.com/store/apps/details?id=com.apps.besocial 
https://play.google.com/store/apps/details?id=com.apps.weather_buddy

-- 
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: Maximum memory usage by an Android app

2012-10-12 Thread RichardC
Found a few links for you:
http://developer.android.com/guide/topics/manifest/application-element.html#largeHeap
http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass()
http://developer.android.com/reference/android/app/ActivityManager.html#getLargeMemoryClass()

On Thursday, October 11, 2012 11:58:27 AM UTC+1, navneet Upadhyay wrote:
>
> I am writing a native library whose memory usage can peak up to 100-120 
> MB. Will this be a problem?
>
> Android documentation (
> http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass%28%29)
>  
> says that we can use getmemoryclass() APi to find out approximate 
> per-application memory class of the current device which is usually 16 MB 
> but differs from device to device. It also says this is suggested memory 
> specification so that device performs optimally. Can i allocate say 100 MB 
> memory in my app. Is there a hard limit? Where can i find detals of such 
> limits?
>

-- 
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 Sync Database Data to a Desktop Application without internet connection..

2012-10-12 Thread Anees Thyrantakath
I want Bidirectional Sync because data's in SQLite DB can modify from
either PC or Mobile.

-- 
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: Child activity lifetime in background

2012-10-12 Thread Ricky
HI,

Use this tag in the manifest for the activities so that it will not get 
killed after any amount of time...

android:alwaysRetainTaskState="true"
*
*
*njoy programming*
*:)
*
On Wednesday, September 15, 2010 12:10:26 PM UTC+5:30, viktor wrote:
>
> Hi, 
>
> I have next problem, I have got parent activity and few sub- 
> activities, if app goes to the background by pressed HOME button for 
> long time, all children will be killed, and my app restart from parent 
> activity. 
>
> For example: A1 - parent, A2,A3,A4 - sub-activities. A1-->A2-- 
> >A3(top), from A3 I go to the background (HOME). wait 30-40 min and 
> restart app. 
>
> Only A1 displayed. 
>
>
> Could you please explain how to resolve my problem? 
>
> 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] Re: Gallery with Zoom Application needed

2012-10-12 Thread Renato Mussa
https://github.com/chrisbanes/PhotoView like this?

Terça-feira, 9 de Outubro de 2012 4:13:59 UTC+1, vamshi ch escreveu:
>
> yes zafer..if you have just  share with 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] Re: RecoverySystem.install ERROR message "/cache/recovery/command (Permission denied)"

2012-10-12 Thread Rama Velpuri
I am also facing same issue on ICS 4.0.3. 
What is the solution?

On Saturday, April 14, 2012 1:16:22 PM UTC-4, bor...@gmail.com wrote:
>
> Hi Gugs:
> I try to use RecoverySystem.installPackage method to update system, 
> but got a error message "/cache/recovery/command (Permission denied)".
>
> permissions:
>  android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
> 
>
> Simple APK Code:
> public void romUpdate(Context context) {
>
> File SDCardRoot = Environment.getExternalStorageDirectory();
>
> File packageFile = new File("/sdcard/update.zip");
>
> try {
> RecoverySystem.installPackage(context, packageFile);
> } catch (IOException e) {
> Log.v(TAG, e.getMessage());
> e.printStackTrace();
> }
> }
>
> Error Message:
> W/RecoverySystem( 7845): !!! REBOOTING TO INSTALL /mnt/sdcard/update.zip 
> !!!
> V/RomUpdateActivity( 7845): /cache/recovery/command (Permission denied)
> W/System.err( 7845): java.io.FileNotFoundException: 
> /cache/recovery/command (Permission denied)
> W/System.err( 7845): at 
> org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
> W/System.err( 7845): at 
> dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:239)
> W/System.err( 7845): at 
> java.io.FileOutputStream.(FileOutputStream.java:101)
> W/System.err( 7845): at 
> java.io.FileOutputStream.(FileOutputStream.java:77)
> W/System.err( 7845): at java.io.FileWriter.(FileWriter.java:42)
> W/System.err( 7845): at 
> android.os.RecoverySystem.bootCommand(RecoverySystem.java:394)
> W/System.err( 7845): at 
> android.os.RecoverySystem.installPackage(RecoverySystem.java:326)
> W/System.err( 7845): at 
> com.kvbian.romupdate.RomUpdateActivity.romUpdate(RomUpdateActivity.java:64)
> W/System.err( 7845): at 
> com.kvbian.romupdate.RomUpdateActivity.onCreate(RomUpdateActivity.java:48)
> W/System.err( 7845): at 
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1050)
> W/System.err( 7845): at 
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1782)
> W/System.err( 7845): at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1834)
> W/System.err( 7845): at 
> android.app.ActivityThread.access$500(ActivityThread.java:122)
> W/System.err( 7845): at 
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1027)
> W/System.err( 7845): at 
> android.os.Handler.dispatchMessage(Handler.java:99)
> W/System.err( 7845): at android.os.Looper.loop(Looper.java:132)
> W/System.err( 7845): at 
> android.app.ActivityThread.main(ActivityThread.java:4126)
> W/System.err( 7845): at java.lang.reflect.Method.invokeNative(Native 
> Method)
> W/System.err( 7845): at java.lang.reflect.Method.invoke(Method.java:491)
> W/System.err( 7845): at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
> W/System.err( 7845): at 
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
> W/System.err( 7845): at dalvik.system.NativeStart.main(Native Method)
> D/WindowManager(  287): addWindowToListInOrder() : current 
> mSkipWidgetFocus='true'
>
>
> Thanks
>
> -- 
> Jiang Bian
> http://www.wifihack.net/
> http://golang-china.org/
>
>  

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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] Can I update my Galaxy S3 from ICS to Jelly bean?

2012-10-12 Thread Sakada Sniper
In fact, I live in Cambodia and my S3 is unlocked.. Now I saw some  videos 
that show about Jelly Bean for S3... That's why I need to know when will I 
can update???

Thx you..

-- 
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 can I call WCF webservices with WS-security using client x509 certificate

2012-10-12 Thread sam dev
Hi Sumit ,

I am doing the same thing .Can you update me on this issue?

Thanks in Advance
SAM



On Wednesday, October 3, 2012 7:47:51 PM UTC+5:30, sumit gulati wrote:
>
> How can I consume the WCF webservices(hosted on http protocol) having ws- 
> message security from the android application using KSOAP or any other 
> library. I have implemented the same fro REST webservices. I have to 
> customize the both trust manager(certificate file with X509 certificate) 
> and key manager(.p2 file). There is transport security only message 
> security. and url is with http scheme.
>

-- 
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: File not found

2012-10-12 Thread warium
Salam. 
you just have to start your SDK manager using "run as administrator"

-- 
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: Webview shows white blank page in Ice Cream Sandwitch

2012-10-12 Thread Russ
Did calling ".destroy()" fix your issue?  I too am getting a blank white 
page on all repeat visits to my app (which uses a webview).

-- 
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: Question: Is it possible to get the RAW camera data?

2012-10-12 Thread Samuel Potter
Hello,

Photographer here to maybe clear up some confusion over what RAW is, and 
why photographers prefer to shoot in RAW.  I'm going to refer to 
whitebalance as WB fyi.

RAW is not TIFF.  RAW allows you to essentially do non-destructive post 
processing to your photos.  This means cleaner sharpness and contrast 
adjustments, WB fixing, and wider dynamic range (shadows and highlights).  

RAW gives you full control over the entire WB spectrum so that no matter 
what WB you shoot in you can correct it in post processing to perfection. 
 If you tried taking an extremely blue(WB too cold) or orange (WB too warm) 
JPEG photo to its correct temperature, you will not have good results(at 
least not nearly as good as RAW).  

While shooting in RAW I am able to recover well over exposed photos back to 
where they should be, as well insanely underexposed photos that most people 
would write off too dark to use.  RAW gives you approximately 2 extra stops 
of exposure in each direction.  I can give examples if need be.

Do any Android phones capture in RAW?  I read some people in this 
discussion denying it was possible.  The HTC One X uses the RAW format to 
capture images and process them in phone, but they don't give you an option 
to save the image to your phone as RAW.  I think with the right developers 
they could give the user access to the RAW images that the One X captures 
and be able to save that to their phone so they could do editing to the 
photo from their computer(or phone) at a later time.

What is the appeal?  I strongly believe that if any android phones could 
capture and save RAW images, it would be a huge appeal to professional and 
hobby photographers.  Not every photographer wants to lug a heavy DSLR 
everywhere (especially in casual situations) with them to get quality 
photos that they can do precision processing to later.  Also RAW would help 
make up for the lack of manual camera settings on android phones by being 
able to recover photos with incorrect exposure or WB.

-Sam

-- 
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] Media player help

2012-10-12 Thread Ravi
Hello there,
I have problem in playing icecast stream radio through my android 
application any help will be appreciated.

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

[android-developers] Re: how to store recorded audio files in sdcard using android

2012-10-12 Thread rock3r
Once you have the recorded audio, you can use the Android storage 
APIsand
 I/O to write there.

On Wednesday, October 10, 2012 1:03:48 PM UTC+2, Tom wrote:
>
> Hi,
>
> Any body knows how to store recorded audio files in sdcard using android 
> pls share with me..
>
> Thanks,
> Tom
>

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