[android-developers] Leanback mosaic view

2016-11-28 Thread Prashant Kumawat
Hi,

I want to create a mosaic view for android tv using leanback library. In 
this view, some items can take span for 2 items and 2 rows and some just 1. 
I dont see how I can specify the span size for an item. Can someone help me 
with starting pointer? What things I can do to tackle this problem?



-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/75f787aa-6c5c-4e58-a7fb-3de4cd53a825%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Wallet app

2015-12-09 Thread prashant kumar


Hello Friends,
   
   I am developing wallet app in android but i am not 
getting how to implement and money in wallet?
   If you have any idea than please share with me.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3dcea162-6539-462b-9ae9-bf657d3be21d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Knet Payment Integration

2013-09-22 Thread Prashant

http://kpay.in/   


https://www.facebook.com/photo.php?
fbid=496377843785374&set=a.496377840452041.1073741828.495927323830426&type=1&r
elevant_count=1 


We have successfully developed extension/modules for Knet(K-Pay) payment 
gatway in magento, opencart , joomla, cakephp, yii and can also develop this 
module for other CMS and frameworks.
.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] App behaving differently on various device with gingerbread

2013-04-22 Thread prashant dawar
[b]problem[/b][u][/u] is app is running file in avd gingerbread

but when i run it in motorola xt311 gingerbread it runs and accept message 
but when passing url intent to start web browser to android system browser 
just starts google.com

and app runs but do not even accept messages in samsung galaxy y running 
same gingerbread

my effort :
1. on samsung this may be the priority issue but i choose the highest 
priority for my app?
2. app crashes without flag on intent?
3. app doesnot work with httpget or httppost,why?
4. app works fully on avd , partially on motorola and only start activity 
RecieveSmsActivity on samsung galaxy and works no more ,not even recieve 
sms?

*ReceiveSMSActivity.java*


package com.example.smsx;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.telephony.gsm.SmsMessage;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

public class ReceiveSMSActivity extends Activity{
 static TextView messageBox;
Button btnSendSMS;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
messageBox=(TextView)findViewById(R.id.messageBox);
}
  

public static void updateMessageBox(String msg)
{
messageBox.append(msg);
  }
 }


*TextMessageReceiver.java*


package com.example.smsx;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.widget.Toast;

public class TextMessageReceiver extends BroadcastReceiver{
 public void onReceive(Context context, Intent intent)
{//abortBroadcast();
Bundle bundle = intent.getExtras();
Object[] messages=(Object[])bundle.get("pdus");
SmsMessage[] sms=new SmsMessage[messages.length];
 for(int n=0;n nameValuePair = new ArrayList(2);
nameValuePair.add(new BasicNameValuePair("phoneNo", 
msg.getOriginatingAddress()));
nameValuePair.add(new 
BasicNameValuePair("message",msg.getMessageBody()));
 
// Url Encoding the POST parameters
String url = 
"http://10.14.1.154/smsToDb.php?phoneNo="+msg.getOriginatingAddress()
 +"&message="+msg.getMessageBody();
 Toast.makeText(context, url, Toast.LENGTH_SHORT).show();
 HttpGet myGet = new HttpGet(url);// app crashes with this line and request 
is also not made. try catch does not work 
 Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(i);

}
}
}




*sms manifest .xml*


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













 
   

   








*main.xml*



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




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




[android-developers] BouncyCastle Jar causing Java Heap Space Problem

2012-10-16 Thread Prashant Gami
I ran into a problem while trying to create X509Certificate using 
bouncycastle Provider.
I added bouncycastle provider jar which caused GC overlimit and Java Heap 
Space Problem.

Here is my code which is just from BouncyCastle example.

