[android-developers] Using Front and Back Cam Simultaneously

2023-05-10 Thread Jay T
omg...i have tried and need help here...

Hello all, its Jayson:

I understand multicamera api is not good enough to have two cameras that 
are in two directions

so i need a solution to access "camera_concurrent" possibilities

My large plan:  

combine front and back camera @ 720px by 720 px horizontally for 1440x720 
output with recording

i have tried in app with kivy
i have tried with opencv
i have now tried with javascript?

i have the tools except concurrent camera right now
Any help?

The Program i have started using for this is an npm server for https

run with: 

sudo node /var/www/webrtc-broadcast/server.js


my main file is in /var/www/webrtc-broadcasst/broadcasttwo2.html
here it is:
```


  
Broadcaster

  

body {background-color: cyan;}



  Audio source: 
  


  Video source: 
  


  Audio source: 
  


  Video source: 
  









//
//













let src = new cv.Mat(video.height, video.width, cv.CV_8UC4);
let src2 = new cv.Mat(video2.height, video2.width, cv.CV_8UC4);
let dst = new cv.Mat(video.height, video.width(2), cv.CV_8UC1);
let cap = new cv.VideoCapture(video);
let cap2 = new cv.VideoCapture(video2);

const FPS = 30;
function processVideo() {
try {
if (!streaming) {
// clean and stop.
src.delete();
src2.delete();
dst.delete();
return;
}
let begin = Date.now();
// start processing.
cap.read(src);
cap2.read(src2);
cv.hconcat(src, src2, dst);
cv.imshow('canvasOutput', dst);
// schedule the next one.
let delay = 1000/FPS - (Date.now() - begin);
setTimeout(processVideo, delay);
} catch (err) {
utils.printError(err);
}
};

// schedule the first one.
setTimeout(processVideo, 0);

https://docs.opencv.org/3.4/utils.js"; 
type="text/javascript">

let utils = new Utils('errorMessage');

utils.loadCode('codeSnippet', 'codeEditor');

let streaming = false;
let videoInput = document.getElementById('videoInput');
let startAndStop = document.getElementById('startAndStop');
let canvasOutput = document.getElementById('canvasOutput');
let canvasContext = canvasOutput.getContext('2d');

startAndStop.addEventListener('click', () => {
if (!streaming) {
utils.clearError();
utils.startCamera('qvga', onVideoStarted, 'videoInput');
} else {
utils.stopCamera();
onVideoStopped();
}
});

function onVideoStarted() {
streaming = true;
startAndStop.innerText = 'Stop';
videoInput.width = videoInput.videoWidth;
videoInput.height = videoInput.videoHeight;
utils.executeCode('codeEditor');
}

function onVideoStopped() {
streaming = false;
canvasContext.clearRect(0, 0, canvasOutput.width, canvasOutput.height);
startAndStop.innerText = 'Start';
}

utils.loadOpenCv(() => {
startAndStop.removeAttribute('disabled');
});



```



NOW, can i add simultaneous front and back cameras? with JavaScript?

Thank you in advance for jumping in and reading.

-- 
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/652ca315-1c8d-425a-9d59-fb4accddc7aan%40googlegroups.com.


[android-developers] Auto run and pop-up my app after the lock screen?

2017-02-16 Thread Jay HD
Hi guys I'm new here so may i ask is it possible for me to create an app 
that can auto run and pop-up my app after the lock screen?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/32726f5c-87de-4556-bba4-374569de4b17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Business Analyst/Quality Assurance Lead available immediately

2017-02-10 Thread jay var


 

Hi

 

Hope you are doing good. Please go through my consultant profile below and 
share me the suitable requirements to me

Quality Analyst

Name  :   Shajina 

Phone  :   kindly contact Jay 
(jayavardha...@synersys.com).Thanks in advance

Total experience :   8 years

Location  :   Charlotte, North Carolina 

Relocation   :   Yes

Rate:   c2c Negotiable

To receive resume in word format kindly email to jayavardha...@synersys.com 
with 
the Subject Business Analyst/Quality Assurance Lead

*   
  Shajina *

Senior Quality Assurance Analyst

 

*Professional Profile*

· Technical Business Analyst/Quality Assurance Lead with over 8 
years of experience in working with web-based client and server 
applications on Banking and Financial Services domain.

· Over 8 years of strong experience in Software Quality Assurance 
and Testing (Manual and Automation using Selenium and Mercury/HP Products), 
Functionality, GUI, Regression and UAT Testing in Web Based and 
Client/Server Applications in different environments and different Browsers.

· Experience working in all phases of *SDLC* performing role of a 
Business analyst working with client and onsite BAs in analyzing and 
documenting requirements, review of test artifacts and participate in 
Warranty support and monitoring production issues.

· Followed *Agile Scrum *development processes working closely with 
Dev and Business team members, both onsite and offshore, to provide 
just-in-time, test automation.

· Ability to handle multiple tasks and work independently as well 
as in team.

· Team player with good Communication skills and Strong Analytical 
and Logical ability to follow project standards and meet the deadlines.

· Performed role of QA Lead on numerous projects including 
mentoring of junior staff members.

· Proficient in preparing test cases, test data, test scripts, Bug 
tracking and Bug reporting

· Analyzed requirements, detailed design and formulated test plan 
for the functional testing of the application. Developed master startup 
scripts by using reusable actions which helped regression testing for each 
release of the application.

· Actively participated in reviews and meetings to discuss 
automated testing strategies and test plans.

· Used QA best practices and procedures to reduce gaps in 
functionality coverage, and to ensure the most efficient use of automation 
resources.

· Design, develop, maintain and execute automated test scripts 
using *Selenium Web Driver, Java, Ant, Maven, Junit, TestNG and Eclipse 
including developing Hybrid framework*

· Maintained Selenium Code and resources in source controls like 
*SVN*

· Extensively used TestDirector/Quality Center/ALM for reporting 
Defects.

· Knowledge and expertise working with *JAVA, C, C++, HTML, Oracle, 
SQL, JavaScript, VBScript, HTML, DHTML, XML, CSS, SOAPUI.*

*Technical Skills*

*Testing Tools:* Selenium (Hybrid Framework), Quick Test Pro, Quality 
Center /ALM
*Requirements management:* Microsoft Excel, Rational Requisite Pro, JIRA.
*Programming Languages:* Java, JDBC, HTML, XML, JavaScript, SQL, PL/SQL, C, 
C++
*Project Management Tools:* Microsoft Project
*Scripting Languages: *VB Script, Java Script.
*Databases:* Oracle8i/9i, SQL, MS-Access, DB2
*Testing: *Web Testing, Cross-Browser Compatibility testing. Database 
Testing
*Operating Systems: *MSDOS, UNIX, Windows and Linux.
*Version Control Tools:* Visual Source Safe, Apache Subversion
*Office Tools/ Text Editor:* Ultra Edit, M.S. Office, M.S. Visio

*Professional Experience*

*Synersys* 

*Client Name* 

Synersys

*Project Title / Name* 

RightData 

*Project Duration* 

2 years 5 months (Aug 2014- Jan 2017)

*Role* 

Business Analyst/Test Coordinator. 

*Software / Tools / Technology used* 

Java/QC /Selenium /MS Office

*Project Description:*

Rightdata is an intuitive, flexible, efficient and scalable data testing, 
reconciliation, validation suite that allows stakeholders in identifying 
issues related to data consistency, quality, completeness, and gaps. 

*Responsibilities:*

· Test planning, Test design, Test Execution, Test Automation 
Analysis, Design and Scripting execution. 

· Coordinate with development engineers and prepared test plans and 
endured functionality of all applications.

· Execution of Functional, Acceptance, Regression, and Sanity Test 
cases for *SEPA* *Program* in all applications used by the bank and the 
user. 

· Responsible for documentation of QA processes, Test summaries, 
and QA environments, tools, etc. 

· Designed and documented Acceptance and Functional Test cases in

[android-developers] Wilcosource Requirement Angular JS Developer with Python

2016-12-22 Thread jay
Hi,
 
  Please take a look at below requirement, if you are comfortable with 
the requirement, please send me updated resume, contact details, H1b copy, 
Photo ID and the details given below at a...@wilcosource.com. Please let me 
know your interest ASAP. Please feel free to reach me @ 408-709-1675


*Note: Please send me the resumes when your consultants fits for the 
requirement* .

*Requirement *

* Job Title: Angular JS  Developer with Python.*

* Work Location: **Washington DC* 

* Exp: 8+ years*

* Rate: 52$/Hr*

* Duration: 6 Months*

*Interview Type Requested: Telephone, F2F or Skype.*

 *Responsibilities:*

· Develop technical designs, implementing scalable solutions, and 
object-oriented design and analysis

· Collaboration with Business Units, and external and internal 
vendors

· Write technical specifications, participate in design reviews and 
provide input to design recommendations where necessary

· Participate in code reviews and acceptance process in order to 
improve methodology and delivery

· Perform unit testing and identify, troubleshoot and solve 
code-related issues as needed

· Contribute to the development of project estimates, scheduling 
and deliverables

· Proven track record on delivery

· Major design and analysis responsibility

· Develop artifacts and perform post implementation support

· Troubleshooting and debugging complex issues

· Collaborate with IT managers and Technical Leads to track and 
report progress

· Develop with the latest web standards like *HTML 5.0*, *CSS 3.0* and 
web technologies like *jQuery*, *JSON*, *Ajax*,* XML*, *XSL*, *Javascript*

*Required Technical Skills and Experience:*

Candidate has to be super strong and very enthusiastic person who can self 
lead and work.

 Lot of Dev with last 2 years of angular 1.5 and 2 and strong front end 
skills.

Bachelor's degree or equivalent relevant work experience, in addition to 5 
or more years professional experience

· 5 - 8+ years of experience working in application development

· 2+ years experience integrating *front-end* code with *JSP*, Java 
layouts, JavaScript frameworks such as *JQuery, AngularJs*; ESI or related 
languages

· In-depth and current experience with *Linux*-based development

· Strong ability and desire to quickly learn new technologies

· Experience with *scrum *and *Agile* software development 
methodologies

· Solid experience developing sophisticated work with *Bootstrap*, 
*grid*, *HTML* and *JavaScript*

· Understanding of the full lifecycle development process, 
including understanding business and functional requirements

· Advanced level knowledge of *Python* and understanding of *Python* 
best 
practices (PEP-8)

· Experience with a wide variety of programming languages and *API*s, 
including *Python, SOAP/REST, and Django*

· Source control management tools, preferably *Git* and *MetaApp*

· Experience with other *Python frameworks: Pylons, Flask, Pyramid, 
Zope, Plone* Implementation of JavaScript build, development and testing 
scripts using tools like *Grunt, Bower* and *Karma*

· Must have excellent communication and time management skills

· High energy, detail oriented, excellent communicator and a true 
team player.

· Ability to work in a dynamic and collaborative team environment

· Excellent detail-oriented, problem solving skills

· Ability to quickly learn and apply new concepts, principles and 
solutions

· Dependability and commitment to projects/tasks

· Excellent verbal communication and technical writing skills.

· Been part of an *Agile* project.

*Its mandatory and must share with every submissions Rate, Visa Copy, 
Higher Education Certification, H1B copy and Photo ID along with 
consultant/employer contact details*


*Full name:*

*Contact number:*

*Alternate number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID: *

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month & Year Landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.

[android-developers] Wilco Source requirement Angular Js Developer with Python

2016-12-19 Thread jay
Hi,
 
  Please take a look at below requirement, if you are comfortable with 
the requirement, please send me updated resume, contact details, H1b copy, 
Photo ID and the details given below at a...@wilcosource.com. Please let me 
know your interest ASAP. Please feel free to reach me @ 408-709-1675


*Note: Please send me the resumes when your consultants fits for the 
requirement* .

*Requirement *

* Job Title: Angular JS  Developer with Python.*

* Work Location: **Washington DC* 

* Exp: 8+ years*

* Rate: 52$/Hr*

* Duration: 6 Months*

*Interview Type Requested: Telephone, F2F or Skype.*

 *Responsibilities:*

· Develop technical designs, implementing scalable solutions, and 
object-oriented design and analysis

· Collaboration with Business Units, and external and internal 
vendors

· Write technical specifications, participate in design reviews and 
provide input to design recommendations where necessary

· Participate in code reviews and acceptance process in order to 
improve methodology and delivery

· Perform unit testing and identify, troubleshoot and solve 
code-related issues as needed

· Contribute to the development of project estimates, scheduling 
and deliverables

· Proven track record on delivery

· Major design and analysis responsibility

· Develop artifacts and perform post implementation support

· Troubleshooting and debugging complex issues

· Collaborate with IT managers and Technical Leads to track and 
report progress

· Develop with the latest web standards like *HTML 5.0*, *CSS 3.0* and 
web technologies like *jQuery*, *JSON*, *Ajax*,* XML*, *XSL*, *Javascript*

*Required Technical Skills and Experience:*

Candidate has to be super strong and very enthusiastic person who can self 
lead and work.

 Lot of Dev with last 2 years of angular 1.5 and 2 and strong front end 
skills.

Bachelor's degree or equivalent relevant work experience, in addition to 5 
or more years professional experience

· 5 - 8+ years of experience working in application development

· 2+ years experience integrating *front-end* code with *JSP*, Java 
layouts, JavaScript frameworks such as *JQuery, AngularJs*; ESI or related 
languages

· In-depth and current experience with *Linux*-based development

· Strong ability and desire to quickly learn new technologies

· Experience with *scrum *and *Agile* software development 
methodologies

· Solid experience developing sophisticated work with *Bootstrap*, 
*grid*, *HTML* and *JavaScript*

· Understanding of the full lifecycle development process, 
including understanding business and functional requirements

· Advanced level knowledge of *Python* and understanding of *Python* 
best 
practices (PEP-8)

· Experience with a wide variety of programming languages and *API*s, 
including *Python, SOAP/REST, and Django*

· Source control management tools, preferably *Git* and *MetaApp*

· Experience with other *Python frameworks: Pylons, Flask, Pyramid, 
Zope, Plone* Implementation of JavaScript build, development and testing 
scripts using tools like *Grunt, Bower* and *Karma*

· Must have excellent communication and time management skills

· High energy, detail oriented, excellent communicator and a true 
team player.

· Ability to work in a dynamic and collaborative team environment

· Excellent detail-oriented, problem solving skills

· Ability to quickly learn and apply new concepts, principles and 
solutions

· Dependability and commitment to projects/tasks

· Excellent verbal communication and technical writing skills.

· Been part of an *Agile* project.

*Its mandatory and must share with every submissions Rate, Visa Copy, 
Higher Education Certification, H1B copy and Photo ID along with 
consultant/employer contact details*


*Full name:*

*Contact number:*

*Alternate number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID: *

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month & Year Landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.

[android-developers] Wilco Source requirement Angular Js Developer with Python

2016-12-16 Thread jay
Hi,
 
  Please take a look at below requirement, if you are comfortable with 
the requirement, please send me updated resume, contact details, H1b copy, 
Photo ID and the details given below at a...@wilcosource.com. Please let me 
know your interest ASAP. Please feel free to reach me @ 408-709-1675


*Note: Please send me the resumes when your consultants fits for the 
requirement* .

*Requirement *

* Job Title: Angular JS  Developer with Python.*

* Work Location: **Washington DC* 

* Exp: 8+ years*

* Rate: 52$/Hr*

* Duration: 6 Months*

*Interview Type Requested: Telephone, F2F or Skype.*

 *Responsibilities:*

· Develop technical designs, implementing scalable solutions, and 
object-oriented design and analysis

· Collaboration with Business Units, and external and internal 
vendors

· Write technical specifications, participate in design reviews and 
provide input to design recommendations where necessary

· Participate in code reviews and acceptance process in order to 
improve methodology and delivery

· Perform unit testing and identify, troubleshoot and solve 
code-related issues as needed

· Contribute to the development of project estimates, scheduling 
and deliverables

· Proven track record on delivery

· Major design and analysis responsibility

· Develop artifacts and perform post implementation support

· Troubleshooting and debugging complex issues

· Collaborate with IT managers and Technical Leads to track and 
report progress

· Develop with the latest web standards like *HTML 5.0*, *CSS 3.0* and 
web technologies like *jQuery*, *JSON*, *Ajax*,* XML*, *XSL*, *Javascript*

*Required Technical Skills and Experience:*

Candidate has to be super strong and very enthusiastic person who can self 
lead and work.

 Lot of Dev with last 2 years of angular 1.5 and 2 and strong front end 
skills.

Bachelor's degree or equivalent relevant work experience, in addition to 5 
or more years professional experience

· 5 - 8+ years of experience working in application development

· 2+ years experience integrating *front-end* code with *JSP*, Java 
layouts, JavaScript frameworks such as *JQuery, AngularJs*; ESI or related 
languages

· In-depth and current experience with *Linux*-based development

· Strong ability and desire to quickly learn new technologies

· Experience with *scrum *and *Agile* software development 
methodologies

· Solid experience developing sophisticated work with *Bootstrap*, 
*grid*, *HTML* and *JavaScript*

· Understanding of the full lifecycle development process, 
including understanding business and functional requirements

· Advanced level knowledge of *Python* and understanding of *Python* 
best 
practices (PEP-8)

· Experience with a wide variety of programming languages and *API*s, 
including *Python, SOAP/REST, and Django*

· Source control management tools, preferably *Git* and *MetaApp*

