 |
 |
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers
Chris Maunder
|
|
|
|
 |
How to execute itextsharp in unity for iOS pdf file generation?
|
|
|
|
|
 |
I have a project that has all kinds of sensors collecting data and sending it to a raspberry pi which saves everything.
Now I want to make an interface to read that collected data in an easy and clear way. I was wondering if the iPhone is able to do this before getting too deep into building an app.
Could my iPhone app change the wifi network I'm connected to so that it could connect to the ad hoc network I have running from my pi? This way i can just hit a single button on my iPhone app (if I'm in range of the pi's network) and connect to that network, access the collected data and display it in a nice easy to ready way.
It'd be a great way to view my data, now I have to manually switch networks, type in IP addresses and it's a real pain. I'm hoping to build my app using ionic and angular. If anyone has any guidance I'm all ears!!
|
|
|
|
 |
You want your application to perform a system-level change of network connection? I am not an Apple developer but as far as I know Apple leaves very little space for open developers to create these applications.
Following are a few threads where you can see how to detect the network changes, but how to apply these changes would be difficult.
How to check for an active Internet connection on iOS or OSX? - Stack Overflow[^]
c# - A Method with 2 Kind of Return Type - Stack Overflow[^]
Finally, if you just want to connect to the Raspberry Pi, why don't you connect it to the same network? Subnetting may help in this matter.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
 |
Hi Afzaal,
Thanks for the reply, I was afraid of that.
It's a unique situation for sure, my Raspberry pi is in the shed and away from any Ethernet or wifi connections.
Hmm, I'll have to think which is more convenient manually switching wifi networks and use the network check you provided the link for or getting a wifi extender for the pi and connecting the pi to my router.
I may try both. See what's easier.
Thanks!
|
|
|
|
 |
StampedePress wrote: manually switching wifi networks You can however, still show a popup, a very friendly one, to guide the user to go the settings and select the proper network.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
 |
Yea that sounds like a good alternative.
Just thought of this option too, what about just connecting to the Rasp Pi via Bluetooth. I believe I would just have to enable connectivity to the device before hand and then I could try to use that to move data back and forth. I haven't used it before but would be fun to try.
I wonder if there are any potential restrictions there.
Thanks!
|
|
|
|
 |
Connecting Bluetooth of iPhone to a standard Bluetooth? Are you sure that would work?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
 |
No idea if that would work, I've briefly read about limitations with apple products connecting to Bluetooth devices, in your experience what is the safest / most reliable Bluetooth version to use. The Raspberry Pi I imagine is flexible, and it would be on me to program that end to serve the Bluetooth side properly.
But I'm new to all this so I'm very interested in hearing pros and cons to my idea.
|
|
|
|
 |
Good day,
I am in the process of building my first app and was thinking about sourcing code(template) for a mobile app from code canyon but I seem to be having an issue searching for a template that suites my concept.
I basically want to convert a physical book/encyclopedia/guideline of shipping instructions into a mobile application.
In the screenshot attached you will see the design concept. It seems like a very simple design. I only need a home page and a page that displays the results - all 3000+ of them
If there is such things as a template out there I can tweak and leverage to end up with my app? i tried looking on themeforest.net. perhaps I am not using the correct terminology when performing my searches.
Many thanks in advance
--------------------------------------------
----------------------------------------------
Home Screen for researching information
Title of Application
ID Shipping Description Class
----------------------------------------
Second Screen with output
Title of Application
ID Shipping Description Class
2000 Gas 2
Large boat Small boat only
Box Group Excepted Qty |Limited Qty Max Qty
Instructions |Net Instructions Net Instructions Max/Net |
100 10 a 35ft |a 100ft a 25
200 50 b 55ft |b 200ft b 30
300 75 c 80ft |c 300ft c 40
Labels: Gas
modified 5-Aug-16 9:01am.
|
|
|
|
 |
If you want to create an ebook reader, there are already a lot of samples provided and available online. Start by searching on google for, "ebook reader ios sample". You will find a number of such online examples and samples.
But, if you want to create an application that lets users to save their own applications as soft copy, then you would need to create a sample Camera application that lets users to take pictures of pages and keeps the pages in an album (that makes a book). That album would mark a book, guide, or manual. Each album (book) would have a number of images (pages).
Your data table makes very less sense and it is really hard to tell whether you just want to read the text or what.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
 |
Many thanks for the feedback Afzaal.
I suppose this indeed would fall under an "ebook reader" type of app. I tried to upload a sample image and paste the concept of the layout but it wasn't rendered too well.
In essence, there would be a screen where the user would enter an ID# pertaining to an item, a shipping description or a class number.
After hitting "Ok" the results page would display the shipping instructions for the item entered in the first page, limitations(weight, quantity, dimensions), and a sample image.
I will start by looking into ebook reader templates that closely resemble what I need.
I like the idea of the camera application, but that is not what I need. Perhaps I can incorporate that in a different app.
With respect to "whether you just want to read the text or what", I simply want the app for the user to read.
It's basically a logistics regulations guideline book where instead of reading it, I need the users to enter one of 3 values(or all 3) in the main screen which brings up the results page/screen with dimensions, limitations, image of type of hazard. I thought for a moment a dictionary concept would be idea, but perhaps there is something that better suites me.
Warm regards and thanks again for your input
t
|
|
|
|
 |
Hi,
I want to create a hybrid app in iOS using PhoneGap. I want to create a login page where user will be prompted for Username and Password and it will authenticate the user with a Web API call.
I have created a project for iOS using PhoneGap. I don't know where to start for creating the page.
Any help will be appreciated.
Regards,
Mbatra
|
|
|
|
 |
PhoneGap is an HTML, CSS and JavaScript based programming framework so what you actually build is a web page in HTML, stylized using CSS and interacted with using JavaScript (or any of the JavaScript-based framework; jQuery, AngularJS etc.).
See this link for a detailed tutorial, Example of server-based login with PhoneGap · Raymond Camden[^]
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
 |
I finally got my app running behind the lock screen by registering to location manager events (and setting appropriate permission)!
Yeah!
Now I have an other problem!
In my location changed handler I write to a file (basically I save the time + location)
However when I do that, after about 30 seconds under the lock screen, I got this exception:
Access to the path "/var/mobile/Containers/Data/Application/10213914-67DC-4A0F-B20A-38A3AF03F186/Documents/.config/JsonSettings_AllMeasurements.json" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00351] in /Users/builder/data/lanes/3412/3cf8aaed/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.IO/FileStream.cs:290
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] in /Users/builder/data/lanes/3412/3cf8aaed/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.IO/FileStream.cs:157
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) [0x00000] in /Users/builder/data/lanes/3412/3cf8aaed/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.IO/FileStream.cs:92
Any clues what is going on? And how to get passed that problem?
Thanks!
|
|
|
|
 |
I also had a problem
SHOW
|
|
|
|
 |
Hi Bloom!
It turns out you can't open a file under the lock screen, this is a security feature.
However you can open it before that and keep the handle to the already opened stream, it works.
In my case, what I am really doing is using a permanently open single SQLite connection and it's all working now.
I also wrote a method AsyncAcquire() that makes sure only one method at a time is using the connection.
|
|
|
|
 |
