[android-developers] Power BI Admin and Architect - Salt Lake City, Utah - 12 Months contract

2023-02-09 Thread golkonda pradeep
*Power BI Admin and Architect*

*Salt Lake City, Utah frequently to be with the client team.*

*12 Months contract*





Required:


The total experience can be around 12 years and primarily recent experience
on PowerBI from Architecture, Design for Scale/Performance,


Environment Setup and Administration to Implementation/Deployment to Prod
and Support in Production thereafter.


Around 6 to 8 years minimum experience in PowerBI with certifications would
be ideal.





Best Regards,

Pradeep G| Resource Specialist.

Phone: 469-324-4699 E-Mail: prad...@qcentrio.com 

Linkedin: https://www.linkedin.com/in/pradeep-golkonda-238482113/

G-Talk: pradeepg.iti...@gmail.com

www.qcentrio.com

# 405 State Hwy 121,  Suite A250 Lewisville, Texas, 75067

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANXCQdzdfYwKMoFharqouqPx6Ex0aoVe9m66wHENfhNvQ5O6QA%40mail.gmail.com.


[android-developers] Re: New Position - Oracle Apex Consultant/ Billerica, MA

2016-11-18 Thread golkonda pradeep
i have apex profile plz call me at 5714464823


On Friday, October 28, 2016 at 2:55:56 AM UTC+5:30, Rizwan Dawood wrote:
>
> *Oracle Apex Consultant*
>
> *Billerica, MA*
>
> *6+ Months*
>
>
> * Client: **Hexaware *
>
>  
>
> *Job Details:*
>
>  
>
> · Oracle Apex
>
> · CSS
>
> · Javascript
>

-- 
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/857ecbb0-62c1-47b4-aa2e-33b879a581cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] googlemap lite mode in mapview not working in marshmallow

2016-08-26 Thread Pradeep Kumar Reddy


=> I'm using following MapView in my layout:-





=> I have the following code in onCreateView() of fragment:-

---

MapsInitializer.initialize(this.getActivity());
mapView = (MapView) view.findViewById(R.id.map);
mapView.onCreate(savedInstanceState);
mapView.getMapAsync(this);
mapView.setClickable(false);


=> And i also have the following code in the fragment class :-



@Override
public void onPause() {
super.onPause();
mapView.onPause();
}

@Override
public void onDestroy() {
super.onDestroy();
mapView.onDestroy();
}

@Override
public void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
mapView.onSaveInstanceState(outState);
}

@Override
public void onLowMemory() {
super.onLowMemory();
mapView.onLowMemory();
}

@Override
public void onResume() {
super.onResume();
mapView.onResume();
}

@Override
public void onDestroyView() {
super.onDestroyView();
}

@Override
public void onMapReady(GoogleMap googleMap) {
map = googleMap;
if (ActivityCompat.checkSelfPermission(getContext(), 
android.Manifest.permission.ACCESS_FINE_LOCATION) != 
PackageManager.PERMISSION_GRANTED && 
ActivityCompat.checkSelfPermission(getContext(), 
android.Manifest.permission.ACCESS_COARSE_LOCATION) != 
PackageManager.PERMISSION_GRANTED) {
// TODO: Consider calling
//ActivityCompat#requestPermissions
// here to request the missing permissions, and then overriding
//   public void onRequestPermissionsResult(int requestCode, String[] 
permissions,
//  int[] grantResults)
// to handle the case where the user grants the permission. See the 
documentation
// for ActivityCompat#requestPermissions for more details.
return;
}
map.setMapType(GoogleMap.MAP_TYPE_NORMAL);
LocationManager locationManager = (LocationManager) 
getContext().getSystemService(Context.LOCATION_SERVICE);
Location lastLocation = 
locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
LatLng latLng = new LatLng(lastLocation.getLatitude(), 
lastLocation.getLongitude());
googleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 16));
map.addMarker(new MarkerOptions().position(latLng).title("City Coordinator 
location at 
login").icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_YELLOW)));
map.getUiSettings().setMapToolbarEnabled(false);
}


This code is working in moto e2 phone with lollipop android, but not 
working in moto g3 phone with marshmallow android. In marshmallow, map is 
not loading at all in googlemap lite mode. If i remove this attribute( 
map:liteMode="true") in mapview, map is loading but marker is not present.

-- 
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/30a54694-c963-4a8b-b1a6-e4e13cfa92a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] how to increase the size of icon inside floating action button ?

2016-08-12 Thread Pradeep Kumar Reddy
how to increase the size of icon inside floating action button  
I'm trying to put plus icon inside floating action button. I have tried 
with 48dp, 72dp, 96dp icons, but still the icon is looking too small.

-- 
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/91aafcbb-e8c4-4152-8f64-37e5ae04844b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] how to properly handle recycling of views in grid view

2016-08-01 Thread Pradeep Kumar Reddy

I'm trying to create a custom gallery using grid view.

gridView recycling of views is creating problem. if i select an image and 
scroll down, some other images are selected.  how to solve this problem. 
how to properly handle recycling of views and restore the state of existing 
views when the gridView is recycling views.

-- 
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/240712c0-50b5-43ff-91bf-036949625de3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] problem to insert data into MySQL table through android app

2016-04-25 Thread Pradeep Kr
Hi currently I am working on android project with MySQL database. My database 
has two table as table1, table2,both tables has same colomns name. When I 
upload data to table1 it saved, but again when I inserted data into table2 I 
can't saved and shows me error.. Plz send your ideas soon on my mail id . 
prady.k...@gmail.com or pra...@outlook.com

-- 
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/d15cde85-7db5-40c2-bf6d-84c3ab352752%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android app with MySQL

2016-04-25 Thread Pradeep Kr
Hi currently I am working on android project with MySQL database. My database 
has two table as table1, table2,both tables has same colomn name. When I upload 
data to table1 it saved, but again when I inserted data into table2 I can't 
saved and shows me error.. Plz post your ideas soon.

-- 
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/03b402ff-be6e-479a-88fc-2969c5e8869f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-26 Thread Pradeep Phatak
 
Finally, programatically setting EAP-TLS is working for me.
The last error was resolved after I added set phase2auth to none.
I believe it was caused by call to getKeyIdForCredentials in 
WifiConfigStore.java. 
 

On Tuesday, February 25, 2014 8:18:46 PM UTC-8, Pradeep Phatak wrote:

>  
> setClientKeyEntry API worked after I retrieved X509Certificate and 
> PrivateKey from the KeyStore. The cert and key looked okay in the 
> WifiConfiguration.
>  
> Adding wifi network failed with the error below-
> E/WifiConfigStore(764): "8021x-wpa2-ssid" invalid config for key 
> installation
> E/WifiConfigStore(764): Failed to set a network variable, removed network: 
> 12
>
> On Tuesday, February 25, 2014 8:31:17 AM UTC-8, Nikolay Elenkov wrote:
>
>> On Wed, Feb 26, 2014 at 1:18 AM, Pradeep Phatak 
>>  wrote: 
>> > 
>> > The alias is provided when we use the Keychain createInstallIntent API 
>> to 
>> > store the p12 in the Android KeyStore. 
>> > As you correctly noted in your earlier post, we can't retrieve the 
>> Private 
>> > Key in that case. 
>> > The only other method I found to load a p12 certificate in Keystore was 
>> the 
>> > load method. But, it doesn't take any alias as parameter. 
>> > How do I pass the alias while loading the certificate in the keystore? 
>> > 
>>
>> Do read the JavaDoc of the KeyStore class before proceeding: 
>>
>> https://developer.android.com/reference/java/security/KeyStore.html 
>>
>

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


Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-25 Thread Pradeep Phatak
 
setClientKeyEntry API worked after I retrieved X509Certificate and 
PrivateKey from the KeyStore. The cert and key looked okay in the 
WifiConfiguration.
 
Adding wifi network failed with the error below-
E/WifiConfigStore(764): "8021x-wpa2-ssid" invalid config for key 
installation
E/WifiConfigStore(764): Failed to set a network variable, removed network: 
12

On Tuesday, February 25, 2014 8:31:17 AM UTC-8, Nikolay Elenkov wrote:

> On Wed, Feb 26, 2014 at 1:18 AM, Pradeep Phatak 
> > wrote: 
> > 
> > The alias is provided when we use the Keychain createInstallIntent API 
> to 
> > store the p12 in the Android KeyStore. 
> > As you correctly noted in your earlier post, we can't retrieve the 
> Private 
> > Key in that case. 
> > The only other method I found to load a p12 certificate in Keystore was 
> the 
> > load method. But, it doesn't take any alias as parameter. 
> > How do I pass the alias while loading the certificate in the keystore? 
> > 
>
> Do read the JavaDoc of the KeyStore class before proceeding: 
>
> https://developer.android.com/reference/java/security/KeyStore.html 
>

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


Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-25 Thread Pradeep Phatak

The alias is provided when we use the Keychain createInstallIntent API to 
store the p12 in the Android KeyStore.
As you correctly noted in your earlier post, we can't retrieve the Private 
Key in that case.
The only other method I found to load a p12 certificate in Keystore was the 
load method. But, it doesn't take any alias as parameter.
How do I pass the alias while loading the certificate in the keystore? 

On Monday, February 24, 2014 7:53:29 PM UTC-8, Nikolay Elenkov wrote:
>
> On Tue, Feb 25, 2014 at 12:30 PM, Pradeep Phatak 
> > wrote: 
> > Thank you Nikolay. 
> > I added p12 file to the Keystore using the load method, passing the 
> > InputStream and password string. 
> > I didn't see any method to provide an alias for this entry. 
> > KeyStore getCertificate and getKey method require an alias to be passed. 
> > Without an alias, it is not clear how to get the certificate and key 
> from 
> > the p12 file. 
>
> Presumably you know the alias, since you put it there? 
>
> If not use the Enumeration aliases () method to list, 
> than pick the one you need. 
>

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


Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-24 Thread Pradeep Phatak
Thank you Nikolay.
I added p12 file to the Keystore using the load method, passing the 
InputStream and password string.
I didn't see any method to provide an alias for this entry.
KeyStore getCertificate and getKey method require an alias to be passed.
Without an alias, it is not clear how to get the certificate and key from 
the p12 file.

On Sunday, February 23, 2014 5:24:14 AM UTC-8, Nikolay Elenkov wrote:

> On Sat, Feb 22, 2014 at 9:02 AM, Pradeep Phatak 
> > wrote: 
>
> > Context- 
> > I have stored a password protected .p12 client certificate/key 
> > programatically in the Android keystore. 
> > During provisioning, Wifi was selected in the dialog (instead of VPN and 
> > apps). 
> > I want to use it for Wifi EAP-TLS configuration using the Android API. 
> > 
> > Expectation- 
> > In Wifi Settings, this EAP-TLS wifi configuration should show this user 
> > certificate pre-selected. 
>
> I haven't looked at this for a while, but IIRC it doesn't work the way 
> you expect it to (see below). 
>
> > 
> > Observation- 
> > setClientKeyEntry method throws exception- 
> > java.lang.IllegalArgumentException: Private key cannot be encoded. 
> > setClientKeyEntry method throws this exception if getEncoded method 
> returns 
> > null for the PrivateKey object reference. 
> > It is not clear why getEncoded returns null in this case. 
>
> Once a key is imported into the device keystore you can use it, but 
> not extract the private part. That is why getEncoded() returns null. 
> If it returned the encoded key bytes, that would let you extract 
> the private key, which defeats the purpose of storing it in the 
> keystore. 
>
> > 
> > Can a password protected .p12 file stored in keystore be used for 
> > programatically configuring Wifi EAP-TLS using this procedure? 
> > 
>
> Again IIRC (I might be wrong, so do check),  WifiEnterpriseConfig 
> imports the key into the keystore for you, so you should provide 
> it a key it can read. To do that, load the PKCS#12 file using 
> a KeyStore.getInstance("PKCS12"), then find the private key 
> entry and pass it to WifiEnterpriseConfig. Do *not* import into 
> the Android keystore first. 
>
 
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-21 Thread Pradeep Phatak
Client device-
Nexus 5
Android 4.4.2 Kitkat
 
Context-
I have stored a password protected .p12 client certificate/key 
programatically in the Android keystore. 
During provisioning, Wifi was selected in the dialog (instead of VPN and 
apps).
I want to use it for Wifi EAP-TLS configuration using the Android API. 
 
Expectation-
In Wifi Settings, this EAP-TLS wifi configuration should show this user 
certificate pre-selected.
 
Procedure-
1) Used KeyChain API to get the certificate and key by providing the 
keystore alias. Confirmed that the object references returned were not null.
2) Used WifiEnterpriseConfig setClientKeyEntry API passing the 
X509certificate and PrivateKey reference.
 
Observation-
setClientKeyEntry method throws exception- 
java.lang.IllegalArgumentException: Private key cannot be encoded. 
setClientKeyEntry method throws this exception if getEncoded method returns 
null for the PrivateKey object reference.
It is not clear why getEncoded returns null in this case. 
 
Can a password protected .p12 file stored in keystore be used for 
programatically configuring Wifi EAP-TLS using this procedure?

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

2012-07-10 Thread pradeep
In the google IO session on Project Butter, a new tool systrace was 
introduced for JellyBean. 
Does google have any plans of making this tool available on ICS ?

Regards,
Pradeep 

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

2012-07-10 Thread Pradeep Kumar
I am using service and onStartCommand returning 
START_STICKY.
 
I have also register some broadcast receiver in onStartCommand. It is 
working fine in all mobiles. On Samsung mobile it stop working around after 
30 minute. Android calling only onCreate in 30-40 minute duration but not 
calling onStartCommand. After stop working when i am trying to stop service 
then application giving me exception. as no broadcast receiver found. 
Mobile setting screen showing that service is running. Please suggest how i 
will resolve it.



