Mobile apps with HTML, CSS & JS Target multiple platforms with one code base Free and open source


웹 베이스로 하이브리드 앱을 만들기 위한 프레임워크 중 하나로 Apache Software Foundation 에서 만들고 있다. 라이센스는 당연히 Apache License, Version 2.0.

 

요즘 계속 Native만 작업했는데, 오랜만에 이런 하이브리드 환경을 접하게 되었다. 

잘해보자구! 

 

 

Apache Cordova

Supported Platforms See a list of features supported in each platform Cordova wraps your HTML/JavaScript app into a native container which can access the device functions of several platforms. These functions are exposed via a unified JavaScript API, allow

cordova.apache.org

 

반응형

-----------------------------------

--------  http .failure(_): ---------

-----------------------------------

 

load failed with error Error Domain=NSURLErrorDomain Code=-1003 "특정 호스트 이름을 가진

서버를 찾을 수 없습니다." UserInfo={_kCFStreamErrorCodeKey=8, NSUnderlyingError=0x280b6f150 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}

 

아무 이유 없이 앱 접속이 안되면서 마주한 로그.. 

 

POSTMAN으로 API콜을 날려도 문제가 생기고, 서버는 아무 이상이 없다. 

Error: getaddrinfo ENOTFOUND ###

 

 

오늘..  가비아 네임서버에 문제가 생겼다.

홈페이지 들어가보니 이런 공지가 떴다.. 얼마나 급했으면 그랬을까 같은 개발자로써 측은지심이 든다

.. 

그래도 우리 서비스가 안되니 등골이 오싹해지며 식은땀이.. 

 

개발자가 제일 무서워 하는 것..

1. 이유 모를 장애  2. 됐다가 안됐다가 하는 장애..

 

 

출근하면서 테스트 했던 앱이 이상했던건 그냥 네트워크 문제라고 생각했었는데, 이제 이런 생각을 버려야겠다. 

Slack에 firebase 노티 다시 연결해두고 받아야겠다. 

 

 

https://www.techm.kr/news/articleView.html?idxno=107229.

 

www.techm.kr

 

반응형

 

 

Signos streamlines integrations with other health and fitness apps through a single Health Connect API

 

Posted by the Android Team

Signos helps people make healthier decisions and achieve their health goals by giving them a simple way to track and monitor their body’s response to glucose throughout the day. Pairing a continuous glucose monitor with an AI-driven app, Signos builds an understanding of a member's metabolic profile in real time, providing personalized nutrition suggestions based on their glucose patterns. This includes determining which foods are best for a member and when to eat them, or when to exercise to bring glucose levels back within a healthy range for optimal weight loss.

The Signos team knew that having more context on a member’s daily lifestyle behaviors—including exercise, sleep, and stress—would give a clearer view of health and allow the app to deliver more personalized recommendations. To integrate these additional wellness insights into its app, Signos developers used Health Connect, an Android API that unifies health and fitness data from multiple devices and apps into one platform.

 

Putting the member first

Signos integrated Health Connect so its members’ health and fitness data from apps like Fitbit, Samsung Health, and Google Fit can be automatically synced to the Signos app. Instead of requiring members to manually input this data from multiple sources, they can use Health Connect and enable Signos to sync with the other integrated apps they use to support their well-being. Not only does this save members time, it also ensures consistent and accurate data.

With Health Connect, it’s easier for Signos to identify patterns in a member's health and offer more insightful recommendations based on their glucose patterns. It also provides Signos members with a better understanding of how their daily choices affect their glucose, metabolic health, and weight by bringing their health data together in Signos, where they can easily view it and make comprehensive connections.

Signos understands data privacy is important, and with Health Connect, Signos members can securely manage their health information on Android devices. When a member first opens Health Connect, they're guided through the process of selecting which health metrics and apps they want to provide access to, giving them complete control of what's made available to Signos.

 

One implementation for many data sources

Before implementing Health Connect, Signos developers struggled to connect relevant data from multiple sources because many APIs weren't available or too many integrations needed to be created and maintained. This meant the Signos team had to write individual integrations to support multiple API surfaces for every app they wanted to sync data from. Now, they only need to write one, saving them a tremendous amount of development time and effort.

With a single API connection through Health Connect, Signos was able to unify health and wellness data from the apps most used by members. “Now that data from workouts, sleep, weight logs, and heart rate automatically sync from other apps, members can see how all of this data impacts their glucose throughout the day,” said Emma Allison, vice president of product at Signos.
 
 
Additionally, implementing Health Connect is simple. Using specialized constructors, Signos developers were able to take Health Connect records and convert them into the internal models used for Signos’ health data. This allowed the Signos app to process Health Connect data the same way it processes its own, so the experience is completely seamless to members. Sleep logged from their wearables that’s synced through Health Connect looks exactly the same to them as sleep logged straight into Signos.
 
