반응형
반응형
구글 어시스턴트, 한국어 지원 개발 중..AI 공습예고  http://media.daum.net/v/20170313170115924

주요 음성인식 개인비서 애플리케이션 일람

삼성 
S보이스

LG 
Q보이스

Apple 
Siri

Microsoft 
Cortana

Google 
Now 
Assistant

SK 
NUGU

Naver 
AMICA

Amazon 
Alexa


http://core0.staticworld.net/images/article/2016/05/google-assistant-100661757-large.png

Google Assistant


구미 합슈타인손 구글 어시스턴트 프로덕트 책임은 “한국어와 일본어 개발을 위해 열심히 작업 중”이라고 말했다.

구글 어시스턴트 개발 책임자가 한국어를 개발하고 있다고 확답한 것은 처음이다. 구글은 특정언어 지원에 대한 언급을 피해 왔다.

한국어 서비스 완성도가 출시 시점을 결정할 전망이다. 합슈타인손 책임은 “(한국어로) 시스템을 작동시키려면 많은 작업이 필요하다”면서 “좋은 품질로 이용자가 실제 유용하게 사용할 수 있는 수준에 도달한 것을 확인해야 한다”고 밝혔다.

구글 어시스턴트는 80%에 이르는 국내 모바일 운용체계(OS) 시장점유율을 바탕으로 단숨에 점유율을 끌어 올릴 수 있어, 파급력이 클 전망이다.

SK텔레콤 누구, KT 기가지니 등 국내 기업이 출시한 AI서비스 전용 기기 판매량은 최대 10만대 안팎이다. 구글은 안드로이드6.0 마시멜로 이상 스마트폰에 어시스턴트를 업그레이드한다.

지난해 12월 현재 세계시장 마시멜로 점유율이 15%인 점을 감안하면, 국내시장에는 1200만대가량 스마트폰이 곧바로 구글 어시스턴트 이용기기로 변하게 된다.

구글은 어시스턴트 AI를 소프트웨어 개발도구(SDK) 형태로 제공, 생태계 확장에 나설 계획을 시사했다.

합슈타인손 책임은 “구글 어시스턴트 AI를 파트너와 협력해 다른 기기에서 구현하는 기술을 구체화하고 있다”면서 “삼성전자, LG전자 등과도 다양한 단계에서 협력을 진행하고 있다”고 말했다.

그는 “가정용 사물인터넷(IoT) 허브인 구글홈에 이어, 안드로이드TV에도 어시스턴트 AI를 적용할 계획”이라고 덧붙였다.

이는 한국어 SDK 완성과 동시에 국내에서도 자동차, 가전, TV 셋톱박스 등 서비스 전반에서 구글 어시스턴트를 적용할 수 있다는 의미다.

구글 어시스턴트는 질문에 응답하는 기존 음성인식과 달리, 사용자의 취향이나 의도를 파악하고, 대화를 주고 받는 AI 서비스가 특징이다.

이용자가 “영화를 추천해줘”라고 말하면 평소 즐겨보는 콘텐츠를 바탕으로 추천, 대화를 주고받으며 예매까지 곧바로 연결한다.

합슈타인손 책임은 “우리의 목표는 최대한 빨리, 최대한 많은 언어로 구글 어시스턴트를 지원하는 것”이라고 말했다. 그는 아이슬랜드 출신으로, 애플 재직 당시 시리 AI 개발에도 참여한 세계적인 AI 전문가다.






.

반응형
반응형

[Mobile] 안드로이드 모바일웹에서 구글 마켓앱 호출하기


<!-- *참고 : http://stackoverflow.com/questions/3239478/how-to-link-to-android-market-app -->





<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">
jQuery(function() {
  updateAndroidMarketLinks();
  // some more core here ...

  function updateAndroidMarketLinks()
  {
    var ua = navigator.userAgent.toLowerCase();
    if (0 <= ua.indexOf("android")) {
      // we have android
      $("a[href^='http://market.android.com/']").each(function() {
        this.href = this.href.replace(/^http:\/\/market\.android\.com\//,
          "market://");
      });
    }
  }
});
</script>

         <br><br><br>