public static X509Certificate createMasterCert(
PublicKey pubKey,
PrivateKey privKey)
throws Exception
{
//
// signers name
//
String issuer = "C=AU, O=The Legion of the Bouncy Castle, OU=Bouncy 
Primary Certificate";

//
// subjects name - the same as we are self signed.
//
String subject = "C=AU, O=The Legion of the Bouncy Castle, 
OU=Bouncy Primary Certificate";

//
// create the certificate - version 1
//
X509v1CertificateBuilder v1CertBuilder = new 
JcaX509v1CertificateBuilder(
new X500Name(issuer),
BigInteger.valueOf(1),
new Date(System.currentTimeMillis() - 1000L * 60 * 60 * 24 * 
30),
new Date(System.currentTimeMillis() + (1000L * 60 * 60 * 24 * 
30)),
new X500Name(subject),
pubKey);

X509CertificateHolder cert = v1CertBuilder.build(new 
JcaContentSignerBuilder("SHA1withRSA").setProvider(BC).build(privKey));

return new 
JcaX509CertificateConverter().setProvider(BC).getCertificate(cert);
}

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

2012-09-07 Thread prashant
I looked into several blogs related to this topic. But have not got a 
suitable solution.
I use ACRA. When the application crashes I have an over ridden 
uncaughtException handler in which a custom message is displayed and kill 
the process and do an exit

android.os.Process.killProcess(android.os.Process.myPid());
System.exit(10);

By default android restores the activity stack after this. But I want to go 
back to the root activity and start the app from there. The current 
solution used in the app is in each of the activity stack is cleared if I 
find that process is restarted. But this is not feasible as there are more 
than 30 activities in the app and maintainability is an issue.

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

2012-04-10 Thread Prashant
Hi Paul,
i am able to get my desktop screenshot on android device, but dont know how 
to forward click event and coordinates back on pc... i am using java for pc 
module.. and on mobile app on the webview which will work the click event 
or the touch event... plzz help..
Thanx 

On Friday, March 16, 2012 12:11:02 AM UTC+5:30, paul wrote:
>
> Sure, but for me you seems not be very experienced with application 
> development. But screen sharing and remote control is a very complex topic. 
> So maybe you should start with something easier.
> Never the less, I can help you.
> At the beginning you said, that you are sending the desktop image to your 
> phone. How exactly do you do that? Sending Messages from your phone to the 
> PC should be the other way around ;)
>
> Am Donnerstag, 15. März 2012 19:00:03 UTC+1 schrieb muhamma...@hotmail.com
> :
>>
>>  Hi paul,
>>Thanks for your great response, please can you tell me how can 
>> i send the mouse postion from android side also my click event.
>>
>>
>> Regards,
>>
>> umer
>>   
>> --
>> Date: Wed, 14 Mar 2012 11:19:04 -0700
>> From: paulelsne...@googlemail.com
>> To: android-developers@googlegroups.com
>> Subject: Re: [android-developers] Re: Desktop Sharing of my pc on my 
>> Android mobile??
>>
>> No, that's the code you need to capture the coursor position for Windows.
>>
>> If you want to control your PC with your phone, you have to send new 
>> coursor positions to your PC an click events. You can set the coursor 
>> position with the SetCursorPos function. For more information you should 
>> visit the MSDN and search for your functions:  
>> http://msdn.microsoft.com/en-us/library/windows/desktop/ms648394(v=vs.85).aspx
>>  
>>
>> Btw. for my code examples I assume you using C++ for your PC application.
>>
>> Regards,
>> Paul
>>
>> Am Mittwoch, 14. März 2012 15:46:07 UTC+1 schrieb muhamma...@hotmail.com:
>>
>>  hi paul,
>>Thanks for your reply, how can i get the control of my  pc 
>> mouse on my mobile As along i am  sending the captured screen pics to my 
>> mobile and OS is window.
>> and please tell me this code is to get the control on my pc?
>>
>> POINT cursorPos;
>> GetCursorPos(&cursorPos);
>> float x = 0;
>> x = cursorPos.x; 
>> float y = 0;
>> y = cursorPos.y; 
>>
>> how can i control it on mobile?
>>
>> Regards,
>>
>> umer
>>
>> --
>> Date: Wed, 14 Mar 2012 00:16:23 -0700
>> From: paulelsne...@googlemail.com
>> To: android-developers@googlegroups.com
>> Subject: Re: [android-developers] Re: Desktop Sharing of my pc on my 
>> Android mobile??
>>
>> Hi,
>> this depends on the OS of your PC.
>> For windows you had recognised that your mouse cursor is not part of the 
>> captured screen. You have to capture the mouse yourself.
>> POINT cursorPos;
>> GetCursorPos(&cursorPos);
>> float x = 0;
>> x = cursorPos.x; 
>> float y = 0;
>> y = cursorPos.y; 
>>
>> and transmit the data.
>>
>> On Tuesday, March 13, 2012 7:51:50 AM UTC+1, muhamma...@hotmail.comwrote:
>>
>>  existing remote control application? Is there any application of this 
>> type. but i want to create my on app. please can you help me how to get the 
>> control of my mouse. Thanks for your reply
>>
>>
>> Regards,
>>
>> umer
>> --
>> Date: Mon, 12 Mar 2012 13:18:48 -0700
>> From: l...@bendlin.us
>> To: android-developers@googlegroups.com
>> Subject: [android-developers] Re: Desktop Sharing of my pc on my Android 
>> mobile??
>>
>> uhm... you use one of the existing remote control applications?
>>
>> On Monday, March 12, 2012 11:21:05 AM UTC-4, muhamma...@hotmail.comwrote:
>>
>> Hi, 
>>I am creating an app to share my pc desktop on my android 
>> mobile. Now i am receiving the images from my pc on my mobile, but not 
>> the control of my mouse, Please can anyone tell me how to get the 
>> control of my mouse to handle my pc through my mobile. 
>>
>>
>> Thanks and Regards, 
>>
>> umer
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, 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 pos

