[android-developers] IMMEDIATE NEED .NET DEVELOPER

2019-10-24 Thread Naveen Patel


*Job Role :  .NET Developer*

*Location:  Madison, WI.*

*Duration: 12 Months*

 

·Strong .NET Full stack developer with experience in React, Reddux, 
Typescript along   

with .NET Core 

·Strong .NET developer with VB.net, C# , Web Apps, SQL Server databases 
/ SSIS

·*.*Net core  Developer with strong ReactJS and knowledge of NodeJS

-- 
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/f2d32d42-0097-4ec2-acb9-296824ff4be1%40googlegroups.com.


[android-developers] Immediate Need : Java Developer

2019-10-23 Thread Naveen Patel
Hello Associate , 
Hope you are doing well

We have below requirement open. Please send me your genuine candidate on my 
Email : *sra...@involgix.com *

 

*Job Role : Java Developer*

*Location : Norwalk, CT*

*Duration : 12 Months*

 

Job description :-

·  Must have 7-10 years Experience in Java & Spring Boot

·  Developing Microservices using Java & SpringBoot

·  Visa: Work Permit, GC, GC-EAD, USC


Thanks & Regards,

Sravan
Involgixs Inc
12885 Research Blvd Suite: 102B Austin, TX 78750

Direct: 469-409-5172

sra...@involgix.com  | Website: www.involgix.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/58949581-a3f0-4807-8f3a-67cdfd7bf6b1%40googlegroups.com.


[android-developers] Salesforce Developer // MA/AZ // 10+ months // C2C

2019-10-23 Thread Naveen Reddy
Hi  All,

Greetings from  Creative Staffing.

We have an urgent requirement for one of our clients. Please check and send 
me the suitable profiles ASAP.


Role: Salesforce Developer
Location: MA/AZ
Duration: 10+ months
Direct client
Any Visa

Job Details: 
Applicants requirement: 
· Salesforce lightning migration experience
· 5 years+ Salesforce
· Apex, Visualforce, Javascript, XLM, JSON, HTML, etc..
· 3 years+ using Integration – REST, SOAP, etc
· 2 years+ CI, CD, Autorabit, Github, nitbucket, Jenkins, etc
· Sales and service cloud
· Salesforce certified – admin or Platform Developer 1 minimum


Thanks& Regards,
Naveen 
Creative Staffing Consulting
Email: naveenre...@creativestaffing.in
PH: +1512 588 5960

-- 
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/9633ae07-cae6-4987-bc7b-69c25cc12363%40googlegroups.com.


[android-developers] QA Automation Engineer-selenium // Glastonbury,CT // 6+months // C2C

2019-10-17 Thread Naveen Reddy


 

Hi All,


Greetings from Creative Staffing.

 

We have an urgent requirement for one of our clients. Please check and send 
me the suitable profiles ASAP.

 

Role: QA Automation Engineer-Selenium

Location: Glastonbury, CT

Duration: 6+ months

Contract: C2C

 

JD/Skills: 

• Selenium

• API/web service testing (SOAP UI)

• SQL

• In addition to SOAP UI, Postman or Swagger would be viable options

• Functional testing experience,

• BDD, Headless, Agile experience

• Problem solving/Analytical skills

*Interested people please contact us @ **+1512 879 9925*

 

*Thanks& Regards,*

*Naveen  *

*Creativestaffing Consulting*

*Email : naveenre...@creativestaffing.com *

*PH: +1512 879 9925*

 

 

-- 
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/582ae37f-c337-4b50-a7f6-d874837ad927%40googlegroups.com.


[android-developers] QA tester / TX Dallas/ 12 months / corp2corp

2019-09-30 Thread Naveen Reddy


 

Hi Farhan

Greeting from Simba Staffing

Job Title : QA Tester 

Location : TX DALLAS

Duration : 12months

Cotract : Corp To Corp

 

·  

· I have a direct hire position for a QA tester in Knoxville, TN. 

· The client is looking for candidates that have 5+ years as a 
tester, has both automated and manual testing experience, has SQl 
experience, and has worked in a .net shop. 

· This individual will be creating test plans, test cases, and 
taking requirements and turning them into test requirements, UAT, etc. 

· This is an exciting opportunity for someone to come in and create 
an entire QA process for a large organization. 

· This is a very high visibility position where there is a lot of 
growth and opportunity.

 

*Thanks& Regards,*

Chetan

  

*Simba Staffing Consulting*

Email : reddyvarina...@gmail.com

PH: *+1512 879-9925*

 

 

 

-- 
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/dddb8079-6bb6-4c82-ab32-aacfa82b9cdd%40googlegroups.com.


[android-developers] QA tester//glen allen//12 months//c2c

2019-09-20 Thread Naveen Reddy



Hi All

Greeting from Simba Staffing

 

Role : QA Tester

 

Location : Glen Allen, VA

 

Duration : 12 Months

 

 Contract : C2C

 

 

JOB DESCRIPTION

 

 

Strong Healthcare Background.

 

Payer Experience, Claims, Billings.

 

Basic Understanding of Functional testing

 

Minimum of 7+ years of testing experience with healtcare domain

 

should be able to write manual test cases and create test data

 

should be able to execute test cases

 

should know healthcare domain modules like enrollment, claims and billing.

 

 

*Thanks& Regards,*

   

*Simba Staffing Consulting*

Email : sai@simbastaffing.comSandy

PH: *+1512 879-9925*

 

 

 

-- 
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/1a53fdaa-387c-4831-8ab2-7e0b68e41371%40googlegroups.com.


[android-developers] Re: In app billing testing issue...

2014-11-14 Thread Naveen
have a look this u can get here
http://www.androidhub4you.com/2013/03/how-to-inegrate-in-app-purchase-billing.html

On Wednesday, November 5, 2014 2:30:05 PM UTC+5:30, Eden wrote:

 Hi,

 I followed strictly the android dev instructions to test the IABv3 
 http://developer.android.com/google/play/billing/api.html and also 
 this post instructions 
 http://stackoverflow.com/questions/11068686/this-
 version-of-the-application-is-not-configured-for-billing-
 through-google-pla 

 but after waiting more than 48h i have always the same message the 
 version 
 of the application is not configured for billing through google play. I 
 noticed in logs that the response  with the server is OK...

 i have the same problem with my test account with IABv2 and a alpha 
 version 
 of another application

 thanks for your your help

 eden


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


[android-developers] Android Gaming

2014-10-17 Thread Naveen
i have 1+ ex in andoird i want to learn more android like android gaming 
can anyone suggest for android gameing 

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


[android-developers] Re: How to get the device model in android?

2013-01-07 Thread Naveen Kumar MC
Hi Bill.

Need your help
I am using LG GW620. a upgraded to official froyo ROM, but the mobile name 
is showing as KH5200.
is there any way to change the name back to GW620 with the same OS.

Thanks  Regards,
Naveen

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 any One Give Me Some About The IMage Posting in twitter

2012-10-29 Thread Naveen
Can any One Give Me Some About The IMage Posting in twitter
i m new an android any one give suggestuion to post image on twitter

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

Re: [android-developers] [android developers] how to use a viewpager in a fragment?

2012-04-26 Thread Naveen Gunda
*what kind of problems u have got*
*
*
*Regards,*
*
*
*Naveen.G*
*
*
*91-9700637375*

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

Re: [android-developers] [android developers] how to use a viewpager in a fragment?

2012-04-26 Thread Naveen Gunda

 russel send to me project archive naveengun...@gmail.com


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

[android-developers] response{error:{message:An active access token must be used to query information about the current user.,type:OAuthException}} Android Facebook Post

2011-11-30 Thread Naveen
Hello All,


I am doing FaceBook wall posting with message, photo , and link ..in
android getting response from facebook server

response{error:{message:An active access token must be used to
query information about the current user.,type:OAuthException}}


Please guide line me ..

Regards,
Naveen

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Facebook posting not works if any crashing in application and some devices not allowing post wall

2011-11-29 Thread Naveen
Hello All,

Please help me .


I am posting wall on facebook when some one stopped the video play.


then a dialog is appearing user can able to type mesaage for post and
clicking ok btn for post wall.

This is working fine with LG-Optima and Samsung galexy tab.

but some devices giving this error message to me:



Error:
11-29 06:32:46.708: E/WindowManager(10737): Activity
com.halosys.TvAnyTime.VideoPlayer has leaked window
com.android.internal.policy.impl.PhoneWindow$DecorView@44a6e748 that
was originally added here
11-29 06:32:46.708: E/WindowManager(10737): android.view.WindowLeaked:
Activity com.halosys.TvAnyTime.VideoPlayer has leaked window
com.android.internal.policy.impl.PhoneWindow$DecorView@44a6e748 that
was originally added here
11-29 06:32:46.708: E/WindowManager(10737): at
android.view.ViewRoot.init(ViewRoot.java:247)
11-29 06:32:46.708: E/WindowManager(10737): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
11-29 06:32:46.708: E/WindowManager(10737): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
11-29 06:32:46.708: E/WindowManager(10737): at android.view.Window
$LocalWindowManager.addView(Window.java:424)
11-29 06:32:46.708: E/WindowManager(10737): at
android.app.Dialog.show(Dialog.java:241)
11-29 06:32:46.708: E/WindowManager(10737): at
android.app.ProgressDialog.show(ProgressDialog.java:107)
11-29 06:32:46.708: E/WindowManager(10737): at
android.app.ProgressDialog.show(ProgressDialog.java:90)
11-29 06:32:46.708: E/WindowManager(10737): at
com.halosys.TvAnyTime.VideoPlayer$9.onClick(VideoPlayer.java:1109)
11-29 06:32:46.708: E/WindowManager(10737): at
android.view.View.performClick(View.java:2408)
11-29 06:32:46.708: E/WindowManager(10737): at android.view.View
$PerformClick.run(View.java:8816)
11-29 06:32:46.708: E/WindowManager(10737): at
android.os.Handler.handleCallback(Handler.java:587)
11-29 06:32:46.708: E/WindowManager(10737): at
android.os.Handler.dispatchMessage(Handler.java:92)
11-29 06:32:46.708: E/WindowManager(10737): at
android.os.Looper.loop(Looper.java:123)
11-29 06:32:46.708: E/WindowManager(10737): at
android.app.ActivityThread.main(ActivityThread.java:4627)
11-29 06:32:46.708: E/WindowManager(10737): at
java.lang.reflect.Method.invokeNative(Native Method)
11-29 06:32:46.708: E/WindowManager(10737): at
java.lang.reflect.Method.invoke(Method.java:521)
11-29 06:32:46.708: E/WindowManager(10737): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:878)
11-29 06:32:46.708: E/WindowManager(10737): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
11-29 06:32:46.708: E/WindowManager(10737): at
dalvik.system.NativeStart.main(Native Method)