· Experience with other *Python frameworks: Pylons, Flask, Pyramid, 
Zope, Plone* Implementation of JavaScript build, development and testing 
scripts using tools like *Grunt, Bower* and *Karma*

· Must have excellent communication and time management skills

· High energy, detail oriented, excellent communicator and a true 
team player.

· Ability to work in a dynamic and collaborative team environment

· Excellent detail-oriented, problem solving skills

· Ability to quickly learn and apply new concepts, principles and 
solutions

· Dependability and commitment to projects/tasks

· Excellent verbal communication and technical writing skills.

· Been part of an *Agile* project.

*Its mandatory and must share with every submissions Rate, Visa Copy, 
Higher Education Certification, H1B copy and Photo ID along with 
consultant/employer contact details*


*Full name:*

*Contact number:*

*Alternate number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID: *

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month & Year Landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.

[android-developers] Wilco Source Open Requirement

2016-12-14 Thread jay
Hi ,
 

 Please take a look at the requirements file in attachment and 
send me your consultant's, update resume,contact details, H1b copy,Photo Id 
copy, and fill the below given details at a...@wilcosource.com or reach me 
on 408-709-1675.


*Requirements*

*Technology*

*Location*

*Exp*

*Work Status*

1

Peoplesoft HRMS functional/ Technical 9.2

Washington DC

9+

H1B, GC, USC

2

Peoplesoft HRMS Lead

Washington DC

9+

H1B, GC, USC

3

Peoplesoft HRMS Developer

Washington DC

9+

H1B, GC, USC

4

Technical Manager

New Jersey, NJ

12+

H1B, GC, USC

5

Unified Communications specialist

  Washington  DC

7+

H1B, GC, USC

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/c2e8da28-9731-4629-86e8-1c62d9cf3589%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


14-dec-req.docx
Description: MS-Word 2007 document


[android-developers] Wilco Source Open Requirements

2016-12-13 Thread jay


Hi, 


 Please take a look at the requirements file in attachment and 
send me your consultant's, update resume, H1b copy, Photo Id copy, 
highest degree copy at a...@wilcosource.com or reach me on 408-709-1675 and 
fill the below given details.


*Requirement*

*Technology*

*Location*

*EXP*

*Work status*

1

.Net Programmer

Long Island, NY

5+

H1B, GC, USC

2

Senior Java Developer

Brooklyn, NY

8+

H1B, GC, USC

3

Java Architect

Albany, NY

7+

H1B, GC, USC

4

Peoplesoft HRMS functional/ Technical 9.2

Washington DC

9+

H1B, GC, USC

5

Peoplesoft HRMS Lead

Washington DC

9+

H1B, GC, USC

6

Peoplesoft HRMS Developer

Washington DC

9+

H1B, GC, USC


*Must Share Below Details:*


*It’s Mandatory to share H1 copy/GC/USC, Photo ID, Visa Copy, Highest 
degree copy and the details given below*


*Full name:*

*Contact number:*

*Alternate number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID: *

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*3 professional Reference's*

*Month & Year Landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

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


13-dec-16 requirements.docx
Description: MS-Word 2007 document


[android-developers] Wilco Source Open Requirements

2016-12-12 Thread jay


Hi, 


 Please take a look at the requirements file in attachment and 
send me your consultant's, update resume, H1b copy, Photo Id copy, 
highest degree copy at a...@wilcosource.com or reach me on 408-709-1675 and 
fill the below given details.


*Requirement*

*Technology*

*Location*

*EXP*

*Work status*

1

.Net Programmer

Long Island, NY

5+

H1B, GC, USC

2

Senior Java Developer

Brooklyn, NY

8+

H1B, GC, USC

3

Java Architect

Albany, NY

7+

H1B, GC, USC

4

Peoplesoft HRMS functional/ Technical 9.2

Washington DC

9+

H1B, GC, USC

5

Peoplesoft HRMS Lead

Washington DC

9+

H1B, GC, USC

6

Peoplesoft HRMS Developer

Washington DC

9+

H1B, GC, USC


*Must Share Below Details:*


*It’s Mandatory to share H1 copy/GC/USC, Photo ID, Visa Copy, Highest 
degree copy and the details given below*


*Full name:*

*Contact number:*

*Alternate number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID: *

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*3 professional Reference's*

*Month & Year Landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

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


12-dec-requirements.docx
Description: MS-Word 2007 document


[android-developers] Peoplesoft HRMS functional/ Technical 9.2 requirement

2016-12-09 Thread jay


Hi,

 

Please take a look at the requirement, if you any have 
consultant please share me his/her updated resume, contact details, visa 
status copy and photo ID.


*Requirement*

 

*Job title: *Peoplesoft HRMS functional/ Technical 9.2   

*Location : *Washinton DC

*Experience: *9 + years

*Duration*: Long term

*Rate:* Open

*Work status: * H1,GC,USC.



*Required skills:*

 


   - shoud have Federal experience
   - PeopleTools,
   - PeopleSoft HRMS Benefits Administration and/or Pension Administration,
   - Oracle,
   - SQL,
   - SQR,
   - PeopleCode,
   - PeopleSoft Application Engine, XML Publisher
   
*Must Share Below Details:*

 

*It’s Mandatory to share H1 copy/GC/USC, Photo ID and the details given 
below..*   

*Full name:*

*Contact number:*

*Alternate number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID: *

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month & Year Landed in US:*

*Experience in Years:*

*US Experience:*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/312b405c-2247-4b2c-8eaf-54b12c61b16d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Team centre Developer requirement of wilco source.

2016-12-07 Thread jay
Hi,

Please take a look at the below requirement, If you are 
comfortable with the requirement, send me consultant's Updated resume at 
j...@wilcosource.com or reach me on 408-709-1675.

*Requirement*


   Role: *TeamCenter Developer*

   Length: *4-6 months*

   Location: *Detroit, MI*

   Work week: *Mon-Fri*

   Start: *12/05/2016*

   Exp:  *6+ years*

   Rate : Open

 

*Required Skills:*

·Teamcenter PLM developer with 6-8 years of experience on the 
following areas:

·Business Modeler IDE (BMIDE) Configuration

·Workflow Designer

·TC Configuration (e.g. Preferences / Style Sheets)

·Access Manager

·Server Customization (including ITK)

·SOA Customization

·TCIC/NX Manager

·CATIA Configuration/Scripting

·NX Configuration/Customization

·Data Migration (IPS / PLMXML)

·Teamcenter version 11 experience required.


*Must Share Below Details:*

 

*It’s Mandatory to share H1 copy/GC/USC, Photo ID and the details given 
below..*   

*Full name:*

*Contact number:*

*Alternate number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID: *

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month & Year Landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/52c2b8ed-0562-4d2a-898a-2cf206a47472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Sr. Python developer, Exp 8+ , Location - CA

2016-11-29 Thread jay


Hi,


   Please take a look at the below requirement and send me your 
consultant's updated resume, contact details, Visa status copy, 1st entry 
in US at j...@wilcosource.com or reach me on 408-709-1675.



*Requirement:* 


* Job Title: **Sr.Python Developer / Python Architect*

Location*: San Francisco, CA.*

Duration*: 6-12  Months.*

Rate*: Negotiable based on experience.*

MOI*: Telephonic & F2F or Skype.*

Experience*: 8+ Years.*

*Immediate interview.*

 

*Background check clearance with strict evaluation required prior to the 
start.*

 

This position focuses on the development of Data Structures, Python Scripts 
and APIs to deliver the output of Data Science Algorithms and Data as a 
Service. The consultant should be hands on Python developer, highly 
technical and should be able to independently come up with design patterns, 
data structures, algorithms, develop python scripts and APIs using Java 
script, Node.JS and Angular.JS kind of technology stack. Startup or banking 
experience in product development/engineering teams preferred along with 
strong analytical thinking to understand the business problem completely to 
develop scripts and APIs that will cater to multiple business scenarios.

 

*Responsibilities*

·  Hands-on development across full stack ranging from back-end to backend.

·  Build Phython scripts, Java Script, Node. JS/Angular.JS based APIs 

·  Experience in startup like environments like Facebook, google, linked in 
preferred.

·  Integration with enterprise systems, data bases and cloud systems using 
APIs.

·  Effectively communicate and report critical issues to leadership team in 
a timely manner

·  Provide thought leadership, strategy and lead innovation by exploring, 
investigating, recommending, benchmarking and implementing technologies for 
APIs

 

*Required Skills**:*

 

·  6+ years of Strong Product Development Experience preferably using agile 
*SDLC*.

·  2+ years of Python and/or strong scripting experience 

·  Good knowledge of Design Patterns, data structures and algorithms

·  Strong Database Concepts and *SQL* Skills

·  Experience with *API* Development

·  Experience developing product/applications (expertise in all/most of 
these ) using *Javascript, JAVA, JSON, Spring MVC, REST, Web Services, 
Apache CXF, SOA, AXIS2 etc*

·  Quick Learner with ability to Multi-task and learn in a fast paced 
environment

·  Strong analytical, communication skills with attention to details a must

 

*Desired Skills:*

 

·  Experience with Test Driven Development is a big plus

·  Experience building data driven products is a big plus

·  Experience working in a startup environment using open source 
technologies

·  Experience in architecting and building large scale systems requiring 
high availability and high scalability.



*Must Share Below Details:*

 

*It’s Mandatory to share H1 copy/GC/USC, Photo ID and Visa copy of 
IST entry to US.*

   

*Full name:*

*Contact number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID:* 

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Alternate number:*

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month and year landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6fb01dd5-929b-4578-b1bb-596ca6513544%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Sr. Python developer requirement.

2016-11-28 Thread jay


Hi,


   Please take a look at the below requirement and send me your 
consultant's updated resume, contact details, Visa status copy, 1st entry 
in US at j...@wilcosource.com or reach me on 408-709-1675.



*Requirement:* 


* Job Title: **Sr.Python Developer / Python Architect*

Location*: San Francisco, CA.*

Duration*: 6-12  Months.*

Rate*: Negotiable based on experience.*

MOI*: Telephonic & F2F or Skype.*

Experience*: 8+ Years.*

*Immediate interview.*

 

*Background check clearance with strict evaluation required prior to the 
start.*

 

This position focuses on the development of Data Structures, Python Scripts 
and APIs to deliver the output of Data Science Algorithms and Data as a 
Service. The consultant should be hands on Python developer, highly 
technical and should be able to independently come up with design patterns, 
data structures, algorithms, develop python scripts and APIs using Java 
script, Node.JS and Angular.JS kind of technology stack. Startup or banking 
experience in product development/engineering teams preferred along with 
strong analytical thinking to understand the business problem completely to 
develop scripts and APIs that will cater to multiple business scenarios.

 

*Responsibilities*

·  Hands-on development across full stack ranging from back-end to backend.

·  Build Phython scripts, Java Script, Node. JS/Angular.JS based APIs 

·  Experience in startup like environments like Facebook, google, linked in 
preferred.

·  Integration with enterprise systems, data bases and cloud systems using 
APIs.

·  Effectively communicate and report critical issues to leadership team in 
a timely manner

·  Provide thought leadership, strategy and lead innovation by exploring, 
investigating, recommending, benchmarking and implementing technologies for 
APIs

 

*Required Skills**:*

 

·  6+ years of Strong Product Development Experience preferably using agile 
*SDLC*.

·  2+ years of Python and/or strong scripting experience 

·  Good knowledge of Design Patterns, data structures and algorithms

·  Strong Database Concepts and *SQL* Skills

·  Experience with *API* Development

·  Experience developing product/applications (expertise in all/most of 
these ) using *Javascript, JAVA, JSON, Spring MVC, REST, Web Services, 
Apache CXF, SOA, AXIS2 etc*

·  Quick Learner with ability to Multi-task and learn in a fast paced 
environment

·  Strong analytical, communication skills with attention to details a must

 

*Desired Skills:*

 

·  Experience with Test Driven Development is a big plus

·  Experience building data driven products is a big plus

·  Experience working in a startup environment using open source 
technologies

·  Experience in architecting and building large scale systems requiring 
high availability and high scalability.



*Must Share Below Details:*

 

*It’s Mandatory to share H1 copy/GC/USC, Photo ID and Visa copy of 
IST entry to US.*

   

*Full name:*

*Contact number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID:* 

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Alternate number:*

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month and year landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

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


[android-developers] Sr. SalesForce Developer with lightning

2016-11-28 Thread jay
Requirement:

Job Title1: Sr. Sales Force Developer with lightning, Experience: Over all 
8+ Years which includes around 5+ Years of SFDC.
Job Title2: Sales Force Lead with lightning, Experience: Over all 9+ Years 
which includes around 6+ Years of SFDC.

Location: Walnut Creek, CA.
Duration: 6 Months but can go on for long term.
Rate: Negotiable based on experience.
MOI: Telephonic & F2F or Skype.
Immediate interview.
Certification needed.
Background check clearance with strict evaluation required prior to the 
start.

Note: Please share the profiles whose date of birth is on or before 1986 
and who is having 8+ years of real-time experience.

Mandatory Skills:-
• Salesforce developer with 4 to 5 years of experience. The 
candidate must me hands on developer.
• Salesforce with at-least 1 year lightning experience (must skill).
• Able to trouble shoot UX related issues and provide a solution.
• Able to manage offshore team of 2 developers.
• Apex (classes, triggers, methods, etc) and Visualforce 
development experience.
• Deep understanding of Force.com standard objects.
• Experience using Salesforce data and development tools.
• Strong understanding and experience using relational databases 
(MS SQL Server, MySQL, or Oracle).
• Experience in one of these programming languages C#, Java.
• Strong understanding and experience in OOP.

Skills:-

•  Skills with good command on Apex, Visual force, controllers, 
triggers, batch processes, APIs and web services.
•  Thorough understanding on the Life Cycle of Development 
including Salesforce Deployment/Packaging effectively using Metadata API, 
ChangeSet and Ant.
• Excellent spoken and written English, clear oral communication 
skills.

Must Share Below Details:

It’s Mandatory to share H1 copy/GC/USC, Photo ID and Visa copy of IST entry 
to US.

Full name:
Contact number:
Current Employer / Client:
  (i)Employer Contact Name:
  (ii)Employer Contact no :
  (iii)Employer Mail ID:
DOB:
Hourly rate on C2C:
Availability to start:
VISA Status:
Last 4 digits of SSN#
Notice period:
Current location (City & State):
Willing to relocate:
Highest Education? Year completed:
E-mail:
Alternate Email:
Linked link:
Alternate number:
Availability for interview (Dates & Time):
Skype ID for web-cam interview:
2 professional Reference's
Month and year landed in US:
Experience in Years:
US Experience:
Other Experience:

Please share me your link din profile also

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


[android-developers] program manager / Install base master requirement

2016-11-28 Thread jay


Hi,


   Please take a look at the below requirement and send me your 
consultant's updated resume, contact details, Visa status copy, 1st entry 
in US  at j...@wilcosource.com or reach me on 408-709-1675.



*Requirement*

 