[android-developers] How is 'End Call using power button' implemented?

2012-02-05 Thread Prashant Pathak
Hi all.

As we all know that there is an accessibility option to end call using
power button. What got me thinking was whether its possible to pick up
a call using a physical button.

This what I know so far.
- The API doesn't allow apps to change call state.
- Remapping the keys is not a solution.

So, it requires changes to the ROM itself.

Thus, I was wondering is how is the accessibility setting for end call
using power button implemented in the source code? Perhaps I can use
that as a starting point in trying to pick up a call.

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

2011-10-12 Thread prashant shrivastav
what is the exact size limit for publishing apps in the Android
Market??
It is still 50 MB or Google has raised this limit to 4 GB ???

Please let me know if anybody know this exactly...
Your help will be appreciable...


Thanks & Regards,
Prashant

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

2011-10-12 Thread prashant shrivastav
Hi shweta,

First go through the developer.android.com -- DevGuide Section,
side by side u can follow below books which are freely available on net.

1.Android programming--  written By Nicolas 
Gamlich
2.The Busy Coder's Guide to Android Development-- By Mark L.Murphy.
3.Hello Android-- By-  Anthony Stevens

If you cant find the link then let me know. 
Take care...:-)

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

2011-10-12 Thread prashant shrivastav
what is the exact size limit for publishing apps in the Android
Market??
It is still 50 MB or Google has raised this limit to 4 GB ???

Please let me know if anybody know this exactly...
Your help will be appreciable...


Thanks & Regards,
Prashant

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

2011-07-27 Thread Prashant Mahajan
Hello Everyone,

I have made  an AlertDialog display in my app. I want to show a progress bar
on that AlertDialog.
I am unable to put Progress Bar on that.
If anybody have solution for this,please help.
Thanks in advance.

Regards,
Prashant M.

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

2011-03-23 Thread prashant singh
Hey Guys

I am wondering if anyone has used this payment system for InApp Payment .
Please let me know your experience .

http://openpayments.mobi/


Thanks

-- 
Prashant Singh
Product Manager, Spice Labs.
Blog : http://blog.spicelabs.in
"If someone's using a PC to demo the Next Big Thing... then it's not the
next big thing."~Russell Beattie

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

2011-03-20 Thread Prashant
Thanks for your revert . I know that page I have seen those two app
mentioned there . i was looking for more of the example . I am
surprised why this functionality has not been picked up by developer
community . it hold so much possibility . is there any performance
issue or its just not ready for prime time yet ?

On Mar 21, 11:37 am, Doug  wrote:
> http://code.google.com/android/c2dm/On Saturday, March 19, 2011 1:50:17 AM 
> UTC-7, Prashant wrote:
>
> > Hey Guys
>
> > I was wondering if there is someone on this list involved in developing an
> > app /service using   cloud to device  push notification api on Android  or
> > you know of some good use case /instances of an Android application using
> > the same ?   if you know of any write up where i can get a sense of scope
> > and pitfall of this service from a design  perspective ( i have studied the
> > tech spec ) Please share that too .
>
> > Thanks in anticipation
>
> > Regards
> > --
> > Prashant Singh
> > Product Manager, Spice Labs.
> > Blog :http://blog.spicelabs.in
> > "If someone's using a PC to demo the Next Big Thing... then it's not the
> > next big thing."~Russell Beattie

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