Please need your help

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


[android-developers] offline_access,publish_stream,email,user_birthday facebook permission

2011-11-29 Thread Naveen
Hello All,

Please help me ,

I am using Facebook sdk from github and implementing in android.


I want when user login with facebook then user permission

offline_access,publish_stream,email,user_birthday.


what to need add with sdk..




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


[android-developers] When using seek bar for large file then hang

2011-11-28 Thread Naveen
Hello Developers,


I am playing a .mp4 video file on android video view .


I am using seek bar media controller for forward , backward , play and
pause controller .

It's works fine for small video file , when taking large size video
then it's not work smoothly.. hangs with black screen...


Please give me solution how to handle this cases.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Disable Home button code not working in another application

2011-11-25 Thread Naveen
I am writing this code for block Home keypad of phone when playing
video file android , that works fine but when i am using this code in
another application then it's not working...trying to find possible
way why not disabling the home key

public void onAttachedToWindow()
{
this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
super.onAttachedToWindow();
}

Here manifest file permissions are:

uses-permission xmlns:android=http://schemas.android.com/apk/res/
android
android:name=android.permission.INTERNET/uses-permission
uses-permission
android:name=android.permission.CHANGE_WIFI_MULTICAST_STATE/

uses-permission android:name=android.permission.READ_INPUT_STATE/
uses-permission
uses-permission
android:name=android.permission.ACCESS_NETWORK_STATE /
 uses-permission android:name=android.permission.READ_PHONE_STATE/

uses-permission
android:name=android.permission.WRITE_EXTERNAL_STORAGE/
  uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION /
uses-permission
android:name=android.permission.ACCESS_MOCK_LOCATION /
uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION /
uses-permission android:name=android.permission.DISABLE_KEYGUARD/


Activity

   activity android:name=VideoPlayer android:theme=@android:style/
Theme.NoTitleBar.Fullscreen android:screenOrientation=landscape/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] this.requestWindowFeature(Window.FEATURE_NO_TITLE); code not work when home key block

2011-11-25 Thread Naveen
Hello All,

I do not want title bar so coded
this.requestWindowFeature(Window.FEATURE_NO_TITLE);  but when using
this below code then this title bar code not works it's showing title
header .


 @Override
public void onAttachedToWindow() {
 
this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);


super.onAttachedToWindow();
}

But in create i have already coded

  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] This page contains the following error: error on line 2 at colum 159: EntityRef: expecting ';' Reparse document as HTML. Below is a rendering of the page up to the first error.

2011-11-25 Thread Naveen
Hello All,

I am installing a apk file on Samsung galaxy, this apk file contains
facebook login sdkwhen logging with facebook  then getting error:

This page contains the following error: error on line 2 at colum 159:
EntityRef: expecting ';' Reparse document as HTML. Below is a
rendering of the page up to the first error. By the way, I have
installed the latest upgrade and I'm using a Samsung Galaxy.


When installing this apk on LG devices then no error occurs with
facebook.

Why i am getting this error only with Samsung Galaxy android phone.

Please help me ...


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


[android-developers] Calculate percentage of a video file

2011-11-24 Thread Naveen
Hello Sir,


I am playing a video file , i want to calculate percentage of video
file . using this code

int current=video.getDuration();
int total= video.getCurrentPosition();
int per = (current/total)*100;


This way is wrong behave please confirm me this is right or wrong.


which is easiest way solve my issue.


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


[android-developers] complete video player app crash on back btn

2011-11-24 Thread Naveen
Hello All,

Please see the code

 public void onCompletion(MediaPlayer mp) {
 CompleteFlag = true;

 video.pause();

/* */
/*if(checkNetworkConnection()){

try {
new PostUsesData().execute(T);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}*/
// set the message to display


try {
EncryptVideo(IDValue);
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}

alertbox.setTitle(Message);
alertbox.setMessage(Do you want to delete this video ?);


// set a positive/yes button and create a listener
alertbox.setPositiveButton(Yes,
new DialogInterface.OnClickListener() {

// do something when the button is 
clicked
public void onClick(DialogInterface 
arg0, int arg1) {
try {
 new File(path).delete();

/*  
Toast.makeText(getApplicationContext(),
Thanks,Inprogress..,

Toast.LENGTH_SHORT).show();*/

} catch (Exception e) {
// TODO Auto-generated 
catch block
e.printStackTrace();
}



 try {
Intent myIntent = new 
Intent(VideoPlayer.this,

WatchActivity.class);


// here

myIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(myIntent);
} catch (Exception e) {
// TODO Auto-generated 
catch block
e.printStackTrace();
}



}
});



alertbox.setNegativeButton(No,
new DialogInterface.OnClickListener() {

// do something when the button is 
clicked
public void onClick(DialogInterface 
arg0, int arg1) {
showDialog(0);
}
});

// display box
alertbox.show();

// IntroFaceBookScreen.mFacebook.dialog(this, stream.publish,
parameters, this);
}



Here i am playing a video when video completed then back button or
navigating on activity gives crash, before finish the video when back
press no error .

Please help me what mistake by me here

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


[android-developers] Home and back key of device key pad

2011-11-23 Thread Naveen
How to handle Home and Back key of a device.


down vote favorite
3
share [fb] share [tw]


So I have this method in one of my Android Activities:

@Override
public boolean onKeyDown(int keyCode, KeyEvent event)
{
if(keyCode == KeyEvent.KEYCODE_BACK)
{
Log.d(Test, Back button pressed!);
}
else if(keyCode == KeyEvent.KEYCODE_HOME)
{
Log.d(Test, Home button pressed!);
}
return super.onKeyDown(keyCode, event);
}



Here this code only works with back button but not with home key..

Please help me , i want seperate functionality on Home key separate
functionality on back key.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Facebook posting not works if any crashing in application

2011-11-23 Thread Naveen
Hello All,

I am using facebook posting in android app, if any crashing occur in
app then facebook object loosed by App. then after facebook posting
not work for us.


Please give me guideline till app persist android facebook posting
works


regards,
Naveen

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

2011-11-22 Thread naveen raj
Hi ,

I have few questions regarding android monkey.

a) How do I know, what are the events generated by android Monkey ?

b) Can I define the events for android monkey ?

c)  Does this android monkey tool works for all android devices (for
ex: Android tablets) ?


Regards
Naveen

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


[android-developers] i want to assign a task for copy a file to receiver class. how to handle that cases in android.receiver class is able to generate message but not copying the file . how to handle

2011-11-17 Thread Naveen
i want to assign a task for copy a file to receiver class. how to
handle that cases in android.receiver  class is able to generate
message but not copying the file . how to handle that cases.

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

2011-11-16 Thread Naveen
Hello All,

I want to create a app,  i am  creating naveen folder in sdcard , i
want  when user attached with USB cable and dragging file in Root
sdcard then that moment i want to read device is connected with usb .
means i want to create a service in app that look for usb attachment
check , if attached and drag a file in sdcard then auto move in /
sdcard/naveen  .

How to handle usb is connected or not android code


regards ,

Nav

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

2011-11-15 Thread Naveen
Hello All,


I want create a small app when user attached device with usb  then the
app gives message usb cable is available with app,

if user remove usb then message usb cable removed.

Please guide me ..

Here we getting url

http://developer.android.com/guide/topics/usb/host.html

need url when attached usb then get message in app when remove cable
then message

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

2011-11-14 Thread Naveen
Hello Sir,

I have created a folder on sdcard , i want security there someone not
delete the folder only root user delete folder ,

not getting solution on google more

need your support,

Regards,
Naveen

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

2011-11-08 Thread Naveen
Hello Sir,


I have a two listview one is lv1 and second is lv2 ,

want to load listview2 data after listview1 loaded ,

Please help me

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


[android-developers] Marge to listview when after one list finished

2011-11-08 Thread Naveen
Hello Sir,


I have a two listview one is lv1 and second is lv2 ,

want to load listview2 data after listview1 loaded ,

Please help me

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


[android-developers] hava a drag and drop listview, when doing drag and drop on listview then scroll not working please help me how scroll work when dragging and dropping items on list.

2011-11-08 Thread Naveen
Hello All,


I hava a drag and drop listview, when doing drag and drop on listview
then scroll not working please help me how scroll work when dragging
and dropping  items on list.


Refer this Link:

http://ericharlow.blogspot.com/2010/10/experience-android-drag-and-drop-list.html?showComment=1320819281143#c7590849652991362556


Regards,
Naveen Kumar

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

2011-10-17 Thread Naveen
Hello Sir,

I have a web apache server with  URL  https://IP Address/xmlrpc,

It's contain XML-RPC api , in case of PHP and iphone/ipad , server
response fine with Post method.

But in case of android SSL selfed signed cert is handled ,same server
url in android giving 404 server errror code.

Some one please help me.

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


[android-developers] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

2011-10-11 Thread Naveen
I want to play video file from application context row directory

MediaPlayer mediaPlayer = MediaPlayer.create(context,
R.raw.sound_file_1);
mediaPlayer.start(); // no need to call prepare(); create() does that
for you


This video contains size is 19.5 MB  facing error :

 Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
Please check logcat output for more details.
 Launch canceled!

Please help me can i able to play 19MB from raw directory

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

2011-10-11 Thread Naveen
Hello friends ,


i am using below code for copy file from asert folder , that's work
but not able to copy complete file only 9MB file copied ,

Please help me , i have already changed the byte array size with video
file size but same saze video in sdcard