*Job Title: Program Manager/* *Install base Master (IB)**.*

*Location: Sunnyvale, CA.*

*Duration: 6+  Months.*

*Rate: **Negotiable based on experience.*

*MOI: Telephonic & F2F or Skype.*

*Experience: 8+ Years.*

*Immediate interview.*

*Background check clearance with strict evaluation required prior to the 
start.*

 

Please find below the JD Below, 

·  Ability to work with business teams

·  10+ years work experience 

·  Knowledge  of Install base (IB) and service contracts. 

·  Strong cross functional skills program management skill,  

·  MDM experience is nice to have. 



*Must Share Below Details:*

 

*It’s Mandatory to share H1 copy/GC/USC, Photo ID and Visa copy of 
IST entry to US.*

   

*Full name:*

*Contact number:*

*Current Employer / Client:*

*  (i)Employer Contact Name:*

*  (ii)Employer Contact no :*

*  (iii)Employer Mail ID:* 

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Last 4 digits of SSN#*

*Notice period:*

*Current location (City & State):*

*Willing to relocate:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Alternate number:*

*Availability for interview (Dates & Time):*

*Skype ID for web-cam interview:*

*2 professional Reference's*

*Month and year landed in US:*

*Experience in Years:*

*US Experience:*

*Other Experience:*

 

*Please share me your link din profile also*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d381897b-7e9a-4bea-9a44-42abbeec1c18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Wilcosource Open Requirements

2016-11-21 Thread jay


Hi,

 

  Please take a look at the below requirements and send me your 
consultant updated resume, contact details, copy of H1 and photo ID at 
j...@wilcosource.com . Please find the job descriptions in the attached file.


*Note: *

*1. Please send me the resumes if your consultants fits for the 
requirement.*

*2. Please don't send me OPT's*



*Requirements*

*Position*

*Location*

*Experience*

*Visa Status*

1

Program manager

Sunnyvale, CA

10+

H1/GC/USC

2

Sr.Python Developer / Python Architect

San Francisco, CA

8+ 

H1/GC/USC

3

Sr. SalesForce Developer

Walnut Creek, CA

*8+ *

H1/GC/USC

4

SalesForce Lead

Walnut Creek, CA

 9+ 

H1/GC/USC

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/700a5f1a-a55d-4044-a79a-31e20825b6bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Requiremnet 19th NOV.docx
Description: MS-Word 2007 document


[android-developers] Wilco source requirement of Program manager / Install base master

2016-11-18 Thread jay


Hi,

 

 Please take a look at below requirement if you feel comfortable 
with the requirement, please send your consultant's  Updated resume, Visa st
atus copy, Photo ID, LinkedIn link and Current location or call me on 
408-709-1675



*Requirement*


*Job Title: Program manager / Install base master*

*Location:** Sunnyvale, CA*

Experience: 10+ years

*Rate: ** Open*

*Start Date:** 2 weeks from confirmation*

*Duration:** 6 + months *

·Ability to work with business teams

·  Knowledge of* Install base (IB)* and *service contracts.* 

·  Strong cross functional skills program management skill,  

·  *MDM* experience is nice to have. 



 *Must Share Below Details:*



*Full name:*

*Current Employer / Client:*

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Complete SSN#*

*Notice period:*

*Current location (City & State):*

*Preferred location:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Contact number:*

*Alternate number:*

*Availability for interview (Dates & Time):*

*Willing to relocate:*

*Willing to Travel:*

*Reason for Leaving:*

*Skype ID for web-cam interview:*

*2 recent professional Reference's*

*Total Experience in Years:*

*US Experience:*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/57f6067b-a1e4-4ff9-a953-706cecfe557d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Sr. Python Developer/Architect

2016-11-14 Thread jay


Hi,

 

   Please take a look at below requirement if you have consultant send me 
their  Updated resume and contact details on j...@wilcosource.com


*Requirement:*

 

*Job Title: Sr. Python Developer*

*Location: San Francisco, CA.*

*Duration: 6-12  Months.*

*Rate: Negotiable based on experience.*

*MOI: Telephonic & F2F or Skype.*

*Experience: 8+ Years.*

*Immediate interview.*

*Background check clearance with strict evaluation required prior to the 
start.*

 

This position focuses on the development of Data Structures, Python Scripts 
and APIs to deliver the output of Data Science Algorithms and Data as a 
Service. The consultant should be hands on Python developer, highly 
technical and should be able to independently come up with design patterns, 
data structures, algorithms, develop python scripts and APIs using Java 
script, Node.JS and Angular.JS kind of technology stack. Startup or banking 
experience in product development/engineering teams preferred along with 
strong analytical thinking to understand the business problem completely to 
develop scripts and APIs that will cater to multiple business scenarios.

 

*Responsibilities*

·  Hands-on development across full stack ranging from back-end to backend.

·  Build Phython scripts, Java Script, Node. JS/Angular.JS based APIs 

·  Experience in startup like environments like Facebook, google, linked in 
preferred.

·  Integration with enterprise systems, data bases and cloud systems using 
APIs.

·  Effectively communicate and report critical issues to leadership team in 
a timely manner

·  Provide thought leadership, strategy and lead innovation by exploring, 
investigating, recommending, benchmarking and implementing technologies for 
APIs

*Required Skills:*

·  6+ years of Strong Product Development Experience preferably using agile 
SDLC.

·  2+ years of Python and/or strong scripting experience 

·  Good knowledge of Design Patterns, data structures and algorithms

·  Strong Database Concepts and SQL Skills

·  Experience with API Development

·  Experience developing product/applications (expertise in all/most of 
these ) using Javascript, JAVA, JSON, Spring MVC, REST, Web Services, 
Apache CXF, SOA, AXIS2 etc

·  Quick Learner with ability to Multi-task and learn in a fast paced 
environment

·  Strong analytical, communication skills with attention to details a must

 

*Desired Skills:*

·  Experience with Test Driven Development is a big plus

·  Experience building data driven products is a big plus

·  Experience working in a startup environment using open source 
technologies

·  Experience in architecting and building large scale systems requiring 
high availability and high scalability.



*Must Share Below Details:*



*Full name:*

*Current Employer / Client:*

*DOB:*

*Hourly rate on C2C:*

*Availability to start:*

*VISA Status:*

*Complete SSN#*

*Notice period:*

*Current location (City & State):*

*Preferred location:*

*Highest Education? Year completed:*

*E-mail:*

*Alternate Email:*

*Linked link: *

*Contact number:*

*Alternate number:*

*Availability for interview (Dates & Time):*

*Willing to relocate:*

*Willing to Travel:*

*Reason for Leaving:*

*Skype ID for web-cam interview:*

*2 recent professional Reference's*

*Total Experience in Years:*

*US Experience:*

*Total Experience:*

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


[android-developers] how to root android

2016-08-27 Thread Jay Rathore

Figure out How to root android telephones. Get ventures by step technique 
to root android telephone without pc. Complete manual for root android with 
programming and apparatuses. Additionally root android tablets or gadgets
how to root android 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/114bba6b-79ae-429e-bf63-aa88ee8845db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: SENIOR IT RECRUITER - LOOKING FOR A JOB IN HYDERABAD / SECUNDERABAD

2016-07-21 Thread jay var
Urgently looking for 2-5 Years Bench Sales Recruiters and US IT Recruiters
in Madhapur, Hyderabad location.



Please respond with your updated profile tousstaffing...@gmail.com



On Thu, Jun 2, 2016 at 7:33 PM, Jadhav Ashok 
wrote:

> hi All,
>
> Attached is the resume of my friend who is looking for a SR IT RECRUITER
> job in and around HYDERABAD / SECUNDERABAD
>
> his name is SHANTHI KUMAR and he can be reached on
> shanthikuma...@gmail.com / Mobile: 9703933811
>
> He has 9 years of experience in US IT STAFFING
>
> Feel Free to call him any time
>
> Appreciate your kind response in this regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "SAP-FICO-Jobs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sap-fico-jobs+unsubscr...@googlegroups.com.
> To post to this group, send email to sap-fico-j...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sap-fico-jobs.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAKRywtO%2BRpHXOeDGYKf5z%3D-%3DJ52MBJH-NpZGwT-3Q2ntHNEixA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Urgently looking for Bench Sales Recruiters , Madhapur(Image Hospital Lane), Hyderabad

2016-07-19 Thread jay var


*Urgently looking for Bench Sales Recruiters , Madhapur(Image Hospital 
Lane), Hyderabad Location with 2- 5 Years Experience .*

 

*Please send your update Profile to jayavardha...@aptivacorp.com 
 *

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d587bc72-f159-4231-a9d3-0ab642950d65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] raspi

2016-06-26 Thread Jay Parmar
 

https://youtu.be/f2mV2S7qTa4

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ec7ebd75-bc47-46f8-9e64-33ae3c1fffd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] raspberry pi

2016-06-26 Thread Jay Parmar
 

https://youtu.be/lo2wQj73Mvo

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d8bafcd0-7caf-4531-a9f6-346421248708%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: How to search for contacts with phone number

2016-03-20 Thread Marcel Jay
*push*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/bf3c2b49-9bd4-4c20-9644-20cc38ceea15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to search for contacts with phone number

2016-03-19 Thread Marcel Jay
Hello Community,

I am an Android User since two years and it's bugging me that it seems 
impossible to search contacts without getting all the email contacts from 
gmail displayed.
It makes the search highly inefficient. I'm using Android 4.4 on a Samsung 
Galaxy S5 mini. Was the same problem on an S3 mini.

Is there a fix to that?

Cheers

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


Re: [android-developers] Application crashing on lollipop version 5.0.1

2015-02-15 Thread jay


On Saturday, February 14, 2015 at 4:03:56 AM UTC+5:30, TreKing wrote:
>
>
> On Fri, Feb 13, 2015 at 7:26 AM, jay > 
> wrote:
>
>> i am using Telerik chart controls for my application and its crashing in 
>> Nexus 4 mobile and Android OS version 5.0.1
>>
>>
>> here is the trace of it, please let me know the solution 
>>
>
> If this some 3rd party library, it seems you should report this issue to 
> its developers.
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>



hi,

but it is working fine in Nexus 5 Lollipop version 5.0.1 only in Nexus 4 it 
is crashing 

Regards,
Jay   

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

2015-02-13 Thread jay
hi,

i am using Telerik chart controls for my application and its crashing in 
Nexus 4 mobile and Android OS version 5.0.1


here is the trace of it, please let me know the solution 


02-13 18:40:50.927: E/AndroidRuntime(24806): FATAL EXCEPTION: main
02-13 18:40:50.927: E/AndroidRuntime(24806): Process: com.afs.mojo, PID: 
24806
02-13 18:40:50.927: E/AndroidRuntime(24806): 
java.lang.NegativeArraySizeException: -1342237120
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
dalvik.system.VMRuntime.newNonMovableArray(Native Method)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.graphics.Bitmap.nativeCreate(Native Method)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.graphics.Bitmap.createBitmap(Bitmap.java:817)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.graphics.Bitmap.createBitmap(Bitmap.java:777)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.buildDrawingCache(View.java:14273)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14029)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14008)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14008)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14008)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14008)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14008)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14008)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.updateDisplayListIfDirty(View.java:14008)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.View.getDisplayList(View.java:14071)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:266)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:272)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ThreadedRenderer.draw(ThreadedRenderer.java:311)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewRootImpl.draw(ViewRootImpl.java:2492)
02-13 18:40:50.927: E/AndroidRuntime(24806): at 
android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2337)
02-13 1

[android-developers] post data not re-submitted on webview "back" in 4.4.4

2014-09-09 Thread Jay Howard
Anyone run into this?

Activity creates a WebView and sets cache mode = LOAD_NO_CACHE, then calls 
WebView.postUrl() with a URL and some POST data.

The resulting webpage has a hyperlink, which the user tap to access a 
second page.

He then taps the device back button, which I intercept and turn into a 
goBack() call on the WebView.

On a 4.2.2 device this results in the original POST request being re-sent 
along with the original data supplied to WebView.postUrl().

On a 4.4.4 device the device still makes a POST request, but without the 
POST data.

Verified this is this case by way of server logs.

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

2014-05-19 Thread Jay Howard
Disregard.  Problem was on my end.  

On Monday, May 19, 2014 3:44:59 PM UTC-5, Jay Howard wrote:
>
> Am I imagining things, or was support for the "manifestpackage" property 
> AaptExecTask removed in 22.6.3?  This used to map to the command line 
> option "--rename-manifest-package".
>
> If I'm not imagining things, any reason it was removed?  I found it very 
> helpful.
>
> Here's the functionality I'm referring to:
>
> https://code.google.com/p/android/issues/detail?id=21336
>

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

2014-05-19 Thread Jay Howard
Am I imagining things, or was support for the "manifestpackage" property 
AaptExecTask removed in 22.6.3?  This used to map to the command line 
option "--rename-manifest-package".

If I'm not imagining things, any reason it was removed?  I found it very 
helpful.

Here's the functionality I'm referring to:

https://code.google.com/p/android/issues/detail?id=21336

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

2014-01-30 Thread Jay Howard
The layout of ListView items seems to have changed in SDK 18.  I've created 
an example project that highlights the different behavior when 
targetSdkVersio = 17 vs. 18:

https://drive.google.com/file/d/0B6DvDY2BvxUTZHUxTHkzNUZvVDg

Additionally I've started a thread on StackOverflow (with screen shots) 
here:

http://stackoverflow.com/questions/21442381/how-to-work-around-change-in-list-item-layout-behavior-change-between-sdk-17-and

Previously another StackOverflow user posted a similar question but got no 
response:

http://stackoverflow.com/questions/17993415/listview-item-layout-differs-between-targetsdkversion-17-and-targetsdkversion

My question:  is there a workaround that would allow me to target SDK 18+ 
but keep the layout behavior from 17?  Maybe manually calling 
layout-related methods on the views in question?

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


[android-developers] Re: Renderscript Support Library Problems

2013-10-29 Thread jay
Hi Team ,

I needed help how to integrate js in android please explain this ! 

On Monday, October 28, 2013 10:42:36 PM UTC+5:30, Laikis Reor wrote:
>
> Hello All,
>
> So I was excited for the Renderscript support library but have had some 
> problems getting it to work.  Despite following the instructions at 
> http://developer.android.com/guide/topics/renderscript/compute.html#access-rs-apisI
>  still get the error 
> 'The import android.support.v8 cannot be resolved' at the line stating '
> import android.support.v8.renderscript.*;'
>
> Now, parts of the build tools are working correctly, at least.  The 
> autogenerated ScriptC_* classes are properly referencing the 
> android.support.v8.renderscript library, but of course they too aren't 
> compiling.
>
> Any ideas?
>
> Thanks,
> Reor
>
>
>
>

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


[android-developers] Re: Renderscript Support Library Problems

2013-10-29 Thread jay
Hi Team ,

I needed help how to integrate js in android please explain this ! 

On Monday, October 28, 2013 10:42:36 PM UTC+5:30, Laikis Reor wrote:
>
> Hello All,
>
> So I was excited for the Renderscript support library but have had some 
> problems getting it to work.  Despite following the instructions at 
> http://developer.android.com/guide/topics/renderscript/compute.html#access-rs-apisI
>  still get the error 
> 'The import android.support.v8 cannot be resolved' at the line stating '
> import android.support.v8.renderscript.*;'
>
> Now, parts of the build tools are working correctly, at least.  The 
> autogenerated ScriptC_* classes are properly referencing the 
> android.support.v8.renderscript library, but of course they too aren't 
> compiling.
>
> Any ideas?
>
> Thanks,
> Reor
>
>
>
>

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


[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-08 Thread Jay Howard
First of all, thanks for taking the time to build the demo app.  It's 
frustrating that I'm no closer to figuring out why this is happening, but 
at least it doesn't seem to be an issue on *all* S4 devices.

I wonder if the trait that triggers the behavior isn't hardware, but some 
configurable option that just happens to have one value on your phone and a 
different value on mine.  I can't think of what it might be, though.  When 
the options menu is in the "bad" state it's as if the taps aren't even 
registered by the device.  I enabled "Show Pointer Location" from developer 
options, though, and I see visual feedback to indicate that taps are 
occurring inside the bounds of the menu items I'm attempting to select.

On Thursday, August 8, 2013 5:19:54 AM UTC-5, gjs wrote:
>
> Hi,
>
> I downloaded, unzipped & built you app in Eclipse from the source, without 
> any alterations. It did run OK on my Samsung Galaxy S4 (Android V4.2.2).
>
> It did *not* exhibit the issues you originally mentioned, all menu items 
> working ok with the text for each item showing up ok & immediately for the 
> various key combinations include selecting 'more' and pressing that 
> hardware back button then pressing the original menu options, all was ok.
>
> I have attached a screenshot showing the device details used for this 
> test. It's a 4G LTE 'international' version and is an 'unlocked' device, 
> not rooted & not from a carrier, it came out of Hong Kong, I am using it in 
> Australia.
>
> Perhaps the issue is specific to some subset of these devices?
>
> Regards
> ,
> On Wednesday, August 7, 2013 11:48:28 PM UTC+10, Jay Howard wrote:
>>
>> How frustrating.  Though, I'm glad to know it works for someone else; it 
>> gives me some hope that a workaround can be found.
>>
>> Couple questions about the app that's working correctly:
>>
>> 1. What's the value of "targetSdkVersion" in your manifest?  (Mine is 
>> "9").
>> 2. What's the value of "target" in your project.properties file?  (Mine 
>> is "Google Inc.:Google APIs:14").
>> 3. Do you use a default theme for your app?  If so, which?  (Mine is 
>> "Theme.NoTitleBar").
>>
>> Is there any chance I could impose on you to build and run my demo app 
>> ("OptionsMenu.zip" shared on Google Drive) on your S4?  The zip file 
>> contains a complete Eclipse project minus the "bin" and "gen" dirs, which 
>> are auto-generated.  The app is trivial and does nothing but demonstrate 
>> the bad behavior.
>>
>> If possible, I'd like to determine whether this is an issue on all S4s or 
>> if the device I'm using is "special" in some way.
>>
>> On Wednesday, August 7, 2013 3:51:02 AM UTC-5, gjs wrote:
>>>
>>> Hi,
>>>
>>> I have a Samsung Galaxy S4 with Android 4.2.2 plus an app & activities 
>>> that have legacy option menus with more than six items, including "more" 
>>> that uses onCreateOptionsMenu() as well as onPrepareOptionsMenu() and 
>>> onOptionsItemSelected().
>>>
>>> When I try to reproduce your steps I do *not* get the same issues you 
>>> mention, all menu options work OK when using the key combinations you 
>>> mention.
>>>
>>> The main difference I can see when looking at your code sample on SO, is 
>>> that I do *not* use an inflator to inflate the menu items from a static xml 
>>> file in onCreateOptionsMenu(). 
>>>
>>> Instead I am creating the menu (& sub menu) items in java code 
>>> dynamically at runtime, within onCreateOptionsMenu() & also 
>>> onPrepareOptionsMenu(), adding & removing menu items to & from the menu 
>>> object 'by hand', the reason I'm doing this is that the menu items need to 
>>> vary according to the current context of the activity, perhaps you could 
>>> try the same & see if that works ok on an S4.
>>>
>>> Another suggestion, instead of creating menu items dynamically at 
>>> runtime in java code - which is probably not a recommended practice, is to 
>>> try your inflator code within onPrepareOptionsMenu(), remembering to 
>>> call menu.clear() before the inflator and see if that works any better.
>>>
>>> See for details 
>>> http://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)
>>>
>>> Good luck.
>>>
>>> On Wednesday, Au

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
The "next" version of my employer's app ditches the options menu and uses 
the navigation drawer for most things.  Unfortunately, that version isn't 
going to be rolled out for a few months.  I was hoping to find a fix for 
the current version that still uses a legacy options menu.

On Wednesday, August 7, 2013 3:30:36 PM UTC-5, Nobu Games wrote:
>
> Sorry, I did not realize, there was a ZIP file. I was thinking the 
> download button is just some big graphic and my "visual parser" in my head 
> discarded it :-D
>
> Your activity is as simple as it can get and I cannot spot any mistake. It 
> really may be just some rare firmware glitch and nothing much to worry 
> about. Unfortunately we have to deal with these random device-specific 
> oddities all the time.
>
> If you really want to work around that issue you could make use of an 
> action bar and move the most important and relevant menu options there.
>
>
> On Tuesday, August 6, 2013 11:01:17 AM UTC-5, Jay Howard wrote:
>>
>> I'm seeing the following behavior (on a Samsung S4, but potentially also 
>> on other Samsung devices) in an app that uses a "legacy" options menu:
>>
>> 1. User taps hardware menu button to bring up options menu.  There are 
>> more than six items in the menu.
>> 2. User taps the bottom-right "more" button to access the overflow menu 
>> items.
>> 3. User taps the hardware back button to return to the initial options 
>> menu.
>> 4. User taps any combination of menu items, potentially multiple times 
>> each.  Nothing happens.  onOptionsItemSelected() is never called.
>> 5. User taps the hardware back button to close the options menu.
>> 6. User taps the hardware menu button to display the options menu again.  
>> At this point, onOptionsItemSelected() is called in quick succession for 
>> each menu item the user tapped when the menu was previously displayed.
>>
>> Can anyone advise?
>>
>> I've created a simple demo app to demonstrates the behavior along with a 
>> video that shows exactly what I'm talking about.  There's also a screenshot 
>> with device info for the device I tested on.  I've shared them here:
>>
>> https://drive.google.com/folderview?id=0B6DvDY2BvxUTRUNxWFVUNDl4QlU
>>
>> The demo app implements onCreateOptionsMenu() and onOptionsItemSelected() 
>> nearly identically to the examples given here:
>>
>> http://developer.android.com/guide/topics/ui/menus.html#options-menu
>>
>> I posted this question on StackOverflow a while back, but none of the 
>> responses were helpful:
>>
>>
>> http://stackoverflow.com/questions/17180909/options-menu-locks-up-on-galaxy-s4
>>
>

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




[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
It's part of that zip file, but here is the contents of my activity, my 
app's manifest and the xml for the menu items:

MainActivity.java:

package com.example.optionsmenu;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.ViewGroup;
import android.widget.TextView;

public class MainActivity extends Activity {

private ViewGroup mContainer;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mContainer = (ViewGroup) findViewById(R.id.container);
}

@Override
public final boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.action_a:
case R.id.action_b:
case R.id.action_c:
case R.id.action_d:
case R.id.action_e:
case R.id.action_f:
case R.id.action_g:
case R.id.action_h:
final TextView textview = new TextView(this);
textview.setText(item.getTitle());
mContainer.addView(textview);
return true;
default:
return super.onOptionsItemSelected(item);
}
}

}

AndroidManifest.xml:


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















main.xml:

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





















On Wednesday, August 7, 2013 2:40:37 PM UTC-5, Nobu Games wrote:
>
> Could you post your Activity code?
>
> On Tuesday, August 6, 2013 11:01:17 AM UTC-5, Jay Howard wrote:
>>
>> I'm seeing the following behavior (on a Samsung S4, but potentially also 
>> on other Samsung devices) in an app that uses a "legacy" options menu:
>>
>> 1. User taps hardware menu button to bring up options menu.  There are 
>> more than six items in the menu.
>> 2. User taps the bottom-right "more" button to access the overflow menu 
>> items.
>> 3. User taps the hardware back button to return to the initial options 
>> menu.
>> 4. User taps any combination of menu items, potentially multiple times 
>> each.  Nothing happens.  onOptionsItemSelected() is never called.
>> 5. User taps the hardware back button to close the options menu.
>> 6. User taps the hardware menu button to display the options menu again.  
>> At this point, onOptionsItemSelected() is called in quick succession for 
>> each menu item the user tapped when the menu was previously displayed.
>>
>> Can anyone advise?
>>
>> I've created a simple demo app to demonstrates the behavior along with a 
>> video that shows exactly what I'm talking about.  There's also a screenshot 
>> with device info for the device I tested on.  I've shared them here:
>>
>> https://drive.google.com/folderview?id=0B6DvDY2BvxUTRUNxWFVUNDl4QlU
>>
>> The demo app implements onCreateOptionsMenu() and onOptionsItemSelected() 
>> nearly identically to the examples given here:
>>
>> http://developer.android.com/guide/topics/ui/menus.html#options-menu
>>
>> I posted this question on StackOverflow a while back, but none of the 
>> responses were helpful:
>>
>>
>> http://stackoverflow.com/questions/17180909/options-menu-locks-up-on-galaxy-s4
>>
>

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




[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
I tried the following with no success:

1. Recreating the menu in onPrepareOptionsMenu() each time it's called and 
making onCreateOptionsMenu() into a no-op.
2. Programmatically instantiating all the MenuItems (in 
onPrepareOptionsMenu()) instead of inflating them from XML.
3. Varying targetSdkVersion from "9" to "17".
4. Setting no default theme for my app in the manifest.

Got the same buggy behavior every time.  Maybe my phone is cursed.


On Wednesday, August 7, 2013 3:51:02 AM UTC-5, gjs wrote:
>
> Hi,
>
> I have a Samsung Galaxy S4 with Android 4.2.2 plus an app & activities 
> that have legacy option menus with more than six items, including "more" 
> that uses onCreateOptionsMenu() as well as onPrepareOptionsMenu() and 
> onOptionsItemSelected().
>
> When I try to reproduce your steps I do *not* get the same issues you 
> mention, all menu options work OK when using the key combinations you 
> mention.
>
> The main difference I can see when looking at your code sample on SO, is 
> that I do *not* use an inflator to inflate the menu items from a static xml 
> file in onCreateOptionsMenu(). 
>
> Instead I am creating the menu (& sub menu) items in java code dynamically 
> at runtime, within onCreateOptionsMenu() & also onPrepareOptionsMenu(), 
> adding & removing menu items to & from the menu object 'by hand', the 
> reason I'm doing this is that the menu items need to vary according to the 
> current context of the activity, perhaps you could try the same & see if 
> that works ok on an S4.
>
> Another suggestion, instead of creating menu items dynamically at runtime 
> in java code - which is probably not a recommended practice, is to try your 
> inflator code within onPrepareOptionsMenu(), remembering to call 
> menu.clear() before the inflator and see if that works any better.
>
> See for details 
> http://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)
>
> Good luck.
>
> On Wednesday, August 7, 2013 2:01:17 AM UTC+10, Jay Howard wrote:
>>
>> I'm seeing the following behavior (on a Samsung S4, but potentially also 
>> on other Samsung devices) in an app that uses a "legacy" options menu:
>>
>> 1. User taps hardware menu button to bring up options menu.  There are 
>> more than six items in the menu.
>> 2. User taps the bottom-right "more" button to access the overflow menu 
>> items.
>> 3. User taps the hardware back button to return to the initial options 
>> menu.
>> 4. User taps any combination of menu items, potentially multiple times 
>> each.  Nothing happens.  onOptionsItemSelected() is never called.
>> 5. User taps the hardware back button to close the options menu.
>> 6. User taps the hardware menu button to display the options menu again.  
>> At this point, onOptionsItemSelected() is called in quick succession for 
>> each menu item the user tapped when the menu was previously displayed.
>>
>> Can anyone advise?
>>
>> I've created a simple demo app to demonstrates the behavior along with a 
>> video that shows exactly what I'm talking about.  There's also a screenshot 
>> with device info for the device I tested on.  I've shared them here:
>>
>> https://drive.google.com/folderview?id=0B6DvDY2BvxUTRUNxWFVUNDl4QlU
>>
>> The demo app implements onCreateOptionsMenu() and onOptionsItemSelected() 
>> nearly identically to the examples given here:
>>
>> http://developer.android.com/guide/topics/ui/menus.html#options-menu
>>
>> I posted this question on StackOverflow a while back, but none of the 
>> responses were helpful:
>>
>>
>> http://stackoverflow.com/questions/17180909/options-menu-locks-up-on-galaxy-s4
>>
>

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




[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
How frustrating.  Though, I'm glad to know it works for someone else; it 
gives me some hope that a workaround can be found.

Couple questions about the app that's working correctly:

1. What's the value of "targetSdkVersion" in your manifest?  (Mine is "9").
2. What's the value of "target" in your project.properties file?  (Mine is 
"Google Inc.:Google APIs:14").
3. Do you use a default theme for your app?  If so, which?  (Mine is 
"Theme.NoTitleBar").

Is there any chance I could impose on you to build and run my demo app 
("OptionsMenu.zip" shared on Google Drive) on your S4?  The zip file 
contains a complete Eclipse project minus the "bin" and "gen" dirs, which 
are auto-generated.  The app is trivial and does nothing but demonstrate 
the bad behavior.

If possible, I'd like to determine whether this is an issue on all S4s or 
if the device I'm using is "special" in some way.

On Wednesday, August 7, 2013 3:51:02 AM UTC-5, gjs wrote:
>
> Hi,
>
> I have a Samsung Galaxy S4 with Android 4.2.2 plus an app & activities 
> that have legacy option menus with more than six items, including "more" 
> that uses onCreateOptionsMenu() as well as onPrepareOptionsMenu() and 
> onOptionsItemSelected().
>
> When I try to reproduce your steps I do *not* get the same issues you 
> mention, all menu options work OK when using the key combinations you 
> mention.
>
> The main difference I can see when looking at your code sample on SO, is 
> that I do *not* use an inflator to inflate the menu items from a static xml 
> file in onCreateOptionsMenu(). 
>
> Instead I am creating the menu (& sub menu) items in java code dynamically 
> at runtime, within onCreateOptionsMenu() & also onPrepareOptionsMenu(), 
> adding & removing menu items to & from the menu object 'by hand', the 
> reason I'm doing this is that the menu items need to vary according to the 
> current context of the activity, perhaps you could try the same & see if 
> that works ok on an S4.
>
> Another suggestion, instead of creating menu items dynamically at runtime 
> in java code - which is probably not a recommended practice, is to try your 
> inflator code within onPrepareOptionsMenu(), remembering to call 
> menu.clear() before the inflator and see if that works any better.
>
> See for details 
> http://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)
>
> Good luck.
>
> On Wednesday, August 7, 2013 2:01:17 AM UTC+10, Jay Howard wrote:
>>
>> I'm seeing the following behavior (on a Samsung S4, but potentially also 
>> on other Samsung devices) in an app that uses a "legacy" options menu:
>>
>> 1. User taps hardware menu button to bring up options menu.  There are 
>> more than six items in the menu.
>> 2. User taps the bottom-right "more" button to access the overflow menu 
>> items.
>> 3. User taps the hardware back button to return to the initial options 
>> menu.
>> 4. User taps any combination of menu items, potentially multiple times 
>> each.  Nothing happens.  onOptionsItemSelected() is never called.
>> 5. User taps the hardware back button to close the options menu.
>> 6. User taps the hardware menu button to display the options menu again.  
>> At this point, onOptionsItemSelected() is called in quick succession for 
>> each menu item the user tapped when the menu was previously displayed.
>>
>> Can anyone advise?
>>
>> I've created a simple demo app to demonstrates the behavior along with a 
>> video that shows exactly what I'm talking about.  There's also a screenshot 
>> with device info for the device I tested on.  I've shared them here:
>>
>> https://drive.google.com/folderview?id=0B6DvDY2BvxUTRUNxWFVUNDl4QlU
>>
>> The demo app implements onCreateOptionsMenu() and onOptionsItemSelected() 
>> nearly identically to the examples given here:
>>
>> http://developer.android.com/guide/topics/ui/menus.html#options-menu
>>
>> I posted this question on StackOverflow a while back, but none of the 
>> responses were helpful:
>>
>>
>> http://stackoverflow.com/questions/17180909/options-menu-locks-up-on-galaxy-s4
>>
>

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




[android-developers] Re: Writing file to app folder

2013-08-06 Thread Jay Howard
This may be a complete red herring, but I've noticed that certain Motorola 
phones don't behave well unless you use the Motorola-branded USB cable that 
shipped with the phone.  For whatever reason, those particular phones don't 
work well with generic cables.

On Tuesday, August 6, 2013 12:59:21 PM UTC-5, dashman wrote:
>
> I'm writing a data file to my app folder
>
> /Android/data//files
>
> and the file is visible from my android phone file explorer app.
>
> But when I use the desktop Windows file explorer - it's not visible.
>
>
> This is how i'm writing the file out:
>
> File storageFolder = mContext.getExternalFilesDir(null);
>
> java.io.BufferedWriter out = new java.io.BufferedWriter( 
> new java.io.FileWriter( storageFolder.getAbsolutePath() + "/temp.txt") );
>
>
> As written above - the file is written out - verified.
>
>
>
>

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




[android-developers] buggy legacy options menu on Samsung S4

2013-08-06 Thread Jay Howard
I'm seeing the following behavior (on a Samsung S4, but potentially also on 
other Samsung devices) in an app that uses a "legacy" options menu:

1. User taps hardware menu button to bring up options menu.  There are more 
than six items in the menu.
2. User taps the bottom-right "more" button to access the overflow menu 
items.
3. User taps the hardware back button to return to the initial options menu.
4. User taps any combination of menu items, potentially multiple times 
each.  Nothing happens.  onOptionsItemSelected() is never called.
5. User taps the hardware back button to close the options menu.
6. User taps the hardware menu button to display the options menu again.  
At this point, onOptionsItemSelected() is called in quick succession for 
each menu item the user tapped when the menu was previously displayed.

Can anyone advise?

I've created a simple demo app to demonstrates the behavior along with a 
video that shows exactly what I'm talking about.  There's also a screenshot 
with device info for the device I tested on.  I've shared them here:

https://drive.google.com/folderview?id=0B6DvDY2BvxUTRUNxWFVUNDl4QlU

The demo app implements onCreateOptionsMenu() and onOptionsItemSelected() 
nearly identically to the examples given here:

http://developer.android.com/guide/topics/ui/menus.html#options-menu

I posted this question on StackOverflow a while back, but none of the 
responses were helpful:

http://stackoverflow.com/questions/17180909/options-menu-locks-up-on-galaxy-s4

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




[android-developers] Gesture recognization

2013-04-04 Thread Jay
Hi friends,

i am working on one application for children.
The application on gesture draw and i am drawing letters as well as numbers.
i want like whatever i draw is should hold and recognize the alphabets and
numbers like A B C D 1 2 3 4

here is the link what i am talking about

http://www.linkedin.com/profile/view?id=4366&authType=NAME_SEARCH&authToken=cW-1&locale=en_US&srchid=41afbd0d-0839-4e9e-97d8-40230804f3b8-0&srchindex=1&srchtotal=2&goback=.fps_PBCK_*1_Priyanka_Chowksey_*1_*1_*1_*1_*2_*1_Y_*1_*1_*1_false_1_R_*1_*51_*1_*51_true_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2&pvs=ps&trk=pp_profile_name_link

please tell me which technology or APIS they have used for this.

thank you

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




Re: [android-developers] Re: perform atomic message send/remove on a handler

2012-10-30 Thread Jay Howard
Here's what I ended up doing:

1. Ensure that my timer class, which creates a Handler in its  method
on the caller's thread, is always instantiated on the main thread.
2. My class is also a BroadcastReceiver, but onReceive() is guaranteed to
be called by the main thread so it can access the handler directly.
2. Structure each external method that accesses the handler (and that could
potentially be called from multiple threads) as follows:

private void doSomethingWithHandlerSync() {
  // access the handler directly
}

public void doSomethingWithHandler() {
  if (Thread.currentThread().equals(mHandler.getLooper().getThread())) {
doSomethingWithHandlerSync();
  } else {
mHandler.post(new Runnable() {
  @Override
  public void run() {
doSomethingWithHandlerSync();
  }
});
  }
}

Does that thread check look right?  Seems like it should be sufficient to
guarantee that doSomethingWithHandlerSync(), handleMessage() and
onReceive() will never execute concurrently.


On Tue, Oct 30, 2012 at 10:09 AM, Jay Howard wrote:

> Thanks so much for the response!  If you'll indulge me with a few more
> questions...
>
> So I instantiate the handler in the onCreate() method of my Application,
> which I assume means it's tied to the UI thread.
>
> The method that removes and re-sends messages is called primarily on the
> UI thread, but can also be called from an IntentService that I use to
> handle network communication.  Since the service is executed by a thread
> other than the UI thread it appears that I do need to synchronize.
>
> To give some more detail on my goals for this:  I'm attempting to use the
> handler to track both user inactivity and server session expiration.  The
> Service calls a "session refreshed" method to remove session-related
> delayed messages and re-add them with a new delay.  The UI thread calls an
> "user activity occurred" method to indicate the user "did something"; that
> method removes inactivity-related delayed messages and re-adds them with a
> new delay.
>
> One other kink:  I also have code to respond to SCREEN_ON and SCREEN_OFF.
> At screen off I remove all messages from the handler; at screen on I
> re-send each message that was queued at the point at which screen off
> occurred, albeit with a revised delay to account for the time that elapsed
> while the screen was off.
>
>
>
> On Tue, Oct 30, 2012 at 9:43 AM, Streets Of Boston <
> flyingdutc...@gmail.com> wrote:
>
>> It depends which thread is callling the code-snippet you show above (the
>> one calling 'removeMessage').
>>
>> If your code, calling 'removeMessage', is run on the same thread that is
>> tied to the *handler*, you're fine. The message you sent will not be
>> handled/run until your code finishes first. No extra work necessary.
>>
>> If your code, calling 'removeMessage' is run on another thread than the
>> one tied to the *handler*, you need to sync it up. This could be as
>> simple as send another message on that handler that will call
>> 'removeMessage': E.g.:
>> handler.post(new Runnable() {
>>   public void run() {
>> // Right now, calling 'removeMessages', etc. is done
>> // on the handler's thread as well.
>> handler.removeMessages(MSG_**ONE);
>> handler.removeMessages(MSG_**TWO);
>> ...
>>
>> if (conditionOne)
>>   handler.**sendEmptyMessageDelayed(MSG_**ONE, timeoutOne);
>>
>> if (conditionTwo)
>>   handler.**sendEmptyMessageDelayed(MSG_**TWO, timeoutTwo);
>>   }
>> });
>>
>> Since both the 'removeMessages' and 'sendEmptyMessageDelayed' are called
>> on 'handler' the Runnable needs to finish first before any other message
>> sent to 'handler' can be executed.
>>
>>
>> On Tuesday, October 30, 2012 9:17:39 AM UTC-4, Jay Howard wrote:
>>>
>>> I'm using a timer to manage timeout events, and would like to ensure
>>> that a particular method runs atomically without the handler issuing
>>> messages while the method is executing.  Its basic form is:
>>>
>>> handler.removeMessages(MSG_**ONE);
>>> handler.removeMessages(MSG_**TWO);
>>> ...
>>>
>>> if (conditionOne)
>>>   handler.**sendEmptyMessageDelayed(MSG_**ONE, timeoutOne);
>>>
>>> if (conditionTwo)
>>>   handler.**sendEmptyMessageDelayed(MSG_**TWO, timeoutTwo);
>>>
>>> ...
>>>
>>> What I want to avoid is a situation where, before the removeMessages()
>>> calls execute, one of the messages

Re: [android-developers] Re: perform atomic message send/remove on a handler

2012-10-30 Thread Jay Howard
Thanks so much for the response!  If you'll indulge me with a few more
questions...

So I instantiate the handler in the onCreate() method of my Application,
which I assume means it's tied to the UI thread.

The method that removes and re-sends messages is called primarily on the UI
thread, but can also be called from an IntentService that I use to handle
network communication.  Since the service is executed by a thread other
than the UI thread it appears that I do need to synchronize.

To give some more detail on my goals for this:  I'm attempting to use the
handler to track both user inactivity and server session expiration.  The
Service calls a "session refreshed" method to remove session-related
delayed messages and re-add them with a new delay.  The UI thread calls an
"user activity occurred" method to indicate the user "did something"; that
method removes inactivity-related delayed messages and re-adds them with a
new delay.

One other kink:  I also have code to respond to SCREEN_ON and SCREEN_OFF.
At screen off I remove all messages from the handler; at screen on I
re-send each message that was queued at the point at which screen off
occurred, albeit with a revised delay to account for the time that elapsed
while the screen was off.


On Tue, Oct 30, 2012 at 9:43 AM, Streets Of Boston
wrote:

> It depends which thread is callling the code-snippet you show above (the
> one calling 'removeMessage').
>
> If your code, calling 'removeMessage', is run on the same thread that is
> tied to the *handler*, you're fine. The message you sent will not be
> handled/run until your code finishes first. No extra work necessary.
>
> If your code, calling 'removeMessage' is run on another thread than the
> one tied to the *handler*, you need to sync it up. This could be as
> simple as send another message on that handler that will call
> 'removeMessage': E.g.:
> handler.post(new Runnable() {
>   public void run() {
> // Right now, calling 'removeMessages', etc. is done
> // on the handler's thread as well.
> handler.removeMessages(MSG_**ONE);
> handler.removeMessages(MSG_**TWO);
> ...
>
> if (conditionOne)
>   handler.**sendEmptyMessageDelayed(MSG_**ONE, timeoutOne);
>
> if (conditionTwo)
>   handler.**sendEmptyMessageDelayed(MSG_**TWO, timeoutTwo);
>   }
> });
>
> Since both the 'removeMessages' and 'sendEmptyMessageDelayed' are called
> on 'handler' the Runnable needs to finish first before any other message
> sent to 'handler' can be executed.
>
>
> On Tuesday, October 30, 2012 9:17:39 AM UTC-4, Jay Howard wrote:
>>
>> I'm using a timer to manage timeout events, and would like to ensure that
>> a particular method runs atomically without the handler issuing messages
>> while the method is executing.  Its basic form is:
>>
>> handler.removeMessages(MSG_**ONE);
>> handler.removeMessages(MSG_**TWO);
>> ...
>>
>> if (conditionOne)
>>   handler.**sendEmptyMessageDelayed(MSG_**ONE, timeoutOne);
>>
>> if (conditionTwo)
>>   handler.**sendEmptyMessageDelayed(MSG_**TWO, timeoutTwo);
>>
>> ...
>>
>> What I want to avoid is a situation where, before the removeMessages()
>> calls execute, one of the messages reaches its timeout and is delivered to
>> the message queue, then I send a duplicate one immediately after.  My goal
>> is to guarantee that there is never more than one of each message type "in
>> flight" on the handler at any given time.
>>
>> Does the Handler class synchronize on MessageQueue when delivering its
>> messages?  If so, then could I just synchronize on the MessageQueue?  Or
>> would that be a terrible idea, since it's used by entities other than just
>> my Handler?
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

[android-developers] perform atomic message send/remove on a handler

2012-10-30 Thread Jay Howard
I'm using a timer to manage timeout events, and would like to ensure that a 
particular method runs atomically without the handler issuing messages 
while the method is executing.  Its basic form is:

handler.removeMessages(MSG_ONE);
handler.removeMessages(MSG_TWO);
...

if (conditionOne)
  handler.sendEmptyMessageDelayed(MSG_ONE, timeoutOne);

if (conditionTwo)
  handler.sendEmptyMessageDelayed(MSG_TWO, timeoutTwo);

...

What I want to avoid is a situation where, before the removeMessages() 
calls execute, one of the messages reaches its timeout and is delivered to 
the message queue, then I send a duplicate one immediately after.  My goal 
is to guarantee that there is never more than one of each message type "in 
flight" on the handler at any given time.

Does the Handler class synchronize on MessageQueue when delivering its 
messages?  If so, then could I just synchronize on the MessageQueue?  Or 
would that be a terrible idea, since it's used by entities other than just 
my Handler?

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

2012-09-26 Thread Jay Howard
Hmm.  Good point.

Some info I found online (forget where) suggested that Bitmap instances are 
fairly small since the pixel is stored externally on the native heap and 
the Bitmap instance only contains a reference to this externally allocated 
storage.

I thought this would imply that, during parceling, only the reference to 
this external storage would be parceled rather than its entire contents.

Some other info I found talked about how, with Honeycomb, this pixel 
storage was allocated on the VM heap rather than in native-land.  My 
question was trying to get at whether this change would affect how Bitmaps 
are parceled.

Does parceling a Bitmap *really* involve string-ifying the entire contents 
of its pixel data?

On Wednesday, September 26, 2012 10:57:08 AM UTC-5, RichardC wrote:
>
> Not sure where you are getting your info from can you post a reference 
> please?
>
> Bitmap.writeToParcel
> http://developer.android.com/reference/android/graphics/Bitmap.html#writeToParcel(android.os.Parcel,
>  
> int)
>
> Has no change notes against it and says it writes the pixels (from API 
> level 1)
>
> On Wednesday, September 26, 2012 4:22:04 PM UTC+1, Jay Howard wrote:
>>
>> With the changes to how bitmap data is stored that came in with Honeycomb 
>> affect the efficiency of parceling bitmap objects?
>>
>> I'm assuming the actual bitmap data wasn't ever parceled pre-Honeycomb.  
>> Is that accurate?  If so, then my question is basically whether this 
>> behavior (not parceling the bitmap data) was carried forward into Honeycomb 
>> when the behind-the-scenes memory changes were made.
>>
>

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

[android-developers] parceling bitmaps pre and post honeycomb

2012-09-26 Thread Jay Howard
With the changes to how bitmap data is stored that came in with Honeycomb 
affect the efficiency of parceling bitmap objects?

I'm assuming the actual bitmap data wasn't ever parceled pre-Honeycomb.  Is 
that accurate?  If so, then my question is basically whether this behavior 
(not parceling the bitmap data) was carried forward into Honeycomb when the 
behind-the-scenes memory changes were made.

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

2012-09-21 Thread Jay Howard
I'm in a similar situation, Alex.  Did you ever find a solution to your 
problem?

I found third-party libraries that support creating AVI and MOV (Quicktime) 
files from a series of JPEG images, but the compression isn't nearly as 
good as H.264.

On Saturday, June 30, 2012 5:26:41 PM UTC-5, Alex Cunha wrote:
>
> Hi all. I have the duty of making a code to read a path on the 
> external storage containing some taken pictures and create a time- 
> lapse video from them. 
>
> Since I must use Android SDK 2.1, I have no access to the system 
> codecs. Therefore, I cannot directly create the video from the 
> pictures. 
>
> One possible solution is to inherit from the Camera class, override 
> takePicture method to read sequentially the pictures from the External 
> Storage and use the class MediaRecorder to record the video file 
> (passing the inherited new Camera class). However, I don't really know 
> how to do this. 
>
> Other solution is to write my own video codec to convert a bunch of 
> pictures to HD H264 video. However, this is way too much code to do... 
>
> Any suggestions? 
>
> Thanks in advance.

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

[android-developers] Re: jar blues

2012-09-21 Thread Jay Howard
Guessing you need to have it in the lib directory in your Android project.  
Adding it as an external library in eclipse adds it to your eclipse 
classpath, so the build errors disappear in eclipse, but the android build 
process only packages the jars it finds in your project's lib dir.

On Friday, September 21, 2012 10:41:42 AM UTC-5, bob wrote:
>
> Eventually, I want to create a JAR library with my Android routines in it.
>
> So, I tried this test:
>
> package com.jar_test;
>
> public class Jar_Test {
>  public static void jar_test()
> {
> System.out.println("This is a JAR test");
> }
>
> }
>
>
> I exported that to a JAR.
>
>
>
>
> Then, I made this test app:
>
> package com.jar_test2;
>
> import com.jar_test.Jar_Test;
>
> import android.app.Activity;
> import android.os.Bundle;
>
> public class MainActivity extends Activity {
> /** Called when the activity is first created. */
> @Override
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.main);
> Jar_Test.jar_test();
> }
> }
>
> However, I got this error when I ran it.
>
>
> 09-21 10:33:57.710: E/AndroidRuntime(3366): FATAL EXCEPTION: main
> 09-21 10:33:57.710: E/AndroidRuntime(3366): 
> java.lang.NoClassDefFoundError: com.jar_test.Jar_Test
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> com.jar_test2.MainActivity.onCreate(MainActivity.java:14)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.app.Activity.performCreate(Activity.java:4469)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1052)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1932)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1993)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.app.ActivityThread.access$600(ActivityThread.java:127)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1159)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.os.Handler.dispatchMessage(Handler.java:99)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.os.Looper.loop(Looper.java:137)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> android.app.ActivityThread.main(ActivityThread.java:4507)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> java.lang.reflect.Method.invokeNative(Native Method)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> java.lang.reflect.Method.invoke(Method.java:511)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:978)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
> 09-21 10:33:57.710: E/AndroidRuntime(3366): at 
> dalvik.system.NativeStart.main(Native Method)
>
> Anyone know what's wrong?
>
> I added the jar using 'Add External JARs…'
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email 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: Best Practive in Passing Objects through an Intent to either Activity, BroadcastRecievers or Services

