i have define code File selectedFile = new File(selectedFilePath); when run and test is it file or not if (!selectedFile.isFile()){ runOnUiThread(new Runnable() { @Override public void run() { tvFileName.setText("Source File Doesn't Exist: " + selectedFilePath); } }); return 0; it give message source file does't exist; why give this message, i have allready convert full code public int uploadFile(final String selectedFilePath) { int serverResponseCode = 0; String file_name = selectedFilePath; HttpURLConnection connection; DataOutputStream dataOutputStream; String lineEnd = "\r\n"; String twoHyphens = "--"; String boundary = "*****"; int bytesRead,bytesAvailable,bufferSize; byte[] buffer; int maxBufferSize = 1 * 1024 * 1024; File selectedFile …

Member Avatar
Member Avatar
+0 forum 1

The Conservative party issued a statement on Saturday which apologised for "any concern caused" and confirmed that "the technical issue has been resolved and the app is now functioning securely." However, not before Boris Johnson's profile image had been changed to a pornographic one and that of Environment Secretary, Michael Gove, swapped for a picture of Rupert Murdoch. Some ministers, and other MPs, apparently reported receiving nuisance calls following the app breach. The Information Commissioner's Office has confirmed that it is investigating the incident, and bite the Tories with a large fine. Under the EU General Data Protection Regulation (GDPR), …

Member Avatar
Member Avatar
-1 forum 1

Github Link: [https://github.com/BakerJQ/Flutter-InfiniteCards](https://github.com/BakerJQ/Flutter-InfiniteCards)

Member Avatar
+0 forum 0

I'm using android studio to create a multiple choice question app, and i've coded the quiz but so far it just goes on forever. I want to make it so that once the user has answered 20 questions, whether they are right or wrong, the game ends and sends them to an endscreen that I have created, but so far I can't figure out what to do to make this happen. this is what i've tried, it doesn't crash the program but it also doesn't actually do anything. private int round = 0; round = round + 1; if (round …

Member Avatar
Member Avatar
+0 forum 9

Just a quick question, I'm trying to speed up my app and I've seen forum posts where people say reducing the size of pictures speeds up their app. I was hoping to replace my exit cross in the top corner of my app (which is a png because I drew it in a different software) with a shape that I would draw in android studio using xml (draw shape). So would it be better to keep the png or use xml to draw the shape. And if the xml would be better, does anyone know where I could find a …

Member Avatar
Member Avatar
+0 forum 3

I've encountered an unknown user appear in my calls log and its had a 16mins airtime videocall to this person in messenger. I'm just suprised, it was appear in my call logs even though I didn't do anything Can anyone help me to track this code or identify who is owner of this account in facebook. I attached the screenshot for your reference and Here's the code that I saw in the contact information of this person. Btw, I'm using IPhone 7 , Idk if this is only a glitch or not. **EIBTUHQ9AHSwSWDqeuw9N3J2dD7KpAcTKxBTZuk8M3LkDRao2HxOnjmGeRylF5RGYOOboRGtRVrDAG** I hope someone on this group will …

Member Avatar
Member Avatar
+0 forum 2

I have a function that returns an array of photos and videos from an iOS device's camera roll. The info is returned correctly, however, I'm also needing to return the path to the photo and video which I've been unable to do so far. Here is the code I'm using. The photo and video path code is about 2/3 down this snippet starting with: "if (asset.mediaType == PHAssetMediaTypeImage)": - (void) photos:(CDVInvokedUrlCommand*)command { if (![self isNull:self.photosCommand]) { [self failure:command withMessage:E_PHOTO_BUSY]; return; } self.photosCommand = command; CDVPhotos* __weak weakSelf = self; [self checkPermissionsOf:command andRun:^{ NSArray* collectionIds = [weakSelf argOf:command atIndex:0 withDefault:nil]; NSLog(@"photos: …

Member Avatar
+0 forum 0

It may seem impossible on the first sight... But now, I have found a solution. It turnes out to be possibble to emulate the Windows environment and run it side-by-side with Android. As the article about playing PC games on Android (https://eltechs.com/pc-games-for-android-guide/) says this works like that because a special porting technology is utilized. It creates the Windows environment inside Android and then makes a PC game functioning inside this made-up environment natively and independently. Well. let's see! I am going to give it a try and report on the result a little bit later in thist thread!

Member Avatar
+0 forum 0

Guardian newspaper columnist [Dawn Foster](https://twitter.com/DawnHFoster) posted images on Twitter this weekend showing how she was able to login to the official Conservative party conference app as Boris Johnson, until recently the UK Foreign Secretary. Not only was there no password required to login to the app, all that was required was an email address, but once in all the details of user registration were accessible. So, in the case of Alexander Boris de Pfeffel Johnson (yes, that is his real name) that meant contact details such as his mobile phone number. It also meant that the logged in user could …

Member Avatar
Member Avatar
+0 forum 6

Hello everyone, I bought one tutorial to learn how to design Android App which used to install Android Studio to work on. However am getting continuous Gradle Sync error in it due to which I couldn't go ahead. Tried all the ways to sort it out given on the internet but couldn't solved the problem. Is there any one who can help me out in this regards Regards Chandan Pathak

Member Avatar
Member Avatar
+0 forum 1

We are developing a travel app project to facilitate customized travel experience. Where traveller can plan its trip by selecting various facilities like ATM, Restaurants, attraction points while traveling from an origin to destination. Facilities coordinates across India has been stored in our database as prerequisite. I am looking for a logic, that will help me choosing all facilities that are 5 KM radius from the driving route. Also the distance and travel time should be shown while planning the trip. The existing logic that we have used is, 1. Pick all Google waypoint using Google API for a particular …

Member Avatar
Member Avatar
+0 forum 3

Hi everyone! What I want is to grab a specific textual data from a specif web-page of a website (not all the data containing on the web-page). Please suggest me the easiest way to do this. I look forward to your answers. Thank you!

Member Avatar
Member Avatar
+0 forum 2

**how to solve unfortunately myapp has stopped????**

Member Avatar
Member Avatar
+0 forum 2

Hello, how are you? My name's Regie, I work for a technology company and recently one of our Developers wrote an article about the new Visual Studio Mobile Center. It would be great if you can take a look at it and maybe send us your feedback! https://blog.uruit.com/2017/04/05/mobile-visual-studio-mobile-center/ Also, we would love to know your comments about this tool. What's your opinion about the Visual Studio Mobile Center? Which aspects you would add to complement the Post?

Member Avatar
Member Avatar
+0 forum 1

![ThemeStyle.jpg](/attachments/large/4/31d4230c77b20fb9af32ad748aae54e3.jpg "align-center") ![styles.jpg](/attachments/large/4/0fc7d1c38e3f3fb412ee34a7a56e3abe.jpg "align-center") ![stylesv21.jpg](/attachments/large/4/bf208775fabcb23124fc6f1b79e86dae.jpg "align-center") ![activity_main.jpg](/attachments/large/4/579d91fae02cb95c1b34fc7d52c365a6.jpg "align-center") ![tool_bar.jpg](/attachments/large/4/38db3d667138e5709888f3aac97193ce.jpg "align-center") I tried various forums but no luck I couldn't figure out what's wrong with it

Member Avatar
Member Avatar
+0 forum 3

Hello! I'm trying to display a list of items in a fragment called AgendaList. I am not quite sure what I missed. Here's what I have under AgendaList onCreateView: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view = inflater.inflate(R.layout.fragment_agenda_list,container,false); String[] menuTasks = {"Complete pleading for case #3485736", "New Case: #3452789 Yoel Romero vs. USADA", "New Case: #45367864 T.J. Dillshaw vs. Dominick Cruz"}; lvlistview = (ListView) view.findViewById(R.id.lv_task); ArrayAdapter<String> listviewAdapter = new ArrayAdapter<String>(getActivity(),android.R.layout.simple_list_item_1, menuTasks); lvlistview.setAdapter(listviewAdapter); return view; } and here's the corresponding xml file: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.example.alfred.pao3.AgendaList" android:background="@drawable/bg"> <!-- …

Member Avatar
+0 forum 0

Now its almost 6 days and i am trying to fix image upload issue in cordova-php but not able to fix it. I tried multiple solutions from google/SO. But none of them is working for me. I am using the below code as front end. <div> <h3>Server URL for upload.php:</h3> <input id="serverUrl" type="text" value="http://sample.com/mobile_app/upload_img.php" /> </div> <script type="text/javascript" charset="utf-8"> var deviceReady = false; /** * Take picture with camera */ function takePicture() { navigator.camera.getPicture( function(uri) { var img = document.getElementById('camera_image'); img.style.visibility = "visible"; img.style.display = "block"; img.src = uri; document.getElementById('camera_status').innerHTML = "Success"; }, function(e) { console.log("Error getting picture: " + …

Member Avatar
Member Avatar
+0 forum 4

Hello everyone,I am having no experience in android or mobile app develpment but having some questions is it possible to have app which works offline without internet(devices can be connected LAN) where in each device have data stored of main stock of items which will be updated once in month.Now if anyone on device 1 has added item in cart then that particular items quantity should be deducted from main stock quantity and in real time notification are send other devices(all devices are offline)? Any suggestions are welcome is that even possible if not how can it be implemented

Member Avatar
Member Avatar
+0 forum 6

Hi, I'm looking for a good tutorial or other source I can use to learn how to create calendar view using UICollectionView. I would be happy to receive your help.

Member Avatar
Member Avatar
+0 forum 3

I keep getting a direct identifier error. I have tried deleting the pillarPlat004 assets and re-importing it and connecting it to the code, but that doesn't seem to be the problem. I'm using swift in xcode. ![Screenshot_2016-04-09_19.27_.25_.png](/attachments/small/4/1f4a31b4ae5c37226cc4901e500e6fcd.png "align-left") ![Screenshot_2016-04-09_19.31_.50_.png](/attachments/small/4/4d94fd0a79c2f6fa708b11ec67f58885.png "align-left")

Member Avatar
+0 forum 0

hello guys I created an app in visual basic abd i want it to be requsting for a password when installing it or transfering it from one computer to the other. I want to put security to it. Any help will be appreciated

Member Avatar
Member Avatar
+0 forum 5

I have been a happy user of TomTom satnav products since they first hit the market some ten years ago now. For the most part, that has meant dedicated hardware for in-car use. However, when I last [reviewed the TomTom app for the iPhone here at DaniWeb back in 2010](http://www.daniweb.com/hardware-and-software/tablets-and-mobile-devices/reviews/333687/edit-your-own-satnav-maps-with-tomtom-for-iphone) it got a perfect 10/10 rating, the upgraded software truly being that good. In that original review I briefly mentioned that TomTom has a car-kit available for the iPhone which would charge the battery on the move and provide a GPS boost for those poor-signal areas. It also acted as …

Member Avatar
Member Avatar
+0 forum 1

If the schools that my kids attend are anything to go by, it seems that high on Santa's list this Xmas just gone was an iTouch, iPhone or iPad depending how well off the parents were. That's understandable, they are just as attractive as gadgets for kids as they are to adults. But along with the never ending supply of free games, educational apps and the like comes the small problem of unfettered access to the Internet and all that brings with it. While adults may well have the family PC protected by parental control software to filter unsuitable content …

Member Avatar
Member Avatar
+0 forum 23

Hello , first of all I need to make clear that although I understand , and have done projects modifying code that is already there (and created my own minions) , in the core of C and C++ I wouldn't consider to know those a bit, I have just a glimpse of what those languages are capable of. Let's suppose that you have a program that runs endless (almost) in C++ (lets call it A) and it can take take something for input and throw out a result. Differentiating input / outputs could be done through a port of this …

Member Avatar
Member Avatar
+0 forum 2

Hello guys! I'm trying to create a countdown timer for a memory app. The user is given about 5-10 seconds to look at the gridview of pictures then the countdown timer starts. I was wondering how I can achieve this. The code below shows the countdown timer which starts at 30 seconds. public class Play extends AppCompatActivity { TextView tvTimer; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_play); tvTimer = (TextView) findViewById(R.id.tv_timer); CountDownTimer timer = new CountDownTimer(30000, 1000) { public void onTick(long millisUntilFinished) { tvTimer.setText(" " + millisUntilFinished / 1000); } public void onFinish() { tvTimer.setText("done!"); } }.start(); }

Member Avatar
Member Avatar
+0 forum 2

Hello, This tutorial is the next of “[A simple Data Layer for OOP PHP Applications](https://www.daniweb.com/programming/web-development/tutorials/500118/a-simple-data-layer-for-oop-php-applications)” so having read it and made your own tests is needed to understanding what we are doing. So far we have a Db object (child of PDO that standardize and simplifies its use) , a Db factory object (because our web app may need more than one DB object) and Data Workers (for working with data from DB) (there are in the tutorial mentioned above) . We are going to do it in such way that can be implemented without the use of any framework …

Member Avatar
Member Avatar
+4 forum 1

Hello Friends, I have .com website and would like to get traffic or more sessions for the website from USA. The company is located outside of USA, in India,Asia.Their main business is iphone application development, android app development and ipad application development.Overall their focus of business is mobile application development.They don't have any offices in USA,but they want to get traffic to their.com website mainly concentrating from USA. I have logged into Google webmaster Tools and set the target location as USA. I have not begin the SEO optimization process for this.com website, as I am not sure whether to …

Member Avatar
Member Avatar
+0 forum 4

Hi guys, good day! I have a question here pertaining to Visual C++ graphics based. I recently started out incorporating GUI into my C++ programs, in this case, a calculator. I have a textbox named TextBox1, the user enters the numbers and operators inside it, and when the button is clicked, it outputs the result. Here is a sample input; 4+2 when the user clicks the button, it outputs 6 into a label. Problem is, I could not obviously use cin here to get the numbers and store into my variables. Can someone show me a very simple code as …

Member Avatar
Member Avatar
+0 forum 2

Is anybody already hosting WEB app written in C#? Are they satisfied with their hoster? Tips? I'm looking for something which will have some sort of help with 1. Simple customer database 2. Membership login and password handling 3. Payment handling (maybe) I'm hoping some company has already put together a package like that and I just have to write the C# code of my application! I know Azure quite well, but I'd like to look at alternatives...

Member Avatar
Member Avatar
+0 forum 1

There's a truism that I like to share with as many people as possible: if you don't want other people to see something, then don't post it online. It is, you might think, a pretty simple concept to grasp. After all, you wouldn't stroll into a bar with a megaphone and yell "I'm not wearing underwear" if you wanted to keep that secret would you? But would you write that fact down on small pieces of paper and slip them unnoticed into the pockets of people in that bar if you wanted to reveal all (please excuse the unfortunate choice …

Member Avatar
Member Avatar
+2 forum 6

The End.