private void CopyAssets() {
AssetManager assetManager = getAssets();
String[] files = null;
try {
files = assetManager.list();
} catch (IOException e) {
Log.e(tag, e.getMessage());
}
for(String filename : files) {
InputStream in = null;
OutputStream out = null;
try {
  in = assetManager.open(filename);
  out = new FileOutputStream(/sdcard/ + filename);
  copyFile(in, out);
  in.close();
  in = null;
  out.flush();
  out.close();
  out = null;
} catch(Exception e) {
Log.e(tag, e.getMessage());
}
}
}
private void copyFile(InputStream in, OutputStream out) throws
IOException {
byte[] buffer = new byte[2048];
int read;
while((read = in.read(buffer)) != -1){
  out.write(buffer, 0, read);
}
}

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

2011-10-06 Thread Naveen
Hello Developers,

I am facing a different type of issue, i have a layout which
contains   One expandableListview and another Listview , i have
designed this layout using framelayout now all click events works for
expandable and listview but expandablechild and list child click
events not working trying to find the issue but here each entry is
fine on layout only click event on listchild and expandable child is
not working...

Please check what i am missing



expList.setOnChildClickListener(new OnChildClickListener() {

public boolean onChildClick(ExpandableListView 
arg0, View arg1,
int arg2, int arg3, long arg4) {


Log.i(clicked ,clicked);

Toast.makeText(getApplicationContext(),
Child ItemClicked  + 
arg2 +   + arg3,

Toast.LENGTH_SHORT).show();


return false;
}
});
//movie list click here
l1.setOnItemClickListener(new AdapterView.OnItemClickListener() 
{
public void onItemClick(AdapterView a, View v, int 
position, long
id) {
Log.i(listview, clicked1);

Toast.makeText(getApplicationContext(),
Child ItemClicked  + position 
,
Toast.LENGTH_SHORT).show();

}
});

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

2011-10-06 Thread Naveen
i am using custom list , it's
l1.setAdapter(new EfficientAdapter(this));

l1.setFocusable(true);
l1.setClickable(true);
l1.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView? adapter, View
view,  int pos, long id) {
Log.i(listview, clicked1);

Toast.makeText(getApplicationContext(),
Child ItemClicked  + pos ,
Toast.LENGTH_SHORT).show();

}
});



it's not working

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

2011-10-05 Thread Naveen
yes i am talking abt single application,

suppose appllication X i have opened dialog and i went to settings
application throgh task manager. Their i will change font style, and
will return back to application X, application X will refreshed and it
will recreated.

but dialog is not dismissed. how to dismiss this dialog?



On Oct 5, 2:35 am, Studio LFP studio@gmail.com wrote:
 I'm not quite understanding.

 Are you talking about two different applications? One is yours and one is
 someone elses?

 Or are you talking about two different activities within your application?

 Steven
 Studio LFPhttp://www.studio-lfp.com



 On Tuesday, October 4, 2011 9:28:43 AM UTC-5, Naveen wrote:

  How can i dismiss the dialog,
  Opening the dialog of one application and going to the setting
  application to change the  font style in the settings and cum back to
  the pervious application by pressing back key, the application is re-
  created but dialog is not dismissed.

  I want to dismiss dialog of the application( dialog object is not
  visible)

  Thanks.- 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] Dismiss dialog

2011-10-04 Thread Naveen
How can i dismiss the dialog,
Opening the dialog of one application and going to the setting
application to change the  font style in the settings and cum back to
the pervious application by pressing back key, the application is re-
created but dialog is not dismissed.

I want to dismiss dialog of the application( dialog object is not
visible)

Thanks.

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


[android-developers] H.264 support android

2011-09-30 Thread Naveen
i have mp4 video file with extension mp4, that video is not playing on
surface using codec android. hen decoding video in form of h.264 then
it's play, give me guideline how to play video using h.264 support in
android framework.

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


[android-developers] i want to load image from array on expandable group list and child list also

2011-09-05 Thread Naveen
i want to load image from array on expandable group list and child
list also


package com.halosys;

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

import android.app.ExpandableListActivity;
import android.os.Bundle;
import android.widget.SimpleExpandableListAdapter;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;

public class Exp_RandDActivity extends ExpandableListActivity
{
static final String colors[] = {
  grey,
  blue,
  yellow,
  red
};

static final String shades[][] = {
// Shades of grey
  {
lightgrey,#D3D3D3,
dimgray,#696969,
sgi gray 92,#EAEAEA
  },
// Shades of blue
  {
dodgerblue 2,#1C86EE,
steelblue 2,#5CACEE,
powderblue,#B0E0E6
  },
// Shades of yellow
  {
yellow 1,#00,
gold 1,#FFD700,
darkgoldenrod 1, #FFB90F
  },
// Shades of red
  {
indianred 1,#FF6A6A,
firebrick 1,#FF3030,
maroon,#80
  }
};

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.main);

SimpleExpandableListAdapter expListAdapter =
new SimpleExpandableListAdapter(
this,
createGroupList(),  // groupData describes 
the first-level entries
R.layout.child_row, // Layout for the 
first-level entries
new String[] { colorName },   // Key in the 
groupData maps to
display
new int[] { R.id.childname },   // Data 
under colorName key goes
into this TextView
createChildList(),  // childData describes 
second-level entries
R.layout.child_row, // Layout for 
second-level entries
new String[] { shadeName, rgb },// Keys 
in childData maps to
display
new int[] { R.id.childname, R.id.rgb }  // Data 
under the keys
above go into these TextViews
);
setListAdapter( expListAdapter );
}

/**
  * Creates the group list out of the colors[] array according to
  * the structure required by SimpleExpandableListAdapter. The
resulting
  * List contains Maps. Each Map contains one entry with key
colorName and
  * value of an entry in the colors[] array.
  */
private List createGroupList() {
  ArrayList result = new ArrayList();
  for( int i = 0 ; i  colors.length ; ++i ) {
HashMap m = new HashMap();
m.put( colorName,colors[i] );
result.add( m );
  }
  return (List)result;
}

/**
  * Creates the child list out of the shades[] array according to the
  * structure required by SimpleExpandableListAdapter. The resulting
List
  * contains one list for each group. Each such second-level group
contains
  * Maps. Each such Map contains two keys: shadeName is the name of
the
  * shade and rgb is the RGB value for the shade.
  */
  private List createChildList() {
ArrayList result = new ArrayList();
for( int i = 0 ; i  shades.length ; ++i ) {
// Second-level lists
  ArrayList secList = new ArrayList();
  for( int n = 0 ; n  shades[i].length ; n += 2 ) {
HashMap child = new HashMap();
child.put( shadeName, shades[i][n] );
child.put( rgb, shades[i][n+1] );
secList.add( child );
  }
  result.add( secList );
}
return result;
  }

}


what to do for run time image with groupview and child view.

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

2011-09-03 Thread Naveen
how to transcoded video file in java code

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


[android-developers] Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-02 Thread Naveen
Please see this example when i am taking small file then it works but
when taking large video size with 1gb approx then outofmemory error


import java.io.*;

public class ReadFileByteArray {

public static void main(String[] args) {

//create file object
File file = new File(C://FileIO//ReadString.txt);

try
{
//create FileInputStream object
FileInputStream fin = new FileInputStream(file);

/*
  * Create byte array large enough to hold the content of the file.
  * Use File.length to determine size of the file in bytes.
  */


byte fileContent[] = new byte[(int)file.length()];

/*
  * To read content of the file in byte array, use
  * int read(byte[] byteArray) method of java FileInputStream class.
  *
  */
fin.read(fileContent);

//create string from byte array
String strFileContent = new String(fileContent);

System.out.println(File content : );
System.out.println(strFileContent);

}
catch(FileNotFoundException e)
{
System.out.println(File not found + e);
}
catch(IOException ioe)
{
System.out.println(Exception while reading the file  + ioe);
}
}
}


/*
Output would be
File content :
This file is for demonstration of how to read file in byte array
using Java FileInputStream.
*/

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


[android-developers] i want to read last 12 bytes of this file

2011-09-02 Thread Naveen
i have large mp4  file  i want to read last 12 bytes of this file,

long position=filesize.length-12;

 plz help me now what to do for read 12 bytes from position

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

2011-09-01 Thread Naveen
Hello Android developer,

I have a video file which containing  meta data. i want to retrieve
the meta data from this video particular position of file video.


Please refer me perfect link. or coding stubs which will be best for
handle large video file also.

Thanks
NaVi

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

2011-09-01 Thread Naveen
i am using videoview android.accessing videoview id from xml file.

now i want  android volume control with android videoview .

help me.

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


[android-developers] Change frame size android

2011-08-30 Thread Naveen
Suppose we have a video, it's video frame size 320X220 (width ,
height ). i want to convert this video frame size in 480X360 by code
java 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] handle byte memory here

2011-08-30 Thread Naveen
byte[] fullData = new byte[(int) filelen]; here it's byte array
integer type so facing outofmemory data is range of long size. byte
array not taking length long time default typecasting int

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

2011-08-26 Thread Naveen
Hi developers,

Now i am able to play approx 50MB video by using ffmpeg codec
interface when trying to play approx 200mb or 1gb video then only
audio works video not on surface.

Please help what need change in code.why i am not able to play long
video. what are the limitations on android large video mp4 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] what's main basic difference between mpeg4 and h264 codec

2011-08-26 Thread Naveen
what's main basic difference between mpeg4 and h264  codec

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 control movie rate like 320kbps in android ffmpeg android jni.

2011-08-25 Thread Naveen
how to control movie rate like 320kbps in android ffmpeg android jni.

which file contains it's all setting in jni library in android code.

Please help me if any tool for measuring the video speed.

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

2011-08-24 Thread Naveen
What is the best way for send request body to server socket and take
response from server socket.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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/FFMpegMediaPlayer(3889): AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s.

2011-08-24 Thread Naveen

Android is not allowing me to place the large video on surface, it's
Android - firmware(Video view) limitation, so resolving this issue
need codec interface for place video on surface.

i am trying to integrate codec using  JAVA JNI.

i am using ffmpeg library for video codec interface, that works  but
facing some issues. Audio is running but video not appear on surface
view.

C++ video view library is not getting two values  sws_format_name(c-
srcFormat), sws_format_name(c-dstFormat) so error.

error msg occur:08-23 18:12:29.002: ERROR/FFMpegMediaPlayer(3889):
AV_LOG_WARNING: No accelerated colorspace conversion found from %s to
%s.


NOTE:Here unavailability of c-dstFormat this value it's not going
switch statement for accelerate the video.For more information review
the attached document.