2012-09-21 Thread Jay Howard
For simplicity's sake I like Serializable because it frees you from the 
work of implementing Parcelable.  It's possible Parcleable could perform 
better, but if you're worried about performance when passing objects 
between activities then you should probably be storing them in a global 
location anyway.

One approach could be to have a global, synchronized Map.  
Each activity just adds an entry pair with a unique key, e.g. 
getClass().getCanonicalName() + "." + SystemClock.elapsedRealtime(), then 
passes the key to child activities.

One caveat:  when using that approach you need to be extremely careful to 
avoid leaking global storage.

On Friday, September 21, 2012 10:17:24 AM UTC-5, LemonCodes wrote:
>
> What is the best practices in passing Object? is it serializable or 
> parceable? kinda confused which one to use, i'm just planning passing a 
> single object not an array of Objects 
>

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

[android-developers] consistent jpeg compression when using the camera api?

2012-09-21 Thread Jay Howard
My app uses the Camera to take high-res images, which are then jpeg 
compressed and sent over the network.  Initially I relied on the jpeg 
quality setting in the Camera API:

final Camera.Parameters params = mCamera.getParameters();
params.setPictureFormat(PixelFormat.JPEG);
params.setJpegQuality(mQuality);
mCamera.setParameters(params);

...but the results are highly inconsistent.  The size of the resulting jpeg 
file can vary by a factor of four, even when the scene, dimensions and jpeg 
quality are held constant.  I gather this is because the compression is 
performed in firmware and some devices do a better job than others.  As a 
workaround, I tried using Android's Bitmap classes to perform the 
compression in a way that would be consistent across devices:

public static byte[] compress(byte[] data, CompressFormat format, int 
quality) {
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final Bitmap bm = BitmapFactory.decodeByteArray(data, 0, 
data.length);
try {
bm.compress(format, quality, baos);
} finally {
bm.recycle();
}
return baos.toByteArray();
}

When this works it works great, but it results in OutOfMemoryErrors when 
the dimensions are sufficiently large.  Certainly some of the resolutions 
supported by newer cameras are too large for this method to work reliably.  
So my questions are:

1. Is there a way to make the Camera API perform jpeg compression in a way 
that's consistent across devices?
2. If not, then are is there a way in which I can use the Bitmap classes 
differently so as to avoid or mitigate the OutOfMemoryErrors?
3. If not, then can anyone recommend a different method of achieving 
consistent jpeg compression (possibly via third-party jar)?  Something 
that's pure java and does byte[] -> byte[] conversion (without having to 
materialize the image in a intermediate form) would be ideal.

Thanks in advance.

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

[android-developers] Re: how to send vector from one activity to another

2012-09-21 Thread Jay Howard
I'll assume you have a Vector.

1. Make sure Foo implements Serializable or Parcelable.
2. Call toArray(Foo[]) on the Vector to get a Foo[].
3. Set the Foo[] as an extra using Intent.putExtra(Serializable) or 
intent.putExtra(Parcelable[]).
4. In the resulting activity, get the array back using 
Intent.getSerializableExtra() or Intent.getParcelableArrayExtra().
5. The former returns a Serializable which is actually an Object[].  The 
latter returns a Parcelable[].  Even though each element in the array is an 
instance of Foo, you can't cast either directly to Foo[].
6. Create a new Vector of the same size as your array.
7. Iterate over the array and add each element to the new vector, casting 
each to Foo.

Serialization can be expensive when the amount of data is large.  So, if 
the vector or its elements are very large, store it somewhere global and 
hard-code the child activity to look in that global location.  You'll 
probably want to erase this global reference (so the Vector can be garbage 
collected) when the calling activity is destroyed.  This approach can also 
be problematic when it's possible for multiple instances of the child 
activity to exist on simultaneously on the stack.

On Friday, September 21, 2012 7:51:53 AM UTC-5, rauf qureshi wrote:
>
> hello friends 
> I am trying to send Vector one activity to another activity how to do this 
> can any body tell me.
>
>
> thanks
>

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

Re: [android-developers] Json parsing problem using gson

2012-07-30 Thread jay
07-30 10:50:34.773: I/System.out(441): Exception 
com.google.gson.JsonParseException: Type information is unavailable, and 
the target is not a primitive: 

On Tuesday, March 6, 2012 8:04:22 PM UTC+5:30, Marcelo H wrote:
>
> code ???
>
> 2012/3/6 T.M.S.VIJAYKUMARR 
>
>> Hi,
>>
>> i think your parsing integer value may be null ,check it.
>>
>> On Tue, Mar 6, 2012 at 7:39 PM, vani reddy wrote:
>>
>>> Hi friends,
>>>
>>> I am using GSON to parse the json, when some user logs in, it parses 
>>> properly but when someother user logs in it throws NumberFormatException.
>>> I checked the JSON response also, its a valid JSON
>>> How to debug this app.
>>>
>>>
>>>
>>> -- 
>>> Regards,
>>> Vani Reddy
>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> -- 
>>
>>
>>
>>
>> -
>> Thanks & Regards,
>> T.M.S.VIJAYKUMARR
>> BloG:http://iamvijayakumar.blogspot.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
>
>
>
>
> -- 
>   - Marcelo Henrique -
>   "Se não puder se destacar pelo talento, vença pelo esforço." (Dave 
> Weinbaum)
>
>

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

[android-developers] App review time

2012-06-21 Thread Jay Mandevia
hi i have added a app to the sony developer portal and it has been a very 
long time and no feedback. can anyone tell me the standard review time. 
Regards
Jay 

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

2012-03-08 Thread Jay Khimani