2011-03-19 Thread prashant singh
Hey Guys

I was wondering if there is someone on this list involved in developing an
app /service using   cloud to device  push notification api on Android  or
you know of some good use case /instances of an Android application using
the same ?   if you know of any write up where i can get a sense of scope
and pitfall of this service from a design  perspective ( i have studied the
tech spec ) Please share that too .

Thanks in anticipation

Regards
-- 
Prashant Singh
Product Manager, Spice Labs.
Blog : http://blog.spicelabs.in
"If someone's using a PC to demo the Next Big Thing... then it's not the
next big thing."~Russell Beattie

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

[android-developers] How to add images with textview in Listview

2010-10-25 Thread Prashant Adesara
Hello Friends,
I giving your small example for
how to add icon with listview in android.

Below link will help you to how to add icon with listview.
So, Please download and check by yourself.

http://www.4shared.com/file/-MuD6_V4/How_to_show_List_view_with_Ico.html

and if you have any doubts for that then freely give me comment.



Thanks,
Prashant Adesara

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

2010-04-16 Thread Prashant Shelar
Hello,

1. We know that we can use a concept "Java Package" but I just wanted
to
know that whether Android has provided a DLL concept where I can write
my
most of the functionality for reuse purpose.

2. Also there is doubt in mind: Can we use "Activity" for the purposes
that DLL provides?

Is there any concept like DLL on Android? Can we develop a DLL for
better modularization and other benefits on Android?

Thanks and Regards,
Prashant.

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

2010-03-08 Thread Prashant Adesara
Is it possible to start an activity from the built-in Messaging 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] no printk logs /var/log/syslog

2009-12-10 Thread Prashant

Hi,

I am working with a driver module.
Where are the the "printk" logs present There is no /var/log/syslog.
How can i enable these logs ?


Thanks.

Prashant

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

2009-12-06 Thread Prashant
Hi ,

It will be helpful if any one can help me out in understanding the
concept of radio,flash,system image in android mobile device. Also why
are they required? and what is their role in Device?

Thanks in Advance,
Prashant

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

2009-11-25 Thread prashant hegde
Hi All

I have a layout that includes the following:



Up until 1.6 the ellipsize attribute on my view above functions as I
would expect. Since upgrading to 1.6 the ellipsize attribute,
regardless of what I set it to (start, middle, end) seems to be
ignored.

Any hints and/or recommendations?

Thanks in Advance
Prashanth

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Donut (1.6), auto complete text view and ellipsize

2009-11-17 Thread prashant hegde
Hi All

Even I face the same issue. Anyone found a solution for this?

---

On Thu, Sep 24, 2009 at 6:31 AM, Chris W.  wrote:

>
> I have a layout that includes the following:
>
>  android:id="@+id/search_code"
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"
> android:selectAllOnFocus="true"
> android:completionThreshold="2"
> android:maxLength="60"
> android:singleLine="true"
> android:ellipsize="end"
> android:imeOptions="actionDone"/>
>
> Up until 1.6 the ellipsize attribute on my view above functions as I
> would expect. Since upgrading to 1.6 the ellipsize attribute,
> regardless of what I set it to (start, middle, end) seems to be
> ignored.
>
> Any hints and/or recommendations?
>
> --~--~-~--~~~---~--~~
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> -~--~~~~--~~--~--~---
>
>

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

[android-developers] Re: How to show the search bar

2009-08-31 Thread prashant

Hi Sharkey

Can I add the search bar in the view instead of lauching it as popup
window(Modal)? Could you please point me to some link that show how to
implement this?

Prashanth

