I am trying to create a Appcelerator module from a native android module located here. https://github.com/jaredrummler/ColorPicker Are there any tutorials online that will guide me in this process. This is my first attempt at this, so any kind of guidance will be very helpful. Is there anyway i can use a native module AS IS using Hyperloop?
Create Titanium Appcelerator module from native android module
222 Views Asked by blindbat At
1
There are 1 best solutions below
Related Questions in APPCELERATOR-TITANIUM
- JSON Parse Error: Unexpected Identifier "undefined" in Titanium-based iOS Application
- Titanium SDK don't show devices or simulators
- Appcelerator Platform support error in adhoc build of Titanium mobile
- Appcelerator tableviewsection top margin on iOS
- Incorrect Data Being Retrieved on ListView Click in Titanium
- Appcelerator Device Token converted to FCM token
- titanium-extension Error processing "launch": Unable to find running task in Visual Studio Code
- appcelerator ERROR | Bad response from login (incorrect user data), please try again
- Background Service in Appcelerator titanium for iOS
- Appcelerator Studio build fails due to inclusion of native module analytics.google
- new thread in Titanium Hyperloop
- Setup Android SDK for Appcelerator Titanium
- Rgraph svg chart in Appcelerator does not fire the click event
- How to use WKWebView with local file in appcelerator Titanium?
- Titanium evalJS slows loading of the webview - timeout waiting to evaluate js
Related Questions in APPCELERATOR-ALLOY
- Incorrect Data Being Retrieved on ListView Click in Titanium
- Updating an application from titanium sdk 3.4.0.GA to 9.2.0.GA making my fonts looks very very small
- Simulator is not available appcelerator studio
- Where is the leak in HTTPClient
- Titanium Alloy ImageView from applicationDataDirectory
- Tabs content not visible
- Appcelerator Dynamic Config
- var win = Ti.UI.createWindow({theme: "Theme.MyThemeActionbar",}); not working in local file but working fine in tiapp.xml
- using axway appcelerator Webview how can I download a file to the device
- Appcelerator Alloy data binding - transfrom is called twice?
- Unable to call default Alloy libraries in Ti.Unit Framework
- How to add dotted line on a view on appcelerator titanium?
- Appcelerator Titanium - Using Model as dynamic theme
- Appcelerator change app color theme at runtime
- Update a web view by selecting a map annotation
Related Questions in APPCELERATOR-HYPERLOOP
- new thread in Titanium Hyperloop
- How do you access a KrollCallback in swift?
- Hyperloop not generating javascript binding for @protocol header
- Any Titanium solutions for controlling Android audio from lock screen / home screen?
- How do I change the home/back button icon in the actionbar in Titanium using native code?
- How to use PolyUtil.containsLocation method from Google Maps API Utility Library in titanium android using hyper loop
- I want to use a fragment in appcelerator using hyperloop
- Appcelerator Hyperloop CoreGraphics CGBitmapContextCreate Won't Run
- Titanium Hyperloop casting ListView to UIScrollView to use flashScrollIndicators
- Appcelerator Studio indexes very slow
- How can I tint a detailed image with a color in Appcelerator?
- Titanium use NSNotificationCenter using Hyperloop
- Play Youtube Videos in iOS Appcelerator using Hyperloop
- How to access delivered UNNotifications in Titanium Hyperloop on iOS?
- Appcelerator Hyperloop use TiApplication Class
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yeah this is possible. From that page it references the AAR file. AAR is similar to a JAR file, but with a few cavaets. So to do this you will probably want Titanium SDK v6.0+, and the higher version the better. Probably 6.2.2 is recommended, if not 6.3.
So you will have to first enable Hyperloop for the project (google it), then place the AAR in a (probably newly created) folder:
/app/platform/android/the-color-aar.aar. Then you'll have to know how to invoke the classes. That discussion and more you can find referencs to here: https://github.com/shouse/awesome-hyperloop-titanium/.From there you'll do a
var colorpicker = require('com.jaredrummler.android.colorpicker')then figure out the proper syntax to invoke the classes in the AAR.Join us at http://tislack.org/ and find the Hyperloop channel to hit me up in real time, along with other devs who work with HL. Reference this url.
I've also just started using https://github.com/google/android-classyshark to get more info from AARs, JARs, and APKs to be able to understand what the functions are on those libs. Here's a screenshot: https://imagebin.ca/v/3j1PZzSxP6SI
Finally if it might make sense to use the 7.0.0 beta Titanium SDK so that you can do proper debugging via Chrome Inspector. If you build with
appc ti build --platform android --debug-host localhost:9222 -l tracethis will start a debugging session. After not long you'll see in the console something like:Copy that URL into a newish version of Chrome and you'll be set to do a lot deeper introspection that will help your life outside of Hyperloop too.
Cheers!