Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
zookeeper-server-start.sh - starting Zookeeperkafka-server-start.sh - start Kafkakafka-topics.sh - manage topics in Kafkakafka-console-producer.sh - script for sending messages to Kafka topickafka-console-consumer.sh - script for consuming messages from Kafka topickafka-run-class.sh - script for running different tools (list of tools can be found here)| LOCAL_PATH:= $(call my-dir) | |
| include $(CLEAR_VARS) | |
| LOCAL_SRC_FILES:= \ | |
| gps_test.cpp | |
| LOCAL_SHARED_LIBRARIES := \ | |
| libcutils libhardware | |
| LOCAL_MODULE:= test-gps |
| public class MyMapAdapter extends HyperTrackMapAdapter { | |
| @Override | |
| public int getUserMarkerIconForActionID(Context mContext, InfoBoxModel.Type markerType, | |
| UserActivity.ActivityType activityType, String actionID) { | |
| int resource = R.drawable.ic_marker_drive; | |
| switch (markerType) { | |
| case ERROR: | |
| resource = R.drawable.ic_no_data_received; |
| //For nearby API you can pass actionId or latlng. For more info on nearbyAPI https://docs.hypertrack.com/api/entities/user.html#list-nearby-users | |
| public void getNearbyUsers(String actionId, Latlng latlng){ | |
| //Create retrofit service object | |
| RetrofitService getNearbyUserService = RetrofitServiceGenerator.createService(RetrofitService.class,context); | |
| Call<UserListResponse> call = getNearbyUserService.getNearByUsers(actionID,latLng.latitude +","+latLng.longitude); | |
| call.enqueue(new Callback<UserListResponse>() { | |
| @Override | |
| public void onResponse(Call<UserListResponse> call, Response<UserListResponse> response) { | |
| if(response.isSuccessful()){ | |
| if(response.body() != null){ |
| /** | |
| * Call this method to check Location Settings before proceeding for UserLogin | |
| */ | |
| private void checkForLocationSettings() { | |
| // Check for Location permission | |
| if (!HyperTrack.checkLocationPermission(this)) { | |
| HyperTrack.requestPermissions(this); | |
| return; | |
| } |
| HyperLog.setURL(“API URL”); | |
| HyperLog.pushLogs(this, false, new HLCallback() { | |
| @Override | |
| public void onSuccess(@NonNull Object response) { | |
| //Handle Log Push Success | |
| } | |
| @Override | |
| public void onError(@NonNull VolleyError errorResponse) { | |
| // Handle Log Push Error | |
| } |
| HyperLog.d(TAG,”Debug Log”); |
| HyperLog.initialize(this); | |
| HyperLog.setLogLevel(Log.VERBOSE); |
| dependencies { | |
| ... | |
| compile 'com.hypertrack:hyperlog:0.0.9' | |
| ... | |
| } |