<a href="http://market.android.com/details?id=com.google.earth" target="_blank">com.google.earth</a>
 
         <br><br><br>



반응형
반응형

Remote Debugging on Android with Chrome

https://developer.chrome.com/devtools/docs/remote-debugging



1. 안드로이드 폰 : 환경설정 > 개발자모드 선택 후  "USB Debugging" 모드 선택해야함.


2. PC 크롬 브라우저에  chrome://inspect.  입력.


3. PC 와 안드로이드폰을 USB로 연결.


4. PC 크롬 브라우저에 연결된 핸드폰 정보가 나온다. 브라우저에서 "inspect" 를 선택하면

   안드로이드폰에서 접속한 크롬 브라우저의 내용이 나온다.

   - 안드로이드폰의 크롬브라우저를 PC에서 보는 기능 구현.


=================================================================================

The way your web content behaves on mobile can be dramatically different from the desktop experience. Remote debugging with Chrome DevTools lets you debug live content on your Android device from your development machine.

Debugging Chrome for Android using the Chrome Developer Tools

Remote debugging on Android supports:

To begin remote debugging, you need:

  • Chrome 32 or later installed on your development machine.
  • A USB cable to connect your Android device.
  • For browser debugging: Android 4.0+ and Chrome for Android.
  • For app debugging: Android 4.4+ and a WebView configured for debugging.

Note: Remote debugging requires your version of desktop Chrome to be newer than the version of Chrome for Android on your device. For best results, use Chrome Canary(Mac/Windows) or the Chrome Dev channel release (Linux) on desktop.

If at any time you encounter problems with remote debugging, refer to the Troubleshooting section.

Follow these instructions to set up your Android device for remote debugging.

On your Android device, select Settings > Developer options.

developer options
Developer options on the Settings page.
Note: On Android 4.2 and later, the developer options are hidden by default. To enable the developer options, select Settings > About phone and tap Build number seven times.
About phone screen
Enabling the developer options on Android 4.2+.

In Developer options, select the USB debugging checkbox:

USB debugging settings in Developer options
Enabling USB debugging on Android.

An alert prompts you to allow USB debugging. Tap OK.

allow USB debugging message

Connect the Android device to your development machine using a USB cable.

Note: If you are developing on Windows, install the appropriate USB driver for your device. See OEM USB Drivers on the Android Developers' site.

After setting up remote debugging on Android, discover your device in Chrome.

On your desktop Chrome browser, navigate to chrome://inspect. Confirm that Discover USB devices is checked:

Discover USB Devices in chrome://inspect
Tip: You can also get to chrome://inspect by selecting Chrome menu > More tools > Inspect Devices.

On your device, an alert prompts you to allow USB debugging from your computer. Tap OK.

USB debugging permission alert
Tip: To skip this alert in the future, check Always allow from this computer.

The message USB debugging connected displays in the device's notification drawer.

Note: During remote debugging, Chrome prevents your device’s screen from going to sleep. This feature is useful for debugging, but is also less secure. So be sure to keep an eye on your device!

On your computer, the chrome://inspect page displays every connected device, along with its open tabs and debug-enabled WebViews.

The chrome://inspect page.
Viewing connected devices from the chrome://inspect page.

If you have problems finding your device on the chrome://inspect page, see the Troubleshooting section.

From the chrome://inspect page, you can launch DevTools and debug your remote browser tabs.

To start debugging, click inspect below the browser tab you want to debug.

Click inspect to start remote debugging

A new instance of Chrome DevTools launches on your computer. From this instance, you can interact with the selected browser tab on your device in real time.

Debugging Chrome for Android using the Chrome Developer Tools
Debug a web page on your Android phone from your laptop using Chrome DevTools.

For example, you can use DevTools to inspect web page elements on your device:

  • When you mouse over an element in the Elements panel, DevTools highlights the element on your device.
  • You can also click the Inspect Element inspect element icon icon in DevTools and tap your device screen. DevTools highlights the tapped element in the Elements panel.