I'm developing an Android 2.2+ app with SQLite db support. I'm trying to 
define referential integrity constraints while creating the tables. I've 
also enabled the foreign key support by executing db.execSQL( "PRAGMA 
foreign_keys=ON;" ); in onCreate and onOpen methods of SQLiteOpenHelper. 
Afteer setting up my tables and proper foreign key references, it still 
allows me to insert rows in tables where reference records are missing. For 
e.g. I've following structure

CREATE TABLE Questions(_id integer primary key,question text not null);
CREATE TABLE Ques_Ans(_id integer primary key autoincrement,qid integer not 
null,
  aid integer not null,is_correct integer default 0, 
  FOREIGN KEY (qid) REFERENCES Questions(_id));

and following my data in the table

INSERT INTO Questions VALUES(1, 'Some text');
INSERT INTO Ques_Ans(qid, aid, is_correct) VALUES(20, 1, 0);

If foreign key is properly set on Ques_Ans table, 2nd insert should have 
failed as there is no record in Questionstable with id 20, but somehow my 
app does not thrown any error and inserts the 2nd insert statement. Can 
anybody tell me whats wrong over here or am I missing any configuration 
over here? Below is what I've already tested...

   - Using sqlite3 tool, switching on PRAGMA foreign_keys=ON; foreign key 
   works as expected
   - Same thing if used via app on Emulator or on Phone does not work
   - Insert statements executed using insert() or execSQL(). None of them 
   throw foreign key constraint failed error
   - PRAGMA integrity_check returns ok. So database is not corrupt.

Any help in this regards would be great.

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

2012-03-04 Thread Jay Kline
Im using a slightly better kludge.  Instead of having to include the xml 
files, I declare the namespace as a string resource.  So in your layout 
just do   xmlns:my="@string/package_ns" then just have the project that 
uses it define the namespace.  Seems to work ok.

On Tuesday, February 8, 2011 8:01:27 AM UTC-6, Adam Tybor wrote:
>
> Its not great but what I have been doing is using includes and redefining 
> the include in the application project.  You can still define the attribute 
> in the library project, you can use simple framelayouts or whatever to 
> define a fake placeholder layout in the library project, then in the 
> application project define the real view.  When compiling the real view in 
> the application project it will override the library project.  This allows 
> the code to compile with the R.syles stuff in the lirbary, yet still have 
> the views work too.
>
> Best of luck, its kludgy but workable.
> Adam
>
> << Library >>
> res/values/attrs.xml: 
>  
>  
>  
>  
>  
>
> res/layout/myWidget.xml
>  android:id="@+id/my_widget" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent"
> android:text="Replace Me"/>
>
> res/layout/main.xml: 
>  
> http://schemas.android.com/apk/res/ 
> android" 
> android:orientation="vertical" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent" 
> > 
> 
>  
>
>
> << App Project>>
> res/layout/myWidget.xml
> http://schemas.android.com/apk/res/android"; 
> xmlns:my="http://schemas.android.com/apk/res/ 
> android:id="@+id/my_widget" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent" 
> my:customValue="324"/> 
>
>
>
On Tuesday, February 8, 2011 8:01:27 AM UTC-6, Adam Tybor wrote:
>
> Its not great but what I have been doing is using includes and redefining 
> the include in the application project.  You can still define the attribute 
> in the library project, you can use simple framelayouts or whatever to 
> define a fake placeholder layout in the library project, then in the 
> application project define the real view.  When compiling the real view in 
> the application project it will override the library project.  This allows 
> the code to compile with the R.syles stuff in the lirbary, yet still have 
> the views work too.
>
> Best of luck, its kludgy but workable.
> Adam
>
> << Library >>
> res/values/attrs.xml: 
>  
>  
>  
>  
>  
>
> res/layout/myWidget.xml
>  android:id="@+id/my_widget" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent"
> android:text="Replace Me"/>
>
> res/layout/main.xml: 
>  
> http://schemas.android.com/apk/res/ 
> android" 
> android:orientation="vertical" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent" 
> > 
> 
>  
>
>
> << App Project>>
> res/layout/myWidget.xml
> http://schemas.android.com/apk/res/android"; 
> xmlns:my="http://schemas.android.com/apk/res/ 
> android:id="@+id/my_widget" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent" 
> my:customValue="324"/> 
>
>
>
On Tuesday, February 8, 2011 8:01:27 AM UTC-6, Adam Tybor wrote:
>
> Its not great but what I have been doing is using includes and redefining 
> the include in the application project.  You can still define the attribute 
> in the library project, you can use simple framelayouts or whatever to 
> define a fake placeholder layout in the library project, then in the 
> application project define the real view.  When compiling the real view in 
> the application project it will override the library project.  This allows 
> the code to compile with the R.syles stuff in the lirbary, yet still have 
> the views work too.
>
> Best of luck, its kludgy but workable.
> Adam
>
> << Library >>
> res/values/attrs.xml: 
>  
>  
>  
>  
>  
>
> res/layout/myWidget.xml
>  android:id="@+id/my_widget" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent"
> android:text="Replace Me"/>
>
> res/layout/main.xml: 
>  
> http://schemas.android.com/apk/res/ 
> android" 
> android:orientation="vertical" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent" 
> > 
> 
>  
>
>
> << App Project>>
> res/layout/myWidget.xml
> http://schemas.android.com/apk/res/android"; 
> xmlns:my="http://schemas.android.com/apk/res/ 
> android:id="@+id/my_widget" 
> android:layout_width="fill_parent" 
> android:layout_height="fill_parent" 
> my:customValue="324"/> 
>
>
>
On Tuesday, February 8, 2011 8:01:27 AM UTC-6, Adam Tybor wrote:
>
> Its not great but what I have been doing is using includes and redefining 
> the include in the application project.  You can still define the attribute 
> in the library project, you can use simple framel

[android-developers] how to Start development using Addengine

2012-02-24 Thread Jay Trivedi
Any one please guide me how to add AddEngine classes into my
Ecllipse...
Please provide me the perfect steps..
i had gone through addengine google posts but found examples..
thanks 'Jay'

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


[android-developers] Dynamically Add Buttons to Gridview

2012-02-23 Thread Jay Trivedi
I want to dynamically add buttons to grid view and also the rows need
to be dynamically added in grid... can some one help me out of this
Issue..
Thanks 'Jay'

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


[android-developers] Advance Graphics

2012-02-06 Thread Jay Hubb
I somewhat understand Android and have compelted a few decent apps. Can 
somone point me too a good guide to understanding  how to make some advance 
graphics for a Android app. From my understanding Android uses Open GL to 
perform advance gaming graphics? 

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

[android-developers] Pub/Sub Protocols

2012-01-21 Thread Jay Bloodworth
Does anyone have an informed opinion about which publish / subscribe
protocol might best be used for exchanging state for a turn based
multiplayer game? I am looking in particular at Bayeux and XMPP, but
open to alternatives.

Thanks,
Jay

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

2012-01-14 Thread Jay SB
James,

Thanks for your response.

I am working on Email application, my requirement is to show all the screen
orientation only in landscape mode irrespective of device orientation, only
when it launched through one particular application (Application X). If i
launch the Email app through some other applications (Application y and z),
it should always follow the device orientation.

So, to satisfy the above requirement, when Email application is  launched
from Application x,  i have used the API setRequestedOrientation
(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE) to change the
orientation. When my device is PORTRAIT mode, and when its launched through
Application X, all the Email screens are initially launched in PORTRAIT
(Device orientation )mode and then its switching back to LANDSCAPE mode
(because of the above API). How to avoid this screen flickering ?

Hope you will understand my problem.

Regards,
Jayantheesh

On Sat, Jan 14, 2012 at 9:51 PM, James Black wrote:

> It sounds like your requirements, or understanding is off, so you may want
> to check it out.
>
> The confusion is, if you automatically switch to landscape  always then
> set it in the manifest.
>
> If you start in portrait mode then why switch them? Or what should happen
> differently on this orientation?
> On Jan 14, 2012 9:20 PM, "Jay SB"  wrote:
>
>> Hi All,
>>
>> As far as i know, screen orientation can be changed by two ways, one is
>> through Manifesto file and other is through code by setRequestedOrientation
>> API.
>>
>> My requirement is to show the screen orientation in Landscape mode, only
>> when it launched through one particular application.
>>
>> To satisfy the above requirement i cannot use the first solution, i.e..
>> setting the screen orientation through Manifesto file, since it always
>> launch the activity in the specified orientation. So, now I am forced to
>> take up the second solution, i.e.. setting the orientation through code by
>> calling setRequestedOrientation
>> (ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE).
>>
>> I am facing a problem with this approach, if my tablet is in LANDSCAPE
>> mode, this solution works perfectly fine. But when my device is in PORTRAIT
>> mode, initially it launches the activity in PORTRAIT mode and immediately
>> changes the orientation to LANDSCAPE mode. How this flickering can be
>> avoided ? Please through some light to handle this requirement.
>>
>> Manifesto file snippet:
>>
>>  >
>> android:name=".activity.setup.AccountSetup"
>>
>> android:label="@string/account_setup_title"
>>
>> android:theme="@style/AccountSetup"
>>
>> android:configChanges="orientation|keyboardHidden">
>>
>> 
>>
>>
>>
>> Code snippet:
>>
>> @Override
>>
>> public void onCreate(Bundle savedInstanceState) {
>>
>>super.onCreate(savedInstanceState);
>>
>> if (App.SETUP_WIZARD_FLOW == true) {
>>
>>
>> setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
>>
>> }
>>
>> setContentView(R.layout.main);
>>
>> }
>> Regards,
>> Jayantheesh
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

[android-developers] Regarding screen orientation changes

2012-01-14 Thread Jay SB
Hi All,

As far as i know, screen orientation can be changed by two ways, one is
through Manifesto file and other is through code by setRequestedOrientation
API.

My requirement is to show the screen orientation in Landscape mode, only
when it launched through one particular application.

To satisfy the above requirement i cannot use the first solution, i.e..
setting the screen orientation through Manifesto file, since it always
launch the activity in the specified orientation. So, now I am forced to
take up the second solution, i.e.. setting the orientation through code by
calling setRequestedOrientation
(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE).

I am facing a problem with this approach, if my tablet is in LANDSCAPE
mode, this solution works perfectly fine. But when my device is in PORTRAIT
mode, initially it launches the activity in PORTRAIT mode and immediately
changes the orientation to LANDSCAPE mode. How this flickering can be
avoided ? Please through some light to handle this requirement.

Manifesto file snippet:

 





Code snippet:

@Override

public void onCreate(Bundle savedInstanceState) {

   super.onCreate(savedInstanceState);

if (App.SETUP_WIZARD_FLOW == true) {


setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);

}

setContentView(R.layout.main);

}
Regards,
Jayantheesh

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

2011-12-01 Thread Jay
Hi,

Could anyone point me to a link / resource on the web that explains
the android audio in depth..
I do have an overview knowledge of how audio works in andorid... But
would like to have an indepth knowledge..

Thanks,
Jay

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

2011-11-19 Thread Jay
I have actually already considered that. The StrikethruSpan class just
sets the strikethru bit on the Paint that is passed through it; there
does not seem to be a separate field for strikethru color.
Unfortunately, I cannot find any documentation of the entry points
that custom Spans have available to modify the drawing process, so I
don't know how to implement custom-colored strikethru "by hand". I
will continue to chase through the source, but would appreciate any
insight anyone can provide as to how the Span classes interact with
the text.

Jay

On Nov 19, 9:41 pm, Zsolt Vasvari  wrote:
> Get the source code for the class that implements strikethru and
> modiify it to your liking.
>
> On Nov 20, 4:43 am, Jay  wrote:
>
>
>
>
>
>
>
> > Is it possible to to create a span of text in a textview in which the
> > strikethru line is a different color than the text. I cannot find much
> > documentation on the SpannableString interface.
>
> > Thanks,
> > Jay

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


[android-developers] Strikethru Differennt Color Than Text

2011-11-19 Thread Jay
Is it possible to to create a span of text in a textview in which the
strikethru line is a different color than the text. I cannot find much
documentation on the SpannableString interface.

Thanks,
Jay

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

2011-11-06 Thread Jay
I really don't do much else with mPeople, though I can think of two
other things it might be. As I said, mPeople does supply a
ListAdapter. Is it possible that is doing some behind the scenes
cloning? Perhaps more likely, mPeople is populated by a CursorLoader
attached to the Contacts content provider. I am not 100% clear on the
semantics of loaders (I've been working from the docs and from
examples), so maybe something I'm not accounting for is triggering the
loader to asynchronously refresh mPeople. To be safe I guess I should
throw in a class to loader.stopLoading() once mPeople has been
populated.


Jay

On Nov 6, 1:57 pm, Dianne Hackborn  wrote:
> Well as far as I know ArrayList won't just do this behind your back.  I
> would assume there is something else your app is doing that isn't shown
> here.  Are you sure you never change what is in mPeople that could cause a
> new instance of an object to be created?
>
>
>
>
>
>
>
>
>
> On Sat, Nov 5, 2011 at 10:16 PM, Jay  wrote:
> > Thank you for the reply. Is there some other mechanism by which the
> > objects in my array might be replaced with objects with the same type
> > and contents but different identities (i.e. don't compare as equal
> > using the default implementation)? Because that seems to be what is
> > happening (intermittantly).
>
> > Thanks,
> > Jay
>
> > On Nov 6, 12:00 am, Dianne Hackborn  wrote:
> > > None of the methods you are using will copy an object.  Generally you
> > must
> > > explicitly call clone() to do this.
>
> > > On Sat, Nov 5, 2011 at 6:25 AM, Jay  wrote:
> > > > I assume this is an Android question, though it may just betray my
> > > > ignorance of Java memory management.
>
> > > > I have an activity designed to randomly pick a person from a list, and
> > > > to not repeat anyone until everyone has been chosen. The core logic of
> > > > the pick method looks like this:
>
> > > >        ArrayList peopleCopy = new ArrayList(mPeople);
> > > >        peopleCopy.removeAll(mRecent);
> > > >        Person person = peopleCopy.get(mRNG.nextInt(peopleCopy.size()));
> > > >        mRecent.add(person);
> > > >        // Display chosen person in UI
>
> > > > Both mPeople and mRecent are referenced by adapters that feed into
> > > > ListViews.
>
> > > > The bug I was finding is that the same person was being chosen more
> > > > than once in a cycle, despite the code above. I had a hell of a time
> > > > tracking it down; I couldn't duplicate it on the emulator or on the
> > > > actual device when connected to the debugger. I finally managed to
> > > > "catch" the bug in progrss on the device and plug it in to the
> > > > debugger. Based on the object id fields, it appears that the problem
> > > > is that the Person objects referenced my mRecent were different from
> > > > the ones in peopleCopy, which is why the removeAll method was not
> > > > subtracting them correctly. I implemented appropriate equals() and
> > > > hashcode() methods on Person and that seems to have fixed the problem.
>
> > > > My question is where/when/why were the Persons in mRecent and/or
> > > > mPeople being replaced with clones? It wasn't happening all the time;
> > > > based on observations with the debugger, it appears that usually the
> > > > lists referenced the same objects as I expected them to. Does the
> > > > framework sometimes clone objects referenced by adapters or does Java
> > > > or am I misreading this whole situation?
>
> > > > Thanks,
> > > > Jay
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Developers" group.
> > > > To post to this group, send email to
> > android-developers@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > android-developers+unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
>

[android-developers] Re: Framework Cloning of Referenced Objects?

2011-11-05 Thread Jay
Thank you for the reply. Is there some other mechanism by which the
objects in my array might be replaced with objects with the same type
and contents but different identities (i.e. don't compare as equal
using the default implementation)? Because that seems to be what is
happening (intermittantly).

Thanks,
Jay

On Nov 6, 12:00 am, Dianne Hackborn  wrote:
> None of the methods you are using will copy an object.  Generally you must
> explicitly call clone() to do this.
>
>
>
>
>
>
>
>
>
> On Sat, Nov 5, 2011 at 6:25 AM, Jay  wrote:
> > I assume this is an Android question, though it may just betray my
> > ignorance of Java memory management.
>
> > I have an activity designed to randomly pick a person from a list, and
> > to not repeat anyone until everyone has been chosen. The core logic of
> > the pick method looks like this:
>
> >        ArrayList peopleCopy = new ArrayList(mPeople);
> >        peopleCopy.removeAll(mRecent);
> >        Person person = peopleCopy.get(mRNG.nextInt(peopleCopy.size()));
> >        mRecent.add(person);
> >        // Display chosen person in UI
>
> > Both mPeople and mRecent are referenced by adapters that feed into
> > ListViews.
>
> > The bug I was finding is that the same person was being chosen more
> > than once in a cycle, despite the code above. I had a hell of a time
> > tracking it down; I couldn't duplicate it on the emulator or on the
> > actual device when connected to the debugger. I finally managed to
> > "catch" the bug in progrss on the device and plug it in to the
> > debugger. Based on the object id fields, it appears that the problem
> > is that the Person objects referenced my mRecent were different from
> > the ones in peopleCopy, which is why the removeAll method was not
> > subtracting them correctly. I implemented appropriate equals() and
> > hashcode() methods on Person and that seems to have fixed the problem.
>
> > My question is where/when/why were the Persons in mRecent and/or
> > mPeople being replaced with clones? It wasn't happening all the time;
> > based on observations with the debugger, it appears that usually the
> > lists referenced the same objects as I expected them to. Does the
> > framework sometimes clone objects referenced by adapters or does Java
> > or am I misreading this whole situation?
>
> > Thanks,
> > Jay
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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


[android-developers] Framework Cloning of Referenced Objects?

2011-11-05 Thread Jay
I assume this is an Android question, though it may just betray my
ignorance of Java memory management.

I have an activity designed to randomly pick a person from a list, and
to not repeat anyone until everyone has been chosen. The core logic of
the pick method looks like this:

ArrayList peopleCopy = new ArrayList(mPeople);
peopleCopy.removeAll(mRecent);
Person person = peopleCopy.get(mRNG.nextInt(peopleCopy.size()));
mRecent.add(person);
// Display chosen person in UI

Both mPeople and mRecent are referenced by adapters that feed into
ListViews.

The bug I was finding is that the same person was being chosen more
than once in a cycle, despite the code above. I had a hell of a time
tracking it down; I couldn't duplicate it on the emulator or on the
actual device when connected to the debugger. I finally managed to
"catch" the bug in progrss on the device and plug it in to the
debugger. Based on the object id fields, it appears that the problem
is that the Person objects referenced my mRecent were different from
the ones in peopleCopy, which is why the removeAll method was not
subtracting them correctly. I implemented appropriate equals() and
hashcode() methods on Person and that seems to have fixed the problem.

My question is where/when/why were the Persons in mRecent and/or
mPeople being replaced with clones? It wasn't happening all the time;
based on observations with the debugger, it appears that usually the
lists referenced the same objects as I expected them to. Does the
framework sometimes clone objects referenced by adapters or does Java
or am I misreading this whole situation?

Thanks,
Jay

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


[android-developers] GROUP_SOURCE_ID -> GROUP_ROW_ID caching issue

2011-10-29 Thread Jay
I'm not sure if this is a bug in Android, a bug in the emulator, or a
bug in my code. I have a syncadpter that creates a few groups and
populates them with raw contacts. The code works as expected on a
freshly booted emulator. If I delete the syncadapter's account the
groups and contacts are deleted as expected. However, if I then add
the account back, the groups and contacts are recreated just fine, but
are not linked together properly. Based on looking at the contacts db
with the adb shell, it seems that the GroupMembership data rows (which
were added with the GROUP_SOURCE_ID parameter) are using the
group_row_ids from when the groups were created the first time. So it
looks like there is a stale GROUP_SOURCE_ID -> GROUP_ROW_ID cache
being used somewhere. Does this look like a platform bug, or is there
an api for clearing such a cache I should be using?

Thanks,
Jay

This is the inner loop of my contact create code. The necessary groups
have already been created.

// Contact does not exist; create him
final int backRef = batch.size();
batch.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI)
.withYieldAllowed(true)
.withValue(RawContacts.ACCOUNT_TYPE, account.type)
.withValue(RawContacts.ACCOUNT_NAME, account.name)
.withValue(RawContacts.SOURCE_ID, serverId).build());
// Attach names
batch.add(ContentProviderOperation.newInsert(Data.CONTENT_URI)
.withValueBackReference(Data.RAW_CONTACT_ID, backRef)
.withValue(Data.MIMETYPE, 
StructuredName.CONTENT_ITEM_TYPE)
.withValue(StructuredName.GIVEN_NAME, 
contact.getGiven())
.withValue(StructuredName.FAMILY_NAME,
contact.getFamily()).build());
// Attach groups
for (final long groupServerId : contact.getGroups()) {
batch.add(ContentProviderOperation.newInsert(Data.CONTENT_URI)
.withValueBackReference(Data.RAW_CONTACT_ID, 
backRef)
.withValue(Data.MIMETYPE, 
GroupMembership.CONTENT_ITEM_TYPE)
.withValue(GroupMembership.GROUP_SOURCE_ID,
groupServerId).build());
}

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

2011-10-22 Thread Jay
Can one SyncAdapter service morethan one ContentProvider? Presumably
the SyncManager hands onPerformSync a ContentProviderClient based on
the CP declared in the sync-adapter XML metadata. Can onPerformSync
just use acquireContentContentProviderClient() to get a client to
interact with other CPs it is interested in? Is that unseemly? Would
it cause concurrency issues? Other issues? Is there a correct idiom
syncing multiple CPs from one account?

Thanks,
Jay

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


[android-developers] Getting GlobalTime App to run.

2011-10-21 Thread Jay Hubbert
I am new to android but not to Java so I can kind of tell what is
going on. I downloaded the GlobalTime App just to play around but
notice that I am missing two packages that the Clock.java and
GlobalTime.java are importing. The packages are:

android.pim.DateUtils

android.opengl.Object3D

So do I need to download these packages or how do I get then into my
GlobalTime Project. Once again I am a newbe to Android development so
be kind.

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

2011-10-21 Thread Jay
No one can help on this?

In looking more closely through the docs, it appears that the answer
to my first question is yes; the shared uid restriction applies when a
third party app wants to manipulate the authenticators credentials
directly.

As for the second and third questions, I found this:

http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app

This seems close to what I want, but I'd rather not be tied to GAE.
Does anyone know if it is possible to accomplish the same thing (trade
in a Google auth token for a server specific login cookie) via generic
OpenId?

Thanks,
Jay

On Oct 17, 7:22 am, Jay  wrote:
> Several related questions about the account infrastructure:
>
> Can a third party app use the account API to request a token for and
> login to a Google service using the stored credentials? Examples I
> have found seem to suggest yes, though I have also read several places
> that the account back end and requesting app must share a uid and
> signature.
>
> If I run a server that accepts GoogleOpenID, can I use the account
> API and stored credentials to access it transparently (or with a one
> time "allow this?" dialog)?
>
> If it possible to implement a "virtual" account type, one that is
> logically different from a Google account (for sync, etc) but that
> uses the credentials for an extant Google account?
>
> Thanks,
> Jay

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


[android-developers] Account Manager + OpenID

2011-10-17 Thread Jay
Several related questions about the account infrastructure:

Can a third party app use the account API to request a token for and
login to a Google service using the stored credentials? Examples I
have found seem to suggest yes, though I have also read several places
that the account back end and requesting app must share a uid and
signature.

If I run a server that accepts Google OpenID, can I use the account
API and stored credentials to access it transparently (or with a one
time "allow this?" dialog)?

If it possible to implement a "virtual" account type, one that is
logically different from a Google account (for sync, etc) but that
uses the credentials for an extant Google account?

Thanks,
Jay

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


[android-developers] Autoreload of Webview

2011-09-10 Thread Jay Bloodworth
At my work, I have to access an intranet site several times a day. The
site has a short session inactivity logout - shorter than the frequency
with which I must access it - so I end up having to relog every time.
I'd like to write a small Webview app to just to a reload every ten
minutes or so to keep me logged in. What's the best way to implement the
reload trigger? Separate thread? Service? I'd like to maintain the
session when the ui side of the process is backgrounded or even killed,
if possible.

Thanks,
Jay

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

2011-08-29 Thread Jay
I was curious as to whether or not it's possible to send trackball
events over bluetooth to be interpreted by the connection service and
passed to the main activity.

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


Re: [android-developers] Re: When to close db connection on android?

2011-06-24 Thread Jay XU
Got it, thanks Michael. -Jay

2011/6/23 Michael Kuethe 

> Hi Jay,
> no you just have to call the closing mechanism once. Normally during
> the onDestroy() event of last Activity that remains on the system.
> This is normally the launcher Activity.
>
> @Override
>protected void onDestroy() {
>Log.d(TAG, "onDestroy fired!");
>dbhelper.close();
>super.onDestroy();
>}
>
>
> regards
>
> Michael
>
>
> On Jun 21, 11:29 am, Jay XU  wrote:
> > Hi,
> >
> > I am new to Android and I am looking at the Notepad Tutorial sample code
> > now. In the NotesDbAdapter class, it defines a close() method to close
> the
> > DatabaseHelper. However I cannot find this method get called anywhere.
> >
> > So my question is when shall we close the DB connection. I suppose we
> should
> > call it in the onDestroy() mehod of each Activity class. Or will Android
> > framework will take care of this so we don't have to worry about it?
> >
> > Please advise. thanks.
> >
> > -Jay
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] Re: Localized XML Layouts

2011-06-22 Thread Jay XU
yeah, it should work. check out this link
http://developer.android.com/guide/topics/resources/localization.html#strategies

2011/6/21 Yeradis 

> no response about this ?
>
>
> something like layout-us ? or layout-es ?
>
> I´m looking for this king of info too, i dont remember now how it work for
> layouts :s
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

[android-developers] When to close db connection on android?

2011-06-22 Thread Jay XU
Hi,

I am new to Android and I am looking at the Notepad Tutorial sample code
now. In the NotesDbAdapter class, it defines a close() method to close the
DatabaseHelper. However I cannot find this method get called anywhere.

So my question is when shall we close the DB connection. I suppose we should
call it in the onDestroy() mehod of each Activity class. Or will Android
framework will take care of this so we don't have to worry about it?

Please advise. thanks.


-Jay

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

[android-developers] Radio button in list adapter

2011-05-25 Thread Jay SB
Hello All,

Could  any throw some light for implementing the Radio button click in the
list adapter?

Regards,
Jay

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

[android-developers] Regarding PreferenceFragment

2011-04-08 Thread Jay SB
Hello All,

I'm looking to write preferences that can be applied to both 3.0 and
pre-3.0 devices. Discovering that PreferenceActivity contains
deprecated methods (although these are used in the accompanying sample
code), I looked at PreferenceFragement and the compatibility package
to solve my woes.

It appears, though, that PreferenceFragment isn't in the compatibility
package. Can anyone tell me whether this was intentional? If so, can I
easily target a range of devices (i.e. < 3.0 and >=3.0) or will I have
to jump through hoops? If it wasn't intentionally excluded, can we
expect a new release of the compatibility package? Or is there another
workaround that is safe to use?

Regards,
Jay

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


[android-developers] internet connection problem using emulator. can you help??

2011-04-08 Thread jay

Hi

We have an issue when Android emulator runs for several hours or
sometimes even when we star it up, the internet connection is breaks
and does not come back on the emulator.   In the server running the
internet the internet is fine.


In the log, there is two sorts of exception for internet Connction.

org.apache.http.client.ClientProtocolException

java.net.UnknownHostException:Unable to resolve host "abc.xyz.com.au"
no address associated with host name


After these exception, I also couldn't connection internet with chrome
browser of android.

The program runs several hours, then exception happened.

Does anyone know what might be wrong or how we can fix?

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


[android-developers] BG colored Rectangles on Drawable Action Bar

2011-03-22 Thread Jay Bloodworth
I'm experimenting with using a custom background for an action bar. I've
tried both a gradient-colored Shape and a Nine Patch and in both cases I
get ugly rectangles in the overall BG color behind all the View-y things
on the action bar - icon, title, menu items. Seems to be the same basic
issue described here:

http://developer.android.com/resources/articles/listview-backgrounds.html

I have tried to apply to apply a transparent cacheColorHint to the
action bar and to the overall theme, but apparently that is not the
right attribute, or I am not applying it to the place, or something. Can
anyone help? This is in the emulator, not an actual device, just in case
that matters.

Thanks,
Jay

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

2011-03-20 Thread Jay
On Mar 20, 10:58 am, Mark Murphy  wrote:

>
> You never implement a constructor on an activity.
>

It turned out that I had overlooked that Activity B had a one argument
constructor left over from it's former life as a Fragment. Oops. I
guess there is a lesson in here for me about horses and zebras.

Thanks.

Jay

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


[android-developers] StartActivity and InstantiationException

2011-03-20 Thread Jay Bloodworth
I have Activity A starting Activity B with an explicit intent. If
Activity B has no constructor, I get an InstantiationException. With an
empty nullary constructor, it starts up fine. Activity A (started from
the debugger) has no constructor but does not give an error. Can someone
explain the underlying logic behind these cases? Is the empty
constructor for Activity B the "right" solution? It seems kind of kludgy
and arbitrary.

Thanks,
Jay

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

2011-03-13 Thread Jay
Thanks. I should have been more clear. I don't want them to have to
take up the whole space. I want them both to essentially wrap_content
as if both had the same (wider of the two) labels. More generally,
knowing how to do this kind of spacing "by hand" would make a
RelativeLayout more useful in many cases.

Jay

On Mar 13, 1:28 pm, TreKing  wrote:
> On Sun, Mar 13, 2011 at 11:09 AM, Jay Bloodworth 
> > wrote:
> > Is there a standard idiom for an Activity to enforce that two of it's child
> > views have the same width in cases where a LinearLayout won't do it (like
> > two horizontally adjacent buttons)?
>
> If you have to horizontally adjacent button in a LinearLayout, you can set
> their weights to 1 each, so they both occupy the same amount of space and
> collectively use up all the space their parent provides.
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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


[android-developers] Making Views the Same Width

2011-03-13 Thread Jay Bloodworth
Is there a standard idiom for an Activity to enforce that two of it's
child views have the same width in cases where a LinearLayout won't do
it (like two horizontally adjacent buttons)? I assume it would involve
something like overriding onDraw, but perhaps there is another entry
point that is more appropriate.

Jay

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

2011-03-10 Thread Jay
Thank you for your reply. I do know that there is no requirement for
ContentProviders to map URIs one-to-one to tables. To clarify, I am
asking about the case where the ContentProvider and the joined DB are
in separate applications, so the join can't be done within the SQLite
engine. The CursorJoiner class you reference seems to be designed for
exactly what I am talking about, but I would still appreciate any
insights anyone has in making a manual join like this efficient.

Thanks again,
Jay

On Mar 10, 3:07 pm, Kostya Vasilyev  wrote:
> Not sure I understand the question: the implementation of a
> ContentProvider doesn't have to map data URIs to one particular table each.
>
> It's probably the most obvious thing to do, but it doesn't have to be
> this way. You can map URIs to DB queries any way you like, and include
> JOIN's if needed (just use db.rawQuery for this).
>
> And then there is:
>
> http://developer.android.com/reference/android/database/CursorJoiner
>
> if you need to do the join yourself. Which is just a simple helper class
> that makes joins more efficient by requiring that both result sets (left
> & right) are sorted.
>
> -- Kostya
>
> 10.03.2011 22:40, Jay Bloodworth пишет:
>
> > Is there a standard or recommended idiom for doing the equivalent of a
> > join of data in a local database versus a content provider?  is there
> > anything more efficient than explicitly looping on the result set from
> > the local database query and doing individual queries of the content
> > provider to grab the related rows?
>
> > Jay
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.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] Joins vs. Content provider

2011-03-10 Thread Jay Bloodworth
Is there a standard or recommended idiom for doing the equivalent of a
join of data in a local database versus a content provider?  is there
anything more efficient than explicitly looping on the result set from
the local database query and doing individual queries of the content
provider to grab the related rows?

Jay

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


[android-developers] Best Practices for DB Definition

2011-03-05 Thread Jay Bloodworth
Where is the best place to store the "CREATE TABLE..." statement strings
for an app that uses a SQLite database? Most of the examples I have come
across include them directly in the source code. Is there a reason why
this is preferable to storing them as resources, say as a string array?

Thanks,
Jay

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email 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't display the (Settings..) button for a live wallpaper

2011-03-03 Thread Jay Boyer
I want to add settings to a live wallpaper I created.  I am missing
something very fundamental about how SharedPreferences work.  The code and
XML are based on the cube live wallpaper example and I can’t figure out what
I did wrong.   My problem is that no (Settings..) button shows up when I
choose my live wallpaper from the list.  Only the (Set Wallpaper) button is
displayed.  I suspect that I screwed up something in the XML but I can’t
figure it out.



This is a very simple live wallpaper I made just to fool around with
settings.  All it does is set the background to either blue or green (and
that part works).



What I believe to be the pertinent code and xml follows:





AndroidManifest.xml



http://schemas.android.com/apk/res/android";

  package="com.android.BGWallpaper"

  android:versionCode="1"

  android:versionName="1.0">





































preferences.xml

http://schemas.android.com/apk/res/android";

android:title="Title Preference"

android:key="BGSettings">











bg.xml





http://schemas.android.com/apk/res/android";

android:thumbnail="*@drawable*/icon"

/>





BlueGreen.java (the wallpaper service)

*public* *class* BlueGreen *extends* WallpaperService

{

*public* *static* *final* String *strSharedPrefs*="BGSettings";



   @Override

*public* Engine onCreateEngine()

{

 *return* *new* BGEngine();

}



*class* BGEngine *extends* Engine

*implements* SharedPreferences.OnSharedPreferenceChangeListener

{

*private* SharedPreferences msPrefs;



*private* *final* Runnable mDraw = *new* Runnable()

{

*public* *void* run()

{

draw();

   }

};



BGEngine()

{

msPrefs = BlueGreen.*this*.getSharedPreferences(*strSharedPrefs*,
*MODE_PRIVATE*);

msPrefs.registerOnSharedPreferenceChangeListener(*this*);

onSharedPreferenceChanged(msPrefs, *null*);

}

}

etc…

}



BGPrefs.java

*public* *class* BGPrefs *extends* PreferenceActivity

*implements* SharedPreferences.OnSharedPreferenceChangeListener

{

@Override

*protected* *void* onCreate(Bundle icicle)

{

*super*.onCreate(icicle);

getPreferenceManager().setSharedPreferencesName(BlueGreen.*
strSharedPrefs*);

addPreferencesFromResource(R.xml.*preferences*);


getPreferenceManager().getSharedPreferences().registerOnSharedPreferenceChangeListener(
*this*);

}

  etc…

}





So what am I missing?



thanks in advance,



Jay

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

[android-developers] Live wallpaper background image question

2011-02-24 Thread Jay Boyer
I just started working on Live wallpaper.

I have a bitmap in my resources that I want to use for the background.

I will draw my animations on top of that bitmap.

