سورس کد + Sql + php + قطعه سورس دیتابیس انلاین

با سلام خسته نباشید

 

من یه قطعه سورس دیتابیس انلاین با محیط پر قدرت بیسیک ۴ اندروید برای شما تهیه کردم که در هیچ جا نمیتوانی اموزشش رو پیدا کنید.

 

قابلیت ها Continue reading “سورس کد + Sql + php + قطعه سورس دیتابیس انلاین”

آموزش نمایش تعداد بازدید در بیسیک فور اندروید ( به صورت آنلاین * دیتابیس آنلاین )

با سلام و درور خدمت شما کاربران وب سایت یاهو ۹۸ YAHOO 

طبق در خواست مکرر دوستان آموزشی با بیان ساده و کوتاهی براتون گرفتم که بتونید تعداد ویو یا همون نمایش و یا بازدید از مطالبتون رو به صورت آنلاین در برنامه دریافت و رویت کنید .

Continue reading “آموزش نمایش تعداد بازدید در بیسیک فور اندروید ( به صورت آنلاین * دیتابیس آنلاین )”

سورس کد گرفتن مشخصات از کاربر در اینترنت ( json )

با سلام و خیر مقدم شما کاربران عزیز 

 

سورسی که امروز براتون مهیا کردم api  یکی از معتبرترین سایت های گرفتن مشخصات و مختصات و آی پی کاربران در برنامه شما میباشد .

 

سایت مورد نظرhttp://ip-api.com

 

این سایت و این سورس خیلی کار آمد هست .

 

 

به این صورت که شما اطلاعات رو به چندین حالت میتونید بگیرید :

 

  • json
  • batch
  • csv
  • line
  • php
  • xml

 

من یک نمونه از دریافت به صورت جیسون رو براتون میزارم که در این سورس یا قطعه کد ما اومدیم همه رو لاگ کردیم .

 

امید واردم مفید واقع گردد .

 

Sub Activity_Create(FirstTime As Boolean)

	Dim http As HttpJob
	http.Initialize("http",Me)
	http.Download("http://ip-api.com/json")

End Sub



Sub jobdone(job As HttpJob)

	Dim parser As JSONParser
	parser.Initialize(job.GetString)
	Dim root As Map = parser.NextObject
	Dim zip As String
	
	Log( root.Get("zip"))
	
	Dim country As String
	
	Log( root.Get("country"))
	
	Dim city As String
	
	Log( root.Get("city"))
	
	Dim org As String
	
	Log( root.Get("org"))
	
	Dim timezone As String
	
	Log( root.Get("timezone"))
	
	Dim isp As String
	
	Log(	 root.Get("isp"))
	
	Dim query As String
	
	Log( root.Get("query"))
	
	Dim regionName As String
	
	Log( root.Get("regionName"))
	
	Dim lon As Double
	
	Log(	 root.Get("lon"))
	
	Dim As As String
	
	Log( root.Get("as"))
	
	Dim countryCode As String
	
	Log( root.Get("countryCode"))
	
	Dim region As String
	
	Log(	 root.Get("region"))
	
	Dim lat As Double
	
	Log( root.Get("lat"))
	
	Dim status As String
	
	Log( root.Get("status"))

End Sub

 

کتابخانه و سورس JS ListView

با سلام و سپاس 

 

خدمت کاربران عزیز 

 

امروز با سورسی دیگر در خدمتتون هستیم که خیلی خیلی پر کاربرد هست از مرجع بیسیک فور اندروید .

 

به صورت کاملا رایگان 

 

 

با سپاس 

 

دانلود کتابخانه ها

 

دانلود سورس

 

کتابخانه های کمکی مورد نیاز :

 

Sample project is also attached.
۱٫ Picasso Library
۲٫ AppCompat
۳٫ JSON – i think this is built in library

 