Note: The version of Chrome on your device determines the version of DevTools used during remote debugging. For this reason, the remote debugging DevTools might differ from the version that you normally use.

Here are a few tips to help get you started with remote debugging:

  • Use F5 (or Cmd+r on Mac) to reload a remote page from the DevTools window.
  • Keep the device on a cellular network. Use the Network panel to view the network waterfall under actual mobile conditions.
  • Use the Timeline panel to analyze rendering and CPU usage. Hardware on mobile devices often runs much slower than on your development machine.
  • If you’re running a local web server, use port forwarding or virtual host mapping to access the site on your device.

On Android 4.4 (KitKat) or later, you can use DevTools to debug WebView content in native Android applications.

WebView debugging must be enabled from within your application. To enable WebView debugging, call the static method setWebContentsDebuggingEnabled on the WebView class.

  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
      WebView.setWebContentsDebuggingEnabled(true);
  }

This setting applies to all of the application's WebViews.

Tip: WebView debugging is not affected by the state of the debuggable flag in the application's manifest. If you want to enable WebView debugging only when debuggable is true, test the flag at runtime.

  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
    if (0 != (getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE))
    { WebView.setWebContentsDebuggingEnabled(true); }
  }

The chrome://inspect page displays a list of debug-enabled WebViews on your device.

To start debugging, click inspect below the WebView you want to debug. Use DevTools as you would for aremote browser tab.

Inspecting elements in a WebView
Debugging a remote Android WebView with the Chrome DevTools.

The gray graphics listed with the WebView represent its size and position relative to the device's screen. If your WebViews have titles set, the titles are listed as well.

Shifting your attention between screens isn’t always convenient. Screencast displays your device's screen right alongside DevTools on your development machine. You can interact with the content on your device from the screencast too.

As of KitKat 4.4.3, screencast is available for both browser tabs and Android WebViews.

To start screencasting, click the Screencast screencast icon icon in the upper right corner of your remote debugging DevTools window.

screencast location in DevTools
The Screencast icon.

The Screencast panel opens on the left and displays a live view of your device's screen.

Open a new remote tab.
Live interactive screencast from your Android to your laptop.

Screencast only displays page content. Transparent portions of the screencast are covered by the omnibox, device keyboard, and other device interfaces.

Note: Because screencast continuously captures frames, it has some performance overhead. If your tests are sensitive to frame rate, disable screencast.

When you interact with the screencast, clicks are translated into taps, firing proper touch events on the device. Keystrokes from your computer are sent to the device, so you can avoid typing with your thumbs.

Other DevTools work with the screencast too. For example, to inspect an element, click the Inspect Element inspect element icon icon and then click inside the screencast.

Tips: To simulate a pinch gesture, hold Shift while dragging. To scroll, use your trackpad or mouse wheel or fling with your pointer.

Your phone can't always reach the content on your development server. They might be on different networks. Moreover, you might be developing on a restricted corporate network.

Port forwarding on Chrome for Android makes it easy to test your development site on mobile. It works by creating a listening TCP port on your mobile device that maps to a particular TCP port on your development machine. Traffic between these ports travels through USB, so the connection doesn't depend on your network configuration.

To enable port forwarding:

  1. Open chrome://inspect on your development machine.
  2. Click Port Forwarding. The port forwarding settings display.
    port forwarding button location
  3. In the Device port field, enter the port number you want your Android device to listen on. 
    (The default port is 8080.)
  4. In the Host field, enter the IP address (or hostname) and port number where your web application is running. 
    This address can be any local location accessible from your development machine. Currently, port numbers must be between 1024 and 32767 (inclusive).
  5. Check Enable port forwarding.
  6. Click Done.
    port forwarding dialog
    The port forwarding settings.

The port status indicators on chrome://inspect are green when port forwarding is successful.

viewing local content on mobile
Viewing the content of your local web server on Android using port forwarding.

Now you can open a new Chrome for Android tab and view the content of your local server on your device.

Port forwarding works great when you're developing on localhost. But there are cases when you might be using a customized local domain.

