امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0 enter image description here Hi Guys,Actually I am developing an app In above picture there is Listview along with a bar but I am confused how to make this please help me regarding this thanxs in advance. asked 43 secs agouser3621756 Let's block ads!...
ادامه مطلبVote count: 0 I have a ListView where I add a Google Map MapView into the header view, below is the code on how I do that: vListViewTrips.addHeaderView(vMapHeaderView, null, false); The map is shown and works but the map does not handle any gestures when its being touched even though all gestures are anebled by: googleMap.getUiSettings().setAllGesturesEnabled(true); Based on some searches that I did I tried to extend MapView and override the public boolean dispatchTouchEvent(final MotionEvent mo...
ادامه مطلبVote count: 0 With Apple Push noitifications, there is a url parameter in the notification request that specifies where the app opens to when a user clicks the notification. Is there an equivalent for android FCM notifications? asked 31 secs agomeow Let's block ads!...
ادامه مطلبVote count: 0 So, I've been struggling on this for a while and have searched on here for hours without finding anything that really helped. I have a custom class Streak. When the user creates a new Streak in my Main Activity, I want for that streak to be added to a list of total streaks, which I would then access from an AllStreaks activity. I have tried using Gson, but received errors. What I have below is working for the time being, but since my global variable has to be declared as new. I don...
ادامه مطلبVote count: 0 i have a problem with parsing of complicated (for me) xml. I have this xml: 0 .... .... I used Xml pull parser to parse this and i would create object likt this xml. This is the code that i created to read xml: .... public static class Output { public static String errorCode; public static List contents; public static class PDescription { public static List pDescription; public static class AYears { public static List aYears; public static class Attributes { public static Map attri...
ادامه مطلبVote count: 0 I've just started programming not long ago so please bare with me. The problem I am facing is I am unable to change the color of my Items inside the Listview to Black color. My ListView's background (Which I've removed in order to see the items inside Listview) is supposed to be white background as well. Inside my activity, I added my items using the adapter.add("Item"). Therefore I am lost trying to add an click event on that Item since it's a string. Tried : 1) Changing propertie...
ادامه مطلبVote count: 1 In an activity I have a CustomListAdapter that contains two EditText fields for each row in the CustomListAdapter. Currently, I have OnFocusChangeListeners that updates the values taken from the EditText, and saves them into a database. However, the last changed value never gets updated. All changed values are saved, but the last one doesn't get saved because the focus was never changed after it was modified. The user changes the last value, clicks "back", and the OnFocusChangeList...
ادامه مطلبVote count: 0 I have a small project to test update UI and OnItemClickListener. When I update ui. OnItemClickListener sometimes not trigger. If I update ui more often, OnItemClickListener lose more times. mHadler = new Handler(); mHanler.postDelayed(this, 33); // update 33 times per second. my Runable @Override public void run() { mText.setText("100"); mImage.setImageResource(R.drawable.some_icon); mList.notifyDataSetChanged(); mList2.notifyDataSetChanged(); .... } asked 1 min agoGohome Lee Let'...
ادامه مطلبVote count: 0 public class GetPlaceSearchTask extends AsyncTask {enter code here enter code here private Context context; private ProgressDialog dialog; public static final String SEND_RESULT_SEARCH_BROADCAST_FROM_TASK = "send_result_search"; private String API_LOCATION = "https://maps.googleapis.com/maps/api/place/nearbysearch/" + "json?location=-33.8670522,151.1957362&radius=500&type=restaurant&name=cruise&key="; public GetPlaceSearchTask(Context context) { this.context = context; } protected ...
ادامه مطلبVote count: 0 I am getting this issue in Nexus Devices. i added margin from bottom by getting Bottom Navigation Bar height. Now exactly what happen, My application on Tablet showing extra margin from bottom. Even i do not want to change any thing in my style file. Thanks in advance asked 1 min agosharma_kunal Let's block ads!...
ادامه مطلبVote count: 0 I am working on an Android v22 code. For some reason the List View simply doesn't show up and I have been trying but caot figure out why. There are no errors. Just a blank screen. I have tried debugging it and it goes smoothly upto the last line allianceActivityList.setAdapter(adapter); At that point, hitting F7 takes me inside the ListView.java file, in the code public void setAdapter(ListAdapter adapter) { if (mAdapter != null && mDataSetObserver != null) { mAdapter.unregisterDat...
ادامه مطلبVote count: 0 I have a view pager with two tabs in my app (A and B). The first tab i.e A has a listview. Clicking on any of the items in the list opens a new fragment (let's call it C) with another list. The tab B also has a listview. The list in tab B and the list contained in the fragment C have the same type of items. That is each item of both list is of the same class. I have used a recycler view with a custom adapter to create the list. Since both lists in tab B and fragment c are of the sa...
ادامه مطلبVote count: 0 Hye, i have problems with my android apps. This apps is to scan data from beacons and eddystone and the data will be save to local file and also a server. Im using volley string request method to fetch the data and not sure so much is it correct or not.The apk was build successfully but my server didn't receive the data. Its just blank. Much thanks if you guys can help me. This is my mainactivity.java part to sent the data. private void stopScaing(Button scanButton) { try { beaconM...
ادامه مطلبVote count: 0 I have a listview and I want to store in an array the position indexes of all items what should I place in my custom adapter? asked 5 mins agouser2629955 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....
ادامه مطلبVote count: 0 Sell Activity ** I am creating a BookStore Automation app and in sell activity as shown in the picture I am using expandable list view . The group header is name of category of book which I have populated using array list . And I want to populate child of each group with data fetched from sqlite database (i.e name of any book under that category ) . I am new to android development ,plz tell me how should I proceed ? ** asked 2 mins agorishabh maurya This entry passed through the Fu...
ادامه مطلبVote count: 0 I'm getting a problem. I can't update ListView when using android emulator, but on real device it works fine. Here is a code of my ListActivity subclass. public class FileTree extends ListActivity { private File m_lst[] = null; private String m_path = "/"; private ArrayAdapter m_adapter = null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_file_tree); m_adapter = new ArrayAdapter(this, android.R.l...
ادامه مطلب