w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
PHP send multiple event requests to Outlook/vcalendar
After trying multiple approaches, I was able to come up with a working solution. You need to send the event as a recurring event. 1st inner event should be the default event. This should include the RRULE specifying the recurring frequency & count. This should contain the same DTSTART, DTEND, DTSTAMP values of the 1st day event. All events including the default event should contain the same UID & SEQUENCE. Other than the default event, all other events should contain unique RECURRENCE-IDs. For further details refer to the blog post I have written regarding the solution: http://hasarangi.blogspot.com/2015/02/php-send-multiple-events-to-ms-outlook.html

Categories : PHP

Intent.ACTION_CALL starts a skype call instead a "normal" phone call
That's because There is only skype installed as a phone call handler or You associated skype as default handler for phone calls. In the latter case, go to settings, apps, skype, and remove that association on the bottom of the app details screen.

Categories : Android

online phone, call forwarding, and tracking when an income call is achieved? | Website Project
There are several services that provide that kind of functionality: https://www.callfire.com/api-documentation http://www.twilio.com/platform/usage ifbyphone.com (cannot paste more than two links) tollfreeforwarding.com (cannot paste more than two links) Disclaimer: I am currently looking for such a service myself and have not tried any of the above yet.

Categories : PHP

how can I call multiple category by ID in a model in codeigniter?
Seems like you want to get items that correspond to either of two categories, then you need an OR statement: WHERE category_id = 23 OR category_id = 24, Using CI's Active Record class: $this->db->where('category_id', 23); $this->db->or_where('category_id', 24); UPDATE Your error "Undefined variable: data" is because your query is not producing any results so $data is never declared, add $data = array(); before your loop: $query = $this->db->get('', $per_page, $offset); $data = array(); foreach ($query->result() as $row) $data[] = $row; return $data;

Categories : PHP

How can I call a category method from my UIViewcontroller class?
First import the category into the viewcontroller you need like this: #import "NSString+addition.h" Calling it: NSString *newString = [myString base64StringFromData:data length:length]; Just an example. Change it according to your situation... Your code shld look like this: NSString *tsr = [receiptStr base64StringFromData:transaction.transactionReceipt length:[transaction.transactionReceipt length]]; EDIT: You need to add the category in the "NSString+addition.m" under the Compile Sources in Build Phases tab under Project Settings.

Categories : IOS

Stored Procedure with CTE to query Category , Sub Category , Sub Sub Category
You can do this ;with CTE_Data as ( select C.CategoryID, cast(C.CategoryName as nvarchar(max)) as CategoryName from Category as C where C.CategoryID = C.CategoryParentId union all select C.CategoryID, CD.CategoryName + ' > ' + C.CategoryName from Category as C inner join CTE_Data as CD on CD.CategoryID = C.CategoryParentId where C.CategoryID <> C.CategoryParentId ) select * from CTE_Data where CategoryID = @ID or the other way around: ;with CTE_Data as ( select C.CategoryID, cast(C.CategoryName as nvarchar(max)) as CategoryName, C.CategoryParentId from Category as C where C.CategoryID = @ID union all select C.CategoryID, cast(C.CategoryName as nvarchar(max)) + ' > ' + CD.CategoryName, C.CategoryParentId fro

Categories : Sql Server

Phone look up during an incoming call
You can get incoming number from PhoneStateListener.onCallStateChanged(int state, String incomingNumber) event but in order to retrieve caller name you need to make a contact book look up.

Categories : Android

Call Phone Number from Android App
Here's some code that will do this for you: tvPhone = (TextView) findViewById(R.id.tvPhone); tvPhone.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Intent callIntent = new Intent(Intent.ACTION_DIAL); callIntent.setData(Uri.parse("tel:+" + tvPhone.getText().toString().trim())); startActivity(callIntent ); } });

Categories : Android

web service call in windows phone 8
If you have a proper web service sitting somewhere, you can use Visual Studio to generate wrapper code to access the web service. Check out this link to find how.

Categories : Windows Phone 8

Phone Call within Table Cell
There are a couple of approaches you could take to achieve this. But firstly, I don't understand what you are doing at the bottom of -tableview:cellForRowAtIndexPath:. It's as if you are trying to define your IBAction method inside this method. You also have it defined at the bottom of the implementation, but in that method the number variable is not in scope. Anyway, you should subclass the UITableViewCell. In the implementation for the subclass, you should define the IBAction method and hook it up in interface builder, or otherwise. When the button is tapped, you should hand the number for the selected cell back to the PictureListMainTable view controller, in order for that view controller to process it (i.e. call the number). You can do this in two ways: 1) the delegate method Creat

