[android-developers] Re: SDK Manager doesn't show anything, only already installed packages

2012-09-25 Thread Ivica Kocev
Same here, did you find the solution? I am too using Win 7 - 64 bit version

On Tuesday, August 14, 2012 10:43:18 AM UTC+2, Andre wrote:
>
> Hi everyone, since yesterday the SDK Manager doesn't show any updates or 
> packages other than what I have already installed.
> I looked everywhere on Google and can't find one person in the same 
> situation. I don't get any error messages, the SDK Manager loads the 
> repository and then nothing shows up. I run the app as administrator and I 
> tried both fetching with http: and https:
> Does anyone else have the same problem? Is this a known bug? I'm on 
> Windows 7 64bit but I don't think that matters cause everything was running 
> smoothly until yesterday.
> If it helps, this is what I see:
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] emulator: emulator window was out of view and was recentered

2012-09-25 Thread Charles Capps
I'm planning on creating a game, but am a bit new to 2D graphics in 
Android. I get the error in the subject and I can't decipher why. 

I have a relative view with a slider handle and a GameView class that just 
extends View. 

The GameView class doesn't do anything yet, just defines a constructor that 
calls to the super class. 

This error occurs as soon as I open the activity with this layout. It 
worked immediately prior to adding the GameView to the layout. 

Here's the layout xml: 

Thanks for any help!

Code: 


http://schemas.android.com/apk/res/android";
android:id="@+id/rootLayoutGame"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >








http://schemas.android.com/apk/res/android";
android:id="@+id/towersLinearLayout"
android:layout_gravity="bottom"
 android:layout_width="match_parent"
 android:layout_height="45dp"
 android:orientation="horizontal" >
 







 






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

2012-09-25 Thread rajlaxmi jagdale
how to develop a app for dictionary?from where i should i start?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: javax.net.ssl.SSLException: Not trusted server certificate error in 2.1

2012-09-25 Thread Piren
Each android version has a list of Root certificate authorities it 
supports, the specific certificate your server uses is signed by an entity 
unknown by android 2.1.

You can either supply that server certificate within your application or 
change the server certificate to one recognized by android 2.1

On Monday, September 24, 2012 8:51:36 AM UTC+2, aravelli wrote:
>
> I am developing an application that need a certificate verification from 
> the server. It works fine on Android 
> 2.2 
> version and above, but for android 2.1 it gave me an exception 
> javax.net.ssl.SSLException: 
> Not trusted server certificate. can any one please help me.
>
> Here is my code:
>
> String URL ="https://mywolla.com/mobwebservices/svalidateuser.php?wsdl";;
> final String SOAP_ACTION = "urn:server#validateUser";
> final String METHOD_NAME = "validateUser";
>  final String NAMESPACE = "http://tempuri.org/";;
>
> SSLContext sc = SSLContext.getInstance("SSL");
> sc.init(null, trustAllCerts, new java.security.SecureRandom());
> HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
>  SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
> request.addProperty("username", _username.getText().toString()
>  .trim());
> request.addProperty("password", _password.getText().toString()
>  .trim());
> SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
>  SoapEnvelope.VER11);
> envelope.dotNet = false;
> // envelope.setOutputSoapObject(request);
>  envelope.bodyOut = request;
> HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
>  try {
> androidHttpTransport.call(SOAP_ACTION, envelope);
> } catch (XmlPullParserException e) {
>  // TODO Auto-generated catch block
> e.printStackTrace();
> }
>  System.out.println(_password.getText().toString().trim()
> + "-_username.getText().toString().trim()--->"
>  + _username.getText().toString().trim());
> Object result = envelope.bodyIn;
>  System.out.println("login responce." + result);
> response = result.toString();
>
> }
> catch (NoSuchAlgorithmException e) {
> e.printStackTrace();
>  // errorMsg.setText(e.getMessage());
> } 
> catch (KeyException e) {
>  e.printStackTrace();
> // errorMsg.setText(e.getMessage());
> } 
>  catch (ClassCastException e) {
> e.printStackTrace();
> // errorMsg.setText(e.getMessage());
>  } catch (IOException e) {
> // TODO Auto-generated catch block
>  e.printStackTrace();
> return e.getMessage();
>  }
>  return response;
>  }
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 do registration free on android markert

2012-09-25 Thread rajlaxmi jagdale
how to register in free on google play

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 do sql server connection to andriod app ???

2012-09-25 Thread ashish yadav
sql server connection to andriod app ???

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 completely cancel in-app subscription?

2012-09-25 Thread Klymentiy Haykov
Hello,

I'm currently trying to implement in-app billing, and specifically in-app 
subscriptions. I want to take a look at restore transaction response, when 
user buys subscription, than cancels it (or it expires for some reason) and 
than buys it again (will I get two subscriptions with same item_id, 
different purchase_tokens, and different states?).

So I bought subscription, than refunded it through Merchant Console, but 
for some reason I can't buy it again! It says "you already own this 
subscription". I even canceled whole order. Still same message. And no 
information about what.

So, is there a way to test my case without waiting for a month, when 
subscription will expire?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 Application Update is becoming overhead...

2012-09-25 Thread Arunprasad Rajkumar
Hi All,

Suppose I have a Android Application in size of 50MB, if developer fixes a 
major bug & fix requires to change only one java class file which sizes 
about 1K. If update is made available then App user has to download the 
entire 50MB size from store. It will be unacceptable when user have limited 
data connection.

Is there any way to update only the updated class file?. I think it is of 
the advantage of Java & We are losing out here. Please ignore if it is 
really a bad question.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Testing the download of the updated expansion file for a paid app

2012-09-25 Thread gpg84
Hello Everyone,

I have a paid app, which is already published on google play. This version 
of the app did not have an extension file.
Now i have an update to make and this version of the app has an extension 
file. So i imported the new APK and the extension file and just saved it 
(did not publish the new version).
Now when i am installing the APK in the device its giving an error, it says 
"Download failed because you have not purchased this app".
Is there any way i can test the extension file download (without purchasing 
the app). 

I appreciate any help from fellow developers.

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

[android-developers] eclipse installation cant find "android projects" in the new-> projects section

2012-09-25 Thread Naseerapm
I am beginner in android programming. Just installed eclipse and Android 
sdk manger .In the  new projects i am not able to find the android projects 
Is the Android Application project same as the android project?

pls help.

Naseera

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

[android-developers] When I want to build libhello-jni native library with ndk-build, there is an error