On Thursday, March 3, 2011 12:23:00 AM UTC+5:30, MagouyaWare wrote:
>
> I have an app that uses the notification bar in a similar way but I 
> provided a setting in preferences that they can use to turn off the 
> notification.
>
> On Wed, Mar 2, 2011 at 11:48 AM, rich friedel wrote:
>
>> To be fair, I obviously do not know for a fact that HTC devices 
>> are intentionally ignoring the startForeground() method. Here are the bug 
>> reports though so y'all decide... 
>> http://code.google.com/p/android/issues/detail?id=9663 && 
>> http://code.google.com/p/android/issues/detail?id=9682
>>
>> As for the status bar icon persistently showing while the app is running, 
>> I do this because my app runs silently in the background and auto-responds 
>> to text messages therefore I use the icon as a quick visual cue to let the 
>> user know it is in fact running. Otherwise I fear they would forget it is 
>> running and blame my app for auto-responding when they "think" it shouldn't 
>> be. Also, it only shows a short message when the user explicitly starts the 
>> service and then shows another short message upon sending the 
>> auto-response. In the notification drop down area I have an ongoing 
>> notification. Apart from error messages that is pretty much it.
>>
>> If this is incorrect usage of the status bar icon and notification that 
>> is fine and I'll conform to whatever y'all suggest, however I really cannot 
>> think of a better way of doing 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
>>
>
>

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

2012-06-11 Thread Pradeep
I have one full screen surface view which renders the video in full screen 
and one 4:3 local camera preview  which is overlaid on the full
screen surface view and which renders the local camera feed also one 
options layout to display the options.

Surface view which renders the local cam feed has an border around it.

This is my layout xml:

http://schemas.android.com/apk/res/android";
   android:orientation="vertical"
   android:layout_width="fill_
parent"
   android:layout_height="fill_parent"
   android:background="@drawable/background_bg"
   >

   

   
   
   
   
   

   


*I am facing following two problems with above layout:*

* *1)   I am setting the options layout to invisible after some time out 
and after detecting the user action i again set it   to visible but i
am facing issue in this. After setting option layout as visible it is there 
on the screen but not visible, it react to touch/key/focus
actions properly but i am unable to see it on screen.

2) Second issue that i am facing is when i set the "local_preview" 
RelativeLayout as visible and invisible then it does not draw the
border around the local preview, initially when i display the this layout 
using "setContentView" it does display the border around
local_preview surface view, but when i set it as invisible and visible 
again then it does not draw the border around the surface view but i
am able to see the video.

I think Z-Order of the widgets is causing the problem, How do i setup
the Z-Order or priority?

I have tried  this layout with FrameLayout also but it has the same
behavior.
I have also tried using "bring_to_front" for local preview and options
layout but it does not work.

What might be the cause and the possible solution to these problems.
What is the proper way of doing this.


Thanks,
Pradeep.

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

2012-06-11 Thread Pradeep
I have one full screen surface view which renders the video in full
screen and one 4:3 local camera preview  which is overlaid on the full
screen surface view and which renders the local camera feed also one
options layout to display the options.

Surface view which renders the local cam feed has an border around
it.

This is my layout xml:

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












I am facing following two problems:
1) I am setting the options layout to invisible after some time out
and after detecting the user action i again set it   to visible but i
am facing issue in this. After setting option layout as visible it is
there on the screen but not visible, it react to touch/key/focus
actions properly but i am unable to see it on screen.

2) Second issue that i am facing is when i set the "local_preview"
RelativeLayout as visible and invisible then it does not draw the
border around the local preview, initially when i display the this
layout using "setContentView" it does display the border around
local_preview surface view, but when i set it as invisible and visible
again then it does not draw the border around the surface view but i
am able to see the video.

I think Z-Order of the widgets is causing the problem, How do i setup
the Z-Order or priority?

I have tried  this layout with FrameLayout also but it has the same
behavior.
I have also tried using "bring_to_front" for local preview and options
layout but it does not work.

What might be the cause and the possible solution to these problems.
What is the proper way of doing this.


Thanks,
PP.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 provide Uninstall Option to pre-loaded apps, like the one present in Application manager.

2012-04-07 Thread pradeep g.k
Hi All,

Can anyone tell me how to provide Install and  UnInstall option to an
application which will already be installed.

-- 
Thanks,
$Pradeep$

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

2012-02-08 Thread pradeep g.k
Hello everyone,

I have observed on issue in email in ICS version

If you have logged into any email acccount with one specific language
say for example Hindi,
and again then you change the language to English, the whole app
changes to English but not the MessageListItem activity, which still
remains same in Hindi.

Does anyone know why is this ? And any solution for this, since in
previous versions like gingerbread and all it was working fine...:)

-- 
Thanks,
$Pradeep$

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

2012-02-08 Thread Pradeep
hi..
i tried to run the sample code given by the developer.android.com
website but i got errors in
android.support package is not available in my system.. kindly help to
resolve this problem...
thanks in advance...
bye..

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

2012-02-08 Thread pradeep g.k
Hello everyone,

I have observed on issue in email in ICS version

If you have logged into any email acccount with one specific language
say for example Hindi,
and again then you change the language to English, the whole app
changes to English but not the MessageListItem activity, which still
remains same in Hindi.

Does anyone know why is this ? And any solution for this, since in
previous versions like gingerbread and all it was working fine...:)

-- 
Thanks,
$Pradeep$

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

2012-02-08 Thread Pradeep
I need to develop a web application and deploy it using atjeews
server. i probably need to create a .war file to deploy it. Do any one
have done that before?
If possible kindly send me some code sample or website links for to
create a simple web application in android.

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


[android-developers] accessing android mobiles remotely

2012-02-08 Thread Pradeep
hi...
Do any one have any about how to access the android mobiles remotely
over wifi, as we do in the computers.
if possible kindly send me the website links...
thanks in advance.
bye.

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

2012-02-07 Thread Pradeep
Hello everyone,

I have observed on issue in email in ICS version

If you have logged into any email acccount with one specific language
say for example Hindi,
and again then you change the language to English, the whole app
changes to English but not the MessageListItem activity, which still
remains same in Hindi.

Does anyone know why is this ? And any solution for this, since in
previous versions like gingerbread and all it was working fine...:)

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

2012-01-20 Thread Pradeep
Multiple markers at this line
- The method onClick(View) of type new View.OnClickListener(){} must
override a superclass
 method
- implements android.view.View.OnClickListener.onClick

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

2012-01-20 Thread Pradeep
I want to create a webservice in android. To export data from the
device on demand. I need to call it from .net.
Do any have any idea about how to create a webservice in android.
Where to deploy it? If possible, send me the link or sample program to
create 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] Native Thread Crashes(Segmentation fault) on Activity change

2011-12-09 Thread Pradeep Appala
Hi
I am new to Android wanted to port my linux application to android
My Android App has 3 activities

1)In the first activity i  load my native library (which creates
multiples threads in native code.)
Native code(threads) work fine till i change to another activity.
If  app switches to second activity from first activity the
native code crashes with seg 11 error.

How to retain the native threads even after switching to other
activity.

2)What is the life time of the native threads invoked in the
onCreate() of first activity.Is it application wide or fixed to the
activity itself?

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] Need info of Email app in Android source code

2011-11-24 Thread Pradeep
Does anyone have documented the description of the email and its
folder structure in android source code.Please share if anyone
documented.

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

2011-11-10 Thread PRADEEP KUMAR
Hi

We are having typical requirement using monkeyrunner. As of now we are
using python to access monkeyrunner to automate our testing. Now the
Client is expecting us to do some WEB GUI created by javascript,HTML5
and CSS3 should access monkeyrunner based on the button clicks on the
WEB GUI. Is there any possiblitiy to access monkeyrunner using
javascript or any other way to implement the web interface for
monkeyrunner. Please i am new to android and monkey i am basically a
web developer. If any anything wrong on the concept view please reply
that also so that we can discuss with our client about the
possibility.

Thanks in advance for your reply.

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

2011-10-02 Thread Pradeep
Hello Mark,

Thanks you for the valuable info provided.

But still, I have a doubt as I am new to Java programming as well.

Content_URI is a static variable and should be accessable? Y there in
no compile time error but a run-time exception error.(I have included
provider app in the settings of the accessing app).

Is there any way to access using the static varibable of the provider
in other apps. (As I read in some blogs to generate the JAR file of
the app and integrate with other apps). Will this method workif
Yes.. Please let me know in detail how?

On Oct 1, 7:07 am, Mark Murphy  wrote:
> On Sat, Oct 1, 2011 at 12:08 AM, Pradeep  wrote:
> > How would other application know about the URI of this content
> > provider.
>
> Through the advanced techniques of "typing" and "documentation".
>
> > So, I thought this Content_URI was introduced as a concept
> > for content provider, as done for other providers like contacts etc.
>
> That is a convenience, not a requirement. The reason it works for
> "other providers like contacts etc." is because those "other
> providers" are part of the OS and classes with these symbols are made
> part of the SDK.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


[android-developers] Re: Not able to access custom content provider.

2011-09-30 Thread Pradeep
Hello Mark,

I Have imported the class file, due to which I am not getting the
compile error and Moreover, by importing the class file, we should be
able to access the static variable.

How would other application know about the URI of this content
provider. So, I thought this Content_URI was introduced as a concept
for content provider, as done for other providers like contacts etc.

Accessing the URiI like "Content:// abc.com.provider/books"  looks a
wage usage i think. What do u say.

On Sep 30, 10:26 pm, Mark Murphy  wrote:
> On Thu, Sep 29, 2011 at 10:35 PM, Pradeep  wrote:
> > I am trying to access the content provider I created
> > "MyContentProvider" in another application(.apk) through
> > MyContentProvider.Content_URI. But I am getting an runtime  exception
> > like noClassDefFoundError.
>
> Of course. That class is not in your application. It should not even
> compile, let alone run.
>
> > If I use the complete URI like "Content://
> > abc.com.provider/books"  it works.
>
> That is the proper way to reference content Uri values from other 
> applications.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
> Available!

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


[android-developers] Not able to access custom content provider.

2011-09-30 Thread Pradeep
Hi All Android Developers,

I am trying to access the content provider I created
"MyContentProvider" in another application(.apk) through
MyContentProvider.Content_URI. But I am getting an runtime  exception
like noClassDefFoundError. If I use the complete URI like "Content://
abc.com.provider/books"  it works. Anyone who know regarding this
please update.

I Have even tried adding the permissions and adding the app in the
project settings, which still not working.

Thanks in Advance.
Pradeep.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Honeycomb webview is going partially blank upon tapping on password field of the html page

2011-08-29 Thread Pradeep Phatak
Issue: In my Android application that uses webview for authentication,
the webview is going partially blank upon tapping on password field of
the html page.
If I just type user name and password on the html page, then the issue
is not seen.

Tested on: Samsung Galaxy tablet (GT-P7510) and Motorola Xoom

layout file snippet:











Code to setup webview:

webView = (WebView) findViewById(R.id.webview);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
webView.clearCache(true);
webView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_OVERLAY);
setUserAgent(getString(R.string.user_agent_suffix));

Other:

Adding support for zoom on webview or setting up touch and focus
listener did not help in resolving this issue.

Similar issue and test results are provided in the following post on
stackoverflow:
http://stackoverflow.com/questions/7097884/black-flickering-on-honeycomb-webview/7211264#7211264

Any help regarding this issue would be useful.

Thank you!

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


[android-developers] DDMS - Sysinfo

2011-08-20 Thread Pradeep
Hi All,

On my device DDMS-Sysinfo-Memory Usage shows a pie chart with very
large section named "Inactive"

Any idea what this refers to ? How is it different from free memory ?

Regards,
Pradeep

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

2011-08-20 Thread Pradeep
Hi All,

What is the best way to check for free RAM memory available for apps ?

"adb shell top" gives a much lesser value as it does not exclude the
memory being used for caching.

What is the free memory value that "Advanced Task Manager" gives ?

Regards,
Pradeep

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

2011-08-09 Thread Pradeep
Hello all,

The default sofkeyboard in Nexus one 2.3 does not hide if we touch
anywhere outside the keyboard. Actually, it hides with some apps but
not with all.

What might be the reason of this behaviour ? I have a custom keyboard
along the lines of LatinIME so my keyboard also behaves the same. What
can I do to have this feature ?

Regards,
Pradeep

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

2011-08-09 Thread Pradeep
Hi,

I have an openGL based game running on 2.2. Sometimes the launch of
the game takes time.

>From the logs it appears surface creation is taking time. This is an
inconsistent  issue.

Any ideas why this might be happening ?

Regards,
Pradeep

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

2011-06-10 Thread Pradeep M
Hi All,
   Can U help me?
User Logon:





How can post request xml string? ie. let me known CDATA but get issue for

Issue:
 11:34:43.603 1494 INFO #Bodhi_App#
anyType{HACRMMessage=anyType{Header=anyType{MessageID=2371;
TimeStamp=2011-06-10T23:11:50.165-07:00; Operation=anyType{}; };
Body=anyType{Error=anyType{ErrorCode=anyType{}; ErrorDescription=String
reference not set to an instance of a String.



Parameter name: s; }; }; }; }


Please help me how can solved the problem




-- 

**

**

* *


*
*

*

Thanks & Regards,
Pradeep .  M
Software Engineer - Droisys, Chennai

+91 98659 89413

*

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

2011-06-01 Thread Pradeep
Thanks !

