Care Unlock  
Your online unlock store
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering

GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 01-17-2012, 12:38   #1 (permalink)
Freak Poster
 
Join Date: Nov 2008
Posts: 120
Member: 897604
Status: Offline
Thanks: 65
Thanked 9 Times in 8 Posts
help me plese.... how to build adb gui with vb

everyone in this forum help me please. i need build gui android adb using visual basic.but i got some problems using visual basic to access adb . i try to use shell comand in vb here simple sample i build in vb 6.0 like this:

Private Sub Command1_Click()

a = Shell("C:\Program Files\android sdk\tools\adb get-serialno", vbMaximizedFocus)

end sub

but the final result that comand cannot run .only dos console with fast running bla...and dissapeared dos console

please help me.how to build gui adb with vb.thank you.
  Reply With Quote
Old 01-17-2012, 19:05   #2 (permalink)
Junior Member
 
Join Date: Mar 2011
Posts: 23
Member: 1535147
Status: Offline
Thanks: 0
Thanked 4 Times in 2 Posts
as i know basic android is java programing.
many tutorial in net how to config adb using netbeans & eclipse.
i thinks not hard to config adb.

the important you should know api version for your device.
  Reply With Quote
Old 01-18-2012, 01:48   #3 (permalink)
Freak Poster
 
Join Date: Oct 2009
Posts: 248
Member: 1144205
Status: Offline
Thanks: 0
Thanked 58 Times in 31 Posts
maybe this = but the final result that comand cannot run .only dos console with fast running bla...and dissapeared dos console, is same file *.bat
why you not try with some like this :
Dim str As String
str = "Start"
Shell("C:\WINDOWS\system32\cmd.exe /c " & str)
you can change this for adb.exe and change str for get serial blablabla o whatever
  Reply With Quote
Old 01-18-2012, 02:23   #4 (permalink)
Freak Poster
 
Join Date: Nov 2008
Posts: 120
Member: 897604
Status: Offline
Thanks: 65
Thanked 9 Times in 8 Posts
Quote:
Originally Posted by smithjhon View Post
maybe this = but the final result that comand cannot run .only dos console with fast running bla...and dissapeared dos console, is same file *.bat
why you not try with some like this :
Dim str As String
str = "Start"
Shell("C:\WINDOWS\system32\cmd.exe /c " & str)
you can change this for adb.exe and change str for get serial blablabla o whatever
can you give me simple project to access adb dos console with vb.please
  Reply With Quote
Old 02-01-2012, 04:47   #5 (permalink)
Junior Member
 
Join Date: Mar 2011
Posts: 32
Member: 1532690
Status: Offline
Thanks: 199
Thanked 1 Time in 1 Post
help me plese.... how to build adb gui with vb

Send me vb code sir
  Reply With Quote
Old 02-10-2012, 03:47   #6 (permalink)
Freak Poster
 
dr_aybyd's Avatar
 
Join Date: Mar 2005
Location: inside USB cable
Age: 30
Posts: 442
Member: 128122
Status: Offline
Thanks: 89
Thanked 261 Times in 93 Posts
do not use shell
Instead use Proccess.Start
Go search it on msdn.
  Reply With Quote
Old 02-16-2012, 17:37   #7 (permalink)
Freak Poster
 
Join Date: Nov 2008
Posts: 120
Member: 897604
Status: Offline
Thanks: 65
Thanked 9 Times in 8 Posts
Quote:
Originally Posted by dr_aybyd View Post
do not use shell
Instead use Proccess.Start
Go search it on msdn.
can you give me simple source code sample sir? thank you
  Reply With Quote
Old 02-17-2012, 07:41   #8 (permalink)
No Life Poster
 
bilalzaink's Avatar
 
Join Date: May 2008
Location: H T C
Age: 25
Posts: 517
Member: 774744
Status: Offline
Sonork: 100.1608057
Thanks: 161
Thanked 783 Times in 281 Posts
Quote:
Originally Posted by david_h4ck_u View Post
can you give me simple source code sample sir? thank you
make a .bat file for your commands...
and write this code....

"
Private Sub Button20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button20.Click

Dim adb As New Process()
adb.StartInfo.FileName = "adbcmd.bat"
adb.StartInfo.UseShellExecute = False
adb.StartInfo.RedirectStandardOutput = True
adb.StartInfo.CreateNoWindow = True
adb.Start()

TextBox1.Text = adb.StandardOutput.ReadToEnd

End Sub
  Reply With Quote
The Following User Says Thank You to bilalzaink For This Useful Post:
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
thread Thread Starter Forum Replies Last Post
How to add a language in 51xx/61xx tati Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 7 12-10-2012 04:46
How to upload a new firmware... Brand Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 28 08-30-2012 03:40
HELP!!! BACKGROUND SCREEN LOGO Michael Go Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 6 12-25-2011 23:56
news headlines to gsm phone mos Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 6 12-18-2011 11:00
Help with 6110 paulomt1 Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 3 05-25-2009 16:29


All times are GMT +1. The time now is 13:47.



Powered by Searchlight © 2013 Axivo Inc.
- GSM Hosting Ltd. - 1999-2013 -
Page generated in 0.45928 seconds with 11 queries

SEO by vBSEO