On Jul 27, 2:28 pm, Jeff Sharkey  wrote:
> Are you defining res/xml/searchable.xml, and then referencing it in
> your manifest through a  tag?  Here's a working example in
> the Music app:
>
> http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=b...http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=b...
>
> j
>
> On Tue, Jul 21, 2009 at 1:47 AM,
>
>
>
> guishenl...@gmail.com wrote:
>
> > Hi all,
> >    I want to add the search function in my application just as the
> > example given in ApiDemos. But I can't find out how the example add
> > the search bar in the top of the view. Could anyone tell me how to add
> > a search bar to my application by some code?
> >    Thank you in advance!
>
> > reference code
> > SearchInvoke.java:
> > /*
> >  * Copyright (C) 2008 The Android Open Source Project
> >  *
> >  * Licensed under the Apache License, Version 2.0 (the "License");
> >  * you may not use this file except in compliance with the License.
> >  * You may obtain a copy of the License at
> >  *
> >  *      http://www.apache.org/licenses/LICENSE-2.0
> >  *
> >  * Unless required by applicable law or agreed to in writing, software
> >  * distributed under the License is distributed on an "AS IS" BASIS,
> >  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> > implied.
> >  * See the License for the specific language governing permissions and
> >  * limitations under the License.
> >  */
>
> > package com.example.android.apis.app;
>
> > import com.example.android.apis.R;
>
> > import android.app.Activity;
> > import android.app.AlertDialog;
> > import android.app.SearchManager;
> > import android.os.Bundle;
> > import android.view.Menu;
> > import android.view.MenuItem;
> > import android.view.View;
> > import android.view.View.OnClickListener;
> > import android.widget.AdapterView;
> > import android.widget.ArrayAdapter;
> > import android.widget.Button;
> > import android.widget.EditText;
> > import android.widget.Spinner;
> > import android.widget.AdapterView.OnItemSelectedListener;
>
> > public class SearchInvoke extends Activity
> > {
> >        // UI elements
> >    Button mStartSearch;
> >    Spinner mMenuMode;
> >    EditText mQueryPrefill;
> >    EditText mQueryAppData;
>
> >        // Menu mode spinner choices
> >        // This list must match the list found in samples/ApiDemos/res/
> > values/arrays.xml
> >    final static int MENUMODE_SEARCH_KEY = 0;
> >    final static int MENUMODE_MENU_ITEM = 1;
> >    final static int MENUMODE_TYPE_TO_SEARCH = 2;
> >    final static int MENUMODE_DISABLED = 3;
>
> >    /**
> >     * Called with the activity is first created.
> >     *
> >     *  We aren't doing anything special in this implementation, other
> > than
> >     *  the usual activity setup code.
> >     */
> >   �...@override
> >    public void onCreate(Bundle savedInstanceState) {
> >        super.onCreate(savedInstanceState);
>
> >        // Inflate our UI from its XML layout description.
> >        setContentView(R.layout.search_invoke);
>
> >        // Get display items for later interaction
> >        mStartSearch = (Button) findViewById(R.id.btn_start_search);
> >        mMenuMode = (Spinner) findViewById(R.id.spinner_menu_mode);
> >        mQueryPrefill = (EditText) findViewById
> > (R.id.txt_query_prefill);
> >        mQueryAppData = (EditText) findViewById
> > (R.id.txt_query_appdata);
>
> >        // Populate items
> >        ArrayAdapter adapter =
> > ArrayAdapter.createFromResource(
> >                            this, R.array.search_menuModes,
> > android.R.layout.simple_spinner_item);
> >        adapter.setDropDownViewResource
> > (android.R.layout.simple_spinner_dropdown_item);
> >        mMenuMode.setAdapter(adapter);
>
> >        // Create listener for the menu mode dropdown.  We use this to
> > demonstrate control
> >        // of the default keys handler in every Activity.  More
> > typically, you will simply set
> >        // the default key mode in your activity's onCreate() handler.
> >        mMenuMode.setOnItemSelectedListener(
> >            new OnItemSelectedListener() {
> >                public void onItemSelected(
> >                        AdapterView parent, View view, int
> > position, long id) {
> >                    if (position == MENUMODE_TYPE_TO_SEARCH) {
> >                        setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL);
> >                    } else {
> >                        setDefaultKeyMode(DEFAULT_KEYS_DISABLE);
> >                    }
> >                }
>
> >                public void onNothingSelected(AdapterView parent) {
> >                    setDefaultKeyMode(DEFAULT_KEYS_DISABLE);
> >                }
> >            });
>
> >        // Attach actions to buttons
> >        mStartSearch.setOnClickListener(
> >      

[android-developers] Re: DRM Issue

2009-05-25 Thread Prashant M

Hi.. This is how my androidManifest.xml looks like


http://schemas.android.com/apk/res/android";
  package="com.android.Test">

  
 


I am able to get the content from the server but while inserting in
the DRMProvider I am facing the issue.Getting the error --> "Requires
DRM Permission"

Please let me know if any of you faced the same issue.

On May 22, 9:16 pm, Marco Nelissen  wrote:
> On Fri, May 22, 2009 at 3:40 AM, Prashant M wrote:
>
>
>
> > Developed one sample APP to insert the FL (forward Lock content) into
> > DRM provider.
> > While insertion throwing security exception.
> > I added android.permission.ACCESS_DRM in the
> > androidmanifest.xmlBut still facing the issue.
> > android.permission.ACCESS_DRM
>
> How did you add it to the manifest, i.e. what does your manifest look like?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] DRM Issue

2009-05-22 Thread Prashant M

Developed one sample APP to insert the FL (forward Lock content) into
DRM provider.
While insertion throwing security exception.
I added android.permission.ACCESS_DRM in the
androidmanifest.xmlBut still facing the issue.
android.permission.ACCESS_DRM

5-22 02:45:09.882: ERROR/DrmStore(174): pushing file failed
05-22 02:45:09.882: ERROR/DrmStore(174): java.lang.SecurityException:
Requires DRM permission
05-22 02:45:09.882: ERROR/DrmStore(174): at
android.os.Parcel.readException(Parcel.java:1234)
05-22 02:45:09.882: ERROR/DrmStore(174): at
android.database.DatabaseUtils.readExceptionFromParcel
(DatabaseUtils.java:144)
05-22 02:45:09.882: ERROR/DrmStore(174): at
android.database.DatabaseUtils.readExceptionFromParcel
(DatabaseUtils.java:110)
05-22 02:45:09.882: ERROR/DrmStore(174): at
android.content.ContentProviderProxy.insert(ContentProviderNative.java:
320)
05-22 02:45:09.882: ERROR/DrmStore(174): at
android.content.ContentResolver.insert(ContentResolver.java:336)
05-22 02:45:09.882: ERROR/DrmStore(174): at
android.provider.DrmStore.addDrmFile(DrmStore.java:141)
05-22 02:45:09.882: ERROR/DrmStore(174): at
com.android.OmaDownloadManager.Notifier.StoreContentInDDRMPRovider
(Notifier.java:464)

Please let me know what is the issue with this.



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



[android-developers] Android Power Management

2009-05-14 Thread Prashant Bhujang
Dear All,

Android has provided Power management framework for saving batterlife. But this 
is limited to screen/key lights. I am exploring ways to enhance this scheme for 
other use cases like camera, media playback by changing CPU frequency. I would 
like to know what support is available for this from Android kernel.


Regards


Prashant Bhujang

Engineering Project Manager
A R I C E N T
Tel: +91 80 41069000
Direct: +91 80 41069572
Mobile   +91 9845231775



"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in 
error,please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

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

2009-04-07 Thread harne prashant
hi group
 i want  eclipse 3.1 , 3.2 (europa )for developing application in Android.
i searched it but i didnt get
if any one has its related links  pls give me
i m waitng for reply
its urgent !!


-- 
p...@$#@NT

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

2009-04-07 Thread harne prashant
i m student of BE CSE.

i have an idea for developing software for android which keeps records of
total month bill with back up of 1year.

so pls help me which eclipse i use for developing this idea in java
platform.

i ll wait for ur reply
-- 
p...@$#@NT

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

2009-02-07 Thread Prashant

Hi

I am sending email from my application. I need to send an attachment
along with email. The attachment files are audio files and are stored
as application assets (assets folder).

To send an attachment along with the email. I need to provide uri for
the asset file. I tried this

Uri.parse("file:///android_asset/" + fileName);

but the file did not get attached to the email.

Can any one tell me how to obtain the uri for the files stored in
application assets folder.

Please help.

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

2009-02-05 Thread Prashant M

We are debugging the Sync application which we have got from the
android sources.
We are able to understand  and trace till SyncManager.
SyncManager is failing to get the account details.
How it is getting the account details  ? Where these details are
stored ?

Please do the needful..



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

2009-02-05 Thread Prashant M

We are debugging the Sync application which we have got from the
android sources.
We are able to understand  and trace till SyncManager.
SyncManager is failing to get the account details.
How it is getting the account details  ? Where these details are
stored ?

Please do the needful..



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

2009-02-05 Thread Prashant M

Trying to do the sync operation for contact and calendar using
emulator ?
Where and how to configure the account details.

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

2009-01-28 Thread Prashant

Hi,

I am trying to send the email from the android application.
My code to send the email is as follows:

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "some text");
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "some subject");
sendIntent.setType("message/rfc822");
startActivity(Intent.createChooser(sendIntent, "Choose"));

But I am getting message as 'No application can handle this request'.

I have tried every thing. Actually I want to send an audio file in the
email. But event the simple text message sending it not working. Does
this functionality work on the emulator? or to run this real device it
needed.

Please help.

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

2008-12-07 Thread Prashant

Hi ,

I have created an application in which i m using gradients as
backgrounds for layouts and buttons and images(13 kb each ) on each
screen ,

On repetitive rendering from one screen to another , my application
gives an exception causing "Force Clase Dailog to appear" , in log cat
it shows something like this:

12-08 10:10:51.688: ERROR/SurfaceFlinger(53): not enough memory for
layer bitmap size=307200
12-08 10:10:51.727: ERROR/SurfaceFlinger(53): createNormalSurfaceLocked
() failed (Out of memory)
12-08 10:10:51.738: WARN/WindowManager(53): OutOfResourcesException
creating surface
12-08 10:10:51.748: WARN/WindowManager(53): No leaked surfaces;
killing applicatons!
12-08 10:10:51.767: WARN/ActivityManager(53): Killing processes for
memory at adjustment 0
12-08 10:10:51.767: WARN/ActivityManager(53): Killing for memory:
ProcessRecord{434bd5b8 198:com.persistent.linkbuddy.ui/10030} (adj 0)
12-08 10:10:51.779: WARN/WindowManager(53): Looks like we have
reclaimed some memory, clearing surface for retry.
12-08 10:10:51.779: WARN/WindowManager(53): Due to memory failure,
waiting a bit for next layout

