Results 1 to 3 of 3

Thread: ????????????

  1. #1
    Sencha User
    Join Date
    Dec 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default ????????????

    sencha touch2.3.0?Ext.device.Camera.capture??????????
    ???????????????????

    ???????????????????????????
    ???????????????????????

    ????
    ---------------------------------------------------------------
    Ext.device.Camera.capture({
    source:'camera',
    destination:'file',
    quality: 100,
    encoding:'png',
    success:function(url){
    var img = Ext.create('Ext.Img',{
    src:url,
    fullscreen:true,
    zIndex:10,

    listeners:{
    tap:function(img){
    img.destroy();
    }
    }
    });
    img.show();
    Ext.device.Notification.show({
    title:'test1',
    message:url,
    buttons:'test2'
    });
    }

    });
    ------------------------------------------------------------------------

    ??????????????

    sencha touch2.3.0
    ???206SH
    OS?android 4.2.2

    ???????????

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Location
    Tokyo, Japan
    Posts
    11
    Vote Rating
    1
      0  

    Default

    Android ?????????? .jpg ????????????????????????????????.png ??????????????

    Ext.device.Camera.capture ??????????? width ? height ??????????????????????????

  3. #3
    Sencha User
    Join Date
    Dec 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

    ?????????????


    ??????width ? height ??????????
    ???????????????????????????????????????


    ????
    -------------------------------------------------------------------------------------------------------------------------

    Ext.device.Camera.capture({
    source:'camera',
    destination:'file',
    quality: 100,
    encoding:'jpg',
    width:540,
    height:960,
    success:function(url){
    var img = Ext.create('Ext.Img',{
    src:url,
    fullscreen:true,
    zIndex:10,

    listeners:{
    tap:function(img){
    img.destroy();
    }
    }
    });
    img.show();
    Ext.device.Notification.show({
    title:'test1',
    message:url,
    buttons:'test2'
    });
    }

    });

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


    ??????????????????????
    ????????????????????
    ??????????????????????????????
    PC????????????????????????????????????????????
    ?png,width:1620,height:2880
    ?png,width:1080,height:1920
    ?png,width:540,height:960
    ?jpg,width:1620,height:2880
    ?jpg,width:1080,height:1920
    ?jpg,width:540,height:960


    ????????????????????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •