wiki iphone project - iphone

I'm currently working on an iPhone project where i want to present to the user spesific terms from wikipedia. I'm facing tow difficulties right now:
1. I want the specific content to work offline.
2. I want to show the relevant pictures as well.
I need to find the most efficient way to do it, can someone advise ?

You could get the content online and cache them in the app DB. If necessary you could prepolutate the db directly in you app. That way some terms would already be available.

Related

Data sharing through any kind of platform from public Cloudkit container

I need some help! I have built my front end app + set up perfectly my public CloudKit container. I am just trying to share the data of my app between not iCloud users…it’s a hell… The knowledge request is over my skills. I have spent several weeks to try to solve this problem..,.and still…haven’t found the solution.
I don’t think I need vapor framework (because I don’t need to edit the data I am sharing).
Up to now I was able to download the data from iCloud public container inside the terminal following this old tutorial of 2016 (following the bonus "server-side cloudkit access” part two, cf. link under)
https://www.kodeco.com/997-cloudkit-js-tutorial-for-ios
but I am not able then to put the data inside a html page to share the data of my app through any kind of my platform.
I have tried to follow these two examples to put the data of my cloud kit container inside a notion html page
https://www.twilio.com/blog/manipulate-notion-database-using-node-js
https://developers.notion.com/page/examples
I am lost … I am not able to adapt this two examples inside my project.
Is there some one around to help me and make a simple example or give me some guidelines?

Testing Facebook Messenger Scan Code

Facebook recently announced the introduction of messenger codes which can be used to add new contacts and, more importantly, communicate directly with businesses and business pages (which is why I'm interested in it).
It took me ages to find it but on the bottom left of the messages tab on my Facebook page I have the option to download my code in three different sizes - clicking the disc will open a modal window where you can click the Download button and choose from 300, 600 or 1000px PNG file downloads.
NOTE: While they are PNG files the background is not transparent which seems like a bit of an oversight to me but hey ho that's what Photoshop is for I guess.
The problem is that while I can download my code I can't find any way to test it on printed materials (or even electronically at the moment!). The scanning feature doesn't seem to have been rolled out for me yet (I tried re-installing the Messenger app to see if I got a newer version but that didn't work) and nor for anyone I know (I'm in the UK). The codes are bespoke to Messenger so can't be scanned or tested using any other app.
I'm probably too far ahead of the game but is there any way I can test to see if my code scans correctly, or anywhere I can go to find out? I would like to use it on some promotional material which is likely to be long term materials that I don't want to have to update in the near future (several years, by which time it's likely these codes will be more commonplace).
I also need to know what the redundancy is like. For example the high redundancy QR codes I generate can have up to 30% of the code covered while still being usable, which is great for design purposes. I can't find any official documentation as yet for these codes at all, let alone what is required, what the spec. is etc.
I know the most likely option is 'sit and wait' but I really would rather not if possible. I've never been very patient...
Thanks
UPDATE: My Messenger app has now been updated so I can test, but I'm leaving this here in case anyone knows of another way to test perhaps? If someone doesn't have Messenger on their phone for example.

OwnCloud enhance core features with App (eg. user registration)

I started looking into OwnCloud app development to add some capabilities I would like to my server. To me it seems like Apps can't modify anything like the Login page or User Management page. Is this the case?
I want to build a user registration app and would love to integrate it into the user management page (if not and it has to exist as its own app page not a big deal). The one big problem I see so far is not being able to add a "Register" link to the login page. I could just go in and add it to the source manually, but I would like to keep the App self contained so others can use it too.
If this is not possible to do in an App I may just need to modify the core application and then see if they will accept my feature addition in a pull request.
Thanks to anyone who can shed some light on this for me. I don't want to waste my time trying to figure out how to do it with an App on the platform if it wont be doable.
After a lot of digging around I did figure out a way to do this.
In the App's app.php file, you can force a script to be loaded if the plugin is enabled:
$api->addScript('script_name'); // without .js
In that script jQuery can be used to add the elements to the page where you need them.
This was a good solution for me since I only needed to add a single button to the login page. I can see this being a bad idea if you want to make vast modifications. At that point you might as well just create a separate page that you have full control over.

iPhone SDK: Ideas on how to implement a help facility for application

We we wondering what are some ways developers have added a help function to their apps. What are some techniques people have used?
One way we were thinking of is to us UIWebView to display a HTML file with help instructions.
Thoughts appreciated.
I'm using UIWebView right now which pretty much contains all the help in a single page, along with some JQuery things to display popups, etc. But I like the way iCab Mobile (et al.) are doing things which is a sectioned UITableView with each row a separate topic or section within their overall help information (complete with icons...) then in their bundle they have each section in its own html file, organized by localization.
Another thing in my queue for the next release is to provide a dynamic "News" view. The rough idea is as follows... I have on my server a file or CGI where I can place small bits of news I'd like to push out to users. On startup, my app checks for network availability and if present, start a thread to see if anything has changed on the server since last updating the News data. If changes present, post an alert letting user know, and asking if they'd like to read it now. At that point, the latest news is already downloaded and cached, so they can simply read it later if they want, and I won't post anymore alerts until the server file changes again. (And one could add a preference/setting to disable these alerts.)
I'm thinking this would be a good way to let people know that some nasty bug is known and fixed and an update is sitting in the queue, solicit beta testers, promote upcoming features or other apps, etc. I can see where constant alerts everytime I've got something new to promote would get annoying, so having a setting to disable them means the user never has to read them unless they want to. Although some kind of override to warn of recently discovered/fixed bugs seems sensible.
FWIW, the author of Mover+/Mover has just started doing a similar thing, though I think Emanuele is perhaps only showing one Notelet at a time, whereas I envision a bit more of a history (shown in UIWebView) until I decide to age stuff off the bottom of the stack.
I'm using a scroll/page view to show several images containing small notes. Each image then tells the user about the more advanced functions on a specific part of the app.
In my opinion the help should only contain information that isn't a 100% relevant for the use of the application. It should be things the advanced user should use to make more use of the app. It should contain gold for the power users. The "basics" should be so obvious that no help would ever be needed. If that's not the case, I think, you've failed as a developer on the iPhone platform.
(Here's a screen shot from my demo app)
I'm currently creating a fairly complicated app. I'm thinking of doing help as a semi-transparent overlay - help in text form is hard to swallow for users; it's much more helpful to just point at stuff and say "this does that".

Add new field in existing built in Application of iPhone

Hope you all are fine and are in your best of moods.
I herewith one doubt to ask you, kindly help me by giving its solution.
I need to add one custom field in existing built in Contact Application of iPhone.
I mean i need to allow user to set different icon or Logo for different contact.
so i need to add one field namely icon or Logo in existing application.
But I don't know how to do this, weather it is possible or not or is there any alternate solution for that or not???
kindly post your Answers.
Thanks in Advance.
You cannot add fields to the built in Address Book datastore. You could perhaps achieve your goals by one of two solutions:
make a copy of the data and add your data to that. You will hit sync problems
Use some property (perhaps ABPropertyID) of the AB information to key a local database referencing your icons.
I'm assuming what you actually want to do is add an icon to the address book app - there is certainly no way to do that.