1. Hello Guest, selamat datang di Forum WinPoin. Kamu bisa bertanya, berdiskusi, sharing, dan ngobrolin apapun seputar Windows, Windows Phone, PC, Gadget, atau hal seputar Teknologi lainnya. Selamat berkomunitas! ;)

Windows Phone app interfacing with ATMega using Bluetooth?

Discussion in 'Developer Corner' started by aufarfajar, May 31, 2014.

  1. aufarfajar

    aufarfajar Member

    Joined:
    Feb 6, 2014
    Messages:
    101
    Saya sedang mengerjakan suatu proyek yang membutuhkan koneksi antara windows phone app dengan mikrokontroler ATMega 16. Jadi rencananya, sistem mikrokontroler akan mengirimkan suatu data (variabel string atau integer) kepada windows phone melalui koneksi bluetooth. Nanti app akan membuat suatu keputusan berdasarkan data yang dikirimkan oleh sistem mikrokontroler tersebut. Saya sudah mengatur inisialisasi USART pada mikrokontroler ATMega 16 dengan communication parameter: 8 Data, 1 Stop, No Parity; USART receiver & transmitter ON; USART Mode Asynchronous; Baudrate: 9600. Windows phone sudah berhasil mendeteksi dan pairing bluetooth module pada sistem mikrokontroler. Pertanyaannya adalah:

    1. Ada yang bisa bantu bagaimana programming bluetooth di windows phone (C#) khususnya untuk menerima data dan menampilkannya pada textblock?
    2. Bagaimana programming di mikrokontrolernya? Apakah cukup dengan perintah putchar/putsf saja?

    Keterangan:
    1. Saya menggunakan CodeVisionAVR untuk memrogram mikrokontroler ATMega16
    2. Saya menggunakan bluetooth module DFRobotV3

    Bagi yang sudah berpengalaman programming bluetooth atau bagi yang mengerti, mohon bantuannya wankawan. Maaf saya masih amatir hehe. :desperate2::woa:

    Terima kasih
     
  2. Jazz

    Jazz Super Moderatór Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,731
    Untuk Jawaban nomor 1
    Maksudnya membuat Koneksi dengan Proximity?

    Untuk Nomor 2nya Icha ndah tau
    :woa:
     
  3. aufarfajar

    aufarfajar Member

    Joined:
    Feb 6, 2014
    Messages:
    101
    Iya koneksi dengan proximity.. udah nyoba2 contoh yang di internet tapi masih belom bisa nerima data nih..
     
  4. Mayza MyZone

    Mayza MyZone Super Moderator Staff Member

    Joined:
    Dec 16, 2013
    Messages:
    4,951
    wah,, udah terlalu jauh ni pembahasannya,, belum terlalu paham klo soal ini,,, maaf ya ga bisa bantu,,,
     
  5. aufarfajar

    aufarfajar Member

    Joined:
    Feb 6, 2014
    Messages:
    101
    no prob bro ;)
     
  6. Z.A.Y

    Z.A.Y Moderator Staff Member

    Joined:
    May 21, 2014
    Messages:
    1,792
    :v c sharp ane belum belajar tapi kalau c ++ oke ckkckkck
     
  7. marwanto.se

    marwanto.se New Member

    Joined:
    May 7, 2013
    Messages:
    7,659
    Wah, maaf sob kalo ini gak bisa bantu, kurang begitu tahu juga saya. :ketawa:
     
  8. Jazz

    Jazz Super Moderatór Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,731
    Bikin Project Lalu Enable Proximitynya
    XAML UI
    Buka MainPage.xaml Replace Element Grind
    XAML[/b]]
    Code:
    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel Margin="20">
            <StackPanel Orientation="Horizontal">
                <TextBlock FontSize="16" VerticalAlignment="Center" Margin="0,0,10,0">Display Name</TextBlock>
                <TextBox x:Name="DisplayNameTextBox" Width="300"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Button x:Name="AdvertiseForPeersButton" Content="Advertise For a Connection" 
                        Click="AdvertiseForPeersButton_Click" />
                <Button x:Name="AcceptConnectionButton" Content="Accept Connection" 
                        Click="AcceptConnectionButton_Click" />
                <Button x:Name="FindPeersButton" Content="Browse for Peers" 
                        Click="FindPeersButton_Click" />
                <Button x:Name="StopFindingPeersButton" Content="Stop Browsing for Peers" 
                        Click="StopFindingPeersButton_Click" />
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <TextBox x:Name="SendMessageTextBox" Width="300" Height="30" />
                <Button x:Name="SendMessageButton" Content="Send Message" 
                        Click="SendMessageButton_Click" />
            </StackPanel>
            <TextBlock x:Name="MessageBlock" Width="600" HorizontalAlignment="Left"/>
        </StackPanel>
    </Grid>
    

    Menambahan Handlers
    FindPeersButton Herf FindAllPeersAsync
    Didalam MainPage.xaml.cs atau MainPage.xaml.vb gantikan default event handler OnNavigatedTo Pada Class MainPage dengan kode berikut.
    C#[/b]]
    Code:
    protected override void OnNavigatedTo(NavigationEventArgs e)
    {
        DisplayNameTextBox.Text = Windows.Networking.Proximity.PeerFinder.DisplayName;
        Windows.Networking.Proximity.PeerFinder.ConnectionRequested += ConnectionRequested;
    
        // If activated from launch or from the background, create a peer connection.
        var args = e.Parameter as Windows.ApplicationModel.Activation.LaunchActivatedEventArgs;
        if (args != null && args.Kind == Windows.ApplicationModel.Activation.ActivationKind.Launch)
        {
            if (args.Arguments == "Windows.Networking.Proximity.PeerFinder:StreamSocket")
            {
                AdvertiseForPeersButton_Click(null, null);
            }
        }
    }
    
    protected override void OnNavigatingFrom(NavigatingCancelEventArgs e)
    {
        if (_started)
        {
            // Detach the callback handler (there can only be one PeerConnectProgress handler).
            Windows.Networking.Proximity.PeerFinder.TriggeredConnectionStateChanged -= TriggeredConnectionStateChanged;
            // Detach the incoming connection request event handler.
            Windows.Networking.Proximity.PeerFinder.ConnectionRequested -= ConnectionRequested;
            Windows.Networking.Proximity.PeerFinder.Stop();
            CloseSocket();
            _started = false;
        }
    }
    
    // Write a message to MessageBlock on the UI thread.
    private Windows.UI.Core.CoreDispatcher messageDispatcher = Window.Current.CoreWindow.Dispatcher;
    
    async private void WriteMessageText(string message, bool overwrite = false)
    {
        await messageDispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal,
            () =>
            {
                if (overwrite)
                    MessageBlock.Text = message;
                else
                    MessageBlock.Text += message;
            });
    }
    
    bool _started = false;
    
    // Click event handler for "Advertise" button.
    private void AdvertiseForPeersButton_Click(object sender, RoutedEventArgs e)
    {
        if (_started) 
        {
            WriteMessageText("You are already advertising for a connection.\n");
            return; 
        }
    
        Windows.Networking.Proximity.PeerFinder.DisplayName = DisplayNameTextBox.Text;
    
        if ((Windows.Networking.Proximity.PeerFinder.SupportedDiscoveryTypes &
             Windows.Networking.Proximity.PeerDiscoveryTypes.Triggered) ==
             Windows.Networking.Proximity.PeerDiscoveryTypes.Triggered)
        {
            Windows.Networking.Proximity.PeerFinder.TriggeredConnectionStateChanged +=
                TriggeredConnectionStateChanged;
    
            WriteMessageText("You can tap to connect a peer device that is " +
                             "also advertising for a connection.\n");
        }
        else
        {
            WriteMessageText("Tap to connect is not supported.\n");
        }
    
        if ((Windows.Networking.Proximity.PeerFinder.SupportedDiscoveryTypes &
             Windows.Networking.Proximity.PeerDiscoveryTypes.Browse) !=
             Windows.Networking.Proximity.PeerDiscoveryTypes.Browse)
        {
            WriteMessageText("Peer discovery using Wi-Fi Direct is not supported.\n");
        }
    
       Windows.Networking.Proximity.PeerFinder.Start();
       _started = true;
    }
    
    private void TriggeredConnectionStateChanged(
        object sender,
        Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs e)
    {
        if (e.State == Windows.Networking.Proximity.TriggeredConnectState.PeerFound)
        {
            WriteMessageText("Peer found. You may now pull your devices out of proximity.\n");
        }
        if (e.State == Windows.Networking.Proximity.TriggeredConnectState.Completed)
        {
            WriteMessageText("Connected. You may now send a message.\n");
            SendMessage(e.Socket);
        }
    }
    
    // Click event handler for "Browse" button.
    async private void FindPeersButton_Click(object sender, RoutedEventArgs e)
    {
        if ((Windows.Networking.Proximity.PeerFinder.SupportedDiscoveryTypes &
             Windows.Networking.Proximity.PeerDiscoveryTypes.Browse) !=
             Windows.Networking.Proximity.PeerDiscoveryTypes.Browse)
        {
            WriteMessageText("Peer discovery using Wi-Fi Direct is not supported.\n");
            return;
        }
    
        try
        {
            var peerInfoCollection = await Windows.Networking.Proximity.PeerFinder.FindAllPeersAsync();
            if (peerInfoCollection.Count > 0)
            {
                // Connect to first peer found - example only.
                // In your app, provide the user with a list of available peers.
                ConnectToPeer(peerInfoCollection[0]);
            }
        }
        catch (Exception err)
        {
            WriteMessageText("Error finding peers: " + err.Message + "\n");
        }
    }
    
    async private void ConnectToPeer(Windows.Networking.Proximity.PeerInformation peerInfo)
    {
        WriteMessageText("Peer found. Connecting to " + peerInfo.DisplayName + "\n");
        try
        {
            Windows.Networking.Sockets.StreamSocket socket =
                await Windows.Networking.Proximity.PeerFinder.ConnectAsync(peerInfo);
    
            WriteMessageText("Connection successful. You may now send messages.\n");
            SendMessage(socket);
        }
        catch (Exception err)
        {
            WriteMessageText("Connection failed: " + err.Message + "\n");
        }
    
        requestingPeer = null;
    }
    
    // Click event handler for "Stop" button.
    private void StopFindingPeersButton_Click(object sender, RoutedEventArgs e)
    {
        _started = false;
        Windows.Networking.Proximity.PeerFinder.Stop();
        if (proximitySocket != null) { CloseSocket(); }
    }
    
    // Handle external connection requests.
    Windows.Networking.Proximity.PeerInformation requestingPeer;
    
    private void ConnectionRequested(object sender,
        Windows.Networking.Proximity.ConnectionRequestedEventArgs e)
    {
        requestingPeer = e.PeerInformation;
        WriteMessageText("Connection requested by " + requestingPeer.DisplayName + ". " +
            "Click 'Accept Connection' to connect.");
    }
    
    private void AcceptConnectionButton_Click(object sender, RoutedEventArgs e)
    {
        if (requestingPeer == null)
        {
            WriteMessageText("No peer connection has been requested.");
            return;
        }
    
        ConnectToPeer(requestingPeer);
    }
    
    
    VB[/b]]
    Code:
    Protected Overrides Sub OnNavigatedTo(e As Navigation.NavigationEventArgs)
        DisplayNameTextBox.Text = Windows.Networking.Proximity.PeerFinder.DisplayName
        AddHandler Windows.Networking.Proximity.PeerFinder.ConnectionRequested, AddressOf ConnectionRequested
    
        ' If activated from launch or from the background, create a peer connection.
        Dim args = TryCast(e.Parameter, Windows.ApplicationModel.Activation.LaunchActivatedEventArgs)
        If args IsNot Nothing AndAlso args.Kind = Windows.ApplicationModel.Activation.ActivationKind.Launch Then
    
            If args.Arguments = "Windows.Networking.Proximity.PeerFinder:StreamSocket" Then
                AdvertiseForPeersButton_Click()
            End If
        End If
    End Sub
    
    Protected Overrides Sub OnNavigatingFrom(e As Navigation.NavigatingCancelEventArgs)
        If _started Then
            ' Detach the callback handler (there can only be one PeerConnectProgress handler).
            RemoveHandler Windows.Networking.Proximity.PeerFinder.TriggeredConnectionStateChanged, AddressOf TriggeredConnectionStateChanged
            ' Detach the incoming connection request event handler.
            RemoveHandler Windows.Networking.Proximity.PeerFinder.ConnectionRequested, AddressOf ConnectionRequested
            Windows.Networking.Proximity.PeerFinder.Stop()
            CloseSocket()
            _started = False
        End If
    End Sub
    
    ' Write a message to MessageBlock on the UI thread.
    Private Async Sub WriteMessageText(message As String, Optional overwrite As Boolean = False)
        Await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal,
            Sub()
                If overwrite Then
                    MessageBlock.Text = message
                Else
                    MessageBlock.Text &= message
                End If
            End Sub)
    End Sub
    
    Private _started As Boolean = False
    
    ' Click event handler for "Advertise" button.
    Private Sub AdvertiseForPeersButton_Click()
    
        If _started Then
            WriteMessageText("You are already advertising for a connection." & vbCrLf)
            Return
        End If
    
        Windows.Networking.Proximity.PeerFinder.DisplayName = DisplayNameTextBox.Text
    
        If ((Windows.Networking.Proximity.PeerFinder.SupportedDiscoveryTypes And
             Windows.Networking.Proximity.PeerDiscoveryTypes.Triggered) =
             Windows.Networking.Proximity.PeerDiscoveryTypes.Triggered) Then
    
            AddHandler Windows.Networking.Proximity.PeerFinder.TriggeredConnectionStateChanged,
                AddressOf TriggeredConnectionStateChanged
    
            WriteMessageText("You can tap to connect a peer device that is " &
                             "also advertising for a connection." & vbCrLf)
        Else
            WriteMessageText("Tap to connect is not supported." & vbCrLf)
        End If
    
        If (Windows.Networking.Proximity.PeerFinder.SupportedDiscoveryTypes And
            Windows.Networking.Proximity.PeerDiscoveryTypes.Browse) <>
            Windows.Networking.Proximity.PeerDiscoveryTypes.Browse Then
    
            WriteMessageText("Peer discovery using Wifi-Direct is not supported." & vbCrLf)
        End If
    
        Windows.Networking.Proximity.PeerFinder.Start()
        _started = True
    End Sub
    
    Private Sub TriggeredConnectionStateChanged(
        sender As Object,
        e As Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs)
    
        If e.State = Windows.Networking.Proximity.TriggeredConnectState.PeerFound Then
    
            WriteMessageText("Peer found. You may now pull your devices out of proximity." & vbCrLf)
        End If
    
        If e.State = Windows.Networking.Proximity.TriggeredConnectState.Completed Then
            WriteMessageText("Connected. You may now send a message." & vbCrLf)
            SendMessage(e.Socket)
        End If
    End Sub
    
    ' Click event handler for "Browse" button.
    Private Async Sub FindPeersButton_Click()
        If (Windows.Networking.Proximity.PeerFinder.SupportedDiscoveryTypes And
            Windows.Networking.Proximity.PeerDiscoveryTypes.Browse) <>
            Windows.Networking.Proximity.PeerDiscoveryTypes.Browse Then
    
            WriteMessageText("Peer discovery using Wifi-Direct is not supported." & vbCrLf)
            Return
        End If
    
        Try
            Dim peerInfoCollection = Await Windows.Networking.Proximity.PeerFinder.FindAllPeersAsync()
            If peerInfoCollection.Count > 0 Then
                ' Connect to first peer found - example only.
                ' In your app, provide the user with a list of available peers.
                ConnectToPeer(peerInfoCollection(0))
            End If
        Catch err As Exception
            WriteMessageText("Error finding peers: " & err.Message & vbCrLf)
        End Try
    End Sub
    
    Private Async Sub ConnectToPeer(peerInfo As Windows.Networking.Proximity.PeerInformation)
    
        WriteMessageText("Peer found. Connecting to " & peerInfo.DisplayName & vbCrLf)
        Try
            Dim socket = Await Windows.Networking.Proximity.PeerFinder.ConnectAsync(peerInfo)
    
            WriteMessageText("Connection successful. You may now send messages." & vbCrLf)
            SendMessage(socket)
        Catch err As Exception
            WriteMessageText("Connection failed: " & err.Message & vbCrLf)
        End Try
    
        requestingPeer = Nothing
    End Sub
    
    ' Click event handler for "Stop" button.
    Private Sub StopFindingPeersButton_Click()
    
        _started = False
        Windows.Networking.Proximity.PeerFinder.Stop()
        If proximitySocket IsNot Nothing Then CloseSocket()
    End Sub
    
    ' Handle external connection requests.
    Private requestingPeer As Windows.Networking.Proximity.PeerInformation
    
    Private Sub ConnectionRequested(sender As Object,
        e As Windows.Networking.Proximity.ConnectionRequestedEventArgs)
    
        requestingPeer = e.PeerInformation
    
        WriteMessageText("Connection requested by " & requestingPeer.DisplayName & ". " &
            "Click 'Accept Connection' to connect.")
    End Sub
    
    Private Sub AcceptConnectionButton_Click()
        If requestingPeer Is Nothing Then
            WriteMessageText("No peer connection has been requested.")
            Return
        End If
    
        ConnectToPeer(requestingPeer)
    End Sub
    


    Menambahkan Code untuk Mengirim ata Menerima Pesan menggunakan StreamSocket
    Pada MainPage.xaml.cs atau MainPage.xaml.vb Tambahkan Code Berikut setelah Method SendMessageButton_Click
    C#[/b]]
    Code:
    
    private void SendMessageButton_Click(object sender, RoutedEventArgs e)
    {
         if (proximitySocket != null)
        {
            SendMessageText();
        }
        else
        {
            WriteMessageText("You must enter proximity to send a message.\n");
        }
    }
    
    Windows.Networking.Sockets.StreamSocket proximitySocket;
    Windows.Storage.Streams.DataWriter dataWriter;
    
    // Reference socket streams for writing and reading messages.
    private void SendMessage(Windows.Networking.Sockets.StreamSocket socket)
    {
        // PeerFinder has not been started.
        if (!_started)
        {
            CloseSocket();
            return;
        }
    
        // Get the network socket from the proximity connection.
        proximitySocket = socket;
    
        // Create DataWriter for writing messages to peers.
        dataWriter = new Windows.Storage.Streams.DataWriter(proximitySocket.OutputStream);
    
        // Listen for messages from peers.
        Windows.Storage.Streams.DataReader dataReader =
                new Windows.Storage.Streams.DataReader(proximitySocket.InputStream);
        StartReader(proximitySocket, dataReader);
    }
    
    
    // Send a message to the socket.
    private async void SendMessageText()
    {
        string msg = SendMessageTextBox.Text;
    
        if (msg.Length > 0)
        {
            var msgLength = dataWriter.MeasureString(msg);
            dataWriter.WriteInt32(msg.Length);
            dataWriter.WriteString(msg);
            try
            {
                await dataWriter.StoreAsync();
                WriteMessageText("Message sent: " + msg + "\n");
            }
            catch (Exception e)
            {
                WriteMessageText("Send error: " + e.Message + "\n");
                CloseSocket();
            }
        }
    }
    
    // Read out and print the message received from the socket.
    private async void StartReader(Windows.Networking.Sockets.StreamSocket socket,
       Windows.Storage.Streams.DataReader reader)
    {
        try
        {
            uint bytesRead = await reader.LoadAsync(sizeof(uint));
            if (bytesRead > 0)
            {
                uint strLength = (uint)reader.ReadUInt32();
                bytesRead = await reader.LoadAsync(strLength);
                if (bytesRead > 0)
                {
                    String message = reader.ReadString(strLength);
                    WriteMessageText("Received message: " + message + "\n");
                    StartReader(socket, reader); // Start another reader
                }
                else
                {
                    WriteMessageText("The peer app closed the socket\n");
                    reader.Dispose();
                    CloseSocket();
                }
            }
            else
            {
                WriteMessageText("The peer app closed the socket\n");
                reader.Dispose();
                CloseSocket();
            }
        }
        catch 
        {
            WriteMessageText("The peer app closed the socket\n");
            reader.Dispose();
            CloseSocket();
        }
    }
    
    private void CloseSocket()
    {
        if (proximitySocket != null)
        {
            proximitySocket.Dispose();
            proximitySocket = null;
        }
    
        if (dataWriter != null)
        {
            dataWriter.Dispose();
            dataWriter = null;
        }
    }
    
    public void Dispose()
    {
        CloseSocket();
    }
    
    VB[/b]]
    Code:
    Private Sub SendMessageButton_Click()
    
        If proximitySocket IsNot Nothing Then
            SendMessageText()
        Else
            WriteMessageText("You must enter proximity to send a message." & vbCrLf)
        End If
    End Sub
    
    Private proximitySocket As Windows.Networking.Sockets.StreamSocket
    Private dataWriter As Windows.Storage.Streams.DataWriter
    
    ' Reference socket streams for writing and reading messages.
    Private Sub SendMessage(socket As Windows.Networking.Sockets.StreamSocket)
    
        ' PeerFinder has not been started.
        If Not _started Then
            CloseSocket()
            Return
        End If
    
        ' Get the network socket from the proximity connection.
        proximitySocket = socket
    
        ' Create DataWriter for writing messages to peers.
        dataWriter = New Windows.Storage.Streams.DataWriter(proximitySocket.OutputStream)
    
        ' Listen for messages from peers.
        Dim dataReader = New Windows.Storage.Streams.DataReader(proximitySocket.InputStream)
        StartReader(proximitySocket, dataReader)
    End Sub
    
    
    ' Send a message to the socket.
    Private Async Sub SendMessageText()
        Dim msg = SendMessageTextBox.Text
    
        If msg.Length > 0 Then
            Dim msgLength = dataWriter.MeasureString(msg)
            dataWriter.WriteInt32(msg.Length)
            dataWriter.WriteString(msg)
            Try
                Await dataWriter.StoreAsync()
                WriteMessageText("Message sent: " & msg & vbCrLf)
            Catch e As Exception
                WriteMessageText("Send error: " & e.Message & vbCrLf)
                CloseSocket()
            End Try
        End If
    End Sub
    
    ' Read out and print the message received from the socket.
    Private Async Sub StartReader(socket As Windows.Networking.Sockets.StreamSocket,
       reader As Windows.Storage.Streams.DataReader)
    
        Try
            Dim bytesRead As UInteger = Await reader.LoadAsync(4)
            If bytesRead > 0 Then
                Dim strLength = CType(reader.ReadUInt32(), UInteger)
                bytesRead = Await reader.LoadAsync(strLength)
                If (bytesRead > 0) Then
                    Dim message = reader.ReadString(strLength)
                    WriteMessageText("Received message: " & message & vbCrLf)
                    StartReader(socket, reader) ' Start another reader
                Else
                    WriteMessageText("The peer app closed the socket" & vbCrLf)
                    reader.Dispose()
                    CloseSocket()
                End If
            Else
                WriteMessageText("The peer app closed the socket" & vbCrLf)
                reader.Dispose()
                CloseSocket()
            End If
        Catch
            WriteMessageText("The peer app closed the socket" & vbCrLf)
            reader.Dispose()
            CloseSocket()
        End Try
    End Sub
    
    Private Sub CloseSocket()
        If proximitySocket IsNot Nothing Then
            proximitySocket.Dispose()
            proximitySocket = Nothing
        End If
    
        If dataWriter IsNot Nothing Then
            dataWriter.Dispose()
            dataWriter = Nothing
        End If
    End Sub
    
    Public Sub Dispose()
        CloseSocket()
    End Sub
    

    Menambahkan Code untuk Mengaktifkan App Peer from Tap
    Buka File App.xaml.cs atau App.xaml.vb dan mengganti metode standar OnLaunched dengan Code ini
    C#[/b]]
    Code:
    
    protected override void OnLaunched(LaunchActivatedEventArgs args)
    {
        if (Window.Current.Content == null)
        {
            var rootFrame = new Frame();
            rootFrame.Navigate(typeof(MainPage), args);
            Window.Current.Content = rootFrame;
        }
        else
        {
            var rootFrame = Window.Current.Content as Frame;
            rootFrame.Navigate(typeof(MainPage), args);
        }
    
        // Ensure the current window is active
        Window.Current.Activate();
    }
    

    Dan Coba Hubungkan 2 Perankat PC/Laptop - Phone atau Phone - Phone

    maaf kalau tidak Membantu, mungkin om mabaega bisa membantu :(
     
  9. aufarfajar

    aufarfajar Member

    Joined:
    Feb 6, 2014
    Messages:
    101
    oke terima kasih ya, nanti dicoba.. buat yang masih ada ide bisa terus kirim sini ya.. thx
     
  10. Jazz

    Jazz Super Moderatór Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,731
    Semoga Beruntung mas Aufar :D
     
  11. lafick

    lafick Member

    Joined:
    Jun 5, 2014
    Messages:
    31
    saya ga paham kalo udah tingkat atas gini
     
  12. Isyroq Ank PKU

    Isyroq Ank PKU Active Member

    Joined:
    Mar 13, 2014
    Messages:
    1,473
    Kurang ngerti bahasa pemrograman :woa:
     
  13. marwanto.se

    marwanto.se New Member

    Joined:
    May 7, 2013
    Messages:
    7,659
    btw, untuk TS aufarfajar udah solved belum masalahnya?
    Kalo udah, jangan lupa ubah prefixnya. :goodjob:
     
  14. aufarfajar

    aufarfajar Member

    Joined:
    Feb 6, 2014
    Messages:
    101
    Alhamdulillah Terima Kasih teman-teman yang sudah mau membantu. Permasalahan ini udah terpecahkan.
     
  15. Jazz

    Jazz Super Moderatór Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,731
    Meskipun ga tau tuh membantu apa tidak..
    Tapi lain kali jika ingin Buat App WP. ajak2 ya
    :kagum:
     
  16. aufarfajar

    aufarfajar Member

    Joined:
    Feb 6, 2014
    Messages:
    101
    membantu kok! haha. Ayo dong bikin.. cukup banyak tutorialnya di internet ;)
     
  17. Jazz

    Jazz Super Moderatór Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,731
    Belum minat jd Developer...
    Masih lebih suka make dari pada buat
    :ketawa:
     

Share This Page