android-4.3-jelly-bean

How to manage restricted profiles in android app?

最后都变了- 提交于 2019-11-30 05:23:38
Restricted profile are now available in android from 4.3, i came to know that some apps like camera, gmail etc are not available in these kind of profiles. How can i manage these type of conditions in my app? Also how to manage in app products and restricted profile settings in corresponding to my app? Thanks user370305 even if i already visited http://developer.android.com/about/versions/android-4.3.html#RestrictedProfiles I would like to improve it from reference with https://www.youtube.com/watch?v=pdUcANNm72o Restricted Profiles are a new feature introduced in Android Jelly Bean 4.3 that

phonegap 3.0 wants android 17, but I want android 18

我的未来我决定 提交于 2019-11-30 00:30:50
While experienced with phonegap and xcode, I'm new to android. I have installed phonegap 3.0 ... npm install phonegap phonegap --version 3.0.0-0.14.3 I've installed adt-bundle-mac-x86_64-20130729. The command line tools (eg: android) seem to work fine. When I try to add android as a platform .. phonegap local build android I get ... [error] Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools. I see similar questions still unanswered ... Phonegap 3

Android Bluetooth Low Energy Pairing

风流意气都作罢 提交于 2019-11-29 19:20:50
How to pair a Bluetooth Low Energy(BLE) device with Android to read encrypted data. Using the information in the Android BLE page , I am able to discover the device, connect to it, discover services and read un-encrypted characteristics. When I try to read an encrypted characteristic (one that will cause iOS to show a popup asking to pair and then complete the read) I am getting an error code 5 , which corresponds to Insufficient Authentication . I am not sure how to get the device paired or how to provide the authentication information for the read to complete . I toyed with

How to use the profile of PROXIMITY PROFILE,IMMEDIATE ALERT SERVICE and Find Me Profile in android 4.3 BLE?

心已入冬 提交于 2019-11-29 03:54:17
问题 I am developing an android application where I have to connect to Bluetooth device on Android 4.3. The goal of this APP is BLE Anti-loss, it can make the buzzer beep on the remote device and I want to implement the PROXIMITY PROFILE and Find Me PROFILE . I reference the sample of BluetoothLeGatt in Android API18 and I can scan, connect and discover the services. I found the UUID of Immediate Alert is 0x1802, but I did not found the UUID for Find Me PROFILE and PROXIMITY PROFILE at Bluetooth

How to manage restricted profiles in android app?

扶醉桌前 提交于 2019-11-29 03:40:18
问题 Restricted profile are now available in android from 4.3, i came to know that some apps like camera, gmail etc are not available in these kind of profiles. How can i manage these type of conditions in my app? Also how to manage in app products and restricted profile settings in corresponding to my app? 回答1: Thanks user370305 even if i already visited http://developer.android.com/about/versions/android-4.3.html#RestrictedProfiles I would like to improve it from reference with https://www

Android KeyStore - How to save an RSA PrivateKey

此生再无相见时 提交于 2019-11-28 20:41:45
I receive from a web service(made by myself) an RSA PrivateKey PKCS#8 encoded in a base 64 String. My Android app must save this key somewhere into the phone securely. From the 4.3 version of Android, it's possible saving keys using the new KeyStore API. I've found an article with code axample that shows how to generate a KeyPair with the Specification needed to store the keys. And after to recover the keys. // generate a key pair Context ctx = getContext(); Calendar notBefore = Calendar.getInstance() Calendar notAfter = Calendar.getInstance(); notAfter.add(1, Calendar.YEAR);

Working with BLE Android 4.3 how to write characteristics?

ε祈祈猫儿з 提交于 2019-11-28 20:30:43
I am working on a BLE project (Android application) using Android 4.3 API, i have used sample BLE app it is only reading characteristics in DeviceControlActivity.activity, but i want to write characteristics and send it to BLE chip on clicking a button. How can I write data on chip cc2540 .. Basically i don't know the step by step procedure to write characteristics. write i can only see the name and id of device with following piece of code in DeviceControlActivity private final ExpandableListView.OnChildClickListener servicesListClickListner = new ExpandableListView.OnChildClickListener() {

@font-face declarations don't work in Android 4.3 Internet browser?

♀尐吖头ヾ 提交于 2019-11-28 17:37:29
My Samsung Galaxy S3 phone recently upgraded from Android 4.1.3 to Android 4.3. Now several websites I designed which I tested in the Android internet browser are not displaying fonts I have declared with @font-face . What do I need to do to fix this? One of the sites (development version): http://beta.kdfansite.com Here is some of the related CSS for Open Sans: @font-face { font-family: 'OpenSansSemibold'; src: url('http://beta.kdfansite.com/wp-content/themes/scrollider/scrollider/webfonts/Open-Sans/OpenSans-Semibold-webfont.eot'); src: url('http://beta.kdfansite.com/wp-content/themes

How to connect Android device to an iOS device over BLE (Bluetooth Low Energy)

穿精又带淫゛_ 提交于 2019-11-28 15:15:45
I'm trying to make an application which uses the new Bluetooth Low Energy API of Android. For this, I started with the BLE sample coming with API level 18 . As I read that Android can not act as a Peripheral, I put the Android phone in central mode, scanning for BLE devices around it. For this purpose, I made some testing with a Nordic Platform simulating a Heart Sensor. Everything works in a perfect way! After this, I try to pick an iPhone (iOS 7 beta 4) and put it in a Peripheral way and simulating a Heart Rate sensor as the previous testing. The Android app is able to see the device and

Android Bluetooth Low Energy Pairing

纵饮孤独 提交于 2019-11-28 14:39:00
问题 How to pair a Bluetooth Low Energy(BLE) device with Android to read encrypted data. Using the information in the Android BLE page, I am able to discover the device, connect to it, discover services and read un-encrypted characteristics. When I try to read an encrypted characteristic (one that will cause iOS to show a popup asking to pair and then complete the read) I am getting an error code 5 , which corresponds to Insufficient Authentication. I am not sure how to get the device paired or