“One aspect I was pleasantly surprised by was the user onboarding UX,” said Signos developer Jake Smith. “A simple, drop-in piece of code brings them straight to the Play Store to install Health Connect and then right back to the app so they can set up the permissions and start reaping the benefits.”

 

More connections, more opportunities

Currently, Health Connect’s first integration with Signos syncs personal wellness data like exercise, heart rate, sleep, and hydration. In the future, Signos plans to build out more robust integrations and in-app experiences with each data set, including women’s health, nutrition, and even mindfulness.

Signos is excited about what the future of Health Connect will bring. Health Connect helps standardize different data types and allows Android apps to freely connect to the API, so Signos won’t have to create any further integrations as other apps adopt Health Connect. This means that as the Health Connect ecosystem grows, so will Signos’ ability to help its members.

 

Get started with Health Connect

Health Connect lets developers and users securely connect with multiple Android apps and devices. Watch the DevByte introduction video to learn how you can get started with Health Connect.

 
 

 

 

https://android-developers.googleblog.com/2023/01/signos-streamlines-integrations-with-health-fitness-apps-through-health-connect-api.html

 

반응형

 

Leading Health and Fitness Apps Roll Out Health Connect Integrations

 

Earlier this year, we introduced Health Connect as a way for app developers like you to have early access to a platform that securely shares health and fitness data across Android devices, with user consent. We collaborated with Samsung to build this platform which simplifies the connectivity between your apps while providing centralized privacy controls for users. We are now making the Health Connect (Beta) app available for download in Google Play to give users a central place to manage their privacy settings with granular controls to see which apps have access to data at any given time.

Today, 10+ health, fitness and wellness apps are rolling out integrations with the platform including early adopters of Health Connect like MyFitnessPal, Oura and Peloton.Through the first wave of integrations, we have seen Health Connect provide many key benefits to developers.
Reduced fragmentation makes it easier to give users more holistic health insights

By enabling health and fitness apps to talk to each other, each app is able to provide a user with better, more holistic health insights.

In the past, developers had to establish multiple API connections to share data between different apps and each integration was costly to build and maintain. This limited developers’ data sharing capabilities and made it hard for users to unlock this data so that it could be utilized in different apps.

Now, with Health Connect, building an integration with a new app is as simple as reading in new data from Health Connect, rather than building a whole new integration.

For example, Android users will now be able to sync and get credit for their Peloton workouts in apps like Oura, MyFitnessPal, WeightWatchers and Lifesum. Now, through a single integration with Health Connect, Peloton Members will have the option to share their workout stats across the ecosystem of apps they use to support their overall wellness.

 

Standardized data schema ensures data consistency between apps

Health Connect provides a standardized data schema which supports 40+ data types across 6 categories. The schema is intuitive to use and covers a wide range of use cases, from exercises to sleep tracking to vital signs. It only requires just a few lines of code to read and write any of these data types in Health Connect. Health Connect even supports complex aggregations so that you can completely customize your queries to your app’s use case.
 

"With Health Connect APIs, our engineers were able to easily adapt their existing architecture in order to read and write user health data such as nutrition, hydration, exercise, and steps. With this integration, we're now able to consume data from any 3rd party application that also writes to Health Connect, expanding our users' choices while allowing them more flexibility to grant granular permissions about which data they want to share"
– Jason Peterson, Chief Technology Officer of MyFitnessPal

 

Centralize privacy controls for users, with less code

Previously, users had to navigate to multiple apps to manage data permissions. And, developers had to build out permissions management UIs themselves.

With Health Connect, users can easily manage permissions in a single place, with granular controls to see which apps are accessing data at any given time.

For developers, Health Connect provides the permissions management hub and granular permissions UIs out of the box, so you can set this up quickly.

 
granular permissions screen that shows the different data types

For example, Signos was able to quickly set up permissions checks with Health Connect. “One aspect I was pleasantly surprised by was the user onboarding UX,” said Signos developer Jake Smith. “A simple, drop-in piece of code sets up the permissions so users can start reaping the benefits.”

 

We’re just getting started

Join the many developers who have already integrated with Health Connect and don’t miss out on the opportunity to develop richer insights for your users. Check out our documentation, helpful video tutorials, and code samples – and start building today!

반응형

From helping you log your meals with MyFitnessPal to getting a holistic view of your health with Withings, apps and devices are a source for many kinds of useful health and fitness data. As Android developers, connecting and sharing this data between apps can help you provide more meaningful experiences and insights for your users. However, much of this information is spread across multiple experiences and different devices, making it difficult to bring together. Moreover, there are no centralized privacy controls for Android users.

 

Introducing Health Connect

This is why we’ve created Health Connect, a platform and API for Android app developers. With user permission, developers can use a single set of APIs to securely access and share health and fitness data across Android devices.

We're building this new unified platform in collaboration with Samsung to simplify connectivity between apps. We appreciate Samsung’s collaboration as we roll out Health Connect to foster richer app experiences while also providing centralized privacy controls for users.

