[android-developers] Digest for android-developers@googlegroups.com - 4 updates in 4 topics

Tony Waria <tonywaria@gmail.com>: Dec 31 03:36PM -0800

I'm trying to capture BLE broadcast (ADV_NONCONN_IND) packets inside of my
android app. However I'm not able to receive any packets.
 
I know my peripheral device is sending packets because I have another BLE
capture device that sees all the packets. However my app inside the phone
doesn't see any BLE packets.
 
My app can see other packets such as ADV_SCAN_ID but not ADV_NONCONN_IND
(broadcast) packets.
 
 
public void uploadScanBytes(SensorDataUploader sensorDataUploader, int count) {
BluetoothAdapter btAdapter = getBluetoothAdapter();
if (btAdapter == null) return;
 
BluetoothLeScanner scanner = btAdapter.getBluetoothLeScanner();
ScanSettings settings = new ScanSettings.Builder()
.setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY)
.setCallbackType(ScanSettings.CALLBACK_TYPE_ALL_MATCHES)
.build();
scanner.startScan(Collections.<ScanFilter>emptyList(), settings, new LimitedScanRecordReader(sensorDataUploader, count, scanner));
}
 
public void onScanResult(int callbackType, ScanResult result) {
 
if(result.getDevice().getAddress().equals("00:AB:2c:A1:E2:F1")) {
long timestamp = System.currentTimeMillis() - SystemClock.elapsedRealtime() +
result.getTimestampNanos() / 1000000;
byte[] rawBytes = result.getScanRecord().getBytes();
Log.i(DataTransferService.class.getName(), "Raw bytes: " + byteArrayToHex(rawBytes));
sensorDataUploader.upload(timestamp, rawBytes);
}}
 
Please let me know what I'm missing.
Thanks in advance
Roger Lakin <rwlakin@gmail.com>: Dec 31 09:37AM -0800

Using AVD manager and downloading Lollipop Android SDK components,
selecting the device, configuration indicates no connection. Therefore no
device.
Ptn68Lax <patnitti@gmail.com>: Dec 31 06:39AM -0800

I have a custom ViewGroup that lays out numerous children (TextView,
ListView, TableLayout etc.) to be used in a PDF report. Some children are
defined in XML and some are created programmatically, all are sized using
pixel units. All children are populated with data gathered by the app. The
generated PDF looks fine, see attachment pdfReport.png
 
 
Now I want to display the custom viewgroup in an activity. However, when
displayed on screen the scaling is off (as expected), see attachment
screenReport.png
 
 
I was able to scale by doing this
 
@Override
protected void onDraw(Canvas canvas) {
canvas.scale(2, 2);
super.onDraw(canvas);
}
 
 
 
However, now I cant seem to scroll my view. I tried adding to a
HorizontalScrollView but then the screen comes back blank. I am not doing
much in onMeasure other than calling super.onMeasure and
measureAllChildren.
 
 
Is there a different way to scale?
 
Once scaled, how do I get scrolling to work?
 
Any help is appreciated. Thank you.
Pandiyan N <pandiyan@thulya.com>: Dec 31 03:38AM -0800

Job Title: UI Developer / Web Developer CSS, HTML, Javascript
Location: London
 
Web Developer, UI developer - HTML / JAVASCRIPT / CSS / RESPONSIVE DESIGN .
My client is an award winning , top 5 ecommerce house in London, they are
expanding their UI / User Interface Developer. My Client is market
disruptive and shaping the industry of the future. They believe in working
together, and the best results come when they pull their knowledge and
brainstorm the right solution.
 
UI developer / User Interface / Web Developer - HTML / JAVASCRIPT / CSS /
RESPONSIVE DESIGN : You must have the following skills:
 
*A relevant college or university degree, preferably within IT and / or
communication and economics.
 
*A strong understanding and knowledge of HTML
 
*A strong understanding and knowledge of CSS
 
*A strong understanding and knowledge of Javascript
 
*Web development experience / Yser Interface development
 
*Experience and knowledge in responsive web design
 
UI developer / User Interface / Web Developer - HTML / JAVASCRIPT / CSS /
RESPONSIVE DESIGN: Nice to have
 
*Knowledge about current web design, UX and technology trends
 
*Knowledge about the technical capabilities of both modern and legacy
browsers as well as other emerging web connected devices
 
*Ability to think about both the big picture and the finer details
 
*Ability to employ a range of design techniques to establish and
communicate user experience ideas
 
*Experience using a range of design software tools
 
*Ability to present complex information in a easy to digest way
 
*Experience working in Agile delivery teams
 
Advantageous - Backend is .Net so integration .Net experience advantageous
 
UI developer - HTML / JAVASCRIPT / CSS / RESPONSIVE DESIGN It return my
client is offering a fantastic package including a bonus and full benefits
package. They are keen to progress your career and they promote within,
lots of career progression.
 
To apply click the below link,
http://thulya.com/FPrint/a5oX8c-EJEenJL3I-Y_O3g
 
For more job opportunities please visit
http://thulya.com/Apps/Jobs/Jobseeker/
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

No comments:

Post a Comment