For example, suppose you're using a third party JavaScript SDK that only works on whitelisted domains. So you added an entry, such as 127.0.0.1 production.com, to your hosts file. Or maybe you configured a customized domain using virtual hosts on your web server (MAMP).

If you want your phone to reach content on your customized domain, you can use port forwarding in combination with a proxy server. The proxy maps requests from your device to the correct location on the host machine.

Virtual host mapping requires you to run a proxy server on the host machine. All requests from your Android device will be forwarded to the proxy.

To set up port forwarding to a proxy:

  1. On the host machine, install proxy software such as Charles Proxy (free trial available) or Squid.
  2. Run the proxy server and note the port that it's using.

    Note: The proxy server and your development server must be running on different ports.

  3. In a Chrome browser, navigate to chrome://inspect.
  4. Click Port forwarding. The port forwarding settings display.
    port forwarding button location
  5. In the Device port field, enter the port number that you want your Android device to listen on. 
    Use a port that Android allows, such as 9000.
  6. In the Host field, enter localhost:xxxx, where xxxx is the port your proxy is running on.
  7. Check Enable port forwarding.
  8. Click Done.
    port forwarding dialog
    Port forwarding to a proxy.

The proxy on the host machine is set up to make requests on behalf of your Android device.

Your Android device needs to communicate with the proxy on the host machine.

To configure the proxy settings on your device:

  1. Select Settings > Wi-Fi.
  2. Long-press the network that you are currently connected to.

    Note: Proxy settings apply per network.

  3. Tap Modify network.
  4. Select Advanced options. 
    The proxy settings display.
    phone proxy settings
    Proxy settings on the device.
  5. Tap the Proxy menu and select Manual.
  6. In the Proxy hostname field, enter localhost.
  7. In the Proxy port field, enter 9000.
  8. Tap Save.

With these settings, your device forwards all of its requests to the proxy on the host machine. The proxy makes requests on behalf of your device, so requests to your customized local domain are properly resolved.

Now you can load local domains on Chrome for Android just as you would on the host machine.

virtual host mapping
Using virtual host mapping to access a customized local domain from an Android device.

Tip: To resume normal browsing, remember to revert the proxy settings on your device after you disconnect from the host.

  • If you are developing on Windows, verify that the appropriate USB driver for your device is installed. SeeOEM USB Drivers on the Android Developers' site.
  • Verify that the device is connected directly to your machine, bypassing any hubs.
  • Verify that USB debugging is enabled on your device. Remember to accept the USB debugging permission alerts on your device.
  • On your desktop browser, navigate to chrome://inspect and verify that Discover USB devices is checked.
  • Remote debugging requires your version of desktop Chrome to be newer than the version of Chrome for Android on your device. Try using Chrome Canary (Mac/Windows) or the Chrome Dev channel release (Linux) on desktop.

If you still can't see your device, unplug it. On your device, select Settings > Developer options. Tap Revoke USB debugging authorizations. Then, retry the device setup and discovery processes.

  • On your device, open the Chrome browser and navigate to the web page you want to debug. Then, refresh the chrome://inspect page.
  • Verify that WebView debugging is enabled for your app.
  • On your device, open the app with the WebView you want to debug. Then, refresh the chrome://inspectpage.

Lastly, if remote debugging still isn't working, you can revert to the legacy workflow using the adb binary from the Android SDK.

You no longer need to configure ADB or the ADB plugin to debug remote browser tabs and WebViews. Remote debugging for Android is now part of the standard Chrome DevTools. It works on all operating systems: Windows, Mac, Linux, and Chrome OS.

If you do encounter problems with remote debugging, you can try the legacy workflow using the adb binary from the Android SDK.

Note: The direct USB connection between Chrome and the device might interrupt youradb connection. Before establishing your adb connection, uncheck Discover USB deviceson chrome://inspect. Then, disconnect and reconnect the device.

For information about the remote debugging interaction protocol, refer to the Debugger Protocoldocumentation and chrome.debugger.



반응형
반응형
[Adroid] 갤럭시 S4 에서 개발자 모드 활성화 하기

 

 

[환경설정] - [더보기] - [디바이스 정보] - [빌드 번호] 를 계속 터치한다.

 