Error Block resign:

 if (t)
return t;

av_log(c, AV_LOG_WARNING, No accelerated colorspace conversion
found from %s to %s.\n, sws_format_name(c-srcFormat),
sws_format_name(c-dstFormat))
;

switch (c-dstFormat) {
case PIX_FMT_RGB48BE:
case PIX_FMT_RGB48LE:return yuv2rgb_c_48;
case PIX_FMT_ARGB:
case PIX_FMT_ABGR:   if (CONFIG_SWSCALE_ALPHA  c-srcFormat
== PIX_FMT_YUVA420P) return yuva2argb_c;
case PIX_FMT_RGBA:
case PIX_FMT_BGRA:   return (CONFIG_SWSCALE_ALPHA  c-
srcFormat == PIX_FMT_YUVA420P) ? yuva2rgba_c : yuv2rgb_c_32;
case PIX_FMT_RGB24:  return yuv2rgb_c_24_rgb;
case PIX_FMT_BGR24:  return yuv2rgb_c_24_bgr;
case PIX_FMT_RGB565:
case PIX_FMT_BGR565:
case PIX_FMT_RGB555:
case PIX_FMT_BGR555: return yuv2rgb_c_16;
case PIX_FMT_RGB444:
case PIX_FMT_BGR444: return yuv2rgb_c_12_ordered_dither;
case PIX_FMT_RGB8:
case PIX_FMT_BGR8:   return yuv2rgb_c_8_ordered_dither;
case PIX_FMT_RGB4:
case PIX_FMT_BGR4:   return yuv2rgb_c_4_ordered_dither;
case PIX_FMT_RGB4_BYTE:
case PIX_FMT_BGR4_BYTE:  return yuv2rgb_c_4b_ordered_dither;
case PIX_FMT_MONOBLACK:  return yuv2rgb_c_1_ordered_dither;
default:
assert(0);

Please help me , i will very thankful of you.

please confirm me error resign.

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


[android-developers] what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-24 Thread Naveen
what are the best practices for good coding skills and classes,
methods, and variables  naming  +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] ffmpeg jni codec issue

2011-08-24 Thread Naveen
Hello Android Community ,

I am facing issue for play large video

Android is not allowing me to place the large video on surface, it's
Android - firmware(Video view) limitation, so resolving this issue
need codec interface for place video on surface.

i am trying to integrate codec using  JAVA JNI.

i am using ffmpeg library for video codec interface, that works  but
facing some issues. Audio is running but video not appear on surface
view.

C++ video view library is not getting two values  sws_format_name(c-
srcFormat), sws_format_name(c-dstFormat) so error.

error msg occur:08-23 18:12:29.002: ERROR/FFMpegMediaPlayer(3889):
AV_LOG_WARNING: No accelerated colorspace conversion found from %s to
%s.


NOTE:Here unavailability of c-dstFormat this value it's not going
switch statement for accelerate the video.For more information review
the attached document.

Error Block resign:

 if (t)
return t;

av_log(c, AV_LOG_WARNING, No accelerated colorspace conversion
found from %s to %s.\n, sws_format_name(c-srcFormat),
sws_format_name(c-dstFormat))
;

switch (c-dstFormat) {
case PIX_FMT_RGB48BE:
case PIX_FMT_RGB48LE:return yuv2rgb_c_48;
case PIX_FMT_ARGB:
case PIX_FMT_ABGR:   if (CONFIG_SWSCALE_ALPHA  c-srcFormat
== PIX_FMT_YUVA420P) return yuva2argb_c;
case PIX_FMT_RGBA:
case PIX_FMT_BGRA:   return (CONFIG_SWSCALE_ALPHA  c-
srcFormat == PIX_FMT_YUVA420P) ? yuva2rgba_c : yuv2rgb_c_32;
case PIX_FMT_RGB24:  return yuv2rgb_c_24_rgb;
case PIX_FMT_BGR24:  return yuv2rgb_c_24_bgr;
case PIX_FMT_RGB565:
case PIX_FMT_BGR565:
case PIX_FMT_RGB555:
case PIX_FMT_BGR555: return yuv2rgb_c_16;
case PIX_FMT_RGB444:
case PIX_FMT_BGR444: return yuv2rgb_c_12_ordered_dither;
case PIX_FMT_RGB8:
case PIX_FMT_BGR8:   return yuv2rgb_c_8_ordered_dither;
case PIX_FMT_RGB4:
case PIX_FMT_BGR4:   return yuv2rgb_c_4_ordered_dither;
case PIX_FMT_RGB4_BYTE:
case PIX_FMT_BGR4_BYTE:  return yuv2rgb_c_4b_ordered_dither;
case PIX_FMT_MONOBLACK:  return yuv2rgb_c_1_ordered_dither;
default:
assert(0);

Please help me , i will very thankful of you.

please confirm me error resign.

Thanks,

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


[android-developers] Re: how to integrate video codec for video view android

2011-08-23 Thread Naveen
Android Community  not giving me any response of my question.i am
waiting for 19 august.

what to do now for this type of help.very unhappy with android this
limitation.

On Aug 19, 6:30 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
wrote:
 On Fri, Aug 19, 2011 at 6:47 PM, Appaholics raghavs...@appaholics.inwrote:









  AFAIK there is only onehttp://source.android.com. You will need to look
  into the community tab.

  Thanks

  On Fri, Aug 19, 2011 at 6:34 PM, NaveenShrivastva 
  kumarnaveen.si...@gmail.com wrote:

  On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy 
  mmur...@commonsware.comwrote:

  On Fri, Aug 19, 2011 at 8:30 AM, Naveen kumarnaveen.si...@gmail.com
  wrote:
   I am not getting any perfect way for codec implementation, plz help me
   other wise i think it's android drawback

  Codecs to plug into OpenCORE (Android 2.2 and earlier) or StageFright
  (Android 2.2 and newer) are part of the firmware. If you are
  interested in developing firmware codecs, please find an appropriate
  list onhttp://source.android.com.

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

  _Android Programming Tutorials_ Version 3.9 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

  how to findan appropriate  http://source.android.com.  ? you right i
  want firmware codec integration ...help me plz

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

  --
  --
  Raghav Sood
  CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
  required to have complete control)
 http://www.raghavsood.com/
 https://market.android.com/developer?pub=Appaholics
 http://www.appaholics.in/

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

 yes sir, i have posted my issue but not sure they will help or not?This
 issue only with android, i think apple development is best for this line.

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

2011-08-23 Thread Naveen
what is the accelerated colorspace for android video on surface.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] view is not getting two values sws_format_name(c-srcFormat), sws_format_name(c-dstFormat)

2011-08-23 Thread Naveen
Hi Developers,

i am using you ffmpeg library .

view is not getting two values  sws_format_name(c-srcFormat),
sws_format_name(c-dstFormat)

so error msg occur
ERROR/FFMpegMediaPlayer(3889): AV_LOG_WARNING: No accelerated
colorspace conversion found from %s to %s.


Here due to this error This block not starting it's switch statement;

 if (t)
return t;

av_log(c, AV_LOG_WARNING, No accelerated colorspace conversion
found from %s to %s.\n, sws_format_name(c-srcFormat),
sws_format_name(c-dstFormat));

switch (c-dstFormat) {
case PIX_FMT_RGB48BE:
case PIX_FMT_RGB48LE:return yuv2rgb_c_48;
case PIX_FMT_ARGB:
case PIX_FMT_ABGR:   if (CONFIG_SWSCALE_ALPHA  c-srcFormat
== PIX_FMT_YUVA420P) return yuva2argb_c;
case PIX_FMT_RGBA:
case PIX_FMT_BGRA:   return (CONFIG_SWSCALE_ALPHA  c-
srcFormat == PIX_FMT_YUVA420P) ? yuva2rgba_c : yuv2rgb_c_32;
case PIX_FMT_RGB24:  return yuv2rgb_c_24_rgb;
case PIX_FMT_BGR24:  return yuv2rgb_c_24_bgr;
case PIX_FMT_RGB565:
case PIX_FMT_BGR565:
case PIX_FMT_RGB555:
case PIX_FMT_BGR555: return yuv2rgb_c_16;
case PIX_FMT_RGB444:
case PIX_FMT_BGR444: return yuv2rgb_c_12_ordered_dither;
case PIX_FMT_RGB8:
case PIX_FMT_BGR8:   return yuv2rgb_c_8_ordered_dither;
case PIX_FMT_RGB4:
case PIX_FMT_BGR4:   return yuv2rgb_c_4_ordered_dither;
case PIX_FMT_RGB4_BYTE:
case PIX_FMT_BGR4_BYTE:  return yuv2rgb_c_4b_ordered_dither;
case PIX_FMT_MONOBLACK:  return yuv2rgb_c_1_ordered_dither;
default:
assert(0);

Please help me , i will very thankful of you.

please confirm me error resign .

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

2011-08-22 Thread Naveen
i think android development is very bad for android developer compare
to xcode.

xcode giving framework for each and every ap implementation.


here i want to generate a codec interface facing issue, post to
android community but not getting any response back by him.



Thanks,

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


[android-developers] Only audio, no video

2011-08-22 Thread Naveen


I managed to compile the debug Branch and I could play videos, but I
get no video - only audio is working.

The libraries are loaded and also no other errors in LogCat, except
AV_LOG_WARNING: No accelerated colorspace conversion found from %s to
%s, but I think that's ok.

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


[android-developers] No accelerated colorspace conversion found from %s to %s. FFMpeg android

2011-08-20 Thread Naveen
No accelerated colorspace conversion found from %s to %s. facing this
issue in  FFMpeg android.please help me.

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


[android-developers] how to integrate video codec for video view android

2011-08-19 Thread Naveen
I am not getting any perfect way for codec implementation, plz help me
other wise i think it's android drawback

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


[android-developers] i want to insert more than 5000 -records in android in a second

2011-07-11 Thread naveen kumar
i want to insert more than 5000 -records in android very fastly

 using ContentValues initialValues = new ContentValues(); also used
BeginTransaction statement but not effective

Please give me suggestion

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

2011-07-07 Thread naveen kumar
String epdata=sdfsad;
Object epArry=  (Object) epdata;

facing issues plz help me

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


[android-developers] i donot want facebook remember password dialog android sdk-webview

2011-07-06 Thread naveen kumar
Hello sir,

when i am login on facebook by using android facebook sdk then popup
alert dialog appear for save password history for browser, i want
diaper that one,


Thanks,

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


[android-developers] android facebook SDK disable password remember me popup functionality

2011-07-06 Thread naveen kumar
android facebook SDK disable password remember me popup functionality

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

2011-07-02 Thread naveen kumar
hi all,

i have multiple long process for one activity, i want to many process
with multiple thread in android.

i want to use Async task please help me Async task Simultaneous handle
multiple process or One activity is able to execute more than one
async task or one Activity have only one async task

Plz 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] How to hadle bulk of XML response in Java/Android