On May 30, 12:21 pm, Romain Guy  wrote:
> 0dip/weight=1 is a special case that LinearLayout can optimize. Also,
> match_parent/weight=1.0 is (almost) meaningless. You are telling
> LinearLayout to have this child take up all the space (match_parent)
> and then fill the remaining available empty space (weight=1.0.) What
> you really want is 0dip/weight=1.
>
>
>
>
>
>
>
>
>
> On Sun, May 29, 2011 at 11:45 PM,Pradeep wrote:
> > Hi,
>
> > I have a linearlayout and one of its element was as follows
>
> >  >                android:background="#22" 
> > android:layout_height="match_parent"
> >                android:layout_weight="1.0"
> >                >
> >                 > android:id="@+id/peoplelist"
> >                android:layout_height="wrap_content"
> >                >
> >                
> > 
>
> > on running layoutopt on this it gave following message
>
> > "Use an android:layout_height of 0dip instead of match_parent for
> > better performance"
>
> > How does this help in getting better performance ?
>
> > Regards,
> >Pradeep
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them

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


[android-developers] layoutopt

2011-05-29 Thread Pradeep
Hi,

I have a linearlayout and one of its element was as follows







on running layoutopt on this it gave following message

"Use an android:layout_height of 0dip instead of match_parent for
better performance"

How does this help in getting better performance ?

Regards,
Pradeep

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

2011-04-17 Thread Pradeep Bhatt
Oh, Sorry for that ! By "did not work" I mean for many apps background did
not have transparency it was opaque.



On Sun, Apr 17, 2011 at 6:42 AM, Dianne Hackborn wrote:

> Define "did not work."  In what way did it not work?
>
> On Sat, Apr 16, 2011 at 9:21 AM, Pradeep  wrote:
>
>> Hi,
>>
>> I have written a new keyboard by extending the SoftKeyboard provided
>> as example.
>>
>> I wanted to have a transparent background so I included a transparent
>> png as background.  This worked for some apps but for many others it
>> did not.
>>
>> How can I make it work for all ? Am I missing something  ?
>>
>> Regards,
>> Pradeep
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>

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

[android-developers] SoftKeyboard with transparent background

2011-04-16 Thread Pradeep
Hi,

I have written a new keyboard by extending the SoftKeyboard provided
as example.

I wanted to have a transparent background so I included a transparent
png as background.  This worked for some apps but for many others it
did not.

How can I make it work for all ? Am I missing something  ?

Regards,
Pradeep

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] REQ: Webmethods Developer (F2F interview in Chicago)

2011-04-15 Thread pradeep kumar
Hello Partners,

Please go through the following requirement I have with my client and let me
know if you have any suitable resume.

*Title: *Webmethods Developer
*Location: *Chicago, IL (*LOCALS ONLY*, *need In-Person Interview*)
*Duration: *6 months
*Rate: *market
*Description:
*

I need a webmethods Developer for JPMC in Chicago.  They must interview in
person

 Must have experience with webMethods 7.1
- Must have 5+ years using webMethods Developer
- Must have 3+ years using webMethods Websphere MQ adpater
- Must have 3+ years using webMethods Trading Networks
- Must have 3+ years exposing flow services as SOAP-Messaging web services
in webMethods Developer
- webMethods 8 experience a plus
* Please respond asap with the suitable resume.
*

Regards,



*Pradeep*

Sage IT, Inc.

Ph: 972-996-0650 Ext: 324 |Fax: 214-619-2034

pradeep.pagad...@sageitinc.com| 
www.sageitinc.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] Keyboard in Gmail rich text

2011-04-15 Thread Pradeep
Hi,

If in Froyo we set browser user agent to desktop and then try to
compose a message in gmail.com. Keyboard does not get launched until
we move to plain text.

Has anyone faced this problem ? What might be the reason  ?

Regards,
Pradeep

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

2011-04-13 Thread Pradeep
Hi,

Why are the dictionaries for different languages not part of LatinIME
source code ? The apk supports prediction for some languages but
dictionaries for these languages are not part of LatinIME source code.
Where can I get them ?

Regards,
Pradeep

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

2011-04-06 Thread Pradeep
Hello,

I am not able to install the android packages from the Android SDK and
AVD Manager. When I select a package and click on 'Update All' as said
in the installation steps, "It is failing to fetch from the sources,
saying

"Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml,
reason: Connection timed out".

Can you please help me in this regard, as I am not able to proceed.


Thanks and Regards,
Pradeepkp

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


[android-developers] Unable to add sdk components from Android SDK and AVD Manager

2011-03-31 Thread Pradeep
Hello,

I am badly stuck at adding sdk components from Android SDK and AVD
Manager in order to install sdk platform tools.

Under Available Packages tab, when we check the repository link
present there, it says

Dialog box pops up saying Fetching respository "URL Link" in title bar
and

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml,
reason: Server returned HTTP response code: 407 for URL:
http://dl-ssl.google.com/android/repository/repository.xml

I am not able to proceed further because most of the platform tools
and development tools has to be installed using this step. I have gone
through various related forum discussions and tried but it didnt
work.


Can someone pleasee help me in this regard.  Very much awaiting for
your help.


Thanks and Regards,
Pradeep

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


[android-developers] Unable to add sdk components from Android SDK and AVD Manager

2011-03-30 Thread Pradeep
Hello,

I am badly stuck at adding sdk components from Android SDK and AVD
Manager in order to install sdk platform tools.

Under Available Packages tab, when we check the repository link
present there, it says

Dialog box pops up saying Fetching respository "URL Link" in title bar
and

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml,
reason: Server returned HTTP response code: 407 for URL:
http://dl-ssl.google.com/android/repository/repository.xml

I am not able to proceed further because most of the platform tools
and development tools has to be installed using this step. I have gone
through various related forum discussions and tried but it didnt
work.


Can someone pleasee help me in this regard.  Very much awaiting for
your help.


Thanks and Regards,
Pradeep

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


Re: [android-developers] How to change the font style for particular selected text in text view

2011-03-24 Thread pradeep narava
Hi guys ,
I am able to get the position where the text has got selected ,but how can I
get the selected text value so that I can change the font style and replace
the text at concerned position.
 I was using Typecase to change the font style.

Please can you help me
My code is as follows:
package com.pradeep.texteditor;



import java.util.ArrayList;






import android.app.Activity;
import android.app.ListActivity;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.text.Editable;
import android.text.Spannable;
import android.text.style.StyleSpan;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnKeyListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

public  class TextEditor extends Activity {
private static final String TAG = "pradeep";



String text;
String txt;
private EditText mUserText;
private EditText waitingTimeView;

private ArrayAdapter mAdapter;

private ArrayList mStrings = new ArrayList();

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mUserText = (EditText) findViewById(R.id.enterText);
mUserText.setTextColor(Color.BLACK);


Button bold = (Button) findViewById(R.id.Button02);
bold.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
  mUserText.setTextColor(Color.RED);
  //txt1 =
mUserText.setTypeface(Typeface.SERIF,Typeface.BOLD);
   int start = mUserText.getSelectionStart();
int end = mUserText.getSelectionEnd();
//TextView myTextView = new  TextView(this);
  //String selectedText =
mUserText.getText().toString().substring(start, end);
// txt1=
mUserText.setTypeface(Typeface.SERIF,Typeface.BOLD);


Editable txt = mUserText.getText();



//   Editable a = mUserText.getText() ;
////a.append(txt, start, end);
//Editable txt1 = mUserText.getText().s

//txt.replace(start,end,a);

 // String selectedText =
et.getText().substring(startSelection, endSelection);

//  int selStart = ((EditText) v).getSelectionStart();
//int end = ((EditText) v).getSelectionEnd();
// Determine the word "under" selStart...

  //char a = txt.charAt(end);



Log.d(TAG, "sel:" + String.valueOf(start)+" end:"+
String.valueOf(end));







 // int selStart = ((EditText) v).getSelectionStart();
//int end = ((EditText) v).getSelectionEnd();
 //Determine the word "under" selStart...
//Log.d(TAG, "sel:" + String.valueOf(selStart) + "
end:"+ String.valueOf(end));

//Typeface myTypeface =
Typeface.createFromAsset(this.getAssets(),"DS-DIGIB.TTF");
Typeface myTypeface = Typeface.DEFAULT_BOLD;
waitingTimeView = (EditText)
findViewById(R.id.enterText);
waitingTimeView.setTypeface(myTypeface);
mUserText.setBackgroundColor(Color.GREEN);

}



});


}

private void sendText() {
text = mUserText.getText().toString();

   mAdapter.add(text);

   mUserText.setText(null);
   }

   public boolean onKey(View v, int keyCode, KeyEvent event) {

   if (event.getAction() == KeyEvent.ACTION_DOWN) {

   switch (keyCode) {
   case KeyEvent.KEYCODE_DPAD_CENTER:
   case KeyEvent.KEYCODE_ENTER:
  sendText();
   return true;
   }
   }
   return false;
   }






}

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

[android-developers] Re: Whats the key difference between Monkey Runner and Monkey tool?

2011-03-18 Thread pradeep
Hi

Monkey Runner tool is built on monkey tool.

Monkey internally consists of a server, which can be started using its
command --port, which is not being used very often.

Monkey Runner tool which runs at host[PC], [which is basically a
jython script], starts the monkey server at some port and sends the
events to the monkey and monkey executes them from  the shell.

For e.g., press method you call from jython script is sent to monkey,
monkey generates press event and sends it from shell to the
application layer.

Regards,
Ganesh Pulivendula

On Mar 18, 2:20 pm, Raja  wrote:
> Sent from my Motorola phone.
>
> raki  wrote:
> >Hi,
>
> >I want to automate UI and functional testing on Android OS.
>
> >I am in dilemma whether to use Monkey or Mokeyrunner for the purpose.
>
> >I will not be able to access the source code for the applications but
> >I just need to test the applications, probably using Python/Shell
> >scripting.
>
> >Can anyone suggest me which tool I need to use for best results?
>
> >I also want to include power management operations in between my UI
> >testing processes.
>
> >Any suggestions are greatly appreciated.
>
> >Thanks,
> >Rakesh
>
> >--
> >You received this message because you are subscribed to the Google
> >Groups "Android Developers" group.
> >To post to this group, send email to android-developers@googlegroups.com
> >To unsubscribe from this group, 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] Code please : Youtube video player API for my Android

2011-01-21 Thread Pradeep M
*How can I configure Youtube video player API for my Android application to
play Youtube video*
-- 

**

**

* *

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

[android-developers] cannot play video

2011-01-21 Thread Pradeep M
*how to issue solve : sorry this video cannot be played android*
youtube video download

Code here:

private String path = "";
private VideoView mVideoView;

@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.videoview);
mVideoView = (VideoView) findViewById(R.id.surface_view);

  path = "rtsp://
v4.cache2.c.youtube.com/http://www.youtube.com/watch?v=w0w7iHns9iA";;
  //path = "http://commonsware.com/misc/test2.3gp";;

if(path == "")
{
// Tell the user to provide a media file URL/path.
Toast.makeText( VideoViewDemo.this, "Please edit VideoViewDemo
Activity, and set path"
+ " variable to your media file URL/path",
Toast.LENGTH_LONG).show();
}

else
{
/*
 * Alternatively,for streaming media you can use
 * mVideoView.setVideoURI(Uri.parse(URLstring));
 *
 *   mVideoView.setVideoPath(path);
 */

   MediaController mc = new MediaController(this);
   mc.setAnchorView(mVideoView);

mVideoView.setVideoURI(Uri.parse(path));
mVideoView.setMediaController(mc);
mVideoView.requestFocus();
mVideoView.start();
    }

-- 

**

**

* *

**

*
*

*

Thanks & Regards,
Pradeep .  M
Android Software Engineer


*

**

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Query about Monkey scripting Option, in updated monkey source code

2010-10-24 Thread pradeep
Hi All,

When I was going through monkey source code[MonkeySourceScript.java],
came to know that we can also

send instrumentation events.

I have developed a test application and installed in the android 2.2
emulator, and tried to run it through monkey script. Below is the
script I have written and pushed it to sdcard.

count= 1
speed= 500
start data >>
LaunchInstrumentation(com.email.test.settings.EmailTestCase_Settings,com.email.test.settings/
android.test.InstrumentationTestRunner)

When I run the monkey script, It is not able to start the test
application..

Can any one please tell me how exactly we need to use this. What are
the parameters we need to pass to LaunchInstrumentation(), inorder to
start the test application or is it for some other purpose?


Regards,
Pradeep

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

2010-10-24 Thread pradeep
Hi All,

I have checked the updated monkey source code,  I found out few new
options, can any body please

let me know how to use these options. what is the setup option for
what is its purpose. what is the difference

between pkg blacklist and whitelist

 [--pkg-blacklist-file PACKAGE_BLACKLIST_FILE]
 [--pkg-whitelist-file PACKAGE_WHITELIST_FILE]
 [--setup scriptfile]




Regards,
Ganesh

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

2010-09-01 Thread Pradeep M
please help me ddms plugin on netbeans
that working run time

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


[android-developers] force close error

2010-09-01 Thread Pradeep M
" The application com.sym.activitu(process com.sym.activity) has
stopped unexpectly. Please try again "

the above msg occur in running time so please give solution

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

2010-08-06 Thread pradeep
Hi All,

Could you please let me know if there is any API to check whether
inserted SD Card is full . If it has free space, then how to know how
much free space is left.

Thanks in advance
Pradeep

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

2010-06-14 Thread pradeep
Hi,

Can any one please help to resolve the above error. Also can any one
please clarify whether we can unit test j2me methods

I am trying to call J2ME APIs in one of the test methods of
Instrumentation TestCase.