그러면 "개발자 모드가 실행 되었습니다." 라고 토스트 메세지가 나온다.

 

그러면, 뒤로 가서 [더보기] 화면에 보면 [개발자 옵션] 이 노출되어 있다.

 

 

반응형
반응형

젤리빈 4.3 업데이트 해볼까?

 

http://www.cnet.co.kr/view/26824

 

삼성전자는 갤럭시S4를 시작으로 국내서 최신 안드로이드 운영체제(OS) 젤리빈 4.3 업그레이드를 실시한다고 24일 밝혔다.

이번 업그레이드 대상은 안드로이드 4.2 버전으로 출시한 갤럭시S4, 갤럭시S4 LTE-A 등 2종이다. 갤럭시S3와 갤럭시노트2 등은 향후 업그레이드 예정이다.

안드로이드4.3은 구글의 최신 OS로 삼성전자는 이를 갤럭시노트3에 탑재했다. 구글 안드로이드4.4 버전 ‘킷캣’은 아직 출시 전이다.

이를 탑재하면 와이파이 기능을 꺼도 와이파이 기반 위치정보 서비스에 연결 가능하며, ‘OpenGL’ 3.0 지원으로 향상된 그래픽 성능을 누릴 수 있다.

업그레이드는 기기 내 소프트웨어 업데이트나 삼성전자 소프트웨어 관리 프로그램 키스(Kies)를 통하면 된다. 삼성 디지털프라자와 삼성 모바일샵을 방문해 직원에게 요청하는 방법도 있다.

삼성전자는 안드로이드 업그레이드를 경쟁사보다 빠르게 진행함을 늘 강조해왔지만 이번에는 상황이 더 급박하다. 최근 출시한 손목 착용형 기기 ‘갤럭시기어’ 성적에 영향을 미칠 문제이기 때문이다.

‘갤럭시기어’는 안드로이드4.3을 탑재한 삼성전자 기기에만 연동한다. 현재 이 조건을 충족하는 스마트폰은 갤럭시노트3 1종이다.

갤럭시S4와 갤럭시S3, 갤럭시노트2 등에 젤리빈 4.3을 빨리 탑재해야 ‘갤럭시기어’ 판매에 유리하다는 설명이다.

삼성전자 관계자는 “젤리빈 4.3 업그레이드를 통해 최신 갤럭시 스마트폰의 혁신적인 기능을 더 많은 소비자들이 즐길 수 있게 됐다”며 “향후 더 많은 제품에서 지원을 확대할 예정”이라고 말했다.

삼성전자는 젤리빈 업그레이드와 함께 올 초 기업용으로 공개한 보안 솔루션 ‘삼성 녹스’도 지원한다. 소비자가 직접 컨테이너라는 보호막 내에 개인 데이터를 보관할 수 있어 해킹이나 데이터 유출을 방지할 수 있다.

이밖에도 갤럭시S4 LTE-A러 처음 선보인 ‘이미지 온’, ‘고화질 DMB’ 기능을 갤럭시S4에서도 사용할 수 있게 했다.

 

 

 

 

 

 

 

 

 

반응형
반응형

http://developer.android.com/about/dashboards/index.html?utm_content=buffer07ca2&utm_source=buffer&utm_medium=twitter&utm_campaign=Buffer

 

Platform Versions


This section provides data about the relative number of devices running a given version of the Android platform.

For information about how to target your application to devices based on platform version, read Supporting Different Platform Versions.

 

 

Screen Sizes and Densities


This section provides data about the relative number of devices that have a particular screen configuration, defined by a combination of screen size and density. To simplify the way that you design your user interfaces for different screen configurations, Android divides the range of actual screen sizes and densities into several buckets as expressed by the table below.

For information about how you can support multiple screen configurations in your application, read Supporting Multiple Screens.

 

Open GL Version


This section provides data about the relative number of devices that support a particular version of OpenGL ES. Note that support for one particular version of OpenGL ES also implies support for any lower version (for example, support for version 2.0 also implies support for 1.1).

 

 

 

반응형

+ Recent posts