I want to be efficient about it.  I don't know if it is possible to
draw the bitmap once, or somehow set it as the background, and then
have my Runnable only draw the animated objects.  What is the
efficient way to do this operation?

thanks,

Jay

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

2011-02-22 Thread Jay
Does anybody have any information on android developers group
(something similar to Java Users Group - for developers)  in Los
Angeles or Ventura area? 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] Preferences screen won't rotate

2011-01-26 Thread Jay Bryant
I have a vanilla preferences screen with just a few preferences.
Here's the XML that defines it:


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









I've compared it to a number of samples I've found on the web, and
I've Googled around, but I've not found anything that would cause my
problem, which is this: When I rotate my phone, the preferences page
doesn't arrange itself into a landscape display. I tried it on a
friend's Android-powered phone and hers didn't rotate either. Other
apps on my phone rotate their preferences pages correctly, but mine
doesn't. What have I missed?

It does rotate correctly in the emulator.

Thanks much.

Jay Bryant

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email 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: Running adb logcat and dmesg commands from within my app.

2011-01-07 Thread Jay
SUCCESS!

I'm not going to copy the shellcommand.java file, but digging through
it more and experimenting, I got something that works which I can now
expand on.

Thanks a lot.

On Jan 7, 12:48 pm, Roger Podacter  wrote:
> Sorry for not explaining it quite clearly the first time. So those 2
> little code snippets I just posted above, those are from the
> ds2784battery class we used in my app, near the end of the file.
>
> Those are actually using the shellcommand class we imported. And when
> those code snippets give you the actual result of whatever command you
> put in quotes, and return it to you as a string.
>
> However you also could just look right at the shellcommand class and
> see the inputstream code right from the try catch statements and
> mimick that in your code. But we just used the class to make it easy
> since the work is there done already.
>
> Hope this helps a little.
>
> On Jan 7, 8:00 am, Jay  wrote:
>
> > I see,
>
> > I'll take another look.
>
> > Thanks,
>
> > On Jan 6, 5:14 pm, Roger Podacter  wrote:
>
> > > what doesnt make sense?  i'll use the two commands we used as example,
> > > "cat" and "echo".  we had to use those two.  the shellcommand works
> > > for both root access, and non-root if that's what you want.  from the
> > > code all we did is:
>
> > > ShellCommand shell_command = new ShellCommand();
> > >                         CommandResult command_result = 
> > > shell_command.sh.runWaitFor("echo
> > > xx");
>
> > > replace whatever terminal command you want between the quotes ""
> > > there.
>
> > > you could also do that same command as root access (not really
> > > relevant here, just example) by replacing the SHELL with SU, so:
>
> > > CommandResult command_result = shell_command.su.runWaitFor("echo xx");
>
> > > me and my partner wrote the battery calibrator app.  but we just asked
> > > for permission from the guy who wrote the shellcommand class.  sorry i
> > > dont know his name, my bud contacted him.  but there is a short thread
> > > on XDA about it.  sorry there's not any docs that i know of.
>
> > > i linked you to it because the shellcommand does show how to get the
> > > inputstream and all.  you likely could just take just that portion
> > > from the try/catch commands, and put it into your own code to run the
> > > exec call and all.  otherwise you could see about just including the
> > > entire shellcommand class in your code like we did.
>
> > > On Jan 6, 1:57 pm, Jay  wrote:
>
> > > > The terminal emulator code doesn't make since to me. Looks like
> > > > there's some native code stuff going on in there.
>
> > > > As for the battery calibration app, who exactly wrote the
> > > > ShellCommand.java file, and is there any documentation to go with it?
> > > > It sort of makes sense, but I can't piece it together. A google search
> > > > didn't turn up much.
>
> > > > Thanks
>
> > > > On Jan 4, 3:42 pm, Dianne Hackborn  wrote:
>
> > > > > Note that shell commands are not part of the SDK, so there are no 
> > > > > guarantees
> > > > > that commands you are executing will continue to work in the future.
>
> > > > > On Tue, Jan 4, 2011 at 1:34 PM, Jay  wrote:
> > > > > > This is exactly the kind of stuff I was looking for.
>
> > > > > > I'll dig in, thanks.
>
> > > > > > On Jan 3, 11:25 am, Roger Podacter  wrote:
> > > > > > > i just replied to this thread but i guess i'm new so the post 
> > > > > > > didnt go
> > > > > > > thru?
>
> > > > > > > i just used "cat" and "echo" commands in my app we just finished
> > > > > > > recently.  the person above who mentioned getting the InputStream 
> > > > > > > is
> > > > > > > correct.  i cant paste in the entire code example, but if you 
> > > > > > > search
> > > > > > > the web for "shellcommand" this is already developed to allow you 
> > > > > > > to
> > > > > > > easily perform terminal commands of this nature in your java 
> > > > > > > code.  it
> > > > > > > clearly shows how to get the exec call return etc.
>
> > > > > > > i

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-07 Thread Jay
I see,

I'll take another look.

Thanks,

On Jan 6, 5:14 pm, Roger Podacter  wrote:
> what doesnt make sense?  i'll use the two commands we used as example,
> "cat" and "echo".  we had to use those two.  the shellcommand works
> for both root access, and non-root if that's what you want.  from the
> code all we did is:
>
> ShellCommand shell_command = new ShellCommand();
>                         CommandResult command_result = 
> shell_command.sh.runWaitFor("echo
> xx");
>
> replace whatever terminal command you want between the quotes ""
> there.
>
> you could also do that same command as root access (not really
> relevant here, just example) by replacing the SHELL with SU, so:
>
> CommandResult command_result = shell_command.su.runWaitFor("echo xx");
>
> me and my partner wrote the battery calibrator app.  but we just asked
> for permission from the guy who wrote the shellcommand class.  sorry i
> dont know his name, my bud contacted him.  but there is a short thread
> on XDA about it.  sorry there's not any docs that i know of.
>
> i linked you to it because the shellcommand does show how to get the
> inputstream and all.  you likely could just take just that portion
> from the try/catch commands, and put it into your own code to run the
> exec call and all.  otherwise you could see about just including the
> entire shellcommand class in your code like we did.
>
> On Jan 6, 1:57 pm, Jay  wrote:
>
> > The terminal emulator code doesn't make since to me. Looks like
> > there's some native code stuff going on in there.
>
> > As for the battery calibration app, who exactly wrote the
> > ShellCommand.java file, and is there any documentation to go with it?
> > It sort of makes sense, but I can't piece it together. A google search
> > didn't turn up much.
>
> > Thanks
>
> > On Jan 4, 3:42 pm, Dianne Hackborn  wrote:
>
> > > Note that shell commands are not part of the SDK, so there are no 
> > > guarantees
> > > that commands you are executing will continue to work in the future.
>
> > > On Tue, Jan 4, 2011 at 1:34 PM, Jay  wrote:
> > > > This is exactly the kind of stuff I was looking for.
>
> > > > I'll dig in, thanks.
>
> > > > On Jan 3, 11:25 am, Roger Podacter  wrote:
> > > > > i just replied to this thread but i guess i'm new so the post didnt go
> > > > > thru?
>
> > > > > i just used "cat" and "echo" commands in my app we just finished
> > > > > recently.  the person above who mentioned getting the InputStream is
> > > > > correct.  i cant paste in the entire code example, but if you search
> > > > > the web for "shellcommand" this is already developed to allow you to
> > > > > easily perform terminal commands of this nature in your java code.  it
> > > > > clearly shows how to get the exec call return etc.
>
> > > > > i linked the source code of my app for reference on github, but i'm
> > > > > probably not allowed to post links yet.
>
> > > > > hope this message goes thru this time.
>
> > > > > RP
>
> > > > > On Jan 3, 8:01 am, FrankG  wrote:
>
> > > > > > Seems that you are looking for a terminal emulator like this one ..
>
> > > > > >https://github.com/jackpal/Android-Terminal-Emulator/wiki
>
> > > > > > Good luck !
>
> > > > > >   Frank
>
> > > > > > On 31 Dez. 2010, 22:48, Jay  wrote:
>
> > > > > > > I started reading that, but it still doesn't complete sense. Are
> > > > there
> > > > > > > any other more descriptive documents on this out there?
>
> > > > > > > On Dec 30, 7:33 pm, jotobjects  wrote:
>
> > > > > > > > You get an InputStream from the Process returned by the exec 
> > > > > > > > call.
> > > > > > > > Read and study the javadoc for java.lang.Runtime an
> > > > java.lang.Process.
>
> > > > > > > > On Dec 30, 3:14 pm, Jay  wrote:
>
> > > > > > > > > I also want to be able to run commands like 'ls' and 'cat'
>
> > > > > > > > > On Dec 30, 5:09 pm, Jay  wrote:
>
> > > > > > > > > > Hello,
>
> > > > > > > > > > Here's what I'm trying to accomplish: I want to be a

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-06 Thread Jay
The terminal emulator code doesn't make since to me. Looks like
there's some native code stuff going on in there.

As for the battery calibration app, who exactly wrote the
ShellCommand.java file, and is there any documentation to go with it?
It sort of makes sense, but I can't piece it together. A google search
didn't turn up much.

Thanks

On Jan 4, 3:42 pm, Dianne Hackborn  wrote:
> Note that shell commands are not part of the SDK, so there are no guarantees
> that commands you are executing will continue to work in the future.
>
>
>
> On Tue, Jan 4, 2011 at 1:34 PM, Jay  wrote:
> > This is exactly the kind of stuff I was looking for.
>
> > I'll dig in, thanks.
>
> > On Jan 3, 11:25 am, Roger Podacter  wrote:
> > > i just replied to this thread but i guess i'm new so the post didnt go
> > > thru?
>
> > > i just used "cat" and "echo" commands in my app we just finished
> > > recently.  the person above who mentioned getting the InputStream is
> > > correct.  i cant paste in the entire code example, but if you search
> > > the web for "shellcommand" this is already developed to allow you to
> > > easily perform terminal commands of this nature in your java code.  it
> > > clearly shows how to get the exec call return etc.
>
> > > i linked the source code of my app for reference on github, but i'm
> > > probably not allowed to post links yet.
>
> > > hope this message goes thru this time.
>
> > > RP
>
> > > On Jan 3, 8:01 am, FrankG  wrote:
>
> > > > Seems that you are looking for a terminal emulator like this one ..
>
> > > >https://github.com/jackpal/Android-Terminal-Emulator/wiki
>
> > > > Good luck !
>
> > > >   Frank
>
> > > > On 31 Dez. 2010, 22:48, Jay  wrote:
>
> > > > > I started reading that, but it still doesn't complete sense. Are
> > there
> > > > > any other more descriptive documents on this out there?
>
> > > > > On Dec 30, 7:33 pm, jotobjects  wrote:
>
> > > > > > You get an InputStream from the Process returned by the exec call.
> > > > > > Read and study the javadoc for java.lang.Runtime an
> > java.lang.Process.
>
> > > > > > On Dec 30, 3:14 pm, Jay  wrote:
>
> > > > > > > I also want to be able to run commands like 'ls' and 'cat'
>
> > > > > > > On Dec 30, 5:09 pm, Jay  wrote:
>
> > > > > > > > Hello,
>
> > > > > > > > Here's what I'm trying to accomplish: I want to be able to show
> > dmesg
> > > > > > > > logs and logcat output in an app I'm writing. I know that I'm
> > supposed
> > > > > > > > to use Runtime.getRuntime().exec(), however other than that,
> > I'm
> > > > > > > > pretty lost. I tried to find some examples, but couldn't.
>
> > > > > > > > Can someone here give me some information on how to do this?
> > Maybe
> > > > > > > > point me to some example code. Aside from doing the following
> > in my
> > > > > > > > code:
>
> > > > > > > > Runtime.getRuntime().exec("dmesg");
>
> > > > > > > > or
>
> > > > > > > > Runtime.getRuntime().exec("logcat");
>
> > > > > > > > I'm not sure what else to do to be able to read dmesg and
> > logcat
> > > > > > > > outputs.
>
> > > > > > > > Thanks,- Zitierten Text ausblenden -
>
> > > > > - Zitierten Text anzeigen -- 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
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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


[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-04 Thread Jay
This is exactly the kind of stuff I was looking for.

I'll dig in, thanks.

On Jan 3, 11:25 am, Roger Podacter  wrote:
> i just replied to this thread but i guess i'm new so the post didnt go
> thru?
>
> i just used "cat" and "echo" commands in my app we just finished
> recently.  the person above who mentioned getting the InputStream is
> correct.  i cant paste in the entire code example, but if you search
> the web for "shellcommand" this is already developed to allow you to
> easily perform terminal commands of this nature in your java code.  it
> clearly shows how to get the exec call return etc.
>
> i linked the source code of my app for reference on github, but i'm
> probably not allowed to post links yet.
>
> hope this message goes thru this time.
>
> RP
>
> On Jan 3, 8:01 am, FrankG  wrote:
>
> > Seems that you are looking for a terminal emulator like this one ..
>
> >https://github.com/jackpal/Android-Terminal-Emulator/wiki
>
> > Good luck !
>
> >   Frank
>
> > On 31 Dez. 2010, 22:48, Jay  wrote:
>
> > > I started reading that, but it still doesn't complete sense. Are there
> > > any other more descriptive documents on this out there?
>
> > > On Dec 30, 7:33 pm, jotobjects  wrote:
>
> > > > You get an InputStream from the Process returned by the exec call.
> > > > Read and study the javadoc for java.lang.Runtime an java.lang.Process.
>
> > > > On Dec 30, 3:14 pm, Jay  wrote:
>
> > > > > I also want to be able to run commands like 'ls' and 'cat'
>
> > > > > On Dec 30, 5:09 pm, Jay  wrote:
>
> > > > > > Hello,
>
> > > > > > Here's what I'm trying to accomplish: I want to be able to show 
> > > > > > dmesg
> > > > > > logs and logcat output in an app I'm writing. I know that I'm 
> > > > > > supposed
> > > > > > to use Runtime.getRuntime().exec(), however other than that, I'm
> > > > > > pretty lost. I tried to find some examples, but couldn't.
>
> > > > > > Can someone here give me some information on how to do this? Maybe
> > > > > > point me to some example code. Aside from doing the following in my
> > > > > > code:
>
> > > > > > Runtime.getRuntime().exec("dmesg");
>
> > > > > > or
>
> > > > > > Runtime.getRuntime().exec("logcat");
>
> > > > > > I'm not sure what else to do to be able to read dmesg and logcat
> > > > > > outputs.
>
> > > > > > Thanks,- Zitierten Text ausblenden -
>
> > > - Zitierten Text anzeigen -- 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] Using Webcam on android installed at PC or embeded devices

2011-01-04 Thread Jay ha
hello?

I want to develop embedded systems using andorid OS

but if i installed android embedded devices or PC,

can I use webcam cameras?


or... should I implement device drivers suitable for the android from
the scratch??



thanks in advance...

Happy new year! :)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email 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: Running adb logcat and dmesg commands from within my app.

2010-12-31 Thread Jay
I started reading that, but it still doesn't complete sense. Are there
any other more descriptive documents on this out there?

On Dec 30, 7:33 pm, jotobjects  wrote:
> You get an InputStream from the Process returned by the exec call.
> Read and study the javadoc for java.lang.Runtime an java.lang.Process.
>
> On Dec 30, 3:14 pm, Jay  wrote:
>
> > I also want to be able to run commands like 'ls' and 'cat'
>
> > On Dec 30, 5:09 pm, Jay  wrote:
>
> > > Hello,
>
> > > Here's what I'm trying to accomplish: I want to be able to show dmesg
> > > logs and logcat output in an app I'm writing. I know that I'm supposed
> > > to use Runtime.getRuntime().exec(), however other than that, I'm
> > > pretty lost. I tried to find some examples, but couldn't.
>
> > > Can someone here give me some information on how to do this? Maybe
> > > point me to some example code. Aside from doing the following in my
> > > code:
>
> > > Runtime.getRuntime().exec("dmesg");
>
> > > or
>
> > > Runtime.getRuntime().exec("logcat");
>
> > > I'm not sure what else to do to be able to read dmesg and logcat
> > > outputs.
>
> > > 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: Running adb logcat and dmesg commands from within my app.

2010-12-30 Thread Jay
I also want to be able to run commands like 'ls' and 'cat'

On Dec 30, 5:09 pm, Jay  wrote:
> Hello,
>
> Here's what I'm trying to accomplish: I want to be able to show dmesg
> logs and logcat output in an app I'm writing. I know that I'm supposed
> to use Runtime.getRuntime().exec(), however other than that, I'm
> pretty lost. I tried to find some examples, but couldn't.
>
> Can someone here give me some information on how to do this? Maybe
> point me to some example code. Aside from doing the following in my
> code:
>
> Runtime.getRuntime().exec("dmesg");
>
> or
>
> Runtime.getRuntime().exec("logcat");
>
> I'm not sure what else to do to be able to read dmesg and logcat
> outputs.
>
> 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] Running adb logcat and dmesg commands from within my app.

2010-12-30 Thread Jay
Hello,

Here's what I'm trying to accomplish: I want to be able to show dmesg
logs and logcat output in an app I'm writing. I know that I'm supposed
to use Runtime.getRuntime().exec(), however other than that, I'm
pretty lost. I tried to find some examples, but couldn't.

Can someone here give me some information on how to do this? Maybe
point me to some example code. Aside from doing the following in my
code:

Runtime.getRuntime().exec("dmesg");

or

Runtime.getRuntime().exec("logcat");

I'm not sure what else to do to be able to read dmesg and logcat
outputs.

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   >