Categories : IOS

Phone call click for textview
Change phone.getText().toString().trim() to use the View object supplied to the onclick method: phone.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { // TODO Auto-generated method stub Intent callIntent = new Intent(Intent.ACTION_DIAL); callIntent.setData(Uri.parse("tel:+"+((TextView)arg0).getText().toString().trim())); startActivity(callIntent ); } }); Additionally, if you just want to show the dialer with a phone number loaded, you're using the wrong intent action, Intent.ACTION_DIAL instead of Intent.ACTION_CALL will show the dialer. The Intent.ACTION_CALL that you're using will actually initiate the phone call, and to make that work, you need to add the appropriate permission to your Manifest: <uses-permission android:name=

Categories : Java

How to call a webservice from windows phone 6.5?
Yes you do need Wlan activated on your cell to access a local webservice, you should essentially be in the same network of your desktop machine. I would rather use any other wlan connected machine to test my webservice on another machine, and be sure of it, may be write a small testbed app to check the webservice. you can also open your webservice wsdl page on your phone, and see if it opens well, now your code must be able to call your webservice from your desktop's hosted webservice.

Categories : C#

How to send sms in background during a phone call
I resolved this using two services. The first one make the call and the second send the messages. My problem was that i'm using the same button in order to start both so did it in that way. Thanks

Categories : Android

call log function in windows phone 8
This is a class that creates an XML file which holds the logs of all calls. You didn't specify the question enough or what you want to do, or what have you already tried. So here is an idea of what you should implement: public class Logger { private static string logPath; public Logger() { logPath = "/Logs/log.xml"; } public void LogData(string contactName, string duration) { Object thisLock = new Object(); logPath += DateTime.Now.ToShortDateString().Replace('.', '_') + ".log"; XmlDocument doc = new XmlDocument(); lock (thisLock) { try { XmlNode root = null; if (File.Exists(logPath)) { doc.Load(logPath); root = doc.SelectSingleNode("/Call"); } else

Categories : C#

Invoking app in iOS after every phone call ends
No, its not possible to fetch Call/SMS/Email logs in iOS 5 and later. You can do this in jailbroke any ways if you are trying to achieve this in iOS 4, I have a useful information HERE

Categories : Iphone

Phone call in Phonegap on Blackberry
you can also create a function like this. worst case. function callSomeone(number){ if (navigator.userAgent.toLowerCase().match(/android/)) { document.location.href = 'tel:'+number; } else if (navigator.userAgent.toLowerCase().match(/iphone/) || navigator.userAgent.toLowerCase().match(/ipad/)) { window.plugins.phoneDialer.dial(number); } }

Categories : Cordova

Add a call log and and contacts to my windows phone 8 app
You can access the contacts data, see http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh286416(v=vs.105).aspx. You cannot access the call log.

Categories : C#

Enable Phone Call in ListView
add this method in your activity: public class Medical extends ListActivity { static final ArrayList<HashMap<String,String>> list = new ArrayList<HashMap<String,String>>(); /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); SimpleAdapter adapter = new SimpleAdapter( this, list, R.layout.rowview, new String[] {"title","address","phone"}, new int[] {R.id.textView1,R.id.textView2, R.id.textView3} ); populateList(); setListAdapter(adapter); } protected void onListItemClick (ListView l,

Categories : Android

Movable Type: Assign New Parent Category in Bulk while Keeping Existing as Sub-Category
I don't know any magic, but Perl and the MT API are enough. Here's how you set an entry category in Perl: my $place = MT::Placement->new; $place->entry_id( $entry->id ); $place->blog_id( $entry->blog_id ); $place->category_id( $fruit_cat_id ); $place->is_primary(1); $place->save or die $place->errstr; You'll need to iterate through the entries, and $fruit_cat_id is the numerical category ID for "Fruit" in the blog in context (categories are per blog i.e. you can have a "Fruit" category in two different blogs but they will have different category IDs).

Categories : Misc

How to make Wordpress Category menu items display the category as title?
You can look at the category slug in the URL, and get the category by its slug. $cat = get_category_by_slug( $slug ); echo $cat->name; http://codex.wordpress.org/Function_Reference/get_category_by_slug

Categories : Wordpress

CakePHP: How can I select all elements of one category with a "nice" url? (/category/NAME_OF_CATEGORY)
It's quite easy - just read through the very in-depth documentation on routing and you'll have it solved in minutes: http://book.cakephp.org/2.0/en/development/routing.html

Categories : PHP

MYSQL select Distinct category and list items under that category
You can get the list of elements for each category: select categorytype, group_concat(distinct elements) from t group by categorytype; This returns them as a comma-delimited list.

Categories : PHP

Make main category always at top of columns when creating category listing
<ul style=" -webkit-column-count: 3; margin-top:50px;"> {% for cat in topcats %} <li> <a href="/parts/{{cat.id}}/dir/" style="text-decoration:none;font-size:18px;color:#FF761A;">{{cat.category}} </a> {% for key, value in subcats.items %} {% if key == cat %} {% for eachsubcat in value %} <h5 class="inline"><a href ="/parts/{{eachsubcat.id}}/dir/" style="text-decoration:none;">{{ eachsubcat }}</a></h5> <br> {% endfor %} <br> {% endif %} {% endfor %} {% endfor %} </li> <!-- missing li--> </ul>

Categories : HTML

Grouping by category and sub category to produce a list in HTML from XML data
Having tagged this "Muenchian-grouping", I am assuming you need a solution in XSLT 1.0. Grouping solutions are always easier in XSLT 2.0. For multi-level grouping in XSLT 1.0 I prefer using the variable-based grouping method rather than the Muenchian key-based grouping method, acknowledging that it may be slower to execute but easier to understand the coding. t:ftemp>type armando.xml <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="course-catalog.xsl"?> <catalog> <course> <category>Category 1</category> <subcategory>Sub 1</subcategory> <name>test name 1</name> <instructor>fred derp</instructor> <date>July 1</date>

Categories : Xml

How to make browser-phone call with twilio
Twilio evangelist here. Looks like your current code is using the REST library to initiate the call. This send a message to Twilio to initiate a phone call from Twilio to some phone. All of that happens on the server, not in the browser. In your case it sounds like you want to actually make a phone call right from the browser. To do that you need to use Twilio Client, which is a JavaScript framework that lets you create an audio connection from a browser to Twilio, and the connection is made using WebRTC (or Flash if needed). Its the job of the Twilio Client SDK to figure out how to create and manage the actual audio connection between your browser and Twilio. http://www.twilio.com/client http://www.twilio.com/docs/client/twilio-js This is different than initiating a call using th

Categories : PHP

How to call php file within the windows phone 8 application?
The issue is probably that you're trying to connect to "localhost" from the emulator. The WP8 emulator is a separate virtual machine. Because of this it thinks of localhost as itself. If you're hosting the PHP script on your development machine you should refer to it from the emulator by hostname or IP address.

Categories : PHP

Is it possible to get all call details of your phone pro-grammatically in android?
Ya, it is possible. Refer the below links. It will give an idea. http://android2011dev.blogspot.in/2011/08/get-android-phone-call-historylog.html How do I access call log for android? http://developer.android.com/reference/android/provider/CallLog.Calls.html And also after retrieving all the details of your need, you can insert them into database according to your needs.

Categories : Android

Phone Call Events - JQuery Mobile?
you could add tel: before the number in href of anchor, like this: <a class="phone branch-a" href="tel:(22) 2222-222" title="Branch A">Branch A</a> About you being able to call from your app, you'll have to build a phonedialer yourself. Its always good to fallback on android systems whenever possible.

Categories : Jquery

Phone call programatically in iOS using UIWebView without alertView
I'm afraid your requirement isn't possible to be implemented at the moment. When you use a webview to make a call, you can't remove the alert as it is the UIWebView behaviour. If you want, you can use the telprompt:// URL scheme. However, there is a risk that this URL scheme might get removed in future. NSURL *url = [NSURL URLWithString:@"telprompt://%@",phoneNumber]; if([[UIApplication sharedApplication]canOpenURL:url]) { [[UIApplication sharedApplication]openURL:url]; } Again in this case, you will get the alert, but you will return back to the application.

Categories : Iphone

Making a Phone Call with a Number Extension
Have you tried using PhoneNumberUtils.PAUSE or PhoneNumberUtils.WAIT? You would have to put either one of them in front of the extension number. So it would be callIntent.setData(Uri.parse("tel:123456789"+PhoneNumberUtils.PAUSE+"#123"));

Categories : Android

How to record a Phone Call in iphone in locally?
You will not be able to access the audio nor the microphone from the calls. The reason is because of the architecture of iOS. The microphone and speaker is owned by the app which is using it at that time, so no apps made by developers can accomplish what you are suggesting. (certainly Apple can override this sandbox feature). Try Android.

Categories : Iphone

MediaPlayer Does not stop when a phone call is received
Try add these functions to your activity. @Override public void onPause() { super.onPause(); if (mp != null){ if(mp.isPlaying()) mp.pause(); } } @Override public void onResume() { super.onResume(); if (mp != null){ if(!mp.isPlaying()) mp.prepare(); mp.start(); } } @Override public void onStop() { super.onStop(); if (mp != null){ if(mp.isPlaying()) mp.pause(); } }

Categories : Android

How to record phone call via DialUp modem
Try these: http://code.msdn.microsoft.com/windowsdesktop/TAPI-3-in-C-Get-Lines-and-dd143eaf http://www.codeproject.com/Articles/10994/TAPI-3-0-Application-development-using-C-NET The Telephony API is right from Windows, so it might be pretty low-level, but should support what you need.

Categories : C#

Mapping amazon product category to the correct category XSD
If I understand your question, you are asking if there is any way to tell what kind of <ProductData> you should put into your _POST_PRODUCT_DATA_ feed for a specific product. E.g. for ASIN B008HRVM5U, should it be <ProductData> <Home> <ProductType> <Kitchen>...</Kitchen> </ProductType> </Home> </ProductData> or rather <ProductData> <Baby> <ProductType> <BabyProducts>...</BabyProducts> </ProductType> </Baby> </ProductData> To the best of my knowledge, there is no way to actually find out - neither through MWS nor Seller Central. At the same time, the correct matching of XML structures matters a lot... I've spent a total of thr

Categories : Amazon

Getting Category Active Status from catalog/category model
You can filter your category collection to display active categories using the method addIsActiveFilter() $categoryCollection = $category->getCollection()->addIsActiveFilter();

Categories : Magento

How to create nested category list from category-strings in PHP
As others mentioned in comments, you'd better to use nested tree sets for this kind of categorization, but since you asked you don't want to change the scheme of your category system and IF and only IF you're not concerned about your run-time overload, you can use this code that I wrote. For populating an array of categories: <?php $rows = array( "female/dresses/long", "female/dresses/short", "female/dresses/short/1", "female/dresses/short/2", "female/dresses/short/2/1", "female/shoes", "male/shoes/sneakers/skate" ); $categories = array(); function populate() { global $rows; global $categories; foreach($rows as $row) { $category_array = explode(" / ", $row); $categories = place($categories, $category_array); }

Categories : PHP

Show Wordpress Category Based on Category Name's Content
I think, you may try this global $wpdb; $query = SELECT GROUP_CONCAT( wp_terms.term_id ) AS IDS FROM wp_term_relationships LEFT JOIN wp_term_taxonomy ON ( wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id ) LEFT JOIN wp_terms ON wp_term_taxonomy.term_taxonomy_id = wp_terms.term_id WHERE wp_term_taxonomy.taxonomy = 'category' AND wp_terms.name LIKE '*%' $ids = $wpdb->get_var($query); wp_list_categories("include=$ids");

Categories : Wordpress

query to get equal number of rows per category + sub category
Right, here's one (roundabout) way of doing it: with numbers as -- create lazy numbers table; feel free to replace with a proper one ( select distinct number from master..spt_values where number between 1 and 100 ) , rowCounts as ( select Category = tc.Name , SubCategory = tsc.Name , SubCategoryId = tsc.Id , MaxSubCatRows = count(1) from TempCategory tc inner join TempSubCategory tsc on tc.Id = tsc.CategoryId inner join TempProduct p on tsc.Id = p.SubCategoryId group by tc.Name , tsc.Name , tsc.Id ) , maxRowCountPerGroup as ( select Category , MaxSubCatRows = max(MaxSubCatRows) from rowCounts group by Category ) , allCats as ( select rc.Category , rc.SubCategory , rc.SubCategoryId , n.number from rowCounts rc inner join

Categories : SQL

database design for category and sub-category and brand list
Having Category Table, Subcategory Table, Brand Table and Subcategory_Brand may serve: Category: Electronics Subcategory (of Electronics): Brand: Mobile Nokia TV Sumsung Subcategory_Brand(of Mobile) Nokia Samsung

Categories : Database

how to have a category blog and category list on the same page in joomla 2.5
You could use loadmodule to load a latest news or other module set to display the categories you want into one of the articles in your blog. Alternatively you could have an alternate layout that renders that module would need for an article.

Categories : Joomla



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.