We've been working with developers including MyFitnessPal, Leap Fitness and Withings as part of an early access program. In addition, Samsung Health, Google Fit and Fitbit are adopting Health Connect. Starting today, all developers can get access to Health Connect's common set of APIs for Android via Android Jetpack.

Health Connect fits in with Google’s wider efforts to help billions of people be healthier, using our platforms and technology to connect and bring more meaning to health information.

 

How does Health Connect work?

How Health Connect Works

Health Connect supports many common health and fitness data types and categories, including: activity, sleep, nutrition, body measurements and vitals like heart rate and blood pressure.

With user permission, developers can securely read from and write data to Health Connect, using standardized schema and API behavior. Users will have full control over their privacy settings, with granular controls to see which apps are requesting access to data at any given time. The data in Health Connect is all on-device and encrypted. Users will have the ability to shut off access or delete data they don’t want on their device, and the option to prioritize one data source over another when using multiple apps.

Getting started

It’s easy to get started with Health Connect. Health Connect’s single set of APIs makes it simple to manage permissions and read and write data. Here’s an example of how you can request permissions and then write some data.

First, build a set of the permissions you plan to request read or write access to. In this example we are reading and writing steps and heart rate.

private val permissions =
  setOf(
    Permission.createReadPermission(Steps::class),
    Permission.createWritePermission(Steps::class),
    Permission.createReadPermission(HeartRate::class),
    Permission.createWritePermission(HeartRate::class),
  )

// then, create a permissions request for this set of permissions

 

Then, launch the permissions request, which will bring the user to the Health Connect permissions UI to grant permissions.

Once the user grants permission, you are ready to read and write data. Here’s an example of how to write steps data over a period of time. Include the total number of steps, start and end time, and timezone information, and then insert the data into Health Connect.

private suspend fun writeSomeData(client: HealthConnectClient) {
    val records = mutableListOf<Record>()

    records.add(
      Steps(
        count = 888,
        startTime = START_TIME,
        endTime = END_TIME,
        startZoneOffset = null,
        endZoneOffset = null,
      )
    )
    // add additional records as needed
}

 

Learn more

Health Connect is now available to developers:

Watch the technical session below:

 

https://android-developers.googleblog.com/search/label/Health%20Connect%20API

 

Android Developers Blog

News and insights on the Android platform, developer tools, and events.

android-developers.googleblog.com

 

반응형

 

API 레벨 플랫폼 버전 플랫폼명 출시날짜
API 수준 33 Android 13 - August 16, 2022
API 수준 32 Android 12L - March 7, 2022
API 수준 31 Android 12 - October 4, 2021
API 수준 30 Android 11 - September 8, 2020
API 수준 29 Android 10 - September 3, 2019
API 수준 28 Android 9 Pie August 6, 2018
API 수준 27 Android 8.1    
API 수준 26 Android 8.0 Oreo August 21, 2017
API 수준 25 Android 7.1    
API 수준 24 Android 7.0 Nougat August 22, 2016
API 수준 23 Android 6.0 Marshmallow October 2, 2015
API 수준 22 Android 5.1    
API 수준 21 Android 5.0 Lollipop November 4, 2014
API 수준 20 Android 4.4W KitKat, with wearable extensions June 25, 2014
API 수준 19 Android 4.4 KitKat October 31, 2013
API 수준 18 Android 4.3    
API 수준 17 Android 4.2    
API 수준 16 Android 4.1 Jelly Bean July 9, 2012
API 수준 15 Android 4.0.3    
API 수준 14 Android 4.0 Ice Cream Sandwich October 18, 2011
API 수준 13 Android 3.2    
API 수준 12 Android 3.1    
API 수준 11 Android 3.0 Honeycomb February 22, 2011
API 수준 10 Android 2.3.3    
API 수준 9 Android 2.3 Gingerbread December 6, 2010

 

 

SDK 플랫폼 출시 노트  |  Android 개발자  |  Android Developers

SDK Manager의 SDK Platforms 탭에서 다운로드할 수 있는 SDK 패키지에 관한 출시 정보를 확인하세요.

developer.android.com

 

 

Android version history - Wikipedia

The version history of the Android mobile operating system began with the public release of the Android beta on November 5, 2007. The first commercial version, Android 1.0, was released on September 23, 2008. Android is developed by Google in which new maj

en.wikipedia.org

 

반응형

SMALL STEPS BIG DIFFERENCE

2022.11.24.(목)

그랜드 인터컨티넨탈 서울 파르나스


 

라운지 토크 https://forward.nhn.com/2022/lounge-talks

 

세션 정보 

https://forward.nhn.com/2022/sessions

 

NHN FORWARD 22

기술로 더 나은 세상을 만들어 가는 사람들과 함께하는 NHN 기술 콘퍼런스 - 11월 24일에 만나요.

forward.nhn.com