Here, at work, I am working on an app which (attempt to) track user location in the background.
(Using C# and Xamarin / MonoTouch)
I tried to enable background tracking with the 3 following steps:
1. I updated the info.plist to have: BackgroundMode-On (Location Update, Background Fetch)
2. in my AppDelegate, call UIApplication.SharedApplication.SetMinimumBackgroundFetchInterval(Interval.TotalSeconds);
3. Also register location change with location manager:
static CLLocationManager LocMgr = new CLLocationManager();
LocMgr.RequestAlwaysAuthorization();
if (CLLocationManager.LocationServicesEnabled)
{
LocMgr.StartMonitoringSignificantLocationChanges();
LocMgr.LocationsUpdated += LocationsUpdated;
}
However, despite all of that, in a whole night I only get 10 update (Interval is set to 1 minute!!!)
And I also went for a 10 minutes walk and I didn't get a single update!
Any clue on what I could be missing?
Cheers!
modified 18-Jul-16 20:12pm.
|
|
|
|
|
 |
Hi,
I have created an app in iOS and have called a WebService from the same. But that I have developed using Objective C.
I want to call a web service from iOS using Swift.
Any help will be appreciated.
Regards,
Mbatra
|
|
|
|
 |
I already responded to your original of this question, just below. Please do not repost.
|
|
|
|
 |
Hi,
I am working on an app created in iOS. I want to call jSON web service from the app, parse jSON and print the result in the respective fields (labels in ViewController).
I have got the links for the same but I don't know how to implement the same in step by step.
Any help will be appreciated.
Regards,
Mba
|
|
|
|
|
 |
Where can i use nsnotificationcenter and how it works in ios coding????
|
|
|
|
|
 |
hello.
i've had success using python in creating a multipart http post upload of a pdf file to a web service, however, i'm having a challenge achieving the same outcome with objectivec
i'm using xcode 7.3 / iOS target version 9.3.
when i look at the encoded file data within the python multipart POST it looks like the below.
what would be the best process to load a PDF file from an IOS device and encode to UTF8 and submit an HTTP Multipart POST?
the method i've crated is also listed below, however, the encoded file data does seem to be correct.
<pre lang="objc">- (void)submitPackageJSONv4:(NSDictionary*)json document:(NSData*)document {
NSString *boundary = @"unique-consistent-string";
NSString *contentType = [NSString stringWithFormat:@"multipart/form-data; boundary=%@", boundary];
NSMutableURLRequest *request =
[[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://sandbox.esignlive.com/api/packages"]];
[request setHTTPMethod:@"POST"];
[request setValue:@"Basic enVyZ1A3Y.........eW94b0U4Tw==" forHTTPHeaderField: @"Authorization"];
[request setValue:@"gzip, deflate" forHTTPHeaderField: @"Accept-Encoding"];
[request setValue:@"*/*" forHTTPHeaderField: @"Accept"];
[request setValue:@"keep-alive" forHTTPHeaderField: @"Connection"];
[request setValue:@"chunked" forHTTPHeaderField: @"Transfer-Encodinge"];
[request setValue:contentType forHTTPHeaderField: @"Content-Type"];
NSMutableData *body = [NSMutableData data];
[body appendData:[[NSString stringWithFormat:@"--%@\r\n", boundary] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"%@\r\n", @"Content-Disposition: form-data; name='payload'"]
dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[NSKeyedArchiver archivedDataWithRootObject:json]];
[body appendData:[[NSString stringWithFormat:@"--%@\r\n", boundary] dataUsingEncoding:NSASCIIStringEncoding]];
[body appendData:[[NSString stringWithFormat:@"%@\r\n", @"Content-Disposition: form-data; name='file'; filename='file'"]
dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:document];
[body appendData:[[NSString stringWithFormat:@"--%@--\r\n", boundary] dataUsingEncoding:NSUTF8StringEncoding]];
[request setHTTPBody:body];
NSString *postLength = [NSString stringWithFormat:@"%lu", (unsigned long)[body length]];
[request setValue:postLength forHTTPHeaderField:@"Content-Length"];
[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue currentQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) {
NSLog(@"%@", error.description);
if(data.length > 0)
{
}
}];
}
i've tried, if feels like, almost everthing without success.
any assistance would be greatly appreciated.
Content-Disposition: form-data; name="file"; filename="file"
%PDF-1.3
%���������
4 0 obj
<< /Length 5 0 R /Filter /FlateDecode >>
stream
x+TT(T0P0��32544R0bscS=Ks��T�p�<��Ԣ�Ԃ�����L�z�" �+D������k���4:
|
|
|
|
 |
Message Removed
modified 13-Jun-16 13:45pm.
|
|
|
|
 |
Message Removed
modified 13-Jun-16 13:45pm.
|
|
|
|
 |
Message Removed
modified 13-Jun-16 13:45pm.
|
|
|
|
 |
What are the hot 2016 frameworks for making simple animations for iOS now? I'm quite familar with XCode and SWIFT but I suppose this is not my only choice - Xamarin?
Michael Pauli
|
|
|
|
|
 |
Message Automatically Removed
|
|
|
|
 |
Message Removed
modified 29-Apr-16 1:08am.
|
|
|
|
 |
Hi,
I would like to write a small app that acts as a front end to FaceTime on an iPad. It would limit the user to calling a single pre-configured number, so the iPad could be used as a dedicated communication terminal in a small remote sales location. My searches so far have not been positive. Is this possible?
Sarcasm - it's not just a verbal skill - it's a lifestyle!
|
|
|
|
|
 |
yeah man
|
|
|
|
 |
I want to use Google map speech navigation in my app. But i am not able to find out anything regarding that. I checked out many thing in google but none provide me the thing i require. Is their anyway i can use google map speech navigation in iOS without Google map Application in device. I need to use navigation in my app only not in google map.
Thanks in advance friends
|
|
|
|
 |
Have you tried using google to search for this??
I did a quick google search "google speech api ios" and came up with several hits for things I would start with in implementing an app like this.
In fact in the top results I found a sample app from http://www.raywenderlich.com/[^] about doing speech recognition in an app.
|
|
|
|
 |
How to Convert UIView to PDF format in objective c.
|
|
|
|
 |
By writing some code which captures the data from the view and reformats it as PDF. Google will be the place to start your research.
|
|
|
|
 |
Member 11631711 wrote: Convert UIView to PDF
A large part of this will of course depend on the content of UIView and what exactly you are trying to achieve. To better help you might want to improve your question with an example of what you are doing and where you are stuck.
If you just need to get started then maybe the following will help:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/[^]
You will want to look at the section for PDF Creation.
|
|
|
|
 |
Message Automatically Removed
|
|
|
|
 |
Hi,
We are using Push Sharp library in VB .Net for sending notifications to iOS device but we arent able to receive notifications on our device.
Code is included below. We have checked the handshake using openSSL and thats also working properly. Please let us know whats wrong in the code.
-------
Imports System.Data.SqlClient
Imports System.Data
Imports System.Linq
Imports System.Web
Imports System.Net.Security
Imports PushSharp
Imports PushSharp.Apple
Imports System.Security.Authentication
Imports System.Net.Sockets
Imports System.Security.Cryptography.X509Certificates
Imports System.Configuration
Imports Newtonsoft.Json
Imports System.IO
Imports System.Collections.Generic
Imports System.Net
Imports PushSharp.Core
Partial Class mobile_app_notification_list
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
Dim push As New PushBroker()
push = New PushBroker()
Dim cert As New ApplePushChannelSettings(True, File.ReadAllBytes(String.Format("C:\Websites\mobileapp.sanjeevkapoor.com\PushAppSanjeev.p12")), "pass@123")
Dim settings As New PushServiceSettings()
settings.AutoScaleChannels = False
settings.Channels = 3
settings.MaxAutoScaleChannels = 3
push.RegisterAppleService(cert, settings)
push.QueueNotification(New AppleNotification().ForDeviceToken("6d9471a58384af100a0b854ec907729efb6c5334e4c26822e97eaccc6d48313d").WithAlert("Hello World!").WithBadge(1).WithSound("default"))
'push.StopAllServices(True)
Response.Write("notification sent successfully")
Catch ex As Exception
Response.Write(ex.Message)
End Try
End Sub
-------
|
|
|
|
 |
This question would probably be better answered on the Visual Basic forum.
http://www.codeproject.com/Forums/1646/Visual-Basic.aspx[^]
As just a note though you still have to have an app that will consume and deal with those notifications. Have you checked the app to make sure that you have it configured and coded properly to received the notifications?
|
|
|
|
 |
Message Automatically Removed
|
|
|
|
 |
Hi admin,
Can I share my iOS apps promotion codes in this platform?
|
|
|
|
 |
I want to awitch technology from dotnet to IOS .Can anyone give me information about IOS field and its markiting scope.and how i get start
|
|
|
|
|
 |
To switch to iOS you'll want to start with https://developer.apple.com/[^]
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|