2012-09-25 Thread Xiaobo Huang
When I want to build libhello-jni native library with ndk-build, there is
an error:
root@ThinkPad-Edge-E430:~/android-ndk-r8b/samples/hello-jni# ndk-build
Gdbserver  : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup   : libs/armeabi/gdb.setup
Executable : hello-jni
/root/android-ndk-r8b/platforms/android-14/arch-arm/usr/lib/crtbegin_dynamic.o:
In function `atexit':
crtbrand.c:(.text+0x44): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/hello-jni] Error 1
I spent many time trying to see what happened but didn't figure out what's
wrong :( I'd appreciate if any one can give some suggestions to resolve it,
thank you 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

[android-developers] how to secure my apk

2012-09-25 Thread daulat bachhav
I want to protect my apk file not copy diffrent unregister devices pls.

-- 
Thanks & Regards
Daulat bachhav
9823403093

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 make my intent to run background

2012-09-25 Thread sindhu
you could use services how you want , if you want to run all the time or 
else some point in time ect...  

On Tuesday, September 25, 2012 9:33:05 AM UTC+5:30, Kristopher Micinski 
wrote:
>
> This is bad advice: an everlasting service is an antipattern. 
>
> kris 
>
> On Mon, Sep 24, 2012 at 11:56 PM, sindhu > 
> wrote: 
> > Use android background services to keep on checking the current date 
> ,when 
> > date is changed then raise an event as brodcastIntent(Broadcast 
> receiver). 
> > 
> > 
> > On Monday, September 3, 2012 3:02:01 PM UTC+5:30, sandeep wrote: 
> >> 
> >>  I want to make my app run continuously and take the date and time from 
> >> the phone. according to the date the activity should be changed every 
> time. 
> >> Sorry for my bad english i think you have understand my question. 
> > 
> > -- 
> > 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] Sudden Drop in App Usage and New Users

2012-09-25 Thread Neil Johnston
I have had two apps in the last couple weeks that had sudden drops in the 
market. They're in the same position in the market app results. But the 
daily New Users has went from 400 to 45. What can explain such a huge drop 
in New Users?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: SDK Manager does not fetch any package for installation (no error reported)

2012-09-25 Thread Sabbib
Angelo, i followed your instructions but not luck still. 

On Monday, September 10, 2012 5:55:55 PM UTC+6, Angelo Hannes wrote:
>
> I had the same issues.
>
> I'm behind a proxy but setting the host:port in the sdk manger options did 
> not work.
> I solved my problem by starting the sdk manager via command line. I 
> started it like that:
> PROMPT>android.bat --clear-cache -v update sdk -u -s --proxy-host 
> 1.234.567.890 --proxy-port 88
> Hope that was helpful
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 First Impressions

2012-09-25 Thread mte111
Just though I'd solicit some feedback on other's thoughts.  After using 
Visual Studio C#, C++/CLI for some time now, it sort of seems to me as I'm 
learning how to do Android programming that the Android GUI API is sort of 
primitive and weak.  There are not a lot of features and options to do a 
GUI.  Actually it has been some time since I've used Java Swing also but 
the Android GUI api seems lacking compared to that too.  Of coures I 
can write what ever I want from a lower level and reinvent lots of 
things but it takes time to do that.
 
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Bluetooth Developers Guide and Bluetooth Sample Code

2012-09-25 Thread Taher Kawantwala
hi
I am working on Bluetooth based remote control project for my home. i am 
not able to receive right seek bar value from my Android phone. I am 
getting random number and symbols on my hyper terminal using Bluetooth. i 
want to receive exact integer value of seek bar on my Hyper terminal 
window. please anyone guide me.
mailme on taherkawantw...@gmail.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] profile for no home button

2012-09-25 Thread sschefter
Hi.

I am using Jelly Bean on a custom board and don't see the home, etc icons 
on the screen.

Is there a hardware profile that I need to set to indicate that I have no 
hardware keys so that it presents soft keys?

Thanks,
Steve

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] ICS Android Notification disappears after about 5 seconds

2012-09-25 Thread Tom Bostelmann
For some reason, the notification that I create is disappearing in
about 5 seconds without any action on my part.  I can see it appear
(with a message in the title bar).  Then, when I pull down the message
bar, I see the notification in the list for about 5 seconds and then
it just disappears!  Non of the documentation addresses this behavior
so I'm not sure where to go with this.

Here's a couple examples of code that I've tried (all result in the
same behavior described):

Notification.Builder setupGoogleActBuilder = new
Notification.Builder( context );
 
setupGoogleActBuilder.setSmallIcon( R.drawable.notification_gear );
 
setupGoogleActBuilder.setTicker( context.getResources().getString( 
R.string.notification_setup_google_title ) );
 
setupGoogleActBuilder.setContentTitle( context.getResources().getString( 
R.string.notification_setup_google_title ) );
 
setupGoogleActBuilder.setContentText( context.getResources().getString( 
R.string.notification_setup_google_body ) );
Intent googleAccountIntent = new Intent();
 
googleAccountIntent.setAction( "android.settings.ADD_ACCOUNT_SETTINGS" );
PendingIntent googleAccountPendingIntent =
PendingIntent.getActivity( context, 0, googleAccountIntent, 0 );
 
setupGoogleActBuilder.setContentIntent( googleAccountPendingIntent );
setupGoogleActBuilder.setAutoCancel( true );
notification = setupGoogleActBuilder.getNotification();


...as well as the deprecated version:


notification = new Notification(
R.drawable.notification_gear,
 
context.getResources().getString(R.string.notification_setup_google_title),
System.currentTimeMillis());
notification.flags |= Notification.FLAG_AUTO_CANCEL;
Intent googleAccountIntent = new Intent();
 
googleAccountIntent.setAction( "android.settings.ADD_ACCOUNT_SETTINGS" );
PendingIntent googleAccountPendingIntent =
PendingIntent.getActivity( context, 0, googleAccountIntent, 0 );
notification.setLatestEventInfo(
context,
 
context.getResources().getString( R.string.notification_setup_google_title ),
 
context.getResources().getString( R.string.notification_setup_google_body ),
googleAccountPendingIntent);


I should note that:

1.) This is a SetupWizard application so it's sending the notification
during the initial startup after a factory reset:


  







2.) We've seen this occur only in Ice Cream Sandwich devices - it has
functioned correctly in the other android versions (Jelly Bean, and
prior to ICS) - the notification does not disappear.

Thanks in advance for your 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] ViewFlipper jump to 'page'

2012-09-25 Thread Rosen Simov
thanks a lot!

On Wednesday, November 17, 2010 10:19:16 AM UTC+2, Brad Gies wrote:
>
> flipper.setDisplayedChild(1);
>
> Sincerely,
>
> Brad Gies
> ---
> Bistro Bot - Bistro Blurb
> http://bgies.comhttp://nocrappyapps.com
> http://bistroblurb.com  http://forcethetruth.com
> http://ihottonight.com
> ---
> Everything in moderation, including abstinence (paraphrased)
>
> Every person is born with a brain... Those who use it well are the 
> successful happy ones - Brad Gies
>
> Adversity can make or break you... It's your choice... Choose wisely - 
> Brad Gies
>
> Never doubt that a small group of thoughtful, committed people can
> change the world. Indeed. It is the only thing that ever has - Margaret 
> Mead
>
>
> On 16/11/2010 11:32 PM, Hatch wrote:
> > Is it possible to tell the flipper to jump to a given view instead of
> > navigating using showNext() and showPrevious() ?
> >
> > I would like my ViewFlipper to start at page N instead of the first
> > one.
> >
> > Cheers,
> >
> > Hatch
> >
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Communication USB with electronic card

2012-09-25 Thread Christian Cadon
Hello,

We are a design office electronics.
We develop some applications to interact with our electronic cards (update, 
configuration, management, etc. ..). Bluetooth is the technology currently used 
for this task. We now want to communicate via USB.
We develop an application "test" shipment via USB, the content of EditText when 
pressing a button and displays what you get in a TextView. We helped
http://developer.android.com/guide/t.../usb/host.html
and
http://android.serverbox.ch/?p=549 # comments
but we do not use arduino but a simple interface USB/RS232 where the RX and 
TX are connected and we check the result with an oscilloscope.
We also have our tablet (Iconia A500) hyperterminal Slick USB 2 Serial Demo.

Here is our problem:
Our application works only if we have previously opened the hyperterminal. In 
fact, if we run our application directly, the code works correctly, and okay 
until 
the sending function "bulkTransfert" (which returns the size of datas to 
send) but sending does not occur (check on the oscilloscope).
But when the previously opened hyperterminal, sending is successful.
And when the application sends nothing (when it should) and you open the 
hyperterminal then we get our bytes sent on this one.
We believe that open hyperterminal or authorizes the things we do not.

Do you have an idea of ​​what is missing in our program?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Nexus 7 not visible to adb over usb (WIndows 7 x64, up to date Jelly Bean sdk)

2012-09-25 Thread Russell Gillette
On Friday, August 10, 2012 1:18:41 PM UTC-4, goodG wrote:
>
> my personal advice is just to avoid programming on Windows, it's a 
> nightmare.
>

Given the size of Windows' install base, it's kinda sad that the driver 
support is such a mess. 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Display shapefile as a layer on my google map android ?

2012-09-25 Thread Tom Cohen
I'm looking for a way to store my shapefile in a website and then to 
display it as a layer on my google map in android. 
I guess i should convert my .shp file to a kml file - how do i do it ? and 
where can i store my kml and then use it as a layer on my google map in my 
own android app ?

Thanks in advance.. 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

[android-developers] Problem at expandable list view

2012-09-25 Thread Madhuri Cherukuri
Hello,

I need a help from you guys,
actually I'm facing problem with expandable list view. what exactly my
problem is :
i need Out Put like as follows...



  android
___
  android1
  android1
  android1

 java

java1
  java2
_

that means every parent must contain a dividing line and child view
could'not divide by the lines...
how can i achieve this..

thanks in advance

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


Re: [android-developers] Timepicker AM/PM value issue

2012-09-25 Thread sindhu
Hi ibrahim,
I tried all possible ways ,It does not work for me.. i got class cast 
exception. This method is supportable only for 2.3 not 3.0..  

On Tuesday, September 25, 2012 11:21:08 AM UTC+5:30, Ibrahim wrote:
>
>  Mycallback=new OnTimeSetListener() {
>
> public void onTimeSet(TimePicker view, int hourOfDay, int minute) {
>
> ViewGroup vg=(ViewGroup) view.getChildAt(0);
>
> Toast.makeText(TimePickerDemoActivity.this, 
> hourOfDay+":"+minute+":"+((Button)vg.getChildAt(2)).getText().toString(), 
> 5000).show();
>
> }
> };
>
>
>
> On 25 September 2012 09:13, sindhu >wrote:
>
>> Hi, how to get time picker am/pm values in android 3.0? 
>>
>> -- 
>> 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] send email

2012-09-25 Thread vinay kumar
Hi,

you can use the following code to send the email from your application


String myemail[]={email_id_1,email_id,2};

Intent emailIntent = new
Intent(android.content.Intent.ACTION_SEND);

emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,myemail);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
"Feedback");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,"");
emailIntent.setType("plain/text");

startActivity(emailIntent);


Note: Make sure your are logged in device email client and add necessary
permissions.


Regards
Vinay Kumar

On Tue, Sep 25, 2012 at 12:23 PM, Ibrahim Sada wrote:

> Hi ..
>Can any1 help me out how to send email from code..
>Thanks in advance..
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

[android-developers] Re: Android Application Update is becoming overhead...

2012-09-25 Thread William Ferguson
One of the changes to Google Play announced at Google IO 2012 was 
incremental updates.
You get this for free with the latest version of Google Play.
Ie you don't need to do anything to enable it.

On Tuesday, September 25, 2012 4:46:39 PM UTC+10, Arunprasad Rajkumar wrote:
>
> Hi All,
>
> Suppose I have a Android Application in size of 50MB, if developer fixes a 
> major bug & fix requires to change only one java class file which sizes 
> about 1K. If update is made available then App user has to download the 
> entire 50MB size from store. It will be unacceptable when user have limited 
> data connection.
>
> Is there any way to update only the updated class file?. I think it is of 
> the advantage of Java & We are losing out here. Please ignore if it is 
> really a bad question.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] DDMS setup problem

2012-09-25 Thread Balky
Hi, 

I think I'm having problems with my device and it's connection to Eclipse 
tools. 

I have certain memory issue and my app crashes after a while, and I'd love 
to figure out how to clean memory faster.

I'm reading all possible tutorials, and they are showing that DDMS should 
give you all running apps on device, and then you can monitor memory 
allocations and things.

How ever, my DDMS constantly displays all apps as "?", and I can't get any 
additional info while testing. It happened only once that it displayed my 
full app name, and gave me some
results, I've changed some code, recompiled it, and since then I'm getting 
only "?"

Connecting it, disconnecting, it does not help. 

What can cause this and what can I do to make it work properly? 

*Device is HTC Desire, Android 2.2., USB debugging is turned on

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread skink


sindhu wrote:
> Hi, how to get time picker am/pm values in android 3.0?

what do you mean by "time picker am/pm values"?

pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 First Impressions

2012-09-25 Thread Harri Smått
Hi,

Coming from Symbian world I was very happy with Android from day one. This 
applies to iOS and WP too most likely - OSs I haven't had time to play around 
with as much as wanted to. But I'm wondering is there something specific you 
find Android is lacking compared to J2SE?

For me biggest turn-off was battery time. But compared to phones I used to work 
with current phones are highly technical.

--
H

On Sep 24, 2012, at 9:24 PM, mte111  wrote:

> Of coures I can write what ever I want from a lower level and reinvent lots 
> of things but it takes time to do that.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 make my intent to run background

2012-09-25 Thread karanam moneesh
I used alarm manager  and pending intent but it is not working fine
thanks for your replies

On Tue, Sep 25, 2012 at 1:12 PM, sindhu  wrote:

> you could use services how you want , if you want to run all the time or
> else some point in time ect...
>
>
> On Tuesday, September 25, 2012 9:33:05 AM UTC+5:30, Kristopher Micinski
> wrote:
>
>> This is bad advice: an everlasting service is an antipattern.
>>
>> kris
>>
>> On Mon, Sep 24, 2012 at 11:56 PM, sindhu  wrote:
>> > Use android background services to keep on checking the current date
>> ,when
>> > date is changed then raise an event as brodcastIntent(Broadcast
>> receiver).
>> >
>> >
>> > On Monday, September 3, 2012 3:02:01 PM UTC+5:30, sandeep wrote:
>> >>
>> >>  I want to make my app run continuously and take the date and time
>> from
>> >> the phone. according to the date the activity should be changed every
>> time.
>> >> Sorry for my bad english i think you have understand my question.
>> >
>> > --
>> > 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
>



-- 
With Regards
moneesh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
In time picker control ther is one button choose AM or PM values how to get 
that value? when user clicks on it?

On Tuesday, September 25, 2012 2:19:37 PM UTC+5:30, skink wrote:
>
>
>
> sindhu wrote: 
> > Hi, how to get time picker am/pm values in android 3.0? 
>
> what do you mean by "time picker am/pm values"? 
>
> pskink 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread skink


sindhu wrote:
> In time picker control ther is one button choose AM or PM values how to get
> that value? when user clicks on it?
>

what on earth do you need it for? why the existing listener is not
sufficient?

pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
Hi sindhu,

have you check with the above code sent by me. Is that also not working?


On Tue, Sep 25, 2012 at 2:54 PM, skink  wrote:

>
>
> sindhu wrote:
> > In time picker control ther is one button choose AM or PM values how to
> get
> > that value? when user clicks on it?
> >
>
> what on earth do you need it for? why the existing listener is not
> sufficient?
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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] send email

2012-09-25 Thread Ibrahim Sada
Mr vinay thanks..
  But i need to send a mail through code..
  Thnks in advance...

On 25 September 2012 13:18, vinay kumar  wrote:

> Hi,
>
> you can use the following code to send the email from your application
>
>
> String myemail[]={email_id_1,email_id,2};
>
> Intent emailIntent = new
> Intent(android.content.Intent.ACTION_SEND);
>
> emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,myemail);
> emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
> "Feedback");
> emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,"");
> emailIntent.setType("plain/text");
>
> startActivity(emailIntent);
>
>
> Note: Make sure your are logged in device email client and add necessary
> permissions.
>
>
> Regards
> Vinay Kumar
>
> On Tue, Sep 25, 2012 at 12:23 PM, Ibrahim Sada wrote:
>
>> Hi ..
>>Can any1 help me out how to send email from code..
>>Thanks in advance..
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

2012-09-25 Thread vinay kumar
Then check for java gmail client.

On Tue, Sep 25, 2012 at 2:59 PM, Ibrahim Sada wrote:

> Mr vinay thanks..
>   But i need to send a mail through code..
>   Thnks in advance...
>
>
> On 25 September 2012 13:18, vinay kumar  wrote:
>
>> Hi,
>>
>> you can use the following code to send the email from your application
>>
>>
>> String myemail[]={email_id_1,email_id,2};
>>
>> Intent emailIntent = new
>> Intent(android.content.Intent.ACTION_SEND);
>>
>> emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,myemail);
>> emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
>> "Feedback");
>> emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,"");
>> emailIntent.setType("plain/text");
>>
>> startActivity(emailIntent);
>>
>>
>> Note: Make sure your are logged in device email client and add necessary
>> permissions.
>>
>>
>> Regards
>> Vinay Kumar
>>
>> On Tue, Sep 25, 2012 at 12:23 PM, Ibrahim Sada 
>> wrote:
>>
>>> Hi ..
>>>Can any1 help me out how to send email from code..
>>>Thanks in advance..
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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] send email

2012-09-25 Thread Ibrahim Sada
Dear do you have any example code for it...

On 25 September 2012 15:02, vinay kumar  wrote:

> Then check for java gmail client.
>
>
> On Tue, Sep 25, 2012 at 2:59 PM, Ibrahim Sada wrote:
>
>> Mr vinay thanks..
>>   But i need to send a mail through code..
>>   Thnks in advance...
>>
>>
>> On 25 September 2012 13:18, vinay kumar  wrote:
>>
>>> Hi,
>>>
>>> you can use the following code to send the email from your application
>>>
>>>
>>> String myemail[]={email_id_1,email_id,2};
>>>
>>> Intent emailIntent = new
>>> Intent(android.content.Intent.ACTION_SEND);
>>>
>>> emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,myemail);
>>> emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
>>> "Feedback");
>>> emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,"");
>>> emailIntent.setType("plain/text");
>>>
>>> startActivity(emailIntent);
>>>
>>>
>>> Note: Make sure your are logged in device email client and add necessary
>>> permissions.
>>>
>>>
>>> Regards
>>> Vinay Kumar
>>>
>>> On Tue, Sep 25, 2012 at 12:23 PM, Ibrahim Sada 
>>> wrote:
>>>
 Hi ..
Can any1 help me out how to send email from code..
Thanks in advance..

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

2012-09-25 Thread Asheesh Arya
ibrahim just go through this link
http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_%28no_Intents%29_in_Androidyou
got some idea.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] checking WI-FI

2012-09-25 Thread Saurabh Khemka
How to check programmatically whether a device's wi-fi is on or not using 
phonegap?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] checking WI-FI

2012-09-25 Thread Harri Smått

On Sep 25, 2012, at 1:15 PM, Saurabh Khemka  wrote:

> How to check programmatically whether a device's wi-fi is on or not using 
> phone gap?
> 

I'm not familiar with PhoneGap but there seems to be some information on 
connection type in the documentation;

http://docs.phonegap.com/en/1.2.0/phonegap_connection_connection.md.html

--
H

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Where to download the Lenovo A2901 ADB interface USB driver?

2012-09-25 Thread mw18888

I can't find the Lenovo A2901 ADB interface USB driver?

Any comment?

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

[android-developers] USB support on emulator

2012-09-25 Thread MMM
Hi,
 
My application directly interacts with a device through USB. If I want to 
test the application with emulator, then how to create USB support on 
emulator? 
 
How emulator will consider host's USB connection as its own?
 
Please 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

[android-developers] Multiuser Chating application on Android

2012-09-25 Thread amit
hello friends,
  i am developing a chat application on android. please 
suggest me how i can implement it what classes i can use it.
how i can make different views for different online friends ?

thanks in advance

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

Re: [android-developers] profile for no home button

2012-09-25 Thread Mark Murphy
This group is for building apps with the Android SDK. Please visit
http://source.android.com, click on the Community tab, and find a
relevant Google Group (probably android-porting) for your question.

On Mon, Sep 24, 2012 at 11:09 AM, sschefter  wrote:
> Hi.
>
> I am using Jelly Bean on a custom board and don't see the home, etc icons on
> the screen.
>
> Is there a hardware profile that I need to set to indicate that I have no
> hardware keys so that it presents soft keys?
>
> Thanks,
> Steve
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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.1 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] Multiuser Chating application on Android

2012-09-25 Thread Asheesh Arya
use xmpp asmack library!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: My Google Play app was suspended, any advice ?

2012-09-25 Thread spocky12
Of course, I just replied to their email asking details about why exactly 
it's been suspended and making the suppositions I wrote in my first post 
here.
A few hours later, I had an answer saying my app has been reinstated (as 
there were no details about what the problem was and I obviously didn't 
correct anything in between, I suppose it's been automatically suspended by 
a bot or due to an external request and that my email triggered a human 
review).

As you said, we don't see many success stories about it here, so let me say 
it publicly : "Thanks to Google for their reactivity !"

On Wednesday, September 19, 2012 10:19:27 PM UTC+2, Fred Stluka wrote:
>
>  On 9/19/12 1:44 PM, spocky12 wrote:
> > I've just had an anwser and my app has just been reinstated (though I 
> still don't know why it's been suspended first):
>
> That's good news!  Can you please give details of how you successfully
> contacted Google?  Via e-mail?  Via a link on a support Web page?  By 
> posting to a forum?  
>
> It would be nice to have positive success stories like this well 
> documented, to counter the numerous negative posts by developers 
> who say they can't get a response from Google.
>
> Thanks!
> --Fred 
> --
> Fred Stluka -- mailt...@bristle.com  -- 
> http://bristle.com/~fred/ 
> Bristle Software, Inc -- http://bristle.com -- Glad to be of service! 
> Open Source: Without walls and fences, we need no Windows or Gates. 
> --
>  
>  

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Multiuser Chating application on Android

2012-09-25 Thread amit
Yes i am using it. i want to ask about GUI of chat application. how i can 
create gui for it ?

On Tuesday, September 25, 2012 4:19:21 AM UTC-7, asheesh arya wrote:
>
> use xmpp asmack library!!
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Multitouch 90% working.

2012-09-25 Thread iQue
Hello!

I have a weird problem in my game. I'm using 2 joysticks, one for 
shooting/aiming and one for moving my character. For some reason my 
multitouch method only registers one movement at a time. The second pointer 
gets registered when I press down, but my "ACTION_MOVE" only works for the 
first pointer. This is weird cus this means it does take more then one 
pointer, but it cant move more then one pointer at the same time. Ive asked 
this on gamedev.stackexchange and its been active for about a week, still 
no answer. 

Will link my code from pastebin: http://pastebin.com/bXsv71kR

If you need further explenation please let me know, I have a tendency to be 
a poor explainer.
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] Multiuser Chating application on Android

2012-09-25 Thread Asheesh Arya
what you already tried so far and please elaborate your qurey more?

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

Re: [android-developers] Multiuser Chating application on Android

2012-09-25 Thread amit
I want to ask how to make chat gui on android like when a new message 
coming its show a notification like facebook. and gui for showing messages 
for multiuser. i want to make like a facebook chat.
i am stuck in making gui for it.

On Tuesday, September 25, 2012 4:36:04 AM UTC-7, asheesh arya wrote:
>
> what you already tried so far and please elaborate your qurey more?
>

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

[android-developers] Sending an email with image from image view

2012-09-25 Thread Sultan Ibrahim
Hi ,

i want to send an email with image from image view,the image is retrieved
from image gallery ,mean's it is already stored.and then it is displayed
over in image view,now i want to pick this image from the image view or
just pick its uri,and then i want to send it to other  activity which is
responsible for email sending.  any help,thanks.well be so nice.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Multiuser Chating application on Android

2012-09-25 Thread Harri Smått
Hi,

To begin with, I didn't find this information in your post, what protocol
are you using?

--
H

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
hi vinay.. Yeah its working but not getting exact result. becoz we need to 
change the am/ pm value before changing the hour and minute values 
otherwise i will get previous value. 
here the scenario how its happening
1. First i change the hour and minute value by default am/pm value is 
previous one(say for example PM is the old value)
2. Now i want to change the am/pm of my own(for example AM) i don't want 
previous one.In this case m not able to get the currently selected value. 
instead m getting old value(i,e PM).

Its working fine for following case
1. First i changed the am/pm value then i change the hour and minute its 
worked fine for me.. 

but i want other case also .. Help me if you know the solution. 

On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:
>
> Hi sindhu,
>
> have you check with the above code sent by me. Is that also not working?
>  
>
> On Tue, Sep 25, 2012 at 2:54 PM, skink >wrote:
>
>>
>>
>> sindhu wrote:
>> > In time picker control ther is one button choose AM or PM values how to 
>> get
>> > that value? when user clicks on it?
>> >
>>
>> what on earth do you need it for? why the existing listener is not
>> sufficient?
>>
>> pskink
>>
>> --
>> 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: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
Existing listener itself not working yarr.. That is problem m facing.. 
Becoz of it m not getting the values.

On Tuesday, September 25, 2012 2:56:15 PM UTC+5:30, skink wrote:
>
>
>
> sindhu wrote: 
> > In time picker control ther is one button choose AM or PM values how to 
> get 
> > that value? when user clicks on it? 
> > 
>
> what on earth do you need it for? why the existing listener is not 
> sufficient? 
>
> pskink 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Multiuser Chating application on Android

2012-09-25 Thread Harri Smått
Ah pardon me.. It was XMPP, missed a few posts in between.

--
H
On Sep 25, 2012 3:47 PM, "Harri Smått"  wrote:

> Hi,
>
> To begin with, I didn't find this information in your post, what protocol
> are you using?
>
> --
> H
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
Vinay have you ever used Picker control in honencomb? 

On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:
>
> Hi sindhu,
>
> have you check with the above code sent by me. Is that also not working?
>  
>
> On Tue, Sep 25, 2012 at 2:54 PM, skink >wrote:
>
>>
>>
>> sindhu wrote:
>> > In time picker control ther is one button choose AM or PM values how to 
>> get
>> > that value? when user clicks on it?
>> >
>>
>> what on earth do you need it for? why the existing listener is not
>> sufficient?
>>
>> pskink
>>
>> --
>> 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: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
Yes I Used.

On Tue, Sep 25, 2012 at 6:27 PM, sindhu  wrote:

> Vinay have you ever used Picker control in honencomb?
>
>
> On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:
>
>> Hi sindhu,
>>
>> have you check with the above code sent by me. Is that also not working?
>>
>>
>> On Tue, Sep 25, 2012 at 2:54 PM, skink  wrote:
>>
>>>
>>>
>>> sindhu wrote:
>>> > In time picker control ther is one button choose AM or PM values how
>>> to get
>>> > that value? when user clicks on it?
>>> >
>>>
>>> what on earth do you need it for? why the existing listener is not
>>> sufficient?
>>>
>>> pskink
>>>
>>> --
>>> 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] Re: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
are closing your app after Step 1.


On Tue, Sep 25, 2012 at 6:32 PM, vinay kumar  wrote:

> Yes I Used.
>
>
> On Tue, Sep 25, 2012 at 6:27 PM, sindhu  wrote:
>
>> Vinay have you ever used Picker control in honencomb?
>>
>>
>> On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:
>>
>>> Hi sindhu,
>>>
>>> have you check with the above code sent by me. Is that also not working?
>>>
>>>
>>> On Tue, Sep 25, 2012 at 2:54 PM, skink  wrote:
>>>


 sindhu wrote:
 > In time picker control ther is one button choose AM or PM values how
 to get
 > that value? when user clicks on it?
 >

 what on earth do you need it for? why the existing listener is not
 sufficient?

 pskink

 --
 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] Re: Starting An Android App From An Url

2012-09-25 Thread Conrad Ciobanica

>
> Hello All,
>>
>
Did you find any intent to launch Adobe Connect Mobile? I need to start if 
from an URL. I suspect that a custom URL should be used and pass via 
intents some conference settings.

Thanks a lot,
Conrad
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Interfacing External Camera To An Android Mobile Device

2012-09-25 Thread Hesam Esfahlani
Have a look to this post:
http://electronicscoreresearch.blogspot.com/2011/05/using-external-camera-on-android-device.html?showComment=1348573403465
 

On Friday, January 14, 2011 3:13:04 PM UTC+8, 7Sigma wrote:
>
> Hi, 
> Is it possible to attach an external camera to an android mobile 
> device using USB, WIFI etc. Will it be possible for the application in 
> the device to use the camera for processing. 
>
> Thanks, 
> Mohit

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 USB to USB communication

2012-09-25 Thread Rohit Jadhav
where u find USB 2 Serial? can u send me that code...so I can change it to 
USB to USB

On Friday, September 14, 2012 5:37:37 AM UTC+5:30, dnk wrote:
>
> Android supports USB Host mode via its APIs but is there a library out 
> there that takes care of the threading and communication? 
>
> Can two devices use USB to pass arbitrary data, i.e chat messages?
>
> I've seen one for USB 2 Serial but I am talking about USB-to-USB. How come 
> there is none yet? 
>
> Please do not recommend any apps that manage USB devices etc as I am only 
> interested in an open source lib that I can use for exchanging data through 
> USB with 2 Android devices.
>
> I tried Googlin' around but could not find one.
>
> Thanks!
>
> p.s I am asking because I am thinking on writing my own.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 build stand alone shared library in Android

2012-09-25 Thread Mr cool
i want build one stand alone shared library in android, i compile one 
sample application using  arm-linux-androideabi-gcc but when i compile i 
doesn't load standard include files  i got this  error, how to link the 
standard include files in Android


 arm-linux-androideabi-gcc -fpic -c hello.c
hello.c:1:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'.' token
In file included from hello.c:2:0:
f:\android-ndk-r8b\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.6.x-google/include-fixed/stdio.h:50:23:
 
fatal error: sys/cdefs.h: No such file or directory
compilation terminated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Fetching Developer info of installed apps

2012-09-25 Thread rsk
Hello All,

Was interested in knowing if there is a way wherein I can get the developer 
info for an app installed on my device.
For example, assuming I have Angry Birds installed on my device can I get 
the information that the app "Angry Birds" developer is Rovio Mobile Ltd

If yes, would greatly appreciate if you could let me know how.

regards,
RSK

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Code for sending data through usb from android tablet

2012-09-25 Thread Rohit Jadhav
anyone..who can tell me that how to send data from android tablet through 
USB cable..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Samsung Galaxy S3 Music Player

2012-09-25 Thread Alex
How can I open music player on Samsung Galaxy S3 (4.0.4 API15) ?
I tried this code which works fine on any other devices but not in GS3 :

try {
try {
// 8 <= API < 15
String action = (String) 
MediaStore.class.getDeclaredField("INTENT_ACTION_MUSIC_PLAYER").get(null);
Intent intent = new Intent(action);
startActivity(intent);
} catch(Exception e) {
// 15 <= API
String category = (String) 
Intent.class.getDeclaredField("CATEGORY_APP_MUSIC").get(null);
Method method = Intent.class.getMethod("makeMainSelectorActivity", 
String.class, String.class);
Intent intent = (Intent) method.invoke(null, Intent.ACTION_MAIN, 
category);
startActivity(intent);
}
catch(Exception e) {
// music player not found
}

http://stackoverflow.com/questions/12532207/open-music-player-on-galaxy-s3

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Why won't in-app videos play on Samsungs and MyPhones?

2012-09-25 Thread David Carlisle
I've created an app for android and iOS (Pickles Maths - a numbers game for 
kids). It's very simple and after a level is complete there is a short 
congratulations video. But Samsung owners (galaxy, Y, GT-S5830D etc.) are 
all reporting that they can only hear sounds.

On iOS the videos are MP4 in 1024 x 768 with 30fps.

On Android I've tried everything! Most resulted in "sorry this video cannot 
be played" but having them MP4 in 640 x 480 and 24fps seems to be the 
closest i.e. they can at least hear sounds.

Any ideas what's going wrong? I have an ASUS tablet and Sony Xperia. The 
only version that didn't play on them was when the frames per second was 30 
or more. Everything else played fine. My Xperia is Android 2.3.4 which is 
the version on most Samsungs being reported.

Any help would be appreciated. I've got over 100 versions of these videos 
now and none of them work on Samsungs or MyPhones!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread skink


sindhu wrote:
> Existing listener itself not working yarr.. That is problem m facing..
> Becoz of it m not getting the values.
>


ok, tell me what exactly you want to do?

pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Why won't in-app videos play on Samsungs and MyPhones?

2012-09-25 Thread Mark Murphy
You failed to explain where these videos reside and how you are
attempting to view them.

On Tue, Sep 25, 2012 at 4:46 AM, David Carlisle
 wrote:
> I've created an app for android and iOS (Pickles Maths - a numbers game for
> kids). It's very simple and after a level is complete there is a short
> congratulations video. But Samsung owners (galaxy, Y, GT-S5830D etc.) are
> all reporting that they can only hear sounds.
>
> On iOS the videos are MP4 in 1024 x 768 with 30fps.
>
> On Android I've tried everything! Most resulted in "sorry this video cannot
> be played" but having them MP4 in 640 x 480 and 24fps seems to be the
> closest i.e. they can at least hear sounds.
>
> Any ideas what's going wrong? I have an ASUS tablet and Sony Xperia. The
> only version that didn't play on them was when the frames per second was 30
> or more. Everything else played fine. My Xperia is Android 2.3.4 which is
> the version on most Samsungs being reported.
>
> Any help would be appreciated. I've got over 100 versions of these videos
> now and none of them work on Samsungs or MyPhones!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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.1 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] Re: Starting An Android App From An Url

2012-09-25 Thread Jignesh Patel

Hi Conrad,

You can launch Adobe Connect mobile through connectpro:// as URL. But you 
shall not try typing this URL to browser itself. As it consider as search 
key word and go to search engine page. 

You can use it as URL set to any anchor (link) on any html page and when 
you click that link it will launch the adobe connect app.

Jignesh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Multiuser Chating application on Android

2012-09-25 Thread amit
yes its XMPP, but xmpp is not issue for me.
i want how to make gui for it give me suggestion for it.

On Tuesday, September 25, 2012 5:51:23 AM UTC-7, Harri Smått wrote:
>
> Ah pardon me.. It was XMPP, missed a few posts in between.
>
> --
> H
> On Sep 25, 2012 3:47 PM, "Harri Smått" > 
> wrote:
>
>> Hi,
>>
>> To begin with, I didn't find this information in your post, what protocol 
>> are you using?
>>
>> --
>> H
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] eclipse installation cant find "android projects" in the new-> projects section

2012-09-25 Thread Wajahat Bashir
I give you Project application on Android..connect me on this email link
wajahat.bashir...@gmail.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] Multiuser Chating application on Android

2012-09-25 Thread Harri Smått
Hi,

I started with a Facebook chat client once. What I had was a LinearLayout into 
which I added "buddy" layouts dynamically every time I got an XMPP presence 
event from the parser. My situation may have been a bit different though as I 
implemented XMPP parser myself and never asked the server for full roster.

But before continuing any further it might be a good idea you put an aSmack 
observer (I'm not familiar with the library) and showed, say, a Toast once you 
receive a message. Or familiarise yourself with on how to retrieve roster 
information from the client. Once you have these in place it shouldn't be a 
problem to create a very simple GUI you can extend later on.

--
H

On Sep 25, 2012, at 4:24 PM, amit  wrote:

> yes its XMPP, but xmpp is not issue for me.
> i want how to make gui for it give me suggestion for it.

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


[android-developers] How to publish paid apps when your country is not in Merchant list?

2012-09-25 Thread rahul
I’ve one question. How do application developers from the countries who are 
not in this merchant list (like India) publish there paid apps in the 
market. I mean there must be some way.
Do they have to open a bank account in other country like US and open a 
merchant account from that.
Is it allowed & legal?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Fetching Developer info of installed apps

2012-09-25 Thread Justin Anderson
AFAIK there isn't a way...

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


On Tue, Sep 25, 2012 at 4:53 AM, rsk  wrote:

> Hello All,
>
> Was interested in knowing if there is a way wherein I can get the
> developer info for an app installed on my device.
> For example, assuming I have Angry Birds installed on my device can I get
> the information that the app "Angry Birds" developer is Rovio Mobile Ltd
>
> If yes, would greatly appreciate if you could let me know how.
>
> regards,
> RSK
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
no am not closing.. 

On Tuesday, September 25, 2012 6:34:44 PM UTC+5:30, Vinay Kumar wrote:
>
> are closing your app after Step 1.
>
>
> On Tue, Sep 25, 2012 at 6:32 PM, vinay kumar 
> > wrote:
>
>> Yes I Used.
>>
>>
>> On Tue, Sep 25, 2012 at 6:27 PM, sindhu 
>> > wrote:
>>
>>> Vinay have you ever used Picker control in honencomb? 
>>>
>>>
>>> On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:
>>>
 Hi sindhu,

 have you check with the above code sent by me. Is that also not working?
  

 On Tue, Sep 25, 2012 at 2:54 PM, skink  wrote:

>
>
> sindhu wrote:
> > In time picker control ther is one button choose AM or PM values how 
> to get
> > that value? when user clicks on it?
> >
>
> what on earth do you need it for? why the existing listener is not
> sufficient?
>
> pskink
>
> --
> 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-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] Multiple SubActivity : facing StackOverflowError, please help

2012-09-25 Thread Rajan
hi,
i am facing a problem of *StackOverflowError*, when i use tabhost with 
multiple subactivity over a single tab,
i tried lots of googling but every one say that : try to occupy less 
layout, 
but i have use only 2 to 3 layout maximum in each activity.(that are 
necessary for me)

please guys help me what can i do ???

i am working on this problem last 1 to 2 days but i didn't find any proper 
solution please help me.

*Logcat entry* : for more detail.

09-25 19:37:31.395: E/AndroidRuntime(1249): FATAL EXCEPTION: main
09-25 19:37:31.395: E/AndroidRuntime(1249): java.lang.StackOverflowError
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.text.TextLine.measureRun(TextLine.java:416)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.text.TextLine.measure(TextLine.java:295)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.text.TextLine.metrics(TextLine.java:269)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.text.Layout.getLineExtent(Layout.java:942)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.text.Layout.draw(Layout.java:405)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.text.BoringLayout.draw(BoringLayout.java:400)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.widget.TextView.onDraw(TextView.java:5038)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.View.draw(View.java:10978)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2887)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.View.draw(View.java:10981)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2887)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.View.draw(View.java:10981)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2887)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
09-25 19:37:31.395: E/AndroidRuntime(1249): at 
android.view.ViewGroup.drawChild(ViewGroup.java:2885)
09-25 19:37:31.395: E/AndroidRuntime(1

[android-developers] Re: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
please look at the above post . I had replied to vinay.. 

On Tuesday, September 25, 2012 6:48:31 PM UTC+5:30, skink wrote:
>
>
>
> sindhu wrote: 
> > Existing listener itself not working yarr.. That is problem m facing.. 
> > Becoz of it m not getting the values. 
> > 
>
>
> ok, tell me what exactly you want to do? 
>
> pskink 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
Please check out the above senario if you can.. according to android docs 
am/pm is a button to get the value we need to use the listener . Your code 
is working independently not considering the am pm values after changes to 
it that means its not at all taking particular button value... check out.

On Tuesday, September 25, 2012 6:34:44 PM UTC+5:30, Vinay Kumar wrote:
>
> are closing your app after Step 1.
>
>
> On Tue, Sep 25, 2012 at 6:32 PM, vinay kumar 
> > wrote:
>
>> Yes I Used.
>>
>>
>> On Tue, Sep 25, 2012 at 6:27 PM, sindhu 
>> > wrote:
>>
>>> Vinay have you ever used Picker control in honencomb? 
>>>
>>>
>>> On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:
>>>
 Hi sindhu,

 have you check with the above code sent by me. Is that also not working?
  

 On Tue, Sep 25, 2012 at 2:54 PM, skink  wrote:

>
>
> sindhu wrote:
> > In time picker control ther is one button choose AM or PM values how 
> to get
> > that value? when user clicks on it?
> >
>
> what on earth do you need it for? why the existing listener is not
> sufficient?
>
> pskink
>
> --
> 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-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] Android First Impressions

2012-09-25 Thread Kristopher Micinski
On Mon, Sep 24, 2012 at 2:24 PM, mte111  wrote:
> Just though I'd solicit some feedback on other's thoughts.  After using
> Visual Studio C#, C++/CLI for some time now, it sort of seems to me as I'm
> learning how to do Android programming that the Android GUI API is sort of
> primitive and weak.  There are not a lot of features and options to do a
> GUI.  Actually it has been some time since I've used Java Swing also but the
> Android GUI api seems lacking compared to that too.  Of coures I can write
> what ever I want from a lower level and reinvent lots of things but it takes
> time to do that.
>

How can you rewrite things from a lower level?  Android doesn't have
any C/C++ GUI primitives..

kris

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


Re: [android-developers] Re: How to make my intent to run background

2012-09-25 Thread Kristopher Micinski
yes, *that* is what you want.

krs

On Tue, Sep 25, 2012 at 5:16 AM, karanam moneesh  wrote:
> I used alarm manager  and pending intent but it is not working fine
> thanks for your replies
>
>
> On Tue, Sep 25, 2012 at 1:12 PM, sindhu  wrote:
>>
>> you could use services how you want , if you want to run all the time or
>> else some point in time ect...
>>
>>
>> On Tuesday, September 25, 2012 9:33:05 AM UTC+5:30, Kristopher Micinski
>> wrote:
>>>
>>> This is bad advice: an everlasting service is an antipattern.
>>>
>>> kris
>>>
>>> On Mon, Sep 24, 2012 at 11:56 PM, sindhu  wrote:
>>> > Use android background services to keep on checking the current date
>>> > ,when
>>> > date is changed then raise an event as brodcastIntent(Broadcast
>>> > receiver).
>>> >
>>> >
>>> > On Monday, September 3, 2012 3:02:01 PM UTC+5:30, sandeep wrote:
>>> >>
>>> >>  I want to make my app run continuously and take the date and time
>>> >> from
>>> >> the phone. according to the date the activity should be changed every
>>> >> time.
>>> >> Sorry for my bad english i think you have understand my question.
>>> >
>>> > --
>>> > 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
>
>
>
>
> --
> With Regards
> moneesh
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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] run configurations.

2012-09-25 Thread Salih Gündüz
I can not run my application in my galaxy s3 phone. Eclipse run 
configuration did not recognize my phone. I can see my phone on computer I 
can send files to phone normaly.I can not see  settings/unknown source such 
settings and usb settings. Can anyone 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] resources in a JAR

2012-09-25 Thread bob
 

Didn't really work this time.


All I got is a guy who says this:


*I'm not sure about that but I think it is still a problem. How to bundle 
Android resources in .jar?*

On Monday, September 24, 2012 4:41:10 PM UTC-5, TreKing wrote:
>
> On Mon, Sep 24, 2012 at 4:34 PM, bob 
> > wrote:
>
>> Anyone know how to make this work?
>
>
> Remember that Google thing I showed you?
>
> Punch this into it: "android resources in jar"
>
>
> -
> TreKing  - Chicago 
> transit tracking app for Android-powered devices
>
>

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

[android-developers] Re: Timepicker AM/PM value issue

2012-09-25 Thread skink


sindhu wrote:
> please look at the above post . I had replied to vinay..

well, i don't understand your requirements, am/pm button is private to
TimePicker and you don't have any access to that internal
implementation

pskink

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

2012-09-25 Thread Jovish P
r u getting any message on the console when u try to run the application ?
did u set any minimum sdk version for your application ?

regards,
jovish


On Tue, Sep 25, 2012 at 7:52 PM, Salih Gündüz wrote:

> I can not run my application in my galaxy s3 phone. Eclipse run
> configuration did not recognize my phone. I can see my phone on computer I
> can send files to phone normaly.I can not see  settings/unknown source such
> settings and usb settings. Can anyone 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] resources in a JAR

2012-09-25 Thread TreKing
On Tue, Sep 25, 2012 at 9:24 AM, bob  wrote:

> Didn't really work this time.
>
> All I got is a guy who says this:
>
Google returns more than one result. Try harder.

Here's a hint: http://developer.android.com/tools/projects/index.html

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

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

[android-developers] Re: Timepicker AM/PM value issue

2012-09-25 Thread sindhu
want to download a file from net  so wat m doing is- asking user to set the 
start time and end time for downloadin. For this requirement i need time 
picker control. I got the hour and minute value on user input but m not 
getting weder it is am or pm value. am getting 24hr format and i want to 
display weder am/pm  by using that button value only not using any 
conversion and all.. How could i get?

On Tuesday, September 25, 2012 8:05:42 PM UTC+5:30, skink wrote:
>
>
>
> sindhu wrote: 
> > please look at the above post . I had replied to vinay.. 
>
> well, i don't understand your requirements, am/pm button is private to 
> TimePicker and you don't have any access to that internal 
> implementation 
>
> pskink 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Sending an email with image from image view

2012-09-25 Thread Jovish P
you can refer the following link


http://stackoverflow.com/questions/2264622/android-multiple-email-attachments-using-intent

regards ,
jovish

On Tue, Sep 25, 2012 at 5:45 PM, Sultan Ibrahim <
sultan.ibra...@xintsolutions.com> wrote:

> Hi ,
>
> i want to send an email with image from image view,the image is retrieved
> from image gallery ,mean's it is already stored.and then it is displayed
> over in image view,now i want to pick this image from the image view or
> just pick its uri,and then i want to send it to other  activity which is
> responsible for email sending.  any help,thanks.well be so nice.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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] send email

2012-09-25 Thread Jovish P
 You can refer K-9 , K-9 is an opensource email client based on the Email
application shipped with the initial release of Android.

link : http://code.google.com/p/k9mail/

regards
jovish



On Tue, Sep 25, 2012 at 3:35 PM, Asheesh Arya wrote:

> ibrahim just go through this link
> http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_%28no_Intents%29_in_Androidyou
>  got some idea.
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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] I want to use Torch mode of camera in my app, has anyone tried out ?

2012-09-25 Thread kapil Ramchandani


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Samsung Galaxy S3 Music Player

2012-09-25 Thread Alex
For information, here the StackTrace (GS3 4.0.4):

W/System.err(15399): android.content.ActivityNotFoundException: No Activity 
found to handle Intent { act=android.intent.action.MAIN 
cat=[android.intent.category.LAUNCHER] sel={act=android.intent.action.MAIN 
cat=[android.intent.category.APP_MUSIC]} }

Le mardi 25 septembre 2012 11:16:53 UTC+2, Alex a écrit :
>
> How can I open music player on Samsung Galaxy S3 (4.0.4 API15) ?
> I tried this code which works fine on any other devices but not in GS3 :
>
> try {
> try {
> // 8 <= API < 15
> String action = (String) 
> MediaStore.class.getDeclaredField("INTENT_ACTION_MUSIC_PLAYER").get(null);
> Intent intent = new Intent(action);
> startActivity(intent);
> } catch(Exception e) {
> // 15 <= API
> String category = (String) 
> Intent.class.getDeclaredField("CATEGORY_APP_MUSIC").get(null);
> Method method = Intent.class.getMethod("makeMainSelectorActivity", 
> String.class, String.class);
> Intent intent = (Intent) method.invoke(null, Intent.ACTION_MAIN, 
> category);
> startActivity(intent);
> }
> catch(Exception e) {
> // music player not found
> }
>
> http://stackoverflow.com/questions/12532207/open-music-player-on-galaxy-s3
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Samsung Galaxy S3 Music Player

2012-09-25 Thread Alex
For information, here the StackTrace (GS3 4.0.4):

W/System.err(15399): android.content.ActivityNotFoundException: No Activity 
found to handle Intent { act=android.intent.action.MAIN 
cat=[android.intent.category.LAUNCHER] sel={act=android.intent.action.MAIN 
cat=[android.intent.category.APP_MUSIC]} }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread skink


sindhu wrote:
> want to download a file from net  so wat m doing is- asking user to set the
> start time and end time for downloadin. For this requirement i need time
> picker control. I got the hour and minute value on user input but m not
> getting weder it is am or pm value. am getting 24hr format and i want to
> display weder am/pm  by using that button value only not using any
> conversion and all.. How could i get?
>


then read simpledateformat docs find "Hour in am/pm"

pskink

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

2012-09-25 Thread bob
 

Let's say you have a tablet lying flat on a table.  Then you spin it around.


What type of sensor could detect that it is spinning?


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] resources in a JAR

2012-09-25 Thread bob
 

*It says:*

**

*You cannot export a library project to a JAR file*

A library cannot be distributed as a binary file (such as a JAR file). This 
will be added in a future version of the SDK Tools.

So, I guess if we want to create a decent JAR library, we just can't do it?



On Tuesday, September 25, 2012 10:03:06 AM UTC-5, TreKing wrote:
>
> On Tue, Sep 25, 2012 at 9:24 AM, bob 
> > wrote:
>
>> Didn't really work this time.
>>
>> All I got is a guy who says this:
>>
> Google returns more than one result. Try harder.
>
> Here's a hint: http://developer.android.com/tools/projects/index.html
>
>
> -
> TreKing  - Chicago 
> transit tracking app for Android-powered devices
>
>

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

[android-developers] Detect eth0 Plugged In

2012-09-25 Thread Dan McLeran
What's the best way to detect the eth0 cable plugged in? I don't really 
want to monitor via some kind of bash script or something. Is there an 
event listener or something which I can use?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
Hi sindhu,

My code convert the 24 hours to 12 hours format could you get a chance to
check it.

On Tue, Sep 25, 2012 at 8:58 PM, skink  wrote:

>
>
> sindhu wrote:
> > want to download a file from net  so wat m doing is- asking user to set
> the
> > start time and end time for downloadin. For this requirement i need time
> > picker control. I got the hour and minute value on user input but m not
> > getting weder it is am or pm value. am getting 24hr format and i want to
> > display weder am/pm  by using that button value only not using any
> > conversion and all.. How could i get?
> >
>
>
> then read simpledateformat docs find "Hour in am/pm"
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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] Displaying nearby places with the Google API

2012-09-25 Thread TreKing
On Tue, Sep 25, 2012 at 12:58 AM, Jason Hsu  wrote:

> The tutorials I've seen show bits and pieces, but I have yet to find one
> that shows EVERYTHING I need to show such a map.
>

No tutorial or sample is going to show you EVERYTHING you, specifically,
need to achieve your goals. Your job is take the bits and pieces,
understand them, and put them together to achieve the functionality you're
looking for.

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

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

[android-developers] Strange getSystemService NPE

2012-09-25 Thread Tolriq
I have some reports of crash of my app that I don't understand, for the 
moment the crash seems limited to Galaxy Nexus with 4.1.1.

java.lang.NullPointerException
> at android.media.AudioManager.(AudioManager.java:413)
> at android.app.ContextImpl$6.createService(ContextImpl.java:289)
> at android.app.ContextImpl$ServiceFetcher.getService(ContextImpl.java:207)
> at android.app.ContextImpl.getSystemService(ContextImpl.java:1250)
> at android.content.ContextWrapper.getSystemService(ContextWrapper.java:416)
> at 
> org.leetzone.android.yatsewidget.YatseApplication.onCreate(SourceFile:281)
> at 
> android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:999)
> at android.app.LoadedApk.makeApplication(LoadedApk.java:511)
> at android.app.ActivityThread.handleReceiver(ActivityThread.java:2216)
> at android.app.ActivityThread.access$1500(ActivityThread.java:130)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1271)
> at android.os.Handler.dispatchMessage(Handler.java:99)
> at android.os.Looper.loop(Looper.java:137)
> at android.app.ActivityThread.main(ActivityThread.java:4745)
> 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:786)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
> at dalvik.system.NativeStart.main(Native Method)


The line 281 of my code is a simple :

mAudioManager = (AudioManager) getSystemService(AUDIO_SERVICE);


This should return null if for some reason the service is not available but 
from what I understand it's not possible for this function to throw an NPE.

Is this a Nexus bug or is there something I missed and should take care of 
when using getSystemService ?

Regards,
Tolriq.




-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread UgglyNoodle
I think that the issue here is that there is a bug in the TimePicker for 
some versions of Android:



While onTimeSet works correctly, I believe, onTimeChanged does not get 
triggered by an AM/PM change.

If onTimeSet is not sufficient for your application, then you may have to 
create your own custom TimePicker. One way would be to use SimonVT's 
library (and fix the bug in there):


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Timepicker AM/PM value issue

2012-09-25 Thread UgglyNoodle
Oops sorry, the onTimeSet listener is only for the TimePickerDialog. If you 
are using just the TimePicker, you may have to follow my second suggestion 
above.

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