2011-07-01 Thread naveen kumar
Hi All Android developer,


Till now i am not getting perfect solution for

===

i am getting large server response in XML format.i am not able to save
that all response in String for parser.

getting Outofmemory exception, so i am taking line line by line
response that works .


but i want to handle bulk of response fastly , now it's take 10
minutes.

Please help me how to handle bulk of XML-response from server.

very urgent need for me..


Thanks,

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


[android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) val

2011-07-01 Thread naveen kumar
 Caused by: android.database.sqlite.SQLiteException: unrecognized
token: :: , while compiling: insert into tblShows
(shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) values
(http://a725.phobos.apple.com/us/r1000/054/Video/e4/50/b7/mzl.qynukdwm.
133x100-99.jpg,,Comedy,30 Rock,tv,S00281,show_S00281.png)

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

2011-07-01 Thread naveen kumar
i want to bindLong primary key with auto increment .

i have many coloumns with many value but

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Video codec integration issue someone help me who have 3+ yrs experience not for child developer

2011-06-30 Thread naveen kumar
hi i have downloaded github all libirary for media Jni and video
player support. from

http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=codecs_v2/audio/aac/dec;hb=HEAD


i am confused how to use codec interface by using this code.

please share me step by step support for media codec integration for
video play.



Thanks,

Naveen

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Video codec integration issue someone help me who have 3+ yrs experience not for child developer

2011-06-30 Thread naveen kumar


On Jun 30, 4:51 pm, naveen kumar kumarnaveen.si...@gmail.com wrote:
 hi i have downloaded github all libirary for media Jni and video
 player support. from

 http://android.git.kernel.org/?p=platform/external/opencore.git;a=tre...

 i am confused how to use codec interface by using this code.

 please share me step by step support for media codec integration for
 video play.

 Thanks,

 Naveen


Why i am not geeting response by any developer ..

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

2011-06-30 Thread naveen kumar
I am able ndk interface with android code.

please some one help me how to integrate codec interface with video
and api.

Please refer me perfect url for play video using codec.

i will be very thankful for u all.

Please help me i m totally confused with integration part.


i am not getting any link for codec interface.

Thanks,

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


[android-developers] GPAC Instance Interface$Gpac Instance Exception: Error while creating instance

2011-06-29 Thread naveen kumar
Hi i am using JNI interface now i am not able to use that one wirh my
project android.mk file, i think geeting this issue due to this
resign.


Please help me
Naveen


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

2011-06-27 Thread naveen kumar
Hello all android developer,


Please help me how to integrate video software codec for Android.if
you have pefect answer then plz help me else
thanks,

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


[android-developers] How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar
Hello Google Android Developer,

I am trying to play large video from sdcard by android code, that is
not playing,i dont want to play video from url,

so please help me how to play large video in android from local
folder..

In case of XCODE by using mediaplayer they able to play any type of
large video.

Android also supports mediaplayer api for media file.

Here i am only listening the voice i am not able to place view on
surface holder.

is possible to see video using mediaplayer in android framework.

Please someone reply me clearly.

if not solution then kindly help me for to divide the 1gb file in
300MB.


Thanks, in advance

i am not getting perfect answer by google.

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