what is the problem?

Thanks in advance
Prashant

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



[android-developers] facebook mobile does not display (raw code displayed)

2008-11-18 Thread Prashant Yadav

While browsing facebook mobile (m.facebook.com) on htc g1, raw code is
displayed. Ideas invited...

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



[android-developers] Wifi communication

2008-11-16 Thread Prashant Kalkar
Hi,
I am working on an application that need to communicate between two devices.
Initially the application was going to use bluetooth for communication
between devices, but since android does not support bluetooth communication,
we are forced to think of other ways.

We are now thinking of using wifi to communicate between devices. I also
found out that android does not support ad-hoc wifi network too. And only
support to communicate using access points.

I would like to know following things about wifi communication using access
points
1. Is it possible to communicate and exchange data between android
application on devices using access point method.
2. What will be the range of communication.  Will Android devices find
themselves within 50 meters of each other?
3. Is it recommended to use wifi access point communication to communicate
between android devices.
4. Can android device can work as an access point themself, and is it a safe
to assume that more and more device will support to be access point Or will
the application will always have to depend on the external access point.

Regards,
Prashant

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



[android-developers] How to use GridView ?

2008-11-06 Thread Prashant

hi all,


i want to design Grid View in which i can add different type of views
like WebView, ImageView .
is it possible? and if yes how to do that?


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



[android-developers] Creating tile view

2008-11-06 Thread Prashant

hi all,

i m planning to create a view in which i want one tile view , within
which i will need another four tile views, these innner tile view will
contain images or controls,

is it possible?

thanks in advance,
Prashant

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



[android-developers] Bluetooth api

2008-04-27 Thread Prashant Kalkar
Does any one know when will the bluetooth api be available? Will it be
available in the next SDK release?

Regards
Prashant

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---