- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, everyone
Where I can get the source code of CY8CKIT-042-BLE android app
Thanks,
Ashok
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might file a CASE to see if its available (post back here results) -
To create a technical or issue case at Cypress -
“Support”
“Technical Support”
“Create a Case”
You have to be registered on Cypress web site first.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Dan!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote to Cypress and they gave me the whole source code!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even i got the code , but strucking with Errors 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It' s about a missing library, "import com.jjoe64.graphview.GraphView", isn't it? Me too! I found that library on the internet and I compiled it with the project, but it's not working as well. Maybe I found the wrong library, but I think not... Here is where I found it
https://github.com/jjoe64/GraphView
However, I didn't need to debug it, just checked and used some code lines, so I gave up trying to solve the problem and I didn't write to Cypress. Let me know if you have the same problem and if you solve it. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi EsseAsso,
Your are right, Iam also missing same lib. Which IDE you are using?
Ecllipse or Android Studio?
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Android Studio! I thought Eclipse ADT was expired, is it right? However, did you try to download and compile that library I posted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just wanted to drop a quick note on this thread. We are making lots of changes quickly on our BLE solution. Adoption has been intense and we welcome the feedback.. I'll take anything the forum can share and make sure to get it figured out. We have some updates coming soon (I hope in the next week) that should fix some issues with iOS and Android app development. But if you could open a ticket on Cypress.com and tell us what you are seeing, I would really appreciate it. Then we'll post the solutions back to the forum.
Cheers
-John
Cypress
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was trying with eclipse IDE, also i got latest source code from cypress team. today i am gona work on this and come back.
John,
we are expecting source code for both IDEs's (Android studio & eclipse). Also need information on mobiles which can support. still i did not have any BLE enabled mobile so iam afride to take low cost mobile with BLE support. It might not have work with cypress App. so its important to know which are all the mobiles can use for BLE.
can i buy this mobile?www.flipkart.com/moto-e/p/itmdvuwsybgnbtha
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Every phone with Bluetooth 4.0 can be connected to BLE kits.
I' ve heard that, on Android mobiles with kernel 3.4.0 and lower, CySmart app has some compatibility problems, but they are trying to solve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, so i am thinking to buy Moto E
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
anyone know , what would be the behavior of this android App when BLE Kit is in off state?
thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Off state meaning diconnected or powered off?
In either of the case, the CySmart App will be disconnected and it will enter the Device page, the GUI page where the App searches for BLE devices advertising and lists them. If it finds any device, then it will list it on the page so that you can connect to it. This listed device could be your own BLE kit or any other BLE device in the vicinity.
-Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roit,
Thanks for the information. I asked power off state only
Thanks,
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
We apologzie for the delay from our side in responding.
Kindly follow these steps to resolve the error with the Android source code-
1- Close the project and Eclipse
2- Download the GraphView library (jar) file from the link - https://github.com/jjoe64/GraphView/blob/master/public/GraphView-3.1.3.jar?raw=true and copy it in the lib folder of your project.
3- Open the Eclipse and open project
4- Compile it and it will work now..
Specification to check in the phone to check if the app is supported or not -
1) Phone should have Smart Bluetooth (BLE)/ Bluetooth 4.0.
2) Min version of Android required is - Android 4.3 (SDK version 18). It is supported on all higher version of Android.
Ashok, Moto E is meeting both features. Yes, you can use the phone (http://www.flipkart.com/moto-e/p/itmdvuwsybgnbtha?pid=MOBDVHC6TH4PZGSM&srno=b_1&ref=cfcd05cf-e62d-45...) and use CySmart app.
Let us know if there is any other problem.
- Naman Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can get the Android app source code easily via a support case (in the top right menu, 'MyCases'). I did this before, didn#t even need to sign a NDA 🙂
For the edit box: try to use Firefox or Chrome, they work much better. Or so you use some kind od ad / content blocker (I get the small box in FF only when I block Javascript)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did not try the project itself, but I'm using part of its code in my own one. Works fine. If you follow the steps mentioned above it should also work directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ravi, set your browser for compatibility mode, then window
will be normal size for posting.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You-tube videos are available on how to program for BLE in android!
Tired and frustrated on requesting for the source code from cypress, I thought I should use one of the publicly available code.
http://possiblemobile.com/2013/12/bluetooth-smart-for-android/
is a nice site which gives the entire code for Android. It works with a Texas Instrument kit called “SensorTab” The GATT tables are well documented (http://processors.wiki.ti.com/index.php/SensorTag_User_Guide)
So all we need to do is make our kit talk with that android application.
I went out to modify PSoC_4_BLE_CapSense_Proximity example and the project is attached for you to try it out.
List of changes:
1. Added Services in BLE component to match the GATT table given by Ti
2. Modified some code to send the proximity data to all services.
And viola we have a working project to get going on Android.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, fsoender
Its working with Android Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
i need examples codes to communicate with psoc 4 BLE kit (for windows and for android)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Might be of some help -
http://www.cypress.com/?id=5509 100 Projects in 100 Days with Bluetooth
http://www.cypress.com/?rID=102799&source=psoc4ble FAQs
http://www.cypress.com/?rID=102512 AN91445 - Antenna Design Guide
http://www.cypress.com/?rID=102505 AN94020 - Getting Started with PRoC™ BLE
http://www.cypress.com/?rID=110007 AN92584 - Designing for Low Power and Estimating Battery Life for BLE Applications
http://www.cypress.com/?rID=109900 AN91162 - Creating a BLE Custom Profile
http://www.cypress.com/?rID=110107 AN91184 - PSoC 4 BLE - Designing BLE Applications
http://www.cypress.com/?rID=102504 AN91267 - Getting Started with PSoC® 4 BLE
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to give us a simple ble android app that reads port byte data (i.e. p0.0..8) and single port (i.e. p1.0) analog voltage data. controlled via display: ios source would be nice too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSOC Creator, Start Page, Find Example project quite a few that
would accomplish what you are looking for -
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can some please provide me the source code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ankit,
Welcome to the forum!
You can get the source code for Android App by raising a technical support case. For creating a technical support case, please go to www.cypress.com -> "Design Support" -> under 'Support', click on 'Create a Support case' -> 'Contact Technical Support'. You should be registered before you can access the page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why Do You need ANdroid? BLE is not supported by Android nor any of phone hardware?
I sent the message on this forum, but You won't find it. It was deleted by Cypress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are telling nonsense, Robert. When a phone supports Bluetooth BLE which is the case for the newer Android .versions you can connect to that phone. A BLE hardware is needed as well. I saw messages like that here in the forum, but no one could give an example to prove that.
Usually messages are not deleted here in the forum, there is no moderator. As a matter of fact there has been some spam-flooding here, so when your post has been suspected to be spam and got deleted during that clean up I would ask you to re-post in a reasonable manner and with verifiable facts.
Bob