[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 1:30 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
wrote:
 On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales 
 therevolti...@gmail.comwrote:











 http://developer.android.com/resources/samples/ApiDemos/src/com/examp...

  On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar 
  kumarnaveen.si...@gmail.com wrote:

  Hello Google Android Developer,

  I am trying to play large video from sdcard by android code, that is
  not playing,i dont want to play video from url,

  so please help me how to play large video in android from local
  folder..

  In case of XCODE by using mediaplayer they able to play any type of
  large video.

  Android also supports mediaplayer api for media file.

  Here i am only listening the voice i am not able to place view on
  surface holder.

  is possible to see video using mediaplayer in android framework.

  Please someone reply me clearly.

  if not solution then kindly help me for to divide the 1gb file in
  300MB.

  Thanks, in advance

  i am not getting perfect answer by google.

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

  --
  ~ Jeremiah:9:23-24
  Android 2D MMORPG:http://solrpg.com/,
 http://www.youtube.com/user/revoltingx

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

 package com.halosys.VideoPlayer;

 import java.io.File;
 import java.io.FileOutputStream;
 import java.io.InputStream;

 import android.app.Activity;
 import android.media.MediaPlayer;
 import android.os.Bundle;
 import android.util.Log;
 import android.view.MotionEvent;
 import android.view.SurfaceHolder;
 import android.view.View;
 import android.view.View.OnTouchListener;
 import android.widget.VideoView;

 public class ActivityMediaPlayer extends Activity implements
 SurfaceHolder.Callback,
                 MediaPlayer.OnBufferingUpdateListener,
                 MediaPlayer.OnCompletionListener,
 MediaPlayer.OnErrorListener,
                 MediaPlayer.OnPreparedListener {

         private static final String TAG = VideoMAN;
         final MediaPlayer p = new MediaPlayer();

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

                 log(launched);
                 final VideoView vv = (VideoView)
 findViewById(R.id.surface_view);

                 try {
                         vv.setEnabled(true);
                         vv.setOnTouchListener(new OnTouchListener() {

                                 public boolean onTouch(View v, MotionEvent
 event) {
                                         if (event.getAction() ==
 MotionEvent.ACTION_UP)
                                                 try {

 p.setDataSource(/sdcard/watch/movie.mp4) ;

 //.getFileDescriptor());
 //                                          p.setDisplay(vv.getHolder());

 p.setOnBufferingUpdateListener(ActivityMediaPlayer.this);

 p.setOnCompletionListener(ActivityMediaPlayer.this);

 p.setOnErrorListener(ActivityMediaPlayer.this);

 p.setOnPreparedListener(ActivityMediaPlayer.this);
                                                         log(clicked...);
                                                         p.prepareAsync();
                                                         vv.start();
                                                 } catch (Exception e) {
                                                         e.printStackTrace();
                                                 }
                                         return true;
                                 }
                         });

                         vv.bringToFront();
                         vv.setClickable(true);
                         vv.getHolder().addCallback(this);

                 } catch (Exception e) {
                         // TODO Auto-generated catch block
                         e.printStackTrace();
                 }
         }

         public void surfaceChanged(SurfaceHolder holder, int format, int
 width,  int height) {
                 log(surface changed);
         }

         public void surfaceCreated(SurfaceHolder holder) {
                 log(surface created);
         }

         public void surfaceDestroyed(SurfaceHolder holder) {
                 log(surface destroyed);
         }

         public

[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 2:20 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
wrote:
 On Fri, Jun 24, 2011 at 2:18 PM, naveen kumar
 kumarnaveen.si...@gmail.comwrote:











  On Jun 24, 1:30 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
  wrote:
   On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales 
  therevolti...@gmail.comwrote:

   http://developer.android.com/resources/samples/ApiDemos/src/com/examp.
  ..

On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar 
kumarnaveen.si...@gmail.com wrote:

Hello Google Android Developer,

I am trying to play large video from sdcard by android code, that is
not playing,i dont want to play video from url,

so please help me how to play large video in android from local
folder..

In case of XCODE by using mediaplayer they able to play any type of
large video.

Android also supports mediaplayer api for media file.

Here i am only listening the voice i am not able to place view on
surface holder.

is possible to see video using mediaplayer in android framework.

Please someone reply me clearly.

if not solution then kindly help me for to divide the 1gb file in
300MB.

Thanks, in advance

i am not getting perfect answer by google.

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

--
~ Jeremiah:9:23-24
Android 2D MMORPG:http://solrpg.com/,
   http://www.youtube.com/user/revoltingx

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

   package com.halosys.VideoPlayer;

   import java.io.File;
   import java.io.FileOutputStream;
   import java.io.InputStream;

   import android.app.Activity;
   import android.media.MediaPlayer;
   import android.os.Bundle;
   import android.util.Log;
   import android.view.MotionEvent;
   import android.view.SurfaceHolder;
   import android.view.View;
   import android.view.View.OnTouchListener;
   import android.widget.VideoView;

   public class ActivityMediaPlayer extends Activity implements
   SurfaceHolder.Callback,
                   MediaPlayer.OnBufferingUpdateListener,
                   MediaPlayer.OnCompletionListener,
   MediaPlayer.OnErrorListener,
                   MediaPlayer.OnPreparedListener {

           private static final String TAG = VideoMAN;
           final MediaPlayer p = new MediaPlayer();

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

                   log(launched);
                   final VideoView vv = (VideoView)
   findViewById(R.id.surface_view);

                   try {
                           vv.setEnabled(true);
                           vv.setOnTouchListener(new OnTouchListener() {

                                   public boolean onTouch(View v,
  MotionEvent
   event) {
                                           if (event.getAction() ==
   MotionEvent.ACTION_UP)
                                                   try {

   p.setDataSource(/sdcard/watch/movie.mp4) ;

   //.getFileDescriptor());
   //                                          p.setDisplay(vv.getHolder());

   p.setOnBufferingUpdateListener(ActivityMediaPlayer.this);

   p.setOnCompletionListener(ActivityMediaPlayer.this);

   p.setOnErrorListener(ActivityMediaPlayer.this);

   p.setOnPreparedListener(ActivityMediaPlayer.this);

  log(clicked...);
                                                           p.prepareAsync();
                                                           vv.start();
                                                   } catch (Exception e) {

  e.printStackTrace();
                                                   }
                                           return true;
                                   }
                           });

                           vv.bringToFront();
                           vv.setClickable(true);
                           vv.getHolder().addCallback(this);

                   } catch (Exception e) {
                           // TODO Auto-generated catch block
                           e.printStackTrace();
                   }
           }

           public void surfaceChanged(SurfaceHolder holder, int format, int
   width,  int height) {
                   log(surface

[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 6:08 pm, Peter Stacey peterst6...@gmail.com wrote:
 Not yet. You haven't asked enough times...Oh wait. 5 times already
 today...The same question?

 Yes, the same basic question 5 times in a 4 hours.

 Ok, since you asked so many times it must be urgent for me.

 Oh wait. No it isn't that urgent for me, but I might get around to it
 when I have a bit more time on my hands this evening (in about another
 5 hours from now).

 Regards,

 Peter

 On Jun 24, 12:40 pm, naveen kumar kumarnaveen.si...@gmail.com wrote:







  On Jun 24, 2:20 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
  wrote:

   On Fri, Jun 24, 2011 at 2:18 PM, naveen kumar
   kumarnaveen.si...@gmail.comwrote:

On Jun 24, 1:30 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
wrote:
 On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales 
therevolti...@gmail.comwrote:

 http://developer.android.com/resources/samples/ApiDemos/src/com/examp.
..

  On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar 
  kumarnaveen.si...@gmail.com wrote:

  Hello Google Android Developer,

  I am trying to play large video from sdcard by android code, that 
  is
  not playing,i dont want to play video from url,

  so please help me how to play large video in android from local
  folder..

  In case of XCODE by using mediaplayer they able to play any type of
  large video.

  Android also supports mediaplayer api for media file.

  Here i am only listening the voice i am not able to place view on
  surface holder.

  is possible to see video using mediaplayer in android framework.

  Please someone reply me clearly.

  if not solution then kindly help me for to divide the 1gb file in
  300MB.

  Thanks, in advance

  i am not getting perfect answer by google.

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

  --
  ~ Jeremiah:9:23-24
  Android 2D MMORPG:http://solrpg.com/,
 http://www.youtube.com/user/revoltingx

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

 package com.halosys.VideoPlayer;

 import java.io.File;
 import java.io.FileOutputStream;
 import java.io.InputStream;

 import android.app.Activity;
 import android.media.MediaPlayer;
 import android.os.Bundle;
 import android.util.Log;
 import android.view.MotionEvent;
 import android.view.SurfaceHolder;
 import android.view.View;
 import android.view.View.OnTouchListener;
 import android.widget.VideoView;

 public class ActivityMediaPlayer extends Activity implements
 SurfaceHolder.Callback,
                 MediaPlayer.OnBufferingUpdateListener,
                 MediaPlayer.OnCompletionListener,
 MediaPlayer.OnErrorListener,
                 MediaPlayer.OnPreparedListener {

         private static final String TAG = VideoMAN;
         final MediaPlayer p = new MediaPlayer();

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

                 log(launched);
                 final VideoView vv = (VideoView)
 findViewById(R.id.surface_view);

                 try {
                         vv.setEnabled(true);
                         vv.setOnTouchListener(new OnTouchListener() {

                                 public boolean onTouch(View v,
MotionEvent
 event) {
                                         if (event.getAction() ==
 MotionEvent.ACTION_UP)
                                                 try {

 p.setDataSource(/sdcard/watch/movie.mp4) ;

 //.getFileDescriptor());
 //                                          
 p.setDisplay(vv.getHolder());

 p.setOnBufferingUpdateListener(ActivityMediaPlayer.this);

 p.setOnCompletionListener(ActivityMediaPlayer.this);

 p.setOnErrorListener(ActivityMediaPlayer.this);

 p.setOnPreparedListener(ActivityMediaPlayer.this);

log(clicked...);
                                                         
 p.prepareAsync();
                                                         vv.start

[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 7:03 pm, naveen kumar kumarnaveen.si...@gmail.com wrote:
 On Jun 24, 6:08 pm, Peter Stacey peterst6...@gmail.com wrote:



  Not yet. You haven't asked enough times...Oh wait. 5 times already
  today...The same question?

  Yes, the same basic question 5 times in a 4 hours.

  Ok, since you asked so many times it must be urgent for me.

  Oh wait. No it isn't that urgent for me, but I might get around to it
  when I have a bit more time on my hands this evening (in about another
  5 hours from now).

  Regards,

  Peter

  On Jun 24, 12:40 pm, naveen kumar kumarnaveen.si...@gmail.com wrote:

   On Jun 24, 2:20 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
   wrote:

On Fri, Jun 24, 2011 at 2:18 PM, naveen kumar
kumarnaveen.si...@gmail.comwrote:

 On Jun 24, 1:30 pm, NaveenShrivastva kumarnaveen.si...@gmail.com
 wrote:
  On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales 
 therevolti...@gmail.comwrote:

  http://developer.android.com/resources/samples/ApiDemos/src/com/examp.
 ..

   On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar 
   kumarnaveen.si...@gmail.com wrote:

   Hello Google Android Developer,

   I am trying to play large video from sdcard by android code, 
   that is
   not playing,i dont want to play video from url,

   so please help me how to play large video in android from local
   folder..

   In case of XCODE by using mediaplayer they able to play any type 
   of
   large video.

   Android also supports mediaplayer api for media file.

   Here i am only listening the voice i am not able to place view on
   surface holder.

   is possible to see video using mediaplayer in android framework.

   Please someone reply me clearly.

   if not solution then kindly help me for to divide the 1gb file in
   300MB.

   Thanks, in advance

   i am not getting perfect answer by google.

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

   --
   ~ Jeremiah:9:23-24
   Android 2D MMORPG:http://solrpg.com/,
  http://www.youtube.com/user/revoltingx

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

  package com.halosys.VideoPlayer;

  import java.io.File;
  import java.io.FileOutputStream;
  import java.io.InputStream;

  import android.app.Activity;
  import android.media.MediaPlayer;
  import android.os.Bundle;
  import android.util.Log;
  import android.view.MotionEvent;
  import android.view.SurfaceHolder;
  import android.view.View;
  import android.view.View.OnTouchListener;
  import android.widget.VideoView;

  public class ActivityMediaPlayer extends Activity implements
  SurfaceHolder.Callback,
                  MediaPlayer.OnBufferingUpdateListener,
                  MediaPlayer.OnCompletionListener,
  MediaPlayer.OnErrorListener,
                  MediaPlayer.OnPreparedListener {

          private static final String TAG = VideoMAN;
          final MediaPlayer p = new MediaPlayer();

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

                  log(launched);
                  final VideoView vv = (VideoView)
  findViewById(R.id.surface_view);

                  try {
                          vv.setEnabled(true);
                          vv.setOnTouchListener(new OnTouchListener() 
  {

                                  public boolean onTouch(View v,
 MotionEvent
  event) {
                                          if (event.getAction() ==
  MotionEvent.ACTION_UP)
                                                  try {

  p.setDataSource(/sdcard/watch/movie.mp4) ;

  //.getFileDescriptor());
  //                                          
  p.setDisplay(vv.getHolder());

  p.setOnBufferingUpdateListener(ActivityMediaPlayer.this);

  p.setOnCompletionListener(ActivityMediaPlayer.this);

  p.setOnErrorListener(ActivityMediaPlayer.this);

  p.setOnPreparedListener(ActivityMediaPlayer.this

[android-developers] Best third party video player api android

2011-06-24 Thread naveen kumar
What is best third party mediaplayer(Video) api.Which able to
interface with my own created app.

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


[android-developers] Re: How to play large size video from sdcard in android

2011-06-23 Thread naveen kumar


On Jun 23, 3:21 am, Miguel Morales therevolti...@gmail.com wrote:
 I wouldn't bother trying to split up the video content.
 MediaPlayers should have no problem streaming the data from the file just
 like it can stream from a url.

 I've never done it before, but make sure you are using the API correctly.
 Read:http://developer.android.com/guide/topics/media/index.html

 Call prepare() before start().  Also, notice how you can specify a file
 descriptor 
 directly:http://developer.android.com/reference/android/media/MediaPlayer.html...)

 It is pretty annoying answering questions for outsourced developers, seeing
 as we're losing jobs to much less competent people.









 On Wed, Jun 22, 2011 at 2:09 PM, Spooky spooky1...@gmail.com wrote:
  On Jun 22, 9:55 am, NaveenShrivastva
  kumarnaveen.si...@gmail.com wrote:

  when i am trying to play large video then getting
  exception outofmemory.

  You mentioned that you are loading a 1 GB video file.  Are you
  trying to load the entire file into memory at the same time?

  I don't know if most video players load entire video files into
  memory or not, so I can't help you with THAT part.  However, I
  might be able to help in another area  If you're getting an
  out of memory error, my guess is that you are trying to load the
  entire video file into memory, and just don't have enough free
  RAM to hold it.  Again, I don't know if this is even normal
  behavior or not.

   i am trying but not getting success.when trying to divide data
   in chunk then video file this difficult to handle header.

  Here's where I might have your answer.  From what you write
  above, it sounds like what you're trying to say is that you
  have tried, and failed, to divide the video into smaller video
  files and play them in sequence with no gap in-between.  If
  that is the case, remember, with CODECs like Divx and Xvid,
  for example, which encode only the changes since the last key
  frame, each segment *MUST* begin with a key frame.  Most
  consumer-level video editing software doesn't re-encode the
  video if you break between key frames...it just gives you
  garbage at the breaks that aren't cut in the right place,
  until the next key frame.  If this sounds like what you are
  seeing, seehttp://www.videohelp.comfor more information.

  By the way, this is also true when editing out portions of a
  video.  The bit you are editing can be cut anywhere, but the
  next portion MUST begin with a key frame.

  If not, sorry, can't help

  Later, --jim

  PS:  If you are doing the editing on a PC running Windows,
        look for Virtualdub under the Tools section.  Also look
        for Avisynth.

  --
  73 DE N5IAL (/4)        | DMR: So fsck was originally called
 http://jdgapps/com     |      something else.
   Running FreeBSD 7.0  | Q:   What was it called?
  ICBM / Hurricane:       | DMR: Well, the second letter was different.
    30.44406N 86.59909W  |    -- Dennis M. Ritchie, Usenix, June 1998.

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

 --
 ~ Jeremiah:9:23-24
 Android 2D MMORPG:http://solrpg.com/,http://www.youtube.com/user/revoltingx

By using MediaPlayer code:
=

 private void playVideo() {
try {
String path = mPath.getText().toString();
Log.v(TAG, path:  + path);

if (path.equals(current)  mp != null) {
mp.start();
return;
}

   path=/sdcard/watch/movie.mp4;
   holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
mp = new   MediaPlayer  ();
mp.setOnErrorListener(this);
mp.setOnBufferingUpdateListener(this);
mp.setOnCompletionListener(this);
mp.setOnPreparedListener(this);

   // mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
mp.setScreenOnWhilePlaying(true);

mp.setDisplay(mPreview.getHolder());
mp.setDataSource(path);
mp.prepare();

Log.v(TAG, Duration: === + mp.getDuration());
mp.start();

} catch (Exception e) {
Log.e(TAG, error: + e.getMessage(), e);
if (mp != null) {
mp.stop();
mp.release();
}
}
}

=
Sir, i know, i am able to play video from weburl with uri parse.but
need is play from sdcard.

Now i am able to play video from sdcard by using  MediaPlayer -Android
api without any exception,

here sound is listening , but video view not displaying on
surface.Please help me how to display video on screen by using
mediaplayer api .

Thanks,
Naveen Kumar

[android-developers] How to play large size video from sdcard in android

2011-06-22 Thread naveen kumar
Hello sir,

Good evening,

I am playing video from sdcard and also getting meta data for that
video by this code

==video playing code==


 video.setVideoPath(path);


 video.setVisibility(1);
 video.canSeekBackward();
 video.canSeekForward();
 video.setMediaController(new MediaController(this));
 video.requestFocus();

 video.start();


when i am trying to play large video then getting exception
outofmemory.

Please help me how to resolve this issue in android, i am trying from
two days, but not greeting any related solution on developer site.


Please help me
Thanks,


Naveen Kumar shrivastva

9555674501

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

2011-06-22 Thread naveen kumar
i am getting large response of https server. i am not able to store
complete response in string variable, there fore i am witting the file
by using fileoutputstrem, it's takes more time for write on file and
parse them.

Please fix this issue in android also.


thanks,
Naveen Kumar

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

2011-06-22 Thread naveen kumar
How to use java NIO api for android HTTPS(SSL server)- XMLRPC server
response.


Thanks,
Naveen Kumar shrivastva

9555674501

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

2011-06-22 Thread naveen kumar
Hello sir,

good morning

i want to play large video file from sdcard. i am able to play samll
but not large movie like 1GB , please help me.

thanks,
Naveen Kumar

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

2011-06-22 Thread naveen kumar
I want to devide large video file in parts without content loss please
help me.

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


[android-developers] Multiple activities

2011-05-16 Thread Naveen Kumar
haiii..
i',m learning android beginner course,i dnt knw how to develope
multiple activities at a time please help me to write d code for dat...

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

2011-02-11 Thread Naveen HS
Hello All,


I am having 4 static Geopoints, I am able to mark them on the Map and also i
am able to draw line between them.

Now i am trying to animate the line while drawing between 2 Geopoints, i
just want to show them some kind of animation while drawing line .. is it
possible to do ?? or i can call some delay function ??

Please help me with this ..

My function

public class HelloMapView extends MapActivity {
/** Called when the activity is first created. */
LinearLayout linearLayout;
MapView mapView;
MapController mc;
GeoPoint p,p1,p2,p3;

class MapOverlay extends com.google.android.maps.Overlay
{
@Override
public boolean draw(Canvas canvas, MapView mapView,
boolean shadow, long when)
{
super.draw(canvas, mapView, shadow);

//---translate the GeoPoint to screen pixels---
Point screenPts = new Point();
mapView.getProjection().toPixels(p, screenPts);

//---add the marker---
Bitmap bmp = BitmapFactory.decodeResource(
getResources(), R.drawable.a);
canvas.drawBitmap(bmp, screenPts.x, screenPts.y-35, null);

//Coordinates 2

  //---translate the GeoPoint to screen pixels---
Point screenPts1 = new Point();
mapView.getProjection().toPixels(p1, screenPts1);

//---add the marker---
Bitmap bmp1 = BitmapFactory.decodeResource(
getResources(), R.drawable.b);
canvas.drawBitmap(bmp1, screenPts1.x, screenPts1.y-35, null);

//Coordinates 3

   //---translate the GeoPoint to screen pixels---
Point screenPts2 = new Point();
mapView.getProjection().toPixels(p2, screenPts2);

//---add the marker---
Bitmap bmp2 = BitmapFactory.decodeResource(
getResources(), R.drawable.c);
canvas.drawBitmap(bmp2, screenPts2.x, screenPts2.y-35, null);


//Coordinates 4

//---translate the GeoPoint to screen pixels---
 Point screenPts3 = new Point();
 mapView.getProjection().toPixels(p3, screenPts3);

 //---add the marker---
 Bitmap bmp3 = BitmapFactory.decodeResource(
 getResources(), R.drawable.dgreen);
 canvas.drawBitmap(bmp3, screenPts3.x, screenPts3.y-35, null);



//--- Start--//

Paint mPaint = new Paint();
mPaint.setStyle(Style.FILL);
mPaint.setStrokeWidth(3);
mPaint.setColor(Color.BLUE);
mPaint.setAntiAlias(true);
//canvas.drawPath(path,mPaint);
super.draw(canvas, mapView, shadow);
canvas.drawLine(screenPts.x, screenPts.y, screenPts1.x,
screenPts1.y, mPaint);
canvas.drawLine(screenPts1.x, screenPts1.y, screenPts2.x,
screenPts2.y, mPaint);
canvas.drawLine(screenPts2.x, screenPts2.y, screenPts3.x,
screenPts3.y, mPaint);
return true;
}
}

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

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

mapView.setBuiltInZoomControls(true);

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



mapView.displayZoomControls(true);
mc = mapView.getController();
String coordinates[] = {12.958998, 77.658998};
double lat = Double.parseDouble(coordinates[0]);
double lng = Double.parseDouble(coordinates[1]);

p = new GeoPoint(
(int) (lat * 1E6),
(int) (lng * 1E6));


String coordinates1[] = {12.95967,77.64918};
double lat1 = Double.parseDouble(coordinates1[0]);
double lng1 = Double.parseDouble(coordinates1[1]);

p1 = new GeoPoint(
(int) (lat1 * 1E6),
(int) (lng1 * 1E6));

//For geopoint point 3

String coordinates2[] = {12.96052,77.64171};
double lat2 = Double.parseDouble(coordinates2[0]);
double lng2 = Double.parseDouble(coordinates2[1]);

p2 = new GeoPoint(
(int) (lat2 * 1E6),
(int) (lng2 * 1E6));

//For geopoint point 4
String coordinates3[] = {12.96721,77.64141};
double lat3 = Double.parseDouble(coordinates3[0]);
double lng3 = Double.parseDouble(coordinates3[1]);

p3 = new GeoPoint(
(int) (lat3 * 1E6),
(int) (lng3 * 1E6));



mc.animateTo(p);
mc.animateTo(p1);
mc.animateTo(p2);
mc.animateTo(p3);
mc.setZoom(16);

  //---Add a location marker---
MapOverlay mapOverlay = new MapOverlay();
ListOverlay listOfOverlays = mapView.getOverlays();
listOfOverlays.clear();
listOfOverlays.add(mapOverlay);

mapView.invalidate();


}

@Override

[android-developers] Connecting 4 Geopoints

2011-02-11 Thread Naveen
Hello All,


I am having 4 static Geopoints, I am able to mark them on the Map and
also i am able to draw line between them.

Now i am trying to animate the line while drawing between 2 Geopoints,
i just want to show them some kind of animation while drawing line ..
is it possible to do ?? or i can call some delay function ??

Please help me with this ..

My function

public class HelloMapView extends MapActivity {
/** Called when the activity is first created. */
LinearLayout linearLayout;
MapView mapView;
MapController mc;
GeoPoint p,p1,p2,p3;

class MapOverlay extends com.google.android.maps.Overlay
{
@Override
public boolean draw(Canvas canvas, MapView mapView,
boolean shadow, long when)
{
super.draw(canvas, mapView, shadow);

//---translate the GeoPoint to screen pixels---
Point screenPts = new Point();
mapView.getProjection().toPixels(p, screenPts);

//---add the marker---
Bitmap bmp = BitmapFactory.decodeResource(
getResources(), R.drawable.a);
canvas.drawBitmap(bmp, screenPts.x, screenPts.y-35,
null);

//Coordinates 2

  //---translate the GeoPoint to screen pixels---
Point screenPts1 = new Point();
mapView.getProjection().toPixels(p1, screenPts1);

//---add the marker---
Bitmap bmp1 = BitmapFactory.decodeResource(
getResources(), R.drawable.b);
canvas.drawBitmap(bmp1, screenPts1.x, screenPts1.y-35,
null);

//Coordinates 3

   //---translate the GeoPoint to screen pixels---
Point screenPts2 = new Point();
mapView.getProjection().toPixels(p2, screenPts2);

//---add the marker---
Bitmap bmp2 = BitmapFactory.decodeResource(
getResources(), R.drawable.c);
canvas.drawBitmap(bmp2, screenPts2.x, screenPts2.y-35,
null);


//Coordinates 4

//---translate the GeoPoint to screen pixels---
 Point screenPts3 = new Point();
 mapView.getProjection().toPixels(p3, screenPts3);

 //---add the marker---
 Bitmap bmp3 = BitmapFactory.decodeResource(
 getResources(), R.drawable.dgreen);
 canvas.drawBitmap(bmp3, screenPts3.x, screenPts3.y-35,
null);



//--- Start--//

Paint mPaint = new Paint();
mPaint.setStyle(Style.FILL);
mPaint.setStrokeWidth(3);
mPaint.setColor(Color.BLUE);
mPaint.setAntiAlias(true);
//canvas.drawPath(path,mPaint);
super.draw(canvas, mapView, shadow);
canvas.drawLine(screenPts.x, screenPts.y, screenPts1.x,
screenPts1.y, mPaint);
canvas.drawLine(screenPts1.x, screenPts1.y, screenPts2.x,
screenPts2.y, mPaint);
canvas.drawLine(screenPts2.x, screenPts2.y, screenPts3.x,
screenPts3.y, mPaint);
return true;
}
}


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

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

mapView.setBuiltInZoomControls(true);

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



mapView.displayZoomControls(true);
mc = mapView.getController();
String coordinates[] = {12.958998, 77.658998};
double lat = Double.parseDouble(coordinates[0]);
double lng = Double.parseDouble(coordinates[1]);

p = new GeoPoint(
(int) (lat * 1E6),
(int) (lng * 1E6));


String coordinates1[] = {12.95967,77.64918};
double lat1 = Double.parseDouble(coordinates1[0]);
double lng1 = Double.parseDouble(coordinates1[1]);

p1 = new GeoPoint(
(int) (lat1 * 1E6),
(int) (lng1 * 1E6));

//For geopoint point 3

String coordinates2[] = {12.96052,77.64171};
double lat2 = Double.parseDouble(coordinates2[0]);
double lng2 = Double.parseDouble(coordinates2[1]);

p2 = new GeoPoint(
(int) (lat2 * 1E6),
(int) (lng2 * 1E6));

//For geopoint point 4
String coordinates3[] = {12.96721,77.64141};
double lat3 = Double.parseDouble(coordinates3[0]);
double lng3 = Double.parseDouble(coordinates3[1]);

p3 = new GeoPoint(
(int) (lat3 * 1E6),
(int) (lng3 * 1E6));



mc.animateTo(p);
mc.animateTo(p1);
mc.animateTo(p2);
mc.animateTo(p3);
mc.setZoom(16);

  //---Add a location marker---
MapOverlay mapOverlay = new MapOverlay();
ListOverlay listOfOverlays = mapView.getOverlays();
listOfOverlays.clear();
listOfOverlays.add(mapOverlay);

mapView.invalidate();


}

   

[android-developers] gesture Color change

2011-02-07 Thread naveen kumar
Hello sir

i have done a code for gesture color change.
 GestureOverlayView overlay = (GestureOverlayView)
findViewById(R.id.gestures_overlay);
overlay.setGestureColor(Color.BLACK);

but it works after config change means change after orientaion,
initially shows yellow  .

Please help me

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


[android-developers] but my button is not clickable and says - Recognizer not present

2011-02-04 Thread naveen kumar
Dear sir,

Good morning

i want to code on voice Recognization.I taken sample from android
developer site.
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html
but my button is not clickable and says - Recognizer not present
Please give me complete guideline for  voice Recognization.Please help
me clearly ..bez .


Thanks,
Naveen

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

2011-01-14 Thread Naveen kumar
hi,

 what is the procedure to call an activity from option menu using switch
case. please help.


Thanks
naveen

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

2011-01-12 Thread naveen kumar
How to save gesture in sd card as a image.please help me . i want to
save gesture nonmutable file format.
thanks naveen

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

2011-01-10 Thread naveen kumar
Dear sir,

Good morning,

Please help me ,how to take signature by gestures and convert it in
pdf doc..


i am able to convert it by java itext jar but it's not supporting
android code..


please help me..

otherwise i loss the android job...

thanks
Naveen

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

2011-01-10 Thread naveen kumar
Dear sir,

Good morning,

Please help me ,how to take signature by gestures and convert it in
pdf doc..


i am able to convert it by java itext jar but it's not supporting
android code..


please help me..

otherwise i loss the android job...

thanks
Naveen

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

2010-12-28 Thread naveen kumar
Dear sir,


Good evening

i am posting some string data with image but image is not uploading
plz help me how to code for upload image on server

My code

  public void PostCameraData(){
 httppost = new HttpPost(Splash.globalurl+iphone/ads/response);
 httpclient = new DefaultHttpClient();


 //image sending code
 String filepath = /sdcard/RRImages/;
 File imagefile = new File(filepath + +path);
 FileInputStream fis = null;
try {
fis = new FileInputStream(imagefile);
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
 Bitmap bi = BitmapFactory.decodeStream(fis);
 ByteArrayOutputStream baos = new ByteArrayOutputStream();
 bi.compress(Bitmap.CompressFormat.JPEG, 100, baos);
 byte[] data = baos.toByteArray();

 System.out.println(The value of byte data is+data);

 //calculating time for post on server
 long msTime = System.currentTimeMillis();
 Date curDateTime = new Date(msTime);
   String  currentTime1=+curDateTime;

  //getting id
  String id=RoadDetails.idD;

 // Adding parameters to send to the HTTP server.
 nameValuePairs = new ArrayListNameValuePair(7);
 nameValuePairs.add(new
BasicNameValuePair(udid,SigninActivity.deviceid));
 nameValuePairs.add(new BasicNameValuePair(sess_id,
SigninActivity.sessionidValue));
 nameValuePairs.add(new BasicNameValuePair(thought, thought));
 nameValuePairs.add(new BasicNameValuePair(comment, comment));
 nameValuePairs.add(new BasicNameValuePair(ID, id));
 nameValuePairs.add(new BasicNameValuePair(time, 101227124545));


 //nameValuePairs.add(new BasicNameValuePair(image, new
String(data)));



 // Send POST message  with given parameters to the HTTP server.
try {
   httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
HttpResponse response = httpclient.execute(httppost);
System.out.println(the value of response--+response);
InputStream is = response.getEntity().getContent();
System.out.println(the value of is--+is);
BufferedInputStream bis = new BufferedInputStream(is);
ByteArrayBuffer baf = new ByteArrayBuffer(20);
int current = 0;
while((current = bis.read()) != -1)
{
baf.append((byte)current);
}
bytesSent = new String(baf.toByteArray());
System.out.println(the value ofbytesSent--+
bytesSent);
}
catch (Exception e) {
// Exception handling
Log.e(Error,+e);
}
 }

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

2010-11-22 Thread Naveen
Hey folks,

Couple of days back, I read some articles about Android and from that
moment I fell in love with Android development :) I explored
Developing Android apps for the past few days and done the
following,

* Installed the latest Android SDK i.e., 2.2 version. Also updated all
the installed packages using SDK manager

* Installed Eclipse IDE for Java EE developers

* Installed Android plugin for Eclipse

* Created AVD and selected the target platform as Android SDK 2.2

* Written a new HelloWorld program with the below code,

package com.example.helloandroid;

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

public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}

When I try to run the code Hello World is not printed in the
emulator. Just the text Android blinks in the middle of the device/
emulator.

The following is printed in the console when I ran the code


[2010-11-21 10:51:12 - HelloAndroid] --
[2010-11-21 10:51:12 - HelloAndroid] Android Launch!
[2010-11-21 10:51:12 - HelloAndroid] adb is running normally.
[2010-11-21 10:51:12 - HelloAndroid] Performing
com.geek.HelloAndroid.HelloAndroid activity launch
[2010-11-21 10:51:12 - HelloAndroid] Automatic Target Mode: launching
new emulator with compatible AVD 'HelloAndroid'
[2010-11-21 10:51:12 - HelloAndroid] Launching a new emulator with
Virtual Device 'HelloAndroid'
[2010-11-21 10:51:27 - HelloAndroid] New emulator found: emulator-5554
[2010-11-21 10:51:27 - HelloAndroid] Waiting for HOME
('android.process.acore') to be launched...

Could you please let me know is there any issue with the code or the
procedure? It would be really helpful if you point some good basic
references for developing Android apps..

TIA.

Naveen Venkat

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

2010-08-12 Thread Naveen
Hi!

I have a webview and I capture the view like this

Picture picture = m_browser.capturePicture();
Bitmap  b = Bitmap.createBitmap( picture.getWidth(),
picture.getHeight(), Bitmap.Config.ARGB_);
Canvas c = new Canvas( b );
picture.draw( c );
FileOutputStream fos = null;

try {
fos = new FileOutputStream(/sdcard/temp_1.jpg);
//fos = openFileOutput(samsp_1.jpg, MODE_WORLD_WRITEABLE);
if ( fos != null )
{
b.compress(Bitmap.CompressFormat.JPEG,90, fos);
fos.close();
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();

}
}

Now if the loaded web site is long, for eg. times.com then this image
is also too big.

I want to split this image in multiple images and with out reducing
the quality.

I would like to get these images in the highest quality possible.

Pls. help
Thanks

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


[android-developers] How to get results from intent launched from preference screen?

2010-08-01 Thread Naveen
Hi!
I need help in geting results back from intent launched from
preference screen

   // Intent preference
   DevicePref =
getPreferenceManager().createPreferenceScreen(this);

   // Show a Screen with list of Devices Discovered
   Intent i = new Intent(this,getDevice.class);
   DevicePref.setIntent(i);
   DevicePref.setTitle(Select Device);
   DevicePref.setSummary(mSelectedDevice);
   deviceOptionsCat.addPreference(DevicePref);

I want user to select device... In preference screeen I show Select
Device .. when user clicks that, another screen is launched by intent
where all devices are listed. User selects the device.

Now how do I know user selected which device? And I want to update
that in the summary.

Pls. let me know
Thanks

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


[android-developers] Re: How to get results from intent launched from preference screen?

2010-08-01 Thread Naveen
I found the answer, just updating here...

   // Intent preference
   DevicePref =
   getPreferenceManager().createPreferenceScreen(this);

   // Show a Screen with list of Devices Discovered

//   Intent i = new Intent(this,getDevice.class);
//   DevicePref.setIntent(i);
   DevicePref.setTitle(Select Device);
   DevicePref.setSummary(mSelectedDevice);
   deviceOptionsCat.addPreference(DevicePref);



On Aug 2, 1:34 pm, Naveen naveen...@gmail.com wrote:
 Hi!
 I need help in geting results back from intent launched from
 preference screen

        // Intent preference
        DevicePref =
 getPreferenceManager().createPreferenceScreen(this);

        // Show a Screen with list of Devices Discovered
        Intent i = new Intent(this,getDevice.class);
        DevicePref.setIntent(i);
        DevicePref.setTitle(Select Device);
        DevicePref.setSummary(mSelectedDevice);
        deviceOptionsCat.addPreference(DevicePref);

 I want user to select device... In preference screeen I show Select
 Device .. when user clicks that, another screen is launched by intent
 where all devices are listed. User selects the device.

 Now how do I know user selected which device? And I want to update
 that in the summary.

 Pls. let me know
 Thanks

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


  1   2   >