JSListView
Author: salvadorjhai
Version: 0.8
ItemViewLayout
Methods:
findViewById (id As Int) As View
Find view by id.
id: the id
Return type: @return:the view
findViewWithTag (tag As Object) As View
Find view with tag.
tag: the tag
Return type: @return:the view
setViewId (v As View, id As Int)
Set id to view
v: View
id:
Properties:
Container As ViewGroup
Gets the container.
Height As Int
Gets the height.
Width As Int
Gets the width.
JSListView
Events:
OnGetView (position As Int, itemLayout As ItemViewLayout, forViewUpdate As Boolean)
OnItemClick (view As ItemViewLayout, position As Int)
OnItemLongClick (view As ItemViewLayout, position As Int)
Fields:
OVER_SCROLL_ALWAYS As Int
OVER_SCROLL_IF_CONTENT_SCROLLS As Int
OVER_SCROLL_NEVER As Int
Methods:
BringToFront
DesignerCreateView (paramPanelWrapper As PanelWrapper, paramLabelWrapper As LabelWrapper, paramMap As Map)
Initialize (eventName As String)
Invalidate
Invalidate2 (arg0 As Rect)
Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
IsFastScrollAlwaysVisible As Boolean
Returns true if the fast scroller is set to always show on this view.
Return type: @return:true if the fast scroller will always show
IsFastScrollEnabled As Boolean
Returns true if the fast scroller is enabled.
Return type: @return:true if fast scroll is enabled, false otherwise
IsInitialized As Boolean
ItemAdd (data As Object)
Item add.
data: the data
ItemAddAt (Index As Int, data As Object)
Add item at specific position
Index: position
data: data
ItemClearAll
Clear all item on the listview
ItemRemoveAt (position As Int)
Item remove at.
position: the position
ItemUpdateAt (position As Int, data As Object)
Item update at.
position: the position
data: the new data
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap)
SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
addFooterView (v As View, data As Object, isSelectable As Boolean)
Add a fixed view to appear at the bottom of the list. If addFooterView is
called more than once, the views will appear in the order they were
added. Views added using this call can take focus if they want.
NOTE: Call this before calling setAdapter. This is so ListView can wrap
the supplied cursor with one that will also account for header and footer
views.
v: The view to add.
data: Data to associate with this view
isSelectable: true if the footer view can be selected
addHeaderView (v As View, data As Object, isSelectable As Boolean)
Add a fixed view to appear at the top of the list. If addHeaderView is
called more than once, the views will appear in the order they were
added. Views added using this call can take focus if they want.
NOTE: Call this before calling setAdapter. This is so ListView can wrap
the supplied cursor with one that will also account for header and footer
views.
v: The view to add.
data: Data to associate with this view
isSelectable: whether the item is selectable
smoothScrollByOffset (offset As Int)
Smooth scroll by offset.
offset: the offset
smoothScrollToPosition (position As Int)
Smooth scroll to position.
position: the position
Properties:
Background As Drawable
CacheColorHint As Int [write only]
When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background. Zero means that what's behind this object is translucent (non solid) or is not made of a single color.
Color As Int [write only]
DataSource As List
Get data source.
Divider As Drawable
Gets the divider.
DividerHeight As Int
Gets the divider height.
EmptyView As View
When the current adapter is empty, the AdapterView can display a special view
call the empty view. The empty view is used to provide feedback to the user
that no data is available in this AdapterView.
Enabled As Boolean
FastScrollAlwaysVisible As Boolean [write only]
Set whether or not the fast scroller should always be shown in place of the standard scroll bars.
FastScrollEnabled As Boolean [write only]
Specifies whether fast scrolling is enabled or disabled.
FooterDividersEnabled As Boolean [write only]
Sets the footer dividers enabled.
HeaderDividersEnabled As Boolean [write only]
Sets the header dividers enabled.
Height As Int
ItemsCanFocus As Boolean [read only]
Gets the items can focus.
Left As Int
OverScrollMode As Int
Returns the over-scroll mode for this view. The result will be one of OVER_SCROLL_ALWAYS (default), OVER_SCROLL_IF_CONTENT_SCROLLS (allow over-scrolling only if the view content is larger than the container), or OVER_SCROLL_NEVER.
OverscrollFooter As Drawable
Gets the overscroll footer.
OverscrollHeader As Drawable
Gets the overscroll header.
Parent As Object [read only]
Selection As Int [write only]
Sets the selection.
Selector As Drawable
Gets the selector.
Tag As Object
Top As Int
Visible As Boolean
Width As Int

 

سورس کد کتاب با التیمیت لیست ویو + نظر دادن آنلاین در سورس

با سلام

دیدیم که دوستان با لود مطالب رکورد بالا از دیتابیس مشکل دارن و برنامشون هنگ میکنه .

کلا تصمیم گرفتم یه کتاب کامل با التیمیت لیست ویو کد نویسی کنم که بتونن بدون وقفه آیتم های میلیونی لود کنن

نمونه apk پیوست شد.

Continue reading “سورس کد کتاب با التیمیت لیست ویو + نظر دادن آنلاین در سورس”