I have modified the dx source code such that it converts j2me jars to
dalvik format during runtime.

package android.jsr.tests;

import android.test.InstrumentationTestCase;
import javax.microedition.lcdui.DateField;

public class MIDPTest extends InstrumentationTestCase {
//@Override
protected void setUp() {
// TODO Auto-generated method stub
try {
super.setUp();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public void testMIDP() {
DateField dt= new DateField("MIDP",DateField.DATE);
System.out.println("Testing JSR MIDP 2.0"+dt.getLabel());
}
}

Below is the stack trace of the error.

java.lang.ExceptionInInitializerError

at android.jsr.cts.MIDPTest.testMIDP(MIDPTest.java:23)
at java.lang.reflect.Method.invokeNative(Native Method)
at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:
205)
at
android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:
195)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:
444)
at android.app.Instrumentation
$InstrumentationThread.run(Instrumentation.java:1447)

Caused by: java.lang.ExceptionInInitializerError
at javax.microedition.lcdui.Item.(Item.java:611)
... 14 more
Caused by: java.lang.ExceptionInInitializerError
at javax.microedition.lcdui.Displayable.(Displayable.java:116)
... 15 more
Caused by: java.lang.UnsatisfiedLinkError: init
at javax.microedition.lcdui.Font.init(Native Method)
at javax.microedition.lcdui.Font.(Font.java:198)
at javax.microedition.lcdui.Font.(Font.java:465)
... 16 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] unsubscribe from android-developers Groups

2010-06-09 Thread pradeep nr
android-develop...@googlegroups.c 
android-developers@googlegroups.com om 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 any way to send key strokes to other applications launched from a test application

2010-05-17 Thread pradeep
Hi ,

Can anyone please look at the error that I got while trying to install
a test application and provide inputs.

My aim was to launch Contacts application from a test application and
send keypresses to it .

I have tried the following approach:
-> Create a dummy application with the same name space as the original
application in your device/emulator.
Eg. For Contacts I created a dummy application with package
com.android.contacts.
-> Write tests for the dummy application and install only the test
cases apk on the device/emulator.
So that the test will be carried out on the original application.

Though using the above approach I am getting the following error.

"Re-installation failed due to different application signatures.
 You must perform a full uninstall of the application."

Can’t we use the package names of the existing applications for
creating dummy applications.

Is there any way to send key strokes to other applications launched
from a test application

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


[android-developers] Regarding CTS test apk Signing procedure

2010-05-06 Thread pradeep
Hi

I am trying to develop new cts testcases. After I ran those testcases
by adding them in CTS,
I got the below error.

Permission Denial: starting  instrumentation
ComponentInfo{com.android.cts.performance4/
android.test.InstrumentationTestRunner}
from pid=6365, uid=6365 not allowed because package
com.android.cts.performance4  does not have a signature matching the
target com.android.mms

I thought it is something related to signing the newly developed test
apks.

I have the below queries related to signing the cts test apks. I would
be grateful if any one can clear these doubts.

1.  What kind of signing should be followed to sign  cts test apks if
they have to be build in ubuntu linux.
2.  Do we need to get signed our certificate from any Certification
authority
3.  Since CTS test apks test other applications, do they need to be
signed with same certificate [used to sign android applications
present in the phone]. If yes , then is it required to specify that
private key in Android manifest file

Thanks,
Pradeep

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

2010-03-12 Thread Pradeep
Hi:
   I have the following code in my application. When loaded into the
phone, I get "File Open Exception". Any idea what I may be doing
wrong? I suspect some issue with permissions or something but I'm not
sure.

= code snippet 
FileOutputStream fos;
try {
fos = this.openFileOutput("/sdcard/demo.txt",
MODE_WORLD_WRITEABLE);
try {
fos.write("Appended".getBytes());
fos.close();
} catch (IOException e) {
// TODO Auto-generated catch block
Toast.makeText(getBaseContext(),
"File Write or Close Exception!!",
Toast.LENGTH_SHORT).show();
e.printStackTrace();
}
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
Toast.makeText(getBaseContext(),
"File Open Exception!!",
Toast.LENGTH_SHORT).show();
e.printStackTrace();
    }
===


Regards...Pradeep.

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

2010-03-06 Thread pradeep vr
Hi frns plss tel me the complete procedure about how to use undx tool
(undx.jar) to disassemble classes.dex file to get .class files

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


[android-developers] Can we write android Junit testcases even we dont have source files?

2010-02-16 Thread pradeep
Hi

Can any one please help with answers for the below questions.

1. Can we write android Junit Testcases for an application, without
building the application
In detail: I would like to test Calculator application and I dont have
the Calculator Application source code.
How Can I write Junit testcases in that case. Which testcase class I
need to use for that.

2.Can we write testcases interacting different applications.

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

2010-02-03 Thread pradeep
Hi All,

Can anyone give an idea how to identify the views part of the
active screen[i.e current running activity on the phone].

E.g after launching uiEditContactActivity,how can I identify the views
[ several fields, buttons etc]
part of that screen.

I am trying to modify monkey, such that for creating a contact, it
should launch Edit Contacts Activity and fill the respective views
[name, number etc].

Thanks,
Ganesh

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

2010-01-19 Thread pradeep
Hi All,

I have a basic question regarding how to verify whether an application
is lauched or not.

I am running monkey to test stability of phone. I also want to verify
through monkey or any other

tool whether a particular screen like contacts, messages is lauched or
not.

How can I do that. Please suggest if you have any idea.


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

2010-01-11 Thread pradeep
Hi Satish

It might have stopped due to a crash in Calculator application after
150900 events.

To see the crash details you need to set the verbose level to -v -v or
-v -v -v.

Revert if you still have any doubts.

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

2010-01-04 Thread pradeep
Hi

I would like to tell every body that it is possible to simulate a
sequence of events on emulator using monkey scripting option "-f" .

It is successful on android 2.0 sdk


Regards,
Pradeep

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Will a notification still work if the device once shut down.

2009-08-07 Thread Pradeep Kaushik
Hi,
 You can use the AlarmManager for such tasks.

Sample Code:
==

AlarmManager am = (AlarmManager)getSystemService(Context.ALARM_SERVICE);
PendingIntent pi = PendingIntent.*getBroadcast*(getApplicationContext(),
REQUEST_CODE, intent,  PendingIntent.FLAG_CANCEL_CURRENT);
am.set(AlarmManager.RTC_WAKEUP, SOME_TIME_IN_FUTURE, operation);

The flag AlarmManager.RTC_WAKEUP will cause the device to wake up. You can
also try the AlarmManager.ELAPSED_REALTIME_WAKEUP flag.

Best Regards,
Pradeep Kaushik

On Fri, Aug 7, 2009 at 10:50 AM, guishenl...@gmail.com <
guishenl...@gmail.com> wrote:

>
>
> Maybe I was misunderstood. What I want is to continue my notification
> effect even the device has once shut down, just like an alarm clock.
> If you really get it, please explain it for in detail? Thanks a lot!
>
> On 8月6日, 下午4时52分, peter  wrote:
> > Set flag of Notification, there have sort of flag to let your
> > notification show
> >
> > like this:"Notification.flag = Notification.FLAG_AUTO_CANCEL"
> >
> > On Aug 6, 4:42 pm, "guishenl...@gmail.com" 
> > wrote:
> >
> >
> >
> > > Hi all,
> > > I have an application with notification. I want to keep the
> > > notification working even if the device once shut down just like an
> > > alarm. Could anyone give me some sample code to help me?
> > > 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] Re: A Gesture Recognition Library

2009-04-12 Thread Nishantha Pradeep
Good work and I am impressed. I will find someway to try this out

cheers

Nishantha

On Sat, Apr 11, 2009 at 5:18 PM, mscwd01  wrote:

>
> That's really impressive and i'd guess a whole lot more intuitive to
> use than the virtual keyboard for quick text entry.
>
> I'll definately have a play around with it when I get a spare minute
> or two; when I do i'll try and provide some feedback.
>
> Thanks for sharing!
>
> On Apr 11, 11:56 am, sydnal  wrote:
> > Hi; back around ADC 1; I had developed a simple gesture recognition
> > library for Android (not for accelerometer; I mean touchscreen -
> > finger gestures). I had to abandon it for quite a while, but recently
> > I was able to clean it a bit and port it to 1.0 SDK. It is released
> > under GPL. Here are some sample videos:
> >
> > http://www.youtube.com/watch?v=C7A6OHWfSOE
> >
> > http://www.youtube.com/watch?v=JxwGMtNS_YA
> >
> > You can download it here :
> http://blog.caffeine-driven.com/posts/dkn-a-gesture-recognition-libra...
> > (Yeah the site sucks, i know)
> >
>

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

2009-02-04 Thread pradeep

hi,
I need to get notifications from the sdcard, for which i am
creating an instance of fileobserver in a separate thread for all the
folder. but creating a threads for each folder is not efficient if
there are many (abt 100 ) folders. Is there any other method through
which this can be done.

plz hepl me out.

pradeep

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

2009-02-04 Thread pradeep

hi,
  i need to subscribe file system notification from all the folders.
so I'm creating an instance of fileobserver for each folder in
separate thread, but i don't think it is efficient way of doing.

 Is there any other method to get the notifications.

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

2009-02-04 Thread pradeep

i need to observe a sdcard i.e all the folders inside. i am creating
fileobservers for each folder in saparate threads, but i don't think
it is efficient. is there any other method for do so?

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

2009-01-07 Thread pradeep

hi
can any one let me know how to to retrieve path of the sdcard?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: file system change notification

2009-01-07 Thread pradeep

Your suggestion works:) Thanks for your reply.
could you please let me know how I can retrieve the path to SD card?

On Jan 7, 1:22 pm, "Dianne Hackborn"  wrote:
> Er...  this is not windows, you should use '/' as your path separator.  Also
> you really should retrieve the path to the sd card instead of hard-coding
> it.
>
>
>
>
>
> On Tue, Jan 6, 2009 at 11:16 PM, pradeep  wrote:
>
> > hi all,
>
> > the below program which i got form net. i am able to create the file
> > a.txt but the onEvent fuction is not being called as the Log.e
> > (); is not getting logged.
>
> > plz help me out.
>
> > *start of
> > the program***
> > package com.home.files;
>
> > import java.io.File;
> > import java.io.IOException;
>
> > import android.app.Activity;
> > import android.os.Bundle;
> > import android.os.FileObserver;
> > import android.util.Log;
>
> > public class filesystem extends Activity
> > {
> >        public static final String TAG="filesystem";
> >        public FileObserver observer;
> >       �...@override
> >        public void onCreate(Bundle icicle)
> >        {
> >                super.onCreate(icicle);
> >                setContentView(R.layout.main);
> >                observer=new FileObserver("\\sdcard\\tmp"){
> >                       �...@override
> >                        public void onEvent(int event, String path)
> >                        {
> >                                Log.e(TAG,"onevent");
> >                                if(event == FileObserver.CREATE){
> >                                        Log.e(TAG, "File created [" + path +
> > "]");
> >                                }
> >                                else if(event == FileObserver.DELETE){
> >                                        Log.e(TAG, "File deleted [" + path +
> > "]");
> >                                }
> >                        }
> >                };
> >                observer.startWatching();
> >                File f=new File("\\sdcard\\tmp\\a.txt");
>
> >                        try {
> >                                f.createNewFile();
> >                                observer.stopWatching();
> >                                Log.e(TAG,"file created");
> >                        }
> >                        catch (IOException e) { }
>
> >        }
> > }
>
> > **End of the
>
> > program­**
>
> > On Jan 6, 12:56 pm, "Dianne Hackborn"  wrote:
> > > Use android.os.FileObserver.
>
> > > On Mon, Jan 5, 2009 at 5:19 AM, pradeep  wrote:
>
> > > > how to get notifications if i make any change in file system like i
> > > > add a file or delete a file.
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support.  All such questions should be posted on public
> > > forums, where I and others can see and answer them.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: file system change notification

2009-01-06 Thread pradeep

hi all,

the below program which i got form net. i am able to create the file
a.txt but the onEvent fuction is not being called as the Log.e
(); is not getting logged.

plz help me out.


*start of
the program***
package com.home.files;

import java.io.File;
import java.io.IOException;

import android.app.Activity;
import android.os.Bundle;
import android.os.FileObserver;
import android.util.Log;

public class filesystem extends Activity
{
public static final String TAG="filesystem";
public FileObserver observer;
@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.main);
observer=new FileObserver("\\sdcard\\tmp"){
@Override
public void onEvent(int event, String path)
{
Log.e(TAG,"onevent");
if(event == FileObserver.CREATE){
Log.e(TAG, "File created [" + path + 
"]");
}
else if(event == FileObserver.DELETE){
Log.e(TAG, "File deleted [" + path + 
"]");
}
}
};
observer.startWatching();
File f=new File("\\sdcard\\tmp\\a.txt");

try {
f.createNewFile();
observer.stopWatching();
Log.e(TAG,"file created");
}
catch (IOException e) { }


}
}

**End of the
program**

On Jan 6, 12:56 pm, "Dianne Hackborn"  wrote:
> Use android.os.FileObserver.
>
> On Mon, Jan 5, 2009 at 5:19 AM, pradeep  wrote:
>
> > how to get notifications if i make any change in file system like i
> > add a file or delete a file.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] file system change notification

2009-01-05 Thread pradeep

how to get notifications if i make any change in file system like i
add a file or delete a file.

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

2008-06-04 Thread Venkata Pradeep Bommisetty


Hi,

Is there any possibility to download the Android OS.

If yes, on which existing models in the market can we install that?

Thanks and Regards,
Pradeep


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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
-~--~~~~--~~--~--~---